JPH0693058B2 - Automatic focus adjustment device - Google Patents

Automatic focus adjustment device

Info

Publication number
JPH0693058B2
JPH0693058B2 JP8874190A JP8874190A JPH0693058B2 JP H0693058 B2 JPH0693058 B2 JP H0693058B2 JP 8874190 A JP8874190 A JP 8874190A JP 8874190 A JP8874190 A JP 8874190A JP H0693058 B2 JPH0693058 B2 JP H0693058B2
Authority
JP
Japan
Prior art keywords
lens
output
data
focus
circuit
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
JP8874190A
Other languages
Japanese (ja)
Other versions
JPH03109532A (en
Inventor
典夫 石川
猛 江川
邦夫 河村
信行 谷口
保明 赤田
Original Assignee
ミノルタ株式会社
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 ミノルタ株式会社 filed Critical ミノルタ株式会社
Priority to JP8874190A priority Critical patent/JPH0693058B2/en
Publication of JPH03109532A publication Critical patent/JPH03109532A/en
Publication of JPH0693058B2 publication Critical patent/JPH0693058B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

技術分野 本発明は、合焦対象被写体の結像位置の予定焦点位置に
対するずれ量を検出し、その検出結果に基づいて撮影レ
ンズのフォーカス用レンズを予定焦点位置(以下、合焦
位置と称する)に向けて駆動する自動焦点調節装置に関
する。 従来技術 このような自動焦点検出装置として、一対のアレイ状受
光素子群を合焦位置と光学的に等価な位置に、焦点検出
用受光部として設け、受光素子群全体の受光出力の相関
関係により前記ずれ量を求めるようにした装置が米国特
許第4333007号あるいは特開昭57−45510号に提案されて
いる。この装置では、結像位置が合焦位置から大きく外
れたり、合焦対象被写体のコントラストか低かったりし
た場合、各受光素子間の受光出力のコントラストが低く
なる。従って、このような場合、一対の受光出力間で明
瞭な相関関係を得ることが困難となり、これにより求め
られたずれ量に対する信頼性即ち焦点検出精度が著しく
低下する。このような状態で求められたずれ量の値に基
づいて撮影レンズのフォーカス用レンズを駆動した場
合、結像位置と合焦位置とが大きく外れているとずれ量
の不安定によりフォーカス用レンズの駆動が不安定とな
って該レンズが往復したり、合焦位置とは逆の方向にフ
ォーカス用レンズが駆動され最近接および無限遠のいず
れか一方の終端位置で停止したり、合焦位置で明瞭な相
関が得られないためにフォーカス用レンズが終端位置ま
で駆動されたりするといった現象が起こる。従って、フ
ォーカス用レンズをスムーズに合焦位置まで移動させる
ことが困難となったり、合焦位置まで移動させるのに時
間がかかりすぎたりするという問題があった。 このような問題を解決するために、特開昭58−1109号公
報あるいは特開昭57−196219号公報において、撮影レン
ズを通過した被写体光を受光手段の出力に基づいてコン
トラストを求め、コントラストが低い場合にはフォーカ
ス用レンズを一方の端から他方の端まで移動させながら
コントラストを検出して、コントラストの高い位置にき
たときの前記ずれ量に基づいて焦点調節を行うという装
置が提案されている。 発明が解決しようとする課題 ところが、これら公報で提案された装置では、上記低コ
ントラスト時のフォーカス用レンズ移動中にコントラス
トが得られると、その時のずれ量、すなわちフォーカス
用レンズ移動中に得られたずれ量に基づいて焦点調節を
行っているが、フォーカス用レンズ移動中の受光手段の
出力には誤差が含まれており、正確なずれ量が得られ
ず、正確な焦点調節が行えないという問題があった。 また、ずれ量が信頼できるかどうかの判定、すなわち上
記公報の装置においてはコントラストが高いかどうかの
判定をフォーカス用レンズ移動中の受光手段の出力に基
づいて判定しているため、誤った判定が行われることが
ある。誤った判定が行われた場合、上記装置では、判定
装置に基づいてすぐにフォーカス用レンズを駆動するた
め、合焦位置へ向けて駆動中に低コントラスト時の駆動
を行ってしまったり、低コントラスト用のレンズ駆動中
に誤差を含んだ受光手段の出力によるずれ量に基づいて
駆動してしまったりするという問題があった。 本発明はフォーカス用レンズ移動中に上記ずれ量の信頼
性判定結果が変化した際に、誤った判定結果や誤差を含
んだ上記ずれ量に基づく誤った動作を行わない自動焦点
調節装置を提供することを目的とする。 課題を解決するための手段 上記課題を解決するために、本発明は、 撮影レンズを透過した合焦対象体からの光を測定する焦
点検出用受光手段と、 該受光手段の受光出力に基づいて、合焦対象体の結像位
置の予定焦点位置に対するずれの量を示すデータを出力
する信号処理手段と、 撮影レンズのフォーカス用レンズを移動させる駆動手段
と、前記受光出力に基づいて、前記信号処理手段から出
力されるデータが信頼できるか否かを判定する判定手段
と、 信頼できないことが前記判定手段により判定された場合
は所定の方向に撮影レンズのフォーカス用レンズを移動
させ、信頼できることが前記判定手段により判定された
場合は前記信号処理手段からのずれの量を示すデータに
基づいて撮影レンズのフォーカス用レンズを移動させる
ように上記駆動手段を制御する駆動制御手段と、 前記判定手段での判定結果が信頼できない状態から信頼
できる状態に変化したことを検知して検知信号を出力す
る検知手段と、 撮影レンズのフォーカス用レンズの移動期間中に前記検
知手段から検知信号が出力されると、フォーカス用レン
ズの移動を停止させるように上記駆動手段を制御する停
止手段と、 上記停止手段によるフォーカス用レンズの停止状態での
信号処理手段および判定手段からのそれぞれの出力に基
づいて上記駆動制御手段の動作を再開させる駆動再開手
段と、 を有することを特徴とするものである。 作用 駆動制御手段によってフォーカス用レンズの駆動が制御
され、フォーカス用レンズ移動中に判定手段の判定結果
が信頼できない状態から信頼でき状態に変化すると、停
止手段によってフォーカス用レンズは停止する。そし
て、停止時の信号処理手段及び判定手段の出力に基づい
て駆動制御手段の動作を再開する。 実施例 本発明による自動合焦カメラシステムの概略をレンズ交
換可能な一眼レフレッスクカメラに用いた例を示す第1
図に基づいて説明する。第1図において、一点鎖線の左
側は撮影レンズ(LE)の一例としてのズームレンズ、右
側はカメラ本体(BD)であり、両者はそれぞのクラッチ
(106)、(107)を介して機構的に、接続端子(JL1)
〜(JL5)、(JB1)〜(JB5)を介して電気的に接続さ
れる。このカメラシステムでは、撮影レンズ(LE)のフ
ォーカス用レンズ(FL)、ズーム用レンズ(ZL)、マス
ターレンズ(ML)を通過した被写体光が、カメラ本体
(BD)の反射ミラー(108)の中央の半透光部を透過
し、サブミラー(109)によって反射され焦点検出用受
光部(FLM)に受光されるように、その光学系が構成さ
れている。 モーター(MO)の回転はスリップ機構(SLP)、駆動機
構(LDR)、カメラ本体側クラッチ(107)を介してズー
ムレンズ(LZ)に伝達される。尚、スリップ機構(SL
P)は後段に所定以上のトルクがかかったときにすべっ
てモーター(MO)の回転を後段の駆動機構(LDR)に伝
達させないようにするものである。 撮影レンズ(LE)において、フォーカス用レンズ(FL)
を駆動するための焦点調節部材(102)の内周には雌ヘ
リコイドネジが形成されており、これに嵌合するよう
に、レンズマウント(121)と一体となった固定部(10
1)の外周に雄ヘリコイドネジが形成されている。焦点
調節部材(102)の外周には大歯車(103が設けられてお
り、この大歯車(103)は小歯車(104)、伝達機構(10
5)を介して、レンズ側クラッチ(107)に連絡されてい
る。上記の機構により、モーター(MO)の回転が、カメ
ラ本体のスリップ機構(SLP)、駆動機構(LDR)、クラ
ッチ(107)、レンズ側のクラッチ(106)、伝達機構
(105)、小歯車(104)及び大歯車(103)を介して、
焦点調節部材(102)に伝達され、ヘリコリイドネジに
よってフォーカス用レンズ(FL)が光軸方向に前後に移
動して焦点調節が行なわれる。 焦点検出用受光部(FLM)は、多数の受光素子を備え、
各受光素子での受光量に応じた電荷を蓄積し転送する電
化蓄積機能を有するCCD(Charge Coupled Device)で形
成されている。このCCD(FLM)での電荷蓄積および電荷
転送の動作は後述の制御回路(114)により制御され
る。 信号処理回路(112)は、焦点検出用受光部(FLM)から
転送される受光出力に基づいて、合焦対象被写体の結像
位置からの合焦位置に対するずれ量を示すデフォーカス
量|ΔL|およびデフォーカス方向(前ピン、後ピン)の
データを出力する。制御回路(114)は、このデフォー
カス量|ΔL|のデータと所定の合焦幅のデータとを比較
して、フォーカス用レンズ(FL)の駆動位置が所定の合
焦幅の領域内にあるか否かを判定する。また、制御回路
(114)は、フォーカス用レンズ(FL)を合焦方向に向
けて駆動するためのモーター駆動信号をデフォーカス方
向に基づいて算出するとともに、フォーカス用レンズ
(FL)を合焦位置まで駆動するのに必要なフォーカス用
レンズ(FL)の移動量に対応するデータNをデフォーカ
ス量|ΔL|と後述のレンズ回路(LEC)からの変換係数
のデータKとに基づいて算出する。制御回路(114)
は、このデータNを後述のエンコーダ(ENC)からのパ
ルス数と参照し、このパルス数がデータNと一致すると
フォーカス用レンズ(FL)が合焦位置に達したと判定し
てモーター(MO)を駆動停止するよう構成されている。
モーター駆動回路(MDR)は、制御回路(114)からのモ
ーター駆動信号に基づいてモーター(MO)を駆動する。 コントラスト判定回路(113)は、焦点検出用受光部(F
LM)からの受光出力に基づいて、受光部(FLM)の受光
面での合焦対象被写体のコントラストが所定値以下か否
か(即ち低コントラストか否か)を判定する。このコン
トラスト判定回路(113)からのコントラスト信号は制
御回路(114)の制御入力端に与えられており、制御回
路(114)は、低コントラストが検出された場合、前述
とは異なるモーター駆動制御を行なう。即ち、この場
合、モーター(MO)はデフォーカス方向のデータに基づ
いて合焦方向に向けて駆動されるのみであり、前述のよ
うな|ΔL|とKとに基づいた制御はなされない。この制
御は、コントラスト判定回路(113)により低コントラ
ストでないことが検地されるまで行なわれる。 また、モーター(MO)の駆動制御中にコントラストが低
コントラストから高コントラストに、または高コントラ
ストから低コントラストに変化したことがコントラスト
判定回路(113)で検出されると、制御回路(114)は、
まず、モーター(MO)の駆動を停止する。次に、制御回
路(114)は、停止状態での信号処理回路(112)からの
データおよびコントラスト判定回路(113)からのコン
トラスト信号に基づいて上述と同じモーター(MO)の駆
動を再開するように構成されている。更に、コントラス
トが低過ぎてフォーカス用レンズ(FL)を一方の終端位
置から他方の終端位置まで移動させても合焦が全く判定
されないとき、制御回路(114)は直ちにモーター(M
O)の駆動を停止して、以後の無駄な合焦動作を行なわ
ないように構成されている。 エンコーダ(ENC)は、撮影レンズ(LE)のフォーカス
用レンズ(FL)の駆動状態をモニターするたにカメラ本
体(BD)の駆動機構(LDR)に連結されている。フォー
カス用レンズ(FL)の駆動は、上述のように駆動機構
(LDR)の駆動と一義的に連動するようになっているの
で、フォーカス用レンズ(FL)の移動量に対応した数の
パルスがエンコーダ(ENC)から出力される。制御回路
(114)はこのパルス数によりフォーカス用レンズ(F
L)の移動量を検知する。また、フォーカス用レンズ(F
L)が無限遠または最近接の終端位置まで駆動されたと
きは駆動機構(LDR)の回転が停止されるので、エンコ
ーダ(ENC)からはパルスが出力されない。これによ
り、制御回路(114)はフォーカス用レンズ(FL)の駆
動位置が終端位置に達したことを検知できる。 信号読取回路(LDC)は、撮影レンズ(LE)側に設けら
れた後述のレンズ回路(LEC)から与えられるデータを
読取る回路である。レンズ回路(LEC)は、撮影レンズ
(LE)自身に固有なデータ、例えば絞りや焦点距離等の
撮影用データおよびフォーカス用レンズ(FL)の移動量
をエンコーダ(ENC)の出力パルス数に対応させるため
の所定値の変換係数データKを固定記憶している。この
データKは読取回路(LDC)を介して制御回路(114)に
与えられ、前述の信号処理回路(112)からのデータ|
ΔL|と掛算されてフォーカス用レンズの移動量に対応す
るデータNの算出に用いられる。 上述の構成による本発明の自動合焦カメラシステムの具
体的な内容を第2図以降の図面に従って、以下に詳述す
る。尚、制御回路(114)のほとんどの機能はマイクロ
コンピュータ(以下、マイコンと称する)により達成さ
れる。 第2図は、第1図に示した構成のうちカメラ本体(BD)
側の回路部の構成を主に示すブロック図である。図にお
いて、カメラ本体(BD)とレンズ(LE)との間にはレン
ズ(LE)の焦点距離を例えば1.4倍または2倍に伸ばす
ためのコンバータ(CV)が挿入されている。カメラ本体
(BD)とコンバータ(CV)とはそれぞれ接続端子群(CN
1)と(CN2)とで接続され、コンバータ(CV)とレンズ
(LE)とはそれぞれの接続端子群(CN3)と(CN4)とで
接続されており、コンバータ(CV)およびレンズ(LE)
からの各種情報がカメラ本体(BD)側に与えられるよう
になっている。電源スイッチ(MAS)が閉成されること
により、パワーオンリーセット回路(PRO1),マイコン
(MC1),(MC2),表示制御回路(DSC),発振回路(O
SC),インバータ(IN1)〜(IN8),アンド回路(AN
1)に電源ライン(+E)を介して給電が開始される。
この給電開始により、パワーオンリセット回路(POR1)
からリセット信号(PO1)が出力されて、マイコン(MC
1),(MC2)および表示制御回路(DSC)がリセットさ
れる。マイコン(MC2)はこのカメラシステムの全体的
な作動をシーケンス的に行なわせるマイクロコンピュー
タであり、マイコン(MC1)はこのマイコン(MC2)から
の制御信号に応答して焦点調節作動をシーケンス的に行
なわせるマイクロコンピュータである。尚、マイコン
(MC)の動作を第3図のフローチャートに、マイコン
(MC1)の動作を第8図ないし第10図のフローチャート
に示す。 測光スイッチ(MES)はレリーズボタン(不図示)の押
下げ操作の第1段階で閉成され、このスイッチ(MES)
が閉成されると、インバータ(IN1)を介してマイコン
(MC2)の入力端子(i0)に“High"レベルの信号が与え
られる。これに応答してマイコン(MC2)の端子(O0)
が“High"となり、インバータ(IN2)を介してトランジ
スタ(BT1)が導通する。このトランジスタ(BT1)の導
通により、パワーオンリセット回路(POR3),測光回路
(LMC),デコーダ(DEC1),発光ダイオード駆動用ト
ランジスタ(BT3),フィルム感度設定装置(SSE),絞
り値設定装置(ASE),露出時間設定装置(TSE),露出
制御モード設定装置(MSE),露出制御装置(EXC),ラ
ッチ回路(LA)に電源ライン(VB)を介して給電が開始
される。この給電開始により、パワーオンリセット回路
(POR3)からリセット信号(PO3)が出力されて露出制
御装置(EXC)がリセットされる。また、マイコン(MC
2)の出力端子(O0)からの“High"レベル信号は、バッ
ファ(BF)によりコンバータ(CV)およびレンズ(LE)
の電源電圧(VL)として、接続端子群(CN1),(CN
2),(CN3),(CN4)を介して、コンバータ(CV)内
の回路(CVC)及びレンズ(LE)内の回路(LEC)に与え
られる。尚、接続端子群は、この給電用端子の他に、マ
イコン(MC2の出力端子(O6)から出力されてコンバー
タ(CVC),レンズ回路(LEC)をリセット状態から解除
するための信号伝達用端子と、マイコン(MC2)のクロ
ック出力端子(SCO)からの同期用クロックパルスをコ
ンバータ回路(CVC),レンズ回路(LEC)に伝達するた
めのクロックパルス伝達用端子と、マイコン(MC2)の
直列データ入力端子(SDI)にコンバータ(CV),レン
ズ(LE)からのデータを入力させる信号入力用端子と、
アース端子とを備えている。なお、マイコン(MC2)の
直列データ入力部の回路構成を第4図に、コンバータ
(CV)の回路(CVC)およびレンズ(LE)の回路(LEC)
の回路構成を第5図に示す。 測光回路(LMC)は、マイコン(MC2)のアナログ入力用
端子(ANI)にアナグロ値の側光信号を、基準電圧入力
端子(VR)にD−A変換用の基準電圧信号を与えてい
る。マイコン(MC2)は、測光回路(LMC)からの基準電
圧信号に基づいて、端子(ANI)に入力するアナグロ測
光信号をディジタル信号に変換する。表示制御回路(DS
C)は、データバス(DB)を介して入力する種々のデー
タに応じて、液晶表示部(DSP)により露出制御値を表
示するとともに発光ダイオード(LD10)〜(LD1n)によ
り警告表示等を行なう。マイコン(MC2)の出力端子(O
8)は側光スイッチ(MES)が閉成されてからカメラの露
出制御動作が開始するまでの間“High"となっており、
インバータ(IN8)によりトランジスタ(BT3)はこの間
のみ発光ダイオード(LD10)〜(LD1n)を発光可能とす
る。 デコーダ(DEC1)は、マイコン(MC2)の出力ポート(O
P1)から与えられる信号に応じて、装置(MSE),(TS
E),(ASE),(SSE),回路(DSC),(LA)のうちい
ずれかの装置または回路とマイコン(MC2)との間でデ
ータバス(DB)を介してデータの受け渡しを行なうかを
示す信号を出力端子(a0)〜(an+1)に与える。例え
ば、マイコン(Mc2)が露出制御モードのデータを読込
む場合には、出力ポート(OP1)からの特定データで出
力端子(ao)が“High"になることにより、データバス
(DB)に露出制御モード設定装置(MSE)から設定露出
制御モードを示すデータが出力され、このデータがマイ
コン(MC2)の入出力ポート(I/O)から読込まれる。同
様に、設定絞り値を読込む場合には端子(a2)が“Hig
h"になる。表示制御回路(DSC)に表示用データを送る
場合には、送るデータに応じて端子(a4)〜(an)の1
つが“High"になる。また、後述するレンズの変換係数
データ(KD)を送る場合には入出力ポート(I/O)から
データバス(DB)にこの変換係数データを出力した後に
出力ポート(OP1)に特定データを一定時間出力し、端
子(an+1)からのパルスによりラッチ回路(LA)に変
換係数データをラッチさせる。 露出制御装置(EXC)は、マイコン(MC2)の割込信号入
力端子(it)に“High"の割込み信号が与えられること
により、以下の露出制御動作を開始するようになってお
り、レリーズ回路、ミラー駆動回路,絞り制御回路,露
出時間制御回路を備えている。この装置(EXC)は、マ
イコン(MC2)の出力端子(O4)からパルスが出力され
ると、データバス(DB)に出力されている絞り込み段数
データを取込み、レリーズ回路を作動させて露出制御動
作を開始させる。露出制御動作の開始から一定時間が経
過すると、マイコン(MC2)から露出時間データがデー
タバス(DB)に、パルスが端子(O5)に出力される。こ
れによって露出制御装置(EXC)は露出時間データを取
込み、ミラー駆動回路を作動させて反射ミラーの上昇を
開始させるとともに、絞り制御回路を作動させて絞り込
み段数データだけ絞りを絞り込ませる。反射ミラーの上
昇が完了すると、シャッター先幕の走行が開始される。
同時に、カウントスイツチ(COS)が閉成することによ
り露出時間制御回路が作動して露出時間データに対応し
た時間のカウントが開始される。カウントが完了すると
シャッター後幕の走行が開始され、絞りが開かれ、ミラ
ーが下降することにより露出制御動作が完了する。 レリーズスイッ(RLS)はレリーズボタンの押し下げ操
作の第2段階で閉成され、このスイッチ(RLS)が閉成
されるとインバータ(IN3)の出力、即ちアンド回路(A
N1)の一方の入力端が“High"になる。スイッチ(EES)
は露出制御動作が完了すると閉成され、露出制御機構
(不図示)が動作可能な状態にチャージされると開放さ
れる。このスイッチの開閉状態を示す信号はインバータ
(IN4)を介してマイコン(MC2)の入力端子(i2)およ
びアンド回路(AN1)の他方の入力端に与えられる。
尚、アンド回路(AN1)の出力端はマイコン(MC2)の割
込信号入力端子(it)に接続されている。従って露出制
御機構のチャージが完了していない状態では、アンド回
路(AN1)のゲートは閉じられており、レリーズスイッ
チ(RLS)が閉成されてもアンド回路(AN1)の出力は
“Low"のままである。即ち、マイコン(MC2)には割込
信号は入力されず、露出制御動作は開始されない。一
方、露出制御機構のチャージが完了している状態では、
アンド回路(AN1)のゲートは開かれており、レリーズ
スイッチ(RLS)が閉成されるとアンド回路(AN1)の出
力が“High"になって割込信号がマイコン(MC2)の割込
端子(it)に入力し、マイコン(MC2)は直ちに露出制
御の動作に移行する。 マイコン(MC2)の出力端子(O1),(O2),(O3)は
それぞれマイコン(MC1)の入力端子(i11),(i1
2),(i13)に接続されている。ここで、出力端子(O
1)は、マイコン(MC1)で合焦検出動作を行なわせると
きは“High"、行なわせない時は“Low"になる。出力端
子(O2)は、モーター(MO)を時計方向に回転させると
フォーカス用レンズ(FL)が繰り出されるように構成さ
れる交換レンズが装着されている場合は“High"、モー
ター(MO)を反時計方向に回転させると繰り出される交
換レンズの場合は“Low"になる。出力端子(O3)は、結
像位置の合焦位置からのズレ量とデフォーカス方向とに
基づいてフォーカス用レンズを合焦位置に向けて駆動す
る方式(以下、プレディクター方式と称する)のみに対
応して焦点調節がなされる交換レンズの場合には“Lo
w"、合焦位置からのズレ方向の信号(前ピン,後ピン,
合焦)でレンズを駆動する方式(以下、三点指示方式と
称する)とこのプレディクター方式との併用で焦点調節
がなされる交換レンズの場合には“High"となる。スイ
ッチ(FAS)は、不図示の手動切換部材によって開閉さ
れ、合焦状態の検出結果に応じてフォーカス用レンズが
合焦位置まで駆動されて自動的に焦点調節が行なわれる
モード(以下、AFモードと称する)のときは閉成され、
合焦状態の検出結果に応じて合焦状態の表示だけが行な
われ、焦点調節は手動で行なわれるモード(以下、FAモ
ードと称する)のときには開放される。このスイッチ
(FAS)の開閉信号はインバータ(IN6)を介してマイコ
ン(MC2)の入力端子(i1)及びマイコン(MC1)の入力
端子(i14)に与えられる。 マイコン(MC1)の出力端子(O16)は、インバータ(IN
5)を介してトランジスタ(BT2)のベースに接続されて
いる。従って、端子(O16)が“High"になると、トラン
ジスタ(BT2)が導通してパワーオンリセット回路(PO
2),焦点検出用受光部(FLM),受光部制御回路(CO
T),モーター駆動回路(MDR),エンコーダ(ENC),
発光ダイオード駆動回路(FAD)に電源ライン(VF)を
介して給電が開始される。この給電開始により、パワー
オンリセット回路(POR2)からリセット信号(PO2)が
出力される。 発光ダイオード駆動回路(FAD)は、例えば第6図に示
すような回路構成となっており、マイコン(MC1)の出
力ポート(OP0)、即ち出力端子(O17),(O18),(O
19)から出力されるデータに応じて発光ダイオード(LD
0)、(LD1),(LD2)を駆動する。この回路構成によ
り、マイコン(MC1)の出力端子(O17),(O18),(O
19)のいずれか1つの端子が“High"となると前ピン表
示用発光ダイオード(LD0),合焦表示用発光ダイオー
ド(LD1),後ピン表示用発光ダイオード(LD2)のいず
れか1つが点灯して前ピンまたは合焦または後ピンを表
示する。また、出力端子(O17),(O18),(O19)の
2端子が“High"となると、発振回路(OSC)からのクロ
ックパルス(CP)に基づいて発光ダイオード(LD0),
(LD2)が同時に点滅して合焦検出不能を表示する。表
1にその動作状態を示す。 焦点検出用受光部(FLM)は合焦検出用の複数の受光部
を備えたCCD(Charge Coupled Device)で形成されてい
る。制御回路(COT)は、マイコン(MC1)からの信号に
基づいてCCD(FLM)の駆動、CCD出力のA−D変換およ
びA−D変換出力のマイコン(MC1)への伝達機能を備
えている。 尚、マイコン(MC1)から制御回路(COT)に対して、出
力端子(O10)からCCD(FLM)の積分動作を開始させる
ためのパルス信号が、出力端子(O11)からこの積分動
作を強制的に停止させるためのパルス信号がそれぞれ出
力される。また、マイコン(MC1)に対して制御回路(C
OT)から、CCD(FLM)での積分動作が完了したことを示
す信号が割込端子(it)に、CCD(FLM)の各受光素子ご
とにその蓄積電荷のA−D変換動作が完了したことを示
す信号が入力端子(i10)に、上記A−D変換されたデ
ータが入力ポート(IP0)にそれぞれ入力される。更
に、CCD(FLM)に対して制御回路(COT)から、リセッ
ト信号が端子(φR)に、転送指令信号が端子(φT)
に、転送用クロックが端子(φ1),(φ2),(φ
3)に、参照電位が端子(ANB)にそれぞれ入力され、C
CD(FLM)から制御回路(COT)に対して、端子(ANB)
からモニター用受光部の受光量に応じた電位が、端子
(AOT)から各受光部での蓄積電荷がそれぞれ出力され
る。この制御回路(COT)の具体的な回路構成は後述す
る第14図で詳述する。 ここで、CCD(FLM)、制御回路(COT)、マイコン(MC
1)の作動を簡述すると、制御回路(COT)は、マイコン
(MC1)の出力端子(O10)からの積分開始信号に応答し
て、CCD(FLM)にリセット信号を送ってCCD(FLM)をリ
セットするとともに、参照電位の信号をCCD(FLM)に与
える。CCD(FLM)内の各受光部ではその受光量に応じて
蓄積電荷が増加していき、これにより端子(ANB)から
出力される電位が下降していく。制御回路(COT)は、
端子(ANB)のレベル所定値に達すると、CCD(FLM)へ
転送指令信号を出力してCCD(FLM)の各受光部の蓄積電
荷をCCD(FLM)内の転送ゲートに転送させるとともに、
マイコン(MC1)の割込端子(it)に積分完了信号を与
える。そして、制御回路(COT)は、CCD(FLM)の転送
ゲートに転送された蓄積電荷をφ1,φ2,φ3の転送用ク
ロックに基づいて受取ってA−D変換し、1つの受光部
による蓄積電荷のA−D変換が完了する毎にマイコン
(MC1)の入力端子(i10)にA−D変換完了信号を与え
る。マイコン(MC1)は、この信号に応答してA−D変
換されたデータを入力ポート(IP0)から取込む。そし
て、マイコン(MC1)はCCD(FLM)の受光素子の数だけ
A−D変換されたデータを取込むと、CCD出力の取込み
を終了する。 なお、マイコン(MC1)は積分開始から一定時間が経過
しても割込信号が入力しないときには、CCDの積分動作
を強制的に停止させるためのパルスをマイコン(MC1)
の端子(O11)から出力する。制御回路(COT)はこのパ
ルスの応答して端子(φT)から転送指令信号をCCDに
与えるとともに、マイコン(MC1)に割込信号を出力し
て、前述のCCD出力のA−D変換,データ転送の動作を
行なう。 モータ駆動回路(MDR)は、マイコン(MC1)の出力端子
(O12),(O13),(O14)から与えられる信号に基づ
いてモーター(MO)を駆動する。尚、マイコン(MC1)
の出力端子(O12)が“High"のときにモーター(MO)は
と時計方向に、出力端子(O13)が“High"のときモータ
ー(MO)は反時計方向に駆動され出力端子(O12),(O
13)がともに“Low"のときモーター(MO)は駆動が停止
される。さらに、マイコン(MC1)の出力端子(O14)が
“High"のときモーター(MO)は高速駆動され、“Low"
のとき低速駆動される。このモーター制御回路(MDR)
の具体例は、本出願人がすでに特願昭57−136772号で提
案したが、本発明の要旨とは無関係であるので説明を省
略する。 エンコーダ(ENC)は、モーター(MO)の回転トルクを
レンズに伝えるためのカメラ本体側の伝達機構(LMD)
の駆動量を、たとえばフォートカプラーによりモニター
し、その駆動量に比例した数のパルスを出力する。この
パルスはマイコン(MC1)のクロック入力端子(DCL)へ
入力されて自動的にカウントされ、そのカウント値ECD
は後述のマイコン(MC1)のフローでのカウンタ割込に
用いられる。また、このパルスは、モーター駆動回路
(MDR)に送られ、そのパルス数に応じてモーター(M
O)に回転速度が制御される。 第3図は、第2図のマイコン(MC2)の動作を示すフロ
ーチャートである。マイコン(MC2)の動作は大まかに
以下の3つのフローに大別される。#1のステップから
始まるフローは、電源スイッチ(MAS)の閉成により開
始されるメインのフローであり、側光スイッチ(MES)
が閉成される(#2)ことにより、焦点調節のための回
路部以外の回路部への給電開始(#4)、カメラ本体
(BD)で設定された露出制御情報の読込み(#5)、レ
ンズ(LE),コンバータ(CV)からのデータの読込み
(#6〜#12)、側光値の読込み(#13,14)、AFモー
ド,FAモードの自動設定(#16〜#27)、露出制御値の
演算(#28)および表示(#31,#32)等の動作を繰返
す。#45のステップから始まるフローは、マイコン(MC
2)に内蔵されたタイマーから周期的に出力されるタイ
マー信号により、側光スイッチ(MES)が開放されても
所定時間(例えば15秒)は上記メインフローの動作を行
なわせるためのタイマー割込のフローである。また、#
59のスイップから始まるフローは、リレーズスイッチ
(RLS)の閉成になり、カメラの露出制御動作を開始さ
せるためのレリーズ割込りのフローである。以下に、第
3図ないし第6図に基づいてマイコン(MC2)に関連す
る第2図のカメラシステムの動作を詳述する。 まず、電源スイッチ(MAS)が閉成されると、パワーオ
ンリセット回路(POR1)からリセット信号(PO1)が出
力される。このリセット信号(PO1)により、マイコン
(MC2)はメインのフローにおけるリセット動作を#1
のステップで行なう。側光スイッチ(MES)が閉成され
ることにより、#2のステップで入力端子(i0)が“Hi
gh"になったことが判明されると、タイマー割込を不可
能にして(#3)、端子(O0)を“High"にする(#
4)。これによりトランジスタ(BT1)が導通して電源
ライン(VB)からの給電が開始される。同時に、バッフ
ァ(BF)を介して電源ライン(VL)からコンバータ(C
V)および交換レンズ(LE)への給電が開始される。#
5のステップでは、露出制御モード設定装置(MSE)、
露出時間設定装置(TSE)、絞り値設定装置(ASE)、フ
ィルム感度設定装置(SSE)からのデータがデータバス
(DB)を介して入出力ポート(I/O)に順次取込まれ
る。 #6ないし#12のステップでは、まずレジスタAにデー
タ“0"が設定され(#6)、端子(O6)が“High"とさ
れて、コンバータ回路(CVC),レンズ回路(LEC)のリ
セット状態が解除され、(#7−1)、データの直列入
力命令が出力される(#7−2)。コンバータ回路(CV
C),レンズ回路(LEC)から1つのデータの入力が完了
すると(#8)、取込まれたそのデータがレジスタAの
内容に対応するレジスタM(A)に設定される(#
9)。次に、レジスタAの内容に“1"が加えられ(#1
0)、その内容がAc(一定値)になったかどうかが判別
される。ここで、(A)≠Acならば#7−2のステップ
に戻って、再び次のデータの取込みが行なわれる。
(A)=Acになると、レンズ(LE)及びコンバータ(C
V)からのデータの取込みが完了したことになるので、
出力端子(O6)を“Low"にして(#12)、コンバータ回
路(CVC),レンズ回路(LEC)をリセットする。 ここで、レンズ(LE)及びコンバータ(CV)からのデー
タの取込みの具体例を、第4図及び第5図に基づいて説
明する。第4図に示された直列データ入力部は、例えば
8ビットの直列データを入力させる場合に、出力端子
(SCO)から8個のクロックパルスを出力し、このクロ
ックパルスの立下りで入力している直列データを順次読
込む。即ち、直列データ入力命令(SIIN)により、フリ
ップフロップ(FF1)がセットされて3ビットのバイナ
リーカウンター(CO1)のリセット状態が解除される。
同時に、アンド回路(AN7)のゲートが開かれて、マイ
コン(MC2)内で分周されたクロックパルス(DP)が同
期用クロック出力として出力端子(SCO)からコンバー
タ(CV),レンズ(LE)の回路(CVC),(LEC)に送ら
れる。また、このクロスパルスは、カウンタ(CO1),
シフトレジスタ(SR1)のクロック入力端子に送られ
る。シフトレジスタ(SR1)はクロックパルス(DP)の
立ち下がりで、マイコン(MC2)の入力端子(SDI)に入
力しているデータを順次取込んでいく。ここで、カウン
タ(CO1)のキャリー端子(CY)は、8個目のクロック
パルス(DP)が入力したときから次のクロスパルス(D
P)が入力するまでの期間“High"になっている。一方、
アンド回路(AN5)の一方の入力端にこのキャリー出力
が、他方の入力端にインバータ(IN15)を介してコロッ
クパルス(DP)が入力しているので、アンド回路(AN
5)は8個目のクロスパル(DP)の立ち下がりで“High"
となって、フリップフロップ(FF1)をリセットし、カ
ウンター(CO1)もリセット状態にする。従って、アン
ド回路(AN5)の出力も、カウンタ(CO1)のキャリー端
子(CY)が“Low"になることで“Low"となり、次の動作
に備える。このアンド回路(AN5)からの“High"のパル
スで直列入力フラグS1FLがセットされてデータ入力の完
了が判別され、マイコン(MC2)はシフトリジスタ(SR
1)から内部データバス(IDB)に出力しているデータを
所定のレジスタM(A)に格納する。 第5図において、一点鎖線から左側がコンバータ(CV)
のコンバータ回路(CVC)であり、右側がレンズ(LE)
のレンズ回路(LEC)である。マイコン(MC2)の出力端
子(O6)が“High"になるとカウンタ(CO3),(CO
5),(CO7),(CO9)のリセット状態が解除され、こ
れらカウンタはマイコン(MC2)の出力端子(SCO)から
与えられるクロックパルス(DP)をカウントすることが
可能となる。3ビットのバイナリーカウンタ(CO3),
(CO7)はこのクロックパルス(DP)の立上がりをカウ
ントし、8個目のクロックパルスの立上がりから次のク
ロックパルス(DP)の立上がりまでの間キャリー端子
(CY)を“High"にする。4ビットのバイナリーカウン
タ(CO5),(CO9)はこのキャリー端子(CY)の立下が
りをカウントし、8個のクロックパルスの最初のパルス
の立上がり毎にカウンタ(CO5),(CO9)のカウント値
が1づつ増加する。 コンバータ回路(CVC)のROM(RO1)は、カウンタ(CO
3)のカウント値に基づいて直接そのレジスタが指定さ
れる。レンズ回路(LEC)のROM(RO3)はカウンタ(CO
1)のカイント値に基づいてデコーダ(DE9),データセ
レクタ(DS1)を介して間接的にそのレジスタが指定さ
れる。ROM(RO1),(RO3)からそれぞれ出力されるレ
ンズ(LE),コンバータ(CV)のデータは、デコーダ
(DE5)の出力に応じていずれかの出力が、または直列
加算回路(AL1)により加算された両者の和の出力或い
はすべて“0"のデータが選択的に出力される。ここで、
焦点距離が固定されているレンズの場合のカウンタ(CO
9)とデコーダ(DE9)とROM(RO3)との関係を表2に、
焦点距離が可変なズームレンズの場合の上記関係を表3
に示す。また、コンバータにおけるカウンタ(CO5)と
デコーダ(DE5)とROM(RO1)とカメラ本体への出力デ
ータとの関係を表4に示す。尚、φは各ビットのデータ
が“0"でも“1"でもよいことを示す。 カウンタ(CO3),(CO7)の出力(b0),(b1),(b
2)はデコーダ(DE3),(DE7)に入力され、デコーダ
(DE3),(DE7)はこの入力データに応じて表5に示す
信号を出力する。 従って、クロックパルスが立上がるごとに、ROM(R3)
のデータは最下位ビット(r0)から順次1ビットずつア
ンド回路(AN20)〜(AN27),オア回路(OR5)を介し
て出力され、同じタイミングでROM(RO1)のデータもク
ロックパルスの立上がり毎に最下位ビット(e0)から順
次1ビットづつアンド回路(AN10)〜(AN17),オア回
路(OR1)を介して出力される。また、ズームリング(Z
R)の操作により設定された焦点距離に応じた5ビット
のデータを出力するコード板(FCD)がレンズ回路(LE
C)内に設けられている。設定焦点距離に応じて変化す
るコード板(FCD)の出力によって、データセレクタ(D
S1)の入力端子(α2)の下位5ビットの値が一義的に
決まる。従って、データセレクタ(DS1)は、デコーダ
(DE9)の出力(h4)が“Low"のときは入力端子(α
1)からの“0 0 0 0 h3 h2 h1 h0"のデータを、また、
“High"のとき入力端子(α2)からの“h2 h1 h0 **
***”(*はコード板のデータ)のデータを出力する
ことにより、ROM(RO3)のアドレスを指定する。 カウンタ(CO9)の出力が“0000"の場合、ROM(RO3)の
アドレス“OOH"(Hは16進数を示す)のアドレスにはレ
ンズ装着を示すチェックデータが記憶されていて、この
データはあわゆる種類の交換レンズに共通のデータ(例
えば01010101)となっている。このとき、カメラ本体
(BD)とレンズ(LE)との間にコンバータ(CV)が装着
されていれば、デコーダ(DE5)の出力端子(g2)の“H
igh"により、レンズ(LE)から送られてくるデータ“01
010101"はアンド回路(AN32),オア回路(OR3)を介し
てまた、レンズ(LE)がカメラ本体(BD)に直接装着さ
れている場合はそのままカメラ本体側に送られて、入力
端子(SDI)からマイコン(MC2)に読込まれる。このチ
ェックデータにより交換レンズが装着されていることが
判別された場合は開放側光モードとなって露出制御装置
(EXC)で絞り制御が行なわれる。一方、交換レンズが
装着されていないことが判別された場合は、絞り込み側
光モードとなって絞り制御は行なわれない。 カウンタ(CO5),(CO9)の出力が“0001"になると、
レンズのROM(RO3)のアドレス“O1H"が指定され、ROM
(RO3)から開放絞り値データAvoが出力される。なお、
設定焦点距離に応じて実効絞り値が変化するズームレン
ズの場合は、最短焦点距離での開放絞り値が出力され
る。また、コンバータ(CV)のROM(RO1)のアドレス
“1H"にはコンバータ(CV)装着によるレンズの開放絞
り値の変化量に相当する一定値データβが記憶されてお
り、ROM(RO1)からは一定値データβが出力される。デ
コーダ(DE5)の端子(g0)の“High"により、ROM(RO
1),(RO3)からのデータは直列加算回路(AL1)で加
算されて(Avo+β)が算出され、このデータがアンド
回路(AN30),オア回路(OR3)を介して出力される。
カウンタ(CO5)、(CO9)の出力が“0010"になると、R
OM(RO3),(RO1)はそれぞれアドレス“02H"が指定さ
れる。レンズのROM(RO3)からの最小絞りのデータAvma
xとコンバータのROM(RO1)からのデータβとにより、
開放絞り値の場合と同様に、Avmax+βのデータが、ま
た装着されていない場合はAvmaxのデータが出力され
る。 カウンタ(CO5),(CO9)の出力が“0011"になると、
レンズのROM(RO3)のアドレス“03H"が指定され、ROM
(RO3)から開放側光誤差のデータが出力される。ここ
で、コンバータが装着されていない場合、このデータが
そのままカメラ本体に読み込まれる。一方コンバータ
(CV)が装着されていると、表5に示すようにデコーダ
(DE5)の出力はすべて“Low"で、オア回路(OR3)の出
力はレンズからのデータとは無関係に“Low"のままとな
り、カメラ本体では開放側光誤差として“0"のデータを
読み取る。これは、コンバータ(CV)を装着することに
より、開放絞りは比較的小絞りとなり、開放側光誤差は
“0"になると考えてもよいからである。 カウント(CO5),(CO9)の出力が“0100"になると、R
OM(RO1),(RO3)はそれぞれ“04H"のアドレスが指定
される。レンズのROM(RO3)のアドレス“04H"には、フ
ォーカス用レンズ(FL)を繰出す場合のモーター(MO)
の回転方向を示すデータと、この交換レンズが設定撮影
距離に応じて交換係数の変化する形式のレンズであるか
どうかを示すデータとが記憶されている。例えば、モー
ターを時計方向に回転させるとフォーカス用レンズが繰
出される型式のレンズの場合は最下位ビットが“1"、モ
ーターを反時計方向に回転させるとフォーカス用レンズ
が繰出される型式のレンズの場合は最下位ビットが“0"
になっている。また、設定撮影距離によって変換係数が
変化する形式のレンズの場合は最下位ビットが“1"に、
変化しない形式のレンズの場合は最下位ビットが“0"に
なっている。このデータはコンバータ(CV)の装着とは
無関係にカメラ本体にそのまま送られる。 カウンタ(CO9)の出力が“0101"になるとデコーダ(DE
9)の出力は固定焦点距離のレンズの場合“00101"、ズ
ームレンズの場合“1001φ”となって、レンズ回路(LE
C)のROM(RO3)はそれぞれ“O5H"または“001****
*”のアドレスが指定される。尚、“*****”はコ
ード板(FCD)からのデータである。ROM(RO3)のこの
アドレスには固定焦点距離レンズの場合そのレンズの固
定焦点距離fの2を底とした対数値のlog2fに対応した
データが、ズームレンズの場合そのズームレンズの設定
焦点距離fの対数値log2fに対応したデータが記憶され
ていて、このデータがカメラ本体へ出力される。また、
コンバータのROM(RO1)はアドレス“5H"が指定されて
おり、このアドレスには、コンバータ(CV)をカメラ本
体(BD)と交換レンズ(LE)との値に装着することによ
り変化する焦点距離の変化量に相当するデータγが記憶
されている。このときデコーダ(DE5)の出力端子(g
0)が“High"になっているので、加算回路(AL1)によ
り焦点距離のデータlog2fに一定値データγを加算した
データがカメラ本体に送られる。この焦点距離は、カメ
ラ振れの警告の判別等に用いられる。 カウンタ(CO9)の出力が“0110"になると、ズームレン
ズの場合、デーコーター(DE9)からは“1010φ”のデ
ータが出力され、端子(h4)が“High"となって以降は
データセレクタ(DS1)の入力端α2からのデータが出
力される。これにより、ROM(RO3)は“010****
*”のアドレスを指定される。このアドレスには、ズー
ムレンズの焦点距離を最短焦点距離から変化させた場合
の最短焦点距離での実効絞り力の絞り値変化量のデータ
ΔAvが設定焦点距離に応じて記憶されている。また、固
定焦点距離のレンズの場合、ΔAv=0なので、アドレス
“O6H"には“0"のデータが記憶されている。このデータ
は、コンバータ(CV)の装着の有無とは無関係にカメラ
本体にそのまま送られる。尚、このデータは、開放側光
データから絞り成分の除去をするための演算(Bv−Avo
−ΔAv)−Avo−ΔAv及び設定又は算出された絞り開孔
に実効絞りを制御住めたの演算Av−Avo−ΔAvに用いら
れる。 カウンタ(CO9)の出力が“0111"になると、ズームレン
ズの場合デコーダ(DE9)の出力が“1011φ”となり、R
OM(RO3)は“011*****”のアドレスが指定され
る。このアドレスには設定焦点距離に対応した変換係数
のデータKDが記憶されている。また、固定焦点距離のレ
ンズの場合、ROM(RO3)は“07H"のアドレスが指定さ
れ、このアドレスには固定の変換係数のデータKDが記憶
されている。変換係数の変化を補償するような機械伝達
機構が内蔵されているコンバータが装着されていればこ
のデータはそのままボディーに伝達される。この変換係
数のデータKDは、マイコン(MC1)で算出されるデフォ
ーカス値|ΔL1|から|ΔL1|×KDの演算を行なってモー
ター駆動機構(LMD)の駆動量のデータを得るために用
いられる。 また、変換係数のデータは、例えばデータが8ビットの
場合、上位4ビットの指数部と下位4ビットの有効数字
部とに分けられ、表6のようにコードづけされている。 変換係数のデータKDは KD=(k3・20+k2・2-1+k1・2-2+k0・2-3)・2n・2m m=k4・20+k5・-1+k6・2+k7・23 n=一定値(例えば−7) の演算で求める。尚、k3は有効数字部の最上位ビットで
あるので必ず“1"になっている。従って、このようなコ
ードづけを行なえばKDの値が相当に広い範囲で変化して
もマイコン(MC1)内で演算し易い、少ないビット数の
データとして記憶することができる。 第7図は、ズームレンズから出力され競る変換係数のデ
ータと焦点距離との関係を示すグラフであり、横軸はlo
g2fに対応し、縦軸は変換係数KDに対応する。 ところでKDは、焦点距離fに応じて直線A,B,Cに示すよ
うに連続的に変化するが、本実施例の場合、折線A′,
B′,C′で示すように、KDの値をK1〜K33の離散的な値と
している。ここで、 K1=20の場合KD=“01111000"、 K2=2-1+2-2+2-3+2-4の場合KD=“01101111"、 K3=2-1+2-2+2-3の場合KD=“01101110"、 K4=2-1+2-2+2-4の場合KD=“01101101"、 K31=2-4+2-6の場合KD=“00101000"、 K32=2-4+2-7の場合KD=“00111001"、 K33=2-5の場合KD=“00101000"となっている。 ズームレンズの焦点距離は、コード板(FCD)の5ビッ
トの出力に対応して多数の領域に区分されており、例え
ば直線Aの変化をするレンズであればf17〜f25の9ゾー
ンに分割されている。この構成により、f25のゾーンで
あればそのゾーン内で最も小さいK値に最も近く且つ値
の小さなデータK17、f24のゾーンであればK16、f23のゾ
ーンならK15、f22のゾーンならK13というデータが出力
される。 このように、KDの値を定めるのは、以下の理由による。
即ち、KDを実際のデータよりも大きな値にしておくと、
合焦位置までフォーカス用レンズを駆動するのに必要な
駆動量に対応するエンコーダ(ENC)のパルス数よりも
N−KD×|ΔL|で求められたNの方が多くなり、結果と
して合焦位置をレンズが通り過ぎ、合焦位置の前後でレ
ンズがハンティングをしてしまうからである。そこで、
KDを小さめの値にしておけば次第に一方の方向から合焦
位置に近づくようになり、また、実際のKDとの差ができ
るだけ小さくなるようにしているので、フォーカス用レ
ンズが合焦位置に達する時間を短くすることができる。 尚、KDの値を常に小さめの値にした場合、実際のKDの値
との差が大きくなりすぎて合焦位置に達するまでの時間
が長くかかりすぎることが起こりうるが、時間を短縮す
るために、B′に示すゾーンf18,k12のように実際の値
よりも若干大きくなっている領域をわずかに設けて、少
しぐらい合焦位置から行きすぎてもよいようにしてもよ
い。 また、撮影距離が無限大だと実線のC(∞)、近距離だ
と一点鎖線C(近)のように、撮影距離に応じて変換係
数が大幅に変化するズームレンズがある。このズームレ
ンズでは、例えば焦点距離f1のゾーンで撮影距離が無限
大の位置から最近接近の位置へ変化すると、KD=k17=2
-2からKD=K15=2-2+2-4へ変化する。このようなズー
ムレンズにも対応できるように、本実施例では、無限大
の位置での変換係数のデータのみをROM(RO3)に記憶さ
せ、合焦範囲の近傍の領域(以下、近合焦ゾーンで示
す)に到達するまでは、ΔLの正負(即ち、デフォーカ
ス方向)の信号だけに基づいてフォーカス用レンズを駆
動し、近合焦ゾーンにはいると上述のKDと|ΔL|とによ
って求まるNの値に基づいてレンズを駆動するようにし
ている。尚、焦点距離用のコード板(FCD)の他に設定
撮影距離用のコード板を別設し、これらコード板により
ROM(RO3)のアドレスを指定して正確な変換係数のデー
タを得るようにしてもよいが、部品点数の増加、アドレ
ス指定用のビット数の増加、ROMの容量の増加等の問題
があり、実用的でない。 更に、ズームリングを例えば、最短焦点距離の位置より
も短焦点側に移動させることによりマクロ撮影が行なえ
るように構成されたズームレンズがある。(このズーム
レンズの機構は本出願の要旨とは関係ないのでその説明
を省略する。)このようなズームレンズに対して、本実
施例ではマクロ撮影に切換えられるとコード板(FCD)
から“11111"のデータが出力され、特定のアドレス“01
111111"が指定されるようにしてある。マクロ撮影の場
合、瞳径の位置が変化したり、焦点深度が暑くなった
り、絞り値が暗くなったりして、AFモードによる焦点調
節は困難となるので、そのアドレスには“φφφφ011
0"のデータが記憶されており、そのk3は“0"となってい
る。マイコン(MC2)は、このデータによりマクロ撮影
に切換わったことを判別して、スイッチ(FAS)によりA
Fモードが設定されていても表示だけのFAMモードに焦点
調節モードを自動的に切換える。 また、最近接の位置に撮影距離を設定しないとマイクロ
撮影への切換えができないように構成されたズームレン
ズがある。このようなレンズの場合、マクロ撮影への切
換操作により第5図のスイッチ(MCS)が閉成され、イ
ンバータ(IN17),インバータ(IN19)を介してアンド
回路(AN40)〜(AN44)の出力がすべて“Low"になる。
これによってROM(RO3)のアドレス“01100000"が指定
される。 このアドレスにはKDとして“φφφφ0100"のデータが
記憶されていて、マイコン(MC1)はこのデータのk3=k
1=0によりマクロ撮影への切換操作がなされたことを
判別して自動的に撮影距離が最近接位置になるようにモ
ーター(MO)を回転させてフォーカス用レンズを操出
す。 合焦検出用の受光部は撮影レンズのあるきまった射出瞳
をにらむようになっていて、この瞳径と受光素子(フィ
ルム面と光学的に等価な位置に配置されている)に対す
る瞳の位置とに応じて撮影レンズを透過した被写体から
の光を受光素子が受光するかどうかがきまる。従って、
レンズによっては一部の受光部には光が入射しないよう
なものもある。このようなレンズでは合焦検出を行なっ
ても信頼性がないので、AFモード或いはFAモードの動作
は行なわない方が望ましい。そこでこのようなレンズの
場合には、ROM(RO3)のアドレス(ズームレンズなら
“011*****”、固定焦点距離レンズなら“0000011
1")に“φφφφ0001"のデータをKDとして記憶してお
く。マイコン(MC2)はこのデータにより、後述の#16
−2のステップでマイコン(MC1)がAFモードまたはFA
モードによる焦点検出動作を行なわないようにする。 なお、マクロ切換によりアドレス回路(AN40)〜(AN4
4)から“00000"または、“11111"のデータが出力され
る場合、ROM(RO3)のアドレス“00100000",“0011111
1"にはマクロ撮影時の焦点距離fに対応したデータが、
アドレス“01000000"、“01011111"にはマクロ撮影時の
ΔAvに対応したデータが記憶されており、それぞれROM
(RO3)から出力される。 また、カメラ本体での駆動軸の回転を焦点調節部材に伝
達する機構を備えていない交換レンズの場合には、マク
ロ撮影への切換と同様にKDとして“φφφφ0110"が記
憶されており、FAモードのみが可能とされる。更に、上
述のレンズと同様に伝達機構を備えていないコンバータ
の場合には、カウンタ(CO2)の出力が“0111"になった
ときにROM(RO1)から“φφφφ0110"が出力され、且
つデコーダ(DE5)の端子(g1)のみが“High"になって
ROM(RO1)からのデータをカメラ本体に伝達するように
すれば、どのような交換レンズが装着されてもFAモード
だけの動作が行なわれる。 カメラ本体と交換レンズとの間にコンバータを挿入接続
する場合、コンバータにより焦点距離が変化するので、
その増加量に対応した量だけカメラ本体からの駆動軸の
回転量を減少させる減速機構をコンバータ内に設ける必
要がある。即ちカメラ本体の駆動軸の回転量をそのまま
フォーカス用レンズの駆動軸に伝達する機構だけをコン
バータに備えた場合、レンズのKDをそのままカメラ本体
に伝達してN=KA×|ΔL|だけカメラ本体の駆動軸を回
転させると、焦点距離の増加量に対応した量だけ合焦位
置からズレてしまうといった問題がある。そこで上記の
減速機構を備えていないコンバータに対して、本実施例
では、例えば焦点距離を、1.4倍にするコンバータならK
Dが1/2に、2倍のコンバータならKDが1/4になるよう
に、それぞれKDの上位4ビットの指数部のデータ(k7k6
k5k4)から、1.4倍のコンバータなら1を減じ、2倍の
コンバータなら2を減ずるようにしている。 第5図に戻って、カウンタ(CO5)の出力が“1000"にな
ると、表4に示すようにコンバータ回路(CVC)のROM
(RO1)からはコンバータ(CV)が装着されていること
を示す“01010101"のチェックデータが出力される。こ
のとき、デコーダ(DE5)の端子(g1)が“High"になっ
ているので、このチェックデータはレンズ回路(LEC)
のROM(RO3)からのデータとは無関係にアンド回路(AN
31),オア回路(OR3)を介してカメラ本体(BD)に送
られる。 カウンタ(CO5)の出力が“1001"になると、このコンバ
ータ装着で光束が制限されることによる光のケラレに基
づいて定まる絞り値のデータAv|がROM(RO1)から出力
さ上述と同様にして、アンド回路(AN31),オア回路
(OR3)を介してカメラ本体に送られる。このデータAv|
は、マイコン(MC2)で開放絞り値のデータAvo+βと比
較される。Avo+B<Av|のときには、側光出力がBv−Av
|となっているので、(Bv−Av|)+Av|=Bvおよび絞り
込み段数データAv−(Avo+β)が演算される。 上述のようにして、レンズ(LE)およびコンバータ(C
V)からのデータの取り込みが完了すると、第3図のフ
ローチャートにおいて、側光回路(LMC)の出力のA−
D変換が行なわれ(#13)、このA−D変換された側光
出力のデータが所定のレジスタに格納される(#13)。 #15のステップではレリーズフラグRLFが“1"かどうか
が判別され、このフラグが“1"のときは#28のステップ
に直接移行し、“0"のときは#16ないし#26のステップ
を経て#28のステップに移行する。ここで、レリーズフ
ラグRLFは、レリーズスイッチ(RLS)が閉成されて#59
ステップ以降の割込み動作が行なわれる場合でカメラの
露出制御値が算出されているときに“1"に設定されるフ
ラグである。尚、この割込みは動作時に露出制御値が算
出されていないことが#63のステップで判別されたとき
は、#5以降のステップで上記データの取込み動作を行
ない、#15のステップでRLF=1ならば、#16以降のス
テップにおけるAF,FAモードによる焦点検出動作のフロ
ーをジャンプして#28のステップで露出演算を行なった
後に、#30のステップを経て#64以降のステップで露出
制御を行なう。 #16のステップでは、AFモードまたはFAモードによる焦
点検出動作が可能であるか否かの判別が行なわれ、可能
であれば#17のステップに、不可能であれば#28のステ
ッブに移行する。このステップでは、レンズが装着され
て否か否か(#16−1)、射出瞳の径と位置とできまる
条件が受光部に適合しているか否か(#16−2)、焦点
検出用の全ての受光部に被写体からの光が入射している
か否か(#16−3)、側光スイッチが閉成されているか
否か(#16−5)の判別が順次行なわれる。 ここで、チェックデータ“01010101"が入力していない
場合(#16−1)、KDのデータのk3〜K0が“0001"の場
合(#16−2)、レンズの射出瞳の径が小さすぎて開放
絞り値Avo,Avo+β,Avo+ΔAvまたはAv|が一定絞り値
TECHNICAL FIELD The present invention relates to a planned focus position of an imaging position of a focusing target subject.
The amount of deviation with respect to the
The focus lens of the lens
Position)).
To do. Prior Art As such an automatic focus detection device, a pair of arrayed receivers
Focus detection with the optical element group at a position optically equivalent to the in-focus position
Is provided as a light receiving unit for the
A device that determines the amount of deviation based on the relationship
Proposed in U.S. Pat. No. 4,333,007 or JP-A-57-45510
There is. With this device, the image formation position is largely outside the in-focus position.
Or the contrast of the subject to be focused is low.
If the light receiving output contrast between each light receiving element is low,
Become. Therefore, in such a case, there is no
It is difficult to obtain a clear correlation, and
The reliability of the amount of deviation that has been
descend. Based on the value of the shift amount obtained in such a state
When the focusing lens of the shooting lens is driven,
If the image formation position and the in-focus position are greatly deviated,
Drive of the focusing lens becomes unstable due to
The lens goes back and forth, or moves in the direction opposite to the in-focus position.
The lens for focusing is driven to move to the nearest and infinity
Stop at one of the end positions, or clear phase at the in-focus position.
Since the focus lens cannot reach the end position.
Phenomenon such as being driven by occurs. Therefore,
Move the focusing lens smoothly to the in-focus position
Difficult to move, or when moving to the in-focus position
There was a problem that it took too much time. In order to solve such a problem, Japanese Patent Laid-Open No. 58-1109
In the report or JP-A-57-196219, the shooting lens
The subject light that has passed through the lens is controlled based on the output of the light receiving means.
Seek trust and focus when low contrast
While moving the lens for scanning from one end to the other
Detects the contrast and moves to a high contrast position.
A device that adjusts the focus based on the amount of deviation when
Oki is proposed. However, in the devices proposed in these publications, the low
Contrast during movement of the focusing lens during untrust
When the focus is obtained, the amount of deviation at that time, that is, the focus
Focus adjustment based on the amount of deviation obtained while moving the lens
Although it is done,
The output contains an error, which gives an accurate amount of deviation.
Therefore, there is a problem that accurate focus adjustment cannot be performed. In addition, it is judged whether the deviation amount is reliable, that is,
In the device of the publication, whether the contrast is high or not
Judgment is based on the output of the light receiving means during movement of the focusing lens.
Since the judgment is made based on the
is there. If an incorrect decision is made, the above device will
Drive the focusing lens immediately based on the device
Drive at low contrast while driving toward the in-focus position
Or driving a lens for low contrast
Based on the amount of deviation due to the output of the light receiving unit that includes an error in
There was a problem that it would be driven. The present invention is based on the above-mentioned reliability of the shift amount during movement of the focusing lens.
When the judgment result changes, the judgment result and error may be incorrect.
Auto focus that does not perform erroneous operation based on the above deviation amount
It is an object to provide an adjusting device. Means for Solving the Problems In order to solve the above-mentioned problems, the present invention provides a focusing device for measuring light from a focusing object that has passed through a taking lens.
Based on the light receiving means for point detection and the light receiving output of the light receiving means,
Outputs data indicating the amount of deviation from the planned focus position
Signal processing means and driving means for moving the focusing lens of the photographing lens
Based on the received light output, output from the signal processing means.
Judgment means for judging whether or not the input data is reliable
And when it is judged by the judgment means that it is not reliable
Moves the focusing lens of the shooting lens in the specified direction
And the reliability was determined by the determination means.
If the data indicating the amount of deviation from the signal processing means
Move the focusing lens of the shooting lens based on
The drive control means for controlling the drive means, and
Detecting the change to a ready state and outputting a detection signal
And the detection means during the movement of the focusing lens of the taking lens.
When the detection signal is output from the knowledge means, the focus lens
Stop that controls the drive means to stop the movement of
Stop means and the stop means for stopping the focusing lens
Based on the respective outputs from the signal processing means and the judging means
Based on this, a drive restart hand for restarting the operation of the drive control means
And a step. The drive of the focusing lens is controlled by the drive control means.
The judgment result of the judgment means while the focus lens is moving
Is changed from unreliable state to reliable state, the
The focusing lens is stopped by the stopping means. That
Based on the output of the signal processing means and the judging means at the time of stop
To restart the operation of the drive control means. Embodiment An outline of an automatic focusing camera system according to the present invention will be described with reference to
First example showing use in a replaceable single-lens reflex camera
It will be described with reference to the drawings. In Figure 1, left of the chain line
The side is a zoom lens as an example of a shooting lens (LE), the right
The side is the camera body (BD), and both clutches
Connection terminal (JL1) mechanically via (106) and (107)
~ (JL5), (JB1) ~ (JB5) electrically connected
Be done. In this camera system, the lens of the taking lens (LE)
Focus lens (FL), zoom lens (ZL), mass
The subject light that has passed through the target lens (ML) is
Transmission through the semi-translucent part in the center of the (BD) reflection mirror (108)
Then, it is reflected by the sub-mirror (109) and used for focus detection.
The optical system is configured so that it can be received by the light unit (FLM).
Has been. The rotation of the motor (MO) is controlled by the slip mechanism (SLP) and drive machine.
Zoom through the structure (LDR) and the camera body side clutch (107)
It is transmitted to Mullens (LZ). The slip mechanism (SL
P) does not slip when a torque higher than a predetermined value is applied to the latter stage.
The rotation of the motor (MO) is transmitted to the drive mechanism (LDR) in the subsequent stage.
It is something that should not be reached. Focusing lens (FL) in shooting lens (LE)
The focus adjustment member (102) for driving the
Ricoid screw is formed, so that it fits
The fixing part (10
A male helicoid screw is formed on the outer circumference of 1). focus
A large gear (103 is provided on the outer periphery of the adjusting member (102).
This large gear (103) is the small gear (104) and the transmission mechanism (10
Is contacted to the lens side clutch (107) via 5)
It With the above mechanism, the rotation of the motor (MO)
La body slip mechanism (SLP), drive mechanism (LDR), clutch
Switch (107), lens side clutch (106), transmission mechanism
(105), the small gear (104) and the large gear (103),
It is transmitted to the focus adjustment member (102) and is used as a helicoid screw.
Therefore, the focusing lens (FL) moves back and forth in the optical axis direction.
The focus is adjusted by moving. The light receiving unit for focus detection (FLM) is equipped with a large number of light receiving elements,
An electric charge that accumulates and transfers electric charge according to the amount of light received by each light receiving element.
CCD (Charge Coupled Device) with integrated storage function
Is made. Charge accumulation and charge in this CCD (FLM)
The transfer operation is controlled by the control circuit (114) described later.
It The signal processing circuit (112) is from the light receiving unit (FLM) for focus detection.
Imaging of the subject to be focused based on the received light output transferred
Defocus indicating the amount of deviation from the in-focus position
Amount | ΔL | and defocus direction (front pin, rear pin)
Output the data. The control circuit (114) is
The amount of residue | ΔL | is compared with the data of the specified focus width
The focus lens (FL) drive position
It is determined whether or not it is within the focal width region. Also the control circuit
(114) directs the focusing lens (FL) in the focusing direction.
How to defocus the motor drive signal to drive
Focus lens as well as calculation based on orientation
For focus required to drive (FL) to the in-focus position
Defocuser the data N corresponding to the movement amount of the lens (FL)
Amount | ΔL | and conversion coefficient from the lens circuit (LEC) described later
It is calculated based on the data K and. Control circuit (114)
The data from the encoder (ENC) described later.
If the number of pulses matches the data N,
It is determined that the focus lens (FL) has reached the in-focus position.
The motor (MO) to stop driving.
The motor drive circuit (MDR) is operated by the control circuit (114).
The motor (MO) is driven based on the motor drive signal. The contrast determination circuit (113) includes a focus detection light receiving unit (F
Light received by the light receiving unit (FLM) based on the received light output from (LM)
Whether the contrast of the subject to be focused on the surface is less than a specified value
(That is, whether or not the contrast is low) is determined. This con
The contrast signal from the trust judgment circuit (113) is controlled.
It is given to the control input terminal of the control circuit (114) and
The path (114) is described above when low contrast is detected.
Motor drive control different from. That is, this place
The motor (MO) is based on the defocus direction data.
It is only driven toward the in-focus direction.
Control based on the eel | ΔL | and K is not performed. This system
The contrast is low due to the contrast judgment circuit (113).
It is performed until it is detected that it is not a strike. Also, the contrast is low during the drive control of the motor (MO).
From contrast to high contrast or high contrast
Contrast that changed from strike to low contrast
When detected by the determination circuit (113), the control circuit (114)
First, the drive of the motor (MO) is stopped. Next, control times
The path (114) is from the signal processing circuit (112) in the stopped state.
The data and the contrast judgment circuit (113)
Based on the trust signal, drive the same motor (MO) as above.
Configured to resume motion. Furthermore, the contrast
The focus lens (FL) is too low
Even if it is moved from one position to the other end position, the focus is determined at all
When not activated, the control circuit (114) immediately turns on the motor (M
O) drive is stopped and subsequent useless focusing operation is performed.
Configured to not. The encoder (ENC) is the focus of the taking lens (LE)
Camera book to monitor the drive status of the lens for the camera (FL)
It is connected to the drive mechanism (LDR) of the body (BD). Four
The lens (FL) for dust is driven by the drive mechanism as described above.
It is designed to work in unison with the (LDR) drive.
The number of lenses that corresponds to the amount of movement of the focusing lens (FL).
The pulse is output from the encoder (ENC). Control circuit
(114) is a focusing lens (F
Detect the movement amount of L). In addition, the focusing lens (F
L) is driven to infinity or the closest end position
When the drive mechanism (LDR) stops rotating,
No pulse is output from the encoder (ENC). By this
The control circuit (114) drives the focusing lens (FL).
It can be detected that the moving position has reached the end position. The signal reading circuit (LDC) is provided on the taking lens (LE) side.
The data given from the lens circuit (LEC) described later
It is a reading circuit. The lens circuit (LEC) is a shooting lens
(LE) Data unique to itself, such as aperture and focal length
Shooting data and amount of movement of the focusing lens (FL)
To correspond to the number of encoder (ENC) output pulses
The conversion coefficient data K having a predetermined value of is fixedly stored. this
The data K is sent to the control circuit (114) via the reading circuit (LDC).
Given data from the signal processing circuit (112)
It is multiplied by ΔL | to correspond to the movement amount of the focusing lens.
Used to calculate the data N. Component of the automatic focusing camera system of the present invention having the above configuration
The physical contents will be described in detail below with reference to FIG. 2 and subsequent drawings.
It Most of the functions of the control circuit (114) are micro.
Achieved by computer (hereinafter referred to as microcomputer)
Be done. FIG. 2 shows the camera body (BD) of the configuration shown in FIG.
It is a block diagram mainly showing the composition of the circuit part of the side. In the figure
There is a lens between the camera body (BD) and lens (LE).
(LE) focal length is increased by 1.4 times or 2 times
A converter (CV) for is inserted. Camera body
(BD) and converter (CV) are connected terminal group (CN
1) and (CN2) are connected, converter (CV) and lens
(LE) is a group of connection terminals (CN3) and (CN4)
Connected, converter (CV) and lens (LE)
Various information from is given to the camera body (BD) side
It has become. The power switch (MAS) is closed
Power-only set circuit (PRO1), microcomputer
(MC1), (MC2), display control circuit (DSC), oscillator circuit (O
SC), inverter (IN1) to (IN8), AND circuit (AN
Power supply to 1) is started via the power line (+ E).
By starting this power supply, the power-on reset circuit (POR1)
The reset signal (PO1) is output from the microcomputer (MC
1), (MC2) and display control circuit (DSC) are reset.
Be done. The microcomputer (MC2) is the entire camera system
Microcomputer that performs various operations in sequence
The microcomputer (MC1) is from this microcomputer (MC2)
The focus adjustment operation is performed in sequence in response to the control signal of
It is a microcomputer that can be played. The microcomputer
The operation of (MC) is shown in the flow chart of FIG.
The operation of (MC1) is a flowchart of FIG. 8 to FIG.
Shown in. Press the release button (not shown) to open the metering switch (MES).
This switch (MES) is closed in the first stage of the lowering operation.
Is closed, the microcomputer is connected via the inverter (IN1).
Apply a "High" level signal to the input terminal (i0) of (MC2)
To be In response to this, the pin (O0) of the microcomputer (MC2)
Becomes “High”, and a transition occurs via the inverter (IN2).
The star (BT1) becomes conductive. Conductor of this transistor (BT1)
Power-on reset circuit (POR3), photometric circuit
(LMC), decoder (DEC1), light emitting diode driver
Langista (BT3), film sensitivity setting device (SSE), diaphragm
Threshold setting device (ASE), exposure time setting device (TSE), exposure
Control mode setting device (MSE), exposure control device (EXC), LA
Power supply to the switch circuit (LA) via the power supply line (VB)
To be done. By starting this power supply, the power-on reset circuit
A reset signal (PO3) is output from (POR3) to control exposure
The control device (EXC) is reset. In addition, the microcomputer (MC
The "High" level signal from the output terminal (O0) of 2)
Converter (CV) and lens (LE) by FA (BF)
The power supply voltage (VL) of the connection terminal group (CN1), (CN
2), (CN3), (CN4) through the converter (CV)
Given to the circuit (CVC) and the circuit (LEC) in the lens (LE)
To be In addition to this power supply terminal, the connection terminal group
Output from the output terminal (O6) of the icon (MC2)
Release the reset (CVC) and lens circuit (LEC) from the reset state.
For signal transmission to enable the microcomputer (MC2)
Clock pulse for synchronization from the clock output terminal (SCO).
To the converter circuit (CVC) and lens circuit (LEC).
Clock pulse transmission terminal for the microcomputer (MC2)
Connect the converter (CV) and len to the serial data input terminal (SDI).
Signal input terminal for inputting data from the device (LE),
It is equipped with a ground terminal. In addition, the microcomputer (MC2)
The circuit configuration of the serial data input section is shown in FIG.
(CV) circuit (CVC) and lens (LE) circuit (LEC)
The circuit configuration of is shown in FIG. Photometric circuit (LMC) for analog input of microcomputer (MC2)
Input the side light signal of the analog value to the terminal (ANI) and the reference voltage
The reference voltage signal for DA conversion is applied to the terminal (VR).
It The microcomputer (MC2) is a reference voltage from the photometric circuit (LMC).
Anaguro measurement input to the terminal (ANI) based on the pressure signal
The optical signal is converted into a digital signal. Display control circuit (DS
C) is a variety of data input via the data bus (DB).
The exposure control value is displayed by the liquid crystal display (DSP) according to the
The light emitting diodes (LD10) to (LD1n)
Warning is displayed. Microcomputer (MC2) output terminal (O
8) is the exposure of the camera after the side light switch (MES) is closed.
It remains "High" until the output control operation starts.
Inverter (IN8) keeps transistor (BT3) in between
Only the light emitting diodes (LD10) to (LD1n) can emit light.
It The decoder (DEC1) is the output port (O of the microcomputer (MC2)
Depending on the signal given from P1), the device (MSE), (TS
E), (ASE), (SSE), circuit (DSC), (LA)
Between the device or circuit and the microcomputer (MC2)
Whether to transfer data via the data bus (DB)
The signal shown is applied to the output terminals (a0) to (an + 1). example
For example, the microcomputer (Mc2) reads the exposure control mode data.
If output is necessary, output specific data from the output port (OP1).
When the output terminal (ao) becomes "High", the data bus
Set exposure from exposure control mode setting device (MSE) to (DB)
Data indicating the control mode is output, and this data is
Read from input / output port (I / O) of controller (MC2). same
Similarly, when reading the set aperture value, the terminal (a2) is set to “Hig
h ". Send display data to display control circuit (DSC).
In some cases, one of terminals (a4) to (an) depending on the data to be sent.
Goes high. In addition, the conversion coefficient of the lens described later
When sending data (KD), use the input / output port (I / O)
After outputting this conversion coefficient data to the data bus (DB)
Output specific data to output port (OP1) for a certain period of time
Change to latch circuit (LA) by pulse from child (an + 1)
The replacement coefficient data is latched. The exposure control device (EXC) receives an interrupt signal from the microcomputer (MC2).
A "High" interrupt signal is applied to the input terminal (it)
Causes the following exposure control operation to start.
Release circuit, mirror drive circuit, aperture control circuit, dew
Equipped with an exit time control circuit. This device (EXC)
A pulse is output from the output terminal (O4) of the icon (MC2).
Then, the number of narrowing steps output to the data bus (DB)
Capture data and activate the release circuit to control exposure
Start the work. A certain period of time has passed since the start of the exposure control operation.
If you do, the exposure time data from the microcomputer (MC2)
The pulse is output to the terminal (O5) on the tabas (DB). This
As a result, the exposure controller (EXC) collects exposure time data.
And activate the mirror drive circuit to raise the reflecting mirror.
At the same time as starting, activate the aperture control circuit to narrow down
Narrow down the aperture only by the number of steps data. On the reflective mirror
When the ascent is completed, the shutter front curtain starts running.
At the same time, the count switch (COS) is closed.
The exposure time control circuit is activated to respond to the exposure time data.
The counting of the elapsed time is started. When the count is complete
The rear curtain of the shutter starts running, the aperture is opened, and the
The exposure control operation is completed by lowering the arrow. Release switch (RLS) is used to hold down the release button.
This switch (RLS) is closed in the second stage of the work.
Then, the output of the inverter (IN3), that is, the AND circuit (A
One input terminal of N1) becomes "High". Switch (EES)
Is closed when the exposure control operation is completed, and the exposure control mechanism
Open when charged (not shown) to an operational state
Be done. The signal indicating the open / closed state of this switch is the inverter
Via (IN4), input terminal (i2) of the microcomputer (MC2) and
And the other input terminal of the AND circuit (AN1).
The output terminal of the AND circuit (AN1) is the output of the microcomputer (MC2).
It is connected to the built-in signal input terminal (it). Therefore exposure system
If the charging of the mechanism is not completed,
The gate of road (AN1) is closed and the release switch
The output of the AND circuit (AN1) is
It remains “Low”. In other words, interrupt the microcomputer (MC2)
No signal is input and the exposure control operation is not started. one
On the other hand, when the exposure control mechanism is fully charged,
The gate of the AND circuit (AN1) is open and the release
When the switch (RLS) is closed, the AND circuit (AN1) output
The power becomes “High” and the interrupt signal is interrupted by the microcomputer (MC2).
Input to the terminal (it) and the microcomputer (MC2) is immediately exposed
Move to your action. The output terminals (O1), (O2), (O3) of the microcomputer (MC2) are
Input terminals (i11), (i1) of the microcomputer (MC1) respectively
2), connected to (i13). Where the output terminal (O
1) is when the focus detection operation is performed by the microcomputer (MC1)
It becomes "High" when it is not performed and "Low" when it is not performed. Output end
The child (O2) rotates the motor (MO) clockwise
Focus lens (FL) is configured to be extended
If an interchangeable lens that is
When the counter (MO) is rotated counterclockwise, the
In case of interchangeable lens, it becomes “Low”. The output terminal (O3) is
The amount of deviation from the in-focus position of the image position and the defocus direction
Drive the focusing lens toward the in-focus position based on
This method (hereinafter referred to as the predictor method)
In the case of an interchangeable lens whose focus is adjusted accordingly, "Lo
w ", signal in the direction of deviation from the in-focus position (front pin, rear pin,
A method of driving the lens with focus (hereinafter referred to as the three-point instruction method
Focusing with this predictor method
It becomes "High" in the case of interchangeable lenses. Sui
The switch (FAS) is opened and closed by a manual switching member (not shown).
The focusing lens is moved according to the result of focus detection.
Driven to the in-focus position and automatic focus adjustment is performed
In mode (hereinafter referred to as AF mode), it is closed,
Only the in-focus state is displayed according to the in-focus state detection result.
Mode, the focus is adjusted manually (hereinafter, FA mode
It is called). This switch
(FAS) open / close signal is sent through the inverter (IN6)
Input terminal (i1) of microcomputer (MC2) and input of microcomputer (MC1)
It is given to the terminal (i14). The output terminal (O16) of the microcomputer (MC1) is the inverter (IN
5) is connected to the base of the transistor (BT2) via
There is. Therefore, when the terminal (O16) becomes “High”, the transistor
The power-on reset circuit (PO2
2), light receiving unit for focus detection (FLM), light receiving unit control circuit (CO
T), motor drive circuit (MDR), encoder (ENC),
Power line (VF) to light emitting diode drive circuit (FAD)
Power supply is started via the. By starting this power supply, power
Reset signal (PO2) from ON reset circuit (POR2)
Is output. A light emitting diode drive circuit (FAD) is shown in Fig. 6, for example.
The circuit configuration is similar to that of the microcomputer (MC1)
Output port (OP0), that is, output terminals (O17), (O18), (O
19) According to the data output from the light emitting diode (LD
0), (LD1), (LD2) are driven. This circuit configuration
Output terminals (O17), (O18), (O
When any one of the pins in 19) becomes "High", the front pin table
Light emitting diode (LD0) for indication, light emitting diode for focusing display
LED (LD1), rear pin display light emitting diode (LD2)
One of them lights up to show the front focus or focus or rear focus.
To show. In addition, output terminals (O17), (O18), (O19)
When 2 terminals become “High”, the clock from the oscillator circuit (OSC)
Light emitting diode (LD0) based on the clock pulse (CP),
(LD2) flashes at the same time, indicating that focus cannot be detected. table
1 shows the operating state. Focus detectors (FLM) are multiple detectors for focus detection
It is made of CCD (Charge Coupled Device) with
It The control circuit (COT) receives signals from the microcomputer (MC1).
Based on the CCD (FLM) drive, CCD output A-D conversion and
And A-D conversion output transmission function to the microcomputer (MC1)
I am. The microcomputer (MC1) outputs to the control circuit (COT).
Start integration operation of CCD (FLM) from input terminal (O10)
The pulse signal for output from this output terminal (O11)
A pulse signal is output to stop the operation forcibly.
I will be forced. In addition, the control circuit (C
OT) indicates that the integration operation in CCD (FLM) is complete.
Signal to the interrupt terminal (it) for each CCD (FLM) light receiving element.
Indicates that the A-D conversion operation of the accumulated charge is completed.
Signal is input to the input terminal (i10).
Data is input to each input port (IP0). Change
Then, reset the CCD (FLM) from the control circuit (COT).
Signal to terminal (φR), transfer command signal to terminal (φT)
, The transfer clock has terminals (φ1), (φ2), (φ
In 3), the reference potential is input to the terminal (ANB), and C
Terminal (ANB) from CD (FLM) to control circuit (COT)
From the terminal, the potential corresponding to the amount of light received by the monitor light receiving unit
(AOT) outputs the accumulated charge in each light receiving part.
It The specific circuit configuration of this control circuit (COT) will be described later.
It will be described in detail with reference to FIG. Here, CCD (FLM), control circuit (COT), microcomputer (MC
The control circuit (COT) is a microcomputer.
In response to the integration start signal from the output terminal (O10) of (MC1)
Send a reset signal to the CCD (FLM) to reset the CCD (FLM).
Set and set the reference potential signal to CCD (FLM).
Get Depending on the amount of light received at each light-receiving part in the CCD (FLM)
The accumulated charge increases, which causes the terminal (ANB) to
The output potential drops. The control circuit (COT) is
When the pin (ANB) level reaches a predetermined value, it goes to CCD (FLM).
Outputs a transfer command signal and stores the accumulated power in each light receiving part of the CCD (FLM).
While transferring the load to the transfer gate in the CCD (FLM),
Apply an integration completion signal to the interrupt terminal (it) of the microcomputer (MC1)
Get Then, the control circuit (COT) transfers the CCD (FLM).
The accumulated charge transferred to the gate is transferred to φ1, φ2, and φ3.
One light receiving unit that receives and A / D converts based on the lock
Each time the A-D conversion of the accumulated charge by
Give the A-D conversion complete signal to the input terminal (i10) of (MC1)
It The microcomputer (MC1) responds to this signal by changing the AD
Fetch the converted data from the input port (IP0). That
The number of microcomputers (MC1) is the same as the number of CCD (FLM) light receiving elements.
When A-D converted data is imported, CCD output is imported
To finish. Note that the microcomputer (MC1) has passed a certain time since the start of integration.
Even if the interrupt signal is not input, CCD integration operation
Microcomputer (MC1) pulse for forcibly stopping
Output from the terminal (O11) of. The control circuit (COT) is
Transfer command signal from terminal (φT) to CCD
It gives an interrupt signal to the microcomputer (MC1)
The CCD output A-D conversion and data transfer operations described above
To do. The motor drive circuit (MDR) is the output terminal of the microcomputer (MC1)
Based on the signals given by (O12), (O13) and (O14)
Drive the motor (MO). Microcomputer (MC1)
When the output terminal (O12) of is "High", the motor (MO)
And clockwise when the output terminal (O13) is "High"
-(MO) is driven counterclockwise and output terminals (O12), (O
When both 13) are "Low", the motor (MO) stops driving.
To be done. Furthermore, the output terminal (O14) of the microcomputer (MC1)
When "High", the motor (MO) is driven at high speed and "Low"
It is driven at low speed. This motor control circuit (MDR)
The specific example of this is already proposed by the applicant in Japanese Patent Application No. 57-136772.
Although it was proposed, it is irrelevant to the gist of the present invention, and therefore the explanation is omitted.
I will omit it. The encoder (ENC) uses the rotation torque of the motor (MO).
Transmission mechanism (LMD) on the camera body side to transmit to the lens
The drive amount of the
Then, the number of pulses that is proportional to the driving amount is output. this
Pulse to the clock input terminal (DCL) of the microcomputer (MC1)
It is input and automatically counted, and its count value ECD
Is the counter interrupt in the flow of the microcomputer (MC1) described later.
Used. In addition, this pulse is applied to the motor drive circuit.
(MDR), and the motor (M
The rotation speed is controlled to O). FIG. 3 is a flow chart showing the operation of the microcomputer (MC2) shown in FIG.
-It is a chart. The operation of the microcomputer (MC2) is roughly
It is roughly divided into the following three flows. From step # 1
The flow that starts is opened by closing the power switch (MAS).
This is the main flow started, and the side optical switch (MES)
Is closed (# 2) so that the focus adjustment
Start power supply to circuits other than the road (# 4), camera body
Read the exposure control information set in (BD) (# 5),
Read data from converters (LE) and converters (CV)
(# 6 to # 12), reading of lateral light value (# 13, 14), AF mode
Mode, automatic setting of FA mode (# 16 to # 27), exposure control value
Repeat operations such as calculation (# 28) and display (# 31, # 32)
You The flow starting from the step of # 45 is the microcomputer (MC
2) A timer that is periodically output from the built-in timer.
Even if the side light switch (MES) is opened by the signal
The main flow operation is performed for a specified time (for example, 15 seconds).
This is a flow of a timer interrupt for accelerating. Also,#
The flow starting from the sweep of 59 is the relays switch
(RLS) is closed and the exposure control operation of the camera is started.
This is the release interrupt flow for making the release. Below,
Refer to the microcomputer (MC2) based on Figures 3 to 6.
The operation of the camera system shown in FIG. 2 will be described in detail. First, when the power switch (MAS) is closed,
Reset signal (PO1) is output from the reset circuit (POR1).
I will be forced. By this reset signal (PO1), the microcomputer
(MC2) # 1 reset operation in the main flow
Follow the steps below. Side light switch (MES) is closed
As a result, the input terminal (i0) goes to "Hi" in step # 2.
When it turns out that "gh", it is impossible to interrupt the timer.
Function (# 3) and set the terminal (O0) to “High” (#
4). As a result, the transistor (BT1) becomes conductive and the power supply
Power supply from the line (VB) is started. At the same time, buff
Power supply line (VL) to converter (C
Power supply to V) and interchangeable lens (LE) is started. #
In step 5, the exposure control mode setting device (MSE),
Exposure time setting device (TSE), aperture value setting device (ASE),
Data from the film sensitivity setting device (SSE) is data bus
Sequentially captured by the input / output port (I / O) via (DB)
It In steps # 6 to # 12, first register D
Data “0” is set (# 6), and terminal (O6) is set to “High”.
The converter circuit (CVC) and lens circuit (LEC).
The set state is released (# 7-1), serial data input
A force command is output (# 7-2). Converter circuit (CV
C), input of one data from lens circuit (LEC) is completed
Then, (# 8), the fetched data is stored in the register A.
It is set in the register M (A) corresponding to the contents (#
9). Next, "1" is added to the contents of register A (# 1
0), it is determined whether the content becomes Ac (constant value)
To be done. If (A) ≠ Ac, step # 7-2
Then, the next data is fetched again.
When (A) = Ac, the lens (LE) and converter (C
Since the acquisition of data from (V) has been completed,
Set the output terminal (O6) to "Low"(# 12) to convert the converter.
Reset the circuit (CVC) and lens circuit (LEC). Here, the data from the lens (LE) and converter (CV)
A specific example of data import will be explained based on FIGS. 4 and 5.
Reveal. The serial data input section shown in FIG.
Output terminal when inputting 8-bit serial data
(SCO) outputs 8 clock pulses and
Sequential reading of serial data being input at the falling edge of the clock pulse
Put in. That is, the serial data input command (SIIN)
3-bit binner with flip-flop (FF1) set
The reset state of the Lee counter (CO1) is released.
At the same time, the gate of the AND circuit (AN7) is opened,
The clock pulse (DP) divided in the controller (MC2) is the same.
Convert from output terminal (SCO) as a clock output
Sent to the computer (CV), lens (LE) circuit (CVC), (LEC)
Be done. In addition, this cross pulse is a counter (CO1),
It is sent to the clock input terminal of the shift register (SR1).
It The shift register (SR1) has clock pulse (DP)
At the falling edge, input to the input terminal (SDI) of the microcomputer (MC2)
The data we are working on will be captured in sequence. Where the coun
The carry terminal (CY) of the data (CO1) is the 8th clock.
After the pulse (DP) is input, the next cross pulse (D
It is "High" until P) is input. on the other hand,
This carry output to one input terminal of the AND circuit (AN5)
Is connected to the other input terminal via an inverter (IN15).
Since the pulse signal (DP) is input, the AND circuit (AN
5) is "High" at the falling edge of the 8th cross-pal (DP)
Then, the flip-flop (FF1) is reset and
The counter (CO1) is also reset. Therefore, Anne
The output of the drive circuit (AN5) is also the carry end of the counter (CO1).
When the child (CY) becomes “Low”, it becomes “Low” and the next operation
Prepare for "High" pulse from this AND circuit (AN5)
The serial input flag S1FL is set at
Is determined, the microcomputer (MC2) shifts to the shift resistor (SR
Data output from 1) to the internal data bus (IDB)
It is stored in a predetermined register M (A). In Fig. 5, the converter (CV) is on the left side of the chain line.
Is the converter circuit (CVC), and the right side is the lens (LE)
Lens circuit (LEC). Output terminal of microcomputer (MC2)
When the child (O6) becomes “High”, the counters (CO3), (CO
5), (CO7), (CO9) reset state is released,
These counters are output from the output terminal (SCO) of the microcomputer (MC2).
Can count the clock pulses (DP) applied
It will be possible. 3-bit binary counter (CO3),
(CO7) counts the rising edge of this clock pulse (DP).
The next clock from the rising edge of the eighth clock pulse.
Carry terminal until rising of lock pulse (DP)
Set (CY) to “High”. 4-bit binary count
(CO5), (CO9) is the carry terminal (CY)
The first pulse of 8 clock pulses
Counter (CO5), (CO9) count value at each rising edge of
Is incremented by 1. ROM (RO1) of converter circuit (CVC) is counter (CO
3) Directly specify that register based on the count value
Be done. The ROM (RO3) of the lens circuit (LEC) is the counter (CO
The decoder (DE9) and data
That register is specified indirectly through the Rectifier (DS1).
Be done. The output from ROM (RO1) and (RO3) respectively
Data of the converter (LE) and converter (CV) is the decoder
Either output or series depending on the output of (DE5)
Output of sum of both added by adder circuit (AL1)
, All "0" data is selectively output. here,
Counter (CO for a lens with a fixed focal length)
Table 2 shows the relationship between 9), decoder (DE9) and ROM (RO3).
Table 3 shows the above relationship for a zoom lens with a variable focal length.
Shown in. Also, with the counter (CO5) in the converter
Decoder (DE5), ROM (RO1) and output data to camera body
Table 4 shows the relationship with the data. Note that φ is the data of each bit
Indicates that it can be "0" or "1". Counter (CO3), (CO7) outputs (b0), (b1), (b
2) is input to the decoders (DE3), (DE7) and
(DE3) and (DE7) are shown in Table 5 according to this input data.
Output a signal. Therefore, every time the clock pulse rises, ROM (R3)
The data of 1 bit is sequentially transferred from the least significant bit (r0).
Through the AND circuits (AN20) to (AN27) and the OR circuit (OR5)
Data is output as the ROM (RO1) data at the same timing.
Starting from the least significant bit (e0) at each rising edge of the lock pulse
Next 1-bit by AND circuit (AN10) to (AN17), OR times
It is output via the road (OR1). In addition, the zoom ring (Z
5 bits according to the focal length set by R) operation
The code board (FCD) that outputs the data of the lens circuit (LE
It is provided in C). It changes according to the set focal length
The data selector (D
The value of the lower 5 bits of the input terminal (α2) of S1) is unique
Decided. Therefore, the data selector (DS1) is the decoder
When the output (h4) of (DE9) is "Low", input terminal (α
The data of "0 0 0 0 h3 h2 h1 h0" from 1)
When “High”, “h2 h1 h0” from input terminal (α2)
"***" (* indicates code plate data) data is output.
By doing so, the ROM (RO3) address is specified. When the output of the counter (CO9) is "0000", the ROM (RO3)
The address "OOH" (H indicates hexadecimal number) is
The check data indicating that the device is installed is stored.
Data is common to all types of interchangeable lenses (example
For example, it is 01010101). At this time, the camera body
Converter (CV) is attached between (BD) and lens (LE)
If so, the “H” level of the output terminal (g2) of the decoder (DE5)
The data "01" sent from the lens (LE) by "igh"
010101 "via AND circuit (AN32), OR circuit (OR3)
Also, the lens (LE) is attached directly to the camera body (BD).
If it is input, it is sent to the camera body as it is and input
Read from the terminal (SDI) to the microcomputer (MC2). This chi
Check that the interchangeable lens is installed
If it is determined, it becomes the open side light mode and the exposure control device
(EXC) controls the aperture. On the other hand, the interchangeable lens
If it is determined that it is not attached, the narrowing side
The optical mode is set and the aperture control is not performed. When the outputs of the counters (CO5) and (CO9) become "0001",
The lens ROM (RO3) address "O1H" is specified, and the ROM
The open aperture value data Avo is output from (RO3). In addition,
A zoom lens whose effective aperture changes according to the set focal length.
, The maximum aperture value at the shortest focal length is output.
It Address of ROM (RO1) of converter (CV)
"1H" is a lens aperture with a converter (CV) attached
The fixed value data β corresponding to the change amount of the
Therefore, the constant value data β is output from the ROM (RO1). De
When the coder (DE5) terminal (g0) is "High", the ROM (RO
The data from 1) and (RO3) are added by the serial adder circuit (AL1).
(Avo + β) is calculated and this data is
It is output via the circuit (AN30) and OR circuit (OR3).
When the outputs of the counters (CO5) and (CO9) become “0010”, R
Address "02H" is specified for OM (RO3) and (RO1) respectively.
Be done. Minimum aperture data from lens ROM (RO3) Avma
x and the data β from the ROM (RO1) of the converter,
As with the open aperture value, the Avmax + β data is
If not installed, Avmax data will be output.
It When the outputs of the counters (CO5) and (CO9) become "0011",
The lens ROM (RO3) address “03H” is specified, and the ROM
Data of the light error on the open side is output from (RO3). here
So if the converter is not installed, this data
It is directly read by the camera body. Hand converter
When (CV) is installed, as shown in Table 5, the decoder
The outputs of (DE5) are all "Low" and the output of the OR circuit (OR3).
The force remains "Low" regardless of the data from the lens
In the camera body, the data of "0" is set as the open side light error.
read. This is to install a converter (CV)
As a result, the open aperture becomes a relatively small aperture, and the open side light error is
This is because it can be considered to be "0". When the count (CO5), (CO9) output reaches "0100", R
The address of "04H" is specified for OM (RO1) and (RO3).
To be done. The address "04H" of the ROM (RO3) of the lens is
Motor (MO) for feeding lens (FL) for focus
This interchangeable lens is used for setting and shooting data indicating the rotation direction of
Is the lens of a type in which the exchange coefficient changes depending on the distance?
Data indicating whether it is stored. For example,
When the camera is rotated clockwise, the focusing lens repeats.
In the case of the type of lens to be output, the least significant bit is "1",
Rotate the motor counterclockwise to focus lens
In the case of a lens type in which is output, the least significant bit is "0"
It has become. Also, the conversion coefficient depends on
In the case of a variable type lens, the least significant bit is "1",
In the case of a lens that does not change, the least significant bit is set to "0"
Has become. This data is about the installation of converter (CV)
It is sent to the camera as it is, regardless of the situation. When the output of the counter (CO9) becomes “0101”, the decoder (DE
The output of 9) is “00101” for a lens with a fixed focal length.
In the case of a dome lens, it becomes "1001φ" and the lens circuit (LE
ROM (RO3) of C) is "O5H" or "001 *****" respectively
The address of "*" is specified. Note that "*****" is
It is the data from the card (FCD). This of ROM (RO3)
In the case of a fixed focal length lens, the address is fixed
Log of logarithmic value with base 2 of constant focal length f 2 corresponding to f
If the data is a zoom lens, the zoom lens settings
Logarithmic value log of focal length f 2 The data corresponding to f is stored
However, this data is output to the camera body. Also,
Address "5H" is specified for converter ROM (RO1)
There is a converter (CV) camera book at this address
By attaching to the values of the body (BD) and interchangeable lens (LE)
Data γ corresponding to the amount of change in focal length
Has been done. At this time, the decoder (DE5) output terminal (g
0) is "High", so the adder circuit (AL1)
Focal length data log 2 Added constant value data γ to f
Data is sent to the camera body. This focal length is
It is used to determine the warning of shake-out. When the output of the counter (CO9) becomes “0110”, the zoom lens
In the case of the
Data is output, and the terminal (h4) becomes "High".
Data is output from the input terminal α2 of the data selector (DS1).
I will be forced. As a result, the ROM (RO3) is "010 ****
* ”Address is specified.
When the focal length of the lens is changed from the shortest focal length
Data of the aperture value change of the effective aperture power at the shortest focal length of
ΔAv is stored according to the set focal length. Also solid
In the case of a lens with a fixed focal length, ΔAv = 0, so the address
The data "0" is stored in "O6H". This data
Is a camera with or without a converter (CV)
It is sent to the body as it is. This data is for the open side light.
Calculation for removing aperture component from data (Bv-Avo
-ΔAv) -Avo-ΔAv and set or calculated aperture opening
The effective aperture is controlled by the calculation Av-Avo-ΔAv
Be done. When the output of the counter (CO9) becomes “0111”, the zoom lens
In this case, the output of the decoder (DE9) becomes “1011φ” and R
For the OM (RO3), the address "011 *****" is specified
It At this address, the conversion factor corresponding to the set focal length
The data KD of is stored. Also, the fixed focal length
For ROMs, the address of "07H" is specified for ROM (RO3).
The fixed conversion coefficient data KD is stored at this address.
Has been done. Mechanical transmission that compensates for changes in conversion factors
If a converter with a built-in mechanism is installed,
Data is transmitted to the body as it is. This converter
The number data KD is the default calculated by the microcomputer (MC1).
Circus value | ΔL1 | to calculate | ΔL1 | × KD
For obtaining the data of the drive amount of the motor drive mechanism (LMD)
Can be The conversion coefficient data is, for example, 8-bit data.
If, upper 4 bits exponent and lower 4 significant digits
It is divided into parts and is coded as shown in Table 6. The conversion coefficient data KD is KD = (k3 ・ 2 0 + K2 ・ 2 -1 + K1 / 2 -2 + K0.2 -3 ) ・ 2 n ・ 2 m m = k4 ・ 2 0 + k5 ・ -1 + k6 ・ 2 + K7 ・ 2 3 It is calculated by n = constant value (for example, -7). Note that k3 is the most significant bit of the significant figure part.
It is always "1" because it exists. Therefore,
If you do this, the KD value will change in a fairly wide range.
Is easy to operate in the microcomputer (MC1) and has a small number of bits
It can be stored as data. FIG. 7 shows the conversion coefficient data output from the zoom lens and used for competition.
Is a graph showing the relationship between the focal length and the
g 2 Corresponding to f, the vertical axis corresponds to the conversion coefficient KD. By the way, KD is shown by the straight lines A, B, C according to the focal length f.
In this embodiment, the polygonal line A ′,
As shown by B ′ and C ′, the value of KD is set to the discrete value of K1 to K33.
is doing. Where K1 = 2 0 In case of KD = “01111000”, K2 = 2 -1 +2 -2 +2 -3 +2 -Four In case of KD = “01101111”, K3 = 2 -1 +2 -2 +2 -3 If KD = "01101110", K4 = 2 -1 +2 -2 +2 -Four In case of KD = “01101101”, K31 = 2 -Four +2 -6 In case of KD = “00101000”, K32 = 2 -Four +2 -7 In case of KD = “00111001”, K33 = 2 -Five In the case of, KD = “00101000”. The focal length of the zoom lens is 5 bits on the code plate (FCD).
It is divided into many areas according to the output of
For example, if it is a lens that changes the straight line A, 9 zones of f17 to f25
It is divided into With this configuration, in the zone of f25
If so, the value is closest to and the smallest K value in the zone.
The small data of K17 and f24 are the zones of K16 and f23.
If the zone is K15, the data of f13 will be output as K13.
To be done. The reason for setting the value of KD in this way is as follows.
That is, if KD is set to a value larger than the actual data,
Required to drive the focusing lens to the in-focus position
Than the number of encoder (ENC) pulses corresponding to the drive amount
N obtained by N−KD × | ΔL | is larger, and the result is
The lens past the in-focus position, and
This is because the hunters hunt. Therefore,
If KD is set to a small value, it will gradually focus from one direction
It will be closer to the position, and there will be a difference with the actual KD
The focus lens is designed to be as small as possible.
The time required for the lens to reach the in-focus position can be shortened. If the KD value is always set to a smaller value, the actual KD value
Time to reach the in-focus position because the difference between
Can take too long, but save time
In order to obtain the actual value in the zone f18, k12 shown in B '
A small area that is slightly larger than
You may be allowed to go too far from the in-focus position.
Yes. Also, if the shooting distance is infinite, the solid line C (∞) is a short distance.
And the one-dot chain line C (near), depending on the shooting distance
There are zoom lenses whose numbers change drastically. This zoom
For example, the shooting distance is infinite in the focal length f1 zone.
When changing from the large position to the closest position, KD = k17 = 2
-2 To KD = K15 = 2 -2 +2 -Four Change to. Zoo like this
In this embodiment, infinity
Only the conversion coefficient data at the position of is stored in ROM (RO3).
Area near the focus range (hereinafter referred to as the near focus zone).
The positive / negative of ΔL (that is, the defocuser
Drive the focusing lens based only on the signal
When moving into the near focus zone, the above KD and | ΔL |
Drive the lens based on the value of N
ing. In addition to the focal length code plate (FCD)
A code plate for the shooting distance is installed separately, and these code plates
Specify the ROM (RO3) address to specify the correct conversion coefficient data.
Although it may be possible to obtain the data,
Problems such as an increase in the number of bits for specifying the memory space and an increase in ROM capacity
Is not practical. Furthermore, set the zoom ring from the position of the shortest focal length, for example.
Even if you move to the short focus side, macro photography can be performed.
There is a zoom lens configured to. (This zoom
Since the mechanism of the lens has nothing to do with the gist of the present application, its explanation
Is omitted. ) For such a zoom lens,
In the example, when switching to macro photography, the code plate (FCD)
The data of “11111” is output from the specific address “01
"111111" is specified. Macro shooting place
The position of the pupil diameter has changed, or the depth of focus has become hot.
And the aperture value becomes dark, and the focus adjustment by AF mode
Since the node becomes difficult, the address must be "φφφφ011
The data of 0 "is stored, and its k3 is" 0 ".
It The microcomputer (MC2) uses this data for macro photography
It is determined that the switch has been switched to
Focus on display-only FAM mode even if F mode is set
Switching the adjustment mode automatically. Also, if you do not set the shooting distance to the closest position,
A zoom lens configured to prevent switching to shooting.
There is a gap. With such a lens, you can switch to macro photography.
The switch (MCS) in Fig. 5 is closed by the replacement operation.
Via inverter (IN17) and inverter (IN19)
The outputs of the circuits (AN40) to (AN44) all become "Low".
This specifies the ROM (RO3) address "01100000".
To be done. The data of "φφφφ0100" is stored as KD at this address.
It is stored, and the microcomputer (MC1) uses this data k3 = k
When 1 = 0, the operation to switch to macro photography was performed.
It is determined that the shooting distance is automatically set to the closest position.
The focus lens by rotating the motor (MO)
You The light-receiving part for focus detection is an exit pupil with a shooting lens
The pupil diameter and the light receiving element (figure
(Optically equivalent to the Lum plane)
From the subject that has passed through the shooting lens according to the position of the pupil
Whether or not the light receiving element receives the light is determined. Therefore,
Depending on the lens, some light may not enter the light receiving part.
There are some. Focus detection is performed with such a lens.
However, it is not reliable, so operation in AF mode or FA mode
Is not recommended. So for such a lens
In case of ROM (RO3) address (for zoom lens
“011 ****”, or “0000011” for a fixed focal length lens
Store the data of "φφφφ0001" in 1 ") as KD.
Ku. The microcomputer (MC2) uses this data to execute # 16
At step -2, the microcomputer (MC1) switches to AF mode or FA
Do not perform focus detection operation by mode. Address circuits (AN40) to (AN4
The data of “00000” or “11111” is output from 4).
ROM (RO3) addresses “00100000”, “0011111”
Data corresponding to the focal length f at the time of macro shooting is displayed in 1 ",
Addresses “01000000” and “01011111” are used for macro shooting.
The data corresponding to ΔAv is stored in each ROM.
It is output from (RO3). Also, the rotation of the drive shaft in the camera body is transmitted to the focus adjustment member.
For interchangeable lenses that do not have a reach mechanism,
(2) "φφφφ0110" is written as KD as well as switching to shooting
It is remembered that only FA mode is possible. Furthermore, above
A converter that does not have a transmission mechanism like the lens described above
In the case of, the output of the counter (CO2) is "0111"
Sometimes ROM (RO1) outputs "φφφφ0110", and
Only the terminal (g1) of the two decoders (DE5) becomes "High"
Transfer data from ROM (RO1) to camera body
If any interchangeable lens is attached, FA mode
Only the operation is performed. Insert converter to connect between camera body and interchangeable lens
If you do, the converter changes the focal length, so
The drive shaft from the camera body is
It is necessary to install a reduction mechanism in the converter to reduce the amount of rotation.
There is a point. That is, the amount of rotation of the drive shaft of the camera body is unchanged
Only the mechanism that transmits to the drive axis of the focusing lens is controlled.
When preparing for a barter, the KD of the lens is used as is in the camera body
To drive the camera drive axis by N = KA × | ΔL |
When rotated, only the amount corresponding to the increase in the focal length is brought into focus.
There is a problem that it is displaced from the storage. So the above
This embodiment is applied to a converter that does not have a speed reduction mechanism.
So, for example, if you want to convert the focal length by 1.4 times, use K
If D is 1/2 and double converter, KD is 1/4
The data of the exponent part of the upper 4 bits of KD (k7k6
k5k4), subtract 1 for a 1.4x converter and double
For converters, I try to reduce 2. Returning to Fig. 5, the output of the counter (CO5) becomes "1000".
Then, as shown in Table 4, the converter circuit (CVC) ROM
The converter (CV) is installed from (RO1)
The check data of "01010101" that indicates is output. This
, The terminal (g1) of the decoder (DE5) becomes “High”.
This check data is for the lens circuit (LEC)
AND circuit (AN
31), sent to the camera body (BD) via the OR circuit (OR3)
To be When the output of the counter (CO5) becomes "1001", this converter
Based on the vignetting of the light due to the limited light flux
Aperture value data Av | determined based on is output from ROM (RO1)
Same as above, AND circuit (AN31), OR circuit
It is sent to the camera body via (OR3). This data Av |
Is the ratio of the open aperture value data Avo + β in the microcomputer (MC2)
Compared. When Avo + B <Av |, the side light output is Bv−Av
Since it is |, (Bv−Av |) + Av | = Bv and aperture
The step number data Av− (Avo + β) is calculated. As described above, the lens (LE) and converter (C
When the data acquisition from (V) is completed,
In the row chart, A- of the output of the side light circuit (LMC)
D conversion is performed (# 13), and the A-D converted side light
The output data is stored in a predetermined register (# 13). In step # 15, is the release flag RLF "1"?
Is determined and this flag is "1", the step in # 28
Go directly to step # 16 to # 26 when "0"
After that, the process proceeds to step # 28. Where release
Lag RLF has a release switch (RLS) closed # 59
If the interrupt operation after the step is performed,
The value that is set to “1” when the exposure control value is being calculated.
It's a rug. The exposure control value is calculated during operation for this interrupt.
When it is determined in step # 63 that it has not been issued,
Performs the above-mentioned data acquisition operation in the steps after # 5.
No, if RLF = 1 in step # 15, the steps after # 16
Flow of focus detection operation by AF and FA modes in step
And jumped and calculated exposure in step # 28.
After that, it goes through the steps of # 30 and the exposure after # 64.
Take control. In step # 16, focus in AF mode or FA mode
It is possible to judge whether the point detection operation is possible or not.
If so, go to step # 17, if not, go to step # 28.
Move to Web. In this step, the lens is attached
Whether or not (# 16-1) depends on the diameter and position of the exit pupil.
Whether the conditions match the light receiving part (# 16-2), focus
Light from the subject is incident on all the light receiving parts for detection.
Whether or not (# 16-3), whether the side light switch is closed
Whether or not (# 16-5) is sequentially determined. Check data “01010101” is not entered here.
In case (# 16-1), if k3 to K0 of KD data is “0001”.
(# 16-2), the diameter of the exit pupil of the lens is too small to open
Aperture value Avo, Avo + β, Avo + ΔAv or Av | is constant Aperture value

【例えば5(F5.6)】Avcより大きい場合(#16−
3)には、ともにAFモード,FAモードによる焦点検出動
作は不可能であるので、#16−4のステップにおいて焦
点検出動作が行なわれないことが表示制御回路(DSC)
で警告された後に、#28のステップに移行する。また、
側光スイッチ(MES)が開放されていて(i0)が“Low"
の場合("16−5)には、FAモードのみの動作を15秒間
だけ行なわせるために#28のステップに移行する。 チェックデータの入力、k3〜K0≠“0001"、Avo,Avo+
β,Avo+AvまたはAv|≦Avc<(i0)の“High"がともに
判別された場合には#17以降のステップに移行する。 #17のステップでは、出力端子(O1)が“High"にな
り、マイコン(MC1)はその入力端子(i11)の“High"
によりAF,FAモードによる焦点検出動作を開始する。#1
8のステップではマイコン(MC2)に読込まれた変換係数
のデータKDを入出力ポート(I/O)からデータバスに出
力して、ラッチ回路(LA)にラッチさせる。このラッチ
回路(LA)でラッチされたデータは、マイコン(MC1)
の後述のNo.93のステップで読込まれる。 #19のステップでは、カウンタ(CO9)の出力が“0100"
のときに読込まれたデータに基づいて、装着されたレン
ズが、撮影距離に応じて変換係数KDが変化する形式のレ
ンズかどうかを判別する。ここで、変化するレンズであ
ればマイコン(MC2)の出力端子(O3)即ちマイコン(M
C1)の入力端子(i13)を“High"に、変化しないレンズ
であれば“Low"にする。マイコン(MC1)はこの信号に
より、詳細は、後述のNo.192ないしNo.197のステップで
述べるが、結像位置が近合焦ゾーン内にあるか否かまた
は積分時間が一定値より長いか否かに応じてAFモードで
のモーター(MO)の駆動を切換える。 #22のステップでは同じくカウンタ(CO9)が“0100"の
ときに読込まれたデータに基づいてフォーカス用レンズ
を繰出すときのモーター(MO)の回転方向を判別する。
ここで、時計方向であればマイコン(MC2)の出力端子
(O2)即ちマイコン(MC1)の入力端子(i12)を“Hig
h"に、反時計方向であれば“Low"にする。マイコン(MC
1)はこの端子(i12)への信号とデフォーカス方向の信
号とでモーター(MO)の回転方向を決定する。 #25のステップでは、変換係数データKDの3番目のビッ
トk3が“1"か“0"かを検知することにより、装着された
コンバータ(CV),レンズ(LE)でAFモードによる焦点
調節動作が可能かどうかを判別する。このとき、k3=1
ならAFモードが可能なので、フラグMFFを“0"にして#2
8のステップに移行する。一方、k3=0ならAFモードが
不可能なのでMFF“1"にして、次にステップ(FAS)によ
りAFまたはFAのいずれかのモードが選択されているかを
検知する。ここで、AFモードが選択されていて入力端子
(i1)が“High"であれば、撮影者によりAFモードが設
定されていても自動的にFAモードに切換えられることを
表示制御回路(DSC)によって警告表示を行なわせて、
#28のステップに移行する。入力端子(i1)が“Low"な
ら、FAモードがもともと選択されているのでそのまま#
28のステップに移行する。 #28のステップでは、#5ないし#14のステップで読込
まれた設定露出制御値、測光値、レンズからのデータに
基づいて公知の露出演算を行ない、露出時間と絞り値の
データを算出し、フラグLMFを“1"にする。 #30のステップではレリーズフラグRLFが“1"かどうか
判別し、“1"のときは#64以降のステップの露出制御動
作のフローに戻り、“0"のときは#31のステップに移行
する。#31のステップでは出力端子(O8)を介して“Hi
gh"にすることによりインバータ(IN8)をトランジスタ
(BT3)を導通させ、発光ダイオード(LD10)〜(LD1
n)による警告表示および液晶表示(DSP)による露出制
御値の表示を行なわせる。 #33のステップでは側光ステップ(MES)の開閉状態を
判別する。ここで、側光スイッチ(MES)が閉成されて
いて(i0)が“High"であれば、タイマー割込みのため
の15秒カウント用のデータをタイマー用のレジスタTcに
設定し(#34)、タイマーをスタートさせ(#35)、タ
イマー割込を可能(#36)として#2のステップに戻
る。この場合には、(i0)が“High"(側光スイッチ(M
ES)が閉成されたまま)なので、直ちに#3のステップ
に移行してタイマー割込を不可能にして前述と同様の動
作を繰返す。 一方、側光スイッチ(MES)が開放されていて(i0)が
“Low"であれば、スイッチ(FAS)によりAF,FAのいずれ
のモードが選択されているかが判別され、(#37)、レ
ンズからのデータに基づいて#25のステップで定められ
たモードが判別(#38)される。ここで、入力端子(i
1)が“Low"でFAモードが選択されている(#37)か、
またはAFモードが選択されていてもフラグMFFが、“1"
でレンズ側がFAモードでの動作しかできない場合には、
#40のステップに移行する。AFモードが選択され且つMF
Fが“0"の場合には、出力端子(O1)を“Low"に(#3
9)してマイコン(MC1)の動作を停止させた後に#40の
ステップに移行する。尚、#37,#38のステップでFAモ
ードが判別されたときは、端子(O1)は“High"のまま
で#40のステップに移行し、マイコン(MC1)の動作は
移行される。 #40のステップではスイッチ(EES)の開閉状態が判別
され、露出制御機構のチャージが完了しておらず(i2)
が“High"であれば、#47のステップに移行して後述す
る初期状態への復帰動作を行なう。露出制御機構のチャ
ージを完了していて(i2)が“Low"であれば、#36のス
テップでタイマー割込を可能とした後に#2のステップ
に戻り、再び側光スイッチ(MES)が閉成されて入力端
子(i0)が“High"になるか或いはタイマー割込みがあ
るのを待つ。 さて、タイマー割込があるとレジスタTcの内容から1が
差引かれ(#45)、Tcの内容が“0"になったかどうかが
判別される(#46)。Tc≠0の場合、#5以降のステッ
プに移行して前述のデータの取込、露出演算等の動作を
行なう。このとき、FAモードであれば、端子(O1)が
“High"なのでマイコン(MC1)はFA用の動作を繰り返
し、AFモードであれば#39のステップで端子(O1)が
“Low"にされているのでマイコン(MC1)の動作は停止
している。 一方、Tc=となると出力端子(O0),(O1),(O8)が
“Low"とされて、トランジスタ(BT1)及びバッファ(B
F)による給電の停止,FAモードの場合のマイコン(MC
1)の動作停止、トランジスタ(BT3)による給電の停止
が行なわれる。さらに、液晶表示部(DSP)のブランク
表示、フラグMFF,LMFのリセットを行なった後に#2の
ステップに戻る。 以上の動作を要約すると、側光スイッチ(MES)が閉成
されている間は、データの取込み,マイコン(MC1)の
動作,露出演算,表示の動作が繰返し行なわれる。次
に、側光スイッチ(MES)が開放されると、AFモードの
ときは、直ちにマイコン(MC1)の動作は停止されてデ
ータの取込み,露出演算,表示の動作が15秒間繰返さ
れ、FAモードのときは、データの取込み、マイコン(MC
1)によるFA動作,露出演算,表示の動作が15秒間繰返
される。また、露出制御機構のチャードが完了していな
いときは、側光スイッチ(MES)が開放されるとデータ
の取込み,マイコン(MC1)の動作,露出演算,表示の
動作を直ちに停止する。 なお、一旦、#16−4,#27−2のステップで警告表示を
行なっても次のフローの時点で警告の必要がなくなれ
ば、この警告をキャンセルするためのデータを表示制御
回路(DSC)に伝達する必要があることはいうまでもな
い。 次に露出制御機構のチャージが完了した状態でレリーズ
スイッチ(RLS)が閉成された場合の動作を説明する。
この場合、マイコン(MC2)はどのような動作を行なっ
ていても直ちに#59のステップからのレリーズ割込みの
動作を行なう。 まず、レンズからのデータの読込み中に割込みがかかる
場合を考慮して、端子(O6)を“Low"にしてコンバータ
およびレンズの回路(CVC),(LEC)をリセット状態に
し(#59)、端子(O1)を“Low"にして、マイコン(MC
1)によるAF又はFAモードの動作を停止させる(#6
0)。さらに出力端子(O8)を“Low"にして警告用の発
光ダイオード(LD10)〜(LD1n)を消灯させて(#6
1)、レリーズフラグRLFに“1"を設定(#62)した後
に、前述のフラグLMFが“1"かどうかを判別する(#6
3)。 ここで、フラグLMFが“1"であれば露出制御値の算出が
完了しているので#64のステップに移行する。一方、LM
Fが“0"であれば、露出制御値の算出が完了していない
ので#5移行のステップに移行して露出制御値を算出し
て#64のステップに移行する。 #64のステップでは、#28のステップで算出された絞り
込み段数のデータAv−Avo,Av−(Avo+ΔAv),Av−(Av
o+β),Av−(Avo+β+ΔAv)がデータバス(DB)に
出力され、出力端子(O4)からデータ取込み用のパルス
が出力される(#65)。これによって露出制御装置(EX
C)に絞り込み段数のデータが取込まれるとともに、露
出制御機構の絞り込み動作が開始され、取込まれた絞り
込み段数だけ絞りが絞り込まれると絞り込み動作が完了
する。 出力端子(O4)からのパルス出力から一定時間が経過す
ると(#66)、算出された露出時間のデータTvがデータ
バス(DB)に出力され、出力端子(O5)からデータ取込
み用のパルスが出力される(#67,#68)。このパルス
によって露出制御装置(EXC)には露出時間のデータが
取込まれるとともに、内蔵されたミラー駆動回路により
ミラーアップ動作が開始される。ミラーアップが完了す
ると、シャッター先幕の走行が開始するとともに、カウ
ントスイッチ(COS)が閉成して取込まれた露出時間デ
ータに対応した時間のカウントが開始する。カウントが
終了するとシャッター後幕の走行が開始され、後幕走行
の完了,ミラーのダウン,絞りの開放により、スイッチ
(EES)が閉成する。 マイコン(MC2)は、このスイッチ(EES)が閉成して入
力端子(i2)が“High"になったことを判別すると(#6
9)、レリーズフラグ(RLF)をリセットして(#70)、
側光スイッチ(MES)が閉成されていて入力端子(i0)
が“High"かどうかを判別する(#71)。ここで、(i
0)が“High"であれば、#2以降のステップに戻り、前
述のデータ取込み、マイコン(MC1)の動作,露出演
算,表示の動作を繰返す。一方、#17のステップで側光
スイッチ(MES)が開放されていて入力端子(i0)が“L
ow"ならば#47以降のステップに移行して、マイコン(M
C2)を初期状態にセットして#2のステップに戻る。 第8図,第9図,第10図は、マイコン(MC1)の動作を
示すフローチャートである。マイコン(MC1)の動作
は、以下の3つのフローに大別される。 No.1のステップで始まるフローは、マイコン(MC2)か
らの合焦動作指令により開始されるメインのフローであ
り、制御回路(COT)によるCCD(FLM)の動作開始(No.
8)、モータ回転の有無の判別(No.10〜No.13)、CCDの
最長積分時間の計時および最長積分時間経過時の動作
(No.14〜19)、フォーカス用レンズの終端位置の検知
と最長積分時間の計時(No.35〜44)、終端位置でのモ
ータ停止および低コントラスト時の回転再開(No.43〜4
8,51〜67)、マイコン(MC1)の動作停止時の初期設定
(No.25〜33)、低輝度時のCCDデータの変換(No.78〜8
0)、デフォーカス量およびデフォーカス方向の算出(N
o.81〜91)、AFモード動作が可能なレンズか否かの判別
(No.92〜96)、コントラストの判別(No.100)、AFモ
ードの場合の合焦ゾーンへのモータ駆動および合焦判別
(No.125〜196)(第9図)、FAモードの場合の合焦判
別(No.240〜261)(第10図)、低コントラスト時の動
作(No.105〜115,205〜214)、最近接撮影位置でマクロ
撮影への切換が可能なレンズの場合のモータ駆動(No.2
20〜232)等の動作が行なわれる。 No.70〜76のステップは、制御回路(COT)からの端子
(it)へのCCD積分完了信号によりCCD出力データの読込
み動作が行なわれる端子割込みのフローである。また、
第8図のNo.200〜204のステップは、エンコーダ(ENC)
を介してカウンタECCから一致信号が出力することによ
り合焦判別がなされるカウンタ割込みのフローである。
尚、一旦、端子割込みが可能とされると、以後にカウン
タ割込みの信号が発生しても端子割込みの動作終了後で
ないとカウンタ割込みは実効されないように、両者の割
込み動作の優先順位が定められている。以下このフロー
チャートに基づいて本実施例におけるAF,FAモードの動
作を説明する。 FAモードの動作を説明する。 まず、電源スイッチ(MAS)の閉成に応答してパワーオ
ンリセット回路(POR1)からリセット信号(PO1)が出
力され、このリセット信号でマイコン(MC1)は特定番
地からのリセット動作(No.1)を行なう。No.2のステッ
プではスイッチ(FAS)が閉成されて入力端子(i14)が
“High"となっているかどうかを判別する。ここで、(i
14)が“High"であればAFモードが選択されているので
フラグMOFに“0"を設定し、“Low"であればFAモードが
選択されているのでフラグMOFに“1"を設定する。 No.5のステップは、マイコン(MC2)の出力端子(O1)
が“High"即ち入力端子(i11)が“High"になっている
かどうかを判別する。ここで、入力端子(i11)が“Lo
w"ならNo.2のステップに戻って以上の動作を繰り返す。
(i11)が“High"になっていることが判別されると、出
力端子(O16)を“High"にして(No.6)、インバータ
(IN5)を介してトランジスタ(BT2)を導通させて電源
ライン(VF)からの給電を開始させる。次に、CCD(FL
M)の積分時間計時用レジスタITRに最長積分時間に対応
した固定データC1を設定する(No.7)。次に、出力端子
(O10)から“High"のパルスを出力して(No.8)、制御
回路(COT)にCCD(FLM)の積分動作を開始させ、割込
を可能(No.9)とした後にNo.10のステップに移行す
る。 No.10ないし13のステップでは、モーター(MO)が回転
しているか否かが順次判別される。即ち、第1回目の合
焦検出動作がなされているか否かがFPFにより(No.1
0)、フォーカス用レンズ(FL)の駆動位置が最近接ま
たは無限大の終端位置に達しているか否かが終端フラグ
FNFにより、(No.11)、駆動位置が合焦ゾーン内に入っ
ているか否かが合焦フラグIFFにより(No.12)、スイッ
チ(FAS)によりいずれのモードが選択されているかが
フラグMOFにより(No.13)、それぞれ順次判別される。 ここで、1回目の合焦検出動作がなされているか、レン
ズが終端位置に達しているか、合焦ゾーンに入っている
か、またはFAモードが選択されている場合は、モーター
(MO)の回転は停止しているのでNo.14以降のステップ
に移行する。また、2回目以降の合焦検出動作がなされ
ており、レンズが終端位置,合焦ゾーンに達しておら
ず、且つAFモードが選択されている場合は、モーター
(MO)は回転しているのでNo.35以降のステップに移行
する。尚フラグFPFは、第1回目の合焦検出動作となさ
れている期間は“1"、2回目以降の動作時は“0"にな
り、終端フラグENFはフォーカス用レンズ(FL)の駆動
位置が最近接位置或いは無限大位置に達していてモータ
ー(MO)をそれ以上回転させてもエンコーダー(ENC)
からパルスが出力されないときに“1"になり、合焦フラ
グIFFはレンズか合焦ゾーンにはいると“1",はずれてい
るときは“0"になる。 No.14以降のステップでは、まず積分時間計時用レジス
タITRの内容から“1"が差引かれ(No.14)、このレジス
タITRからボローBRWがでているかどうかを判別する(N
o.15)。ここで、ボローBRWがでていなければ、低輝度
フラグLLFに“0"を設定し(No.18)、マイコン(MC2)
から入力端子(i11)にマイコン(MC1)を動作させるた
めの“High"信号が入力しているかどうかを判別し(No.
19),(i11)が“High"であればNo.14のステップに戻
り、この動作を繰返す。また、“Low"であればNo.25以
降のステップに移行して初期状態への復帰動作を行なっ
た後に、No.2のステップに戻って再び入力端子(i11)
が“High"になるのを待つ。一方、No.15のステップでボ
ローBRWがでたことが判別されると、最長の積分時間が
経過したことになり、出力端子(O11)にパルスを出力
(No.16)してCCD(FLM)の積分動作を強制的に停止さ
せ、低輝度フラグLLFを“1"にして、制御回路(COT)か
ら割込端子(it)に割込信号が出力するのを待つ。 No.35以降のステップでは、まず、計時用レジスタTWRに
一定時間データC2が設定され(No.35)、レジスタITRの
内容からn(例えば3)を差引いてボローBRWがでてい
るかどうかを判別する。(No.37)。ここで、レジスタI
TRからボローBRWがでていると、前述と同様に、最長積
分時間が経過したことになるので、No.16のステップに
移行してCCD(FLM)の積分動作を強制的に停止させ、低
輝度フラグLLFを“1"にして制御回路(COT)から割込端
子(it)に割込信号が入力するのを待つ。 また、ボローBRWがでていなければ低輝度フラグLLFを
“0"にし、レジスタTWRから“1"を差引いてボローBRWが
出ているかどうかを判別する(No.40)。このとき、ボ
ローBRWがでていなければな入力端子(i11)が“High"
になっているかどうかをNo.41のステップで判別する。
(i11)が“High"になっていればNo.36のステップに戻
り、“Low"になっていればNo.25のステップに移行す
る。尚、C1/n>c2になっていて、No.37のステップでの
判別でボローBRWがでるまでの間に、No.40のステップで
の判別で複数回のボローがでる。 No.40のステップでボローBRWがでると、エンコーダ(EN
C)からのパルス数をカウントしたデータECDをレジスタ
ECD1に設定し、(No.42)、この設定データとレジスタE
CR2の内容とを比較する(No.43)。尚、レジスタECR2に
はそれ以前に取込まれたカウントデータが設定されてい
る。ここで、レジスタECR1,ECR2の内容が一致しない場
合は、レンズが移動していることになるので、レジスタ
ECR1の内容をレジスタECR2に設定(No.44)してNo.35の
ステップに戻る。 No.43のステップでレジスタECR1とECR2との内容が一致
する場合は、前回に取込まれたエンコーダ(ENC)から
のパルスのカウントデータが変化していない、即ちレン
ズが移動せず、最近接位置或いは無限大位置に達してし
まっていることになる。従ってこの場合には、割込を不
可能(No.45)とし、出力端子(O11)にパルスを出力
(No.46)してCCD(FLM)の積分動作を強制的に停止さ
せ、出力端子(O12),(013)をともに“Low"(No.4
7)にしてモーター(MO)の回転を停止させ、低コント
ラストフラグLCFが“1"かどうかを判別する(No.48)。
尚、このフラグLCFは複写体が低コントラストであっ
て、CCD(FLM)の出力に基づいて算出されたデフォーカ
ス量ΔLが信頼性に乏しいときに“1"になる。ここで、
フラグLCFが“0"のときには終端フラグENFを“1"にして
(No.49)、第10図のNo.270のステップに移行する。No.
270のステップでは、入力端子(i14)が“High"のまま
かどうかを判別し、(i14)が“High"でAFモードが選択
されたままであればそのままNo.2のステップへ移行す
る。一方、(i14)が“Low"になっていてFAモードに切
換えられていれば、フラグFPFを“1"にし、端子(O1
2),(O13)を“Low"にしてモーター(MO)を停止し、
フラグLCF,LCF1,LCF3を“0"にした後にNo.2のステップ
へ戻る。 以上の動作を要約すると、マイコン(MC2)からの合焦
検出動作の指令により、CCDの積分を開始させ、割込を
可能として、最長の積分時間のカウントを開始させる。
このときモーター(MO)が回転していなければ、この最
長積分時間をカウントしながら割込信号が入力するのを
待ち、最長時間が経過しても割込信号が入力されなけれ
ばCCDの積分を強制的に停止させて、割込信号が入力す
るのを待つ。一方、CCDの積分動作を開始させたときに
モーター(MO)が回転していれば、積分時間のカウント
中にレンズが終端位置に達しているかどうかを周期的に
判別しながら割込信号の入力を待ち、最長積分時間が経
過しても割込信号が入力せず、且つレンズが終端に達し
ていなければ、CCDの積分を強制的に停止させて割込信
号を待つ。また、レンズが終端に達していれば、割込を
不可能として積分を強制的に停止させ、モーター(MO)
の回転を停止させて、再びCCDの積分を行ない、後述す
るように、ΔLを算出して合焦かどうかを判別し、以後
はマイコン(MC2)からマイコン(MC1)の入力端子(i1
1)へ“High"の信号が入力されていてもマイコン(MC
1)は合焦検出,焦点調整の動作を行なわず、この信号
が“Low"になって再度側光スイッチ(MES)が閉成され
入力端子(i11)が“High"になるとNo.2のステップから
の動作を開始する。 さて、No.48のステップでフラグLCFが“1"であることが
判別されると、次にフラグLCF1が“1"かどうかが判別さ
れる。(No.51)。ここで、LCFが“0"であればLCF1を
“1"にして(No.52)、No.60のステップで合焦方向フラ
グFDFが“1"かどうかを判別する。なお、フラグLCF1は
レンズ位置が合焦位置から大幅にずれている所謂バカボ
ケの状態にあるか否かを判定するためにコントラストが
所定の値以上になるレンズ位置を走査するためにフラ
グ、フラグFDFは、ΔL>0でレンズを繰込むとき(前
ピン)は“1"、ΔL<0でレンズを繰出すとき(後ピ
ン)は“0"になるフラグである。このときFDFが“1"な
ら“0"に、“0"なら“1"に設定し直され、それぞれ入力
端子(i12)が“High"かどうかが判別される(No.63、6
4)。即ち、レンズを繰出すためのモーターの回転方向
を判別し、No.63のステップで(i12)が“High"なら、
レンズを繰出すためには時計方向に回転させなければな
らないので、No.66のステップに移行して端子(O12)を
“High",(O13)を“Low"にする。(i12)が“Low"な
ら、レンズを繰出すためにはモーター(MO)を反時計方
向に回転させなければならないので、No.65のステップ
に移行して端子(O12)を“Low",(O13)を“High"にす
る。また、No.64のステップで(i12)が“High"なら、
レンズを繰込むには反時計方向にモーター(MO)を回転
させなければならないのでNo.65のステップに移行す
る。(i12)が“Low"なら、レンズを繰込むには時計方
向にモーター(MO)を回転させなければならないのでN
o.66のステップに移行する。次に、No.67のステップで
は端子(O14)を“High"にしてモーター(MO)を高速で
回転させ、No.270のステップに移行する。 No.51のステップでフラグLCF1が“1"であることが判別
されると、低コントラストのままで最近接または無限大
の終端位置に達したことになり、モーター(MO)を停止
させ(No.53)、(i11)が“Low"になるのを待ち(No.5
5)、フラグLCF,LCF1,LCF3を“0"にしてNo.25のステッ
プに戻る。 さて、低コントラストの場合の一連の動作を説明する。
まず、AFモードで低コントリストの場合、出力ポート
(OP0)に“101"を出力して警告表示を行ない(No.10
5)、次にフラグLCFが“1"になっているかどうかを判別
する。(No.107)。ここで、フラグLCFが“1"でなく、
今回はじめて低コントラストになったのであれば、フラ
グLCF,LCF3を“1"にして(No.108,109)、No.110のステ
ップで最初の動作(FPF=1)かどうかを判別する。フ
ラグFPFが“0"の場合はそれまでの動作では低コントラ
ストではなく、今回の測定が誤りである可能性もありう
るので、No.280のステップに移行して、No.270,271のス
テップを経てNo.2のステップに戻り、再度測定を行なわ
せる。このとき、モーターは前回の算出値に向って回転
している。尚、終端フラグENFが“1"でNo.110のステッ
プを経てNo.280のステップに移行した場合は、モーター
(MO)の回転は停止しているので、入力端子(i11)が
“Low"になるのを待って(No.281)、フラグLCF,LCF3を
“0"にして(No.282)からNo.25以降のステップでマイ
コン(MC1)の動作停止のための初期値設定を行なう。 また、No.110のステップでフラグFPFが“1"で最初の動
作であることが判別されると、フラグFPF,LCF3を“0"に
して(No.111,113)、No.205のステップでデフォーカス
量ΔLの正負を判別する。ΔL>0で前ピンならフラグ
FDF“1"、ΔL<0で後ピンならフラグFDFを“0"とし
(No.206,209)、前述のNo.63〜66のステップと同様
に、レンズを繰出すためのモーター(MO)の回転方向に
応じてモーター(MO)を反時計方向或いは時計方向に回
転させる。次にNo.212のステップで積分時間(レジスタ
ITRの内容)が一定値C7よりも短時間かどうかを判別し
て、積分時間が一定値以下((ITR)≧C7)のときは端
子(O14)を“High"としてモーター(MO)を高速駆動さ
せ(No.213)、積分時間が一定値以上のときは端子(O1
4)を“Low"としてモーター(MO)を低速駆動させ(No.
214)、No.270のステップを経てNo.2のステップに戻っ
て、再び測定を開始させる。このようにして、以後測定
値が低コントラストでない値になるまで、最初にきまっ
た方向へレンズを移動させる。 低コントラストのままでレンズが一方の終端位置に達す
ると、No.52のステップでフラグLCF1を“1"にして移動
方向を逆転させ、更に測定を繰返しながらレンズを移動
させる。低コントラストのままで更に、他の終端位置に
達すると一方の終端から他方の終端までレンズが走査さ
れたことになるので、No.55のステップに移行して、動
作を停止する。なお、この動作中に測定値が低コントラ
ストでないことが判別されるとNo.101のステップに移行
して、後述のデフォーカス量に基づくレンズ制御の動作
を行なう。ここで、突然低コントラストになったとき
は、前述のように一回目の測定値は無視して再度測定を
行なわせ、このときも低コントリストならフラグLCF3は
“1"になっているので(No.112)、LCF3を“0"にしてN
o.205のステップに移行し、このときの測定値に基づい
てレンズの移動方向をきめてコントラストが一定値以上
になる位置をさがす。 FAモード(MOF=1)で低コントラストの場合には、No.
106のステップからNo.115のステップに移行して、フラ
グLCFを“1"、フラグLCF1,LCF3を“0"、フラグFPFを
“1"、終端フラグENFを“0"、出力端子(O12),(O1
3)を“Low"として、No.258のステップに移行し、後述
する動作を行なって、再び測定を行なう。 マイコン(MC1)が、No.9〜13のステップからNo.14,15,
18,19のループまたはNo.35〜40,42〜44のループまたはN
o.36〜41のループを実行しているときに、CCD(FLM)の
積分動作が完了して割込み端子(it)に制御回路(CO
T)から“High"のパルスが入力すると、マイコン(MC
1)はNo.70のステップにジャンプして割込み動作を開始
する。まず、エンコーダ(ENC)からのパルスをカウン
トした値ECDがレジスタECR3に設定され(No.70)、CCD
の受光部の数、即ちマイコン(MC1)の入力ポート(IP
0)に入力されるデータの数に相当する値C3がレジスタD
NRに設定され(No.71)、No.72のステップで入力端子
(i10)に“High"のパルスが入力されるのを待つ。CCD
出力のA/D変換が終了して入力端子(i10)が“High"に
なると、入力ポート(IP0)に入力された1つのCCD出力
データCDがレジスタM(DNR)に設定される(No.73)。
次に、レジスタDNRの内容から“1"が差引かれ(No.7
4)、このレジスタDNRからボローBRWが出力されるまでN
o.72〜75のステップが繰返される。このようにして、CC
D出力データCDが順次レジスタM(DNR)に設定される。
すべてのCCD出力データCDの取り込みが完了すると、リ
ターンアドレスを設定して、そのアドレスにリターン動
作を行なって、No.77のステップ以降のメインのフロー
に移行する。 No.77のステップではフラグLLFが“1"かどうかが判別さ
れる。ここで、LLFが“1"ならばCCDからのデータCDのう
ちで最大のデータMACDが探される(No.78)。このデー
タMACDの最上位ビットが“1"でないときは全てのCCD出
力データALCDが2倍され(No.80)、また、“1"である
ときは2倍するとオーバーフローするデータがでるので
そのままNo.81のステップに移行する。一方、フラグLLF
が“0"ならば直ちにNo.81のステップに移行する。 No.81および90のステップでは、それぞれフィルム面と
等価な面での二つの像のシフト量の整数部および小数部
の演算が行なわれる。尚、これらのステップでのシフト
量の演算の具体例は、例えば米国特許第4333007号また
は、特開昭57−45510号に提案されているが、本発明の
要旨とは無関係であるので説明を省略する。No.82〜85
のステップでは、前述のNo.10〜13のステップと同様
に、モータ(MO)の回転の有無が判別される。ここで、
モータ(MO)が回転していれば、エンコーダ(ENC)か
らのパルス数のカウントデータECDがレジスタECR1に取
込まれ(No.86)、このデータとNo.44のステッブで以前
に取込んだレジスタECR2の内容とが比較される。(ECR
1)=(ECR2)ならレンズは終端に達していることにな
るので、前述のNo.47のステップからの動作に移行し、
(ECR1)≠(ECR2)ならレンズは終端に達していないの
でECR1の内容をECR2に設定し直してNo.89のステップに
移行する。一方、モーター(MO)が回転していなけれ
ば、直ちにNo.89のステップに移行する。 No.89のステップでは入力端子(i11)が“High"かどう
かを判別し、“Low"のときはNo.25ステップ以降の焦点
検出動作の停止および初期設定がなされ、“High"のと
きはNo.90のステップに移行してシフト量の小数部を算
出し、No.81およびNo.90のステップで算出されたシフト
量に基づいてデフォーカス量ΔLが算出される(No.9
1)。 No.92のステップでは、フラグMOFによりAFモードかどう
かを判別して、AFモードならNo.93のステップへ、FAモ
ードならNo.100のステップへ移行する。AFモードの場
合、まずマイコン(MC2)によりラッチ回路(LA)にラ
ッチされていた変換係数KDを入力ポート(IP1)から取
り込み(No.93)、このデータのk3が“0"且つk2が“1"
かどうかを判別する(No.94)。ここで、k3=0且つk2
=1の場合には、前述のように、交換レンズがAFモード
での動作が不可能なので、モードフラグMOFを“1"(FA
モード)にしてNo.96のステップに移行する。一方、k3
=1またはk2=0であれば、AFモードが可能な交換レン
ズが装着されていることになり、No.100のステップに移
行する。更に、No.96のステップでは、k1=0かどうか
を判別し、k1=1であればNo.100のステップに移行す
る。 k1=0ならば、前述のように、最近接位置までレンズを
繰出さないとマクロ撮影に切換えられないレンズが装着
されていて、マクロ撮影に切換えようとされていること
になる。このときにはNo.220のステップに移行して出力
端子(O14)を“High"にしてモーター(MO)を高速で回
転させ、次に、入力端子(i12)が“High"かどうかを判
別する(No.221)。ここで、(i12)が“High"であれば
時計方向に回転させることによりレンズが繰出されるの
で出力端子(O12)を“High"に、また、“Low"なら反時
計方向に回転させることにより繰出されるので(O13)
を“High"にした後に、エンコードからのパルスのカウ
ントデータECDをレジスタECR2に取り込む(No.224)。 次に、レジスタTWRに一定時間用データC8を設定し(No.
225)、このレジスタTWRの内容から“1"をひいてボロー
BRWがでたかどうかを判別する動作を繰返し、一定時間
が経過してボローBRWがでるとエンコーダからのパルス
のカウントデータECDをレジスタECR1に取りこむ(No.22
8)。次に、レジスタECR1とECR2との内容が一致するか
どうかを判別し(No.229)、(ECR1)≠(ECR2)のとき
はECR1の内容をECR2に設定(No.230)してNo.225〜230
のステップを繰返す。一方、(ECR1)=(ECR2)のとき
はレンズが最近接位置に達したことになり出力端子(O1
2),(O13)を“Low"にしてモーター(MO)を停止させ
(No.231)、フラグFPFを“1"にして(No.232)、No.2
のステップに戻る。尚、以後はFAモードの動作を行な
う。 No.100のステップでは、CCDからのデータが低コントラ
ストかどうかが判別される。尚このステップの具体例は
第17図に基づいて後述する。ここで、低コントラストで
あれば前述のNo.105以降のステップに移行する。一方、
低コントラストでなければ、No.101のステップでフラグ
LCFが“1"かどうかを判別する。ここで、LCFが“1"であ
れば、前回までの測定値が低コントラストなのでフラグ
FPFを“1"、フラグLCF,LCF1,LCF3を“0"として、No.290
のステップへ移行し、モードフラグMOFを参照する。MOF
=0即ちAFモードであれば出力端子(O12)(O13)を
“Low"としてモータ(MO)を停止させた後、No.2のステ
ップへ戻り再び測定を行なわせる。また、MOF=1即ちF
AモードであればNo.240のステップに移行して後述するF
Aモードの動作を行なう。No.101のステップでフラグLCF
=1で前回の測定値が低コントラストでない場合は、N
o.104でモードフラグMOFを参照し、MOFが“1"即ちFAモ
ードであればNo.240のステップへ、MOFが“0"即ちAFモ
ードであればNo.125のステップへ移行する。 No.125〜130のステップでは、デフォーカス量ΔLが合
焦ゾーンZN1の範囲内にはいっているかどうかの判別動
作が行なわれる。まず、レンズが終端位置に達しておら
ずフラグENFが“0"であり(No.125)且つ合焦ゾーンに
一旦達していて合焦フラグIFFが“1"である(No.126)
場合には、今回の測定値|ΔL|とZN1とをNo.127のステ
ップで比較する。ここで、|ΔL|<ZN1なら合焦表示を
行ない(No.128)、入力端子(i11)が“Low"になるの
を待って(No.129)、No.25のステップに移行して動作
を停止する。 一方、|ΔL|≧ZN1ならば、フラグFPFを“1"、フラグIF
Fを“0"としてNo.135のステップに移行し、今回の測定
値に基づくデフォーカス量によるレンズ制御動作が行な
われる。また、レンズが終端に達していてフラグENFが
“1"の場合には、No.127のステップで|ΔL|<ZN1なら
ば合焦表示を行なって(No.128)、|ΔL|≧ZN1ならば
前回のデフォーカス方向の表示をしたままで、No.129の
ステップに移行し、上述と同様に、(i11)が“Low"に
なると動作を停止する。ここで、|ΔL|≧ZN1ならば前
回のデフォーカス方向の表示をしたままでNo.129のステ
ップに移行するが、この場合、レンズが終端位置でも合
焦とならず、以後モーター(MO)を制御しても無駄なの
でマイコン(MC1)の動作を強制的に停止させる。 レンズが終端位置にも合焦ゾーン内にも達していないこ
とがNo.125,126のステップで判別されると、まずNo.131
のステップではファーストバスフラグFPFが“1"かどう
かが判別される。ここで、フラグFPFが“0"のときには
前述のNo.86〜88のステップと同様にレンズが終端に達
したかどうかの判別動作が行なわれ(No.132〜134)た
後にNo.135のステップへ移行し、また、FPFが“1"のと
きはそのままNo.135のステップに移行する。No.135のス
テップではマイコン(MC2)からの合焦検出指令信号が
判別され、入力端子(i11)が“Low"のときはNo.25のス
テップに戻り動作を停止し、“High"のときはNo.136の
ステップに移行する。 No.136のステップでは、算出されたデフォーカス量ΔL
と読込まれた変換係数KDとを掛けて、レンズ駆動機構
(LDR)の駆動量のデータNが算出され、再びNo.137の
ステップでフラグFPFが“1"かどうかを判別する。ここ
で、フラグFPFが“1"であれば、まず、Nが正か負かが
判別され(No.140)、正なら合焦方向フラグFDFを“1"
に、負なら“0"にした後に、駆動量Nの絶対値がNmとし
てレジスタECR4に設定され(No.144)、フラグFPFが
“0"とされてNo.166のステップに移行する。 一方、No.137のステップでフラグFPFが“0"であれば、
まず、前回の駆動量のデータが記憶されているレジスタ
ECR4の内容がレジスタECR5に移され(No.150)、代わり
にこの時点でのエンコーダ(ENC)からのパルスのカウ
ントデータECDがレジスECR4に取り込まれる(No.15
1)。即ち、ECR5にはCCDの積分終了時点でのカウントデ
ータTc1が、ECR4にはこの時点でのカウントデータTc2が
設定されていることになる。次に、CCDの積分に要する
期間におけるレンズの移動量τ=Tco−Tc1が、Nを算出
するために要する期間におけるレンズの移動量to=Tc1
−Tc2が算出される。ここで、CCDの積分期間の中間の位
置でNが得られたものとすると、この時点においてレン
ズはNが得られた時点からτ/2+toだけ移動している。
また、前回のフローで得られたN′mからレンズの移動
分τ+toを補正したデータN″m=N′m−τ−toが算
出される。尚、このデータN″mは、必らず正である。 No.155〜157のステップでは、デフォーカス量Nの正負
とフラグFDFとにより合焦方向が反転したか否かが判別
される。まずNo.155のステップでは、今回算出されたデ
フォーカス量Nが正かどうかが判別され、Nが正であれ
ばフラグFDF=0かどうかが判別される。(No.156)。
このときFDF=0なら方向が逆転したことになりNo.158
のステップへ移行し、FDF=1なら逆転していないのでN
o.159のステップへ移行する。一方、Nが負であればFDF
=1かどうかが判別され(No.157)、FDF=1なら逆転
しているのでNo.158のステップへ移行し、FDF=0なら
逆転していないのでNo.159のステップへ移行する。方向
が逆転していないとき、即ちNo.159のステップでは、モ
ーターの回転によって合焦位置に近づいているので、積
分期間の中間でNの値が得られたものとして|N|−τ/2
−to=N′の演算を行なってモーターの回転による移動
分が補正され、次にこのN′が負かどうかが判別される
(No.160)。ここで、N′<0なら合焦位置を通り過ぎ
たことになるので|N′|=N′としてNo.164のステップ
に移行し、N′>0ならNo.161のステップで、前回まで
に得られているデータN″mとN′との平均(N″m+
N′)/2=Naをとり(No.161)、このデータNaをNmとし
て(No.162)、No.166のステップに移行する。 方向が逆転しているとき、即ちNo.158のステップでは、
今回のデータが得られた時点からτ/2+toだけ今回のデ
フォーカス方向に合焦位置から離れているので、|N|+
τ/2+to=N′の補正演算が行なわれて、No.164のステ
ップに移行する。No.164のステップではN″mとN′と
の平均(N″m−N′)/2=Naが算出され、つぎにこの
平均値Naが負かどうかが判別される(No.165)。 ここで、Na>0なら前述のNo.162のステップに移行し、
Na<0なら端子(O12),(O13)を“Low"にしてモータ
ーの回転を停止させ(No.174)、合焦ゾーンのデータZN
1に変換係数KDを掛算して合焦ゾーンのモーター回転量
のデータNiを算出する(No.175)。次に、|Na|<Niとな
っているかどうかが判別され(No.176)、|Na|<Niなら
ば合焦ゾーンにはいっているので、合焦フラグIFFを
“1"にしてNo.270のステップを経てNo.2のステップに移
行する。一方、|Na|>Niなら合焦ゾーンを通り過ぎたこ
とになり、フラグFPFを“1"にして同様にNo.270のステ
ップを経てNo.2のステップに移行し、測定動作をやり直
す。 さて、No.166のステップでは、近合焦ゾーンを示すデー
タNZにKDをかけて近合焦ゾーンから合焦位置までのレン
ズの駆動量に相当するデータが算出される。次にNo.167
のステップで近合焦ゾーンの値ZN1とKDとからNi=ZN1×
KDの演算を行なって、合焦ゾーンでのレンズの駆動量の
データNiが算出され(No.167)、NmとNnとが比較される
(No.168)。ここで、Nm≧Nn即ち近合焦ゾーン外であれ
ばNo.181のステップに移行して、端子(O14)を“High"
としてモーター(MO)を高速で回転させ、エンコーダ
(ENC)からのパルスをダウンカウントするためのカウ
ンタECCにNm−Nnを設定して(No.182)、No.185のステ
ップに移行する。 一方、Nm<Nn即ち近合焦ゾーン内であることが判別され
ると、No.169のステップでNm<Niかどうかを判別する。
ここで、Nm≧Niであれば、近合焦ゾーン内にあっても合
焦ゾーン内にはないことになり、出力端子(O14)を“L
ow"としてモーター(MO)の回転速度を低速にし(No18
3)、NmをカウンタECCに設定して(No.184)、No.185の
ステップに移行する。尚、KDが撮影距離に応じて変化す
るレンズの場合、近合焦ゾーンにない場合にはデフォー
カス方向の信号によってのみレンズ制御が行なわれる
が、デフォーカス量を算出するときはNo.150からのレン
ズの移動量の補正が行なわれるので、この補正用データ
のためにNo.182のステップでNm−NnがカウンタECCに設
定される。また、Nm<Niであれば出力端子(O12),(O
13)を“Low"にしてモーター(MO)を停止させ(No.17
1)、合焦フラグIFFを“1"にし(No.172)、カウンタ割
込を不可能にして(No.173)、No.270のステップに戻っ
て、再度確認用の測定を行なう。 さて、No.185のステップではフラグFDFが“1"かどうか
を判別する。ここで、FDFが“1"から前ピンなので出力
ポート(OP0)に“100"を出力して発光ダイオード(LD
0)を点灯させ前ピン表示を行ない(No.186)、“0"な
らば後ピンなので出力ポート(OP0)に“001"を出力し
て発光ダイオード(LD2)を点灯させて後ピン表示を行
なう(No.189)。次にこのフラグFDFの内容と入力端子
(i12)への交換レンズの回転方向の信号とによりモー
ター(MO)を時計方向或いは反時計方向に回転させ(N
o.188,191)、No.192のステップに移行して、入力端子
(i13)が“High"かどうかを判別する。ここで、変換係
数が撮影距離に応じて変化する交換レンズが装着されて
いて(i13)が“High"であれば、No.193のステップでNm
<Nnかどうかを判別する。このとき近合焦ゾーン外にあ
って、Nm≧Nnであれば、前述のNo.182のステップから直
ちにNo.185のステップに移行したように、算出されたNm
には無関係に、方向の信号によってのみモーター(MO)
の回転方向をきめて回転させる。次に、積分時間がC7に
相当する一定時間値より長いかどうかを判別し(No.19
4)、長いときはレンズが合焦位置で行き過ぎてしまう
可能性があるので端子(O14)を“Low"にしてモーター
(MO)を低速駆動させ(No.195)、カウンタ割込を不可
能として(No.196)、No.270のステップを経てNo.2のス
テップに戻る。一方、No.193のステップでNm<Nnであっ
て近合焦ゾーンにはいっていることが判別されたときに
は、通常の交換レンズと同様に、カウンタ割込を可能に
して(No.197)、No.270のステップに戻る。また、入力
端子(i13)が“Low"の場合にもカウンタ割込を可能に
してNo.270のステップに戻る。 さて、モーター(MO)の回転中にエンコーダ(ENC)か
らのパルスをカウントするカウンタECCの内容が“0"に
なると、カウンタ割込となり、No.200のステップでNm<
Nnかどうかが判別される。ここで、Nm<Nnであれば、近
合焦ゾーンでモーター(MO)を回転させていた、即ち合
焦ゾーンに達したことになり、出力端子(O12),(O1
3)を“Low"としてモーター(MO)の回転を停止させ(N
o.203)、合焦フラグ(IFF)を“1"にしてNo.270のステ
ップに戻る。一方、Nm≧Nnであれば、近合焦ゾーンに達
したことになり、出力端子(O14)を“Low"にしてモー
ターを低速にし(No.201)、NnをカウンタECCに設定(N
o.202)した後に割込のかかった番地に戻る。 次に、No.104またはNo.290のステップでフラグMOFが
“1"であることが判別されると、No.240以降のステップ
でFAモードの動作が行なわれる。まず、No.240のステッ
プではフラグFPFが“1"かどうかが判別される。ここ
で、FPFが“1"ならば、始めてFAモードでの動作を行な
うことになり、AFモードから切換わったときのために、
終端フラグENFを“0"、合焦フラグIFFを“0"とし、合焦
ゾーン判別用レジスタIZRに合焦ゾーン用データZN2を設
定する。尚、このデータZN2はAFモードでのデータZN1よ
りも大きい値になっている。これは、AFモードの場合に
はモーター駆動により精度良くレンズ位置を調整するこ
とができるが、FAモードの場合は手動でレンズ位置を調
整するのでモータ駆動ほどの精度良い調整は非常に困難
だからである。次に、No.245のステップでファーストパ
スフラグFPFを“0"にしてNo.246のステップに移行す
る。一方フラグFPFが“0"ならば直ちにNo.246のステッ
プに移行する。 No.246のステップでは、合焦フラグIFFが“1"かどうか
が判別される。ここで、フラグIFFが“1"なら前回まで
の算出値が合焦ゾーンにあることになるので、前回の算
出値ΔLn−1と今回の算出値ΔLとの平均値、即ちΔLn
=(ΔL+ΔLn−1)/2の演算が行なわれ、(No.24
7)、レジスタIZRに合焦ゾーン用データとしてZw(>ZN
2)が設定され(No.248)た後にNo.250のステップに移
行する。これは、各回の測定値にはバラツキがあり、一
旦合焦ゾーン内にはいると合焦ゾーンの巾をひろげて合
焦状態であると判別される確立を高め、レンズ位置が合
焦ゾーンの境界付近にあるときの表示のチラツキを防止
するためである。一方、No.246のステップで合焦フラグ
IFFが“0"であれば今回の測定値ΔLをΔLnとし(No.24
9)、No.250のステップに移行する。No.250のステップ
では|ΔLn|<(IZR)、即ち算出値が合焦ゾーン内にあ
るかどうかを判別する。ここで合焦ゾーン内にあること
が判別されると、合焦フラグIFFを“1"にし(No.25
1)、発光ダイオード(LD1)による合焦表示を行なって
(No.252)、No.258のステップに移行する。一方、合焦
ゾーン外にあることが判別されると、ΔLn>0かどうか
が判別され(No.253)、ΔLn>0なら発光ダイオード
(LD0)による前ピン表示、ΔLn<0なら(LD2)による
後ピン表示を行なう。次に、合焦フラグIFFを“0"と
し、IZRにデータZN2を設定してNo.258のステップに移行
する。No.258のステップでは入力端子(i14)が“High"
かどうかを判別し、“High"でAFモードに切換わってい
ればフラグFPFを“1",IFFを“0",LCFを“0"にしてNo.2
のステップに、また“Low"でFAモードのままであればそ
のままNo.2のステップに戻り、次の測定を行なう。 No.25〜33のステップにおいては、AF,FAモードによる焦
点検出動作の停止および初期状態の設定動作がなされ
る。まず、割込が不可能とされ(No.25)、端子(O11)
にパルスを出力してCCDの積分動作が強制的に停止され
(No.26)、端子(O12),(O13)を“Low"としてモー
タ(MO)が停止され(No.27)、出力ポート(OP0)を
“000"として発光ダイオード(LD0),(LD1),(LD
2)が消灯され(No.28)、端子(O16)を“Low"として
電源ライン(VF)からの給電が停止される(No.32)ま
た、フラグENF,IFF,LCF3に“0"がフラグFPFに“1"が設
定される(No.29〜31,33)。この初期設定がなされた後
にNo.2のステップに戻る。 次に、上述の実施例の変形例として、AFモードによる焦
点調節動作で合焦対象とされる被写体領域が合焦ゾーン
内に達した際に、他の被写体領域が焦点深度内に入って
いるか否かを確認できるようにした実施例を第11図,第
12図,第13図に基づいて説明する。ここで、第11図は第
2図と異なり部分のみを示した要部回路図、第12図は第
3図と異なる部分のみを示した要部フローチャート、第
13図は第8図ないし第10図と異なる部分のみを示した要
部フローチャートである。即ち、No.127のステップで合
焦ゾーン内に達していることが判別され、合焦表示が行
なわれると(No.128)、フラグIFF1を“1"に(No.30
0)、第11図のマイコン(MC1)の出力端子(O30)を“H
igh"に(No.301)する。この出力端子(O30)はマイコ
ン(MC2)の入力端子(i5)に接続されており、マイコ
ン(MC2)はその入力端子(i5)の“High"によりレンズ
が合焦位置に達したことを判別する。 次に、マイコン(MC1)はNo.270のステップに移行し、F
Aモードに切換わっていなければそのままNo.2のステッ
プに戻り、再び測定を行なう。この場合、フラグIFFが
“1"なので、合焦の確認の場合と同様のフローを経てN
o.91のステップまでくる。No.91のステップとNo.92のス
テップとの間にはフラグIFF1が“1"かどうかを判別する
ステップ(No.305)が設けてあり、フラグIFF1が“0"な
らNo.92のステップへ、“1"ならNo.306のステップに移
行する。No.306のステップでは入力ポート(IP2)から
のデータを読み込む。ここで、第12図に示すように、第
3図の#30のステップと#31のステップとの間には、露
出制御用絞り値AvがI/Oポートから出力され(#80)、
この絞り値がデコーダ(DEC)の出力端子(an+2)か
らのパルスでラッチ回路(LA1)にラッチされている。
従って、入力ポート(IP2)には露出制御用絞り値のデ
ータが入力される。 読み取られたデータAvはFNo.に変換され(No.307)、N
o.308のステップでΔD=δ×FNo.の演算が行なわれ
る。ここで、δは許容ぼけの直径に相当する値、ΔDは
焦点深度に相当する値である。次に、今回のフローでの
No.91のステップで得られたデフォーカス量|ΔL|とΔ
DとがNo.309のステップで比較され、以下の合焦状態表
示を経てNo.270のステップに移行する。ここで、|ΔL|
≧ΔDであれば、そのとき測定した被写体の部分は焦点
深度内にあることになり、出力ポート(OP5)に“010"
の信号を出力して、第11図の発光ダイオード(LD4)を
点灯させて合焦表示が行なわれる。一方、|ΔL|>ΔD
であれば、ΔLが正か負かに応じてそれぞれ(OP5)に
“100"を出力して発光ダイオード(LD3)を点灯させて
前ピン表示が行なわれるか、あるいは、“001"を出力し
て発光ダイオード(LD5)を点灯させて後ピン表示が行
なわれる。 このような動作を行なうようにしておけば、AFモードで
レンズが合焦位置に達した後、レンズを合焦位置まで駆
動するために測定を行なった部分以外の部分が焦点深度
内にはいっているかどうか、或いは前ピンか後ピンかの
確認ができるといった非常に使い易い効果ができくる。 なお。No.308のステップで正確な焦点深度を算出してい
るが、カメラぶれ等により測定位置を被写体の所望の部
分に正確にあわせることが困難であり、また、ΔLの算
出値もばらつくので、前述のFAモードの場合と同様に合
焦ゾーン巾を広げたり、一旦合焦ゾーンにはいった後は
合焦ゾーン巾を広げたり、数回の算出データの平均値処
理を行なったりして精度を高めるようにしてもよい。例
えば、合焦ゾーンの巾を広げるにはΔD=1×δ×FNo
(1=2〜3)の演算を行なえば良い。 また、この変形例でマイコン(MC1)が動作を停止する
場合の初期設定、FAモードに切換わったときの初期設定
のために、No.33のステップとNo.2のステップとの間、N
o.273のステップとNo.2のステップとの間に、それぞれ
以下のステップが挿入されている。即ち、フラグIFF1を
“0"にし(No.320,No.325)、出力ポート(OP5)に“00
0"を出力して発光ダイオード(LD3),(LD4),(LD
5)を消灯させ(No.321,No.326)、出力端子(O30)を
“Low"にする(No.322,No.327)。 また、第12図の#81のステップは、側光ステップ(ME
S)が開放された後も上述の変形例の表示動作を一定時
間行なわせるために、#38のステップと#39のステップ
との間に入力端子(i5)の状態を判別するステップ(#
81)が挿入されている。即ち、側光ステップ(MES)が
開放され、AFモードであることが判別されても、入力端
子(i5)が“High"となっていてマイコン(MC1)が前述
の焦点深度内にあるかどうかの動作を行なっている場合
には、出力端子(O1)は“Low"にせず、“High"のまま
にしておく。 第14図は第2図のCCD(FLM)の制御回路(COT)の具体
例を示す回路図である。カウンタ(CO24)はカウンタ
(CO22)からのクロックパルス(CP)を分周したパルス
(DP2)の立ち下がりをカウントし、このカウンタ(CO2
4)の出力信号(p0)〜(p4)に応じて、デコーダ(DE2
0)は出力端子(T0)〜(T9)に“High"の信号を出力す
る。このカウンタ(CO24)の出力と、デコーダ(DE20)
の出力及びフリップ・フロップ(FF22),(FF24)(FF
26),(FF28)のQ出力との関係を表7に示す。 この表7から明らかなように、フリップフロップ(FF2
6)のQ出力(φ1)はカウンタ(CO24)の出力が“111
01"〜“00101"の間“High"、フリップフロップ(FF24)
のQ出力(φ2)は“00100"〜“10111"の間“High"、
フリップフロップ(FF22)のQ出力(φ3)は“10110"
〜“11110"の間“High"となる。この出力信号(φ
1),(φ2),(φ3)は電源ライン(VF)から給電
が行なわれている間CCD(FLM)に与えられ、転送ゲート
内でアナログ信号の転送が常時行なわれている。なお、
この動作によって、転送ゲート内に残っている蓄積電荷
の排出も行なわれる。 電源の供給開始に基づくパワーオンリセット回路(POR
2)からのリセット信号(PO2)で、フリップフロップ
(FF20)〜(FF28),(FF32)、Dフリップフロップ
(FD20),(FD22),(DF24)、カウンタ(CO20),
(CO22),(CO24)がリセットされる。さらに、フリッ
プフロップ(FF30)がセットされてQ出力が“High"に
なる。この出力信号(φR)によりアナログスイッチ
(AS2)が導通し、定電圧源(Vr1)の出力電位が信号線
(ANB)を介してCCD(FLM)に与えられ、この電位にCCD
(FLM)の電荷蓄積部の電位が設定される。 マイコン(MC1)の出力端子(O10)から積分動作を開始
させるための“High"のパルスが出力されると、ワンシ
ョット回路(OS18)を介してフリップフロップ(FF30)
がリセットされ端子(φR)が“Low"になる。これによ
って、CCD(FLM)は各受光部の受光量に応じた電荷の蓄
積を開始する。また、インバータ(IN50)を介してアナ
ログスイッチ(AS1)が導通して、CCDのモニター出力が
端子(ANB)からコンパレータ(AC1)の(−)端子に入
力する。電荷の蓄積に応じて端子(ANB)からCCDモニタ
ー出力は電位Vr1から低下していき、定電圧源(Vr2)の
電位に達すると、コンパレータ(AC1)の出力は“High"
に反転する。これによりCCD(FLM)の蓄積が完了したこ
とが検地される。この反転でワンショット回路(OS10)
なら“High"のパルスが出力され、オア回路(OR20)を
介してフリップフロップ(FF20)がセットされる。この
Q出力の“High"信号は、端子(φ1)の立ち上がり
で、Dフリップフロップ(DF20)に取込まれ、そのQ出
力の“High"により、カウンタ(CO20)のリセット状態
が解除され、アンド回路(AN60),(AN64),(AN68)
がエネーブネル状態になる。 端子(φ1)が“High"に立ち上がった後、端子(T0)
が“High"になるとフリップフロップ(FF28)は端子(T
0)の“High"によりセットされ、端子(T1)の“High"
によりリセットされる。このQ出力はアンド回路(AN6
8)を介して端子(φT)から“High"のパルスとしてCC
D(FLM)に送られ、この信号で蓄積電荷が転送ゲートに
移される。さらに、この(φT)の信号はマイコン(MC
1)の割込端子(it)に送られ、マイコン(MC1)は前述
のCCD(FLM)の出力データの取込動作を行なう。 この端子(φT)が“Low"に立ち下がるとワンショット
回路(OS16)を介してフリップフロップ(FF32)がセッ
トされ、そのQ出力の“Low"によりアンド回路(AN68)
のゲートが閉じられて以後フリップフロップ(FF28)の
Q出力からの“High"信号は出力されない。さらにワン
ショット回路(OS16),オア回路(OR32)を介してフリ
ップフロップ(FF30)がセットされ、再び端子(φR)
を“High"にする。 転送信号(φ1),(φ2),(φ3)によりCCD(FL
M)から蓄積電荷が順次端子(AOT)から出力されてくる
が、この電荷は、(φ2)から“High"の間に出力され
ている。そこで、Dフリップフロップ(DF20)のQ出力
が“High"になると、(φ2)が“High"になっている期
間内の端子(T4)の“High"によりサンプルホールド用
の信号(φS)がアンド回路(AN66)から、また端子
(T5)の“High"によりA−D変換開始用の信号(φ
A)がアンド回路(AN64)から出力される。 また、CCD(FLM)の端子(AOT)から最初に送られてく
る蓄積電荷の信号は、オフセット調整用として、受光部
のモレだけに対応した電荷だけが蓄積されるようになっ
ていて、ほとんど(Vr1)の出力電位と等しくなってい
る。このときDフリップフロップ(DF24)のQ出力が“H
igh"になっているので、サンプルホールド用信号(φ
S)はアンド回路(AN70)を介してサンプルホールド回
路(SH1)に与えられ、オフセット調整用の電がCCD(FL
M)から端子(AOT)を介してサンプルホールド回路(SH
1)に記憶される。最初のサンプルホールド信号(φ
S)の立ち下がりによりDフリップフロップ(DF24)の
Q出力は“High"になって、以後のサンプルホールド信
号(φS)はアンド回路(AN72)を介してサンプルホー
ルド回路(SH2)に与えられ、以後の受光量に対応した
電位はサンプルホールド回路(SH2)に順次記憶されて
いく。 Dフリップフロップ(DF20)のQ出力が“High"になる
と、(φ3)の信号はアンド回路(AN60)を介してアン
ド回路(AN62)の一方の入力端子に与えられる。この
(φ3)の最初の立ち下がりでDフリップフロップ(DF
22)のQ出力が“High"になるので、二回目以後の(φ
3)のパルス信号はアンド回路(AN62)を介してマイコ
ン(MC1)の入力端子(i10)に与えられ、マイコン(MC
1)に入力ポート(IP0)へのデータの取り込みを指令す
る信号となる。ここで、Dフリップフロップ(DF20)の
Q出力が“High"になって最初のアンド回路(AN60)か
らの(φ3)のパルスをアンド回路(AN62)から出力さ
せないようにしているのは、前述のように最初のCCD(F
LM)からのデータはオフセット調整用のデータだからで
ある。また、(φ3)の信号はカウンタ(CO20)のクロ
ック入力端子にも与えられていて、カウンタ(CO20)は
Dフリップフロップ(DF20)のQ出力の“High"により
リセット状態が解除され(φ3)からのパルスの立ち下
がりをカウントする。このカウンタ(CO20)はCCD(FL
M)の受光部の数だけ(φ3)からのパルスをカウント
するとキャリー端子(CY)を“High"にする。 二回目以降は、順次、サンプルホールド回路(SH2)にC
CD(FLM)の出力データが信号(φS)に基づいてサン
プルホールドされ、抵抗(R1),(R2)、オペアンプ
(OA1)からなる減算回路によりサンプルホールド回路
(SH1)の出力と(SH2)の出力との差が算出され、A−
D変換器(AD)のアナログ入力端子に与えられる。A−
D変換器(AD)は(φA)の信号で動作を開始し、カウ
ンタ(CO22)からのクロックパルス(DP1)に基づいて
この入力データをA−D変換する。ここで、定電圧源
(Vr1)の出力をVr1、モレによる電圧降下をVd、受光量
による電圧降下をV|とすると、サンプルホールド回路
(SH1)の出力はVr1−Vd、サンプルホールド回路(SH
2)の出力はVr1−V|−VDとなっている。従って、演算回
路の出力はV|という受光量のみの信号成分になってい
る。尚、A−D変換器(AD)はたとえば逐次比較型のよ
うに高速でA−D変換する形式のものが望ましい。 CCD(FLM)からのすべてのデータのA−D変換が終了し
てカウンタ(CO20)のキャリー端子(CY)が“High"に
なる。これによってワンショット回路(OS14),オア回
路(OR22)を介してフリップフロップ(FF20),(FF3
2)、Dフリップフロップ(DF20),(DF22),(DF2
4)がリセットされ、Dフリップフロップ(DF20)のQ
出力が“Low"になることでカウンタ(CO20)がリセット
状態となって端子(O10)から“High"のパルスが入力さ
れる前の状態に復帰する。 まい、マイコン(MC1)のタイマーにより積分時間が一
定値以上に達したことが判別されて端子(O11)に“Hig
h"のパルスが入力したときには、このパルスの立ち下が
りでワンショット回路(OS12),オア回路(OR20)を介
してフリップフロップ(FF20)がセットされる。従っ
て、以後はコンパレータ(AC1)の出力が“High"に反転
した場合と同様の動作が行なわれて、CCD(FLM)の出力
データがA−D変換されマイコン(MC1)の入力ポート
(IP0)へ順次出力される。 第15図は第14図の回路図の一部を変更した変形例であ
り、CCDから出力データが小さい場合に、マイコン(MC
1)にデータを取込んだ後、そのデータを2倍にする操
作をマイコン(MC1)内のソフト(第8図のNo.78〜82の
ステップ)で行なっていたのを、A−D変換を行なう前
にハードで行なうようにしたものである。 端子(φR)が“High"の間は定電流源(CIS)、抵抗
(R10)〜(R13)できまる電位Vr1がCCD(FLM)に与え
られ、“Low"の間はCCD(FLM)のモニター出力がコンパ
レータ(AC10)〜(AC12)の(−)入力端子に与えられ
る。そして、積分が進みモニター出力がVr2の電位に達
すると、コンパレータ(AC12)の出力が“High"になっ
てワンショット回路(OS10)から“High"のパルスが出
力され、このパルスによりオア回路(OR20)を介してフ
リップフロップ(FF20)がリセットされて以後前述と同
様の動作を行なう。 さらに、このパルスはDフリップフロップ(DF32)〜
(DF38)のクロック端子に与えられる。このとき、コン
パレータ(AC12)の出力が“High"なのでDフリップフ
ロップ(FD38)のQ出力が“High"になり、アナログス
イッチ(AS48),(AS38)が導通する。ここで抵抗(R3
0)〜(R40)の値はR30=R40=R38=R48=R36/1.5=R46
/1.5=R34/2=R44/2=R32/2.5=R42/2.5=となってお
り、アナログスイッチ(AS38),(AS48)の導通により
R30=R40=R38=R48であるので、オペアンプ(OA10)か
らはV|の信号がそのまま出力される。 一方、CCD出力が低コントラストであって最長積分時間
内にコンパレータ(AC12)の出力が反転しないときに
は、マイコン(MC1)の出力端子(O11)からの信号によ
りワンショット回路(OS12)からオア回路(OR20)を介
して“High"のパルスが出力され、そのときのモニター
出力がVr2〜Vr3,Vr3〜Vr4,Vr4〜Vr1のいずれの間にある
かに応じてそれぞれイクスクルーシブオア回路(EO
4),(EO2),インバータ(IN52)を介してDフリップ
フロップ(DF36),(DF34),(DF32)のQ出力のうち
の1つが“High"になり、それぞれアナログスイッチ(A
S36),(AS46),(AS34),(AS44)、(AS32),(A
S42)が導通する。従って、強制的に積分が停止され、
そのときのモニター出力に応じて1.5V|,2V|,2.5V|信号
がオペアンプ(OA10)から出力される。 第16図は第8図〜第10図に示したマイコン(MC1)の動
作の変形例を示し、一旦、合焦が検出された後の測定結
果で非合焦が連続して検出された場合のフローチャート
の要部を示し、No.130のステップとNo.138のステップと
の間にフラグIFF2に関するステップが挿入されている。
即ち、合焦ゾーンにまでレンズの焦点調整が行なわれ、
終端フラグENFが“0"であれば(No.130)、No.351のス
テップでフラグIFF2が“1"かどうかが判別される。ここ
で、フラグIFF2が“0"であればこのフラグIFF2を“1"に
してNo.270のステップに移行し、再度確認のための測定
を行なう。一方、フラグIFF2が“1"ならば、確認のため
の測定結果が2回続けて非合焦(|ΔL|≧ZN1)という
ことになり、この場合には、フラグIFF,IFF2を“0"に
し、フラグFPFを“1"にして、No.135のステップに移行
して、再び焦点調整用の動作を行なう。尚、No.33のス
テップとNo.2のステップとの間およびNo.240のステップ
とNo.241のステップとの間にそれぞれフラグIFF2をリセ
ットして初期状態に戻すためのステップ(No.34,No.24
1)が設けられている。 第17図は第8図のNo.100のステップ、即ち低コントラス
トかどうかを判別するステップの具体的なフローであ
る。まず、レジスタCの内容を“0"にして(No.370)、
レジスタiを“1"に(No.371)する。次に、i番目とi
+1番目の受光素子の出力ai,ai+1の差の絶対値|ai−
ai+1|にレジスタCの内容を加えた値がレジスタCに設
定され(No.372)、このレジスタiに1が加算され(N
o.373)、このiの内容とn(nは受光素子の全個数で
ある)とが比較される(No.374)。ここで、i<n−1
ならばNo.372のステップへ戻って、順次、差の絶対値が
積算され、i=n−1になるとNo.375のステップに移行
する。即ち、No.375のステップに移行した時点ではレジ
スタCの内容は、|a1−a2|+|a2−a3|+a3−a4|+…+|
an−2−an−1|+|an−1−an|となっていて、周知のよ
うに、被写体のコントラストを示す値になっている。N
o.375のステップでは、この値が一定値CDよりも大きい
かどうかを判別して、(C)>CDならコントラストが十
分あるのでNo.101のステップへ移行し、(C)≦CDなら
低コントラストであるのでNo.105のステップへ移行す
る。 なお、焦点調整状態の検出を二つの系列の受光素子出力
で行なう場合、コントラストの判別には一方の系列の出
力を用いるのみで充分である。また、被写体のコントラ
ストに対応付けできるデータがデフォーカス量とデフォ
ーカス方向の演算を行なう過程で求まる場合には、この
データを記憶しておき、一定値以下になっているかどう
かの判別を行なうことでコントラストの判別を行なうよ
うにしてもよい。 第18図は、第8図ないし第10図に示したマイコン(MC
1)の動作プログラムの変形例を示すフローチャートで
ある。以下にその動作を説明する。尚、図において、マ
イコン(MC1)の作動は簡略化して示してある。まず、
第2図のマイコン(MC2)から焦点検出動作を指令する
信号が与えられると、CCDを受光部とする焦点検出用受
光部(FLM)での電荷蓄積動作が開始される(ステップ
)。次に、電荷蓄積時間のカウントが開始され(ステ
ップ)、所定の電荷蓄積時間が経過するまでCCDの電
荷蓄積がなされる(ステップ)。上記時間が経過する
と、CCDの各受光素子での受光量に対応したデータが順
次読込まれ(ステップ)、これらCCDからのデータに
基づいてデフォーカス量|ΔL|およびデフォーカス方向
が算出される(ステップ)。ステップでは、このデ
ータ|ΔL|とステップで撮影レンズから読取られた変
換係数のデータKとが掛算されて、合焦調節に必要なフ
ォーカス用レンズの移動量に対応するデータNが算出さ
れる。次にステップでは、CCDからのデータに基づい
て合焦対象被写体が低コントラストの状態にあるか否か
が判別される。ここで、低コントラストと判別された場
合はステップ以降のフローが実行され、高コントラス
トと判別された場合はステップ以降のフローが実行さ
れる。 さて、高コントラストと判別された場合は、前述のステ
ップで算出されたNの値および所定の合焦幅の値に基
づいて、合焦、前ピンおよび後ピンの3種類の合焦状態
がステップで判別される。ここで、Nの絶対値|N|が
所定の合焦幅の値ZN以下即ち|N|≦ZNであれば合焦が判
別されて、モータが停止され(ステップ)、合焦表示
が行なわれ(ステップ)た後に、マイコン(MC1)は
動作を停止する。一方|N|>ZNであり且つN>0であれ
ば前ピンと判別されて、前ピンの表示がなされ(ステッ
プ)、フォーカス用レンズを繰込むためのモーターの
回転方向が決定され(ステップ)た後にステップに
移行する。また、|N|>ZNであり且つN>0であれば後
ピンと判別されて、後ピンの表示がなされ(ステップ
)、フォーカス用レンズを繰出すためのモーターの回
転方向が決定され(ステップ)、た後にステップに
移行する。 ステップでデータ|N|がマイコン内のカウンタにセッ
トされ、ステップで後述のカウンタ割込みが可能とさ
れ、ステップでモーターの回転が開始された後に、ス
テップ以降のフローが実行される。ここで、第1図の
説明で述べたように、フォーカス用レンズの駆動量はエ
ンコーダによりモニターされており、エンコーダからの
モニターパルスは上記カウンタで計数される。この計数
値がセットされた|N|に達すると、カウンタ割込がかか
って、ステップ以降のカウンタ割込のフローが直ちに
実行される。このとき、フォーカス用レンズは上記デー
タNに対応した量だけ駆動されていることになり、結像
位置が合焦位置に達している。従って、モーターの停止
(ステップ)、合焦の表示(ステップ)後に、マイ
コンは動作を停止する。 ステップから始まるフローでは、フォーカス用レンズ
を移動させながら合焦検出が行なわれる。まず、前述の
ステップないしと同様に、CCDの電荷蓄積開始(ス
テップ)、所定電荷蓄積時間のカウント(ステップ
)、CCDデータの読込(ステップ)が行なわれる。
尚、このCCDデータはフォーカス用レンズ移動中のデー
タである。次に、エンコーダからのモニターパルスの発
生周期を検知することにより、フォーカス用レンズが終
端位置(最近接あるいは無限遠)に達しているか否かが
ステップで判別される。ここで、終端位置に達してい
ることが判別された場合、モーターの停止(ステップ
)後にマイコンは動作を停止する。一方、終端位置に
達していなければ、ステップと同様に、CCDデータに
基づいて低コントラストか否かがステップで判別され
る。 ステップで低コントラストと判別されると、前回の判
別結果が同じ低コントラストであったか否か、即ち連続
して低コントラストが判別されたか否かがステップで
判別される。ここで、前回の判別結果が高コントラスト
であれば、再びステップ以降のフローが実行されて、
次のCCDデータに基づいて終端位置、低コントラストが
判別される。即ち、レンズ移動中にコントラストの状態
が高コントラストから低コントラストに反転した場合、
低コントラスト判別時のCCDデータは無視される。一
方、前回の判別結果も低コントラストであれば、モータ
ーの停止(ステップ)、カウンタ割込の禁止(ステッ
プ)、低コントラストの警告表示(ステップ)後
に、前述のステップ以降のフローが実行される。即
ち、フォーカス用レンズの停止状態でのCCDデータに基
づいて合焦検出が再開される。尚、ステップで低コン
トラストが連続して判別された場合は、カウンタ割込を
禁止し、CCDデータに基づいてデフォーカス方向を算出
した後に後述のステップ以降のフローを実行させるよ
うにしてもよい。 さて、ステップで高コントラストと判別されると、ス
テップで読込まれたCCDデータに基づいてデフォーカ
ス量|ΔL|およびデフォーカス方向が算出される(ステ
ップ)。次に、ステップと同様に、フォーカス用レ
ンズが終端位置に達しているか否かが判別される(ステ
ップ)。ここで、終端位置に達している場合は前述と
同様ににステップに移行し、終端位置に達していない
場合はステップに移行する。ステップ,では前述
のステップ,と同様にデータKの読込、データNの
算出が行なわれる。ステップでは、このデータNが得
られるまでに移動したレンズ移動量に対応するデータだ
け補正されたデータN′が算出される。このデータ補正
の終了後は、合焦または低コントラストが検出されるま
で、ステップないしのフローが繰返し実行される。 また、ステップで低コントラストと判別された場合
は、まず、低コントラストの警告表示がなされ(ステッ
プ)、次に、ステップで算出されたNの正負がステ
ップで判別される。ここで、N>0で前ピンであれば
フォーカス用レンズを繰込むためのモーターの回転方向
が決定され(ステップ)、N>0で後ピンであればフ
ォーカス用レンズを繰出すためのモーターの回転方向が
決定される(ステップ)。次に、CCDでの電荷蓄積量
が所定量に達するまでの電荷蓄積時間が一定時間より短
かいか否かがステップで判別される。ここで、電荷蓄
積時間が一定時間より長い場合にはモーターの低速駆動
が決定され(ステップ)、短かい場合にはモーターの
高速駆動が決定される(ステップ)。この決定駆動速
度に基づいてステップでモーターの回転が開始され
る。即ち、被写体輝度が低い場合はモーターは低速駆動
され、被写体輝度が高い場合はモーターは高速駆動され
る。 ステップないしでは、前述のステップないしと
同様に、CCDの電荷蓄積開始、所定電荷蓄積時間のカウ
ント、フォーカス用レンズ移動中のCCDデータの読込が
行なわれる。ステップでは、前述のステップと同様
に、低コントラストか否かが判別される。ここで、低コ
ントラストでなければ、モーターが停止されて(ステッ
プ)からステップに移行し、フォーカス用レンズの
停止状態でのCCDデータに基づいた合焦検出が再開され
る。一方、低コントラストであれば、ステップ、と
同様に、フォーカス用レンズが終端位置に達しているか
否かが検知される(ステップ)。ステップで終端位
置に達していないことが検知されると、ステップに移
行して再びモーターの駆動速度を決定して前述と同様の
動作を繰返す。終端位置に達していることが検知される
と、この終端検知が連続してなされたか否かがステップ
で判別される。ここで、始めて終端検知がなされた場
合はモーターの回転方向を逆転させて(ステップ)か
らステップに移行し、フォーカス用レンズを他方の終
端位置に向けて駆動させる。一方、前回も終端検知がな
されている場合は、フォーカス用レンズが一方の終端位
置から他方の終端位置に駆動された、即ち最近接から無
限遠までの全撮影領域にわたって低コントラストであっ
たことになる。この場合、これ以上レンズを駆動しても
合焦が検出されることはないので、モーターが停止され
て(ステップ)からマイコンは動作を停止する。 効果 本発明によれば、フォーカス用レンズ移動中に結像位置
と予定合焦位置とのずれ量の信頼性が無の状態から有の
状態に変化すると、一旦、フォーカス用レンズを停止さ
せ、その停止時の正確な受光手段の出力に基づく判定結
果及びずれ量に基づいてフォーカス用レンズの駆動制御
を再開するため、誤った駆動は行われない。
[For example, 5 (F5.6)] When larger than Avc (# 16-
In 3), both focus detection movements in AF mode and FA mode
Since it is impossible to make a work, in step # 16-4
Display control circuit (DSC) indicates that point detection is not performed
After being warned by, move to step # 28. Also,
Side light switch (MES) is open and (i0) is "Low"
In case of ("16-5), operate in FA mode only for 15 seconds.
I moved to the step of # 28 so that I could do it only. Check data input, k3 to K0 ≠ “0001”, Avo, Avo +
Both “High” of β, Avo + Av or Av | ≦ Avc <(i0) are
If it is determined, the process proceeds to step # 17 and thereafter. In step # 17, the output terminal (O1) goes high.
The microcomputer (MC1) has its input terminal (i11) "High".
Starts focus detection operation in AF and FA modes. # 1
Conversion coefficient read by the microcomputer (MC2) in step 8
Data KD from the I / O port (I / O) to the data bus
Force to cause the latch circuit (LA) to latch. This latch
The data latched in the circuit (LA) is the microcomputer (MC1)
It is read in No. 93 step described later. In step # 19, the counter (CO9) output is "0100".
Based on the data read at
The conversion coefficient KD changes according to the shooting distance.
Determine whether or not Where the changing lens
If so, the output terminal (O3) of the microcomputer (MC2), that is, the microcomputer (M
Lens that does not change with the input terminal (i13) of C1) set to "High"
If so, set to “Low”. The microcomputer (MC1) uses this signal
For more details, see the steps from No.192 to No.197 described later.
As mentioned, whether the image position is in the near focus zone or not
In AF mode depending on whether the integration time is longer than a certain value
Switch the drive of the motor (MO). In step # 22, the counter (CO9) is also “0100”
Focusing lens based on the sometimes read data
Determine the rotation direction of the motor (MO) when feeding.
Here, if it is clockwise, the output terminal of the microcomputer (MC2)
(O2) That is, the input terminal (i12) of the microcomputer (MC1) is set to "Hig
If it is counterclockwise, set to "Low" to "Low".
1) is the signal to this terminal (i12) and the signal in the defocus direction.
And the direction determine the direction of rotation of the motor (MO). In step # 25, the third bit of the conversion coefficient data KD
It is installed by detecting whether the k3 is "1" or "0".
Focus in AF mode with converter (CV) and lens (LE)
Determine if adjustment operation is possible. At this time, k3 = 1
If so, AF mode is possible, so set the flag MFF to "0"# 2
Go to step 8. On the other hand, if k3 = 0, the AF mode is
Since it is impossible, set MFF to “1” and then follow step (FAS).
Select whether AF or FA mode is selected.
Detect. Here, the AF mode is selected and the input terminal
If (i1) is “High”, the AF mode is set by the photographer.
Even if it is set, it can be automatically switched to FA mode.
A warning is displayed by the display control circuit (DSC),
Go to step # 28. Input terminal (i1) is "Low"
Since FA mode was originally selected, #
Go to step 28. In step # 28, read in steps # 5 to # 14
Set exposure control value, metering value, data from lens
A well-known exposure calculation is performed based on the exposure time and aperture value.
Calculate the data and set the flag LMF to "1". In step # 30, is the release flag RLF "1"?
If it is “1”, the exposure control operation of # 64 and subsequent steps
Return to the work flow, and if "0", move to step # 31
To do. In step # 31, “Hi” is output via the output terminal (O8).
gh "makes the inverter (IN8) a transistor
Turn on (BT3) to turn on the light emitting diodes (LD10) to (LD1
n) warning display and liquid crystal display (DSP) exposure control
Display the price. In step # 33, open and close the side light step (MES).
Determine. Here, the side light switch (MES) is closed
If (i0) is “High”, it means a timer interrupt.
The data for counting 15 seconds in the register Tc for timer
Set (# 34), start the timer (# 35), and
Enable Immers interrupt (# 36) and return to step # 2
It In this case, (i0) is “High” (side optical switch (M
(ES) remains closed), so step # 3 immediately
To disable the timer interrupt and operate in the same way as above.
Repeat the work. On the other hand, the side light switch (MES) is open (i0)
If it is "Low", either AF or FA can be selected by the switch (FAS).
Mode is selected, (# 37),
Defined in steps # 25 based on data from
The selected mode is determined (# 38). Where input terminal (i
1) is “Low” and FA mode is selected (# 37),
Or even if AF mode is selected, the flag MFF is set to "1".
If the lens side can only operate in FA mode with,
Go to step # 40. AF mode selected and MF
When F is "0", set the output terminal (O1) to "Low"(# 3
9) After stopping the operation of the microcomputer (MC1),
Go to step. In addition, in steps # 37 and # 38, FA
When the mode is detected, the terminal (O1) remains “High”
Then move to step # 40, and the operation of the microcomputer (MC1)
Will be migrated. The open / closed state of the switch (EES) is determined in step # 40.
The exposure control mechanism is not fully charged (i2)
If is “High”, move to the step # 47 to be described later.
Performs a return operation to the initial state. Exposure control mechanism
Page is completed and (i2) is “Low”, the # 36 step
Step # 2 after enabling a timer interrupt at the step
, The side light switch (MES) is closed again and the input end
The child (i0) goes "High" or there is a timer interrupt.
Wait for you. By the way, if there is a timer interrupt, 1 is added from the contents of register Tc.
It was deducted (# 45) and whether the content of Tc became "0"
It is determined (# 46). If Tc ≠ 0, the steps after # 5
To the above-mentioned data acquisition, exposure calculation, etc.
To do. At this time, if in FA mode, terminal (O1) is
Since it is "High", the microcomputer (MC1) repeats the FA operation.
In AF mode, the terminal (O1) is
The operation of the microcomputer (MC1) is stopped because it is set to "Low"
is doing. On the other hand, when Tc =, the output terminals (O0), (O1), (O8)
Set to “Low”, the transistor (BT1) and the buffer (B
F) to stop power supply, microcomputer in FA mode (MC
1) operation stop, power supply stop by transistor (BT3)
Is performed. Furthermore, the blank of the liquid crystal display (DSP)
After resetting the display and flags MFF and LMF,
Return to step. To summarize the above operation, the side optical switch (MES) is closed.
While the data is being captured, the data acquisition and microcomputer (MC1)
The operation, exposure calculation, and display operation are repeated. Next
When the side light switch (MES) is opened, the AF mode
In this case, the operation of the microcomputer (MC1) is stopped immediately and the
Data capture, exposure calculation, and display operation are repeated for 15 seconds
In FA mode, data acquisition, microcomputer (MC
1) FA operation, exposure calculation, and display operation are repeated for 15 seconds
To be done. Also, if the exposure control mechanism chard has not been completed.
When the side light switch (MES) is opened, the data
Capture, microcomputer (MC1) operation, exposure calculation, display
Immediately stop operation. Note that the warning display will be displayed once in steps # 16-4 and # 27-2.
Even if you do, the warning need not be necessary at the next flow
If you want to control display data to cancel this warning
Needless to say, it needs to be transmitted to the circuit (DSC).
Yes. Next, release with the exposure control mechanism charged.
The operation when the switch (RLS) is closed will be described.
In this case, what kind of operation does the microcomputer (MC2) perform?
The release interrupt from step # 59 immediately
Take action. First, an interrupt occurs while reading the data from the lens
Considering the case, set the terminal (O6) to "Low" and convert it.
And the lens circuits (CVC) and (LEC) are reset
(# 59), set terminal (O1) to “Low”, and
Stop the AF or FA mode operation by 1) (# 6
0). Furthermore, set the output terminal (O8) to "Low" to issue a warning signal.
Turn off the photodiodes (LD10) to (LD1n) (# 6
1), after setting the release flag RLF to "1"(# 62)
Then, it is determined whether the above-mentioned flag LMF is "1"(# 6
3). If the flag LMF is "1", the exposure control value will not be calculated.
Since it is completed, move to step # 64. On the other hand, LM
If F is "0", the exposure control value has not been calculated.
Therefore, move to step # 5 to calculate the exposure control value.
And move to step # 64. In step # 64, the aperture calculated in step # 28
Data of the number of steps Av-Avo, Av- (Avo + ΔAv), Av- (Av
o + β), Av- (Avo + β + ΔAv) to the data bus (DB)
Output and pulse for data acquisition from output terminal (O4)
Is output (# 65). This allows the exposure control device (EX
The data of the number of narrowed down stages is captured in
The squeezing operation of the output control mechanism is started
When the aperture is narrowed down by the number of stops, the aperture operation is completed
To do. A certain period of time has passed since the pulse output from the output terminal (O4)
Then (# 66), the calculated exposure time data Tv
Output to the bus (DB) and capture data from the output terminal (O5)
The dedicated pulse is output (# 67, # 68). This pulse
By the exposure control device (EXC)
Incorporated and built-in mirror drive circuit
The mirror-up operation is started. Mirror up is completed
Then, as the shutter front curtain starts running,
Exposure time data captured when the switch (COS) was closed.
The count of the time corresponding to the data starts. Count
When it finishes, the shutter trailing curtain starts running, and the trailing curtain runs.
Is completed, the mirror is down, and the aperture is opened, the switch
(EES) closes. The microcomputer (MC2) turns on when this switch (EES) is closed.
If it is determined that the input terminal (i2) has become "High"(# 6
9), reset the release flag (RLF) (# 70),
Side light switch (MES) is closed and input terminal (i0)
It is determined whether is "High"(# 71). Where (i
If 0) is "High", go back to the steps after # 2
Data acquisition, microcomputer (MC1) operation, exposure performance
Repeat the calculation and display operations. On the other hand, side light in step # 17
The switch (MES) is open and the input terminal (i0) is "L".
If it is "ow", move to the step after # 47, and use the microcomputer (M
Set C2) to the initial state and return to step # 2. Figures 8, 9, and 10 show the operation of the microcomputer (MC1).
It is a flowchart shown. Operation of microcomputer (MC1)
Are roughly divided into the following three flows. Is the flow starting with the No. 1 step a microcomputer (MC2)?
It is the main flow that is started by the focusing operation command from
The operation of the CCD (FLM) by the control circuit (COT) (No.
8), discrimination of motor rotation (No.10 to No.13), CCD
Operation when the longest integration time is measured and when the longest integration time has elapsed
(No.14 ~ 19), Detection of the end position of the focusing lens
And the longest integration time (No. 35 to 44), and the mode at the end position.
Stop and restart rotation at low contrast (No.43 ~ 4
8,51 to 67), initial setting when the operation of the microcomputer (MC1) is stopped
(No.25 to 33), CCD data conversion at low brightness (No.78 to 8)
0), defocus amount and defocus direction calculation (N
o.81-91), to determine whether the lens is capable of AF mode operation
(No.92 to 96), contrast determination (No.100), AF mode
Drive to focus zone and focus determination
(No.125 to 196) (Fig. 9), Focus mode in FA mode
Another (No.240 to 261) (Fig. 10), motion at low contrast
Product (No.105-115, 205-214), macro at the closest shooting position
Motor drive for lenses that can switch to shooting (No. 2
20 to 232) etc. are performed. The steps from No. 70 to 76 are the terminals from the control circuit (COT)
Read CCD output data by CCD integration completion signal to (it)
This is a terminal interrupt flow in which only the operation is performed. Also,
The steps No. 200 to 204 in Fig. 8 are encoder (ENC)
The match signal is output from the counter ECC via
It is a flow of a counter interruption in which focus determination is performed.
Note that once the terminal interrupt is enabled, the
A terminal interrupt signal is generated, but after the terminal interrupt operation is completed
If both are not used, the counter interrupt will not be executed.
The priority order of the plug-in operation is defined. Below this flow
Based on the chart, the operation of AF and FA modes in this embodiment
Explain the work. The operation in FA mode will be described. First, in response to the closing of the power switch (MAS)
Reset signal (PO1) is output from the reset circuit (POR1).
The reset signal, the microcomputer (MC1) receives a specific number.
Perform reset operation (No.1) from the ground. No. 2 step
Switch (FAS) is closed, the input terminal (i14) is
Determine whether it is "High". Where (i
If 14) is “High”, AF mode is selected.
If the flag MOF is set to “0” and it is “Low”, FA mode is set.
Since it is selected, set the flag MOF to "1". The No. 5 step is the output terminal (O1) of the microcomputer (MC2)
Is "High", that is, the input terminal (i11) is "High"
Determine whether or not. Here, the input terminal (i11) is
If it is "w", return to step No.2 and repeat the above operation.
When it is determined that (i11) is “High”, the
Set the output terminal (O16) to "High" (No.6)
Power supply by making transistor (BT2) conductive via (IN5)
Start power supply from the line (VF). Next, CCD (FL
Corresponds to the longest integration time in the I)
Set the fixed data C1 that was set (No. 7). Then the output terminal
Output “High” pulse from (O10) (No.8) and control
Interrupts the circuit (COT) to start CCD (FLM) integration
After enabling (No.9), move to No.10 step.
It In steps No.10 to 13, the motor (MO) rotates.
Whether or not it is sequentially determined. That is, the first time
Whether the focus detection operation is performed or not is determined by the FPF (No. 1
0), the drive position of the focusing lens (FL) is closest to
Or whether the end position of infinity is reached or not
With FNF (No.11), the drive position is within the focusing zone
If the focus flag IFF (No. 12) indicates whether or not
Which mode is selected by
It is sequentially determined by the flag MOF (No. 13). Here, if the first focus detection operation is performed,
Is at the end position or is in the focusing zone
Or if FA mode is selected, the motor
(MO) rotation is stopped, so steps from No. 14 onwards
Move to. In addition, the second and subsequent focus detection operations are performed.
The lens has reached the end position and the focusing zone.
If the AF mode is selected, the motor
(MO) is rotating, so move to steps after No.35
To do. The flag FPF does not indicate the first focus detection operation.
It is set to "1" during the current period and "0" during the second and subsequent operations.
The end flag ENF drives the focus lens (FL).
If the position has reached the closest position or infinite position, the motor
Encoder (ENC) even if the (MO) is rotated further
When no pulse is output from the
If the IFF is in the lens or focusing zone, it is "1"
It is set to “0” when it is turned on. In the steps after No.14, first register for integration time
"1" is subtracted from the contents of the ITR (No.14), and this register
Determine whether Borrow BRW is out from the ITR (N
o.15). Here, low brightness if borrow BRW is not visible
Set the flag LLF to "0" (No.18), microcomputer (MC2)
To operate the microcomputer (MC1) from the input terminal (i11)
For determining whether the "High" signal for input is input (No.
19), if (i11) is "High", return to step No.14.
Then, this operation is repeated. If it is "Low", No.25 or later
Move to the step of descending and perform the return operation to the initial state
After that, go back to No.2 step and input terminal (i11) again.
Wait for “High”. On the other hand, in step No.15,
If it is determined that the low BRW has occurred, the longest integration time
Since it has passed, a pulse is output to the output terminal (O11).
(No. 16) to forcibly stop the CCD (FLM) integration operation.
Set the low-brightness flag LLF to "1" and set the control circuit (COT).
Wait until the interrupt signal is output to the interrupt terminal (it). In the steps after No.35, first set the timer register TWR.
Data C2 is set for a certain period of time (No.35), register ITR
Borrow BRW is obtained by subtracting n (eg 3) from the content.
Determine whether or not. (No.37). Where register I
If Borrow BRW is out of TR, the longest product
Minutes have passed, so go to step No.16.
Transition to force the CCD (FLM) integration operation to stop,
Set the brightness flag LLF to "1" to interrupt the control circuit (COT)
Wait for the interrupt signal to be input to the child (it). If the borrow BRW does not appear, set the low brightness flag LLF.
Set to “0” and subtract “1” from the register TWR to get borrow BRW.
Determine whether it is out (No.40). At this time,
Input terminal (i11) must be "High" unless low BRW is output.
It is judged in the step No. 41 whether or not it is.
If (i11) is "High", return to step No.36.
If it is “Low”, move to No.25 step
It In addition, C1 / n> c2, and in the step of No.37
In the step of No. 40 until the borrow BRW comes out by discrimination
You can get more than one borrow depending on the judgment. When borrow BRW comes out in the step of No.40, the encoder (EN
Register the data ECD that counts the number of pulses from C)
Set to ECD1 (No.42), set this data and register E
Compare with the contents of CR2 (No.43). In addition, register ECR2
Is set to the count data acquired before that
It If the contents of registers ECR1 and ECR2 do not match,
If so, the lens is moving, so register
Set the contents of ECR1 in register ECR2 (No.44) and set No.35.
Return to step. Contents of registers ECR1 and ECR2 match at step No.43.
If you want to use the encoder (ENC) that was last captured,
Pulse count data has not changed, i.e.
Do not move and reach the closest position or infinity position
I am addicted. Therefore, in this case, interrupt
Enable (No.45) and output pulse to output terminal (O11)
(No.46) to forcibly stop the CCD (FLM) integration operation.
The output terminals (O12) and (013) are both “Low” (No. 4
7) to stop the rotation of the motor (MO), and
Determine whether the last flag LCF is "1" (No. 48).
This flag LCF indicates that the copy has low contrast.
Calculated based on CCD (FLM) output
It becomes “1” when the amount ΔL is poor in reliability. here,
When the flag LCF is "0", set the end flag ENF to "1"
(No.49), move to the step of No.270 in FIG. No.
In step 270, the input terminal (i14) remains "High"
Whether or not (i14) is "High" and AF mode is selected
If it remains, move to No.2 step as it is.
It On the other hand, (i14) is set to "Low" and the FA mode is set.
If it has been changed, the flag FPF is set to "1" and the terminal (O1
2) Set (O13) to "Low" to stop the motor (MO),
After setting flags LCF, LCF1, LCF3 to "0", step No. 2
Return to. To summarize the above operation, focus from the microcomputer (MC2)
The CCD operation is started by the detection operation command, and the interrupt
If possible, start counting the longest integration time.
If the motor (MO) is not rotating at this time,
The interrupt signal is input while counting the long integration time.
Wait, the interrupt signal must be input even if the maximum time has elapsed.
For example, the CCD signal is forcibly stopped and an interrupt signal is input.
Wait for you. On the other hand, when the CCD integration operation is started
If the motor (MO) is rotating, count integration time
Periodically check if the lens has reached the end position
Wait for the interrupt signal to be input while distinguishing, and the longest integration time
Even if it passes, the interrupt signal is not input and the lens reaches the end.
If not, the CCD integration is forcibly stopped and the interrupt
Wait for the issue. If the lens reaches the end, interrupt
Forcibly stop integration as impossible, motor (MO)
Stop the rotation of, and perform CCD integration again,
As described above, ΔL is calculated to determine whether or not the focus is achieved.
Is the input terminal (i1 from the microcomputer (MC2) to the microcomputer (MC1)
Even if a "High" signal is input to 1), the microcomputer (MC
1) is the signal without this focus detection and focus adjustment.
Becomes "Low" and the side light switch (MES) is closed again.
When the input terminal (i11) becomes "High", the step from No.2 starts
To start the operation. By the way, in the step of No.48, the flag LCF may be "1".
If it is determined, then it is determined whether the flag LCF1 is "1".
Be done. (No.51). If LCF is "0", set LCF1
Set it to “1” (No.52) and follow the No.60 step to set the focus direction
Determine whether the FDF is "1". The flag LCF1 is
The so-called stupid lens where the lens position is significantly displaced from the in-focus position
Contrast to determine whether or not
In order to scan the lens position that exceeds a specified value,
When the lens is pulled in when ΔL> 0,
When the lens is extended with “1” and ΔL <0 (the rear pin)
Is a flag that becomes "0". At this time, FDF is "1"
To "0" and "0" to "1" and input respectively.
It is determined whether the terminal (i12) is "High" (No. 63, 6)
Four). That is, the direction of rotation of the motor for extending the lens
Is determined, and if (i12) is “High” in step No. 63,
In order to extend the lens, it must be rotated clockwise.
No, so move to step No. 66 and connect the terminal (O12).
Set “High” and (O13) to “Low”. (I12) is "Low"
The motor (MO) counterclockwise to extend the lens.
No.65 step because it has to be rotated in the direction
And then set terminal (O12) to "Low" and (O13) to "High".
It If (i12) is “High” in step No. 64,
Rotate the motor (MO) counterclockwise to retract the lens
Move to No.65 step.
It If (i12) is "Low", the lens should be pulled in clockwise
Since the motor (MO) must be rotated in the direction
Go to step o.66. Next, in the step of No.67
Set the terminal (O14) to "High" to drive the motor (MO) at high speed.
Rotate and move to step No.270. It is determined that the flag LCF1 is "1" in the step of No.51.
If it is, close contrast or infinity remains in low contrast
Has reached the end position of the motor and stopped the motor (MO)
Wait (No.53) and wait until (i11) becomes "Low" (No.5)
5), set flags LCF, LCF1 and LCF3 to "0" and set the No. 25 step.
Return to P. Now, a series of operations in the case of low contrast will be described.
First, in the AF mode, if the control list is low, the output port
Outputs "101" to (OP0) and displays a warning (No.10
5) Next, determine whether the flag LCF is "1"
To do. (No.107). Here, the flag LCF is not "1",
If the contrast was low for the first time,
Set LCF and LCF3 to "1" (No.108,109) and set the No.110 step.
Determine whether it is the first operation (FPF = 1). F
If the lag FPF is “0”, the operation up to that point is low
There is a possibility that this measurement is incorrect, not a strike
Move to No.280 step, and switch to No.270, 271 switch.
After the step, return to No.2 step and repeat the measurement.
Let At this time, the motor rotates toward the previously calculated value.
is doing. The end flag ENF is "1" and the No. 110 step
If you move to No.280 step after
Since the rotation of (MO) is stopped, the input terminal (i11)
Wait until it becomes "Low" (No.281), then set flags LCF and LCF3.
Set it to “0” (No.282) and then perform steps from No.25 onwards.
Set the initial value to stop the operation of the controller (MC1). Also, in the step of No.110, the flag FPF is set to "1" and the first movement
If it is determined that it is a work, set flags FPF and LCF3 to "0".
(No.111, 113), then defocus at No. 205 step
Whether the amount ΔL is positive or negative is determined. Flag if ΔL> 0 and previous pin
If FDF is “1”, ΔL <0 and it is a rear pin, set flag FDF to “0”
(No.206,209), same as the above steps No.63-66
In the direction of rotation of the motor (MO) to extend the lens
Rotate the motor (MO) counterclockwise or clockwise accordingly.
Turn over. Next, in step No.212, the integration time (register
ITR content) is shorter than a fixed value C7
If the integration time is less than a certain value ((ITR) ≧ C7),
The child (O14) is set to "High" to drive the motor (MO) at high speed.
(No. 213), if the integration time is over a certain value, the terminal (O1
Set 4) to “Low” to drive the motor (MO) at low speed (No.
214), goes through No. 270 step and returns to No. 2 step
And start the measurement again. In this way, the subsequent measurement
First set the value until the value is not low contrast.
Move the lens in the desired direction. Lens reaches one end position with low contrast
Then, in the step of No.52, move the flag LCF1 to "1".
Move the lens by reversing the direction and repeating the measurement.
Let It remains low contrast, and at other end positions
Once reached, the lens is scanned from one end to the other.
Since it was done, move to No. 55 step and move
Stop the work. Note that the measured value is low during this operation.
If it is determined that it is not a strike, move to step No. 101
Then, the lens control operation based on the defocus amount described later
Do. Here, when it suddenly becomes low contrast
As above, ignore the first measurement value and repeat the measurement.
If it is a low control list at this time, the flag LCF3 is
Since it is set to "1" (No.112), set LCF3 to "0" and set N
Go to step o.205 and based on the measured values at this time
Adjust the moving direction of the lens to set the contrast above a certain value
Find the position that becomes. If the contrast is low in FA mode (MOF = 1), No.
Move from step 106 to step No.115, and
Set the LCF to “1”, the flags LCF1 and LCF3 to “0”, and the flag FPF to
"1", end flag ENF to "0", output terminals (O12), (O1
3) is set to “Low” and the process moves to the step of No.258, which will be described later.
Then, the measurement is performed again. The microcomputer (MC1) starts from steps No. 9 to No. 14, 15,
18, 19 loops or No. 35-40, 42-44 loops or N
While executing the o.36 to 41 loop, the CCD (FLM)
After the integration operation is completed, the control circuit (CO
When a “High” pulse is input from (T), the microcomputer (MC
1) jumps to No. 70 step and starts interrupt operation
To do. First, count the pulses from the encoder (ENC).
The set value ECD is set in the register ECR3 (No.70), and CCD
The number of light receiving parts of, that is, the input port (IP
The value C3 corresponding to the number of data input to
Set to NR (No.71) and input terminal at step No.72
Wait for the "High" pulse to be input to (i10). CCD
A / D conversion of the output is completed and the input terminal (i10) goes to "High".
Then, one CCD output input to the input port (IP0)
The data CD is set in the register M (DNR) (No. 73).
Next, "1" is subtracted from the contents of register DNR (No. 7
4), N until this register DNR outputs borrow BRW
o. The steps from 72 to 75 are repeated. In this way, CC
The D output data CD is sequentially set in the register M (DNR).
When all the CCD output data CD has been captured, the
Set a turn address and return to that address
Main flow after steps No.77
Move to. In step No.77, it is determined whether the flag LLF is "1".
Be done. Here, if LLF is "1", it is the data CD from the CCD.
Then the maximum data MACD is searched (No.78). This day
All CCD outputs when the most significant bit of the data MACD is not "1".
The force data ALCD is doubled (No.80) and is "1".
Sometimes, if you double it, some data will overflow.
Then, proceed directly to No. 81 step. Meanwhile, the flag LLF
If is “0”, the process immediately shifts to No. 81 step. In steps No. 81 and 90,
Integer and fractional parts of the shifts of two images in the equivalent plane
Is calculated. In addition, the shift in these steps
A concrete example of the calculation of the quantity is, for example, US Pat.
Is proposed in JP-A-57-45510.
Since it has nothing to do with the gist, its explanation is omitted. No.82 ~ 85
Steps are the same as Steps 10 to 13 above.
First, it is determined whether or not the motor (MO) is rotating. here,
If the motor (MO) is rotating, is it the encoder (ENC)?
The count data ECD of the number of pulses from
(No.86), with this data and No.44 step
The contents of register ECR2 fetched in are compared. (ECR
If 1) = (ECR2), the lens has reached the end.
Therefore, move to the operation from the above No. 47 step,
If (ECR1) ≠ (ECR2), the lens has not reached the end
To reset the contents of ECR1 to ECR2 and move to step No.89.
Transition. On the other hand, the motor (MO) must be rotating.
If so, immediately move to the No. 89 step. In step No.89, check whether the input terminal (i11) is "High".
If it is "Low", the focus after No.25 step
When the detection operation is stopped and initialized,
First, move to step No. 90 and calculate the fractional part of the shift amount.
Out, shift calculated in steps No. 81 and No. 90
Defocus amount ΔL is calculated based on the amount (No. 9
1). In step No.92, check whether the AF mode is set by the flag MOF.
If it is AF mode, go to No. 93 step,
Mode, move to No. 100 step. In AF mode
In this case, the microcomputer (MC2) first connects to the latch circuit (LA).
The conversion factor KD that was checked from the input port (IP1).
Import (No. 93), k3 of this data is "0" and k2 is "1"
It is determined whether or not (No.94). Where k3 = 0 and k2
If = 1, the interchangeable lens is in AF mode as described above.
Mode flag MOF is set to "1" (FA
Mode) and move to step No.96. On the other hand, k3
If = 1 or k2 = 0, it is an exchange lens that can be used in AF mode.
It has been installed, and moves to the No. 100 step.
To go. Furthermore, in step No. 96, is k1 = 0?
If k1 = 1, move to No.100 step.
It If k1 = 0, as mentioned above, move the lens to the closest position.
A lens is attached that cannot be switched to macro shooting unless extended.
And is about to switch to macro photography
become. In this case, move to No. 220 step and output.
Turn the terminal (O14) to "High" to rotate the motor (MO) at high speed.
Then, determine if the input terminal (i12) is "High".
Separate (No.221). Here, if (i12) is “High”
The lens is extended by rotating it clockwise.
Output terminal (O12) is set to "High", and if "Low" is set to reverse
Since it is fed out by rotating in the measuring direction (O13)
After setting "High", the pulse count from the encode
Load the input data ECD into the register ECR2 (No.224). Next, set the constant time data C8 in the register TWR (No.
225), subtract "1" from the contents of this register TWR to borrow
Repeat the operation to determine whether the BRW has come out, for a certain time
Pulse from the encoder when borrow BRW appears after
The count data ECD of is taken into register ECR1 (No.22
8). Next, do the contents of registers ECR1 and ECR2 match?
If it is (No.229) and (ECR1) ≠ (ECR2)
Sets the contents of ECR1 to ECR2 (No.230) and No.225 to 230
Repeat step. On the other hand, when (ECR1) = (ECR2)
Means that the lens has reached the closest position, and the output terminal (O1
2) Set (O13) to "Low" to stop the motor (MO).
(No.231), set the flag FPF to "1" (No.232), No.2
Return to step. After that, do not operate in FA mode.
U In the step of No.100, the data from CCD is low contrast.
It is determined whether the strike. A concrete example of this step is
It will be described later based on FIG. Where low contrast
If there is, move to the steps after No. 105 mentioned above. on the other hand,
If it is not low contrast, flag in step No. 101
Determine whether LCF is "1". Where LCF is “1”
If so, the measured value up to the previous time is low contrast and flag
No. 290 with FPF set to "1" and flags LCF, LCF1 and LCF3 set to "0"
Go to step and refer to the mode flag MOF. MOF
= 0, that is, in AF mode, set the output terminals (O12) (O13)
Set to "Low" to stop the motor (MO), and then
Return to the top and make the measurement again. Also, MOF = 1, that is, F
If it is in A mode, move to step No.240 and go to F described later.
Performs A mode operation. Flag LCF in step No. 101
= 1 and the previous measurement value is not low contrast, N
Refer to the mode flag MOF in o.104, and the MOF is "1", that is, FA mode.
Mode, go to No. 240 step, MOF is “0”, that is, AF mode.
Mode, proceed to step No.125. In steps No. 125 to 130, the defocus amount ΔL is
Judgment whether or not it is within the focal zone ZN1
The work is done. First, make sure the lens has reached the end position.
Without flag ENF is "0" (No.125) and it is in the focusing zone.
Once reached, the focus flag IFF is "1" (No.126)
In this case, the measured value | ΔL |
To compare. Here, if | ΔL | <ZN1, display the focus.
(No.128), the input terminal (i11) becomes "Low".
Wait (No.129), move to No.25 step and operate
To stop. On the other hand, if | ΔL | ≧ ZN1, set flag FPF to “1” and flag IF
Set F to “0” and move to No.135 step, and measure this time
The lens control operation is performed with the defocus amount based on the value.
Be seen. Also, the lens has reached the end and the flag ENF is
If it is “1”, in the step of No.127, if | ΔL | <ZN1
If the focus is displayed (No.128) and | ΔL | ≧ ZN1,
With the previous defocus direction displayed,
Go to step, and (i11) goes to “Low” as above.
When that happens, the operation stops. Where | ΔL | ≧ ZN1
The No. 129 step is displayed while the defocus direction is displayed twice.
However, in this case, even if the lens is in the end position,
It doesn't burn and it's useless to control the motor (MO) after that.
Stop the operation of the microcomputer (MC1) with. Check that the lens has reached neither the end position nor the focus zone.
If and are determined in steps No. 125 and 126, first, No. 131
In the step, whether the first bus flag FPF is "1"
Is determined. Here, when the flag FPF is "0"
The lens has reached the end as in steps No. 86 to 88 above.
The operation of determining whether or not it has been performed (No. 132 to 134)
Later, it moved to No.135 step, and the FPF was "1".
If so, proceed directly to step No.135. No.135
At the step, the focus detection command signal from the microcomputer (MC2)
If it is determined and the input terminal (i11) is “Low”, the No. 25 switch is
Return to step and stop the operation.
Go to step. In step No. 136, the calculated defocus amount ΔL
The lens drive mechanism
(LDR) drive amount data N is calculated and
In step, it is determined whether the flag FPF is "1". here
Then, if the flag FPF is "1", first, whether N is positive or negative
If it is determined (No.140) and it is positive, the focusing direction flag FDF is set to "1".
If it is negative, set it to “0” and then set the absolute value of the drive amount N to Nm.
Are set in register ECR4 (No.144), and flag FPF is set.
It is set to “0” and the process proceeds to step No.166. On the other hand, if the flag FPF is "0" in the step of No.137,
First, the register that stores the previous drive amount data
The contents of ECR4 are moved to register ECR5 (No.150) and replaced
To the pulse cow from the encoder (ENC) at this time
Data ECD is imported to Regis ECR4 (No.15
1). That is, the ECR5 counts at the end of CCD integration.
Data Tc1 and the count data Tc2 at this point in ECR4
It has been set. Next, it is necessary to integrate CCD
Lens movement amount τ = Tco-Tc1 during the period calculates N
Lens movement amount to = Tc1
-Tc2 is calculated. Where the middle position of CCD integration period
If N is obtained at
Z has moved by τ / 2 + to since N was obtained.
Also, move the lens from N'm obtained in the previous flow.
The data N ″ m = N′m−τ−to calculated by correcting the minute τ + to is calculated.
Will be issued. This data N ″ m is inevitably positive. In steps No.155 to 157, the defocus amount N is positive or negative.
And the flag FDF determine whether or not the focusing direction is reversed.
To be done. First, in step No.155, the data calculated this time
It is determined whether the focus amount N is positive, and if N is positive.
For example, it is determined whether the flag FDF = 0. (No.156).
If FDF = 0 at this time, it means that the direction has been reversed. No.158
Go to step No. and if FDF = 1, it has not been reversed so N
Go to step o.159. On the other hand, if N is negative, FDF
= 1 is determined (No. 157), and if FDF = 1, reverse rotation
Yes, so move to step No.158 and if FDF = 0
Since it is not reversed, move to step No.159. direction
Is not reversed, that is, in step No.159,
Rotation of the rotor brings it closer to the in-focus position.
Assuming that the value of N was obtained in the middle of the minute period, | N | −τ / 2
-To = N 'is calculated to move by motor rotation
Minute is corrected and then it is determined whether this N'is negative.
(No.160). Here, if N '<0, it passes the in-focus position.
It means that | N '| = N' and No.164 step
If N '> 0, go to No. 161 step, until the last time
The average of the data N ″ m and N ′ (N ″ m +
N ') / 2 = Na is taken (No.161), and this data Na is taken as Nm
(No. 162) and proceed to step No. 166. When the direction is reversed, that is, in the step of No.158,
From the time this data was obtained, only τ / 2 + to this data
Since it is far from the in-focus position in the focus direction, | N | +
The correction calculation of τ / 2 + to = N ′ is performed, and the
Move on. In the No.164 step, N "m and N '
The mean (N ″ m−N ′) / 2 = Na is calculated, then
It is determined whether the average Na is negative (No.165). If Na> 0, move to step No. 162 described above,
If Na <0, set terminals (O12) and (O13) to "Low"
Stop rotation (No.174) and focus zone data ZN
Multiply the conversion coefficient KD by 1 and rotate the motor in the focusing zone
Data Ni of is calculated (No.175). Next, | Na | <Ni
It is determined whether or not (No.176), and if | Na | <Ni
If it is in the focus zone, set the focus flag IFF.
Set to "1" and go to No. 2 step after No. 270 step.
To go. On the other hand, if | Na |> Ni, it means that the focus zone has passed.
The flag FPF is set to "1" and the No. 270 status is similarly set.
After that, move to No.2 step and repeat the measurement operation.
You By the way, in the step of No.166, the data showing the in-focus zone is displayed.
NZ is applied to the lens from the near focus zone to the focus position.
The data corresponding to the drive amount of the pixel is calculated. Next No.167
From the near focus zone values ZN1 and KD in the step of, Ni = ZN1 ×
KD is calculated to calculate the lens drive amount in the focusing zone.
Data Ni is calculated (No.167) and Nm and Nn are compared.
(No.168). Here, if Nm ≧ Nn, that is, outside the near focusing zone,
For example, move to step No.181, and set terminal (O14) to "High".
The motor (MO) rotates at high speed as an encoder
Cow to downcount the pulses from (ENC)
Set Nm-Nn to the data ECC (No.182) and set the No.185 status.
Move on. On the other hand, it is determined that Nm <Nn, that is, within the near focus zone.
Then, in step No.169, it is determined whether Nm <Ni.
Here, if Nm ≧ Ni, even if it is in the near focusing zone,
Since it is not in the focal zone, the output terminal (O14) is set to "L".
ow "to lower the rotation speed of the motor (MO) (No18
3), set Nm to the counter ECC (No.184),
Go to step. The KD changes depending on the shooting distance.
If the lens is
Lens control is performed only by the signal in the dust direction
However, when calculating the defocus amount, the lens from No. 150 is used.
Since the amount of movement of the camera is corrected, this correction data
Nm-Nn is set in the counter ECC in step No.182 for
Is determined. If Nm <Ni, output terminals (O12), (O
Set 13) to "Low" to stop the motor (MO) (No. 17
1), set the focus flag IFF to "1" (No.172), and set the counter
Disable (No.173) and return to No.270 step
Then, perform the measurement for confirmation again. By the way, in step No.185, is the flag FDF "1"?
To determine. Here, the output is because the FDF is from "1" to the front pin
"100" is output to the port (OP0) and the light emitting diode (LD
0) lights up and the previous pin indication is displayed (No. 186).
Since it is a pin after the port, output “001” to the output port (OP0)
To turn on the light emitting diode (LD2) and display the rear pin.
Now (No.189). Next, the contents of this flag FDF and the input terminal
(I12) and the signal of the rotation direction of the interchangeable lens
Turn the counter (MO) clockwise or counterclockwise (N
o.188,191), No.192 step, input terminal
It is determined whether (i13) is "High". Where the conversion clerk
With an interchangeable lens, the number of which changes according to the shooting distance
If (i13) is “High”, Nm is reached in step No.193.
<Determine if Nn. At this time, it is outside the near focus zone.
Therefore, if Nm ≧ Nn, proceed directly from step No. 182 above.
Nm calculated as if to move to No. 185 step later
Regardless of the direction of the motor only by the signal (MO)
Determine the direction of rotation and rotate. Next, the integration time becomes C7
Determine whether it is longer than the corresponding constant time value (No. 19
4), when it is long, the lens goes too far in the in-focus position
Since there is a possibility that the terminal (O14) is set to "Low", the motor
(MO) is driven at low speed (No.195) and counter interruption is not possible
Noh (No.196), No.2 step after No.270 step
Return to step. On the other hand, Nm <Nn at the step No.193.
When it is determined that the camera is in the near-focus zone,
Enables counter interruption, just like a normal interchangeable lens
Then (No.197) and return to the step of No.270. Also type
Enables counter interrupt even when pin (i13) is "Low"
Then return to step No.270. Now, while the motor (MO) is rotating, is the encoder (ENC)
The content of the counter ECC that counts these pulses is set to "0".
If so, the counter is interrupted and Nm <in the step of No.200.
It is determined whether it is Nn. Here, if Nm <Nn,
The motor (MO) was rotating in the focusing zone,
The focus zone has been reached, and the output terminals (O12), (O1
3) is set to “Low” to stop the rotation of the motor (MO) (N
o.203), set the focus flag (IFF) to "1" and set the No. 270 status.
Return to top. On the other hand, if Nm ≧ Nn, the near focus zone is reached.
Output terminal (O14) is set to "Low".
Slow down the speed (No. 201) and set Nn in the counter ECC (N
o.202) and then return to the interrupted address. Next, the flag MOF is set in step No. 104 or No. 290.
If it is determined to be "1", the steps after No.240
The FA mode operation is performed with. First, the No. 240 step
The flag determines whether the flag FPF is "1". here
If FPF is "1", do not operate in FA mode for the first time.
In case of switching from AF mode,
Set the end flag ENF to "0" and the focus flag IFF to "0" to focus
Focus zone data ZN2 is set in the zone discrimination register IZR.
Set. This data ZN2 is the data in AF mode ZN1.
It is a much larger value. This is in AF mode
Adjusts the lens position accurately by driving the motor.
You can adjust the lens position manually in FA mode.
It is very difficult to make adjustments as accurate as driving a motor.
That's why. Next, in step No. 245, the first pass
Set the flag FPF to "0" and move to the step of No.246.
It On the other hand, if the flag FPF is “0”, the No. 246 step is immediately started.
Move to In step No.246, whether the focus flag IFF is "1"
Is determined. Here, if the flag IFF is "1", until the last time
Since the calculated value of is in the focusing zone, the previous calculation
The average value of the output value ΔLn−1 and the calculated value ΔL of this time, that is, ΔLn
= (ΔL + ΔLn-1) / 2 is calculated and (No.24
7), Zw (> ZN) as data for focus zone in register IZR
After 2) is set (No. 248), move to No. 250 step.
To go. This is because there are variations in the measured values at each time,
If you enter the focusing zone, the width of the focusing zone will be expanded
Improves the probability that the lens is in focus and adjusts the lens position.
Prevents flickering of the display when it is near the boundary of the focal zone
This is because On the other hand, in step No.246, the focus flag is set.
If IFF is “0”, this time measured value ΔL is set to ΔLn (No. 24
9) Go to step No.250. No.250 step
Then | ΔLn | <(IZR), that is, the calculated value is within the focusing zone.
Determine whether or not. Be in focus zone here
If it is determined that the focus flag IFF is set to “1” (No. 25
1), display the focus by the light emitting diode (LD1)
(No.252) and No.258. On the other hand, focus
If it is determined that it is outside the zone, whether ΔLn> 0
Is determined (No. 253), and if ΔLn> 0, light emitting diode
Front pin display by (LD0), if ΔLn <0, by (LD2)
Rear pin display. Next, set the focus flag IFF to "0".
Then, set data ZN2 to IZR and move to the step of No.258.
To do. In step No.258, the input terminal (i14) is "High".
To determine if it is “High” and switch to AF mode.
If so, set flag FPF to “1”, IFF to “0”, LCF to “0”, and No. 2
Step, and if it remains in FA mode at “Low”,
Then, return to the No. 2 step and perform the next measurement. In steps No. 25 to 33, focus in AF and FA modes
The point detection operation is stopped and the initial state setting operation is performed.
It First, it is impossible to interrupt (No.25), terminal (O11)
A pulse is output to the CCD to forcibly stop the CCD integration operation.
(No. 26), terminals (O12), (O13) are set to "Low".
(MO) is stopped (No.27), output port (OP0)
As "000", light emitting diodes (LD0), (LD1), (LD
2) goes out (No.28) and the terminal (O16) is set to “Low”.
Power supply from the power line (VF) is stopped (No. 32).
In addition, flag ENF, IFF, LCF3 is set to "0" and flag FPF is set to "1".
(No.29-31,33). After this initial setup is done
Return to No.2 step. Next, as a modified example of the above-described embodiment, focusing in the AF mode is performed.
The subject area targeted for focusing by the point adjustment operation is the focusing zone.
When it reaches inside, another subject area enters the depth of focus
An embodiment in which it is possible to confirm whether or not there are
Description will be made with reference to FIGS. 12 and 13. Here, FIG. 11 shows
Fig. 12 is a circuit diagram of the main part showing only the parts different from Fig. 2.
Main part flow chart showing only the parts different from FIG.
FIG. 13 is an illustration showing only the parts different from FIGS. 8 to 10.
It is a part flowchart. In other words, the steps in No.127
It is determined that the focus zone has been reached, and the focus indicator is displayed.
When it is played (No.128), the flag IFF1 is set to "1" (No.30).
0), the output terminal (O30) of the microcomputer (MC1) in Fig. 11 is set to "H
"No. 301". This output terminal (O30) is
It is connected to the input terminal (i5) of the
Lens (MC2) is a lens due to "High" of its input terminal (i5)
Has reached the in-focus position. Next, the microcomputer (MC1) shifts to No.270 step, and F
If it has not been switched to A mode, the
Return to measurement and perform measurement again. In this case, the flag IFF
Since it is "1", the same flow as for confirmation of focus is performed
It comes to the step of o.91. No. 91 step and No. 92 step
Determines whether the flag IFF1 is "1" with the step
Step (No.305) is provided and flag IFF1 is not "0".
To No.92 step, and if "1", move to No.306 step.
To go. In step No.306, from the input port (IP2)
Read the data. Here, as shown in FIG.
Between the steps of # 30 and # 31 in Fig. 3, there is no dew.
Output control aperture value Av is output from the I / O port (# 80),
Is this aperture value the output terminal (an + 2) of the decoder (DEC)?
These pulses are latched in the latch circuit (LA1).
Therefore, the aperture value for exposure control is not available at the input port (IP2).
Data is input. Read data Av is converted into F No. (No.307), N
Calculation of ΔD = δ × F No. is performed in step o.308.
It Here, δ is a value corresponding to the allowable blur diameter, and ΔD is
It is a value corresponding to the depth of focus. Next, in this flow
Defocus amount | ΔL | and Δ obtained in step No. 91
D and No.309 are compared in the step, and the following focusing state table
After that, move to step No.270. Where | ΔL |
If ≧ ΔD, the subject part measured at that time is the focus
Since it is within the depth, "010" appears on the output port (OP5).
Output the signal from the light emitting diode (LD4) shown in FIG.
The indicator is turned on to display the focus. On the other hand, | ΔL |> ΔD
Then, depending on whether ΔL is positive or negative,
Output "100" to turn on the light emitting diode (LD3)
The front pin display is displayed or "001" is output.
To turn on the light emitting diode (LD5) to display the rear pin.
Be played. If you do this, it will work in AF mode.
After the lens reaches the in-focus position, drive the lens to the in-focus position.
The depth of focus is the portion other than the portion where the measurement was performed to move
Whether it is inside, or whether it is the front pin or the rear pin
It has a very easy-to-use effect such as confirmation. Incidentally. Accurate depth of focus is calculated in step No.308.
However, the measurement position may be changed to the desired part of the subject due to camera shake.
It is difficult to accurately adjust to the minute, and the calculation of ΔL
Since the output value also varies, it is the same as in the FA mode described above.
After expanding the focal zone width or once entering the focusing zone,
Widen the focusing zone width and process the average value of several calculated data.
It may be possible to increase the accuracy by performing a process. An example
For example, to widen the width of the focusing zone, ΔD = 1 × δ × FNo
It suffices to perform the calculation of (1 = 2 to 3). Also, in this modification, the microcomputer (MC1) stops operating.
Initial settings when switching to FA mode
Between the No. 33 step and the No. 2 step for N
Between the step of o.273 and the step of No.2,
The following steps are inserted: That is, set the flag IFF1
Set it to "0" (No.320, No.325) and set "00" to the output port (OP5).
0 "is output to output light-emitting diodes (LD3), (LD4), (LD
5) is turned off (No.321, No.326) and the output terminal (O30) is
Set to “Low” (No.322, No.327). Also, the step # 81 in FIG. 12 is the side light step (ME
Even after S) is opened, the display operation of the above-mentioned modification is kept
Step # 38 and Step # 39
Between the input terminal (i5) and the step (#
81) has been inserted. That is, the sidelight step (MES)
Even if it is released and it is determined that the AF mode is set, the input end
The child (i5) is "High" and the microcomputer (MC1) is as described above.
When performing the operation as to whether it is within the depth of focus of
Does not set the output terminal (O1) to "Low", it remains "High"
Leave. FIG. 14 is a concrete example of the control circuit (COT) of the CCD (FLM) shown in FIG.
It is a circuit diagram which shows an example. Counter (CO24) is a counter
A pulse obtained by dividing the clock pulse (CP) from (CO22)
(DP2) falling edge is counted and this counter (CO2
4) Output signals (p0) to (p4) of the decoder (DE2
0) outputs a “High” signal to the output terminals (T0) to (T9).
It Output of this counter (CO24) and decoder (DE20)
Output and flip-flops (FF22), (FF24) (FF
Table 7 shows the relationship between Q output of (26) and (FF28). As is clear from Table 7, the flip-flop (FF2
For the Q output (φ1) of 6), the output of the counter (CO24) is “111
High between 01 "and" 00101 ", flip-flop (FF24)
Q output (φ2) is “High” between “00100” and “10111”,
Q output (φ3) of flip-flop (FF22) is “10110”
It goes "High" between "11110". This output signal (φ
1), (φ2), (φ3) are fed from the power line (VF)
Is given to CCD (FLM) while
The transfer of analog signals is always performed in the inside. In addition,
Due to this operation, the accumulated charge remaining in the transfer gate
Is also discharged. Power-on reset circuit (POR
2) Reset signal (PO2) from flip-flop
(FF20) to (FF28), (FF32), D flip-flop
(FD20), (FD22), (DF24), counter (CO20),
(CO22) and (CO24) are reset. In addition,
The flip-flop (FF30) is set and the Q output becomes "High".
Become. Analog switch by this output signal (φR)
(AS2) conducts, and the output potential of the constant voltage source (Vr1) is the signal line.
It is given to CCD (FLM) via (ANB) and CCD is applied to this potential.
The potential of the charge storage part of (FLM) is set. Start integration operation from the output terminal (O10) of the microcomputer (MC1)
When a “High” pulse to output
Flip-flop (FF30) via the OTOT circuit (OS18)
Is reset and the terminal (φR) becomes “Low”. By this
Therefore, the CCD (FLM) stores electric charge according to the amount of light received by each light receiver.
Start the product. In addition, through the inverter (IN50)
The log switch (AS1) becomes conductive, and the CCD monitor output
Input from the terminal (ANB) to the (-) terminal of the comparator (AC1)
Force CCD monitor from pin (ANB) according to charge accumulation
-The output decreases from the potential Vr1 and the constant voltage source (Vr2)
When the electric potential is reached, the output of the comparator (AC1) is "High".
Flip to. As a result, CCD (FLM) accumulation has been completed.
And are inspected. One-shot circuit (OS10) with this inversion
Then, a "High" pulse is output, and the OR circuit (OR20)
The flip-flop (FF20) is set via. this
The "High" signal of the Q output is the rising edge of the terminal (φ1).
Then, it is taken into the D flip-flop (DF20) and its Q output.
Reset state of counter (CO20) due to "High" of force
Is released, and circuit (AN60), (AN64), (AN68)
Becomes the enable state. After the terminal (φ1) rises to "High", the terminal (T0)
Is high, the flip-flop (FF28) is at the terminal (T
0) “High”, pin (T1) “High”
Is reset by. This Q output is an AND circuit (AN6
CC as “High” pulse from terminal (φT) via 8)
It is sent to D (FLM), and this signal causes the accumulated charge to be transferred to the transfer gate.
Be transferred. Furthermore, this (φT) signal is sent to the microcomputer (MC
1) It is sent to the interrupt terminal (it) and the microcomputer (MC1) is as described above.
The CCD (FLM) output data is captured. One shot when this terminal (φT) falls to "Low"
The flip-flop (FF32) is set through the circuit (OS16).
AND circuit (AN68) when the Q output is “Low”
After the gate of the flip-flop (FF28) is closed
No "High" signal is output from the Q output. One more
Free via shot circuit (OS16) and OR circuit (OR32)
The flip-flop (FF30) is set and the terminal (φR) is set again.
To “High”. CCD (FL) by transfer signals (φ1), (φ2), (φ3)
The accumulated charge is sequentially output from the terminal (AOT) from M).
However, this charge is output between (φ2) and “High”.
ing. Therefore, the Q output of the D flip-flop (DF20)
When (φ2) becomes “High” when becomes “High”
For sample and hold by "High" of terminal (T4) in the space
Signal (φS) from AND circuit (AN66)
A signal for starting A-D conversion (φ
A) is output from the AND circuit (AN64). Also, it is sent first from the CCD (FLM) terminal (AOT).
The signal of the accumulated charge that is stored in the
Only the electric charge corresponding to the leakage of
And is almost equal to the output potential of (Vr1)
It At this time, the D flip-flop (DF24) Q Output is “H
igh ", the sample and hold signal (φ
S) is a sample hold time via the AND circuit (AN70)
To the CCD (FL)
Sample hold circuit (SH) from terminal (AOT)
Memorized in 1). First sample and hold signal (φ
S) falling causes D flip-flop (DF24)
The Q output becomes "High", and the sample hold signal
No. (φS) is sampled through an AND circuit (AN72)
It is given to the field circuit (SH2) and corresponds to the received light amount after that.
The potential is sequentially stored in the sample hold circuit (SH2)
Go. Q output of D flip-flop (DF20) becomes "High"
, And the signal of (φ3) is not output through the AND circuit (AN60).
Applied to one input terminal of the drive circuit (AN62). this
At the first falling edge of (φ3), the D flip-flop (DF
Since the Q output of 22) becomes "High", (φ
The pulse signal of 3) passes through the AND circuit (AN62)
Input to the input terminal (i10) of the microcomputer (MC1)
Command 1) to fetch data to the input port (IP0)
Signal. Where the D flip-flop (DF20)
Is the first AND circuit (AN60) when the Q output becomes "High"?
These (φ3) pulses are output from the AND circuit (AN62).
This is because the first CCD (F
The data from (LM) is for offset adjustment.
is there. Also, the signal of (φ3) is the clock of the counter (CO20).
The counter (CO20) is also provided to the clock input terminal.
By "High" of Q output of D flip-flop (DF20)
Falling of pulse from reset state (φ3)
Count the bittern. This counter (CO20) is CCD (FL
Count pulses from (φ3) as many as M)
Then, carry terminal (CY) is set to "High". From the second time onward, apply C to the sample and hold circuit (SH2) in sequence.
The output data of CD (FLM) is sampled based on the signal (φS).
Pull-held, resistors (R1), (R2), operational amplifier
Sample hold circuit with subtraction circuit consisting of (OA1)
The difference between the output of (SH1) and the output of (SH2) is calculated, and A-
It is given to the analog input terminal of the D converter (AD). A-
The D converter (AD) starts operating with the signal of (φA),
Based on the clock pulse (DP1) from the
This input data is AD converted. Where the constant voltage source
(Vr1) output is Vr1, voltage drop due to leakage is Vd, received light amount
Suppose the voltage drop due to V is V |
The output of (SH1) is Vr1-Vd, and the sample and hold circuit (SH
The output of 2) is Vr1−V | −VD. Therefore, the calculation times
The output of the path is a signal component of V |
It The A-D converter (AD) is, for example, a successive approximation type.
A high-speed A-D conversion type is desirable. A-D conversion of all data from CCD (FLM) is completed
Counter (CO20) carry terminal (CY) goes "High"
Become. This makes one shot circuit (OS14), or
Flip-flops (FF20), (FF3 through the path (OR22)
2), D flip-flops (DF20), (DF22), (DF2
4) is reset and Q of D flip-flop (DF20)
Counter (CO20) is reset when the output becomes “Low”
In this state, a “High” pulse is input from the terminal (O10).
Return to the state before Mai, the integration time is set by the timer of the microcomputer (MC1).
It is determined that the value has exceeded the fixed value, and the terminal (O11) displays “Hig
When the pulse of "h" is input, the falling edge of this pulse
Via one-shot circuit (OS12) and OR circuit (OR20)
Then the flip-flop (FF20) is set. Obey
After that, the output of the comparator (AC1) is inverted to "High".
The same operation as the above is performed, and the CCD (FLM) output
Data is A / D converted and input port of microcomputer (MC1)
It is sequentially output to (IP0). FIG. 15 is a modified example in which a part of the circuit diagram of FIG. 14 is modified.
If the output data from the CCD is small, the microcomputer (MC
After capturing the data in 1), the operation to double the data
The software is stored in the microcomputer (MC1) (No. 78-82 in Fig. 8
What was done in step) before performing A-D conversion
It was designed to be hard to do. Constant current source (CIS), resistance while terminal (φR) is "High"
(R10) ~ (R13) The potential Vr1 is applied to CCD (FLM)
The monitor output of the CCD (FLM) is compared while it is "Low".
Applied to the (-) input terminals of the converters (AC10) to (AC12).
It Then, the integration progresses and the monitor output reaches the potential of Vr2.
Then, the output of the comparator (AC12) becomes “High”.
The one-shot circuit (OS10) outputs a "High" pulse.
This pulse is applied to the circuit via the OR circuit (OR20).
After the lip flop (FF20) is reset, the same as above
Do the same operation. Furthermore, this pulse is a D flip-flop (DF32) ~
It is given to the clock pin of (DF38). At this time,
The output of the palletator (AC12) is "High", so D flip-flop
The Q output of the lop (FD38) becomes "High", and the analog output
The switches (AS48) and (AS38) become conductive. Where resistance (R3
The values of (0) to (R40) are R30 = R40 = R38 = R48 = R36 / 1.5 = R46
/1.5=R34/2=R44/2=R32/2.5=R42/2.5=
The analog switch (AS38), (AS48)
Since R30 = R40 = R38 = R48, is it an operational amplifier (OA10)?
The V | signal is output as is. On the other hand, the CCD output has low contrast and the longest integration time.
When the output of the comparator (AC12) is not inverted within
Depends on the signal from the output terminal (O11) of the microcomputer (MC1).
From the one-shot circuit (OS12) through the OR circuit (OR20)
Then, a “High” pulse is output and the monitor at that time is output.
Output is between Vr2 ~ Vr3, Vr3 ~ Vr4, Vr4 ~ Vr1
An exclusive OR circuit (EO
4), (EO2), inverter (IN52) through D flip
Of the Q outputs of the flops (DF36), (DF34), (DF32)
One of them becomes "High", and the analog switch (A
(S36), (AS46), (AS34), (AS44), (AS32), (A
S42) becomes conductive. Therefore, the integration is forcibly stopped,
1.5V |, 2V |, 2.5V | signal depending on the monitor output at that time
Is output from the operational amplifier (OA10). FIG. 16 shows the operation of the microcomputer (MC1) shown in FIGS.
A modified example of the work is shown, and the measurement result after the focus is detected once is shown.
Flowchart when out-of-focus is continuously detected at the end
No. 130 step and No. 138 step
Steps regarding the flag IFF2 are inserted between.
That is, the focus of the lens is adjusted to the focusing zone,
If the end flag ENF is "0" (No.130), the No.351 switch
In step, it is determined whether the flag IFF2 is "1". here
Then, if the flag IFF2 is "0", set this flag IFF2 to "1".
Then move to No. 270 step and measure again for confirmation.
Do. On the other hand, if the flag IFF2 is "1", for confirmation
The measurement result of 2 times is continuously out of focus (| ΔL | ≧ ZN1)
In this case, set the flags IFF and IFF2 to "0".
Then, set the flag FPF to "1" and move to the step of No.135.
Then, the focus adjustment operation is performed again. In addition, No. 33
Between step and No.2 step and No.240 step
And step No. 241, reset the flag IFF2 respectively.
Steps for resetting to the initial state (No.34, No.24
1) is provided. Figure 17 shows the steps of No. 100 in Figure 8, that is, low contrast.
Is a specific flow of steps to determine whether or not
It First, set the contents of register C to "0" (No.370),
Set register i to "1" (No.371). Then i-th and i
Absolute value of the difference between the outputs ai and ai + 1 of the + 1st light receiving element | ai−
The value obtained by adding the contents of register C to ai + 1 | is set in register C.
Is set (No. 372), 1 is added to this register i (N
o.373), and the content of this i and n (n is the total number of light receiving elements)
Yes) is compared (No.374). Where i <n-1
If so, return to step No.372, and the absolute value of the difference is
When accumulated and i = n-1, move to step No.375
To do. In other words, at the time of moving to No. 375 step, the cash register
The content of the star C is | a1-a2 | + | a2-a3 | + a3-a4 | + ... + |
An-2-an-1 | + | an-1-an | is well known.
As shown, it is a value indicating the contrast of the subject. N
In the step of o.375, this value is larger than the constant value CD.
If it is (C)> CD, the contrast is sufficient.
Since there is a minute, move to step No. 101, and if (C) ≤ CD
Since the contrast is low, move to step No. 105.
It It should be noted that the detection of the focus adjustment state is detected by the output of the two series of light receiving elements.
In contrast, if one of the series is
It is enough to use force. Also, the contra of the subject
The data that can be associated with the
If you can find it in the process of calculating the
Store the data and check whether it is below a certain value.
The contrast is determined by determining whether or not
You may ask. FIG. 18 shows the microcomputer (MC shown in FIGS. 8 to 10).
In the flow chart showing a modification of the operation program of 1)
is there. The operation will be described below. In the figure,
The operation of the icon (MC1) is shown in a simplified manner. First,
The focus detection operation is instructed from the microcomputer (MC2) in Fig. 2.
When a signal is given, the focus detection receiver that uses the CCD as the light receiving part
The charge accumulation operation in the optical unit (FLM) is started (step
). Next, counting the charge accumulation time is started (step
Up), charge the CCD until the specified charge accumulation time has elapsed.
The load is accumulated (step). The above time elapses
And the data corresponding to the amount of light received by each light receiving element of the CCD
Next read (step), data from these CCDs
Defocus amount | ΔL | and defocus direction based on
Is calculated (step). In step
Data read from the taking lens in steps | ΔL |
The conversion coefficient data K is multiplied to obtain the focus required for focus adjustment.
Data N corresponding to the movement amount of the focusing lens is calculated.
Be done. Next step is based on the data from CCD
Whether the subject to be focused is in a low contrast state
Is determined. Here, when it is determined that the contrast is low,
When the flow after step is executed, high contrast
If it is determined that the
Be done. If it is determined that the contrast is high, the above-mentioned
Based on the calculated N value and the specified focus width value.
Based on the following three types of focus, focus, front focus and rear focus
Is determined in steps. Where the absolute value of N | N |
If the value is less than the specified focus width value ZN, that is, | N | ≦ ZN, the focus is determined.
Separately, the motor is stopped (step) and the focus is displayed.
After (step) is performed, the microcomputer (MC1)
Stop the operation. On the other hand, if | N |> ZN and N> 0
If it is determined to be the front pin, the front pin is displayed (step
Of the motor for retracting the focusing lens.
After the rotation direction is determined (step), go to the step
Transition. If | N |> ZN and N> 0, then
If the pin is determined to be a pin, the next pin is displayed (step
), Rotation of the motor to extend the focusing lens
The turning direction is determined (step), and then step
Transition. At the step, data | N | is set to the counter in the microcomputer.
The counter interrupt described later can be
After the motor starts to rotate in the step,
The flow after step is executed. Here, in FIG.
As mentioned in the explanation, the drive amount of the focusing lens is
Monitored by the encoder,
The monitor pulse is counted by the counter. This count
When the value reaches | N |
Then, the flow of the counter interruption after the step immediately
To be executed. At this time, the focusing lens is
It is driven by the amount corresponding to the
The position has reached the in-focus position. Therefore, stop the motor
(Step), after displaying the focus (step),
Con stops working. Focusing lens in the flow starting from step
The focus is detected while moving the. First of all,
Start CCD charge accumulation (step
Step), counting the predetermined charge accumulation time (step
), CCD data is read (step).
In addition, this CCD data is the data during the movement of the focusing lens.
It is Next, the monitor pulse is emitted from the encoder.
The focus lens is terminated by detecting the life cycle.
Whether the end position (closest point or infinity) is reached
It is determined by the step. Where the end position has been reached
If it is determined that the motor is stopped (step
After that, the microcomputer stops operating. On the other hand, at the end position
If not, the CCD data is added as in step.
Based on the
It If the step determines that the contrast is low, the previous
Whether another result had the same low contrast, i.e. continuous
And whether or not low contrast is determined in step
To be determined. Here, the result of the previous determination is high contrast
If so, the flow after the step is executed again,
Based on the following CCD data, end position, low contrast
To be determined. That is, the state of contrast while moving the lens
Is inverted from high contrast to low contrast,
CCD data at the time of low contrast discrimination is ignored. one
However, if the result of the previous determination is low contrast, the motor
Stop (step), disable counter interrupt (step)
), After low contrast warning display (step)
Then, the flow after the above steps is executed. Immediately
Based on the CCD data when the focus lens is stopped.
Then, the focus detection is restarted. In addition, low
If the trust is continuously identified, a counter interrupt is issued.
Prohibit and calculate defocus direction based on CCD data
After that, execute the flow after the steps below
You may ask. Now, if it is determined that the contrast is high in the step,
Defocal based on CCD data read in step
Amount | ΔL | and defocus direction are calculated (step
Up). Then, just like the step,
It is determined whether the lens has reached the end position (step
Up). Here, when reaching the end position,
Similarly, go to step and have not reached the end position
If so, go to step. Step, in the above
In the same way as in step, reading data K, reading data N
Calculation is performed. In step, this data N is obtained
It is data corresponding to the amount of lens movement that has been moved to
The corrected data N'is calculated. This data correction
After focus is reached, focus or low contrast is detected.
Then, the steps or flows are repeatedly executed. Also, when it is determined that the contrast is low in the step
First displays a low-contrast warning display (step
Next, the positive / negative of N calculated in the step is
It is determined by If N> 0 and the front pin
Rotation direction of the motor for retracting the focusing lens
Is determined (step), and if N> 0 and there is a back pin,
The direction of rotation of the motor to extend the focus lens is
Determined (step). Next, the charge accumulation amount in CCD
The charge accumulation time until it reaches a predetermined amount is shorter than a fixed time
Whether or not it is determined in step. Where charge storage
If the product time is longer than a certain time, the motor is driven at low speed
Is determined (step), and if it is short, the motor
High speed drive is determined (step). This determined drive speed
The motor starts to rotate in steps based on degrees
It That is, when the subject brightness is low, the motor is driven at low speed.
If the subject brightness is high, the motor is driven at high speed.
It Steps and / or steps described above
Similarly, the CCD charge accumulation starts and the charge accumulation time is counted.
CCD data can be read while the lens for focus and focus is moving.
Done. The steps are similar to the previous steps
First, it is determined whether or not the contrast is low. Where low
If not trust, the motor is stopped (step
From step) to the step of the focus lens.
Focus detection based on CCD data in the stopped state is restarted.
It On the other hand, if the contrast is low, step,
Similarly, has the focusing lens reached the end position?
Whether or not it is detected (step). Terminal at step
If it is detected that the
To determine the motor drive speed again and
Repeat the operation. Detected that the end position has been reached
And whether or not this end detection is performed continuously
Is determined by. Here, when the end detection is made for the first time,
If the motor rotation direction is reversed (step)
To the step and move the focusing lens to the other end.
Drive toward the end position. On the other hand, there is no end detection
The focus lens is at one end position,
Driven from one position to the other end position, i.e.
Low contrast over the entire shooting area up to
It will be. In this case, even if the lens is driven further
Focus is not detected and the motor is stopped.
(Step), the microcomputer stops operating. Effect According to the present invention, the image forming position during the movement of the focusing lens.
And the reliability of the amount of deviation from the planned in-focus position
When the status changes, stop the focusing lens once.
The judgment result based on the accurate output of the light receiving means when the
Drive control of focusing lens based on the result and the amount of deviation
Therefore, the wrong drive is not performed.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明によるカメラシステムの概略を示すブロ
ック図、第2図はその回路構成を示す回路図、第3図は
第2図におけるマイコン(MC2)の動作を示すフローチ
ャート、第4図はマイコン(MC2)の直列データ入力部
(SDI)の具体的な回路構成を示す回路図、第5図はカ
メラ本体に装着されるコンバータ(CV)および交換レン
ズ(LE)の回路構成を示す回路図、第6図はマイコン
(MC1)により制御される発光ダイオード駆動回路(FA
D)の具体的な回路構成を示す回路図、第7図は焦点距
離に応じて変換係数が変化する光学系を有する変倍レン
ズの焦点距離と変換係数との関係を示すグラフ、第8図
ないし第10図は第2図のマイコン(MC1)の動作を示す
フローチャート、第11図は第2図のカメラシステムの第
1の変形例の要部回路構成を示す回路図、第12図および
第13図はそれぞれこの変形例に対応するマイコン(MC
2)および(MC1)のフローの要部を示すフローチャー
ト、第14図はマイコン(MC1)により制御される制御回
路(COT)の具体的な回路構成を示す回路図、第15図は
その変形例の要部回路構成を示す回路図、第16図はマイ
コン(MC1)のフローの他の変形例の要部を示すフロー
チャート、第17図は第8図のマイコン(MC1)のNo.100
のステップの動作を具体的に示すフローチャート、第18
図は第8図ないし第10図に示したマイコン(MC1)の全
体フローの変形例を示すフローチャートである。 BD:カメラ本体、LE:撮影レンズ、 FL:フォーカス用レンズ、 FLM:焦点検出用受光手段、 112:信号処理手段、 113:判定手段、 114:駆動制御手段、検知手段、停止手段、駆動再開手
段、MDR:駆動手段。
FIG. 1 is a block diagram showing the outline of a camera system according to the present invention, FIG. 2 is a circuit diagram showing its circuit configuration, FIG. 3 is a flow chart showing the operation of the microcomputer (MC2) in FIG. 2, and FIG. Circuit diagram showing the specific circuit configuration of the serial data input section (SDI) of the microcomputer (MC2). Fig. 5 is a circuit diagram showing the circuit configuration of the converter (CV) and interchangeable lens (LE) mounted on the camera body. , FIG. 6 shows a light emitting diode drive circuit (FA) controlled by a microcomputer (MC1).
FIG. 8 is a circuit diagram showing a specific circuit configuration of D), FIG. 7 is a graph showing the relationship between the focal length and the conversion coefficient of a variable power lens having an optical system in which the conversion coefficient changes according to the focal length, FIG. To FIG. 10 are flowcharts showing the operation of the microcomputer (MC1) in FIG. 2, and FIG. 11 is a circuit diagram showing the main circuit configuration of the first modification of the camera system in FIG. 2, FIG. Figure 13 shows the microcomputer (MC
2) and a flow chart showing the main part of the flow of (MC1), FIG. 14 is a circuit diagram showing the concrete circuit configuration of the control circuit (COT) controlled by the microcomputer (MC1), and FIG. 15 is a modification thereof. FIG. 16 is a circuit diagram showing the circuit configuration of the main part of FIG. 16, FIG. 16 is a flowchart showing the main part of another modification of the flow of the microcomputer (MC1), and FIG. 17 is No. 100 of the microcomputer (MC1) of FIG.
18 is a flowchart showing the operation of the step
The figure is a flow chart showing a modification of the overall flow of the microcomputer (MC1) shown in FIGS. BD: camera body, LE: shooting lens, FL: focus lens, FLM: focus detection light receiving means, 112: signal processing means, 113: determination means, 114: drive control means, detection means, stop means, drive restart means , MDR: drive means.

フロントページの続き (72)発明者 谷口 信行 大阪府大阪市中央区安土町2丁目3番13号 大阪国際ビル ミノルタカメラ株式会社 内 (72)発明者 赤田 保明 大阪府大阪市中央区安土町2丁目3番13号 大阪国際ビル ミノルタカメラ株式会社 内 審査官 大元 修二Front Page Continuation (72) Inventor Nobuyuki Taniguchi 2-3-13 Azuchi-cho, Chuo-ku, Osaka-shi, Osaka Inside Osaka International Building Minolta Camera Co., Ltd. (72) Yasuaki Akada 2-chome, Azuchi-cho, Chuo-ku, Osaka-shi, Osaka Shuji Omoto Examiner, Minolta Camera Co., Ltd. No. 3-13 Osaka International Building

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】撮影レンズを通過した合焦対象体からの光
を測定する焦点検出用受光手段と、 該受光手段の受光出力に基づいて、合焦対象体の結像位
置の予定焦点位置に対するずれの量を示すデータを出力
する信号処理手段と、 撮影レンズのフォーカス用レンズを移動させる駆動手段
と、 前記受光出力に基づいて、前記信号処理手段から出力さ
れるデータが信頼できるか否かを判定する判定手段と、 信頼できないことが前記判定手段により判定された場合
は所定の方向に撮影レンズのフォーカス用レンズを移動
させ、信頼できることが前記判定手段により判定された
場合は前記信号処理手段からのずれ量を示すデータに基
づいて撮影レンズのフォーカス用レンズを移動させるよ
うに上記駆動手段を制御する駆動制御手段と、 前記判定手段での判定結果が信頼できない状態から信頼
できる状態に変化したことを検知して検知信号を出力す
る検知手段と、 撮影レンズのフォーカス用レンズの移動期間中に前記検
知手段から検知信号が出力されると、フォーオス用レン
ズの移動を停止させるように上記駆動手段を制御する停
止手段と、 上記停止手段によるフォーカス用レンズの停止状態での
信号処理手段および判定手段からのそれぞれの出力に基
づいて上記駆動制御手段の動作を再開させる駆動再開手
段と、 を有することを特徴とする自動焦点調節装置。
1. A light receiving means for focus detection for measuring light from a focusing object that has passed through a photographing lens, and a light receiving output of the light receiving means with respect to an intended focus position of an image forming position of the focusing object. A signal processing unit that outputs data indicating the amount of deviation, a driving unit that moves the focusing lens of the photographing lens, and whether the data output from the signal processing unit is reliable based on the received light output. Judgment means for judging, and if the judgment means determines that the reliability is unreliable, the focusing lens of the photographing lens is moved in a predetermined direction, and if it is judged that the reliability is reliable, the signal processing means is used. The drive control means for controlling the drive means so as to move the focusing lens of the photographing lens based on the data indicating the shift amount of When the determination result is output from the unreliable state to the reliable state by detecting the detection signal, and the detection signal is output from the detection unit during the movement period of the focusing lens of the photographing lens, Stop means for controlling the drive means so as to stop the movement of the lens for FOROS, and the drive control means on the basis of respective outputs from the signal processing means and the determination means when the focus lens is stopped by the stop means. And a drive restarting means for restarting the operation of the automatic focusing apparatus.
JP8874190A 1990-04-02 1990-04-02 Automatic focus adjustment device Expired - Lifetime JPH0693058B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8874190A JPH0693058B2 (en) 1990-04-02 1990-04-02 Automatic focus adjustment device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8874190A JPH0693058B2 (en) 1990-04-02 1990-04-02 Automatic focus adjustment device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP5845183A Division JPS59182411A (en) 1983-04-01 1983-04-01 Automatic focusing device

Publications (2)

Publication Number Publication Date
JPH03109532A JPH03109532A (en) 1991-05-09
JPH0693058B2 true JPH0693058B2 (en) 1994-11-16

Family

ID=13951346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8874190A Expired - Lifetime JPH0693058B2 (en) 1990-04-02 1990-04-02 Automatic focus adjustment device

Country Status (1)

Country Link
JP (1) JPH0693058B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4905693B2 (en) * 2007-03-16 2012-03-28 ペンタックスリコーイメージング株式会社 Interchangeable lens with memory
KR20160068773A (en) 2013-10-11 2016-06-15 린텍 가부시키가이샤 Process sheet

Also Published As

Publication number Publication date
JPH03109532A (en) 1991-05-09

Similar Documents

Publication Publication Date Title
US4774540A (en) Camera system capable of automatic focus control
US4509842A (en) Camera system capable of focus detection through an interchangeable objective lens
US4550993A (en) Device for providing a camera system with an information for a focus adjustment
US4671640A (en) Automatic focus control camera
US5079582A (en) Automatic focus adjusting apparatus
USRE33016E (en) Protective device for automatic focusing camera
JPH02254432A (en) Automatic focusing camera
JPH0559411B2 (en)
US4873543A (en) Automatic focusing camera
JP2941966B2 (en) Camera system and interchangeable lens device
JPH0693058B2 (en) Automatic focus adjustment device
JPH0760210B2 (en) Camera detection device
JP2526897B2 (en) Automatic focus adjustment device
US5247326A (en) Camera system capable of automatic focus control
JPH0559412B2 (en)
US4982217A (en) Camera with automatic focusing apparatus
US4816858A (en) Automatic focusing cameras
JPH0627893B2 (en) Automatic focus adjustment device
JPS59182411A (en) Automatic focusing device
JPS6012526A (en) Automatic focus adjusting device
JPH0462364B2 (en)
JP2591086B2 (en) Display device for focus detection
JPS59204813A (en) Automatic focusing device
JPH0559413B2 (en)
JPS59204810A (en) Automatic focusing device