JP3112491B2 - Auto focusing system - Google Patents
Auto focusing systemInfo
- Publication number
- JP3112491B2 JP3112491B2 JP03075352A JP7535291A JP3112491B2 JP 3112491 B2 JP3112491 B2 JP 3112491B2 JP 03075352 A JP03075352 A JP 03075352A JP 7535291 A JP7535291 A JP 7535291A JP 3112491 B2 JP3112491 B2 JP 3112491B2
- Authority
- JP
- Japan
- Prior art keywords
- focusing
- lens
- value
- image
- sharpness
- 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 - Lifetime
Links
Landscapes
- Automatic Focus Adjustment (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明はオートフォーカシングシ
ステム、詳しくは、撮像素子出力のコントラスト情報の
変化に基づいて合焦状態を検出するようになされたオー
トフォーカシングシステムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an auto-focusing system, and more particularly to an auto-focusing system which detects an in-focus state on the basis of a change in contrast information of an image sensor output.
【0002】[0002]
【従来の技術】従来の自動合焦方式の一つとして、撮像
素子を用いる撮像装置において合焦レンズを繰り出しま
たは繰り込むときの映像信号に基づき、その合焦の度合
いを示す被写体のコントラスト情報を得て、その値のピ
ーク値を求め、このピーク値を示す位置を合焦位置と判
断して、その位置に合焦レンズを駆動する方式のものが
あった(特開昭63−157578号,特開昭63−2
62971号等参照)。この合焦方式は、「山登り方
式」と呼称され、例えば、NHK技術研究報告(昭和4
0年、第17巻・第1号、通算第86号、第21ページ
〜第37ページ)に詳しく説明されている。2. Description of the Related Art As one of conventional automatic focusing methods, contrast information of a subject indicating a degree of focusing is obtained based on a video signal when an in-focus lens is extended or retracted in an imaging apparatus using an imaging device. Then, a peak value of the value is obtained, a position indicating the peak value is determined as a focus position, and a focus lens is driven to the position (see Japanese Patent Application Laid-Open No. 63-157578; JP-A-63-2
No. 6,2971, etc.). This focusing method is called a “hill climbing method”. For example, an NHK technical research report (Showa 4)
0, Vol. 17, No. 1, Total No. 86, pp. 21-37).
【0003】この山登り方式を使った合焦検出装置の中
で、レンズを繰出しまたは繰込むことにより順次得られ
るコントラスト情報の毎回の値が過去との比較における
最大値よりも所定の自然数m回低い値を示したことを認
識したら、上記最大値を示したレンズ位置(以下、第1
のレンズ位置と呼称する)を合焦位置と判定する方式
が、先に本出願人より特願平2−401327号として
提案されている。In the focus detection apparatus using the hill-climbing method, each value of contrast information sequentially obtained by extending or retracting a lens is a predetermined natural number m times smaller than the maximum value in comparison with the past. When the lens position is recognized, the lens position showing the maximum value (hereinafter referred to as the first lens position) is displayed.
Has been previously proposed by the present applicant as Japanese Patent Application No. 2-401327.
【0004】[0004]
【発明が解決しようとする課題】ところで、上記特願平
2−401327号で提案された焦点調節方法では、所
定の自然数mを大きくすると、低輝度時やワイド時に数
多く見受けられる図11に示すようなコントラスト値が
全体的に平坦となる被写体や、図12に示すようなフリ
ッカや手ぶれ等のノイズが重畳されている場合等では、
合焦精度が向上するので有効である。しかしながら、コ
ントラスト値の変化が図13に示されるような例えばテ
レ時の被写体では、所定の自然数mを小さくしても良い
のにmが固定なため、ピーク点を越えてから再びピーク
点に戻るまでの段数が多すぎて合焦速度が遅くなってし
まう。従って、レリーズタイムラグが長くなってしま
い、シャッタチャンスを逸する虞が生じる。In the focus adjustment method proposed in Japanese Patent Application No. 2-401327, when a predetermined natural number m is increased, as shown in FIG. For example, when the contrast value of a subject is flat as a whole, or when noise such as flicker or camera shake as shown in FIG.
This is effective because focusing accuracy is improved. However, in the case of a telephoto subject whose contrast value changes as shown in FIG. 13, for example, the predetermined natural number m may be reduced, but m is fixed. The number of steps up to this point is too large and the focusing speed becomes slow. Therefore, the release time lag becomes long, and there is a possibility that a shutter chance is missed.
【0005】逆に、所定の自然数mを小さくすれば、図
13に示すようにコントラスト値のピーク点が明確にわ
かるような場合には合焦速度が早くなって好ましいが、
図11に示すようなコントラスト値が全体的に平坦な場
合や、図12に示すようなフリッカや手ぶれ等のノイズ
が重畳されている場合等では、擬合焦を起こし合焦精度
が落ちてしまうことになるので改良する余地がある。Conversely, if the predetermined natural number m is reduced, the focusing speed becomes faster when the peak point of the contrast value can be clearly seen as shown in FIG.
In the case where the contrast value as shown in FIG. 11 is entirely flat, or in the case where noise such as flicker or camera shake is superimposed as shown in FIG. 12, false focusing occurs and the focusing accuracy is reduced. So there is room for improvement.
【0006】そこで本発明の目的は、上記問題点を解消
し、像の鮮鋭度と相関を有するフリッカや手ぶれあるい
はテレ,ワイドの別等の物象の状態に応じて、正確な且
つ無駄のない合焦駆動可能なオートフォーカシングシス
テムを提供するにある。SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned problems and to provide an accurate and efficient combination according to the state of an object such as flicker, camera shake, telephoto or wide, which has a correlation with image sharpness. An object of the present invention is to provide an auto-focusing system capable of being driven by a focus.
【0007】[0007]
【課題を解決するための手段】本発明のオートフォーカ
シングシステムは、フォーカシングレンズの漸次の駆動
における各レンズ位置に対応して得られる該レンズによ
る像の鮮鋭度に対応する信号が実質的にピーク値を示す
ものと判定される位置に上記フォーカシングレンズを駆
動するオートフォーカシングシステムであって、像の鮮
鋭度と相関を有する所定の物象の状態に応じて所定の自
然数mを定める第1手段と、上記フォーカシングレンズ
の漸次の駆動の過程で像の鮮鋭度に対応する信号レベル
が過去との比較における最大値を示すときの第1のレン
ズ位置から、上記第1手段により定められたm回連続し
てフォーカシングレンズを漸次駆動して第2のレンズ位
置に到らしめたときm点の各レンズ位置で上記信号レベ
ルが上記最大値を何れも下廻ったとき、上記第1のレン
ズ位置を上記フォーカシングレンズによる像の鮮鋭度に
対応する信号レベルが実質的にピーク値を示すものと判
定する第2手段とを具備してなることを特徴とする。SUMMARY OF THE INVENTION An auto-focusing system according to the present invention comprises a signal corresponding to the sharpness of an image obtained by the focusing lens which is obtained corresponding to each lens position in the gradual driving of the focusing lens. An auto-focusing system that drives the focusing lens to a position determined to indicate a predetermined natural number m according to a state of a predetermined object having a correlation with image sharpness; From the first lens position when the signal level corresponding to the sharpness of the image shows the maximum value in comparison with the past in the course of the progressive driving of the focusing lens, it is continuously performed m times determined by the first means. When the focusing lens is gradually driven to reach the second lens position, the signal level becomes the maximum value at each of the m lens positions. A second means for judging that the signal level corresponding to the sharpness of the image by the focusing lens substantially shows a peak value when the first lens position is lower than the above. And
【0008】[0008]
【作用】このオートフォーカシングシステムでは、フォ
ーカシングレンズの漸次の駆動の過程で像の鮮鋭度に対
応する信号レベルつまりコントラスト値Cnが過去との
比較における最大値を示すときの第1のレンズ位置を決
定するために、該第1のレンズ位置を通り越し、この第
1のレンズ位置におけるコントラスト値よりも低いコン
トラスト値を所定の自然数m回与える第2のレンズ位置
までのレンズ繰り出し段数nを、図14に示すように、
像の鮮鋭度と相関を有する所定の物象の状態に応じてn
=2とかn=5のように可変する。In this auto-focusing system, the first lens position is determined when the signal level corresponding to the sharpness of the image, that is, the contrast value Cn indicates the maximum value in comparison with the past in the course of the progressive driving of the focusing lens. FIG. 14 shows the number n of lens feeding steps to the second lens position that passes through the first lens position and provides a predetermined natural number m times a contrast value lower than the contrast value at the first lens position. As shown,
N according to the state of a given object correlated with the sharpness of the image
= 2 or n = 5.
【0009】[0009]
【実施例】以下、図示の実施例に基づいて本発明を具体
的に説明する。なお、本発明の第1実施例は図2の、第
2実施例は図5,6の、第3実施例は図7,8の、第4
実施例は図9,10の、それぞれのフローチャートに示
すように構成されているが、ハード面の構成は同じなの
でそのブロック構成を示す図1をまず説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be specifically described below with reference to the illustrated embodiments. The first embodiment of the present invention is shown in FIG. 2, the second embodiment is shown in FIGS. 5 and 6, the third embodiment is shown in FIGS.
The embodiment is configured as shown in the respective flowcharts of FIGS. 9 and 10. However, since the configuration on the hardware side is the same, FIG. 1 showing the block configuration will be described first.
【0010】本発明に係るオートフォーカシングシステ
ムを内蔵する撮像装置は、図1に示すように、主に撮像
レンズ1と、ハーフミラー10と、撮像素子2と、撮像
信号増幅やサンプルホールド処理を行う撮像処理回路3
と、出力端子部4と、コントラスト情報であるコントラ
スト値を撮像信号から抽出するB.P.F.(バンドパ
スフィルタ)回路5と、コントラスト情報のアナログ/
デジタル変換用の第1のA/D変換回路6と、CPU,
ROM,RAM,などで構成される演算処理回路7と、
撮影レンズ1駆動用のモータ8と、モータ8のためのモ
ータドライブ回路9と、測光素子11と、同素子11で
得られた測光情報をA/D変換する第2のA/D変換回
路12と、図示されない映像記録再生系とによって構成
されている。As shown in FIG. 1, an image pickup apparatus having a built-in auto-focusing system according to the present invention mainly performs an image pickup lens 1, a half mirror 10, an image pickup element 2, an image pickup signal amplification and a sample hold processing. Imaging processing circuit 3
B. extracting the contrast value, which is the contrast information, from the image pickup signal. P. F. (Band pass filter) circuit 5 and analog / contrast information
A first A / D conversion circuit 6 for digital conversion, a CPU,
An arithmetic processing circuit 7 including a ROM, a RAM, and the like;
A motor 8 for driving the photographing lens 1, a motor drive circuit 9 for the motor 8, a photometric element 11, and a second A / D conversion circuit 12 for A / D converting photometric information obtained by the element 11 And a video recording / reproducing system (not shown).
【0011】以上の構成を持つ撮像装置の動作は、ま
ず、被写体光が撮像レンズ1を介して取り込まれ、ハー
フミラー10によって被写体光を分光して撮像素子2と
測光素子11との各受光面上にそれぞれ被写体像として
結像する。撮像素子2よりの出力信号は撮像処理回路3
においてサンプルホールドされ、撮像信号として出力端
子部4およびB.P.F回路5に出力される。そして、
その信号は出力端子部4から記録再生系の回路へ出力さ
れる。また、B.P.F回路5において、所定の高周波
成分がコントラスト値として抽出される。更に、第1の
A/D変換回路6によりデジタル値に変換され、演算処
理回路7のRAMに取り込まれる。また測光素子11に
よって光量を電圧に変換された測光情報は、第2のA/
D変換回路12によりディジタル値に変換され、上記演
算処理回路7のRAMに取り込まれる。この演算処理回
路7は、上記コントラスト値のピーク点の認識手段、所
定の自然数mの値を決定する手段、並びに、合焦判別手
段等を内蔵し、更に、合焦検出動作並びに合焦動作時に
モータドライブ回路9を介してモータ8を駆動し、撮影
レンズ1を所定の位置に移動せしめる制御手段等を内蔵
している。The operation of the imaging apparatus having the above configuration is as follows. First, the subject light is taken in through the imaging lens 1, the subject light is split by the half mirror 10, and the respective light receiving surfaces of the imaging element 2 and the photometry element 11 are separated. Each image is formed as a subject image on the top. An output signal from the image sensor 2 is output to an image processing circuit 3
At the output terminal 4 and B. P. Output to the F circuit 5. And
The signal is output from the output terminal unit 4 to a recording / reproducing system circuit. B. P. In the F circuit 5, a predetermined high frequency component is extracted as a contrast value. Further, the data is converted into a digital value by the first A / D conversion circuit 6 and is taken into the RAM of the arithmetic processing circuit 7. The photometric information obtained by converting the light quantity into the voltage by the photometric element 11 is the second A / A
The data is converted into a digital value by the D conversion circuit 12, and is taken into the RAM of the arithmetic processing circuit 7. The arithmetic processing circuit 7 includes means for recognizing the peak point of the contrast value, means for determining the value of a predetermined natural number m, and means for determining focus, and further includes a focus detection operation and a focus operation. Control means for driving the motor 8 via the motor drive circuit 9 to move the photographing lens 1 to a predetermined position are incorporated.
【0012】次に、本発明の第1実施例を示すオートフ
ォーカシングシステムにおける合焦処理を含む処理動作
を図2のフローチャートを用いて説明する。この場合、
合焦検出処理はレンズ繰り出し方向で検出を行うものと
する。また、フローチャート中に出てくる変数を説明す
ると、nは現レンズ繰り出し位置を示す段数、sは第1
のレンズ位置から第2のレンズ位置までの間におけるコ
ントラスト情報の毎回の値が過去の最大値CMAX より低
い場合の検出回数で以後低値検出回数と呼称する。更
に、被写体輝度をA,B,Cの3通りに分けその明るさ
の順に A>B>C とする。更に、また、mは像の鮮鋭度と相関を有する所
定の物象例えば被写体輝度やフリッカ等の状態に応じて
可変される所定の自然数としてMmax ,Mtyp ,Mmin
,に分け Mmax >Mtyp >Mmin とする。Next, a processing operation including a focusing process in the automatic focusing system according to the first embodiment of the present invention will be described with reference to a flowchart of FIG. in this case,
In the focus detection processing, detection is performed in the lens extension direction. In addition, the variables appearing in the flowchart will be described. N is the number of steps indicating the current lens extension position, and s is the first number.
The number of detections when the value of the contrast information from the lens position to the second lens position is lower than the past maximum value CMAX is hereinafter referred to as the low value detection number. Further, the object brightness is divided into three types of A, B, and C, and A>B> C in the order of the brightness. Further, m is a predetermined natural number that is correlated with the sharpness of the image, for example, Mmax, Mtyp, Mmin as a predetermined natural number that can be varied according to the state of the subject luminance, flicker, or the like.
, And Mmax>Mtyp> Mmin.
【0013】図2において、このフローがスタートする
と、段数nを初期リセットつまり最も繰り込まれた∞位
置に設定する(ステップS116)。そして、被写体の輝度
情報をチェックし(ステップS117)、明るい輝度Aなら
所定の自然数mに最小値Mmin を(ステップS118)、中
間の輝度Bなら中間値Mtyp を(ステップS119)、暗い
輝度Cなら最大値Mmax を(ステップS120)、それぞれ
セットしてステップS101に進む。In FIG. 2, when this flow is started, the number of stages n is reset to the initial value, that is, the most indented ∞ position (step S116). Then, the luminance information of the object is checked (step S117). If it is bright luminance A, the minimum value Mmin is set to a predetermined natural number m (step S118). If it is intermediate luminance B, the intermediate value Mtyp is made (step S119). The maximum value Mmax is set (step S120), and the process proceeds to step S101.
【0014】このステップS101においては、現レンズ繰
り出し位置を示す段数nにおけるコントラスト値Cnを
演算処理回路7に取り込む。そして、ステップS102でモ
ータ8を1段正転駆動し、撮影レンズ1を繰り出す。ス
テップS103おいて同様に現レンズ繰り出し位置の段数n
+1におけるコントラスト値Cn+1を演算処理回路7
に取り込む。そして、ステップS104で上記コントラスト
値CnとCn+1とを比較し、Cn+1の方が小であっ
た場合は、コントラスト値が山登り処理の降下領域に入
ったと判断してステップS105に進む。また、小でなかっ
た場合は、まだコントラスト値の上昇領域が続いている
と判断してステップS106にジャンプする。そのステップ
S106では段数nをインクリメントしてステップS102に戻
る。In step S101, the contrast value Cn at the stage number n indicating the current lens extension position is taken into the arithmetic processing circuit 7. Then, in step S102, the motor 8 is driven forward by one step to rotate the photographing lens 1. Similarly, in step S103, the number of steps n at the current lens extension position
The arithmetic processing circuit 7 calculates the contrast value Cn + 1 at +1
Take in. Then, in step S104, the contrast value Cn is compared with Cn + 1. If Cn + 1 is smaller, it is determined that the contrast value has entered the descending region of the hill-climbing process, and the process proceeds to step S105. If the contrast is not small, it is determined that the region where the contrast value is still increasing continues, and the process jumps to step S106. That step
In step S106, the number n of stages is incremented, and the process returns to step S102.
【0015】一方、ステップS105に進んだ場合、低値検
出回数sを1に設定して、ステップS107で上記最大値C
max に値Cnを読み込む。回数の認識手段であるステッ
プS108で上記低値検出回数sと所定の自然数mとを比較
し、まだ値sがmに達していない場合はステップS109に
進む。しかし、値sとmが等しくなった場合、設定回数
だけ上記低値検出が行われたことになり、コントラスト
値ピーク点を検出できたものとしてステップS115にジャ
ンプする。そして、後述する合焦処理サブルーチンを実
行した後、本処理を終了する。On the other hand, when the process proceeds to step S105, the number of times of low value detection s is set to 1, and the maximum value C is set at step S107.
Read the value Cn into max. In step S108, which is a means for recognizing the number of times, the number of times of low value detection s is compared with a predetermined natural number m. If the value s has not yet reached m, the flow proceeds to step S109. However, when the values s and m are equal, the low value detection has been performed the set number of times, and the process jumps to step S115 assuming that the contrast value peak point has been detected. Then, after executing a focusing processing subroutine described later, this processing ends.
【0016】上記ステップS109においては、モータ8を
更に1段正転駆動しレンズ1を繰り出す。ステップS110
で現レンズ位置の段数n+2におけるコントラスト値C
n+2を演算処理回路7に取り込む。そして、ステップ
S111で上記コントラスト値Cmax とCn+2とを比較し
Cmax の方が大である場合は、この低値検出を続行する
ためステップS112に進む。また、大きくなかった場合、
即ち、現コントラスト値の方が過去の最大値より大きか
ったときは、コントラスト値は再び上昇状態になったと
判断され、ステップS114にジャンプする。そして、段数
nを2回インクリメクトしてステップS102に戻る。上記
ステップS112に進んだ場合、低値検出回数sをインクリ
メントし、更に、ステップS113で段数nもインクリメン
トする。そして、ステップS108に戻り、再び検出動作を
繰り返す。In step S109, the motor 8 is further driven forward by one step to extend the lens 1. Step S110
And the contrast value C at the number of steps n + 2 at the current lens position
n + 2 is taken into the arithmetic processing circuit 7. And step
In step S111, the contrast value Cmax is compared with Cn + 2. If Cmax is larger, the process proceeds to step S112 to continue the low value detection. Also, if not big,
That is, when the current contrast value is larger than the past maximum value, it is determined that the contrast value has risen again, and the process jumps to step S114. Then, the number of stages n is incremented twice, and the process returns to step S102. When the process proceeds to step S112, the number of times of low value detection s is incremented, and the number of stages n is also incremented in step S113. Then, the process returns to step S108, and the detection operation is repeated again.
【0017】前記ステップS115でコールされるサブルー
チン合焦処理は図3に示す合焦処理Aが該当する。この
処理はステップS121において、前記ステップS107で書き
替えられているコントラスト値の過去の最大値Cmax に
対応する段数位置を合焦位置と見做し、その位置まで撮
影レンズ1を移動する。そして、本サブルーチンからリ
ターンする。The subroutine focusing process called in step S115 corresponds to the focusing process A shown in FIG. In this process, in step S121, the position of the step number corresponding to the past maximum value Cmax of the contrast value rewritten in step S107 is regarded as the in-focus position, and the photographing lens 1 is moved to that position. Then, the process returns from this subroutine.
【0018】上記合焦処理Aの変形例として合焦処理B
を提案することができる。この変形例のものも、同様に
上記最大値Cmax に対応するレンズ位置データに基づい
て合焦処理されるが、この場合は、図4に示されるステ
ップS123において他の合焦処理動作が実行される。そし
て、他の合焦処理動作の装置としては、レンズ駆動系の
機械的バックラッシュ補正処理を有する駆動系を適用す
ることができる。この場合上記レンズ位置は駆動時には
バックラッシュ分ずらして合焦位置が設定される。As a modification of the focusing process A, a focusing process B
Can be suggested. In the case of this modification as well, focusing processing is similarly performed based on the lens position data corresponding to the maximum value Cmax. In this case, another focusing processing operation is executed in step S123 shown in FIG. You. A drive system having mechanical backlash correction processing of a lens drive system can be applied as another device for the focusing operation. In this case, the focus position is set by shifting the lens position by the amount of backlash during driving.
【0019】上記第1実施例では、コントラスト値のピ
ーク点を単一ごとのコントラスト値の変化のみで判断せ
ず、所定の自然数m回低値検出されたときをもって、上
記ピーク点として認識する。そして、所定の自然数mを
合焦動作に影響を与えるパラメータである被写体輝度情
報に応じて変えている。(上記ステップS117〜S120参
照)従って、従来の合焦装置のように低い値の認識を直
前の値と比較するようなことはなく、常に過去の最大値
と比較することによって、必ずしも、コントラスト値が
一様に減少する状態でなく、減少の傾向にあれば、低い
値が検出されたとして回数に加算されてゆく。そして、
前記図11に示すように値の変化が少ない低輝度時には
所定の自然数mを多くすることによりAF精度を高めて
いる。一方、前記図13に示すように輝度が明るい場合
は、所定の自然数mを少なくしてレリーズタイムラグの
減少を図っている。これによりピーク点、またはピーク
点を越えたことを正確に且つ迅速に検出できる。In the first embodiment, the peak point of the contrast value is not determined only by a change in the contrast value for each single pixel, but is recognized as the peak point when a low value is detected a predetermined natural number m times. Then, the predetermined natural number m is changed according to subject luminance information which is a parameter affecting the focusing operation. (Refer to steps S117 to S120 above.) Therefore, unlike the conventional focusing device, the recognition of a low value is not compared with the immediately preceding value, but the comparison of the contrast value with the past maximum value is always performed. Are not uniformly reduced but tend to decrease, it is added to the number of times that a low value is detected. And
As shown in FIG. 11, the AF accuracy is increased by increasing the predetermined natural number m at the time of low luminance where the value change is small. On the other hand, when the luminance is bright as shown in FIG. 13, the predetermined natural number m is reduced to reduce the release time lag. As a result, the peak point or the fact that the peak point has been exceeded can be detected accurately and quickly.
【0020】なお、被写体輝度を測光素子11で測光し
たが、撮像素子2から求めるようにしてもよい。Although the luminance of the subject is measured by the photometric device 11, it may be obtained from the image sensor 2.
【0021】次に、本発明の第2実施例を図5,6によ
り説明する。この図5,6は本来一つのフローチャート
であるが、記載スペースの関係からステップS122とS101
の間で分けて記載されている。そして上記第1実施例で
は、合焦動作に影響を与えるパラメータとして被写体輝
度のみを考慮したのに対し、この第2実施例では、被写
体輝度に加えてフリッカ等光源のチラツキによるノイズ
をも考慮した点が異なる。Next, a second embodiment of the present invention will be described with reference to FIGS. Although FIGS. 5 and 6 are originally one flowchart, steps S122 and S101 are performed due to the space of the description.
Are described separately. In the first embodiment, only the subject brightness is considered as a parameter affecting the focusing operation. On the other hand, in the second embodiment, noise due to flicker of the light source such as flicker is considered in addition to the subject brightness. The points are different.
【0022】即ち、前記図1に示した測光素子11で得
られた測光情報を第2のA/D変換回路12でディジタ
ル値に変換して演算処理回路7に印加していたので、こ
れによりフリッカの有無をチェックし(ステップS12
1)、フリッカがあったときに所定の自然数mをフリッ
カが無い場合の2倍にしている(ステップS122)。この
点を除けば上記第1実施例と異なるところがないので、
同じフローには同じステップ番号を付してその説明を省
略する。That is, the photometric information obtained by the photometric element 11 shown in FIG. 1 is converted into a digital value by the second A / D conversion circuit 12 and applied to the arithmetic processing circuit 7. Check for flicker (step S12
1) When a flicker is present, a predetermined natural number m is doubled as compared with a case where there is no flicker (step S122). Except for this point, there is no difference from the first embodiment,
The same steps are denoted by the same step numbers, and description thereof is omitted.
【0023】従ってこの第2実施例によれば、前記図1
2に示したようなフリッカノイズが重畳された場合でも
精度よく合焦検出することができる。Therefore, according to the second embodiment, the aforementioned FIG.
Focus detection can be performed accurately even when flicker noise as shown in FIG. 2 is superimposed.
【0024】次に本発明の第3実施例を図7,8により
説明する。この図7,8は本来一つのフローチャートで
あるが、記載スペースの関係から、ステップS203とS204
の間で分けて記載されている。Next, a third embodiment of the present invention will be described with reference to FIGS. Although FIGS. 7 and 8 are originally one flowchart, steps S 203 and S 204
Are described separately.
【0025】この第3実施例の合焦検出処理動作が、上
記第2実施例のそれと異なる点は、上記第2実施例にレ
ンズ繰出し位置に対するリミッタ機能を付加したことで
ある。即ち、フォーカシングレンズ繰り出しによるコン
トラスト値のチェック動作において、山登り曲線の過去
との比較における最大値を示すピーク点Cmax に達する
ことなくレンズ調節可能範囲内の至近側終端位置(以
下、最至近繰出し段数と呼称する)n maxに達してしま
ったらエラー処理を、また山登り曲線のピーク位置Cma
x を通り越して下降領域に入ったが、低値検出回数sが
所定の自然数mに到達しないまま最至近繰出し段数n m
axに到達してしまったら通常の合焦状態を、それぞれ行
う。The focus detection processing operation of the third embodiment is different from that of the second embodiment in that a limiter function for a lens extension position is added to the second embodiment. That is, in the operation of checking the contrast value by extending the focusing lens, the closest ending position within the lens adjustable range (hereinafter referred to as the number of the closest extending steps) without reaching the peak point Cmax indicating the maximum value of the hill-climbing curve compared with the past. Error processing is performed when n max is reached, and the peak position Cma of the hill-climbing curve is also set.
x, and entered the descending region, but the number n m of closest feeding stages without the number of times of low value detection s reaching the predetermined natural number m
After reaching ax, the normal focusing state is performed.
【0026】図7,8において、このフローがスタート
するとまずフォーカシングレンズを∞位置より更に繰り
込まれた超∞位置に初期設定し(ステップS201),段数
nをクリアする(ステップS202)。次のステップS117〜
S122では、合焦動作に影響を与えるパラメータを被写体
輝度とフリッカとして所定の自然数mを補正している
が、この点は上記第2実施例と全く同じなので同じステ
ップ番号を付してその説明を省略する。Referring to FIGS. 7 and 8, when this flow starts, first, the focusing lens is initialized to a super-∞ position further depressed from the {position (step S201), and the number of steps n is cleared (step S202). Next step S117 ~
In S122, the predetermined natural number m is corrected using parameters that affect the focusing operation as subject brightness and flicker. However, since this point is completely the same as in the above-described second embodiment, the same step numbers are given and the description is given. Omitted.
【0027】ステップS203〜S207およびS209〜S211は、
上記第2実施例のステップS101〜S108と同じなのでその
説明を省略する。ステップS206で今回のコントラスト値
Cn+1が前回のコントラスト値Cnより大きければ、
つまり山登り曲線の上昇領域中なら、ステップS208に進
んで現レンズ繰出し位置を示す段数nが最至近繰出し段
数n maxに到達したか否かをチェックする。そして、最
至近繰出し段数n maxに達していればエラー処理を行っ
て(ステップS222)このプログラムを終了する。なお、
このエラー処理は最至近繰出し端でもしくは任意位置で
モータを停止することである。ところで、上記ステップ
S208,S222と後述するステップS212とが上記第2実施例
に追加されたルーチンである。Steps S203 to S207 and S209 to S211
Steps S101 to S108 in the second embodiment are the same as those in the second embodiment, and a description thereof will be omitted. If the current contrast value Cn + 1 is larger than the previous contrast value Cn in step S206,
That is, if it is in the ascending region of the hill-climbing curve, the process proceeds to step S208, and it is checked whether or not the number n of steps indicating the current lens extension position has reached the closest extension number nmax. Then, if the number nmax of the closest feeding stages has been reached, error processing is performed (step S222), and this program ends. In addition,
The error processing is to stop the motor at the closest feeding end or at an arbitrary position. By the way, the above steps
Steps S208 and S222 and step S212 described below are routines added to the second embodiment.
【0028】ステップS211で山登り曲線の下降領域に入
っているが低値検出回数sが所定の自然数mに達してい
なければ、ステップS212に進む。このステップS212では
現レンズ繰出し位置を示す段数nを最至近繰出し段数n
maxと比較し、最至近端に到達していればステップS221
の合焦処理動作に移る。ステップS215〜S221は上記第2
実施例におけるステップS109〜S115と同じルーチンなの
でその説明を省略する。If it is determined in step S211 that the vehicle is in the descending area of the hill-climbing curve but the number of times of low value detection s has not reached the predetermined natural number m, the process proceeds to step S212. In step S212, the number of steps n indicating the current lens extension position is changed to the closest number n of extension steps.
Compare with max, if it has reached the nearest end, step S221
Moves to the focusing processing operation. Steps S215 to S221 are performed in the second
Since the routine is the same as steps S109 to S115 in the embodiment, description thereof will be omitted.
【0029】最後に本発明の第4実施例を図9,10に
より説明する。この図9,10は本来一つのフローチャ
ートであるが、記載スペースの関係からステップS203と
S204の間で分けて記されている。上記第3実施例では、
最至近繰出し段数n maxまで駆動しないと合焦動作の可
否を判断できなかったが、この第4実施例ではフローの
途中で合焦検出処理が可能か否かをチェックし、不可能
と判断されればその時点で以後の処理を中止して他の合
焦方式による処理に切換えるようにした点が異なる(ス
テップS231,S232)。この点を除けば上記第3実施例と
異なるところがないので、上記第3実施例と同じルーチ
ンには同じステップ番号を付してその説明を省略し、異
なるステップS231,S232についてのみ以下に説明する。Finally, a fourth embodiment of the present invention will be described with reference to FIGS. Although FIGS. 9 and 10 are originally one flowchart, step S203 and FIG.
It is described separately between S204. In the third embodiment,
It was not possible to determine whether or not the focusing operation was possible unless the drive was performed up to the closest feeding stage number nmax. However, in the fourth embodiment, it is checked whether or not the focusing detection processing is possible in the middle of the flow, and it is determined that the focusing operation is not possible. If this is the case, the subsequent processing is stopped at that point and the processing is switched to another focusing method (steps S231 and S232). Except for this point, since there is no difference from the third embodiment, the same routines as those in the third embodiment are denoted by the same step numbers, and the description thereof will be omitted. Only different steps S231 and S232 will be described below. .
【0030】ステップS231では最至近繰出し段数n max
と現レンズ繰出し位置を示す段数nとの差を求め、この
差が所定の自然数mより小さいか否かをチェックする。
この差がmより小さければ、現在位置から最至近繰出し
段数に至るすべてのレンズ繰出し段で低値を検出できた
と仮定しても、低値検出回数sが所定の自然数mに達し
ないので、この山登り方式による合焦検出処理を中止す
る。そしてステップS232にジャンプし他の合焦方式によ
る処理に切換える。この他の合焦方式とは次のようなも
のが考えられる。即ち、 (1) 所定の自然数mを少なくして最至近繰出し段数n m
axに達するまでにこの合焦検出動作が完了するように
し、Cmax を示したレンレレズ位置にレンズ駆動する。In step S231, the number nmax of the closest feeding stages
Then, the difference between the lens position and the number n of steps indicating the current lens extension position is obtained, and it is checked whether this difference is smaller than a predetermined natural number m.
If this difference is smaller than m, the low value detection frequency s does not reach the predetermined natural number m even if it is assumed that the low value can be detected in all the lens extension stages from the current position to the closest number of extension stages. The focus detection processing by the hill-climbing method is stopped. Then, the process jumps to step S232 to switch to a process using another focusing method. Other focusing methods include the following. That is, (1) the predetermined natural number m is reduced to reduce the number n m of the nearest feeding stages.
The in-focus detection operation is completed by the time ax is reached, and the lens is driven to the lens release position indicating Cmax.
【0031】(2) エラー表示する。(2) An error is displayed.
【0032】(3) 最終駆動段数位置にレンズ駆動する。(3) The lens is driven to the final driving stage number position.
【0033】(4) 他の合焦検出方式に切換える。(4) Switching to another focus detection method.
【0034】ところで、上記各実施例では像の鮮鋭度と
相関を有する所定の物象として被写体の輝度情報とフリ
ッカの情報しか扱っていないが、それ以外にも、例えば
手ぶれ情報,焦点距離情報,レンズのFNo 等のAF動作
に影響を与えるパラメータを付加してもよい。また、所
定の自然数mは上記パラメータに対応するROMテーブ
ルとしても、あるいは演算式によってもよい。In each of the above embodiments, only the luminance information and the flicker information of the subject are handled as the predetermined object having a correlation with the sharpness of the image. A parameter such as FNo, which affects the AF operation, may be added. Also, the predetermined natural number m may be a ROM table corresponding to the above parameter or an arithmetic expression.
【0035】上記各実施例によれば、像の鮮鋭度と相関
に有する所定の物象例えばフリッカ、輝度等の状態に応
じて、所定の自然数mを変えるようにしたので正確で且
つ無駄のない山登り曲線によるAF動作を行うことがで
きる。According to each of the above embodiments, the predetermined natural number m is changed in accordance with the state of the predetermined object having a correlation with the sharpness of the image, for example, flicker, luminance, and the like, so that accurate and lean climbing is performed. An AF operation using a curve can be performed.
【0036】[0036]
【発明の効果】以上述べたように本発明によれば、フォ
ーカシングレンズの漸次の駆動における各レンズ位置に
対応して得られる該レンズによる像の鮮鋭度に対応する
信号が実質的にピーク値を示すものと判定される位置
に、上記フォーカシングレンズを駆動するオートフォー
カシングシステムにおいて、低値検出回数sを所定の自
然数mと比較してピーク位置を検出する際の上記自然数
mを、像の鮮鋭度と相関を有する所定の物象の状態に応
じて変えるようにしたので、正確な且つ無駄のないオー
トフォーカシングシステムを構成できるという顕著な効
果が発揮される。As described above, according to the present invention, the signal corresponding to the sharpness of the image obtained by each lens position in the progressive driving of the focusing lens substantially has a peak value. In the auto-focusing system that drives the focusing lens at a position determined to indicate the above, the natural number m when detecting the peak position by comparing the number of times of low value detection s with a predetermined natural number m is defined as the sharpness of the image. Since it is changed in accordance with the state of a predetermined object having a correlation with the above, a remarkable effect that an accurate and lean auto-focusing system can be constituted is exhibited.
【図1】本発明に係るオートフォーカシングシステムの
ハード面の構成を示すブロック図。FIG. 1 is a block diagram showing a hardware configuration of an automatic focusing system according to the present invention.
【図2】本発明の第1実施例を示すオートフォーカシン
グシステムにおける合焦処理動作のフローチャート。FIG. 2 is a flowchart of a focusing processing operation in the automatic focusing system according to the first embodiment of the present invention.
【図3】上記図2におけるサブルーチン”合焦処理”の
フローチャート。FIG. 3 is a flowchart of a subroutine “focusing process” in FIG. 2;
【図4】上記図2おけるサブルーチン”合焦処理”の別
のフローチャート。FIG. 4 is another flowchart of a subroutine “focusing process” in FIG. 2;
【図5】本発明の第2実施例を示すオートフォーカシン
グシステムにおける合焦処理動作のフローチャート。FIG. 5 is a flowchart of a focusing processing operation in the automatic focusing system according to the second embodiment of the present invention.
【図6】本発明の第2実施例を示すオートフォーカシン
グシステムにおける合焦処理動作のフローチャート。FIG. 6 is a flowchart of a focusing processing operation in the automatic focusing system according to the second embodiment of the present invention.
【図7】本発明の第3実施例を示すオートフォーカシン
グシステムにおける合焦処理動作のフローチャート。FIG. 7 is a flowchart of a focusing processing operation in the automatic focusing system according to the third embodiment of the present invention.
【図8】本発明の第3実施例を示すオートフォーカシン
グシステムにおける合焦処理動作のフローチャート。FIG. 8 is a flowchart of a focusing processing operation in an auto-focusing system according to a third embodiment of the present invention.
【図9】本発明の第4実施例を示すオートフォーカシン
グシステムにおける合焦処理動作のフローチャート。FIG. 9 is a flowchart of a focusing processing operation in an auto-focusing system according to a fourth embodiment of the present invention.
【図10】本発明の第4実施例を示すオートフォーカシ
ングシステムにおける合焦処理動作のフローチャート。FIG. 10 is a flowchart of a focusing processing operation in the automatic focusing system according to the fourth embodiment of the present invention.
【図11】従来のオートフォーカシングシステムにおけ
るコントラスト値が平坦な場合の合焦曲線。FIG. 11 is a focusing curve when the contrast value is flat in the conventional auto-focusing system.
【図12】従来のオートフォーカシングシステムにおけ
るコントラスト値にノイズが重畳された場合の合焦曲
線。FIG. 12 is a focusing curve when noise is superimposed on a contrast value in a conventional auto-focusing system.
【図13】従来のオートフォーカシングシステムにおけ
るコントラスト値の変化が急な場合の合焦曲線。FIG. 13 is a focusing curve in a conventional auto-focusing system when the contrast value changes rapidly.
【図14】所定の自然数を決定するための手段を説明す
る図。FIG. 14 is a view for explaining means for determining a predetermined natural number.
Claims (1)
ける各レンズ位置に対応して得られる該レンズによる像
の鮮鋭度に対応する信号が実質的にピーク値を示すもの
と判定される位置に上記フォーカシングレンズを駆動す
るオートフォーカシングシステムであって、像の鮮鋭度
と相関を有する所定の物象の状態に応じて所定の自然数
mを定める第1手段と、上記フォーカシングレンズの漸
次の駆動の過程で像の鮮鋭度に対応する信号レベルが過
去との比較における最大値を示すときの第1のレンズ位
置から上記第1手段により定められたm回連続してフォ
ーカシングレンズを漸次駆動して第2のレンズ位置に到
らしめたときm点の各レンズ位置で上記信号レベルが上
記最大値値を何れも下廻ったとき、上記第1のレンズ位
置を上記フォーカシングレンズによる像の鮮鋭度に対応
する信号レベルが実質的にピーク値を示すものと判定す
る第2手段と、を具備してなることを特徴とするオート
フォーカシングシステム。1. A focusing lens according to claim 1, wherein a signal corresponding to the sharpness of an image obtained by each lens in the progressive driving of the focusing lens is determined to substantially show a peak value. An auto-focusing system for driving the focusing lens, wherein first means for determining a predetermined natural number m in accordance with a state of a predetermined object correlated with the sharpness of the image, and sharpening of the image in a process of gradually driving the focusing lens. The focusing lens is gradually driven from the first lens position when the signal level corresponding to the degree indicates the maximum value in comparison with the past to the second lens position by the number of continuous m times determined by the first means. When the signal level falls below the maximum value at each of the lens positions at point m, the first lens position is moved to the focus position. A second means for judging that a signal level corresponding to the sharpness of an image by the focusing lens substantially shows a peak value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP03075352A JP3112491B2 (en) | 1991-04-08 | 1991-04-08 | Auto focusing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP03075352A JP3112491B2 (en) | 1991-04-08 | 1991-04-08 | Auto focusing system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04310076A JPH04310076A (en) | 1992-11-02 |
JP3112491B2 true JP3112491B2 (en) | 2000-11-27 |
Family
ID=13573764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP03075352A Expired - Lifetime JP3112491B2 (en) | 1991-04-08 | 1991-04-08 | Auto focusing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3112491B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3382344B2 (en) * | 1994-04-25 | 2003-03-04 | キヤノン株式会社 | Automatic focusing device |
KR100481516B1 (en) * | 2002-10-25 | 2005-04-07 | 삼성전자주식회사 | A moving-camera having auto focuse control function and control method thereof |
JP5536010B2 (en) | 2011-11-02 | 2014-07-02 | カシオ計算機株式会社 | Electronic camera, imaging control program, and imaging control method |
JP2013211930A (en) * | 2013-07-04 | 2013-10-10 | Casio Comput Co Ltd | Electronic camera, imaging control program, and imaging control method |
-
1991
- 1991-04-08 JP JP03075352A patent/JP3112491B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH04310076A (en) | 1992-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4149528B2 (en) | Automatic focus detection device | |
US8514320B2 (en) | Electronic camera and focus control method which minimizes the time required for adjusting a focus | |
US20060152619A1 (en) | Focusing device and method | |
JPH09243906A (en) | Automatic focusing device and method | |
US20020158986A1 (en) | Exposure control in a digital camera | |
JP3112491B2 (en) | Auto focusing system | |
JP4255186B2 (en) | Focusing device | |
US5798793A (en) | Automatic focusing device capable of detecting panning | |
JP2977979B2 (en) | Automatic focusing device | |
JP3564050B2 (en) | Camera, focus adjustment device, focus adjustment method, medium for providing focus adjustment program | |
US6222587B1 (en) | Focus control method and video camera | |
US6275262B1 (en) | Focus control method and video camera apparatus | |
JP2008185823A (en) | Focus detector and camera | |
JP3109862B2 (en) | Auto focus device | |
JPH05316401A (en) | Automatic focus detector | |
JPH05145827A (en) | Automatic focusing controller | |
JPH05236329A (en) | Lens controller | |
JP3485762B2 (en) | Auto focus device | |
JP3428663B2 (en) | Automatic focusing device | |
KR20050053998A (en) | Auto focus controller for imaging device at spot status and a method thereof | |
JP3403447B2 (en) | microscope | |
JP3310324B2 (en) | Automatic focusing device | |
JP3310323B2 (en) | Automatic focusing device | |
JP3389379B2 (en) | Auto focus device | |
JPH05336427A (en) | Focus adjusting device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20000829 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080922 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080922 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090922 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090922 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100922 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110922 Year of fee payment: 11 |
|
EXPY | Cancellation because of completion of term | ||
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110922 Year of fee payment: 11 |