JP4233551B2 - Timing control apparatus and timing control method - Google Patents
Timing control apparatus and timing control method Download PDFInfo
- Publication number
- JP4233551B2 JP4233551B2 JP2005235297A JP2005235297A JP4233551B2 JP 4233551 B2 JP4233551 B2 JP 4233551B2 JP 2005235297 A JP2005235297 A JP 2005235297A JP 2005235297 A JP2005235297 A JP 2005235297A JP 4233551 B2 JP4233551 B2 JP 4233551B2
- Authority
- JP
- Japan
- Prior art keywords
- timing
- period
- oscillation
- signal
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Studio Devices (AREA)
Description
本発明は、タイミング制御装置およびタイミング制御方法に関し、詳細には、第1の発振素子と第2の発振素子とを備えたタイミング制御装置およびタイミング制御方法に関する。 The present invention relates to a timing control device and a timing control method, and more particularly to a timing control device and a timing control method including a first oscillation element and a second oscillation element.
例えば、CPUの発振周波数を補正する方法としては、特許文献1が公知である。従来より、発振素子としては、水晶発振子、セラミック発振子やCR発振子などが使用されている。一般に、デジタルカメラにおいては、デジタル信号処理部であるIPP(Image Pre Processor)の動作周波数には、水晶発振子を用いているのでかなり高精度である。これに対し、CPUの動作周波数は、コストや発振の立上り時間が短いなどの関係上、安価なセラミック発振子を用いる場合が多い。CPUは、撮影などの処理を行う際に、IPPの垂直同期信号(vd)を起点に各制御のタイミングをとる場合が多く、その場合のタイミングの取り方は、垂直同期信号(vd)を割り込みなどで検出し、検出した時点からCPU内のタイマをスタートさせて規定時間経過後に、制御対象に処理を行うようにしている。 For example, Patent Document 1 is known as a method for correcting the oscillation frequency of the CPU. Conventionally, crystal oscillators, ceramic oscillators, CR oscillators, and the like have been used as oscillation elements. In general, in a digital camera, a crystal oscillator is used for the operating frequency of an IPP (Image Pre Processor) which is a digital signal processing unit, so that the accuracy is considerably high. On the other hand, for the operating frequency of the CPU, an inexpensive ceramic oscillator is often used because of its cost and short rise time of oscillation. When performing processing such as shooting, the CPU often takes the timing of each control starting from the IPP vertical synchronization signal (vd). In this case, the timing is interrupted by interrupting the vertical synchronization signal (vd). The timer in the CPU is started from the point of detection, and the processing is performed on the control target after the lapse of a specified time.
しかしながら、上記の如く、IPP側では、高価な水晶発振子を用いているため発信周波数の誤差が少なくなるのに対して、CPU側では、安価なセラミック発振子を用いているので、発振周波数の誤差が大きくなり時間精度が悪くなる。そのため、CPUが、IPPから入力される垂直同期信号(vd)を基準として、制御対象の制御の開始タイミングを決定した場合に誤差が生じるという問題がある。 However, as described above, since an expensive crystal oscillator is used on the IPP side, the error of the oscillation frequency is reduced. On the other hand, an inexpensive ceramic oscillator is used on the CPU side. The error becomes larger and the time accuracy becomes worse. Therefore, there is a problem that an error occurs when the CPU determines the control start timing of the control target with reference to the vertical synchronization signal (vd) input from the IPP.
本発明は、上記に鑑みてなされたものであり、複数の発振素子を使用して制御対象の制御の開始タイミングを決定する場合に、当該開始タイミングの誤差を防止したタイミング制御装置およびタイミング制御方法を提供することを目的とする。 The present invention has been made in view of the above, and a timing control device and a timing control method that prevent an error in the start timing when a control start timing of a control target is determined using a plurality of oscillation elements. The purpose is to provide.
上述した課題を解決し、目的を達成するために、本発明は、第1の発振素子と、第2の発振素子と、前記第1の発振素子の発振周波数に基づき、所定の周期を有する第1信号を出力する第1信号発生手段と、前記第1信号の周期を、前記第2の発振素子の発振周波数に基づきカウントすることで測定する周期測定手段と、前記第2の発振素子の発振周波数に基づいて制御タイミングを決定する制御タイミング決定手段と、前記第1信号の周期を前記第2の発振素子の発振周波数で測定した場合の理論値と、前記周期測定手段によるカウント値とに基づき、前記制御タイミング決定手段が決定する制御タイミングを補正する補正手段と、を備えたことを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention provides a first oscillation element, a second oscillation element, and a first cycle having a predetermined period based on the oscillation frequency of the first oscillation element. First signal generating means for outputting one signal, period measuring means for measuring the period of the first signal by counting based on the oscillation frequency of the second oscillation element, and oscillation of the second oscillation element Based on a control timing determining means for determining a control timing based on the frequency, a theoretical value when the period of the first signal is measured at the oscillation frequency of the second oscillating element, and a count value obtained by the period measuring means. Correction means for correcting the control timing determined by the control timing determination means.
また、本発明の好ましい態様によれば、前記補正手段による補正は、前記第2発振素子の誤差範囲内で行うことが望ましい。 According to a preferred aspect of the present invention, it is desirable that the correction by the correction means is performed within an error range of the second oscillation element.
また、本発明の好ましい態様によれば、前記周期測定手段は、前記第1信号の周期を複数回測定し、当該複数回の平均値を周期のカウント値とすることが望ましい。 Further, according to a preferred aspect of the present invention, it is desirable that the period measuring unit measures the period of the first signal a plurality of times, and uses the average value of the plurality of times as a period count value.
また、本発明の好ましい態様によれば、第1の発振素子と第2の発振素子の少なくとも一つは、装置の制御を行う中央演算装置の基準周波数を発振していることが望ましい。 According to a preferred aspect of the present invention, it is desirable that at least one of the first oscillation element and the second oscillation element oscillates a reference frequency of a central processing unit that controls the apparatus.
上記した課題を解決して、本発明の目的を達成するために、本発明は、第1の発振素子の発振周波数に基づき、所定の周期を有する第1信号を出力する第1信号発生工程と、前記第1信号の周期を、第2の発振素子の発振周波数に基づきカウントすることで測定する周期測定工程と、前記第2の発振素子の発振周波数に基づいて制御タイミングを決定する制御タイミング決定工程と、前記第1信号の周期を前記第2の発振素子の発振周波数で測定した場合の理論値と、前記周期測定工程によるカウント値とに基づき、前記制御タイミング決定工程が決定する制御タイミングを補正する補正工程と、を含むことが望ましい。 In order to solve the above-described problems and achieve the object of the present invention, the present invention includes a first signal generation step of outputting a first signal having a predetermined period based on the oscillation frequency of the first oscillation element. , A period measuring step for measuring the period of the first signal by counting based on the oscillation frequency of the second oscillation element, and a control timing determination for determining a control timing based on the oscillation frequency of the second oscillation element A control timing determined by the control timing determination step based on a theoretical value obtained when measuring the cycle of the first signal at the oscillation frequency of the second oscillation element and the count value obtained by the cycle measurement step. And a correction step for correcting.
本発明は、第1の発振素子と、第2の発振素子と、前記第1の発振素子の発振周波数に基づき、所定の周期を有する第1信号を出力する第1信号発生手段と、前記第1信号の周期を、前記第2の発振素子の発振周波数に基づきカウントすることで測定する周期測定手段と、前記第2の発振素子の発振周波数に基づいて制御タイミングを決定する制御タイミング決定手段と、前記第1信号の周期を前記第2の発振素子の発振周波数で測定した場合の理論値と、前記周期測定手段によるカウント値とに基づき、前記制御タイミング決定手段が決定する制御タイミングを補正する補正手段と、を備えたこととしたので、垂直同期信号を基準にして制御対象の制御の開始タイミングを決定する場合に、誤差の少ない開始タイミングで制御対象を制御することが可能となる。 The present invention includes a first oscillating element, a second oscillating element, first signal generating means for outputting a first signal having a predetermined period based on an oscillating frequency of the first oscillating element, Period measuring means for measuring the period of one signal by counting based on the oscillation frequency of the second oscillating element; control timing determining means for determining control timing based on the oscillation frequency of the second oscillating element; The control timing determined by the control timing determination means is corrected based on the theoretical value when the period of the first signal is measured at the oscillation frequency of the second oscillation element and the count value by the period measurement means. When the control start timing of the control target is determined on the basis of the vertical synchronization signal, the control target is controlled at the start timing with less error. It becomes possible.
以下に、この発明に係るタイミング制御装置およびタイミング制御方法を適用したデジタルカメラについて図面を参照しつつ詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。また、下記実施の形態における構成要素には、当業者が容易に想定できるものまたは実質的に同一のものが含まれる。 Hereinafter, a digital camera to which a timing control apparatus and a timing control method according to the present invention are applied will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments. In addition, constituent elements in the following embodiments include those that can be easily assumed by those skilled in the art or that are substantially the same.
図1は、本実施の形態に係るデジタルカメラの構成図である。同図において、100はデジタルカメラを示しており、デジタルカメラ100は、レンズ系101、絞り・フィルター部等を含むメカ機構102、CCD103、CDS回路104、可変利得増幅器(AGCアンプ)105、A/D変換器106、IPP107、DCT108、コーダー109、MCC110、DRAM111、PCカードインタフェース112、CPU121、表示部122、操作部123、SG(制御信号生成)部126、ストロボ装置127、バッテリ128、DC−DCコンバータ129、EEPROM130、フォーカスドライバ131、パルスモータ132、ズームドライバ133、パルスモータ134、モータドライバ135を具備して構成されている。また、PCカードインタフェース112を介して着脱可能なPCカード150が接続されている。
FIG. 1 is a configuration diagram of a digital camera according to the present embodiment. In the figure,
レンズユニットは、レンズ101系、絞り・フィルター部等を含むメカ機構102からなり、メカ機構102のメカニカルシャッタは2つのフィールドの同時露光を行う。レンズ系101は、例えば、バリフォーカルレンズからなり、フォーカスレンズ系101aとズームレンズ系101bとで構成されている。
The lens unit includes a
フォーカスドライバ131は、CPU121から供給される制御信号に従って、パルスモータ132を駆動して、フォーカスレンズ系101aを光軸方向に移動させる。ズームドライバ133は、CPU121から供給される制御信号に従って、パルスモータ132を駆動して、ズームレンズ系101bを光軸方向に移動させる。また、モータドライバ135は、CPU121から供給される制御信号に従ってメカ機構102を駆動し、例えば、絞りの絞り値を設定する。
The
CCD(電荷結合素子)103は、レンズユニットを介して入力した映像を電気信号(アナログ画像データ)に変換する。CDS(相関2重サンプリング)回路104は、CCD型撮像素子に対する低雑音化のための回路である。
A CCD (charge coupled device) 103 converts an image input via the lens unit into an electrical signal (analog image data). A CDS (correlated double sampling)
また、AGCアンプ105は、CDS回路104で相関2重サンプリングされた信号のレベルを補正する。なお、AGCアンプ105のゲインは、CPU121により、CPU121が内蔵するD/A変換器を介して設定データ(コントロール電圧)がAGCアンプ105に設定されることにより設定される。さらにA/D変換器106は、AGCアンプ105を介して入力したCCD103からのアナログ画像データをデジタル画像データに変換する。すなわち、CCD103の出力信号は、CDS回路104およびAGCアンプ105を介し、またA/D変換器106により、最適なサンプリング周波数(例えば、NTSC信号のサブキャリア周波数の整数倍)にてデジタル信号に変換される。
In addition, the
また、デジタル信号処理部であるIPP(Image Pre−Processor )107、DCT(Discrete Cosine Transform )108、およびコーダー(Huffman Encoder/Decoder )109は、A/D変換器106から入力したデジタル画像データについて、色差(Cb、Cr)と輝度(Y)に分けて各種処理、補正および画像圧縮/伸長のためのデータ処理を施す。また、IPP107はCPU121に、垂直同期信号(vd)、水平同期信号(Hd)等のタイミング信号を出力する。なお、IPP(Image Pre−Processor )107は、内部クロック(動作周波数)として水晶発振子の発振周波数を使用している。
Further, an IPP (Image Pre-Processor) 107, a DCT (Discrete Cosine Transform) 108, and a coder (Huffman Encoder / Decoder) 109, which are digital signal processing units, are digital image data input from the A /
さらに、MCC(Memory Card Controller)110は、圧縮処理された画像を一旦蓄えてPCカードインタフェース112を介してPCカード150への記録、或いはPCカード150からの読み出しを行う。
Further, an MCC (Memory Card Controller) 110 temporarily stores the compressed image and records it on the
CPU121は、ROMに格納されたプログラムに従ってRAMを作業領域として使用して、操作部123からの指示、或いは図示しないリモコン等の外部動作指示に従い、上記デジタルカメラ内部の全動作を制御する。具体的には、CPU121は、撮像動作、ストロボ発光動作、自動露出(AE)動作、自動ホワイトバランス(AWB)調整動作や、AF動作等の制御を行う。なお、CPU121の内部クロック(動作周波数)としてセラミック発振子の発振周波数を使用している。
The
また、カメラ電源はバッテリ128、例えば、NiCd、ニッケル水素、リチウム電池等から、DC−DCコンバータ129に入力され、当該デジタルカメラ内部に供給される。
Camera power is input from a
表示部122は、LCD、LED、EL等で実現されており、撮影したデジタル画像データや、伸長処理された記録画像データ等の表示を行う。操作部123は、機能選択、撮影指示、およびその他の各種設定を外部から行うためのボタンを備えている。EEPROM130には、CPU121がデジタルカメラの動作を制御する際に使用する調整データ等が書き込まれている。また、ストロボ装置127は、CPU121から出力される制御信号に基づいてストロボ光を発光する。
The display unit 122 is realized by an LCD, LED, EL, or the like, and displays captured digital image data, decompressed recorded image data, and the like. The
上記したデジタルカメラ100(CPU121)は、被写体を撮像して得られる画像データをPCカード150に記録する記録モードと、PCカード150に記録された画像データを表示する表示モードと、撮像した画像データを表示部122に直接表示するモニタリングモード等を備えている。
The above-described digital camera 100 (CPU 121) includes a recording mode in which image data obtained by imaging a subject is recorded on the
つぎに、CPU121が実行する、IPP107から入力される垂直同期信号(vd)を基準にして制御対象の制御の開始タイミングを決定する動作を、ストロボ発光の同調制御を例に挙げて説明する。図2はCPU121により実行される垂直同期信号(vd)の周期の測定処理を説明するためのフローチャートである。図3は、CPU121により実行されるストロボ発光タイミングの計算処理を説明するためのフローチャートである。
Next, the operation performed by the
IPP107側では、高価な水晶発振子を用いているため発振周波数の誤差が少なくなるのに対して、CPU121側では、安価なセラミック発振子を用いているので、発振周波数の誤差が大きくなり時間精度が悪くなる。そのため、CPU121が、IPP107から入力される垂直同期信号(vd)を基準として、制御対象の制御の開始タイミングを決定した場合に誤差が生じる。そこで、本実施の形態では、CPU121は、IPP107から入力される垂直同期信号の周期を、内部の動作周波数(セラミック発振子の発振周波数)に基づいて測定し、当該垂直同期信号(vd)を基準にしてストロボ光の発光タイミングを決定する場合に、測定した垂直同期信号の周期に基づきストロボ光の発光タイミングを補正する。
On the
図2を参照して、CPU121により実行される垂直同期信号(vd)の周期の測定処理を説明する。まず、同図で使用される変数を説明する。
tcnt1 :CPU内のタイマ(フリーラン)のカウント値
vd_time :CPU内のタイマのカウント単位で測定した垂直同期信号(vd)の周期(vd時間)
vd_time1:vd時間測定のためのタイマのカウント値を記憶する変数
With reference to FIG. 2, the measurement process of the period of the vertical synchronizing signal (vd) executed by the
tcnt1: Count value of timer (free run) in CPU vd_time: Period (vd time) of vertical synchronizing signal (vd) measured in units of timer count in CPU
vd_time1: variable for storing the count value of the timer for vd time measurement
図2において、IPP107から、vdHEAD(フレーム垂直同期信号)またはvd(垂直同期信号)によりCPU121に割り込みが行われると、CPU121は、内部の動作周波数(セラミック発振子の発振周波数)に従って内部のタイマを使用してvd時間(垂直同期信号の周期)の測定を行う(ステップS100)。具体的には、vd時間の測定は、itu1_tmp=tcnt1、vd_time=itu1_tmp−vd_time1、vd_time1=itu1_tmpの演算により行う。このvd時間の測定は複数回行う。そして、複数回測定したvd時間の平均値を演算する
(ステップS101)。
In FIG. 2, when the
つぎに、図3を参照して、CPU121により実行されるストロボ発光タイミングの計算処理を説明する。下記表1は、vd_timeの上記タイマのカウント単位での値の標準値を示す。この下記表1に示す内容は、データ化されてROMに格納されている。
Next, with reference to FIG. 3, a calculation process of the strobe light emission timing executed by the
図3において、まず、CPU121は、NTSC/PAL(TV/LCD)の判定を行う(ステップS200、S204)。具体的には、測定したvd_timeにより、上記表1の各値と比較して、どのvd時間に近いかを判定して、NTSC、PAL(TV/LCD)のいずれかであるかを検出する。
In FIG. 3, first, the
上記判定(ステップS200、S204)の結果、NTSCである場合には、vd時間のリミット演算を行う(ステップS201)。具体的には、vd_timeを表1の値のセラミック発振子の発振精度誤差分(例えば、±0.5%)の範囲をリミット範囲とし、vd_timeをこの範囲の値とする。 If the result of the above determination (steps S200 and S204) is NTSC, a vd time limit calculation is performed (step S201). Specifically, the range of the oscillation accuracy error (for example, ± 0.5%) of the ceramic oscillator having the values in Table 1 as vd_time is set as a limit range, and vd_time is set as a value within this range.
続いて、CPU121は、シャッタ速度より、vdからストロボ発光までの時間、すなわち、標準のストロボ発光タイミング時間(sy_start_time)を求める(ステップS201)。そして、標準のストロボ発光タイミング時間(sy_start_time)を測定したvd時間(vd_time)で補正演算する(ステップS203)。具体的には、補正ストロボ発光タイミング時間は、sy_start_time(補正ストロボ発光タイミング時間)=sy_start_time*vd_time(vd時間)/0x77daの演算により行う。ここで、0x77daは、標準のセラミック発振子の発振精度(例えば、±0%)で、CPU121が測定するvd時間値である。また、標準のストロボ発光時間は、標準のセラミック発振子での値である。
Subsequently, the
CPU121は、タイマにsy_start_timeを設定し、タイマをスタートさせ、タイマの終了でストロボ装置127をストロボ発光させる。
The
他方、CPU121は、上記判定(ステップS200、S204)の結果、PAL(TV)である場合には、vd時間のリミット演算を行う(ステップS205)。具体的には、vd_timeを表1の値のセラミック発振子の発振精度誤差分(例えば、±0.5%)の範囲をリミット範囲とし、vd_timeをこの範囲の値とする。
On the other hand, if the result of the determination (steps S200 and S204) is PAL (TV), the
続いて、CPU121は、シャッタ速度より、vdからストロボ発光までの時間、すなわち、標準のストロボ発光タイミング時間(sy_start_time)を求める(ステップS206)。そして、標準のストロボ発光タイミング時間(sy_start_time)を測定したvd時間(vd_time)で補正演算する(ステップS207)。具体的には、補正ストロボ発光タイミング時間は、sy_start_time(補正ストロボ発光タイミング時間)=sy_start_time*vd_time(vd時間)/0x8fd2の演算により行う。ここで、0x8fd2は、標準のセラミック発振子の発振精度(例えば、±0%)で、CPU121が測定するPAL(TV)のvd時間値である。そして、CPU121は、タイマにsy_start_timeを設定し、タイマをスタートさせ、タイマの終了でストロボ装置127をストロボ発光させる。
Subsequently, the
また、CPU121は、上記判定(ステップS200、S204)の結果、PAL(LCD)である場合には、vd時間のリミット演算を行う(ステップS208)。具体的には、vd_timeを表1の値のセラミック発振子の発振精度誤差分(例えば、±0.5%)の範囲をリミット範囲とし、vd_timeをこの範囲の値とする。
If the result of the determination (steps S200 and S204) is PAL (LCD), the
続いて、CPU121は、シャッタ速度より、vdからストロボ発光までの時間、すなわち、標準のストロボ発光タイミング時間(sy_start_time)を求める(ステップS209)。そして、標準のストロボ発光タイミング時間(sy_start_time)を測定したvd時間(vd_time)で補正演算する(ステップS207)。具体的には、補正ストロボ発光タイミング時間は、sy_start_time(補正ストロボ発光タイミング時間)=sy_start_time*vd_time(vd時間)/0x63d2の演算により行う。ここで、0x63d2は、標準のセラミック発振子の発振精度(例えば、±0%)で、CPU121が測定するPAL(CCD)のvd時間値である。そして、CPU121は、タイマにsy_start_timeを設定し、タイマをスタートさせ、タイマの終了でストロボ装置127をストロボ発光させる。
Subsequently, the
図4は、ストロボ発光タイミングを示すタイミングチャートであり、(A)はシャッタ速度1/250秒の場合のタイミングを示し、(B)はシャッタ速度1/8000秒の場合のタイミングを示す。同図において、(a)は垂直同期信号(vd)、(b)はストロボ発光タイミング(sy)、(c)はストロボ装置127の電荷蓄積リセット(sub)、(d)は画像取込み(ch1)を示す。
4A and 4B are timing charts showing strobe light emission timings. FIG. 4A shows the timing when the shutter speed is 1/250 seconds, and FIG. 4B shows the timing when the shutter speed is 1/8000 seconds. In the figure, (a) is a vertical synchronization signal (vd), (b) is a strobe light emission timing (sy), (c) is a charge accumulation reset (sub) of the
同図(A)に示すように、シャッタ速度1/250秒の場合には、ストロボ同調が良好である。他方、同図(B)に示すように、シャッタ速度1/8000秒の場合には、ストロボ同調はNGであり、sub(電荷蓄積リセット)中でch1(画像取込み)の後にストロボ発光している。シャッタ速度が高速になるとストロボが発光している時間の長さも問題となる。シャッタ速度=露光時間でストロボの発光が完了するのが望ましい。また、可能な限り最後のsub出力後にストロボの発光を開始するのが望ましいので、シャッタ速度以上の発光タイミング精度が必要となる。 As shown in FIG. 5A, the flash synchronization is good when the shutter speed is 1/250 seconds. On the other hand, as shown in FIG. 5B, when the shutter speed is 1/8000 sec, the strobe tuning is NG, and the strobe is emitted after ch1 (image capture) in sub (charge accumulation reset). . As the shutter speed increases, the length of time that the strobe light is emitted becomes a problem. It is desirable that the flash light emission is completed at the shutter speed = exposure time. Further, since it is desirable to start the flash emission after the last sub output as much as possible, the emission timing accuracy equal to or higher than the shutter speed is required.
以上説明したように、本実施の形態においては、CPU121は、IPP107から入力される垂直同期信号の周期(vd時間)を、内部の動作周波数に基づいて測定し、当該垂直同期信号(vd)を基準にしてストロボ光の発光タイミングを決定する場合に、測定した垂直同期信号の周期(vd時間)に基づき、ストロボ光の発光タイミングを補正することとしたので、例えば、IPP107が水晶発振子を使用し、CPU121がセラミック発振子を使用した場合でもストロボ発光タイミングの誤差の発生を防止することができ、高速シャッタ時においてもストロボ同調を行うことが可能となる。すなわち、本実施の形態によれば、CPU121の発振子の精度をソフト的に補正することが可能となる。
As described above, in the present embodiment, the
また、本実施の形態においては、測定した垂直同期信号の周期(vd時間)にリミッタを設けているので、垂直同期信号の周期(vd時間)の測定を誤った場合にも対応することが可能となる。付言すると、CPU121で使用されるセラミック発振子は、発振周波数精度が悪いと言っても、誤差は±1%程度であるため、補正の範囲も±1%で良く、誤差がそれ以上となる場合は垂直同期信号の周期(vd時間)の測定を誤った可能性が高いためである。
In the present embodiment, since a limiter is provided in the measured period (vd time) of the vertical synchronizing signal, it is possible to cope with an erroneous measurement of the period (vd time) of the vertical synchronizing signal. It becomes. In addition, the ceramic oscillator used in the
また、本実施の形態においては、垂直同期信号の周期(vd時間)を複数回測定し、当該複数回の平均値を垂直同期信号の周期(vd時間)の測定値とすることとしたので、測定誤差の影響を少なくすることができる。 In the present embodiment, the period (vd time) of the vertical synchronization signal is measured a plurality of times, and the average value of the plurality of times is set as the measurement value of the period (vd time) of the vertical synchronization signal. The influence of measurement error can be reduced.
また、本実施の形態においては、IPP107から入力される垂直同期信号がNTSC方式またはPAL方式であるかを判定した後に、測定した時間垂直同期信号の時間がリミッタ内であるか否かを判定することとしたので、正確に時間垂直同期信号の周期(vd時間)を検出することが可能となる。
In this embodiment, after determining whether the vertical synchronization signal input from the
なお、上記した実施の形態においては、IPP107では水晶発振子を、CPU121ではセラミック発振子を用いているが、発振子はこれに限られるものではなく、信号の入力される側が、内部動作周波数を発振する発振子の精度が悪い場合には全て適用可能である。また、発振子の精度による差を補正する場合に限られず、環境上の精度の違い、例えば、温度、電圧特性での精度の違いを補正する場合にも適用可能である。
In the above-described embodiment, the crystal oscillator is used in the
また、本実施の形態においては、IPP107の垂直同期信号(vd)を用いた場合について説明したが、垂直同期信号(vd)に限らず他の動作周波数的な信号についても適用できる。
In the present embodiment, the case where the vertical synchronization signal (vd) of the
本発明に係るタイミング制御装置およびタイミング制御方法は、制御タイミングを補正する場合に広く利用可能であり、デジタルカメラ等の各種装置に有用である。 The timing control device and timing control method according to the present invention can be widely used when correcting the control timing, and is useful for various devices such as a digital camera.
100 デジタルカメラ
101 レンズ系
101a フォーカスレンズ系
101b ズームレンズ系
102 オートフォーカス等を含むメカ機構
103 CCD(電荷結合素子)
104 CDS(相関2重サンプリング)回路
105 可変利得増幅器(AGCアンプ)
106 A/D変換器
107 IPP(Image Pre−Processor)
108 DCT(Discrete Cosine Transform)
109 コーダー(Huffman Encoder/Decoder)
110 MCC(Memory Card Controller)
111 RAM(内部メモリ)
112 PCカードインタフェース
121 CPU
122 表示部
123 操作部
126 SG部
127 ストロボ
128 バッテリ
129 DC−DCコンバータ
130 EEPROM
131 フォーカスドライバ
132 パルスモータ
133 ズームドライバ
134 パルスモータ
135 モータドライバ
150 PCカード
DESCRIPTION OF
104 CDS (Correlated Double Sampling)
106 A /
108 DCT (Discrete Course Transform)
109 Coder (Huffman Encoder / Decoder)
110 MCC (Memory Card Controller)
111 RAM (internal memory)
112
131
Claims (5)
第2の発振素子と、
前記第1の発振素子の発振周波数に基づき、所定の周期を有する第1信号を出力する第1信号発生手段と、
前記第1信号の周期を、前記第2の発振素子の発振周波数に基づきカウントすることで測定する周期測定手段と、
前記第2の発振素子の発振周波数に基づいて制御タイミングを決定する制御タイミング決定手段と、
前記第1信号の周期を前記第2の発振素子の発振周波数で測定した場合の理論値と、前記周期測定手段によるカウント値とに基づき、前記制御タイミング決定手段が決定する制御タイミングを補正する補正手段と、
を備えたことを特徴とするタイミング制御装置。 A first oscillation element;
A second oscillation element;
First signal generating means for outputting a first signal having a predetermined period based on the oscillation frequency of the first oscillation element;
Period measuring means for measuring the period of the first signal by counting based on the oscillation frequency of the second oscillation element;
Control timing determining means for determining a control timing based on the oscillation frequency of the second oscillation element;
Correction for correcting the control timing determined by the control timing determination means based on the theoretical value when the period of the first signal is measured at the oscillation frequency of the second oscillation element and the count value by the period measurement means Means,
A timing control device comprising:
前記第1信号の周期を、第2の発振素子の発振周波数に基づきカウントすることで測定する周期測定工程と、
前記第2の発振素子の発振周波数に基づいて制御タイミングを決定する制御タイミング決定工程と、
前記第1信号の周期を前記第2の発振素子の発振周波数で測定した場合の理論値と、前記周期測定工程によるカウント値とに基づき、前記制御タイミング決定工程が決定する制御タイミングを補正する補正工程と、
を含むことを特徴とするタイミング制御方法。 A first signal generation step of outputting a first signal having a predetermined period based on the oscillation frequency of the first oscillation element;
A period measuring step of measuring the period of the first signal by counting based on the oscillation frequency of the second oscillation element;
A control timing determination step for determining a control timing based on the oscillation frequency of the second oscillation element;
Correction for correcting the control timing determined by the control timing determination step based on the theoretical value when the cycle of the first signal is measured at the oscillation frequency of the second oscillation element and the count value obtained by the cycle measurement step Process,
Including a timing control method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005235297A JP4233551B2 (en) | 2005-08-15 | 2005-08-15 | Timing control apparatus and timing control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005235297A JP4233551B2 (en) | 2005-08-15 | 2005-08-15 | Timing control apparatus and timing control method |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22055398A Division JP4036973B2 (en) | 1998-08-04 | 1998-08-04 | Camera and control timing correction method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005328579A JP2005328579A (en) | 2005-11-24 |
| JP4233551B2 true JP4233551B2 (en) | 2009-03-04 |
Family
ID=35474488
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005235297A Expired - Fee Related JP4233551B2 (en) | 2005-08-15 | 2005-08-15 | Timing control apparatus and timing control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4233551B2 (en) |
-
2005
- 2005-08-15 JP JP2005235297A patent/JP4233551B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005328579A (en) | 2005-11-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8970716B2 (en) | Image-capturing apparatus and control method of the image-capturing apparatus | |
| CN101494797B (en) | Image picking-up device and method | |
| JP5523124B2 (en) | Imaging device | |
| TWI492618B (en) | Image pickup device and computer readable recording medium | |
| US8253850B2 (en) | Imaging apparatus and program thereof | |
| EP1860871A1 (en) | Image pickup apparatus and image pickup control method | |
| JP4036973B2 (en) | Camera and control timing correction method | |
| JP6377286B2 (en) | Imaging apparatus, control method therefor, and operation program | |
| JP2001255451A (en) | Autofocus device, digital camera, and portable information input device | |
| JP2008148180A (en) | Imaging apparatus, image processing apparatus and method, and computer program | |
| JP4233551B2 (en) | Timing control apparatus and timing control method | |
| JP3742450B2 (en) | camera | |
| JP6728010B2 (en) | Imaging device and method for controlling imaging device | |
| JP2004145022A (en) | Digital camera | |
| JP4424201B2 (en) | Imaging apparatus, imaging method, program, and projector system | |
| JP2002344724A (en) | Imaging device, image processing device, image processing method, and program | |
| JP2006253970A (en) | Imaging apparatus, shading correction data creation method and program | |
| JP2004242045A (en) | Imaging device and imaging method | |
| JP2006217249A (en) | Electronic camera, electronic camera system and program | |
| JP2008085638A (en) | Imaging apparatus and imaging method | |
| JP2006262221A (en) | Imaging apparatus and image processing method | |
| JP2008020528A (en) | Imaging device | |
| JP4343192B2 (en) | Automatic focusing device, digital camera, and portable information input device | |
| JP3914367B2 (en) | Automatic focusing device, digital camera, and portable information input device | |
| JP2016092708A (en) | Image pickup device, interval shooting method and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050815 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080226 |
|
| 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: 20081202 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20081209 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111219 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111219 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121219 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131219 Year of fee payment: 5 |
|
| LAPS | Cancellation because of no payment of annual fees |