JP2954861B2 - Automatic focusing device - Google Patents

Automatic focusing device

Info

Publication number
JP2954861B2
JP2954861B2 JP7227873A JP22787395A JP2954861B2 JP 2954861 B2 JP2954861 B2 JP 2954861B2 JP 7227873 A JP7227873 A JP 7227873A JP 22787395 A JP22787395 A JP 22787395A JP 2954861 B2 JP2954861 B2 JP 2954861B2
Authority
JP
Japan
Prior art keywords
focus
lens
flag
distance measurement
signal
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
Application number
JP7227873A
Other languages
Japanese (ja)
Other versions
JPH0843722A (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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP7227873A priority Critical patent/JP2954861B2/en
Publication of JPH0843722A publication Critical patent/JPH0843722A/en
Application granted granted Critical
Publication of JP2954861B2 publication Critical patent/JP2954861B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Automatic Focus Adjustment (AREA)
  • Focusing (AREA)
  • Lens Barrels (AREA)

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】この発明は、自動焦点調節装
置、詳しくは自動焦点調節動作の実行を指示する信号が
出力されている間、測距動作とその測距結果に基づく撮
影光学系の駆動とを繰り返し実行する自動焦点調節装置
に関するものである。 【0002】 【従来の技術】従来より、写真撮影等を行なう撮影装置
等(以下、カメラという。)においては、被写体までの
絶対距離情報を得るための距離情報出力装置等を含む測
距手段を具備し、これにより得られた絶対距離情報等に
基づいて自動焦点(オートフォーカス;以下、AFとい
う。)動作を行なうようにした自動焦点調節装置を具備
した、いわゆるAFカメラ等が一般的に実用化されてい
る。 【0003】このようなAFカメラ等によって写真撮影
等を行なう場合において、その撮影環境の被写体が低輝
度であったり、被写体が低コントラストである等の場合
に、上記測距手段による測距動作が不能となってしまう
場合がある。 【0004】そこで、上記測距手段による測距不能時に
おいて、撮影レンズを含む撮影光学系を強制的に常焦点
位置に移動させるための駆動手段を具備するようにした
ものや、撮影レンズを含む撮影光学系を移動させながら
焦点検出可能な位置を探索するための手段を配設するよ
うにしたもの等、種々の提案がなされ、また一般的に実
用化されている。 【0005】ところで、上記AFカメラ等の自動焦点調
節装置において、合焦動作が行なわれる際に、いったん
合焦したら、それ以降は撮影光学系の駆動を禁止して合
焦状態を保持するモード(以下、ワンショットAFモー
ドという。)と、測距動作とその測距結果に基づく撮影
レンズを含む撮影光学系の駆動を連続的に繰り返すモー
ド(以下、コンティニュアス(連続)AFモードとい
う。)とを選択的に切り換えることができるようにした
ものが、従来より一般的に実用化されている。 【0006】 【発明が解決しようとする課題】ところが、上記ワンシ
ョットAFモードとコンティニュアスAFモードとを選
択的に切り換えることのできる自動焦点調節装置におい
て、コンティニュアスAFモードが選択されているとき
に、その撮影環境の被写体が低輝度等であるために、測
距手段による測距動作が不能であるにもかかわらず、上
述のような動作、つまり測距動作とその測距結果に基づ
く撮影光学系の駆動を繰り返す動作が行なわれる場合に
は、撮影者(カメラの使用者等)にとっては非常に煩わ
しく感じると共に、低輝度時の測距動作、即ち、補助光
手段による補助照明光の投射、および撮影光学系の駆動
等の動作が繰り返し行なわれることとなると、電源電池
を無駄に消耗してしまうという問題点がある。 【0007】本発明の目的は、上記従来の問題点を解消
し、自動焦点調節装置において合焦動作が行なわれる際
に、被写体が低輝度等の場合の測距動作等に係る無駄な
動作を禁止すると共に、電源電池の消耗を防止する自動
焦点調節装置を提供するにある。 【0008】 【課題を解決するための手段】 本発明による自動焦点
調節装置は、自動焦点調節動作の実行指示信号の出力中
、測距動作とこの測距動作による測距結果に基づく撮
影光学系の駆動とを繰り返し実行する自動焦点調節装置
において、被写体に対する合焦状態が得られたか否かを
判定する合焦判定手段と、被写体が測距不能であるか否
かを判定する測距不能判定手段と、上記測距不能判定手
段によって測距不能であると判定された場合に、上記測
距結果に基づく光学系駆動動作とは異なる所定の光学系
駆動動作を実行する不能時処理手段と、を具備し、上記
合焦判定手段によって最初の合焦状態判定がなされた後
は、上記測距不能判定手段によって測距不能であると判
定された場合でも上記不能時処理手段の動作を実行しな
いようにしたことを特徴とする。 【0009】 【0010】 【0011】 【作用】 自動焦点調節動作の実行指示信号の出力中
に、合焦判定手段が最初の合焦状態を判定した後に、測
距不能判定手段が測距不能であると判定した場合は、不
能時処理手段の動作を実行しないように制御する。 【0012】 【0013】 【0014】 【発明の実施の形態】以下、図示の実施の形態によって
本発明を説明する。図1は、本発明の一実施の形態の自
動焦点調節装置が適用されるカメラシステムにおいて、
電源供給を主体として見た場合の全体のブロック図であ
る。なお、この一実施の形態においては、例えばレンズ
交換式のAFカメラ等に適用した場合を例示するものと
する。 【0015】図1に示すように、電源電池11の電圧V
ccは電源スイッチ12の閉成時にDC/DCコンバー
タ13により昇圧され、ラインl(エル)0,l(エ
ル)1間が電圧VDDに定電圧化されている。ラインl
0,l1間にメインCPU14、バイポーラII回路(ド
ライバ)15、バイポーラI回路(測光)16、ストロ
ボ制御回路17、レンズデータ回路18、データバック
回路19が接続されており、バイポーラII回路15の電
源供給制御はメインCPU14のパワーコントロール回
路からの信号により行なわれ、バイポーラI回路16〜
データバック回路19の電源供給制御はバイポーラII回
路15からのパワーコントロール信号により行なわれ
る。 【0016】合焦センサ20、A/Dコンバータ21、
AF用CPU22からなるAFブロックは電源制御用ト
ランジスタ23を介してラインl0,l1間に接続され
ており、このAFブロックに対する電源供給制御はメイ
ンCPU14のAF用パワーコントロール回路からの信
号による上記トランジスタ23のオン(ON)、オフ
(OFF)制御により行なわれる。 【0017】AF用CPU22は、AF用アルゴリズム
演算を行なうための回路であり、被写体が測距不能であ
るか否かを判定する判定手段でもあり、この判定手段に
よって測距不能であると判断された場合に、測距結果に
基づくレンズ(光学系)駆動動作とは異なる所定のレン
ズ駆動動作を実行する不能時処理手段であり、また、い
ったん合焦状態となった後にも、不能時処理手段の動作
を禁止する禁止手段でもある。そして、このAF用CP
U22には、合焦・非合焦の表示を行なうAF表示回路
24が接続されている。 【0018】メインCPU14は巻上げ、巻戻し、露出
シーケンス等カメラ全体のシーケンスをコントロールす
るための回路で、上記合焦表示以外の表示を行なう表示
回路25が接続されている。 【0019】バイポーラII回路15は巻上げ、巻戻し用
モータ制御、レンズ駆動およびシャッタ制御等、カメラ
のシーケンスに必要な各種ドライバを含む回路で、AF
モータ駆動回路26およびAF補助光回路27等が接続
されている。このAF補助光回路27は、被写体が低輝
度の場合に、測距動作に同期して被写体に対して補助照
明光を投射する補助光手段である。バイポーラI回路1
6は主として測光をつかさどる回路であり、測光素子2
8を有している。 【0020】ストロボ制御回路17は内蔵、あるいは外
付けされたストロボ29に対する発光制御を行なうため
のものである。レンズデータ回路18は、交換レンズ毎
に異なる、AF、測光、その他のカメラ制御に必要な、
固有のレンズデータを記憶した回路である。このレンズ
データ回路18に入っているレンズデータのうちAFに
必要なデータとしては、レンズ変倍係数(ズーム係
数)、マクロ識別信号、絶対距離係数a,b、AF精度
スレッショルドETh、レンズ移動方向、開放F値等で
ある。 【0021】上記バイポーラII回路15では電源電圧V
DDの状態を監視しており、電源電圧が規定電圧より低
下したときメインCPU14にシステムリセット信号を
送り、バイポーラII回路15〜データバック回路19の
電源供給、並びに、合焦センサ20、A/Dコンバータ
21およびAF用CPU22からなるAFブロックの電
源供給を断つようにしている。メインCPU14への電
源供給は規定電圧以下でも行なわれる。 【0022】図2は、上記AFブロックを中心とした信
号の授受を示す系統図であり、AF用CPU22とメイ
ンCPU14はシリアルコミュニケーションラインでデ
ータの授受を行ない、その通信方向はシリアルコントロ
ールラインにより制御される。このコミュニケーション
ラインの内容としては、レンズデータ回路18内の固有
のレンズデータや、絶対距離情報である。また、メイン
CPU14からAF用CPU22にカメラのモード(ワ
ンショットAFモード/コンティニュアスAFモード/
その他のモード)の各情報がモードラインを通じてデコ
ードされる。さらに、メインCPU14からAF用CP
U22へのAFENA(AFイネーブル)信号はAFの
スタートおよびストップをコントロールする信号であ
り、AF用CPU22からメインCPU14へのEOF
AF(エンドオブAF)信号はAFの動作終了時に発せ
られ露出シーケンスへの移行を許可する信号である。 【0023】また、バイポーラII回路15はAF用CP
U22からのAFモータコントロールラインの信号をデ
コードし、AFモータ駆動回路26をドライブする。A
Fモータ駆動回路26の出力によりAFモータ(レンズ
駆動モータ)31が回転すると、レンズ鏡筒の回転部材
に等間隔に設けられたスリット32が回転し、同スリッ
ト32の通路を挟んで発光部33aと受光部33bとを
対向配置させてなるフォトインタラプタ33がスリット
32をカウントする。即ち、スリット32とフォトイン
タラプタ33はアドレス発生部34を構成しており、同
アドレス発生部34から発せられたアドレス信号(スリ
ット32のカウント信号)は波形整形されてAF用CP
U22に取り込まれる。 【0024】AF用CPU22からバイポーラII回路1
5に送られるサブランプ(以下、Sランプと略記す
る。)信号は、AF補助光回路27をコントロールする
信号で、被写体がローライト(低輝度)LLのときSラ
ンプ27aを点灯する。 【0025】AF用CPU22に接続されたAF表示回
路24は合焦時に点灯する合焦OK表示用LED(発光
ダイオード)24aと、合焦不能時に点灯する合焦不能
表示用LED24bを有している。なお、このAF用C
PU22にはクロック用発振器35、リセット用コンデ
ンサ36が接続されている。 【0026】また、上記AF用CPU22とA/Dコン
バータ21はバスラインによりデータの授受を行ない、
その伝送方向はバスラインコントロール信号により制御
される。そして、AF用CPU22からA/Dコンバー
タ21にセンサ切換信号、システムクロック信号が送ら
れるようになっている。そして、A/Dコンバータ21
は、例えばCCDからなる合焦センサ20に対しCCD
駆動クロック信号、CCD制御信号を送り、合焦センサ
20からCCD出力を読み出し、この読み出したアナロ
グ値のCCD出力をデジタル変換してAF用CPU22
に送る。 【0027】次に、本発明の距離情報出力装置を有する
カメラの上記図2に示したAFブロックを中心とするマ
イクロコンピュータのプログラム動作のフローチャート
を、以下に説明する。 【0028】AFブロックは、図1に示したように、メ
インCPU14のAF用パワーコントロール回路を動作
状態にすることによってトランジスタ23がオン状態と
なり、電源電圧VDDが供給され、これによって、図3
に示すパワーオン・リセットのルーチンの実行が開始さ
れる。 【0029】この図3に示すように、パワーオン・リセ
ットルーチンが開始されると、まず、<I/Oイニシャ
ライズ>のサブルーチンでAFブロックの駆動回路のイ
ニシャライズが行なわれる。具体的には、AF表示回路
24、AFモータ駆動回路26およびAF補助光回路2
7等のオフ並びにメインCPU14とのシリアルコミュ
ニケーションラインのイニシャライズ等が行なわれる。 【0030】次に、レンズリセット動作を行なう。レン
ズリセットとは、レンズを強制的に無限遠(∞)の位置
まで繰り込み、これによって、相対的距離信号、即ち、
合焦センサ20から出力される測距出力信号を無限遠
(∞)の位置からのパルス移動数に置き換えて絶対距離
信号に変換しようとするためのイニシャライズ動作、即
ち、絶対距離カウンタのクリア動作である。 【0031】レンズリセット動作に続いてローライトフ
ラグ(以下、LLフラグと略記する。)を“L”、LS
TOPフラグおよびLDIRフラグを“H”にする。L
STOPフラグとは、レンズの距離環が無限遠側にあて
ついたときに“H”、至近側にあてついたとき“L”に
なる。また、LDIRフラグは、レンズの移動方向をセ
ットするフラグで、無限遠方向なら“H”、至近方向な
ら“L”である。 【0032】そして、AF用CPU22は、AF表示回
路24の合焦OK表示LED24aと合焦不能表示LE
D24bをオフ状態とし、さらに、EOFAF信号
“H”をメインCPU14に伝達する。 【0033】次に、AF用CPU22は、メインCPU
14からのAFENA信号が“H”になるのを待つ。メ
インCPU14は、ユーザーが設定した撮影モードをモ
ードラインに出力したのち、ユーザーがレリーズボタン
の第1段目を動作させるのを待つ。AFENA信号が
“L”から“H”になると、AF用CPU22は、直ち
にモードラインの状態を読みに行く。このモードの状態
に応じて<AFシングル(以下、AFSIN)>、<A
Fシーケンス(以下、AFSEQ)>のどちらかのサブ
ルーチンを選択し実行する。 【0034】ここで<AFSIN>のモードの動作は、
ワンショットAF動作であり、被写体に対してAF動作
後にフォーカスロックするものである。また、<AFS
EQ>モードは、コンティニュアスAF動作であり、こ
のモードでは、レリーズボタンの1段目を動作し続ける
限り連続的にAF動作を行なうことになる。 【0035】次に、各レンズ駆動モードの動作について
図4〜図8のフローチャートを用いて説明する。 【0036】まず、上記図3に示すフローチャートにお
いて、<AFSIN>のモードが選択された場合には、
図4に示す<AFSIN>のルーチンが実行され、<A
FSIN2>のサブルーチンが呼び出される。ただし、
レリーズボタンの第2段目の動作が受け付けられるの
は、AF動作が終了して合焦状態が得られ露出シーケン
スが開始されるときである。 【0037】<AFSIN2>では、後述するように、
合焦センサ20のCCD積分、測距出力の演算およびレ
ンズの駆動等が行なわれる。そして、メインCPU14
からのAFENA信号が監視され、AFENA信号が
“H”レベル(アクティブ)になるのを待って、AFス
テータスフラグの監視が行なわれて、<AFSIN2>
のAF動作の結果である合焦、非合焦の表示がなされ
る。 【0038】一方、メインCPU14からのAFENA
信号が“L”レベル(インアクティブ)であるときは、
図3に示すパワーオン・リセットのフローのAFENA
信号のテストにリターンする。 【0039】<AFSIN2>のAF動作の結果である
合焦、非合焦の表示は、上述したように、<AFSIN
2>の動作の後、AFステータスフラグを監視して行な
われるが、ここで、AFステータスフラグはローコンフ
ラグ(被写体が低輝度(ローコントラスト)のとき
“1”にセットされるフラグ、以下、LCフラグと略記
する。)、移動フラグ(被写体が移動しているとき
“1”にセットされるフラグ、以下、Mフラグと略記す
る。)および最至近フラグ(レンズを最至近距離以上に
繰り出そうとしたときに“1”にセットされるフラグ、
以下、Nフラグと略記する。)、オーバーフラグ(例え
ば8回レンズを駆動しても合焦にならないとき“1”に
セットされるフラグ、以下、OVフラグと略記する。)
を有しており、これらのうち、いずれのフラグとも0の
とき合焦が可能であり、上記各フラグのうち何らかのフ
ラグが立つと合焦不能であるので、AFステータスフラ
グの監視の結果、同AFステータスフラグが0であれば
合焦OKの表示が上記AF表示回路24のLED24a
によって行なわれ、AFステータスフラグが0でなけれ
ば合焦不能の表示が上記LED24bによって行なわれ
る。 【0040】即ち、合焦であれば、EOFAF信号
(“L”)が発せられてAF動作が終了し、メインCP
U14にレリーズボタンの2段目の動作、即ち、露出シ
ーケンスの開始を待機する状態となる。つまり、一度合
焦が終了すると、AFENA信号が“H”レベル(アク
ティブ)になっていても、その後のレンズ動作が禁止さ
れ合焦OK表示のLED24aが点灯したままとなり、
フォーカスロック状態となる。メインCPU14からの
AFENA信号が“L”レベル(インアクティブ)にな
ったときは、図3に示すパワーオン・リセットのフロー
のAFENA信号のテストにリターンする。 【0041】上記<AFSIN>モードの動作中、<A
FSIN2>のサブルーチンのプログラム動作は、図5
に示すようにして行なわれる。 【0042】まず、AF動作の制御用フラグとして用い
るLLフラグをクリアし、次にAF動作の回数をカウン
トするカウンタAFCNTをクリアする。 【0043】次に、AFCNTに1を加算し、一回目の
AF動作がスタートする。まず、すべてのAFステータ
スフラグをクリアし、測距のためのオートフォーカス<
AF>のルーチンを呼び出す。この<AF>のルーチン
内では、被写体までの距離を検出し、AF演算出力値
(ERROR)を計算すると共に、レンズを移動すべき
方向をDIRフラグにセットする(無限遠方向なら
“H”、至近方向なら“L”)。ただし、測距時に被写
体が低輝度であればLLフラグを“H”にセットすると
共に、Sランプ27aを点灯しながら測距する。また、
被写体が低コントラストであればLCフラグを“H”に
する。 【0044】続いて、レンズリード<LENSRD>の
ルーチンを呼び出し、上記レンズデータ回路18に入っ
ているレンズ毎のデータを読み込む。読み込んだレンズ
データのうち、レンズの開放Fナンバー(No.)に関
する情報を用いて<ERRORTH>のサブルーチンに
おいてAF精度スレッショルド(ETh)を決定する。
この後、LCフラグの判定を行なう。被写体が低コント
ラストでない場合には、LCフラグがクリアされたまま
であるから、LCフラグが“L”ならば、パルス<PU
LSE>のルーチンを呼び出し、レンズの駆動量を計算
する。即ち、この<PULSE>のルーチンでは、上記
<AF>の動作で求められたAF(測距)演算出力値を
各交換レンズ毎の距離移動量に変換するためにレンズデ
ータ回路18から変倍係数等の情報を読み取り、この読
み取った変倍係数とAF演算出力値により合焦点までの
移動量に相当するパルス(アドレス信号)数を計算され
る。 【0045】このあと、上記AF演算出力値(ERRO
R)と上記AF精度スレッショルド(ETh)とを比較
し、AF演算出力値(ERROR)が、AF精度スレッ
ショルド(ETh)未満であれば合焦と判断して<CA
LDIST>へ進む。そうでなければ、AFCNTのチ
ェックへ進む。AFCNTの値が8であれば、すでに8
回のAF動作が行なわれたことを示しており、これ以上
AF動作を続けても合焦不可能と考えて、OVフラグを
“H”にして<CALDIST>へと進む。 【0046】AFCNTの値が8でない場合、次に1で
あるか否かをチェックする。1であれば、LSTOPフ
ラグのチェックへ進む。LSTOPフラグが“H”であ
れば、すでにレンズが終端にあてついているので、あて
ついた方向を示すLDIRフラグと、これから移動しよ
うとする方向を示すDIRフラグとを比較し、両者が一
致していれば、DIRフラグのチェックへ進む。ここ
で、DIRフラグが“H”であれば、レンズの移動方向
はレンズの無限側終端よりさらに無限側を示しているこ
とになるので、この場合は、合焦と考えて<CALDI
ST>へ進む。 【0047】一方、DIRフラグが“L”であれば、被
写体はレンズの至近終端よりもさらに近い位置にあるこ
とになり、この場合は非合焦と考えNフラグを“H”に
して<CALDIST>へ進む。 【0048】また両者が一致していなければLSTOP
フラグをクリアし、次に上記AF演算出力値(ERRO
R)を前回ERROR格納用レジスタ(LERROR)
に転送し、移動方向を示すためのDIRフラグもレンズ
の終端あてつき方向を示すLDIRフラグに転送する。 【0049】前に戻って、LSTOPフラグが“H”で
ない場合もLERROR、LDIRフラグのセットへ進
む。続いて、<MDRIVAF>ルーチンを呼び出し、
<PULSE>のルーチンで計算したパルス数分だけD
IRフラグで示される方向にレンズを移動させる。も
し、レンズ移動中にレンズ終端にあてついた場合、レン
ズ駆動用モータ31への給電を中止し、LSTOPフラ
グを“H”にしてリターンする。また、<MDRIVA
F>のルーチンを実行中は、AFENA信号を随時チェ
ックする。従って、もしレンズ駆動中にユーザーがレリ
ーズボタンの第1段目を動作させることを中止した場合
には、メインCPU14はAFENA信号を“H”から
“L”に変化させるので、AF用CPU22はAFEN
A信号の“L”を検知したら直ちにレンズ駆動を中止し
リターンする。 【0050】<MDRIVAF>のルーチンからリター
ンしたら、まず、AFENA信号のチェックをし、AF
ENA信号が“L”であれば<CALDIST>へ進
む。“H”であれば「1」に進んで2回目のAF動作を
始める。 【0051】2回目以降のAF動作も1回目と同様であ
るが、AFCNTが1であるか否かの判定においてはA
FCNT≠1なので、AF演算出力値(ERROR)
が、AF精度スレッショルド(ETh)の4倍以上か否
かをチェックする。もし、4倍未満であれば、1回目同
様LSTOPフラグのチェックへ進む。4倍以上であれ
ば、次に今回のAF演算出力値(ERROR)と、前回
のAF演算出力値(LERROR)とを比較し、ERR
OR≧LERRORでなければ1回目同様LSTOPの
チェックへ進む。もし、ERROR≧LERRORが成
り立てば、Mフラグを“H”にして<CALDIST>
へ進む。これは、AF精度スレッショルドの4倍以上と
いうデフォーカス量の大きな範囲でAF演算出力値が前
回の値よりも大きくなるということは、被写体が高速で
移動しているためであり、これ以上AF動作を続けても
無駄であると判断したからである。 【0052】次に、被写体が低コントラストのために<
AF>のルーチンの中でLCフラグが“H”にセットさ
れた場合について説明する。<LENSRD>、<ER
RORTH>ルーチンは同様に実行するが、LCフラグ
の判定においてLCフラグが“H”であれば<PANF
OCUS>のルーチンを呼び出す。<PANFOCUS
>のルーチンは、撮影レンズを撮影レンズの焦点距離に
よって決定される常焦点位置へ移動させるサブルーチン
であり、図6を用いて説明する。 【0053】まず、<LENSRD>のルーチンでレン
ズデータ回路18より読み込んだ撮影レンズの焦点距離
情報より、その焦点距離における常焦点位置またはピン
トの合う範囲が最も広くなる位置(以下、これらの位置
をパンフォーカス位置という。)をAF用CPU22の
内部ROMの変換テーブルより求める。ここで、例えば
パンフォーカス位置がXmであったとすると、次に撮影
レンズをXmの位置に移動させた場合に、絶対距離カウ
ンタがいくつになるかを逆算する。 【0054】続いて、現在撮影レンズが停止している位
置における絶対距離カウンタの値と、パンフォーカス位
置における絶対距離カウンタの値とを比較して、目標移
動パルス数を計算する。 【0055】次に、レンズの移動方向をセットし、<M
DRIVAF>のルーチンを呼び出して、撮影レンズを
パンフォーカス位置へ移動させ、リターンする。 【0056】図5に戻って、<PANFOCUS>のル
ーチンからリターンしたらAFステータスフラグをクリ
アし、<CALDIST>へ進む。これはパンフォーカ
ス位置で疑似的に合焦とするためである。従って、<C
ALDIST>のルーチンを終了し、<AFSIN>の
ルーチンへ戻った場合、合焦表示がなされる。 【0057】ここで、<CALDIST>のルーチンは
被写体までの距離を絶対距離カウンタの値と、レンズ回
路18内の絶対距離係数a,bより求め、メインCPU
14へ送るサブルーチンである。 【0058】<AFSIN2>のルーチンはここで終了
し、<AFSIN>のルーチンへリターンする。 【0059】次に、上記図3に示すフローチャートにお
いて、<AFSEQ>のモードが選択された場合には、
図7に示す<AFSEQ>のルーチンが呼び出される。
この<AFSEQ>では、レリーズボタンの第1段目の
動作が行なわれると、このあと、EOFAF信号がアク
ティブになるまでの第1回目のAF動作は、上記<AF
SIN>の場合と全く同じ動作を実行する。つまり、<
AFSIN>も<AFSEQ>も<AFSIN2>の動
作が行なわれ、合焦不能時には、積極的にレンズを異常
駆動させユーザーに知らせる。 【0060】ところで、<AFSIN2>では、上述し
たように、ローライト(低輝度)のときはSランプ27
aを用いてAF動作のための測距を補助するようにして
いるが、<AFSEQ>のモードでAF動作を連続させ
るときも、同様にSランプ27aを使用するようにする
と、Sランプ27aは<AF>におけるCCD積分動作
の時間中に連続して点灯発光することとなり消費電流の
増大およびSランプ27aの発熱による効率低下が発生
することになると共に、合焦不能時にレンズの異常駆動
が連続して行なわれ、ユーザーに対して不安感を与える
ものとなる。 【0061】そこで、<AFSEQ>では、AF動作が
1回実行されてEOFAF信号がセットされたあと、A
FENA信号を判別し、同信号がアクティブであれば、
レリーズボタンの第1段目の動作が継続されていること
であり、<AFSEQ2>のルーチンが呼び出される。
AFENA信号がノンアクティブであれば、レリーズボ
タンの第1段目の動作がオフ、もしくは第2段目の動作
がオンに至ったものとしてリターンすることになる。つ
まり、いったん合焦状態になった後には、不能時処理手
段の動作をAF用CPU22によって禁止する。 【0062】なお、自動焦点調節動作の実行を指示する
信号(レリーズボタンの第1段目の動作による)が出力
された直後の測距動作において、判定手段により測距不
能と判定された場合にも、禁止手段(AF用CPU2
2)は不能処理手段の動作を禁止する。 【0063】<AFSEQ2>では、後述するように、
合焦センサ20のCCD積分、AFの演算およびレンズ
の駆動等が行なわれるが、レンズの異常駆動による積極
的合焦不能表示および測距のためのSランプ27aの点
灯も行なわれない。そして、この<AFSEQ2>の動
作の結果、AFステータスフラグの判別がなされ、同フ
ラグが0であれば合焦OKの表示が行なわれ、0でなけ
れば合焦不能の表示が行なわれる。合焦OKの表示のあ
とは、EOFAF信号が発せられてレリーズボタンの第
2段目の動作による露出シーケンスの開始が可能とな
る。このEOFAF信号が発せられたあと、あるいは合
焦不能の表示がなされたあとは、再度、AFENA信号
のテストに入るので、レリーズボタンの第1段目の動作
をオンし続ける限りは、<AFSEQ2>を中心とした
AF動作が連続して行なわれる。そして、AFENA信
号がノンアクティブになったとき、図3に示すパワーオ
ン・リセットのフローに戻る。 【0064】上記図7の<AFSEQ>のモードのフロ
ーチャートにおいて、<AFSEQ2>のサブルーチン
のプログラム動作は、図8に示すように行なわれる。 【0065】まず、<AFSEQ>モードでは1度、E
OFAF信号を“L”にしたらそれ以降の測距動作にお
いてはSランプ27aを点灯しないようにするため<A
FSEQ2>のルーチンの最初に、上記AF用CPU2
2によってSランプ27aの使用を禁止し、続いてAF
ステータスフラグをクリアする。その後、<AF>のル
ーチンでAF演算出力値(ERROR)を算出し、レン
ズ移動方向をDIRフラグにセットする。ただし、上述
したように、たとえ被写体が低輝度であってもSランプ
27aは点灯しない。 【0066】次に、<LENSRD>のルーチンで、レ
ンズデータ回路18に入っているレンズ毎のデータを読
み込み、続いて<FRRORTH>のルーチンにてAF
精度スレッショルド(ETh)を決定する。次にAF精
度スレッショルド(ETh)を2倍にする。これは<A
FSEQ>モードにおいて、すでに<AFSIN2>ル
ーチンで合焦している場合に、AF精度スレッショルド
(ETh)の2倍程度の範囲で被写体が微動しても撮影
レンズが移動してレリーズ禁止の状態にならないように
したためである。 【0067】次に、LCフラグの判定を行ない、LCフ
ラグが“H”(低コントラストによる測距不能状態)で
あればレンズを駆動することなく<CALDIST>へ
進む。LCフラグが“L”であれば、LSTOPフラグ
のチェックに進み、LSTOPフラグが“H”、つまり
レンズが無限遠側または至近側にあてついている場合に
は、あてついた方向を示すLDIRフラグと、これから
移動すべき方向を示すDIRフラグを比較し、一致して
いなければ<PULSE>のルーチンへ進む。逆に、一
致していればDIRフラグのチェックに進む。 【0068】ここで、DIRフラグが“H”であれば、
レンズの移動方向はレンズの無限遠側終端よりさらに無
限遠側を示していることになるので、この場合は合焦と
考えて<CALDIST>へ進む。 【0069】一方、DIRフラグが“L”であれば、被
写体はレンズの至近終端よりもさらに近い位置にあるこ
とになり、この場合は非合焦と考えてNフラグを“H”
にして<CALDIST>へ進む。 【0070】前に戻って、LSTOPフラグが“H”で
ない場合には、<PULSE>のルーチンにおいて、目
標移動パルス数を算出した後、上記AF演算出力値(E
RROR)と2倍された上記AF精度スレッショルド
(ETh)とを比較し、ERROR≧EThが成り立た
なければピントが合焦域にあると判断して<CALDI
ST>のルーチンを実行してリターンする。ERROR
≧EThがなり立てば、EOFAF信号を“H”にし
て、メインCPU14に対してピントが合焦域から外れ
ていることを知らせる。 【0071】次に、合焦OK表示LED24aと合焦不
能表示LED24bをオフ状態とし、レンズの移動方向
を示すDIRフラグの内容を、前回移動方向で示すLD
IRフラグに転送する。続いて<MDRIVAF>のル
ーチンを呼び出し、<PULSE>のルーチンで計算し
たパルス数分だけDIRフラグで示される方向にレンズ
を移動させる。<MDRIVAF>のルーチンからリタ
ーンしたら、まずAFENA信号をチェックし、“H”
であれば「1」に戻って同じことを繰り返す。“H”で
なければ<CALDIST>を実行してリターンする。 【0072】次に、絶対距離の算出方法について説明す
る。絶対距離カウンタには、レンズの無限遠(∞)位置
からの移動量に相当するパルス(アドレス信号)数がセ
ットされるので、レンズ移動量を一次関数として近似で
きれば、計算によって絶対距離を得られる。ここで、レ
ンズ移動量(絶対距離カウンタ)をY、絶対距離をXと
すると、両者の関係は、次の(1)式のように近似でき
る。 【0073】Y=b/(X−a) … (1) ここで、a,bはレンズ固有の絶対距離係数である。従
って、各レンズに対してa,bを決定し、上記レンズデ
ータ回路18の情報として記憶しておけば、レンズ移動
量より絶対距離を求めることができる。 【0074】上述の一実施の形態においては、レンズデ
ータ回路18より焦点距離情報を読み取り、AF用CP
U22の内部ROMに記憶した変換テーブルよりパンフ
ォーカス位置を求めているが、その他には、パンフォー
カス位置を焦点距離の関数として算出する方法や、レン
ズデータ回路18内にあらかじめパンフォーカス位置情
報を記憶させておく方法等を用いても効果は同様であ
る。 【0075】また、パンフォーカス位置において疑似合
焦としてレリーズ可能とする場合に、露出絞りをできる
だけ絞った方がピントの合う範囲は広くなるので、パン
フォーカス位置での疑似合焦時においてのみ、シャッタ
速度を手ブレが発生しない程度に遅くして、絞りをでき
るだけ絞り込むように制御する方法も可能である。 【0076】 【発明の効果】 以上述べたように本発明によれば、測
距動作とこの測距結果に基づく撮影光学系の駆動とを繰
り返し実行する自動焦点調節装置において、最初の合焦
状態判定がなされた後に測距不能であると判定されて
も、不能時処理手段の動作を実行しないようにしたの
で、測距動作とこの測距動作による測距結果に基づく撮
影光学系の駆動動作とを繰り返し実行されることによる
煩わしさを撮影者に感じさせることがない。また、被写
体が低輝度時に測距動作と撮影光学系の駆動動作とを繰
り返し実行されることによる電源電池の消耗を防止する
ことができる。
DETAILED DESCRIPTION OF THE INVENTION [0001] BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic focusing device.
Signal to instruct the execution of the auto focus operation
While the output is being performed, the distance measurement operation and shooting based on the
Automatic focus adjustment device that repeatedly executes the driving of the shadow optical system
It is about. [0002] 2. Description of the Related Art Conventionally, a photographing apparatus for photographing and the like.
Etc. (hereinafter referred to as a camera)
Measurement including a distance information output device to obtain absolute distance information
It is equipped with distance means, and the absolute distance information
Auto focus (auto focus; hereinafter referred to as AF
U. ) Equipped with an automatic focusing device that performs the operation
So-called AF cameras and the like are generally put into practical use.
You. [0003] Photographing with such an AF camera or the like
The subject in the shooting environment has low brightness
Degrees or the subject has low contrast, etc.
In addition, the distance measuring operation by the distance measuring means becomes impossible.
There are cases. Therefore, when the distance measurement by the distance measuring means is impossible,
Forcibly focus the shooting optical system including the shooting lens
It has a driving means for moving to the position
While moving the object and the shooting optical system including the shooting lens
We will provide a means to search for a focus detectable position
Various proposals have been made, such as
Has been used. [0005] By the way, the automatic focusing of the AF camera or the like is performed.
In the joint device, once the focusing operation is performed,
After focusing, the driving of the shooting optical system is prohibited
A mode for maintaining the focus state (hereinafter, one-shot AF mode)
It is called. ), Distance measurement operation and shooting based on the result of the distance measurement
A mode that continuously repeats the driving of the imaging optical system including the lens.
(Hereinafter referred to as continuous AF mode)
U. ) Can be switched selectively.
Are more commonly used than ever before. [0006] SUMMARY OF THE INVENTION
Select between AF mode and Continuous AF mode.
In automatic focus adjustment device that can be switched selectively
When continuous AF mode is selected
In addition, since the subject in the shooting environment has low brightness,
Despite the inability to perform distance measurement with the distance means,
Based on the operation described above, that is, based on the distance measurement operation and the result of the distance measurement,
When the operation of repeatedly driving the photographic optical system is performed
Is very troublesome for photographers (camera users, etc.)
The distance measurement operation at low brightness, that is, the auxiliary light
Of auxiliary illumination light by means and driving of photographing optical system
When such operations are repeated, the power battery
Is wasted. An object of the present invention is to solve the above-mentioned conventional problems.
When the focusing operation is performed in the automatic focusing device
In addition, there is no need to use
Automatic operation prohibits operation and prevents power battery drain.
To provide a focusing device. [0008] An automatic focus according to the present invention
The adjustment device performs the automatic focus adjustment operationOutputting instruction signal
To, Ranging operationBy this distance measurement operationShooting based on distance measurement results
Automatic focus adjustment device that repeatedly executes the driving of the shadow optical system
AtWhether the in-focus state of the subject has been obtained
Focus determining means for determining,Whether the subject cannot measure distance
JudgeDistance measurement impossibleDetermining means;Distance measurement impossibleJudge
If it is determined that the distance cannot be measured by the step,
Predetermined optical system different from optical system driving operation based on distance result
Disable processing means for performing a driving operation;Comprising the above
After the first focus state determination is made by the focus determination means
Is determined that the distance measurement is impossible by the distance measurement impossible determination means.
Even if it is set, the operation of the above-mentioned impossible processing means is not executed.
LikeIt is characterized by having done. [0009] [0010] [0011] [Action]During execution of auto focus adjustment execution instruction signal
Then, after the focus determination means determines the initial focus state,
If the distance impossible determination means determines that distance measurement is impossible,
Control is performed so that the operation of the no-time processing means is not executed. [0012] [0013] [0014] BRIEF DESCRIPTION OF THE DRAWINGS FIG.
The present invention will be described. FIG. 1 shows an embodiment of the present invention.
In a camera system to which a dynamic focus adjustment device is applied,
FIG. 3 is an overall block diagram when mainly viewed from power supply.
You. In this embodiment, for example, a lens
An example in which it is applied to an interchangeable AF camera, etc.
I do. As shown in FIG. 1, the voltage V
cc is a DC / DC converter when the power switch 12 is closed.
The voltage is increased by the data 13 and the lines l (ell) 0, l (d)
(1) The voltage between 1 is constant at the voltage VDD. Line l
The main CPU 14 and the bipolar II circuit (D
Driver) 15, bipolar I circuit (photometry) 16, stroboscope
Control circuit 17, lens data circuit 18, data back
The circuit 19 is connected to the power supply of the bipolar II circuit 15.
The power supply control is performed by the power control circuit of the main CPU 14.
Signal from the road, and the bipolar I circuit 16 to
Power supply control of the data back circuit 19 is bipolar II
Done by the power control signal from road 15.
You. A focus sensor 20, an A / D converter 21,
The AF block composed of the AF CPU 22 is a power control
It is connected between the lines l0 and l1 via the transistor 23.
Power supply control for this AF block
Signal from the AF power control circuit of the CPU 14
ON / OFF of the transistor 23 by the signal
(OFF) control. The AF CPU 22 executes an AF algorithm
This is a circuit for performing calculations.
Is also a determining means for determining whether or not
Therefore, if it is determined that ranging is impossible,
A predetermined lens different from the lens (optical system) driving operation based on
Disable processing means for executing the close drive operation.
The operation of the impossible processing means even after the camera is in focus
It is also a prohibition means to prohibit. And this CP for AF
U22 includes an AF display circuit for displaying in-focus and out-of-focus
24 are connected. The main CPU 14 winds, rewinds, and exposes
Controls the sequence of the entire camera, such as the sequence
Display for displaying other than the above focus display
The circuit 25 is connected. Bipolar II circuit 15 is for winding and rewinding
Cameras such as motor control, lens drive and shutter control
Circuit that includes various drivers necessary for the
Motor drive circuit 26 and AF auxiliary light circuit 27 are connected
Have been. In the AF auxiliary light circuit 27, the subject has low brightness.
The subject is synchronized with the distance measurement operation.
Auxiliary light means for projecting bright light. Bipolar I circuit 1
Reference numeral 6 denotes a circuit which mainly performs photometry.
Eight. The flash control circuit 17 is built-in or external.
To control the light emission of the attached strobe 29
belongs to. The lens data circuit 18 is provided for each interchangeable lens.
Required for AF, metering, and other camera controls.
This is a circuit that stores unique lens data. This lens
Of the lens data stored in the data circuit 18,
Necessary data include the lens magnification factor (zoom factor).
Number), macro identification signal, absolute distance coefficients a and b, AF accuracy
Threshold ETh, lens movement direction, open F-number, etc.
is there. In the bipolar II circuit 15, the power supply voltage V
The status of DD is monitored and the power supply voltage is lower than the specified voltage.
System reset signal to the main CPU 14 when
Of the bipolar II circuit 15 to the data back circuit 19
Power supply, focus sensor 20, A / D converter
21 and an AF block composed of an AF CPU 22.
We are trying to cut off the power supply. Power to main CPU 14
The power supply is performed even at a specified voltage or less. FIG. 2 shows a signal centered on the AF block.
FIG. 3 is a system diagram showing transfer of a signal, and shows an AF CPU 22 and a main unit.
CPU 14 is a serial communication line
Data transfer, and the communication direction is serial control.
Controlled by the rule line. This communication
The contents of the line are unique in the lens data circuit 18.
Lens data and absolute distance information. Also the main
The CPU 14 sends the camera mode (W) to the AF CPU 22.
One-shot AF mode / Continuous AF mode /
Other information in each mode)
Loaded. Further, the main CPU 14 sends an AF CP
The AFENA (AF enable) signal to U22 is
This signal controls start and stop.
EOF from the AF CPU 22 to the main CPU 14
The AF (end of AF) signal is issued at the end of the AF operation.
Is a signal for permitting the shift to the exposure sequence. The bipolar II circuit 15 has an AF CP
The signal of the AF motor control line from U22 is
Code and drive the AF motor drive circuit 26. A
The AF motor (lens) is output by the output of the F motor drive circuit 26.
When the drive motor 31 rotates, the rotating member of the lens barrel is rotated.
The slits 32 provided at equal intervals rotate, and
The light emitting portion 33a and the light receiving portion 33b are
The photo-interrupter 33, which is arranged oppositely, has a slit
Count 32. That is, the slit 32 and the photo-in
The taper 33 constitutes an address generator 34,
The address signal (slot) generated from the address generation unit 34
The waveform of the count signal of the unit 32) is shaped and the AF CP
It is taken in by U22. From the AF CPU 22 to the bipolar II circuit 1
5 (hereinafter abbreviated as S lamp)
You. ) The signal controls the AF auxiliary light circuit 27
In the signal, when the subject is low light (low brightness) LL, the S
The lamp 27a is turned on. The AF display times connected to the AF CPU 22
The road 24 is a focus OK display LED (light emitting
Diode) 24a and non-focusable that lights up when focus is not possible
It has a display LED 24b. The AF C
The PU 22 has a clock oscillator 35 and a reset capacitor.
The sensor 36 is connected. The AF CPU 22 and the A / D converter
The barter 21 transmits and receives data via a bus line.
The transmission direction is controlled by the bus line control signal
Is done. Then, an A / D converter is sent from the AF CPU 22.
Sensor switching signal and system clock signal
It is supposed to be. And the A / D converter 21
Is, for example, a focus sensor 20 composed of a CCD,
Sends drive clock signal and CCD control signal, and focus sensor
20 is read out from the CCD output, and the read out analog is read out.
The CPU output of the AF 22
Send to Next, a distance information output device according to the present invention is provided.
The camera centered on the AF block shown in FIG.
Flowchart of program operation of microcomputer
Will be described below. The AF block, as shown in FIG.
Operate AF power control circuit of CPU14
The transistor 23 is turned on.
The power supply voltage VDD is supplied.
The execution of the power-on reset routine shown in
It is. As shown in FIG. 3, the power-on reset
When the reset routine is started, first, the <I / O initializer
Rise> subroutine of the AF block drive circuit
Initialization is performed. Specifically, the AF display circuit
24, AF motor drive circuit 26 and AF auxiliary light circuit 2
7 and the serial communication with the main CPU 14.
Initialization of the communication line is performed. Next, a lens reset operation is performed. Len
The lens reset forces the lens to infinity (∞).
To the relative distance signal, ie,
Infinity distance output signal output from focus sensor 20
(∞) Absolute distance by replacing the number of pulse movements from the position
Initialization operation to convert to a signal
That is, the clear operation of the absolute distance counter. Following the lens reset operation, the low light
Lag (hereinafter abbreviated as LL flag) is “L”, LS
The TOP flag and the LDIR flag are set to “H”. L
The STOP flag indicates that the distance ring of the lens is on the infinity side.
"H" when touched, "L" when approached
Become. The LDIR flag is used to set the movement direction of the lens.
This flag is set to “H” for infinity,
Are “L”. Then, the AF CPU 22 executes the AF display
Focusing OK display LED 24a for road 24 and inability to focus indication LE
D24b is turned off, and the EOFAF signal
“H” is transmitted to the main CPU 14. Next, the AF CPU 22 is a main CPU.
Wait for the AFENA signal from 14 to go to "H". Me
The CPU 14 monitors the shooting mode set by the user.
After output to the load line, the user presses the release button.
Wait for the first stage to operate. AFENA signal
When the state changes from “L” to “H”, the AF CPU 22 immediately
Go to read the state of the mode line. State of this mode
<AF single (hereinafter AFSIN)>, <A
F sequence (hereinafter, AFSEQ)>
Select and execute a routine. The operation in the <AFSIN> mode is as follows.
One-shot AF operation, AF operation on the subject
The focus is locked later. Also, <AFS
The EQ> mode is a continuous AF operation.
In the mode, the first step of the release button continues to operate
The AF operation is performed continuously as long as possible. Next, the operation of each lens drive mode
This will be described with reference to the flowcharts of FIGS. First, referring to the flowchart shown in FIG.
If the <AFSIN> mode is selected,
The <AFSIN> routine shown in FIG.
FSIN2> is called. However,
The second stage operation of the release button is accepted
Indicates that the AF operation is completed and the
It is when the service starts. In <AFSIN2>, as described later,
Computation of CCD integration, distance measurement output and focusing of focus sensor 20
The driving of the lens is performed. And the main CPU 14
The AFENA signal from is monitored and the AFENA signal is
Wait until the “H” level (active) is reached,
The status flag is monitored, and <AFSIN2>
Of in-focus and out-of-focus as a result of the AF operation of
You. On the other hand, the AFENA from the main CPU 14
When the signal is at “L” level (inactive),
AFENA of the power-on reset flow shown in FIG.
Return to signal test. <AFSIN2> is a result of the AF operation.
As described above, the indication of in-focus and out-of-focus is <AFSIN
After the operation of 2>, the AF status flag is monitored and
However, here, the AF status flag is
Lag (when the subject has low brightness (low contrast)
Flag set to "1", hereinafter abbreviated as LC flag
I do. ), Move flag (when the subject is moving
Flag set to "1", hereinafter abbreviated as M flag
You. ) And closest flag (lens more than closest distance)
A flag that is set to "1" when trying to advance,
Hereinafter, it is abbreviated as N flag. ), Over flag (for example
If the lens is not focused even after driving the lens eight times, it is set to “1”
The flag to be set, hereafter abbreviated as OV flag. )
And any of these flags is 0
When focusing is possible, any of the above flags
If a lag occurs, it is impossible to focus, so the AF status flag
If the AF status flag is 0 as a result of monitoring
The indication of in-focus OK is indicated by the LED 24a of the AF display circuit 24.
AF status flag must be 0
If the focus cannot be displayed, the LED 24b indicates
You. That is, if in-focus, the EOFAF signal
(“L”) is issued, the AF operation ends, and the main CP
The operation of the second step of the release button, that is, the exposure
It is in a state of waiting for the start of the sequence. In other words, once
When the focusing is completed, the AFENA signal becomes “H” level (active).
), The subsequent lens movement is prohibited.
The LED 24a of the focus OK display remains lit,
The focus is locked. From the main CPU 14
The AFENA signal becomes “L” level (inactive).
The power-on reset flow shown in FIG.
Returns to the test of the AFENA signal. During the operation of the <AFSIN> mode, <A
The program operation of the subroutine FSIN2> is shown in FIG.
This is performed as shown in FIG. First, it is used as a flag for controlling the AF operation.
Clear the LL flag, and then count the number of AF operations.
Clear the counter AFCNT to be reset. Next, 1 is added to AFCNT, and the first time
The AF operation starts. First, all AF stators
Clear the slag and autofocus for ranging <
AF> routine is called. This <AF> routine
Within, the distance to the subject is detected and the AF calculation output value
Calculate (ERROR) and move lens
Set the direction to the DIR flag (for infinity direction
"H", and "L" for the closest direction). However, the subject
If the body is low brightness, set the LL flag to “H”
In both cases, the distance is measured while turning on the S lamp 27a. Also,
Set LC flag to “H” if subject is low contrast
I do. Subsequently, the lens lead <LENSRD>
Calls a routine and enters the lens data circuit 18
Read the data for each lens. Loaded lens
Of the data, the lens's open F number (No.)
<ERROR> subroutine using the information
Then, the AF accuracy threshold (ETh) is determined.
Thereafter, the LC flag is determined. The subject is low
If not last, LC flag remains cleared
Therefore, if the LC flag is “L”, the pulse <PU
Call the LSE> routine to calculate the lens drive amount
I do. That is, in the <PULSE> routine,
The AF (ranging) calculation output value obtained by the <AF> operation is
In order to convert the distance movement amount for each interchangeable lens,
The information such as the scaling factor is read from the
The focal length is determined by the obtained zoom factor and AF calculation output value.
The number of pulses (address signals) corresponding to the movement amount is calculated.
You. Thereafter, the AF calculation output value (ERROR
R) and the above AF accuracy threshold (ETh)
The AF calculation output value (ERROR) is
If it is less than the threshold (ETh), it is determined to be in focus and <CA
LDIST>. Otherwise, AFCNT
Proceed to check. If the value of AFCNT is 8, already 8
This indicates that the AF operation has been performed twice.
Considering that focusing is impossible even if AF operation is continued,
Set to "H" and proceed to <CALDIST>. If the value of AFCNT is not 8, then 1
Check if there is. If 1, LSTOP
Proceed to lag check. LSTOP flag is “H”
If the lens is already at the end,
LDIR flag indicating the direction you got, and move from now
Compare the DIR flag indicating the direction to be
If so, proceed to check the DIR flag. here
If the DIR flag is "H", the moving direction of the lens
Indicates the infinity side of the lens at the infinity end.
Therefore, in this case, it is considered that the lens is focused and <CALDI
ST>. On the other hand, if the DIR flag is "L",
The object must be closer than the nearest end of the lens.
In this case, it is considered out of focus and the N flag is set to “H”.
Then, proceed to <CALDIST>. If they do not match, LSTOP
The flag is cleared, and then the AF calculation output value (ERROR
R) is the previous ERROR storage register (LERROR)
DIR flag to indicate the direction of movement
To the LDIR flag that indicates the end-addressing direction of. Returning to the previous step, when the LSTOP flag is "H"
If not, proceed to LERROR and LDIR flag setting
No. Subsequently, the <MDRIVAF> routine is called,
D for the number of pulses calculated in the <PULSE> routine
The lens is moved in the direction indicated by the IR flag. Also
If the lens touches the end of the lens while
Power supply to the laser drive motor 31 is stopped, and the LSTOP
To "H" and return. Also, <MDRIVA
During the execution of the routine of F>, the AFENA signal is checked at any time.
Click. Therefore, if the user releases the lens while driving the lens,
When the operation of the first stage of the close button is stopped
The main CPU 14 changes the AFENA signal from “H”
Since it is changed to “L”, the AF CPU 22
As soon as the "L" of the A signal is detected, the lens drive is stopped.
To return. Return from the routine <MDRIVAF>
After checking the AFENA signal,
If the ENA signal is "L", proceed to <CALDIST>
No. If it is “H”, the process proceeds to “1” and the second AF operation is performed.
start. The second and subsequent AF operations are the same as the first AF operation.
However, when judging whether AFCNT is 1 or not, A
Since FCNT ≠ 1, AF calculation output value (ERROR)
Is not less than 4 times the AF accuracy threshold (ETh)
Check if. If less than 4 times, the first time
Proceed to check the LSTOP flag. 4 times or more
Next, the current AF calculation output value (ERROR)
Is compared with the AF calculation output value (LERROR) of the
If OR ≧ LERROR, LSTOP of the same as the first time
Proceed to check. If ERROR ≧ LERROR
Then, the M flag is set to “H” and <CALDIST>
Proceed to. This is more than four times the AF accuracy threshold
AF calculation output value in the large range of the defocus amount
Being larger than the number of times means that the subject
Because it is moving, even if the AF operation is continued further
This is because it was determined to be useless. Next, since the object has a low contrast,
In the AF> routine, the LC flag is set to “H”.
The following describes the case in which it is performed. <LENSRD>, <ER
RORTH> routine is executed in the same manner, but the LC flag
If the LC flag is "H" in the determination of <
OCUS> is called. <PANFOCUS
The routine of <> changes the taking lens to the focal length of the taking lens.
Subroutine for moving to the normal focus position determined
This will be described with reference to FIG. First, in the <LENSRD> routine, the lens
Focal length of the photographic lens read from the zoom data circuit 18
From information, the constant focus position or pin at that focal length
Position where the matching range is the widest (hereinafter these positions
Is called a pan focus position. ) Of the AF CPU 22
Determined from the conversion table in the internal ROM. Where, for example,
If the pan focus position is Xm, then shoot
When the lens is moved to the position of Xm, the absolute distance
Calculate the number of counters. Subsequently, the position at which the photographing lens is currently stopped
And the pan focus position
The value of the absolute distance counter at
Calculate the number of dynamic pulses. Next, the moving direction of the lens is set, and <M
DRIVAF> is called and the shooting lens is
Move to pan focus position and return. Returning to FIG. 5, the <PANFOCUS> rule
After returning from the routine, clear the AF status flag.
A and proceed to <CALDIST>. This is Panforca
This is because the focusing is performed at the pseudo position. Therefore, <C
ALTIST> routine is terminated, and <AFSIN>
When returning to the routine, an in-focus display is displayed. Here, the routine of <CALDIST> is
The distance to the subject is determined by the value of the absolute distance
Determined from the absolute distance coefficients a and b in the road 18, the main CPU
14 is a subroutine to be sent. The <AFSIN2> routine ends here.
Then, the process returns to the <AFSIN> routine. Next, referring to the flowchart shown in FIG.
And if the <AFSEQ> mode is selected,
The <AFSEQ> routine shown in FIG. 7 is called.
In this <AFSEQ>, the first stage of the release button
When the operation is performed, the EOFAF signal is thereafter activated.
The first AF operation until the active state
The same operation as in the case of SIN> is performed. That is, <
AFSIN> and <AFSEQ> are both <AFSIN2>
When the lens is in focus and it is impossible to focus,
Drive and inform the user. By the way, in <AFSIN2>,
As described above, at low light (low brightness), the S lamp 27 is used.
Using a to assist distance measurement for AF operation
But the AF operation is continued in the <AFSEQ> mode.
Also use the S lamp 27a
Lamp 27a is a CCD integration operation in <AF>
It emits light continuously during the time of
Increase and decrease in efficiency due to heat generation of S lamp 27a
And abnormal driving of the lens when focusing is impossible
Is performed continuously, giving anxiety to the user
It will be. Therefore, in the <AFSEQ>, the AF operation
After executing once and setting the EOFAF signal, A
Determine the FENA signal, and if the signal is active,
The first-step operation of the release button is continued
And the <AFSEQ2> routine is called.
If the AFENA signal is non-active, the release button
The first stage operation of the button is off, or the second stage operation
Will return as if it was turned on. One
In other words, once the camera is in focus,
The step operation is prohibited by the AF CPU 22. It is to be noted that execution of the automatic focus adjustment operation is instructed.
Outputs a signal (due to the operation of the first step of the release button)
In the distance measuring operation immediately after the measurement, the distance
If it is determined that the function is disabled, the prohibition means (the AF CPU 2
2) prohibits the operation of the disable processing means. In <AFSEQ2>, as described later,
CCD integration of focus sensor 20, AF calculation and lens
Drive, etc., but aggressive due to abnormal drive of the lens
Point of S lamp 27a for in-focus inability display and distance measurement
There is no lighting. Then, the operation of <AFSEQ2>
As a result of the operation, the AF status flag is determined.
If the lag is 0, the display shows that the focus is OK.
Then, an indication that focusing is impossible is performed. In-focus OK display
Means that the EOFAF signal is emitted and the release button
Exposure sequence can be started by second stage operation
You. After this EOFAF signal is issued, or
After the indication of impossibility is made, the AFENA signal is
The first step of the release button
As long as you keep turning on, focus on <AFSEQ2>
The AF operation is performed continuously. And the AFENA signal
When the signal becomes inactive, the power
Return to reset flow. The flow of the <AFSEQ> mode shown in FIG.
In the chart, <AFSEQ2> subroutine
Is performed as shown in FIG. First, once in the <AFSEQ> mode, E
When the OFAF signal is set to “L”,
To prevent the S lamp 27a from being turned on.
At the beginning of the FSEQ2> routine, the AF CPU 2
2, the use of the S lamp 27a is prohibited,
Clear the status flag. Then, the <AF>
The AF calculation output value (ERROR) is calculated by the
Is set in the DIR flag. However,
As described above, even if the subject has low brightness, the S lamp
27a does not light. Next, in the routine <LENSRD>,
The data for each lens in the lens data circuit 18.
And then AF in <FRRORTH> routine
Determine the accuracy threshold (ETh). Next, AF
Doubles the threshold (ETh). This is <A
FSEQ> modehand,<AFSIN2> already
In focusIn case,AF accuracy threshold
The subject moves slightly within the range of about twice (ETh)Evenphotograph
Make sure that the lens does not move and release is prohibited
Because he did. Next, the LC flag is determined, and the LC flag is determined.
If the lag is "H" (distance measurement impossible due to low contrast)
If not, go to <CALDIST> without driving the lens
move on. If the LC flag is "L", the LSTOP flag
And the LSTOP flag is "H", that is,
When the lens is on the infinity or near side
Is an LDIR flag indicating the assigned direction, and
Compare DIR flags indicating the direction to move,
If not, the process proceeds to the <PULSE> routine. Conversely, one
If so, proceed to check the DIR flag. Here, if the DIR flag is "H",
The direction of movement of the lens is even less than the infinity end of the lens.
Since this indicates the telephoto side, in this case,
Think and proceed to <CALDIST>. On the other hand, if the DIR flag is "L",
The object must be closer than the nearest end of the lens.
In this case, the N flag is set to "H"
And proceed to <CALDIST>. Returning to the previous state, when the LSTOP flag is "H"
If there is not, in the <PULSE> routine,
After calculating the number of target movement pulses, the AF calculation output value (E
RROR) and the AF accuracy threshold doubled
(ETh), ERROR ≧ ETh holds
If not, it is determined that the focus is in the in-focus area and <CALDI
ST>, and returns. ERROR
If ≧ ETh, set the EOFAF signal to “H”.
Out of focus with respect to the main CPU 14
Let them know Next, the in-focus OK indication LED 24a and the in-focus
The function display LED 24b is turned off, and the lens is moved in the moving direction.
DIR flag indicating the previous moving direction
Transfer to IR flag. Next, the <MDRIVAF>
And calculate with the <PULSE> routine
Lens in the direction indicated by the DIR flag
To move. From the <MDRIVAF> routine,
First, check the AFENA signal and set it to “H”.
If so, return to "1" and repeat the same. "H"
If not, execute <CALDIST> and return. Next, a method of calculating the absolute distance will be described.
You. The absolute distance counter contains the infinity (∞) position of the lens.
The number of pulses (address signals) corresponding to the amount of movement from
So the lens movement can be approximated as a linear function.
If you can, you can get the absolute distance by calculation. Where
Lens movement amount (absolute distance counter) as Y and absolute distance as X
Then, the relationship between the two can be approximated as in the following equation (1).
You. Y = b / (X−a) (1) Here, a and b are absolute distance coefficients unique to the lens. Obedience
Thus, a and b are determined for each lens, and the lens
If it is stored as information of the data circuit 18, the lens movement
The absolute distance can be determined from the quantity. In the above-described embodiment, the lens
The focal length information is read from the data circuit 18 and the AF CP
From the conversion table stored in the internal ROM of U22,
Focus position.
A method of calculating the position of the scum as a function of the focal length,
The pan focus position information is stored in advance in the focus data circuit 18.
The effect is the same even if the method of storing information is used.
You. Further, when the pseudo focus is set at the pan focus position,
Exposure aperture can be set when release is possible as a focus
If you only squeeze it, the range of focus will be wider, so pan
Only during pseudo-focusing at the focus position, the shutter
Slow down the speed so that camera shake does not occur.
A method of controlling so as to narrow down as much as possible is also possible. [0076] As described above, according to the present invention, the measurement
Distance movement andthisDriving the photographing optical system based on the distance measurement result
Run backFirst focus in auto focus
After the state is determined, it is determined that distance measurement is impossible.
Not to execute the operation of the impossible processing means
The distance measurement operation and shooting based on the result of the distance measurement by this distance measurement operation.
The driving operation of the shadow optical system is repeatedly executed.
The photographer does not feel troublesome. Also, subject
When the body is in low brightness, the ranging operation and the driving operation of the imaging optical system are repeated.
Prevents power battery drain due to repeated execution
be able to.

【図面の簡単な説明】 【図1】本発明の一実施の形態の自動焦点調節装置が適
用されるレンズ交換式AFカメラの電源供給を主体とす
る電気回路のブロック図。 【図2】上記図1のカメラにおいて、AFブロックを中
心とした信号の授受を示すブロック系統図。 【図3】上記図2のAF用CPUを中心としたプログラ
ム動作を示すフローチャートであって、パワーオン・リ
セットのルーチンを示す図。 【図4】上記図3中のシングルAFモード<AFIN>
の動作を示すフローチャート。 【図5】上記図3中のシングルAFモードの動作を示す
フローチャートであって、<AFSIN2>のサブルー
チンを示すフローチャート。 【図6】上記図3中のシングルAFモードの動作を示す
フローチャートであって、<PANFOCUS>のサブ
ルーチンを示すフローチャート。 【図7】上記図3中のコンティニュアスAFモード<A
FSEQ>の動作を示すフローチャート 【図8】上記図3中のコンティニュアスAFモードの動
作を示すフローチャートであって、<AFSEQ2>の
サブルーチンを示すフローチャート。 【符号の説明】 14……メインCPU 15……バイポーラII回路(ドライバ) 16……バイポーラI回路(測光) 17……ストロボ制御回路 18……レンズデータ回路 20……合焦センサ 22……AF用CPU(判定手段、不能時処理手段、禁
止手段) 24……AF表示回路 27……AF補助光回路(補助光手段) 28……AFモータ駆動回路
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of an electric circuit mainly for power supply of an interchangeable lens AF camera to which an automatic focusing apparatus according to an embodiment of the present invention is applied. FIG. 2 is a block diagram showing transmission and reception of signals centering on an AF block in the camera of FIG. 1; FIG. 3 is a flowchart showing a program operation centering on the AF CPU shown in FIG. 2 and showing a power-on / reset routine; FIG. 4 is a single AF mode <AFIN> in FIG. 3;
5 is a flowchart showing the operation of the embodiment. FIG. 5 is a flowchart showing an operation in the single AF mode in FIG. 3, showing a subroutine of <AFSIN2>; FIG. 6 is a flowchart showing the operation of the single AF mode in FIG. 3, showing a subroutine <PANFOCUS>; FIG. 7 shows a continuous AF mode <A in FIG.
FIG. 8 is a flowchart showing the operation of the continuous AF mode in FIG. 3 and shows a subroutine of <AFSEQ2>. [Description of Signs] 14 Main CPU 15 Bipolar II circuit (driver) 16 Bipolar I circuit (photometry) 17 Flash control circuit 18 Lens data circuit 20 Focus sensor 22 AF CPU (judgment means, disable processing means, prohibition means) 24 AF display circuit 27 AF auxiliary light circuit (auxiliary light means) 28 AF motor drive circuit

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G02B 7/28 - 7/40 G03B 3/10 Continuation of the front page (58) Field surveyed (Int.Cl. 6 , DB name) G02B 7/28-7/40 G03B 3/10

Claims (1)

(57)【特許請求の範囲】 1.自動焦点調節動作の実行指示信号の出力中に、測距
動作とこの測距動作による測距結果に基づく撮影光学系
の駆動とを繰り返し実行する自動焦点調節装置におい
て、被写体に対する合焦状態が得られたか否かを判定する合
焦判定手段と、 被写体が測距不能であるか否かを判定する測距不能判定
手段と、 上記測距不能判定手段によって測距不能であると判定さ
れた場合に、上記測距結果に基づく光学系駆動動作とは
異なる所定の光学系駆動動作を実行する不能時処理手段
と、を具備し、 上記合焦判定手段によって最初の合焦状態判定がなされ
た後は、上記測距不能判定手段によって測距不能である
と判定された場合でも上記不能時処理手段の動作を実行
しないように したことを特徴とする自動焦点調節装
置。」
(57) [Claims] In the automatic focus adjustment device that repeatedly executes the distance measurement operation and the driving of the photographing optical system based on the result of the distance measurement by the distance measurement operation while outputting the instruction signal for executing the automatic focus adjustment operation, the in- focus state of the subject is obtained. To determine whether or not
Focus determination means, distance measurement impossible determination means for determining whether or not the subject is incapable of distance measurement, and based on the distance measurement result when the distance measurement impossible determination means determines that the distance measurement is impossible. anda non time processing means for performing a different predetermined optical system driving operation from the optical system driving operation, the state determination first focus is made by the focus determination unit
After the measurement, the distance cannot be measured by the distance measurement impossible determination means.
Even if it is determined, the operation of the above impossible processing means is executed.
An automatic focus adjustment device characterized in that the focus adjustment is not performed . "
JP7227873A 1995-09-05 1995-09-05 Automatic focusing device Expired - Lifetime JP2954861B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7227873A JP2954861B2 (en) 1995-09-05 1995-09-05 Automatic focusing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7227873A JP2954861B2 (en) 1995-09-05 1995-09-05 Automatic focusing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP61154622A Division JP2690728B2 (en) 1985-12-05 1986-07-01 Auto focus camera

Publications (2)

Publication Number Publication Date
JPH0843722A JPH0843722A (en) 1996-02-16
JP2954861B2 true JP2954861B2 (en) 1999-09-27

Family

ID=16867691

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7227873A Expired - Lifetime JP2954861B2 (en) 1995-09-05 1995-09-05 Automatic focusing device

Country Status (1)

Country Link
JP (1) JP2954861B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59136721A (en) * 1983-01-26 1984-08-06 Canon Inc Focus adjusting device
JPH087328B2 (en) * 1986-06-09 1996-01-29 ミノルタ株式会社 Focus detection device with auxiliary lighting device

Also Published As

Publication number Publication date
JPH0843722A (en) 1996-02-16

Similar Documents

Publication Publication Date Title
US4873543A (en) Automatic focusing camera
US5305049A (en) Camera having in-exposure zooming mechanism
JP2690728B2 (en) Auto focus camera
JPS6310136A (en) Distance information output device foe lens interchangeable type camera
JP2954861B2 (en) Automatic focusing device
JP2713870B2 (en) Automatic focusing device
JPH0854558A (en) Automatic focusing camera
JP3139067B2 (en) Auto focus camera
JPH08166615A (en) Camera provided with camera shake correcting function
US4816858A (en) Automatic focusing cameras
JPS62157016A (en) Auto-focus camera
JP2644252B2 (en) Auto focus camera
JP2634808B2 (en) Camera focusing information output device
US5059999A (en) Autofocus apparatus for a camera
JPS62136626A (en) Lens driving device for automatic focusing camera
JPH10186443A (en) Camera
JPH0810294B2 (en) Focus detection device
JPS63311237A (en) Autofocusing camera
JPH01510A (en) autofocus camera
JPH0882838A (en) Zooming camera
JP3352143B2 (en) Auto focus camera
JP2749286B2 (en) Auto focus camera
JPH02240642A (en) Camera lens system
JPH0823619B2 (en) Autofocus camera
JPS63286831A (en) Autofocusing camera

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990119

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990706

EXPY Cancellation because of completion of term