JPH0627893B2 - Automatic focus adjustment device - Google Patents

Automatic focus adjustment device

Info

Publication number
JPH0627893B2
JPH0627893B2 JP58081977A JP8197783A JPH0627893B2 JP H0627893 B2 JPH0627893 B2 JP H0627893B2 JP 58081977 A JP58081977 A JP 58081977A JP 8197783 A JP8197783 A JP 8197783A JP H0627893 B2 JPH0627893 B2 JP H0627893B2
Authority
JP
Japan
Prior art keywords
output
circuit
data
focus
lens
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
JP58081977A
Other languages
Japanese (ja)
Other versions
JPS59206806A (en
Inventor
典夫 石川
猛 江川
邦夫 河村
信行 谷口
保明 赤田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP58081977A priority Critical patent/JPH0627893B2/en
Publication of JPS59206806A publication Critical patent/JPS59206806A/en
Publication of JPH0627893B2 publication Critical patent/JPH0627893B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B3/00Focusing arrangements of general interest for cameras, projectors or printers
    • G03B3/10Power-operated focusing
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/282Autofocusing of zoom lenses

Description

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

技術分野 本発明は、撮影画像の比較的狭い所定領域内の被写体に
対して合焦するようにフォーカシングレンズ位置を決定
し、一旦決定されるとそのレンズ位置を固定するよう構
成された自動焦点調節装置に関する。 従来技術 従来、比較的狭い所定領域内の被写体に対して自動的に
焦点調節を行うものにおいて、一旦合焦するとその後の
焦点調節を禁止する自動焦点調節装置(いわゆるワンシ
ョットAF)が提案されている。この装置によると、一
旦合焦するとピント状態が固定されるので、上記所定領
域を別の被写体に合わせてもピント位置がずれない。し
たがって、主被写体に合焦させた状態で、構図を変更し
て撮影を行えるのである。 発明が解決しようとする課題 ところで、構図を決定するにあたり、主被写体以外の被
写体(従被写体)が被写界深度内に入っているかどう
か、ということは重要な要件である。しかし、上記従来
の装置では、従被写体のピント状態が確認できず、主被
写体に合焦した後の構図決定を、従被写体のピント状態
を考慮して行うことができないという問題があった。 そこで、本発明は、主被写体が合焦した状態における従
被写体が被写界深度内に入っているかどうかを確認でき
る自動焦点調節装置を提供することを目的とする。 課題を解決するための手段 上記課題を解決するために本発明は、 撮影画像の比較的狭い所定領域内の被写体に対して焦点
調節に関するデータを検出する検出手段と、 上記検出手段の出力に基づいて上記被写体に対して合焦
が得られるようにフォーカシングレンズの位置を決定す
るレンズ位置決定手段と、 上記レンズ位置決定手段の動作完了に応答して、以降の
上記レンズ位置決定手段の動作を禁止するフォーカスロ
ック手段と、 上記フォーカスロック手段の作動中に、上記検出手段の
出力及び絞り値に基づいて上記所定領域内の被写体が被
写界深度内にあるかどうかを判別するとともに判別結果
を表示する表示手段と、 を有することを特徴とするものである。 作 用 所定領域内の被写体に対して合焦が得られるようにフォ
ーカシングレンズの位置が決定されると、その後はフォ
ーカシングレンズ位置が保持されると共に上記所定領域
内の被写体に対して被写界深度内かどうかを示す表示が
行われる。 実施例 本発明による自動合焦カメラシステムの概略をレンズ交
換可能な一眼レフレックスカメラに用いた例を示す第1
図にづいて説明する。第1図において、一点鎖線の左側
は撮影レンズ(LE)の一例としてのズームレンズ、右
側はカメラ本体(BD)であり、両者はそれぞれカプラ
ー(101)、(102)を介して機構的に接続され
る。このカメラシステムでは、撮影レンズ(LE)のフ
ォーカス用レンズ(FL),ズーム用レンズ(ZL),
マスターレンズ(ML)を通過した被写体光が、カメラ
本体(BD)の反射ミラー(103)の中央の半透光部
を透過し、サブミラー(104)によって反射された焦
点検出用受光部(FLM)に受光されるように、その光
学系が構成されている。尚、この受光部は撮影画面の比
較的狭い所定領域に入射する光量のみを受光する。 モーター(MO)の回転はスリップ機構(SLP)、駆
動機構(LDR)、カメラ本体側カプラー(102)を
介して撮影レンズ(LE)に伝達される。尚、スリップ
機構(SLP)は、後段に所定以上のトルクがかかった
ときにすベり、モーター(MO)にその過負荷がかから
ないようにするためのものである。また、撮影レンズの
フォーカス用レンズ(FL)は伝達機構(100)を介
してレンズ側カプラー(101)に連結されている。こ
れにより、モーター(MO)の回転に従ってフォーカス
用レンズ(FL)が光軸の前後方向に移動して焦点調節
が行なわれる。 信号処理回路(106)は、焦点検出用受光部(FL
M)からの受光出力に基づいて、合焦対象体の結像位置
の合焦位置に体するズレ量を示すデフォーカス用|ΔL
|およびデフォーカス方向(前ピンまたは後ピン)のデ
ータを周期的に出力する。第1の合焦状態判別回路(1
07)は、信号処理回路(106からのデフォーカス量
|ΔL|と合焦幅ZNとを比較したり、フォーカス用レ
ンズ(FL)の移動量に応じてデフォーカス|ΔL|を
減じて|ΔL|が所定値以下になるか否かを検出したり
して、例えば |ΔL|≦ZNであれば合焦信号を出力し、 |ΔL|>ZNであれば非合焦信号を出力する。 モーター駆動回路(MDR)は、この非合焦信号および
でデフォーカス方向の信号に基づいて、モーター(M
O)の駆動を制御し、モーター駆動中(即ちレンズ移動
中)に合焦状態判別回路(107)から含焦信号が出力
された場合に、モーター(MO)の駆動を停止させる。
絞りデータ出力回路(105)は、撮影用絞りのデータ
を出力する。第2の含焦状態判別回路(108)は、上
記駆動停止に応答して作動を開始し、駆動停止時に含焦
状態判別回路(107)から出力されるデフォーカス
量、|ΔL|と絞りデータ出力回路(105)から出力
される絞りデータに応じた焦点深度データとを比較す
る。焦点深度表示手段(109)はこの判別結果に基づ
いた表示、即ち結像位置が絞りに応じた焦点深度内にあ
るか否かの表示を行なう。 上述の構成による本カメラシステムの作動を簡単に説明
する。まず、モーター(MO)の停止状態において、|
ΔL|>ZNであって結像位置が合焦領域外にあること
が判別されると、第1の合焦状態判別回路(107)か
らの非合焦信号によりモーター(MO)は駆動を開始す
る。これにより、フォーカス用レンズ(FL)は合焦位
置に向けて移動を開始する。信号処理回路(106)は
受光部(FLM)からの受光量に基づいたズレ量のデー
タを周期的に出力しており、モーター(MO)の駆動に
より結像位置が合焦領域内に達して|ΔL|≦ZNが判
別されると、モーター駆動回路(MDR)によりモータ
ー(MO)は急停止する。これにより第2の合焦状態判
別回路(108)が作動を開始する。 さて、このようにしてレンズ移動が停止した状態で合焦
対象本以外の被写体の所望部分にカメラの向きが変えら
れると、信号処理回路(106)からは上記所望部分に
関するデフォーカス量および方向のデータが出力され
る。尚、このときモーター(MO)は駆動されない。こ
こで、第2の合焦状態判別回路(108)は、絞りデー
タ出力回路(105)から与えられる撮影用絞りに応じ
た幅の焦点深度データを算出しており、この焦点深度の
データと上記所望部分に関するデフォーカス量のデータ
とを比較する。焦点深度表示回路(109)は、この比
較結果に応じて、所望部分の結像位置が撮影用絞りに応
じた焦点深度内にあるか否かを表示する。この焦点深度
の判別および表示は、カメラの向きを被写体の所望部分
に向けるたびに行なわれる。 上述の構成による本発明の自動合焦カメラシステムの具
体的な内容を第2図以降の図面に従って以下に詳述す
る。尚、第1図の信号処理回路,第1および第2の合焦
状態判別回路,焦点深度表示回路の機能は、マイクロコ
ンピュータ(以下、マイコンと称する)により達成され
る。 第2図は、第1図に示した構成のうちカメラ本体(B
D)側の回路部の構成を示すブロック図である。図にお
いて、カメラ本体(BD)とレンズ(LE)との間には
レンズ(LE)の焦点距離を例えば1.4倍または2倍
に伸ばすためのコンバータ(CV)が挿入されている。
カメラ本体(BD)とコンバータ(CV)とはそれぞれ
接続端子群(CN 1)と(CN 2)とで接続され、コン
バータ(CV)とレンズ(LE)とはそれぞれの接続端
子群(CN 3)と(CN 4)とで接続されており、コン
バータ(CV)およびレンズ(LE)からの各種情報が
カメラ本体(BD)側に与えられるようになっている。
電源スイッチ(MAS)が閉成されることにより、パワ
ーオンリーセット回路(POR 1),マイコン(MC
1),(MC 2),表示制御回路(DSC),発振回路
(OSC),インバータ(IN 1)〜(IN 8),アン
ド回路(AN 1)に電源ライン(+E)を介して給電が
開始される。この給電開始により、パワーオンリセット
回路(OR 1)からリセット信号(PO 1)が出力され
て、マイコン(MC 1),(MC 2)および表示制御回
路(DSC)がリセットされる。マイコン(MC 2)は
このカメラシステムの全体的な作動をシーケンス的に行
なわせるマイクロコンピュータであり、マイコン(MC
1)はこのマイコン(MC 2)からの制御信号に応答し
て焦点調節作動をシーケンス的に行なわせるマイクロコ
ンピュータである。尚、マイコン(MC 2)の動作を第
3図のフロチャートに、マイコン(MC 1)の動作を第
8図ないし第10図のフローチャートに示す。 測光スイッチ(MES)はレリーズボタン(不図示)の
押下げ操作の第1段階で閉成され、このスイッチ(ME
S)が閉成されると、インバータ(IN 1)を介してマ
イコン(MC 2)の入力端子(i 0 )に“High ”レベ
ルの信号が与えられる。これに応答してマイコン(MC
2)の端子(O 0)が“High ”となり、インバータ
(IN 2)を介してトランジスタ(BT 1)が導通す
る。このトランジスタ(BT 1)の導通により、パワー
オンリセッタ回路(POR 3),測光回路(LMC),
デコーダ(DEC 1),発光ダイオード駆動用トランジ
スタ(BT 3),フィルム感度設定装置(SSE),絞
り値設定装置(ASE),露出時間設定装置(TS
E),露出制御モード設定装置(MSE),露出制御装
置(EXC),ラッチ回路(LA)に電源ライン(V
B)を介して給電が開始される。この給電開始により、
パワーオンリセット回路(POR 3)からリセット信号
(PO 3)が出力されて露出制御装置(EXC)がリセ
ットされる。また、マイコン(MC 2)の出六端子(O
0 )からの“High ”レベルの信号は、バッファ(B
F)によりコンバータ(CV)およびレンズ(LE)の
電源電圧(VL)として、接続端子群(CN 1),(C
N 2),(CN 3),(CN 4))を介して、コンバー
タ(CV)内の回路(CVC)及びレンズ(LE)内の
回路(LEC)に与えられる。尚、接続端子群は、この
給電用端子の他に、マイコン(MC 2)の出力端子(O
6)から出力されてコンバータ回路(CVC),レンズ
回路(LEC)をリセット状態から解除するための信号
伝達用端子と、マイコン(MC 2)のクロック出力端子
(SCO)からの同期用クロックパルスをコンバータ回
路(CVC),レンズ回路(LEC)に伝達するための
クロックパルス伝達用端子と、マイコン(MC 2)の直
列データ入力端子(SDI)にコバータ(CV),レン
ズ(LE)からのデータを入力させる信号入力用端子
と、アース端子とを備えている。なお、マイコン(MC
2)の直列データ入力部の回路構成を第4図に、コンバ
ータ(CV)の回路(CVC)およびレンズ(LE)の
回路(LEC)の回路構成を第5図に示す。 測光回路(LMC)は、マイコン(MC 2)のアナログ
入力用端子(ANI)にアナログ値の測光信号を、基準
電圧入力端子(VR)にD−A変換用の基準電圧信号を
与えている。マイコン(MC 2)は、測光回路(LM
C)からの基準電圧信号に基づいて、端子(ANI)に
入力するアナログ測光信号をディジタル信号に変換す
る。表示制御回路(DSC)は、データバス(DB)を
介して入力する種々のデータに応じて、液晶表示部(D
SP)により露出制御値を表示するとともに発光ダイオ
ード(LD10)〜(LD1n)により警告表示等を行な
う。マイコン(MC 2)の出力端子(O 8)は測光スイ
ッチ(MES)が閉成されてからカメの露出制御動作が
開始するまでの間“High ”となっており、インバーチ
(IN 8)によりトランジスタ(BT 3)はこの問のみ
発光ダイオード(LD10)〜(LD1n)を発光可能とす
る。 デコーダ(DEC 1)は、マイコン(MC 2)の出力ポ
ート(OP 1)から与えられる信号に応じて、装置(M
SE),(TSE),(ASE),(SSE),回路
(DSC),#LA)のうちいずれかの装置または回路
とマイコ(MC 2)との間でデータバス(DB)を介し
てデータの受け渡しを行なうかを示す信号を出力端子
(a 0 )〜(an+1 )に与える。例えば、マイコン
(MC 2)が露出制御モードのデータを読込む場合に
は、出力ポート(OP 1)からの特定データで出力端子
(ao)が“High ”になことにより、データバス(D
B)に露出制御モード設定装置(MSE)から設定露出
制御モードを示すデータが出力され、このデータがマイ
コン(MC 2)の入出力ポート(I/O)から読込まれ
る。同様に、設定絞り値を読込む場合には端子(a2)が
“High ”になる。表示制御回路(DSC)に表示用デ
ータを送る場合には、送るデータに応じて端子(a4)〜
(an)の1つが“High ”になる。また、後述するレン
ズの変換係数データ(KD)を送る場合には入出力ポー
ト(I/O)からデータバス(DB)にこの変換係数デ
ータを出力した後に出力ポート(OP 1)に特定データ
を一定時間出力し、端子(an+ 1)からのパルスによ
りラッチ回路(LA)に変換係数データをラッチさせ
る。 露出制御装置(EXC)は、マイコン(MC 2)の割込
信号入力端子(it)に“High ”の割込み信号が与えら
れることにより、以下の露出制御動作を開始するように
なっており、レリーズ回路、ミラー駆動回路,絞り制御
回路,露出時間制御回路を備えている。この装置(EX
C)は、マイコン(MC 2)の出力端子(O 4)からパ
ルスが出力されると、データバス(DB)に出力されて
いる絞り込み段数データを取込み、レリーズ回路を作動
させて露出制御動作を開始させる。露出制御動作の開始
から一定時間が経過すると、マイコン(MC 2)から露
出時間データがデータバス(DB)に、パルスが端子
(O 5)に出力される。これによって露出制御装置(E
XC)は露出時間データを取込み、ミラー駆動回路を作
動させて反射ミラーの上昇を開始させるとともに、絞り
制御回路を作動させて絞り込み段数データだけ絞りを絞
り込ませる。反射ミラーの上昇が完了すると、シャッタ
ー先幕の走行が開始される。同時に、カウントスイツチ
(COS)が閉成することにより露出時間制御回路が作
動して露出時間データに対応した時間のカウントが開始
される。カウントが完了するとシャッター後幕の走行が
開始され、絞りが開かれ、ミラーが下降することにより
露出制御動作が完了する。 レリーズスイッチ(RLS)はリレーズボタンの押し下
げ操作の第2段階で閉成され、このスイッチ(RLS)
が閉成されるとインバータ(IN 3)の出力、即ちアン
ド回路(AN 1)の一方の入力端が“High ”になる。
スイッチ(EES)は露出制御動作が完了すると閉成さ
れ、露出制御機構(不図示)が動作可能な状態にチャー
ジされると開放される。このスイッチの開閉状態を示す
信号はインバータ(IN 4)を介してマイコン(MC
2)の入力端子(i 2 )およびアンド回路(AN 1)の
他方の入力端に与えられる。尚、アンド回路(AN 1)
の出力端はマイコン(CM 2)の割込信号入力端子(i
t)に接続されている。従って露出制御機構のチャージ
が完了していない状態では、アンド回路(AN 1)のゲ
ートは閉じられており、レリーズスイッチ(RLS)が
閉成されてもアンド回路(AN 1)の出力は“Low”の
ままである。即ち、マイコン(MC 2)には割込信号は
入力されず、露出制御動作は開始されない。一方、露出
制御機構のチャージが完了している体では、アンド回路
(AN 1)のゲートは開かれており、レリーズスイッチ
(RLS)か閉成されるとアンド回路(AN 1)の出力
が“High ”になって割込信号かマイコン(MC 2)の
割込端子(it)に入力し、マイコン(MC 2)は直ちに
露出制御の動作に移行する。 マイコン(MC 2)の出力端子(O 1),(O 2),
(O 3)はそれぞれマイコン(MC 1)の入力端子(i
11),(i 12),(i 13)に接続されている。ここ
で、出力端子(O 1)は、マイコン(MC 1)で合焦検
出動作を行なわせるときは“High ”、行なわせないと
きは“Low”になる。出力端子(O 2)は、モーター
(MO)を時計方向に回転させるとフォーカス用レンズ
(FL)が繰り出されるように構成される交換レンズが
装着されている場合は“High ”、モーター(MO)を
反時計方向に回転させると繰り出される交換レンズの場
合は“Low”になる。出力端子(O 3)は、結像位置の
合焦位置からのズレ量とデフォーカス方向とに基づいて
フォーカス用レンズを合焦位置に向けて駆動する方式
(以下、プレディクター方式と称する)のみに対応して
焦点調節がなされる交換レンズの場合には“Low”、合
焦位置からのズレ方向の信号(前ピン,後ピン,合焦)
でレンズを駆動する方式(以下、三点指示方式と称す
る)とこのプレディクター方式との併用で焦点調節がな
される交換レンズの場合には“High ”となる。スイッ
チ(FAS)は、不図示の手動切換部材によって開閉さ
れ、合焦状態の検出結果に応じてフォーカス用レンズが
合焦位置まで駆動されて自動的に焦点調節が行なわれる
モード(以下、AFモードと称する)のときは閉成さ
れ、合焦状態の検出結果に応じて合焦状態の表示だけが
行なわれ、焦点調節は手動で行なわれるモード(以下、
FAモードと称する)のときには開放される。このスイ
ッチ(FAS)の開閉信号はインバータ(IN 6)を介
してマイコン(MC 2)の入力端子(i 1 )及びマイコ
ン(MC 1)の入力端子(i 14)に与えられる。 マイコン(MC 1)の出力端子(O16)は、インバータ
(IN 5)を介してトランジスタ(BT 2)のベースに
接続されている。従って、端子(O16)が“High ”に
なると、トランジスタ(BT 2)が導通してパワーオン
リセット回路(PO 2),焦点検出用受光部(FL
M),受光部制御回路(COT),モーター駆動回路
(MDR),エンコーダ(ENC),発光ダイオード駆
動回路(FAD)に電源ライン(VF)を介して給電が
開始される。この給電開始により、パワーオンリセット
回路(POR 2)からリセット信号(PO 2)が出力さ
れる。 発光ダイオード駆動回路(FAD)は、例えば第6図に
示すような回路構成となっており、マイコン(MC 1)
の出力ポート(OP 0)、即ち出力端子(O17),(O
18),(O19)から出力されるデータに応じて発光ダイ
オード(LD 0),(LD 1),(LD 2)を駆動す
る。この回路構成により、マイコン(MC 1)の出力端
子(O17),(O18),(O19)のいずれか1つの端子
が“High ”となると前ピン表示用発光ダイオード(L
D 0),合焦表示用発光ダイオード(LD 1),後ピン
表示用発光ダイオード(LD 2)のいずれか1つが点灯
して前ピンまたは合焦または後ピンを表示する。また、
出力端子(O17),(O19)の2端子が“High ”とな
ると、発振回路(OSC)からのクロックパルス(C
P)に基づいて発光ダイオード(LD 0),(LD 2)
が同時に点滅して合焦検出不能を表示する。表1にその
動作状態を示す。 焦点検出用受光部(FLM)は合焦検出用の複数の受光
部を備えたCCD(Charge Coupled Device )で
形成されている。制御回路(COT)は、マイコン(M
C 1)からの信号に基づいてCCD(FLM)の駆動、
CCD出力のA−D変換およびA−D変換出力のマイコ
ン(MC 1)への伝達機能を備えている。 尚、マイコン(MC 1)から制御回路(COT)に対し
て、出力端子(O10)からCCD(FLM)の積分動作
を開始させるためのパルス信号が、出力端子(O11)か
らこの積分動作を強制的に停止させるためのパルス信号
がそれぞれ出力される。また、マイコン(MC 1)に対
して制御回路(COT)から、CCD(FLM)での積
分動作が完了したことを示す信号が割込端子(it)に、
CCD(FLM)の各受光素子ごとにその蓄積電荷のA
−D変換動作が完了したことを示す信号が入力端子(i
10)に、上記A−D変換されたデータが入力ポート
(IP 0)にそれぞれ入力される。更に、CCD(FL
M)に対して制御回路(COT)から、リセット信号が
端子(φR)に、転送指令信号が端子(φT)に、転送
用クロックが端子(φ 1),(φ 2),(φ 3)に、参
照電位が端子(ANB)にそれぞれ入力され、CCD
(FLM)から制御回路(COT)に対して、端子(A
NB)からモニター用受光部の受光量に応じた電位が、
端子(AOT)から各受光部での蓄積電荷がそれぞれ出
力される。この制御回路(COT)の具体的な回路構成
は後述の第11図で詳述する。 ここで、CCD(FLM)、制御回路(COT)、マイ
コン(MC 1)の作動を簡述すると、制御回路(CO
T)は、マイコン(MC 1)の出力端子(O10)からの
積分開始信号に応答して、CCD(FLM)にリセット
信号を送ってCCD(FLM)をリセットするととも
に、参照電位の信号をCCD(FLM)に与える。CC
D(FLM)内の各受光部ではその受光量に応じて蓄積
電荷が増加していき、これにより端子(ANB)から出
力される電位が下降していく。制御回路(COT)は、
端子(ANB)のレベルが所定値に達すると、CCD
(FLM)へ転送指令信号を出力してCCD(FLM)
の各受光部の蓄積電荷をCCD(FLM)内の転送ゲー
トに転送させるとともに、マイコン(MC 1)の割込端
子(it)に積分完了信号を与える。そして、制御回路
(COT)は、CCD(FLM)の転送ゲートに転送さ
れた蓄積電荷をφ 1、φ 2、φ 3の転送用クロックに基
づいて受取ってA−D変換し、1つの受光部による蓄積
電荷のA−D変換が完了する毎にマイコン(MC 1)の
入力端子(i 10)にA−D変換完了信号を与える。マ
イコン(MC 1)は、この信号に応答してA−D変換さ
れたデータを入力ポート(IP 0)から取込む。そし
て、マイコン(MC 1)はCCD(FLM)の受光素子
の数だけA−D変換されたデータを取込むと、CCD出
力の取込みを終了する。 なお、マイコン(MC 1)は積分開始から一定時間が経
過しても割込信号が入力しないときには、CCDの積分
動作を強制的に停止されるためのパルスをマイコン(M
C 1)の端子(O11)から出力する。制御回路(CO
T)はこのパルスに応答して端子(φT)から転送指令
信号をCCDに与えるとともに、マイコン(MC 1)に
割込信号を出力して、前述のCCD出力のA−D変換,
データ転送の動作を行なう。 モータ駆動回路(MDR)は、マイコン(MC 1)の出
力端子(O12)、(O13)、(O14)から与えられる信
号に基づいてモーター(MO)を駆動する。尚、マイコ
ン(MC 1)の出力端子(O12)が“High ”のときモ
ーター(MO)は時計方向に、出力端子(O13)が“H
igh ”のときモーター(MO)は反時計方向に駆動され
出力端子(O12),(O13)がともに“Low”のときモ
ーター(MO)は駆動が停止される。さらに、マイコン
(MC 1)の出力端子(O14)が“High ”のときモー
ター(MO)は高速駆動され、“Low”のとき低速駆動
される。このモーター制御回路(MDR)の具体例は、
本願出願人がすでに特願昭57-136772 号で提案したが、
本発明の要旨とは無関係であるので説明を省略する。 エンコーダ(ENC)は、モーター(MO)の回転トル
クをレンズに伝えるためのカメラ本体側の伝達機構(L
MD)の駆動量を、たとえばフォトカプラーによりモニ
ターし、その駆動量に比例した数のパルスを出力する。
このパルスはマイコン(MC 1)のクロック入力端子
(DCL)へ入力されて自動的にカウントされ、そのカ
ウント値ECDは後述のマイコン(MC 1)のフローで
のカウンタ割込に用いられる。また、このパルスは、モ
ーター駆動回路(MDR)に送られ、そのパルス該に応
じてモーター(MO)の回転速度が制御される。 第3図は、第2図のマイコン(MC 2)の動作を示すフ
ローチャートである。マイコン(MC 2)の動作は大ま
かに以下の3つのフローに大別される。#1のステップ
から始まるフローは、電源スイッチ(MAS)の閉成に
より開始されるメインのフローであり、測光スイッチ
(MES)が閉成される(#2)ことにより、焦点調節
のための回路部以外の回路部への給電開始(#4)、カ
メラ本体(BD)で設定された露出制御情報の読込み
(#5)、レンズ(LE),コンバータ(CV)からの
データの読込み(#6〜#12)、測光値の読込み(#1
3,14)、AFモード,AFモードの自動設定(#16〜
#27)、露出制御値の演算(#28)および表示(#31,
#32)等の動作を繰返す。#45のステップから始まるフ
ローは、マイコン(MC 2)に内蔵されたタイマーから
周期的に出力されるタイマー信号により、測光スイッチ
(MES)が開放されても所定時間(例えば15秒)は上
記メインフローの動作を行なわせるためのタイマー割込
みのフローである。また、#59のステップから始まるフ
ローは、レリーズスイッチ(RLS)の閉成により、カ
メラの露出制御動作を開始させるためのレリーズ割込み
のフローである。以下に、第3図ないし第6図に基づい
てマイコン(MC 2)に関連する第2図のカメラシステ
ムの動作を詳述する。 まず、電源スイッチ(MAS)が閉成されると、パワー
オンリセット回路(POR 1)からリセット信号(PO
1)が出力される。このリセット信号(PO 1)によ
り、マイコン(MC 2)はメインのフローにおけるリセ
ット動作を#1のステップで行なう。測光スイッチ(M
ES)が閉成されることにより、#2のステップで入力
端子(i 0 )が“High ”になったこと判明されると、
タイマー割込を不可能にし(#3)、端子(O 0)を
“High ”にする(#4)。これによりトランジスタ
(BT 1)が導通して電源ライン(VB)からの給電が
開始される。同時に、バッファ(BF)を介して電源ラ
イン(VL)からコンバータ(CV)および交換レンズ
(LE)への給電が開始される。#5のステップでは、
露出制御モード設定装置(MSE)、露出時間設定装置
(TSE)、絞り値設定装置(ASE)、フィルム感度
設定装置(SSE)からのデータがデータバス(DB)
を介して入出力ポート(I/O)に順次取込まれる。 #6ないし#12のステップでは、まずレジスタAにデー
タ“O”が設定され(#6)、端子(O 6)が“High
”とされて、コンバータ回路(CVC),レンズ回路
(LEC)のリセット状態が解除され、(# 7-1)、デ
ータの直列入力命令が出力される(# 7-2)。コンバー
タ回路(CVC),レンズ回路(LEC)から1つのデ
ータの入力が完了すると(#8)、取込まれたそのデー
タがレジスタAの内容に対応するレジスタM(A)に設
定される(#9)。次に、レジスタAの内容に“1”が
加えられ(#10)、その内容がAc (一定値)になった
かどうかが判別される。ここで、(A)≠Ac ならば#
7-2 のステップに戻って、再び次のデータの取込みが行
なわれる。 (A)=Ac になると、レンズ(LE)及びコンバータ
(CV)からのデータの取込みが完了したことになるの
で、出力端子(O 6)を“Low”にして(#12)、コン
バータ回路(CVC),レンズ回路(LEC)をリセッ
トする。 ここで、レンズ(LE)及びコンバータ(CV)からの
データの取込み具体例を、第4図及び第5図に基づいて
説明する。第4図に示された直列データ入力部は、例え
ば8ビットの直列データを入力させる場合に、出力端子
(SOC)から8個のクロックパルスを出力し、このク
ロックパルスの立下りで入力している直列データを順次
読込む。即ち、直列デーア入力指令(SIIN)によ
り、フリップフロップ(FF 1)がセットされて3ビッ
トのバイナリーカウンター(CO 1)のリセット状態が
解除される。同時に、アンド回路(AN 7)のゲートが
開かれて、マイコン(MC 2)内で分周されたクロック
パルス(DP)が同期用クロック出力として出力端子
(SCO)からコンバータ(CV),レンズ(LE)の
回路(CVC),(LEC)に送られる。また、このク
ロスパルスは、カウンタ(CO 1),シフトレジスタ
(SR 1)のクロック入力端子に送られる。シフトレジ
スタ(SR 1)はクロックパルス(DP)の立ち下がり
で、マイコン(MC2)の入力端子(SDI)に入力し
ているデータを順次取込んでいく。ここで、カウンタ
(CO 1)のキャリー端子(CY)は、8個目のクロッ
クパルス(DP)が入力したときから次のクロスパルス
(DP)が入力するまでの期間“High ”になってい
る。一方、アンド回路(AN 5)の一方の入力端にこの
キャリー出力が、他方の入力端にインバータ(IN15)
を介してクロックパルス(DP)が入力しているので、
アンド回路(AN 5)は8個目のクロックパルス(D
P)の立ち下がりで“High ”となって、フリップフロ
ップ(FF 1)をリセットし、カウンター(CO 1)も
リセット状態にする。従って、アンド回路(AN 5)の
出力も、カウンタ(CO 1)のキャリー端子(CY)が
“Low”になることで“Low”となり、次の動作に備え
る。このアンド回路(AN 5)からの“High ”のパル
スで直列入力フラグSIFLがセットされてデータ入力
の完了が判別され、マイコン(MC 2)はシフトレジス
タ(SR 1)から内部データバス(IDB)に出力され
ているデータを所定のレジスタンM(A)に格納する。 第5図において、一点鎖線から左側がコンバータ(C
V)のコンバータ回路(CVC)であり、右側がレンズ
(LE)のレンズ回路(LEC)である。マイコン(M
C 2)の出力端子(O 6)が“High ”になるとカウン
タ(CO 3),(CO 5),(CO 7),(CO 9)の
リセット状態が解除され、これらカウンタはマイコン
(MC 2)の出力端子(SCO)から与えられるクロッ
クパルス(DP)をカウントすることが可能となる。3
ビットのバイリーカウンタ(CO 3),(CO 7)はこ
のクロックパルス(DP)の立上がりをカウントし、8
個目のクロックパルスの立上がりから次のクロックパル
ス(DP)の立上がりまでの問キャリー端子(CY)を
“High ”にする。4ビットのバイナリーカウンタ(C
O 5),(CO 9)はこのキャリー端子(CY)の立下
がりをカウントし、8個のクロックパルスの最初のパル
スの立上がり毎にカウンタ(CO 5),(CO 9)のカ
ウント値が1づつ増加する。 コンバータ回路(CVC)のROM(RO 1)は、カン
ウント(CO 3)のカウント値に基づいて直接そのレジ
スタが指定される。レンズ回路(LEC)のROM(R
O 3)はカウンタ(CO 1)のカウント値に基づいてデ
コーダ(DE 9),データセレクタ(DS 1)を介して
間接的にそのレジスタが指定される。ROM(RO
1),(RO 3)からそれぞれ出力されるレンズ(L
E),コンバータ(CV)のデータは、デコーダ(DE
5)の出力に応じていずれかの出力が、また直列加算回
路(AL 1)により加算された両者の和の出力或いはす
べて“0”のデータが選択的に出力される。ここで、焦
点距離が固定されているレンズの場合のカウンタ(CO
9)とデコーダ(DE 9)とROM(RO 3)との関係
を表2に、焦点距離が可変なズームレンズの場合の上記
関係を表3に示す。また、コンバータにおけるカウンタ
(CR 5)とデコーダ(DE 5)とROM(RO 1)と
カメラ本体への出力データとの関係を表4に示す。尚、
φは各ビットのデータが“0”でも“1”でもよいこと
を示す。 カウンタ(CO 3),(CO 7)の出力(b 0 ),(b
1 ),(b 2 )はデコーダ(DE 3),(DE 7)に入
力され、デコーダ(DE 3),(DE 7)はこの入力デ
ータに応じて表5に示す信号を出力する。 従って、クロックパルスが立上がることに、ROM(R
3)のデータは最下位ビット(r 0 )から順次1ビット
ずつアンド回路(AN20)〜(AN27),オア回路(O
R 5)を介して出力され、同じタイミングでROM(R
O 1)のデータもクロックパルスの立上がり毎に最下位
ビット(e 0 )から順次1ビットづつアンド回路(AN
10)〜(AN17),オア回路(OR 1)を介して出力さ
れる。また、ズームレンズの場合には、ズームリング
(ZR)の操作により設定された焦点距離に応じた5ビ
ットのデータを出力するコード板(FCD)がレンズ回
路(LEC)内に設けられている。設定焦点距離に応じ
て変化するコード板(FCD)の出力によって、データ
セレクタ(DS 1)の入力端子(α 2)の下位5ビット
の値が一義的に決まる。従って、データセレクタ(DS
1)は、デコーダ(DE 9)の出力(h 4 )が“Low”
のときは入力端子(α 1)からの“0 0 0 0 h3 h2 h1 h
0 ”のデータを、また、“High ”のとき入力端子(α
2)からの“h2 h1 h0 *****”(*はコード板の
データ)のデータを出力することにより、ROM(RO
3)のアドレスを指定する。 カウント(CO 9)の出力が“0000”の場合、ROM
(RO 3)のアドレス“OOH”(Hは16進数を示す)
のアドレスにはレンズ装着を示すチェックデータが記憶
されていて、このデータはあらゆる種類の交換レンズに
共通のデータ(例えば01010101)となっている。このと
き、カメラ本体(BD)とレンズ(LE)との間にコン
バータ(CV)が装着されていれば、デコーダ(DE
5)の出力端子(g 2 )の“High ”により、レンズ
(LE)から送られてくるデータ“01010101”はアンド
回路(AN32),オア回路(OR 3)を介して、また、
レンズ(LE)がカメラ本体(BD)に直接装着されて
いる場合はそのままカメラ本体側に送られて、入力端子
(SDI)からマイコン(MC 2)に読込まれる。この
チェックデータにより交換レンズが装着されていること
が判別された場合は開放測光モードとなって露出制御装
置(EXC)で絞り制御が行なわれる。一方、交換レン
ズが装着されていないことが判別された場合は、絞り込
み測光モードとなって絞り制御は行なわれない。 カウンタ(CO 5),(CO 9)の出力が“0001”にな
ると、レンズのROM(RO 3)のアドレス“01H”
が指定され、ROM(RO 3)から開放絞り値データA
voが出力される。なお、設定焦点距離に応じて実効絞り
値が変化するズームレンウの場合は、最短焦点距離での
開放絞り値が出力される。また、コンバータ(CV)の
ROM(RO 1)のアドレス“1H”にはコンバータ
(CV)装着によるレンズの開放絞り値の変化量に相当
する一定値データβが記憶されており、ROM(OR
1)からは一定値データβが出力される。デコーダ(D
E 5)の端子(g 0 )の“High ”により、ROM(R
O 1),(RO 3)からのデータは直列加算回路(AL
1)で加算されて(Avo+β)が算出され、このデータ
がアンド回路(AN30),オア回路(OR 3)を介して
出力される。カウンタ(CO 5)、(CO 9)の出力が
“0010”になると、ROM(RO 3),(RO 1)はそ
れぞれアドレス“02H”が指定される。レンズのRO
M(RO 3)からの最小絞りのデータAvamxとコンバー
タのROM(RO 1)からのデータβとにより、開放絞
り値の場合と同様に、Avmax+βのデータが、また装着
されていない場合はAvmaxのデータが出力される。 カウント(CO 5),(CO 9)の出力が“0011”にな
ると、レンズのROM(RO 3)のアドレス“03H”
が指定され、ROM(RO 3)から開放測光誤差のデー
タが出力される。ここで、コンバータが装着されていな
い場合、このデータがそのままカメラ本体に読み込まれ
る。一方、コンバータ(CV)が装着されていると、表
4に示すようにデコーダ(DE 5)の出力はすべて“L
ow”で、オア回路(OR 3)の出力はレンズからのデー
タとは無関係に“Low”のままとなり、カメラ本体では
開放測光誤差として“0”のデータを読み取る。これ
は、コンバータ(CV)を装着することにより、開放絞
りは比較的小絞りとなり、開放測光誤差は“0”になる
と考えてもよいからである。 カウント(CO 5),(CO 9)の出力が“0100”にな
ると、ROM(RO 1),(RO 3)はそれぞれ“04
H”のアドレスが指定される。レンズのROM(RO
3)のアドレス“04H”には、フォーカス用レンズ
(FL)を繰出す場合のモーター(MO)の回転方向を
示すデータと、この交換レンズが設定撮影距離に応じて
交換係数の変化する型式のレンズであるかどうかを示す
データとが記憶されている。例えば、モーターを時計方
向に回転させるとフオーカス用レンズが繰出される型式
のレンズの場合は最下位ビットが“1”、モーターを反
時計方向に回転させるとフォーカス用レンズが繰出され
る型式のレンズの場合は最下位ビートが“0”になって
いる。また、設定撮影距離によって変換係数が変化する
型式のレンズの場合は最下位ビットが“1”に、変化し
ない型式のレンズの場合は最下位ビットが“0”になっ
ている。このデータはコンバータ(CV)の装着とは無
関係にカメラ本体にそのまま送られる。 カウンタ(CO 9)の出力が”0101”になるとデコーダ
(DE 9)の出力は固定焦点処距離のレンズの場合“ 0
0101”、ズームレンズの場合“1001φ”となって、レン
ズ回路(LEC)のROM(RO 3)はそれぞれ“05
H”または“ 001*****”のアドレスが指定され
る。尚、“*****”はコード板(FCD)からのデ
ータである。ROM(RO 3)のこのアドレスには固定
焦点距離レンズの場合そのレンズの固定焦点距離f の 2
を底とした対数値のlog 2 f に対応したデータが、ズー
ムレンズの場合そのズームレンズの設定焦点距離f の対
数値log 2 f に対応したデータが記憶されていて、この
データがカメラ本体へ出力される。また、コンバータの
ROM(RO 1)はアドレス“5H”が指定されてお
り、このアドレスには、コンバータ(CV)をカメラ本
体(BD)と交換レンズ(LE)との間に装着すること
により変化する焦点距離の変化量に相当するデータγが
記憶されている。このときデコーダ(DE 5)の出力端
子(g 0 )が“High ”になっているので、加算回路
(AL 1)により焦点距離のデータlog 2 f に一定値デ
ータγを加算したデータがカメラ本体に送られる。この
焦点距離は、カメラ振れの警告の判別等に用いられる。 カウンタ(CO 9)の出力が“0110”になると、ズーム
レンズの場合、デーコーダ(DE 9)からは“1010φ”
のデータが出力され、端子(h 4 )が“High ”となっ
て移行はデータセレクタ(DS 1)の入力端α 2からの
データが出力される。これにより、ROM(OR 3)は “ 010*****”のアドレスを指定される。このアド
レスには、ズームレンズの焦点距離を最短焦点距離から
変化させた場合の最短焦点距離での実効絞り値からの絞
り値変化量のデータΔAv が設定焦点距離に応じて記憶
されている。また、固定焦点距離のレンズの場合、ΔA
v =0なので、アドレス”06H”には“0”のデータ
が記憶されている。このデータは、コンバータ(CV)
の装着の有無とは無関係にカメラ本体にそのまま送られ
る。尚、このデータは、開放測光データから絞り成分の
除去をするための演算(Bv −Avo−ΔAv )−Avo−
ΔAv 及び設定又は算出された絞り開口に実効絞りを制
御するための演算Av −Avo−ΔAv に用いられる。 カウンタ(CO 9)の出力が“0111”になると、ズーム
レンズの場合デコーダ(DE 9)の出力が“1011φ”と
なり、ROM(RO 3)は “011 *****”のアドレスが指定される。このアド
レスには設定焦点距離に対応した変換係数のデータKD
が記憶されている。また、固定焦点距離のレンズの場
合、ROM(RO 3)は“07H”のアドレスが指定さ
れ、このアドレスには固定の変換係数のデータKDが記
憶されている。変換係数の変化を補償するような機械伝
達機構が内蔵されているコンバータが装着されていれば
このデータはそのままボディーに伝達される。この変換
係数のデータKDは、マイコン(MC 1)で算出される
デフォーカス量|ΔL|から |ΔL|×KDの演算を行なってモーター駆動機構(L
MD)の駆動量のデータを得るために用いられる。 また、変換係数のデータは、例えばデータが8ビットの
場合、上位4ビットの指数部と下位4ビットの有効数字
部とに分けられ、表6のようにコードづけされている。 変換係数のデータKDは KD=(k3・20 +k2・2-1 +k1・2-2+k0・2-3)・2・2 m=k4・20 +k5・21 +k6・22+k7・23 n=一定値(例えば−7) の演算で求める。尚、k3は有効数字部の最上位ビットで
あるので必ず“1”になっている。従って、このような
コードづけを行なえばKDの値が相当に広い範囲で変化
してもマイコン(MC 1)内で演算し易い、少ないビッ
ト数のデータとして記憶することができる。 第7図は、ズームレンズから出力される変換係数のデー
タと焦点距離との関係を示すグラフであり、横軸はlog2
f に対応し、縦軸は変換係数KDに対応する。 ところでKDは、焦点距離f に応じて直線A,B,Cに
示すように連続的に変化するが、本実施例の場合、折線
A′,B′,C′で示すように、KDの値をK 1〜K33
の離散的な値としている。 ここで、 K 1=20の場合KD=“01111000”、 K 2=2-1+2-2+2-3+2-4の場合KD=“0110111
1”、 K 3=2-1+2-2+2-3の場合KD=“01101110”、 K 4=2-1+2-2+2-4の場合KD=“01101101”、 K31=2-4+2-6の場合KD=“00101000”、 K32=2-4+2-7の場合KD=“00111001”、 K32=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 ,f12 のように実際
の値よりも若干大きくなっている領域をわずかに設け
て、少しぐらい合焦位置から行きすぎてもよいようにし
てもよい。 また、撮影距離が無限大だと実線のC(∞)、近距離だ
と一点鎖線C(近)のように、撮影距離に応じて変換係
数が大幅に変化するズームレンズがある。このズームレ
ンズでは、例えば焦点距離f1のゾーンで撮影距離が無限
大の位置から最近接の位置へ変化すると、KD=k 17=
-2からKD=K15=-2+2-4へ変化する。このような
ズームレンズにも対応できるように、本実施例では、無
限大の位置での変換係数のデータのみをROM(RO
3)に記憶させ、合焦範囲の近傍の領域(以下、近合焦
ゾーンで示す)に到達するまでは、ΔLの正負(即ち、
デフォーカス方向)の信号だけに基づいてフォーカス用
レンズを駆動し、近合焦ゾーンにはいると上述のKDと
|ΔL|とによって求まるNの値に基づいてレンズを駆
動するようにしている。尚、焦点距離用のコード板(F
CD)の他に設定撮影距離用のコード板を別設し、これ
らコード板によりROM(RO 3)のアドレスを指定し
て正確な変換係数のデータを得るようにしてもよいが、
部品点数の増加、アドレス指定用のビット数の増加、R
OMの容量の増加等の問題があり、実用的でない。 更に、ズームリングを例えば、最短焦点距離の位置より
も短焦点側に移動させることによりマクロ撮影が行なえ
るように構成されたズームレンズがある。(このズーム
レンズの機構は本出願の要旨とは関係ないのでその説明
を省略する。)このようなズームレンズに対して、本実
施例ではマクロ撮影に切換えられるとコード板(FC
D)から“ 11111”のデータが出力され、特定のアドレ
ス“01111111”が指定されるようにしてある。マクロ撮
影の場合、瞳径の位置が変化したり、焦点深度が浅くな
ったり、絞り値が暗くなったりして、AFモードによる
焦点調節は困難となるのでそのアドレスには“φφφφ
0110”のデータが記憶されており、そのk 3 は“0”と
なっている。マイコン(MC 2)は、このデーあにより
マクロ撮影に切換わったことを判別して、スイッチ(F
AS)によりAFモードが設定されていても表示だけの
FAモードに焦点調節モードを自動的に切換える。 また、最近接の位置に撮影距離を設定しないとマイクロ
撮影への切換えができないように構成されたズームレン
ズがある。このようなレンズの場合、マクロ撮影への切
換操作により第5図のスイッチ(MCS)が閉成され、
インバータ(IN17),インバータ(IN19)を介して
アンド回路(AN40)〜(AN44)の出力がすべて“L
ow”になる。これによってROM(RO 3)のアドレス
“01100000”が指定される。 このアドレスにはKDとして“φφφφ0100”のデータ
が記憶されていて、マイコン(MC 1)はこのデータの
k3=k1=0によりマクロ撮影への切換操作がなされたこ
とを判別して自動的に撮影距離が最近接位置になるよう
にモーター(MO)を回転させてフォーカス用レンズを
繰出す。 合焦検出用の受光部は撮影レンズのあるきまった射出瞳
をにらむようになっていて、この瞳径と受光素子(フィ
ルム面と光学的に等価な位置に配置されている)に対す
る瞳の位置とに応じて撮影レンズを透過した被写体から
の光を受光素子が受光するかどうかがきまる。従って、
レンズによっては一部の受光部には光が入射しないよう
なものもある。このようなレンズでは合焦検出を行なっ
ても信頼性がないので、AFモード或いはAFモードの
動作は行なわない方が望ましい。そこでこのようなレン
ズの場合には、ROM(RO 3)のアドレス(ズームレ
ンズなら“ 011*****”、固定焦点距離レンズなら
“00000111”)に“φφφφ0001”のデータをKDとし
て記憶しておく。マイコン(MC 2)はこのデータによ
り、後述の#16-2のステップでマイコン(MC 1)がA
FモードまたはFAモードによる焦点検出動作を行なわ
ないようにする。 なお、マイクロ切換によりアンド回路(AN40)〜(A
N44)から“ 00000”または、“ 11111”のデータが
出力される場合、ROM(RO 3)のアドレス“001000
00”,“00111111”にはマクロ撮影時の焦点距離f に対
応したデータが、アドレス“01000000”,“01011111”
にはマクロ撮影時のΔAv に対応したデータが記憶され
ており、それぞれROM(RO 3)から出力される。 また、カメラ本体での駆動軸の回転を焦点調節部材に伝
達する気候を備えていない交換レンズの場合には、マク
ロ撮影への切換と同様にKDとして“φφφφ0110”が
記憶されており、FAモードのみが可能とされる。更
に、上述のレンズと同様に伝達機構を備えていないコン
バータの場合には、カウンタ(CO 2)の出力が“011
1”になったときにROM(RO 1)から“φφφφ011
0”が出力され、且つデコーダ(DE 5)の端子(g1)
のみが“High ”になってROM(RO 1)からのデー
タをカメラ本体に伝達するようにすれば、どのような交
換レンズが装着されてもFAモードだけの動作が行なわ
れる。 カメラ本体と交換レンズとの間にコンバータを挿入接続
する場合、コンバータにより焦点距離が変化するので、
その増加量に対応した量だけカメラ本体からの区応軸の
回転量を減少させる減速機構をコンバータ内に設ける必
要がある。即ちカメラ本体の駆動軸の回転量をそのまま
フォーカス用レンズの駆動軸に伝達する機構だけをコン
バータに備えた場合、レンズのKDをそのままカメラ本
体に伝達してN=KD×|ΔL|だけカメラ本体の駆動
軸を回転させると、焦点距離の増加量に対応した量だけ
合焦位置からズレてしまうといった問題がある。そこで
上記の減速機構を備えていないコンバータに対して、本
実施例では、例えば焦点距離を 1.4倍にするコンバータ
ならKDが1/2に、2倍のコンバータならKDが1/
4になるように、それぞれKDの上位4ビットの指数部
のデータ(k7k6k5k4)から、 1.4倍のコンバータなら1
を減じ、2倍のコンバータなら2を減ずるようにしてい
る。 第5図に戻って、カウンタ(CO 5)の出力が“1000”
になると、表4に示すようにコンバータ回路(CVC)
のROM(RO 1)からはコンバータ(CV)が装着さ
れていることを示す“01010101”のチェックデータが出
力される。このとき、デコーダ(DE 5)の端子(g1)
が“High ”になっているので、このチェックデータは
レンズ回路(LEC)のROM(RO 3)からのデータ
とは無関係にアンド回路(AN31),オア回路(OR
3)を介してカメラ本体(BD)に送られる。 カウンタ(CO 5)の出力が“1001”になると、このコ
ンバータ装着で光束が制限されることによる光のケラレ
に基づいて定まる絞り値のデータAvlがROM(RO
1)から出力され上述と同様にして、アンド回路(AN3
1),オア回路(OR 3)を介してカメラ本体に送られ
る。このデータAvlは、マイコン(MC 2)で開放絞り
値のデータAvo+βと比較される。Avo+B<Avlのと
きには、測光出力がBv −Avlとなっているので、(B
v−Avl)+Avl=Bvおよび絞り込み段数データAv
−(Av o+B)が演算される。 上述のようにして、レンズ(LE)およびコンバータ
(CV)からのデータの取り込みが完了すると、第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 またはAv1が一定絞
り値
 TECHNICAL FIELD The present invention relates to a subject within a relatively narrow predetermined area of a captured image.
Determine the focusing lens position to focus on
Then, once it is decided, the lens position should be fixed.
The present invention relates to an automatic focusing device. Conventional technology Conventionally, automatically for subjects within a relatively narrow predetermined area
In the thing that adjusts the focus, once focus is achieved,
Automatic focus adjustment device that prohibits focus adjustment
Yot AF) has been proposed. According to this device,
The focus state is fixed when the subject is in focus.
The focus position does not shift even if you adjust the area to another subject. Shi
Therefore, change the composition while focusing on the main subject.
It is possible to shoot. DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention By the way, when determining a composition, an object other than the main subject is determined.
Whether the subject (sub-subject) is within the depth of field
That is an important requirement. However, the above conventional
With this device, the focus state of the sub-subject cannot be confirmed, and the main subject
Focusing the sub-subject to determine the composition after focusing on the subject
There was a problem that it could not be done in consideration. Therefore, the present invention is a sub-camera when the main subject is in focus.
You can check whether the subject is within the depth of field
It is an object of the present invention to provide an automatic focus adjusting device. Means for Solving the Problems In order to solve the above problems, the present invention provides a focus on a subject within a relatively narrow predetermined area of a captured image.
Detecting means for detecting data relating to the adjustment, and focusing on the subject based on the output of the detecting means.
Position the focusing lens so that
In response to the completion of the operation of the lens position determining means
A focus lock for prohibiting the operation of the lens position determining means.
Lock means and the focus lock means during operation, the detection means
Based on the output and aperture value, the subject within the above-mentioned predetermined area is covered.
Determine whether it is within the depth of field and the determination result
And display means for displaying. Focus on the subject within the specified area to obtain focus.
Once the position of the focusing lens is determined,
Focusing lens position is maintained and the above predetermined area
A display showing whether the subject is within the depth of field
Done. 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 Fig. 1, left side of the alternate long and short dash line
Is a zoom lens as an example of a taking lens (LE), right
The side is the camera body (BD), and both are couplers.
-Mechanically connected via (101) and (102)
It In this camera system, the lens of the taking lens (LE)
Focus lens (FL), zoom lens (ZL),
Subject light that has passed through the master lens (ML)
Semi-translucent part in the center of the reflection mirror (103) of the main body (BD)
Of the focus reflected by the sub-mirror (104).
The light is received so that it is received by the point detection light receiving unit (FLM).
The academic system is organized. This light receiving part is
Only the amount of light incident on a relatively narrow predetermined area is received. The rotation of the motor (MO) is controlled by the slip mechanism (SLP)
Dynamic mechanism (LDR), camera body side coupler (102)
It is transmitted to the photographic lens (LE) via. Incidentally, slip
The mechanism (SLP) applied more torque than a predetermined amount to the latter stage.
Sometimes slips and the motor (MO) is overloaded
It is to prevent it. Also, of the shooting lens
The focusing lens (FL) is through the transmission mechanism (100).
And is connected to the lens side coupler (101). This
This allows the focus to follow the rotation of the motor (MO).
Lens (FL) moves back and forth along the optical axis for focus adjustment
Is performed. The signal processing circuit (106) includes a focus detection light receiving unit (FL).
M) the imaging position of the focusing object based on the received light output from
For defocus, which indicates the amount of deviation at the in-focus position
| and defocus direction (front pin or rear pin)
Data is output periodically. First focus state determination circuit (1
07 is a defocus amount from the signal processing circuit (106)
| ΔL | is compared with the focus width ZN, and
Defocus | ΔL | according to the amount of movement of the lens (FL).
To detect whether or not | ΔL |
Then, for example, if | ΔL | ≦ ZN, a focusing signal is output, and if | ΔL |> ZN, a non-focusing signal is output. The motor drive circuit (MDR) uses this out-of-focus signal and
Based on the signal in the defocus direction, the motor (M
O) drive is controlled to drive the motor (that is, lens movement).
Focus signal is output from the focus state determination circuit (107)
If so, the drive of the motor (MO) is stopped.
Aperture data output circuit (105) is used for capturing aperture data.
Is output. The second focus state determination circuit (108)
Starts operation in response to drive stop, and includes focus when drive stops
Defocus output from the state determination circuit (107)
Output from the aperture data output circuit (105)
The depth of focus data corresponding to the aperture data
It The depth of focus display means (109) is based on this determination result.
Display, that is, the image formation position is within the depth of focus according to the diaphragm.
Is displayed. A brief description of the operation of the camera system having the above configuration
To do. First, when the motor (MO) is stopped,
ΔL |> ZN and the imaging position is outside the focusing area
If it is determined that the first focus state determination circuit (107)
The motor (MO) starts driving by the non-focus signal from
It As a result, the focusing lens (FL) is in focus.
Start moving towards the table. The signal processing circuit (106)
The amount of deviation based on the amount of light received from the light receiving unit (FLM)
Is periodically output to drive the motor (MO).
The image formation position reaches the in-focus area, and | ΔL | ≦ ZN is determined.
Separated, the motor drive circuit (MDR)
-(MO) stops suddenly. As a result, the second focus state determination
Another circuit (108) starts to operate. Now, with the lens movement stopped in this way, focus
If the direction of the camera is changed to the desired part of the subject other than the target book
Then, from the signal processing circuit (106) to the desired portion
Defocus amount and direction data for
It At this time, the motor (MO) is not driven. This
Here, the second focus state determination circuit (108)
According to the iris for photography given from the digital output circuit (105)
The focal depth data of the
Data and defocus amount data for the desired part
Compare with. The depth of focus display circuit (109) is
Depending on the comparison result, the image formation position of the desired part can be adjusted to the shooting diaphragm.
It is displayed whether it is within the same depth of focus. This depth of focus
To determine and display the direction of the camera
Every time you turn to. Component of the automatic focusing camera system of the present invention having the above configuration
The physical contents will be described below in detail according to the drawings starting from FIG.
It In addition, the signal processing circuit of FIG. 1, the first and second focusing
The functions of the status determination circuit and the depth of focus display circuit are
Achieved by computer (hereinafter referred to as microcomputer)
It FIG. 2 shows the camera body (B
It is a block diagram which shows the structure of the circuit part of the D) side. In the figure
Between the camera body (BD) and the lens (LE)
For example, the focal length of the lens (LE) is 1.4 times or 2 times
A converter (CV) for extending the cable is inserted.
The camera body (BD) and converter (CV) are respectively
Connected by connecting terminal group (CN 1) and (CN 2),
Verta (CV) and lens (LE) are connected to each other
The child groups (CN 3) and (CN 4) are connected and
Various information from the barter (CV) and lens (LE)
It is designed to be given to the camera body (BD) side.
By closing the power switch (MAS),
-Only set circuit (POR 1), microcomputer (MC
1), (MC 2), display control circuit (DSC), oscillator circuit
(OSC), inverters (IN 1) to (IN 8),
Power to the circuit (AN 1) via the power line (+ E)
Be started. Power-on reset by this power supply start
The reset signal (PO 1) is output from the circuit (OR 1)
Microcomputer (MC 1), (MC 2) and display control circuit
Path (DSC) is reset. Microcomputer (MC 2)
The overall operation of this camera system is performed in sequence.
It is a microcomputer to play
 1) responds to the control signal from this microcomputer (MC 2)
Micro-computer for performing focus adjustment operation in sequence
It is a computer. The operation of the microcomputer (MC 2)
The flow chart of Fig. 3 shows the operation of the microcomputer (MC 1).
It is shown in the flow charts of FIGS. 8 to 10. Metering switch (MES) is a release button (not shown)
This switch (ME
S) is closed, the inverter (IN 1) is used to
“High” level on the input terminal (i 0) of the icon (MC 2)
Signal is given. In response to this, the microcomputer (MC
 The terminal (O 0) of 2) becomes “High” and the inverter
Transistor (BT 1) conducts via (IN 2)
It This transistor (BT 1) conducts power
On-resetter circuit (POR 3), photometric circuit (LMC),
Decoder (DEC 1), Transistor for driving light emitting diode
Star (BT 3), film sensitivity setting device (SSE), diaphragm
Threshold setting device (ASE), exposure time setting device (TS
E), exposure control mode setting device (MSE), exposure control device
Power supply line (V) to the latch circuit (LA).
Power supply is started via B). By starting this power supply,
Reset signal from power-on reset circuit (POR 3)
(PO 3) is output and the exposure controller (EXC) resets.
Is set. In addition, the output terminal (O) of the microcomputer (MC 2)
The "High" level signal from 0) is sent to the buffer (B
F) of converter (CV) and lens (LE)
As the power supply voltage (VL), the connection terminal groups (CN 1), (C
Via N 2), (CN 3), (CN 4))
In the circuit (CVC) in the camera (CV) and in the lens (LE)
Provided to the circuit (LEC). The connection terminal group is
In addition to the power supply terminal, the output terminal (O of the microcomputer (MC 2)
 6) Output from converter circuit (CVC), lens
Signal to release the circuit (LEC) from the reset state
Transmission terminal and microcomputer (MC 2) clock output terminal
Synchronous clock pulse from (SCO)
Path (CVC), lens circuit (LEC)
Direct connection of the clock pulse transmission terminal and the microcomputer (MC 2)
The column data input terminal (SDI) has a covert (CV) and
Input terminal for inputting data from LEs
And a ground terminal. In addition, microcomputer (MC
 Figure 2 shows the circuit configuration of the serial data input section in 2).
Circuit (CVC) and lens (LE)
The circuit configuration of the circuit (LEC) is shown in FIG. The photometric circuit (LMC) is an analog of the microcomputer (MC 2)
Reference the analog photometric signal to the input terminal (ANI)
Reference voltage signal for DA conversion to the voltage input terminal (VR)
I'm giving. The microcomputer (MC 2) is a photometric circuit (LM
To the terminal (ANI) based on the reference voltage signal from C).
Converts the input analog photometric signal to a digital signal
It The display control circuit (DSC) connects the data bus (DB)
According to various data input via the liquid crystal display (D
SP) to display the exposure control value and the light emitting diode
Warning display etc. is performed by the mode (LD10) to (LD1n).
U The output terminal (O 8) of the microcomputer (MC 2) is the metering switch.
Exposure control operation of the turtle after the switch (MES) was closed
It is "High" until the start
Due to (IN 8), the transistor (BT 3) is only this question.
Allows light emitting diodes (LD10) to (LD1n) to emit light
It The decoder (DEC 1) is the output port of the microcomputer (MC 2).
A device (M
SE), (TSE), (ASE), (SSE), circuit
(DSC), #LA) device or circuit
And Maiko (MC 2) via data bus (DB)
Output signal that indicates whether to transfer data
It is given to (a 0) to (an + 1). For example, a microcomputer
When (MC 2) reads the data of exposure control mode
Is a specific data from the output port (OP 1)
When (ao) becomes "High", the data bus (D
B) Set exposure from exposure control mode setting device (MSE)
Data indicating the control mode is output, and this data is
Read from input / output port (I / O) of controller (MC 2)
It Similarly, when reading the set aperture value, the terminal (a2)
It becomes "High". Display control circuit (DSC)
When sending data, the terminal (a4) ~
One of (an) becomes "High". In addition,
Input / output port when sending the conversion coefficient data (KD)
(I / O) to data bus (DB)
Specific data to the output port (OP 1) after outputting the data
Is output for a certain period of time and the pulse from the terminal (an + 1)
The latch circuit (LA) latches the conversion coefficient data.
It The exposure control device (EXC) interrupts the microcomputer (MC 2)
If a “High” interrupt signal is given to the signal input terminal (it)
To start the following exposure control operations.
Release circuit, mirror drive circuit, aperture control
It is equipped with a circuit and an exposure time control circuit. This device (EX
C) is output from the output terminal (O 4) of the microcomputer (MC 2).
When the rule is output, it is output to the data bus (DB)
Capture the data of the number of narrowing steps and activate the release circuit.
Then, the exposure control operation is started. Start of exposure control operation
After a certain time has passed from the microcomputer (MC 2)
Output time data is on the data bus (DB), and pulse is the terminal
It is output to (O 5). This allows the exposure control device (E
XC) takes in the exposure time data and creates a mirror drive circuit.
Move the mirror to start rising, and stop the diaphragm.
Operate the control circuit to reduce the aperture by the number of aperture data.
Let it slip in. When the raising of the reflection mirror is completed, the shutter
-The running of the first curtain begins. At the same time, count switch
The exposure time control circuit is created by closing (COS).
Moves and starts counting the time corresponding to the exposure time data
To be done. When the count is complete
By starting, opening the aperture and lowering the mirror
The exposure control operation is completed. Release switch (RLS) is by pressing the relays button.
This switch (RLS) is closed in the second stage
Is closed, the output of the inverter (IN 3),
One input terminal of the switching circuit (AN 1) becomes "High".
The switch (EES) is closed when the exposure control operation is completed.
The exposure control mechanism (not shown) is ready for operation.
When released, it is released. Indicates the open / closed state of this switch
The signal is sent to the microcomputer (MC
2) Input terminal (i 2) and AND circuit (AN 1)
It is given to the other input terminal. In addition, AND circuit (AN 1)
The output end of is the interrupt signal input terminal (i
connected to t). Therefore, the charge of the exposure control mechanism
Is not completed, the AND circuit (AN 1)
The door is closed and the release switch (RLS) is
The output of the AND circuit (AN 1) is "Low" even if it is closed.
There is. That is, the interrupt signal is not sent to the microcomputer (MC 2).
No input is made and the exposure control operation is not started. Meanwhile, exposed
In the body where the charge of the control mechanism is completed, the AND circuit
(AN 1) gate is open, release switch
Output of AND circuit (AN 1) when (RLS) is closed
Becomes "High" and the interrupt signal or the microcomputer (MC 2)
Input to the interrupt terminal (it) and the microcomputer (MC 2) immediately
Move to exposure control operation. Microcomputer (MC 2) output terminals (O 1), (O 2),
(O 3) is the input terminal (i
11), (i 12), and (i 13). here
Then, the output terminal (O 1) is detected by the microcomputer (MC 1).
"High" when you want to get out, you have to do
It becomes "Low". The output terminal (O 2) is the motor
Focus lens when (MO) is rotated clockwise
An interchangeable lens configured to extend (FL)
If installed, turn "High" on the motor (MO)
In the case of an interchangeable lens that is extended by rotating it counterclockwise
When it becomes "Low". The output terminal (O 3) is
Based on the amount of deviation from the in-focus position and the defocus direction
Method to drive the focusing lens toward the in-focus position
(Hereinafter referred to as the predictor method) only
In the case of an interchangeable lens with focus adjustment, "Low",
Signal in the direction of deviation from the focus position (front pin, rear pin, in-focus)
The method of driving the lens by (hereinafter referred to as the three-point pointing method)
With this predictor method.
In the case of the interchangeable lens to be used, it becomes "High". 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
Closed when in mode (hereinafter referred to as AF mode)
Only the in-focus state is displayed according to the in-focus state detection result.
Is performed and focus adjustment is performed manually (hereinafter,
It is opened in the FA mode). This sui
The open / close signal of the switch (FAS) is passed through the inverter (IN 6).
The input terminal (i 1) of the microcomputer (MC 2) and myco
Is applied to the input terminal (i 14) of the input terminal (MC 1). The output terminal (O16) of the microcomputer (MC 1) is an inverter
Via (IN 5) to the base of the transistor (BT 2)
It is connected. Therefore, the terminal (O16) becomes "High".
Then, the transistor (BT 2) becomes conductive and the power is turned on.
Reset circuit (PO 2), light receiving unit for focus detection (FL
M), light receiving part control circuit (COT), motor drive circuit
(MDR), encoder (ENC), light emitting diode drive
Power is supplied to the drive circuit (FAD) through the power line (VF).
Be started. Power-on reset by this power supply start
The reset signal (PO 2) is output from the circuit (POR 2).
Be done. The light emitting diode drive circuit (FAD) is shown in FIG. 6, for example.
The circuit configuration is as shown, and the microcomputer (MC 1)
Output port (OP 0), that is, output terminals (O17), (O
18), (O19) according to the data output
Drives odes (LD 0), (LD 1), (LD 2)
It With this circuit configuration, the output terminal of the microcomputer (MC 1)
Any one terminal of child (O17), (O18), (O19)
Becomes "High", the front pin display LED (L
D 0), Focus display LED (LD 1), Rear pin
One of the display light emitting diodes (LD 2) lights up
To display the front focus, focus, or rear focus. Also,
The two terminals of output terminals (O17) and (O19) are "High".
Then, the clock pulse (C
P) based on light emitting diodes (LD 0), (LD 2)
Flashes at the same time, indicating that focus cannot be detected. Table 1
Indicates the operating state.The light receiving unit (FLM) for focus detection is a plurality of light receiving units for focus detection.
With CCD (Charge Coupled Device)
Has been formed. The control circuit (COT) is a microcomputer (M
Driving of CCD (FLM) based on the signal from C 1),
CCD output A-D conversion and A-D conversion output myco
It has a function of transmitting to the mobile phone (MC 1). From the microcomputer (MC 1) to the control circuit (COT)
The output terminal (O10) to CCD (FLM) integration operation
Is the pulse signal for starting the output terminal (O11)
Pulse signal to forcibly stop this integration operation
Are output respectively. Also, for the microcomputer (MC 1)
Then, from the control circuit (COT), the product of CCD (FLM)
The signal indicating that the minute operation is completed is sent to the interrupt terminal (it).
A of the accumulated charge for each light receiving element of the CCD (FLM)
A signal indicating that the -D conversion operation is completed is input to the input terminal (i
 In 10), the data converted from A to D above is the input port.
(IP 0) respectively. In addition, CCD (FL
A reset signal from the control circuit (COT) for M)
Transfer command signal to terminal (φR), transfer to terminal (φT)
Clock for terminals (φ 1), (φ 2), (φ 3)
The illumination potential is input to each terminal (ANB) and the CCD
From (FLM) to the control circuit (COT), the terminal (A
From NB), the potential according to the amount of light received by the monitor light receiving unit
The accumulated charge in each light receiving part is output from the terminal (AOT).
I will be forced. Specific circuit configuration of this control circuit (COT)
Will be described in detail later with reference to FIG. Here, CCD (FLM), control circuit (COT), my
To briefly explain the operation of the controller (MC 1), the control circuit (CO
T) is from the output terminal (O10) of the microcomputer (MC 1)
Reset to CCD (FLM) in response to the integration start signal
Sending a signal and resetting the CCD (FLM)
Then, a reference potential signal is applied to the CCD (FLM). CC
Accumulation according to the amount of light received at each light receiving unit in D (FLM)
The charge increases, which causes the output from the terminal (ANB).
The applied potential drops. The control circuit (COT)
When the terminal (ANB) level reaches a specified value, the CCD
Output a transfer command signal to (FLM) to CCD (FLM)
Accumulated charge of each light receiving part of the transfer gate in the CCD (FLM)
And the interrupt end of the microcomputer (MC 1)
The integration completion signal is given to the child (it). And the control circuit
(COT) is transferred to the transfer gate of CCD (FLM).
The stored charge is based on the transfer clock of φ 1, φ 2, and φ 3.
Then, the data is received, A-D converted, and stored by one light receiving unit.
Every time the charge A-D conversion is completed, the microcomputer (MC 1)
An A-D conversion completion signal is given to the input terminal (i 10). Ma
The icon (MC 1) is AD converted in response to this signal.
Captured data from the input port (IP 0). That
The microcomputer (MC 1) is the light receiving element of CCD (FLM).
When the data converted from A to D is captured, the CCD output
End the uptake of force. It should be noted that the microcomputer (MC 1) has passed a certain time since the start of integration.
If the interrupt signal is not input even if it passes, CCD integration
The pulse for stopping the operation compulsorily is
Output from the terminal (O11) of C1). Control circuit (CO
T) is a transfer command from the terminal (φT) in response to this pulse.
The signal is given to the CCD and also to the microcomputer (MC 1)
By outputting an interrupt signal, A-D conversion of the CCD output,
Performs data transfer operation. The motor drive circuit (MDR) is the output of the microcomputer (MC 1).
The signals given from the power terminals (O12), (O13), (O14)
The motor (MO) is driven based on the number. In addition, Maiko
Mode (MC1) output terminal (O12) is "High".
The motor (MO) is clockwise and the output terminal (O13) is "H".
When "igh", the motor (MO) is driven counterclockwise.
Monitored when both output terminals (O12) and (O13) are "Low".
The drive of the motor (MO) is stopped. Furthermore, the microcomputer
When the output terminal (O14) of (MC 1) is "High",
(MO) is driven at high speed, and at "Low", it is driven at low speed.
To be done. A specific example of this motor control circuit (MDR) is
Although the applicant of the present application has already proposed it in Japanese Patent Application No. 57-136772,
Since it has nothing to do with the gist of the present invention, its explanation is omitted. The encoder (ENC) is the rotation torque of the motor (MO).
Transmission mechanism on the camera body side (L
MD) drive amount, for example by a photo coupler
And outputs a number of pulses proportional to the driving amount.
This pulse is the clock input terminal of the microcomputer (MC 1)
It is input to (DCL) and is automatically counted.
The actual value ECD is the flow of the microcomputer (MC 1) described later.
It is used to interrupt the counter. Also, this pulse is
To the motor drive circuit (MDR) and respond to the pulse.
Accordingly, the rotation speed of the motor (MO) is controlled. FIG. 3 is a flow chart showing the operation of the microcomputer (MC 2) shown in FIG.
It is a row chart. The operation of the microcomputer (MC 2) is roughly
Crab is roughly divided into the following three flows. Step # 1
The flow starting from is for closing the power switch (MAS)
This is the main flow that starts from
Focus adjustment by closing (MES) (# 2)
Power supply to circuits other than those for power supply (# 4)
Reading the exposure control information set on the camera body (BD)
(# 5), lens (LE), converter (CV)
Data reading (# 6 to # 12), metering value reading (# 1
3 and 14), AF mode, automatic setting of AF mode (# 16 ~
# 27), exposure control value calculation (# 28) and display (# 31,
# 32) and so on are repeated. # Start with step 45
Low is from the timer built in the microcomputer (MC 2)
Metering switch with a periodically output timer signal
Even if the (MES) is opened, it will take a predetermined time (for example, 15 seconds)
A timer interrupt for performing the operation of the main flow
This is the flow of Mino. Also, start from step # 59.
Low is closed by closing the release switch (RLS).
Release interrupt to start exposure control operation of camera
Is the flow. Below, based on FIG. 3 to FIG.
2 related to the microcomputer (MC 2)
The operation of the system will be described in detail. First, when the power switch (MAS) is closed,
From the on-reset circuit (POR 1) to the reset signal (PO
 1) is output. This reset signal (PO 1)
The microcomputer (MC 2) is a reset in the main flow.
The set operation is performed in step # 1. Metering switch (M
ES) is closed, so input in step # 2
When it is found that the terminal (i 0) becomes "High",
Disable the timer interrupt (# 3) and connect the terminal (O 0)
Set to "High" (# 4). This makes the transistor
(BT 1) becomes conductive and power is supplied from the power line (VB).
Be started. At the same time, the power supply is controlled via the buffer (BF).
In (VL) to converter (CV) and interchangeable lens
Power supply to (LE) is started. In step # 5,
Exposure control mode setting device (MSE), exposure time setting device
(TSE), aperture setting device (ASE), film sensitivity
Data from the setting device (SSE) is data bus (DB)
Are sequentially taken into the input / output port (I / O) via the. In steps # 6 to # 12, first register D
"O" is set (# 6) and the terminal (O6) is set to "High".
 Is defined as "converter circuit (CVC), lens circuit"
The reset state of (LEC) is released, and (# 7-1)
The serial input command of the data is output (# 7-2). Convertor
Data circuit (CVC) and lens circuit (LEC)
When the data input is completed (# 8), the data
Data in the register M (A) corresponding to the contents of register A.
(# 9). Next, "1" is added to the contents of register A
Added (# 10), the content became Ac (constant value)
It is determined whether or not. Here, if (A) ≠ Ac, #
Return to step 7-2, and the next data is acquired again.
Be played. When (A) = Ac, the lens (LE) and converter
It means that the data acquisition from (CV) is completed.
Then, set the output terminal (O 6) to “Low” (# 12), and
Reset the barter circuit (CVC) and lens circuit (LEC)
To Here, from the lens (LE) and converter (CV)
Based on Fig.4 and Fig.5
explain. The serial data input section shown in FIG.
Output terminal when inputting 8-bit serial data
(SOC) outputs 8 clock pulses and
Sequential input of serial data at the falling edge of the lock pulse
Read in. That is, according to the serial data input command (SIIN)
The flip-flop (FF 1) is set to 3 bits
The reset state of the binary counter (CO 1)
It will be canceled. At the same time, the gate of the AND circuit (AN 7)
Clock opened and divided in the microcomputer (MC 2)
Output terminal for pulse (DP) as synchronization clock output
From (SCO) to converter (CV) and lens (LE)
It is sent to the circuits (CVC) and (LEC). In addition, this
Loss pulse is counter (CO 1), shift register
(SR 1) clock input terminal. Shift cash register
(SR 1) is the falling edge of clock pulse (DP)
Input to the input terminal (SDI) of the microcomputer (MC2).
The data that is being acquired is sequentially acquired. Where the counter
The carry terminal (CY) of (CO 1) is
The next cross pulse from when the pulse (DP) is input
It becomes "High" until the input of (DP)
It On the other hand, at the one input end of the AND circuit (AN 5)
Carry output is an inverter (IN15) at the other input
Since the clock pulse (DP) is input via
The AND circuit (AN 5) uses the 8th clock pulse (D
At the falling edge of P), it becomes "High", and the flip flow
Reset the counter (FF 1) and counter (CO 1)
Enter the reset state. Therefore, the AND circuit (AN 5)
As for the output, the carry terminal (CY) of the counter (CO 1)
Being "Low" makes it "Low" and prepares for the next operation.
It Pal of "High" from this AND circuit (AN 5)
Serial input flag SIFL is set and data is input.
Is determined, the microcomputer (MC 2) shift register
From the data (SR 1) to the internal data bus (IDB)
Stored data in a predetermined register M (A). In FIG. 5, the converter (C
V) converter circuit (CVC), the lens on the right side
(LE) lens circuit (LEC). Microcomputer (M
When the output terminal (O 6) of C 2) becomes "High"
(CO 3), (CO 5), (CO 7), (CO 9)
The reset state is released and these counters
The clock applied from the output terminal (SCO) of (MC 2)
It is possible to count the pulse rate (DP). Three
Bit-by counter (CO 3), (CO 7)
The rising edge of the clock pulse (DP) of
From the rising edge of the second clock pulse,
Q carry terminal (CY)
Set to "High". 4-bit binary counter (C
O 5) and (CO 9) are the trailing edges of this carry terminal (CY).
Count the bite and the first pulse of 8 clock pulses
Counter (CO 5), (CO 9)
The und value increases by one. ROM (RO 1) of converter circuit (CVC) is
The cash register directly based on the count value of the und (CO 3)
A star is specified. Lens circuit (LEC) ROM (R
O 3) is a value based on the count value of the counter (CO 1).
Via coder (DE 9), data selector (DS 1)
The register is indirectly specified. ROM (RO
1) and (RO 3) output lenses (L
E) and converter (CV) data are stored in the decoder (DE
 Depending on the output of 5), either output will be added again in series.
Output of the sum of the two added by the path (AL 1) or
All the data of "0" is selectively output. Where,
Counter (CO for a lens with a fixed point distance)
 9) Decoder (DE 9) and ROM (RO 3)
Table 2 shows the above for a zoom lens with a variable focal length.
The relationship is shown in Table 3. Also, the counter in the converter
(CR 5), decoder (DE 5), ROM (RO 1)
Table 4 shows the relationship with the output data to the camera body. still,
φ may be either “0” or “1” for each bit data
Indicates. Outputs (b 0) and (b 0) of counters (CO 3) and (CO 7)
1) and (b 2) enter decoders (DE 3) and (DE 7)
Decoders (DE 3) and (DE 7)
The signals shown in Table 5 are output according to the data. Therefore, when the clock pulse rises, the ROM (R
 The data of 3) is 1 bit sequentially from the least significant bit (r 0).
AND circuit (AN20) to (AN27), OR circuit (O
R 5) and output at the same timing to ROM (R
The data of O 1) is also the lowest at each rising edge of the clock pulse.
AND circuit (AN) bit by bit sequentially from bit (e 0).
10) to (AN17), output via the OR circuit (OR 1)
Be done. Also, in the case of a zoom lens, the zoom ring
Depending on the focal length set by (ZR) operation,
The code board (FCD) that outputs the data of
It is provided in the road (LEC). Depending on the set focal length
Data by the output of the code plate (FCD) that changes with
Lower 5 bits of input terminal (α 2) of selector (DS 1)
The value of is uniquely determined. Therefore, the data selector (DS
 In 1), the output (h 4) of the decoder (DE 9) is “Low”.
In the case of, “0 0 0 0 h3 h2 h1 h from the input terminal (α 1)
0 ”data, and when it is“ High ”, input terminal (α
 2) to “h2 h1 h0 ********” (* indicates the code plate
(ROM) by outputting the data
 Specify the address of 3). If the count (CO 9) output is “0000”, ROM
(RO 3) address “OOH” (H indicates hexadecimal number)
The check data indicating the lens mounting is stored in the address of
This data has been applied to all types of interchangeable lenses.
It is common data (for example, 01010101). This and
Between the camera body (BD) and lens (LE).
If the burner (CV) is installed, the decoder (DE
5) The output terminal (g 2) of "High" makes the lens
The data “01010101” sent from (LE) is AND
Through the circuit (AN32) and the OR circuit (OR3),
The lens (LE) is directly attached to the camera body (BD)
If it is, it will be sent to the camera as it is, and the input terminal
Read from (SDI) to microcomputer (MC 2). this
The interchangeable lens is installed according to the check data
If is determined, the exposure metering mode is set and the exposure control
(EXC) controls the aperture. On the other hand, exchange lens
If it is determined that the
Only the metering mode is set and aperture control is not performed. The outputs of the counters (CO 5) and (CO 9) become “0001”.
Then, the lens ROM (RO 3) address “01H”
Is specified and the open aperture value data A from the ROM (RO 3)
vo is output. Note that the effective aperture is set according to the set focal length.
For zoom lens with variable values,
The maximum aperture value is output. In addition, the converter (CV)
A converter for the address "1H" of ROM (RO 1)
(CV) Equivalent to the amount of change in lens open aperture value due to mounting
Is stored in the ROM (OR
Constant value data β is output from 1). Decoder (D
E (5) terminal (g 0) "High" causes ROM (R
The data from O 1) and (RO 3) are added to the series addition circuit (AL
 This data is calculated by adding in 1) and calculating (Avo + β)
Via the AND circuit (AN30) and OR circuit (OR3)
Is output. The counter (CO 5) and (CO 9) outputs
When it becomes "0010", the ROM (RO 3) and (RO 1)
The address "02H" is designated respectively. RO of the lens
Minimum aperture data from M (RO 3) Avamx and convert
Data from the ROM (RO 1) of the
As in the case of the threshold value, the Avmax + β data is reattached.
If not, Avmax data is output. The count (CO 5) and (CO 9) outputs become “0011”.
Then, the address (03H) of the ROM (RO 3) of the lens
Is specified and the open metering error data is read from the ROM (RO 3).
Is output. Where the converter is not installed
If this is not the case, this data will be loaded directly into the camera body.
It On the other hand, if the converter (CV) is installed,
As shown in 4, all the outputs of the decoder (DE 5) are "L".
ow ”, the output of the OR circuit (OR 3) is the data from the lens.
It remains "Low" regardless of the
The data of "0" is read as the open metering error. this
Can be opened by installing a converter (CV).
Is a relatively small aperture, and the open metering error is "0"
You can think of it. Count (CO 5), (CO 9) output becomes “0100”
Then, ROM (RO 1) and (RO 3) are respectively
The address of "H" is designated. ROM of the lens (RO
Focusing lens at address “04H” in 3)
The direction of rotation of the motor (MO) when feeding (FL)
According to the data shown and this interchangeable lens depending on the set shooting distance
Indicates whether or not the lens type has a variable exchange coefficient
Data and are stored. For example, a motor clock
A model in which the focus lens is extended when rotated in the opposite direction.
If the lens is, the least significant bit is "1"
When it is rotated clockwise, the focusing lens is extended.
In the case of a lens of the type
There is. Also, the conversion coefficient changes depending on the set shooting distance.
In the case of a model lens, the least significant bit changes to "1"
If the lens is not available, the least significant bit will be "0".
ing. This data does not mean that the converter (CV) is installed.
It is sent to the camera body as it is. Decoder when the output of the counter (CO 9) becomes “0101”
The output of (DE 9) is "0" for a lens with a fixed focal length.
0101 ”, with a zoom lens it becomes“ 1001φ ”
Circuit (LEC) ROM (RO 3) is "05"
The address "H" or "001 *****" is specified.
It Note that "*****" is the data from the code plate (FCD).
Data. Fixed at this address in ROM (RO 3)
For a focal length lens, the fixed focal length f of that lens is 2
Logarithmic value with base2 The data corresponding to f is
In the case of a mullens, the set focal length f of the zoom lens
Number log2 The data corresponding to f is stored.
The data is output to the camera body. Also for the converter
Address "5H" is specified in ROM (RO 1)
At this address, a converter (CV) is attached to the camera book.
Wearing between the body (BD) and the interchangeable lens (LE)
The data γ corresponding to the amount of change in focal length
Remembered At this time, the output terminal of the decoder (DE 5)
Since the child (g 0) is "High", the adder circuit
(AL 1) focal length data log2 A constant value de
The data obtained by adding the data γ is sent to the camera body. this
The focal length is used for determining a camera shake warning and the like. When the output of the counter (CO 9) becomes “0110”, zoom
In the case of a lens, "1010φ" from the Decoder (DE 9)
Data is output and the terminal (h 4) becomes “High”.
Transition from the input terminal α 2 of the data selector (DS 1)
The data is output. As a result, the ROM (OR 3) is designated with the address "010 *****". This ad
The focal length of the zoom lens from the shortest focal length
Aperture from the effective aperture value at the shortest focal length when changed
The change amount data ΔAv is stored according to the set focal length.
Has been done. In the case of a lens with a fixed focal length, ΔA
Since v = 0, the data of “0” is stored in the address “06H”.
Is remembered. This data is the converter (CV)
Is sent to the camera as it is regardless of whether or not
It In addition, this data is the aperture component from the open metering data.
Calculation for removal (Bv-Avo-ΔAv) -Avo-
Controls the effective diaphragm to the diaphragm aperture set or calculated by ΔAv.
It is used in the calculation Av-Avo-ΔAv for controlling. When the output of the counter (CO 9) becomes “0111”, zoom
In the case of a lens, the output of the decoder (DE 9) is "1011φ"
Therefore, the ROM (RO 3) is designated with the address “011 *****”. This ad
For conversion, the conversion coefficient data KD corresponding to the set focal length
Is remembered. Also, in the case of a lens with a fixed focal length
In case of ROM (RO 3), the address of “07H” is specified.
The fixed conversion coefficient data KD is written at this address.
It is remembered. Mechanical transmission that compensates for changes in conversion factors
If a converter with a built-in reaching mechanism is installed
This data is transmitted to the body as it is. This conversion
The coefficient data KD is calculated by the microcomputer (MC 1)
From the defocus amount | ΔL |, the calculation of | ΔL | × KD is performed and the motor drive mechanism (L
It is used to obtain the data of the driving amount of (MD). 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 ・ 20 + k2 ・ 2-1 + k1 / 2-2+ k0 ・ 2-3) ・ 2n・ 2m m = k4 ・ 20 + k5 ・ 21 + k6 ・ 22+ k7 ・ 23 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, like this
If you code it, the value of KD will change in a fairly wide range.
Even if it is easy to operate in the microcomputer (MC 1),
It can be stored as data of the number of packets. Figure 7 shows the conversion coefficient data output from the zoom lens.
Is a graph showing the relationship between the focal length and the focal length, and the horizontal axis is log2
 It corresponds to f and 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.
Although it changes continuously as shown, in this example, the broken line
As indicated by A ', B', and C ', the values of KD are set to K 1 to K 33.
Is a discrete value of. Where K 1 = 20In case of KD = “01111000”, K 2 = 2-1+2-2+2-3+2-FourIn case of KD = “0110111
1 ”, K 3 = 2-1+2-2+2-3In case of KD = “01101110”, K 4 = 2-1+2-2+2-FourIn case of KD = “01101101”, K31 = 2-Four+2-6In case of KD = “00101000”, K32 = 2-Four+2-7In case of KD = “00111001”, K32 = 2-FiveIn the case of, KD = “00101000”. The focal length of the zoom lens is 5 bits on the code plate (FCD).
It is divided into a number of areas corresponding to the output of
For example, if the lens changes straight line A, f17 to f25 9
It is divided into zones. With this configuration, the f25
Is the closest to the smallest K value in that zone and
Data of small value K17, if it is a zone of f24, K16,
The f23 zone is K15, and the f22 zone is K13.
Data is output. The reason for determining the value of KD in this way is as follows.
It That is, set KD to a value larger than the actual data.
To drive the focusing lens to the in-focus position.
Encoder (ENC) pulse corresponding to the required drive amount
The number of N obtained by N = KD × | ΔL | is larger than the number
As a result, the lens passes the in-focus position and the in-focus position
Because the lens hunts before and after placing
It Therefore, if KD is set to a small value,
From the direction of, the focus position is approached, and the actual
I try to minimize the difference with KD
To shorten the time for the focusing lens to reach the in-focus position.
You can do it. In addition, if the value of KD is always set to a small value, the actual KD
When it reaches the in-focus position because the difference from the value of becomes too large
Can take too long, but saves time
In order to do so, as shown in the zone f18, f12 shown in B '
Provide a small area that is slightly larger than
So that you may go too far from the in-focus position
May be. 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.
If the position changes from the large position to the closest position, KD = k 17 =
Two-2To KD = K15 =-2+2-FourChange to. like this
In this embodiment, there is no zoom lens so that it can be used with a zoom lens.
Only the conversion coefficient data at the maximum position is stored in the ROM (RO
3) and store it in the area near the focus range (hereinafter, near focus
Until it reaches the zone (indicated by the zone).
Defocus direction) for focus based on signal only
When the lens is driven to enter the near focus zone, the above KD
Drive the lens based on the value of N found by | ΔL |
I am trying to move. The focal length code plate (F
In addition to (CD), a code plate for the set shooting distance is installed separately.
Specify the ROM (RO 3) address with the code plate
It may be possible to obtain accurate conversion coefficient data by
Increased number of parts, increased number of bits for addressing, R
There is a problem such as an increase in the capacity of the OM, which 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, the code plate (FC
The data of “11111” is output from D) and the specified address
The space "01111111" is specified. Macro shot
In the case of shadows, the position of the pupil diameter does not change and the depth of focus does not become shallow.
Or the aperture value becomes dark, depending on the AF mode
It is difficult to adjust the focus, so "φφφφ"
The data of 0110 ”is stored, and its k 3 is“ 0 ”.
Has become. Microcomputer (MC 2)
Determine that you have switched to macro shooting, and then switch (F
Even if AF mode is set by AS), only the display
The focus adjustment mode is automatically switched to the FA mode. 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.
By the replacement operation, the switch (MCS) of FIG. 5 is closed,
Via inverter (IN17) and inverter (IN19)
The outputs of the AND circuits (AN40) to (AN44) are all "L".
ow ”. By this, the address of ROM (RO 3)
"01100000" is specified. Data of "φφφφ0100" as KD at this address
Is stored, the microcomputer (MC 1) stores this data.
If k3 = k1 = 0, the switching operation to macro photography has been performed.
And the shooting distance is automatically set to the closest position.
Rotate the motor (MO) to
Pay out. 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, since it is not reliable, the AF mode or AF mode
It is recommended that no action be taken. So Ren like this
In the case of
"011 *****" for lenses, fixed focal length lenses
"00000111") and the data of "φφφφ0001" is KD
To remember. The microcomputer (MC 2) uses this data
In step # 16-2 described later, the microcomputer (MC 1)
Performs focus detection operation in F mode or FA mode
Try not to. In addition, AND circuit (AN40) to (A
The data of "00000" or "11111" from N44)
If output, ROM (RO 3) address “001000
00 ”and“ 00111111 ”correspond to the focal length f during macro shooting.
The corresponding data is the address “01000000”, “01011111”
Stores the data corresponding to ΔAv during macro shooting.
Output from the ROM (RO 3). 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 the climate to reach,
(2) “φφφφ0110” as KD as well as switching to shooting
It is stored, and only FA mode is possible. Change
In addition, like the lens described above, it does not have a transmission mechanism.
In the case of a burner, the output of the counter (CO 2) is “011
When it becomes 1 ”, the ROM (RO 1) reads“ φφφφ011
0 ”is output and the terminal (g1) of the decoder (DE 5)
Only the "High" and the data from ROM (RO 1)
If the data is transmitted to the camera body,
Even if a replacement lens is attached, only FA mode operation is performed
Be done. Insert converter to connect between camera body and interchangeable lens
If you do, the converter changes the focal length, so
Only the amount corresponding to the increase amount
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 for the camera book.
Driven by N = KD × | ΔL |
When the axis is rotated, only the amount corresponding to the increase in the focal length
There is a problem that the position is out of focus. Therefore
For converters that do not have the above-mentioned reduction mechanism,
In the embodiment, for example, a converter that increases the focal length by 1.4 times
If so, KD is 1/2, and if it is a double converter, KD is 1 /
Exponent part of the upper 4 bits of KD so that it becomes 4
From the data (k7k6k5k4) of 1.4, if the converter of 1.4 times, 1
Is reduced, and if it is a double converter, 2 is reduced.
It Returning to FIG. 5, the output of the counter (CO 5) is “1000”.
Then, as shown in Table 4, the converter circuit (CVC)
A converter (CV) is installed from the ROM (RO 1)
Check data of “01010101” indicating that
I will be forced. At this time, the terminal (g1) of the decoder (DE 5)
Is "High", this check data is
Data from ROM (RO 3) of lens circuit (LEC)
AND circuit (AN31), OR circuit (OR
It is sent to the camera body (BD) via 3). When the output of the counter (CO 5) becomes “1001”, this
Vignetting due to the light flux being limited when the inverter is attached
The aperture value data Avl determined based on the
1) output from the AND circuit (AN3
1), sent to the camera body via the OR circuit (OR 3)
It This data Avl is opened by a microcomputer (MC 2)
The value data is compared with Avo + β. With Avo + B <Avl
By default, the photometric output is Bv-Avl, so (B
v-Avl) + Avl = Bv and narrowing stage number data Av
− (Avo + B) is calculated. Lens (LE) and converter as described above
When data acquisition from (CV) is complete,
Output of photometric circuit (LMC)
A-D conversion is performed (# 13), and this A-D conversion is performed.
The photometric output data is stored in a predetermined register (#
13). In step # 15, whether the release flag RLF is "1"
If this flag is "1", step 28
Directly move to the next step, and when it is "0", the steps from # 16 to # 26
After going up, move to step # 28. Where Lerry
The release flag (RLS) of the Z flag RLF is closed.
Interrupted after # 59 step
Set to "1" when the exposure control value of the camera is calculated in
This is the flag that is set. In addition, it is exposed during this interrupt operation
It is determined in step # 63 that the control value has not been calculated.
If it is done, import the above data in steps after # 5.
If the operation is performed and RLF = 1 in step # 15, #
Focus in AF and FA modes in steps after 16
Jump in the flow of detection operation and expose in step # 28
After performing the calculation, go through # 30 and then # 64
Exposure control is performed in step. In step # 16, the AF mode or FA mode is used.
It is determined whether or not the focus detection operation is possible.
Step # 17 if possible, # 28 if not
Go to step. In this step, the lens is attached
Whether or not (# 16-1), the diameter and position of the exit pupil can be determined.
Whether the conditions are correct for the light receiver (# 16-2)
Light from the subject is incident on all the light receiving parts for point detection.
Whether or not (# 16-3), is the metering switch closed?
Whether or not (# 16-5) is determined sequentially. Check data “01010101” is not entered here.
In the case (# 16-1), if k3 to k0 of KD data are “0001”.
(# 16-2), the diameter of the exit pupil of the lens is too small and the aperture is open.
Value Avo, Avo + β, Avo + ΔAv or Av1 is constant
Price

【例えば5(F 5.6)】Avcより大きい場合(#16
-3)には、ともにAFモード,FAモードにおる焦点検
出動作は不可能であるので、#16-4のステップにおいて
焦点検出動作が行なわれないことが表示制御回路(DS
C)で警告表示された後に、#28のステップに移行す
る。また、測光スイッチ(MES)が開放されていて
(i0)が“Low”の場合(#16-5)には、FAモードの
みの動作を15秒間だけ行なわせるために#28のステップ
に移行する。 チェックデータの入力、k3〜k0≠“0001”、Avo,Avo
+β,Avo+Av またはAvl≦Avc、(i0)の“High
”がともに判別された場合には#17以降のステップに
移行する。 #17のステップでは、出力端子(O 1)が“High ”に
なり、マイコン(MC1)はその入力端子(i11 )の
“High ”によりAF,FAモードによる焦点検出動作
を開始する。#18のステップではマイコン(MC 2)に
読込まれた変換係数のデータKDを入出力ポート(I/
O)からデータバスに出力して、ラッチ回路(LA)に
ラッチさせる。このラッチ回路(LA)でラッチされた
データは、マイコン(MC 1)の後述のNo.93のステッ
プで読込まれる。 #19のステップでは、カウンタ(CO 9)の出力が“01
00”のときに読込まれたデータに基づいて、装着された
レンズが、撮影距離に応じて変換係数KDが変化する型
式のレンズかどうかを判別する。ここで、変化するレン
ズであればマイコン(MC 2)の出力端子(O 3)即ち
マイコン(MC 1)の入力端子(i13)を“High ”
に、変化しないレンズであれば“Low”にする。マイコ
ン(MC 1)はこの信号により、詳細は、後述のNo.19
2 ないしNo.197 のステップで述べるが、結像位置が近
合焦ゾーン内にあるか否かまたは積分時間が一定値より
長いか否かに応じてAFモードでのモーター(MO)の
駆動を切換える。 #22のステップでは同じくカウンタ(CO 9)が“010
0”のときに読込まれたデータに基づいてフォーカス用
レンズを繰出すときのモーター(MO)の回転方向を判
別する。ここで、時計方向であればマイコン(MC 2)
の出力端子(O 2)即ちマイコン(MC 1)の入力端子
(i12)を“High ”に、反時計方向であれば“Low”
にする。マイコン(MC 1)はこの端子(i12)への信
号とデフォーカス方向の信号とでモーター(MO)の回
転方向を決定する。 #25のステップでは、変換係数データKDの3番目のビ
ットk3が“1”か“0”かを検知することにより、装着
されたコンバータ(CV),レンズ(LE)でAFモー
ドによる焦点調節動作が可能かどうかを判別する。この
とき、k3=1ならAFモードが可能なので、フラグMF
Fを“0”にして#28のステップに移行する。一方、k3
=0ならAFモードが不可能なのでMFFを“1”にし
て、次にスイッチ(FAS)によりAFまたはFAのい
ずれかのモードが選択されているかを検知する。ここ
で、AFモードが選択されていて入力端子(i1)が
“High ”であれば、撮影者によりAFモードが設定さ
れていても自動的にFAモードに切換えられることを表
示制御回路(DSC)によって警告表示を行なわせて、
#28のステップに移行する。入力端子(i 1 )が“Lo
w”なら、FAモードがもともと選択されているのでそ
のまま#28のステップに移行する。 #28のステップでは、#5ないし#14のステップで読込
まれた設定露出制御値、測光値、レンズからのデータに
基づいて公知の露出演算を行ない、露出時間と絞り値の
データを算出し、フラグLMFを“1”にする。 #30のステップではレリーズフラグRLFが“1”かど
うか判別し、“1”のときは#64以降のステップの露出
制御動作のフローに戻り、“0”のときは#31のステッ
プに移行する。#31のステップでは出力端子(O 8)を
介して“High ”にすることによりインバータ(IN
8)をトランジスタ(BT 3)を導通させ、発行ダイオ
ード(LD10)〜(LD1n)による警告表示および液晶
表示部(DSP)による露出制御値の表示を行なわせ
る。 #33のステップでは測光スイッチ(MES)の開閉状態
を判別する。ここで、測光スイッチ(MES)が閉成さ
れていて(i 0 )が“High ”であれば、タイマー割込
みのための15秒カウント用のデータをタイマー用のレジ
スタTcに設定し(#34)、タイマーをスタートさせ
(#35)、タイマー割込を可能(#36)として#2のス
テップに戻る。この場合には(i 0 )が“High ”(測
光スイッチ(MES)が閉成されたまま)なので、直ち
に#3のステップに移行してタイマー割込を不可能にし
て前述と同様の動作を繰返す。 一方、測光スイッチ(MES)が開放されていて( i0
)が“Low”であれば、スイッチ(FAS)によりA
F,FAのいずれのモードが選択されているかが判別さ
れ(#37)、レンズからのデータに基づいて#25のステ
ップで定められたモードが判別(#38)される。ここ
で、入力端子(i1)が“Low”でFAモードが選択さ
れている(#37)か、またはAFモードが選択されてい
てもフラグMFFが“1”でレンズ側がFAモードでの
動作しかできない場合には、#40のステップに移行す
る。AFモードが選択され且つMFFが“0”の場合に
は、出力端子(O 1)を“Low”(#39)してマイコン
(MC 1)の動作を停止させた後に#40のステップに移
行する。尚、#37,#38のステップでFAモードが判別
されたときは、端子(O 1)は“High ”のままで#40
のステップに移行し、マイコン(MC 1)の動作は続行
される。 #40のステップではスイッチ(EES)の開閉状態が判
別され、露出制御機構のチャージが完了しておらず(i
2 )が“High ”であれば、#47のステップに移行して
後述する初期状態への復帰動作を行なう。露出制御機構
のチャージが完了していて(i 2 )が“Low”であれ
ば、#36のステップでタイマー割込を可能とした後に#
2のステップに戻り、再び測光スイッチ(MES)が閉
成されて入力端子(i 0 )が“High ”になるか或いは
タイマー割込みがあるのを待つ。 さて、タイマー割込があるとレジスタTcの内容から1
が差引かれ、(#45)、Tcの内容が“0”になったか
どうかが判別される(#46)。Tc≠0の場合、#5以
降のステップに移行して前述のデータの取込、露出演算
等の動作を行なう。このとき、FAモードであれば、端
子(O 1)が“High ”なのでマイコン(MC 1)はF
A用の動作を繰り返し、AFモードであれば#39のステ
ップで端子(O 1)が“Low”にされているのでマイコ
ン(MC 1)の動作は停止している。 一方、Tc=0となると出力端子(O 0),(O 1),
(O 8)が“Low”とされて、トランジスタ(BT 1)
及びバッファ(BF)による給電の停止,FAモードの
場合のマイコン(MC 1)の動作停止、トランジスタ
(BT 3)による給電の停止が行なわれる。さらに、液
晶表示部(DSP)のブランク表示、フラグMFF,L
MFのリセットを行なった後に#2のステップに戻る。 以上の動作を要約すると、測光スイッチ(MES)が閉
成されている間は、データの取込み,マイコン(MC
1)の動作,露出演算,表示の動作が繰返し行なわれ
る。次に、測光スイッチ(MES)が開放されると、A
Fモードのときは、直ちにマイコン(MC 1)の動作は
停止されてデータの取込み,露出演算,表示の動作が15
秒間繰返され、FAモードのときは、データの取込み、
マイコン(MC 1)によるFA動作,露出演算,表示の
動作が15秒間繰返される。また、露出制御機構のチャー
ジが完了していないときは、測光スイッチ(MES)が
開放されるとデータの取込み,マイコン(MC 1)の動
作,露出演算,表示の動作を直ちに停止する。 なお、一旦、#16-4,#27-2のステップの警告表示を行
なっても次のフローの時点で警告の必要がなくなれば、
この警告をキャンセルするためのデータを表示制御回路
(DSC)に伝達する必要があることはいうまでもな
い。 次に露出制御機構のチャージが完了した状態でレリーズ
スイッチ(RLS)が閉成された場合の動作を説明す
る。この場合、マイコン(MC 2)はどのような動作を
行なっていても直ちに#59のステップからのレリーズ割
込みの動作を行なう。まず、レンズからのデータの読込
み中に割込みがかかる場合を考慮して、端子(O 6)を
“Low”にしてコンバータおよびレンズの回路(CV
C),(LEC)をリセット状態にし(#59)、端子
(O 1)を“Low”にして、マイコン(MC 1)による
AF又はFAモードの動作を停止させる(#60)。さら
に出力端子(O 8)を“Low”にして警告用の発光ダイ
オード(LD10)〜(LD1n)を消灯させて(#61)、
レリーズフラグRLFに“1”の設定(#62)した後
に、前述のフラグLMFが“1”かどうかを判別する
(#63)。 ここで、フラグLMFが“1”であれば露出制御値の算
出が完了しているので、#64のステップに移行する。一
方、LMFが“0”であれば、露出制御値の算出が完了
していないので、#5以降のステップに移行して露出制
御値を算出して#64のステップに移行する。 #64のステップでは、#28のステップで算出された絞り
込み段数のデータAv−Avo,Av −(Avo+ΔAv
),Av −(Avo+β),Av−(Avo+β+ΔA
v)がデータバス(DB)に出力され、出力端子(O
4)からデータ取込み用のパルスが出力される(#6
5)。これによって、露出制御装置(EXC)に絞り込
み段数のデータが取込まれるれるとともに、露出制御機
構の絞り込み動作が開始され、取込まれた絞り込み段数
だけ絞りが絞り込まれると絞り込み動作完了する。 出力端子(O 4)からのパルス出力から一定時問が経過
すると(#66)、算出された露出時間のデータTvがデ
ータバス(DB)に出力され、出力端子(O 5)からデ
ータ取込み用のパルスが出力される(#67,#68)。こ
のパルスによって露出制御装置(EXC)には露出時問
のデータが取込まれるとともに、内臓されたミラー駆動
回路によりミラーアップ動作が開始される。ミラーアッ
プが完了すると、シャッター先幕の走行が開始するとと
もに、カウントスイッチ(COS)が閉成して取込まれ
た露出時間データに対応した時間のカウントが開始す
る。カウントが終了するとシャッター後幕の走行が開始
され、後幕走行の完了,ミラーのダウン,絞りの開放に
より、スイッチ(EES)が閉成する。 マイコン(MC 2)は、このスイッチ(EES)が閉成
して入力端子(i 2 )が“High ”になったことを判別
すると(#69)、リレーズフラグ(RLF)をリセット
して(#70)、測光スイッチ(MES)が閉成されてい
て入力端子(i 0 )が“High ”かどうかを判別する
(#71)。ここで、(i 0)が“High ”であれば、#
2以降のステップに戻り、前述のデータ取込み,マイコ
ン(MC 1)の動作,露出演算,表示の動作を繰返す。
一方、#71のステップで測光スイッチ(MES)が開放
されていて入力端子(i 0 )が“Low”ならば#47以
降のステップに移行して、マイコン(MC 2)を初期状
態にセットして#2のステップに戻る。 第8図,第9図,第10図は、マイコン(MC 1)の動作
を示すフローチャートである。マイコン(MC 1)の動
作は、以下の3つのフローに大別される。 No.1 のステップで始まるフローは、マイコン(MC
2)からの合焦動作指令により開始されるメインのフロ
ーであり、制御回路(COT)によるCCD(FLM)
の動作開始(No.8 )、モータ回転の有無の判別(No.
10〜No.13)、CCDの最長積分時間の計時および最長
積分時問経過時の動作(No.14〜19)、フォーカス用レ
ンズの終端位置の検知と最長積分時問の計時(No.35〜
44)、終端位置でのモータ停止および低コントラスト時
の回転再開(No.43〜48,51〜67)、マイコン(MC
1)の動作停止時の初期設定(No.25〜33)、低輝度時
のCCDデータの変換(No.78〜80)、デフォーカス量
およびデフォーカス方向の算出(No.81〜91)、AFモ
ード動作が可能なレンズか否かの判別(No.92〜96)、
コントラストの判別(No.100 )、AFモードの場合の
合焦ゾーンへのモータ駆動および合焦判別(No.125 〜
196)(第9図)、FAモードの場合の合焦判別(No.
240 〜 261)(第10図)、低コントラスト時の動作(N
o.105 〜 115,205〜 214)、最近接撮影位置でマクロ撮
影への切換が可能なレンズの場合のモータ駆動(No.22
0 〜 232)等の動作が行なわれる。 No.70〜76のステップは、制御回路(COT)からの端
子(i t )へのCCD積分完了信号によりCCD出力デ
ータの読込み動作が行なわれる端子割込みのフローであ
る。また、第8図のNo.200 〜 204のステップは、エン
コーダ(ENC)を介してカウンタECCから一致信号
が出力することにより合焦判別がなされるカウンタ割込
みのフローである。尚、一旦、端子割込みが可能とされ
ると、以後にカウンタ割込みの信号が発生しても端子割
込みの動作終了後でないとカウンタ割込みは実行されな
いように、両者の割込み動作の優先順位が定められてい
る。以下このフローチャートに基づいて本実施例におけ
るAF,FAモードの動作を説明する。 まず、電源スイッチ(MAS)の閉成に応答してパワー
オンリセット回路(POR 1)からリセット信号(PO
1)が出力され、このリセット信号でマイコン(MC
1)は特定番地からのリセット動作(N0.1 )を行な
う。N0.2 のステップではスイッチ(FAS)が閉成さ
れて入力端子(i14)“High ”となっているかどうか
を判別する。ここで、(i14)が“High ”であればA
Fモードが選択されているのでフラグMOFに“0”を
設定し、“Low”であればFAモードが選択されている
のでフラグMOFに“1”を設定する。 No.5 のステップでは、マイコン(MC 2)の出力端子
(O 1)が“High ”即ち入力端子(i11)が“High
”になっているかどうかを判別する。ここで、入力端
子(i11)が“Low”ならNo.2 のステップに戻って以
上の動作を繰り返す。(i11)が“High ”になってい
ることが判別されると、出力端子(O16)を“High ”
にして(No.6 )、インバータ(IN 5)を介してトラ
ンジスタ(BT 2)を導通させて電源ライン(VF)か
らの給電を開始させる。次に、CCD(FLM)の積分
時間計時用レジスタITRに最長積分時間に対応した固
定データC 1を設定する(No.7 )。次に、出力端子
(O10)から“High ”のパルスの出力して(No.8
)、制御回路(COT)にCCD(FLM)の積分動
作を開始させ、割込を可能(No.9 )とした後にNo.10
のステップに移行する。 No.10ないし13のステップでは、モーター(MO)が回
転しているか否かが順次判別される。即ち、第1回目の
合焦検出動作がなされているか否かがフラグFPFによ
り(No.10)、フォーカス用レンズ(FL)の駆動位置
が最近接または無限大の終端位置に達しているか否かが
終端フラグENFにより(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がでているかどうかを
判別する(No.15)。ここで、ボローBRWがでていな
ければ、低輝度フラグLLFに“0”を設定し(No.1
8)、マイコン(MC 2)から入力端子(i11)にマイ
コン(MC 1)を動作させるための“High ”信号が入
力しているかどうかを判別し(No.19),(i11)が
“High ”であればNo.14のステップに戻り、この動作
を繰返す。また、“Low”であればNo.25以降のステッ
プに移行して初期状態への復帰動作を行なった後に、N
o.2 のステップに戻って再び入力端子(i11)が“Hig
h ”になるのを持つ。一方、No.15のステップでボロー
BRWがでたことが判別されると、最長の積分時間が経
過したことになり、出力端子(011)にパルスを出力
(No.16)してCCD(FLM)の積分動作を強制的に
停止させ、低輝度フラグLLFを“1”にして、制御回
路(COT)から割込端子(it)に割込信号が出力する
のを待つ。 No.35以降のステップでは、まず、計時用のレジスタT
WRに一定時問データC 2が設定され(No.35)、レジ
スタITRの内容からn(例えば3)を差引いてボロー
BRWがでているかどうかを判別する(No.37)。ここ
で、レジスタITRからボローBRWでていると、前述
と同様に、最長積分時間が経過したことになるので、N
o.16のステップに移行してCCD(FLM)の積分動作
を強制的に停止させ、低輝度フラグのLLFを“1”に
して制御回路(COT)から割込端子(it)に割込信号
が入力するのを待つ。 また、ボローBRWがでていなければ低輝度フラグLL
Fを“0”にし、レジスタTWRから“1”を差引いて
ボローBRWが出ているかどうかを判別する(No.4
0)。このとき、ボローBRWがでていなければ入力端
子(i11)が“High ”になっているかどうかをNo.41
のステップで判別する。(i11)が“High ”になって
いればNo.36のステップに戻り、“Low”になっていれ
ばNo.25のステップに移行する。尚、C 1/n>C 2に
なっていて、No.37のステップでの判別でボローBRW
がでるまでの間に、No.40のステップでの判別で複数回
のボローがでる。 No.40のステップでボローBRWがでると、エンコーダ
(ENC)からのパルス数をカウントしたデータECD
をレジスタECD 1に設定し、(No.42)、この設定デ
ータとレジスタECR 2の内容とを比較する(No.4
3)。尚、レジスタECR 2にはそれぞれ以前に取込ま
れたカウントデータが設定されている。ここで、レジス
タECR 1,ECR 2の内容が一致しない場合は、レン
ズが移動していることになるので、レジスタECR1の
内容をレジスタECR2に設定し(No.44)してNo.35
のステップに戻る。 No.43のステップでレジスタECR 1とECR 2との内
容が一致する場合は、前回に取込まれたエンコーダ(E
NC)からのパルスのカウントデータが変化していな
い、即ちレンズが移動せず、最近接位置或いは無限大位
置に達してしまっていることになる。従ってこの場合に
は、割込を不可能(No.45)とし、出力端子(O11)に
パルスを出力(No.46)してCCD(FLM)の積分動
作を強制的に停止させ、出力端子(O12),(O13)を
ともに“Low”(No.47)にしてモーター(MO)の回
転を停止させ、低コントラストフラグLCFが“1”か
どうかを判別する(No.48)。尚、このフラグLCFは
被写体が低コントラストであって、CCD(FLM)の
出力に基づいて算出されたデフォーカス量ΔLが信頼性
に乏しいときに“1”になる。ここで、フラグLCFが
“0”のときには終端フラグENFを“1”にして(N
o.49)、第10図のNo.270 のステップに移行する。No.
270 のステップでは、入力端子(i14)が、“High ”
のままかどうかを判別し、(i14)が“High ”でAF
モードが選択されたままであればそのままNo.2 のステ
ップへ移行する。一方、(i14)が“Low”になってい
てFAモードに切換えられていれば、フラグFPFを
“1”にし、端子(O12),(O13)を“Low”にして
モーター(MO)を停止し、フラグLCF,LCF 1,
LCF 3を“0”にした後にNo.2 のステップへ戻る。 以上の動作を要約すると、マイコン(MC 2)からの合
焦検出銅作の指令により、CCDの積分を開始させ、割
込を可能として、最長の積分時間のカウントを開始させ
る。このときモーター(MO)が回転していなければ、
この最長積分時間をカウントしながら割込み信号が入力
するのを待ち、最長時間が経過しても割込信号が入力さ
れなければCCDの積分を強制的に停止させて、割込信
号が入力するのを待つ。一方、CCDの積分動作を開始
させたときにモーター(MO)が回転していれば、積分
時問のカウント中にレンズが終端位置に達しているかど
うかを周期的に判別しながら割込信号の入力を待ち、最
長積分時間が経過しても割込信号が入力せず、且つレン
ズが終端に達していなければ、CCDの積分を強制的に
停止させて割込み信号を待つ。また、レンズが終端に達
していれば、割込を不可能として積分を強制的に停止さ
せ、モーター(MO)の回転を停止させて、再びCCD
の積分を行ない、後述するように、ΔLを算出して合焦
かどうかを判別し、以後はマイコン(MC 2)からマイ
コン(MC 1)の入力端子(i11)へ“High ”の信号
が入力されていてもマイコン(MC 1)は合焦検出,焦
点調整の動作を行なわず、この信号が“Low”になって
再度測光スイッチ(MFS)が閉成され入力端子(i1
1)が“High ”になるとNo.2 のステップからの動作
を開始する。 さて、No.48のステップでフラグLCFが“1”である
ことが判別されると、次にフラグLCF 1が“1”かど
うかが判別される(No.51)。ここで、LCFが“0”
でればLCF 1を“1”にして(No.52)、No.60のス
テップで合焦方向フラグFDFが“1”かどうかを判別
する。なお、フラグLCF 1はレンズ位置が合焦位置か
ら大幅にずれている所謂バカボケの状態にあるか否かを
判定するためにコントラストが所定の値以上になるレン
ズ位置を走査するためのフラグ、フラグFDFは、ΔL
>0でレンズを組込むとき(前ピン)は“1”、ΔL<
0でレンズを繰出すとき(後ピン)は“0”になるフラ
グである。このときFDFが“1”なら“0”に、
“0”なら“1”に設定し直され、それぞれ入力端子
(i12)が“High ”かどうか判別される(No.63、6
4)。即ち、レンズを繰出すためのモーターの回転方向
を判別し、No.63のステップで(i12)が“High ”な
ら、レンズを繰出すためには時計方向に回転させなけれ
ばならないので、No.66のステップに移行して端子(O
12)を“High ”,(O13)を“Low”にする(i12)
が“Low”なら、レンズを繰出すためにはモーター(M
O)を反時計方向に回転させなければならないので、N
o.65のステップに移行して端子(O12)を“Low”,
(O13)を“High ”にする。また、No.64のステップ
で(i12)が“High ”なら、レンズを繰込むには反時
計方向にモーター(MO)を回転させなければならない
のでNo.65のステップに移行する。(i12)が“Low”
なら、レンズを繰込むには時計方向にモーター(MO)
を回転させなければならないのでNo.66のステップに移
行する。次にNo.67のステップでは端子(O14)を“H
igh ”にしてモーター(MO)を高速で回転させ、No.
270 のステップに移行する。 No.51のステップでフラグLCF 1が“1”であること
が判別されると、低コントラストのままで最近接または
無限大の終端位置に達したことになり、モーター(M
O)を停止させ(No.53)、(i11)が“Low”になる
のを待ち(No.55)、フラグLCF,LCF 1,LCF
3を“0”にしてNo.25のステップに戻る。 さて、低コントラストの場合の一連の動作を説明する。
まず、AFモードで低コントラストの場合、出力ポート
(OP 0)に“ 101”を出力して警告表示を行ない(N
o.105 )、次にフラグLCFが“1”になっているかど
うかを判定する。(No.107 )。ここで、フラグLCF
が“1”でなく、今回はじめて低コントラストになった
のであれば、フラグLCF,LCF 3を“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,LCF 3を“0”にして(No.282 )から
No.25以降のステップでマイコン(MC 1)の動作停止
のための初期値設定を行なう。 また、No.110 のステップでフラグFPFが“1”で最
初の動作であることが判別されると、フラグFPF,L
CF 3を“0”にして(No. 111,113)、No.205 のス
テップでデフォーカス量ΔLの正負を判別する。ΔL>
0で前ピンならフラグFDFを“1“、ΔL<0で後ピ
ンならフラグFDFを“0”とし(No. 206,209)、前
述のNo.63〜66のステップと同様に、レンズを繰出すた
めのモーター(MO)の回転方向に応じてモーター(M
O)を反時計方向或いは時計方向に回転させる。次にN
o.212 のステップで積分時間(レジスタITRの内容)
が一定値C 7よりも短時間かどうかを判別して、積分時
間が一定値以下((ITR)≧C 7)のときは端子(O
14)を“High ”としてモーター(MO)を高速駆動さ
せ(No.213 )、積分時間が一定値以上のときは端子
(O14)を“Low”としてモーター(MO)を低速駆動
させ(No.214 )、No.270 のステップを経てNo.2 の
ステップに戻って、再び測定を開始させる。このように
して、以後測定値が低コントラストでない値になるま
で、最初にきまった方向へレンズを移動させる。 低コントラストのままでレンズが一方の終端位置に達す
ると、No.52のステップでフラグLCF 1を“1”にし
て移動方向を逆転させ、更に測定を繰返しながらレンズ
を移動させる。低コントラストのままで更に、他の終端
位置に達すると一方の終端から他方の終端までレンズが
走査されたことになるので、No.55のステップに移行し
て、動作を停止する。なお、この動作中に測定値が低コ
ントラストでないことが判別されるとNo.101 のステッ
プに移行して、後述のデフォーカス量に基づくレンズ制
御の動作を行なう。ここで、突然低コントラストになっ
たときは、前述のように一回目の測定値は無視して再度
測定を行なわせ、このときも低コントラストならフラグ
LCF 3は“1”になっているので(No.112 )、LC
F 3を“0”にしてNo.205 のステップに移行し、この
ときの測定値に基づいてレンズの移動方向をきめてコン
トラストが一定値以上になる位置をさがす。 FAモード(MOF=1)で低コントラストの場合に
は、No.106 のステップからNo.115のステップに移行
して、フラグLCFを“1”、フラグLCF 1,LCF
3を“0”、フラグFPFを“1”、終端フラグENF
を“0”、出力端子(O12),(O13)を“Low”とし
て、No.258 のステップに移行し、後述する動作を行な
って、再び測定を行なう。 マイコン(MC 1)がNo.9 〜13のステップからNo.1
4,15,18,19 のループまたはNo.35〜40,42〜44のルー
プまたはNo.36〜41のループの実行しているときに、C
CD(FLM)の積分動作が完了して割込み端子(i t
)に制御回路(COT)から“High ”のパルスが入
力すると、マイコン(MC 1)はNo.70のステップにジ
ャンプして割込み動作を開始する。まず、エンコーダ
(ENC)からのパルスをカウントした値ECDがレジ
スタECR 3に設定され(No.70)、CCDの受光部の
数、即ちマイコン(MC 1)の入力ポート(IP 0)に
入力されるデータの数に相当する値C 3がレジスタDN
Rに設定され(No.71)、No.72のステップで入力端子
(i10)に“High ”のパルスが入力されるのを待つ。
CCD出力のA/D変換が終了して入力端子(i10)が
“High ”になると、入力ポート(IP 0)に入力され
た1つのCCD出力データCDがレジスタM(DNR)
に設定される(No.73)。次に、レジスタDNRの内容
から“1”が差引かれ(No.74)、このレジスタDNR
からボローBRWが出力されるまでNo.72〜75のステッ
プが繰返される。このようにして、CCD出力データC
Dが順次レジスタ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がレジスタEC
R 1に取込まれ(No.86)、このデータとNo.44のステ
ップで以前に取込んだレジスタECR 2の内容とが比較
される。 (ECR 1)=(ECR 2)ならレンズは終端に達して
いることになるので、前述のNo.47のステップからの動
作に移行し、 (ECR 1)≠(ECR 2)ならレンズは終端に達して
いないのでECR 1の内容をECR 2に設定し直してN
o.89のステップに移行する。一方、モーター(MO)が
回転していなければ、直ちにNo.89のステップに移行す
る。 No.89のステップでは入力端子(i11)が“High ”か
どうかを判別し、“Low”のときはNo.25ステップ以降
の焦点検出動作の停止および初期設定がなされ、“Hig
h ”のときはNo.90のステップに移行してシフト量の小
数部を算出し、No.81およびNo.90のステップで算出さ
れたシフト量に基づいてデフォーカス量ΔLが算出され
る(No.91)。 フラグIFF 1が“0”の場合(No.305 )、No.92以
降のステップが実行される。No.92のステップでは、フ
ラグMOFによりAFモードかどうかを判別して、AF
モードならNo.93のステップへ、FAモードならNo.10
0 のステップへ移行する。AFモードの場合、まずマイ
コン(MC 2)によりラッチ回路(LA)にラッチされ
ていた変換係数KDを入力ポート(IP 1)から取り込
み(No.93)、このデータのk3が“0”且つk2が“1”
かどうかを判別する(No.94)。ここで、k3=0且つk2
=1の場合には、前述のように、交換レンズがAFモー
ドでの動作が不可能なので、モードフラグMOFを
“1”(FAモード)にしてNo.96のステップに移行す
る。一方、k3=1またはk2=0であれば、AFモードが
可能な交換レンズが装着されていることになり、No.10
0 のステップに移行する。更に、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をレジス
タECR 2に取り込む(No.224 )。 次に、レジスタTWRに一定時間用データC 8を設定し
(No.225 )、このレジスタTWRの内容から“1”を
ひいてボローBRWがでたかどうかを判別する動作を繰
返し、一定時間が経過してボローBRWがでるとエンコ
ーダからのパルスのカウントデータECDをレジスタE
CR 1に取りこむ(No.228 )。次に、レジスタECR
1とECR 2との内容が一致するかどうかを判別し(N
o.229 )、(ECR 1)≠(ECR 2)のときはECR
1の内容をECR 2に設定(No.230 )してNo.225 〜
230のステップを繰返す。一方、(ECR 1)=(EC
R 2)のときはレンズが最近接位置に達したことになり
出力端子(O12),(O13)を“Low”にしてモーター
(MO)を停止させ(No.231 )、フラグFPFを
“1”にして(No.232 )、No.2 のステップに戻る。
尚、以後はFAモードの動作を行なう。 No.100 のステップでは、CCDからのデータが低コン
トラストかどうかが判別される。尚このステップの具体
例は第14図に基づいて後述する。ここで、低コントラス
トであれば前述のNo.105 以降のステップに移行する。
一方、低コントラストでなければ、No.101 のステップ
でフラグLCFが“0”かどうかを判別する。ここで、
LCFが“1”であれば、前回までの測定値が低コント
ラストなのでフラグFPFを“1”、フラグLCF,L
CF 1,LCF 3を“0”として、No.290 のステップ
へ移行し、モードフラグMOFを参照する。MOF=0
即ちAFモードであれば出力端子(O12)(O13)を
“Low”としてモータ(MO)を停止させた後、No.2
のステップへ戻り再び測定を行なわせる。また、MOF
=1即ちFAモードであればNo.240 のステップに移行
して後述するFAモードの動作を行なう。No.101 のス
テップでフラグLCF=0で前回の測定値が低コントラ
ストでない場合は、No.104 でモードフラグMOFを参
照し、MOFが“1”即ちFAモードであればNo.240
のステップへ、MOFが“0”即ちAFモードであるば
No.125 のステップへ移行する。 No.125 〜 130のステップでは、デフォーカス量ΔLが
合焦ゾーンZN 1の範囲内にはいっているかどうかの判
別動作が行なわれる。まず、レンズが終端位置に達して
おらずフラグENFが“0”であり(No.125 )且つ合
焦ゾーンに一旦達していて合焦フラグIFFが“1”で
ある(No.126 )場合には、今回の測定値|ΔL|とZ
N 1とをNo.127 のステップで比較する。ここで、|Δ
L|<ZN 1なら合焦表示を行ない(No.128 )、フラ
グIFF 1を“1”に(No.300 )、第2図のマイコン
(MC 1)の出力端子(O30)を“High ”に(No.30
1 )する。この出力端子(O30)はマイコン(MC 2)
の入力端子(i5)に接続されており、マイコン(MC
2)はその入力端子(i5)の“High ”によりレンズが
合焦位置に達したことを判別する。次に、マイコン(M
C 1)はNo.270 のステップに移行し、FAモードに切
換わっていなければそのままNo.2 のステップに戻り、
再び測定を行なう。 一方、No.127 のステップで|ΔL|≧ZN 1ならば、
No.130 のステップを経てフラグFPFを“1”、フラ
グIFFを“0”としてNo.135 ステップに移行し、今
回の測定値に基づくデフォーカス量によるレンズ制御動
作が行なわれる。また、レンズが終端に達していてフラ
グENFが“1”であり、No.127 のステップで|ΔL
|≧ZN 1ならば前回のデフォーカス方向の表示をした
ままで、No.129 のステップに移行し、入力端子(i1
1)が“Low”になるのを待ってからNo.25のステップ
に移行して動作を停止する。ここで、|ΔL|≧ZN 1
ならば前回のデフォーカス方向の表示をしたままでNo.
129 のステップに移行するが、この場合、レンズが終端
位置でも合焦とならず、以後モーター(MO)を制御し
ても無駄なのでマイコン(MC 1)の動作を強制的に停
止させる。 レンズが終端位置にも合焦ゾーン内にも達していないこ
とがNo.125,126 のステップで判別されると、まずNo.
131 のステップではファーストパスフラグFPFが
“1”かどうかが判別される。ここで、フラグFPFが
“0”のときは前述のNo.86〜88のステップと同様にレ
ンズが終端に達したかどうかの判別動作が行なわれ(N
o.132 〜 134)た後にNo.135 のステップへ移行し、ま
た、FPFが“1”のときはそのままNo.135 のステッ
プに移行する。No.135 のステップではマイコン(MC
2)からの合焦検出指令信号が判別され、入力端子(i
11)が“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 としてレジスタECR 4に設定さ
れ(No.144 )、フラグFPFが“0”とされてNo.16
6 のステップに移行する。 一方、No.137 のステップでフラグFPFが“0”であ
れば、まず、前回の駆動量のデータが記憶されているレ
ジスタECR 4の内容がレジスタECR 5に移され(N
o.150 )、代わりにこの時点でのエンコーダ(ENC)
からのパルスのカウントデータECDがレジスタECR
4に取り込まれる(No.151 )。即ち、ECR 5にはC
CDの積分終了時点でのカウントデータTc1が、ECR
4にはこの時点でのカウントデータ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.15
6 )。このときFDF=0なら方向が逆転したことにな
りNo.158 のステップへ移行し、FDF=1なら逆転し
ていないのでNo.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′の補正演算が行なわれて、N
o.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.27
0 のステップを経てNo.2 のステップに移行し、測定動
作をやり直す。 さて、No.166 のステップでは、近合焦ゾーンを示すデ
ータNZにKDをかけて近合焦ゾーンから合焦位置まで
のレンズの駆動量に相当するデータが算出される。次に
No.167 のステップで近合焦ゾーンの値ZN 1とKDと
からNi =ZN 1×KDの演算を行なって、合焦ゾーン
でのレンズの駆動量のデータNi が算出され(No.167
)、Nm とNn とが比較される(No.168 )。ここ
で、Nm ≧Nn 即ち近合焦ゾーン外であればNo.181 の
ステップに移行して、端子(O14)を“High ”として
モーター(MO)を高速で回転させ、エンコーダ(EN
C)からのパルスをダウンカウントするためのカウンタ
ECCにNm−Nnを設定して(No.182 )、No.185
のステップに移行する。 一方、Nm <Nn 即ち近合焦ゾーン内であることが判別
されると、No.169 のステップでNm <Ni かどうかを
判別する。ここで、Nm ≧Ni であれば、近合焦ゾーン
内にあっても合焦ゾーン内にはないことになり、出力端
子(O14)を“Low”としてモーター(MO)の回転速
度を低速にし(No.183 )、Nm をカウンタECCに設
定して(No.184 )、No.185 のステップに移行する。
尚、KDが撮影距離に応じて変化するレンズの場合、近
合焦ゾーンにない場合にはデフォーカス方向の信号によ
ってのみレンズ制御が行なわれるが、デフォーカス量を
算出するときはNo.150 からのレンズの移動量の補正が
行なわれるので、この補正用データのためにNo.182 の
ステップでNm−NnがカウンタECCに設定される。
また、Nm<Niであれば出力端子(O12),(O13)
を“Low”にしてモーター(MO)を停止させ(No.17
1 )、合焦フラグIFFを“1”にし(No.172 )、カ
ウンタ割込を不可能にして(No.173 )、No.270 のス
テップに戻って、再度確認用の測定を行なう。 さて、No.185 のステップではフラグFDFが“1”か
どうかを判別する。ここで、FDFが“1”なら前ピン
なので出力ポート(OP 0)に“100”を出力して発
光ダイオード(LD 0)を点灯させ前ピン表示を行ない
(No.186 )、“0”ならば後ピンなので出力ポート
(OP 0)に“001”を出力して発光ダイオード(L
D 2)を点灯させて後ピン表示を行なう(No.189 )。
次にこのフラグFDFの内容と入力端子(i12)への交
換レンズの回転方向の信号とによりモーター(MO)を
時計方向或いは反時計方向に回転させ(No.188,191
)、No.192 のステップに移行して、入力端子(i1
3)が“High ”かどうかを判別する。ここで、変換係
数が撮影距離に応じて変化する交換レンズが装着されて
いて(i13)が“High ”であれば、No.193 のステッ
プでNm<Nnかどうかを判別する。このとき近合焦ゾ
ーン外にあって、Nm≧Nnであれば、前述のNo.182
のステップから直ちにNo.185 のステップに移行したよ
うに、算出されたNmには無関係に、方向の信号によっ
てのみモーター(MO)の回転方向をきめて回転させ
る。次に、積分時間がC 7に相当する一定時間値より長
いかどうかを判別し(No.194 )、長いときはレンズが
合焦位置で行き過ぎてしまう可能性があるので端子(O
14)を“Low”にしてモーター(MO)を低速駆動させ
(No.195 )、カウンタ割込を不可能として(No.196
)、No.270 のステップを経てNo.2 のステップに戻
る。一方、No.193 のステップでNm<Nnであって近
合焦ゾーンにはいっていることが判別されたときには、
通常の交換レンズと同様に、カウンタ割込を可能にして
(No.197 )、No.270 のステップに戻る。また、入力
端子(i13)が“Low”の場合にもカウンタ割込を可能
にしてNo.270 のステップに戻る。 さて、モーター(MO)の回転中にエンコーダ(EN
C)からのパルスをカウントするカウンタECCの内容
が“0”になると、カウンタ割込となり、No.200 のス
テップでNm <Nn かどうかが判別される。ここで、N
m <Nn であれば、近合焦ゾーンでモーター(MO)を
回転させていた、即ち合焦ゾーンに達したことになり、
出力端子(O12),(O13)を“Low”としてモーター
(MO)の回転を停止させ(No.203 )、合焦フラグ
(IFF)を“1”にしてNo.270 のステップに戻る。
一方、Nm ≧Nn であれば、近合焦ゾーンに達したこと
になり、出力端子(O14)を“Low”にしてモーターを
低速にし(No.201 )、Nn をカウンタECCに設定
(No.202 )した後に割込のかかった番地に戻る。 次に、No.104 またはNo.290 のステップでフラグMO
Fが“1”であることが判明されると、No.240 以降の
ステップでFAモードの動作が行なわれる。まず、No.
240 のステップではフラグFPFが“1”かどうかが判
別される。ここで、FPFが“1”ならば、始めてFA
モードでの動作を行なうことになり、AFモードから切
換わったときのため、終端フラグENFを“0”、合焦
フラグIFFを“0”とし、合焦ゾーン判別用レジスタ
IZRに合焦ゾーン用データZN 2を設定する。尚、こ
のデーダZN 2はAFモードでのデータZN 1よりも大
きい値になっている。これは、AFモードの場合にはモ
ーター駆動により精度良くレンズ位置を調整することが
できるが、FAモードの場合は手動でレンズ位置を調整
するのでモータ駆動ほどの精度良い調整は非常に困難だ
からである。次に、No.245 のステップでファーストパ
スフラグFPFを“0”にしてNo.246 のステップに移
行する。一方フラグFPFが“0”ならば直ちにNo.24
6 のステップに移行する。 No.246 のステップでは、合焦フラグIFFが“1”か
どうかが判別される。ここで、フラグIFFが“1”な
ら前回までの算出値が合焦ゾーンにあることになるの
で、前回の算出値ΔLn-1 との今回の算出値ΔLとの平
均値、即ちΔLn =(ΔL+ΔLn-1 )/2の演算が行
なわれ(No.247 )、レジスタIZRに合焦ゾーン用デ
ータとしてZw (>ZN 2)が設定され(No.248 )た
後にNo.250 のステップに移行する。これは、各回の測
定値にはバラツキがあり、一旦合焦ゾーン内にはいると
合焦ゾーンの巾をひろげて合焦状態であると判別される
確率を高め、レンズ位置が合焦ゾーンの境界付近にある
ときの表示のチラツキを防止するためである。一方、N
o.246 のステップで合焦フラグIFFが“0”であれば
今回の測定値ΔLをΔLn とし(No.249 )、No.250
のステップに移行する。No.250 のステップでは|ΔL
n |<(IZR)、即ち算出値が合焦ゾーン内にあるか
どうかを判別する。ここで合焦ゾーン内にあることが判
別されると、合焦フラグIFFを“1”にし(No.251
)、発光ダイオード(LD 1)による合焦表示を行な
って(No.252 )、No.258 のステップに移行する。一
方、合焦ゾーン外にあることが判別されると、ΔLn >
0かどうかが判別され(No.253 )、ΔLn >0なら発
光ダイオード(LD 0)による前ピン表示、ΔLn <0
なら(LD 2)による後ピン表示を行なう。次に、合焦
フラグIFFを“0”とし、IZRにデータZN 2を設
定してNo.258 のステップ後に移行する。No.258 のス
テップでは入力端子(i14)が”High ”かどうかを判
別し、“High ”でAFモードに切換わっていればフラ
グFPFを“1”,IFFを“0”,LCFを“0”に
してNo.2 のステップに、また“Low”でFAモードの
ままであればそのままNo.2 のステップに戻り、次の測
定を行なう。 No.25以降のステップにおいては、AF,FAモードに
よる焦点検出動作の停止および初期状態の設定動作がな
される。まず、割込が不可能とされ(No.25)、端子
(O11)にパルスを出力してCCDの積分動作が強制的
に停止され(No.26)、端子(O12),(O13)を“L
ow”としてモーター(MO)が停止され(No.27)、出
力ポート(OP 0),(OP 5)を“000”として発
光ダイオード(LD 0)〜(LD 5)が消灯され(No.
28)、端子(O16)を“Low”として電源ライン(V
F)からの給電が停止され、また端子(O30)を、“L
ow”として合焦信号のマイコン(MC 2)への伝達が停
止される(No.32)。また、フラグENF,IFF,I
FF 1,LCF 3に“0”が、フラグFPFに“1”が
設定される(No.29〜31,33)。このようにして、マイ
コン(MC 1)が動作を停止したりFAモードに切換っ
たりしたときのための初期設定がなされた後にNo.2 の
ステップに戻る。 さて、上述のように、No.127 のステップでレンズが合
焦位置に達したことを判別してNo.2 のステップに戻
り、再び測定を行なう場合、フラグIFFが“1”なの
で、合焦の確認の場合と同様のフローを経てNo.91のス
テップまでくる。No.91のステップとNo.92のステップ
の間にはフラグIFF 1が“1”かどうかを判別するス
テップ(No.305 )が設けてあり、フラグIFF 1が
“0”ならNo.92のステップへ、“1”ならNo.306 の
ステップに移行する。No.306 のステップでフラグIF
F 1は“1”となっているので、No.306のステップで
は入力ポート(IP 2)からのデータを読み込む。ここ
で、第3図の#30のステップと#31のステップとの間に
は、露出制御用絞り値Av をI/Oポートから出力する
ステップ#80が設けられており、この絞り値がデコーダ
(DEC)の出力端子(an+ 2)からのパルスでラッ
チ回路(LA 1)にラッチされている。従って、入力ポ
ート(IP 2)には露出制御用絞り値のデータが入力さ
れる。 読み取られたデータAv はFNo.に変換され(No.307
)、No.308 のステッウでΔD=δ×FNo.の演算が
行なわれる。ここで、δは許容ぼけの直径に相当する
値、ΔDは焦点深度に相当する値である。次に、今回の
フローでのNo.91のステップで得られたデフォーカス量
|ΔL|とΔDとがNo.309 のステップで比較され、以
下の合焦状態表示を経てNo.270 のステップに移行す
る。ここで、|ΔL|≦ΔDであれば、そのとき測定し
た被写体の部分は横転深度内にあることになり、出力ポ
ート(OP 5)に“010”の信号を出力して、第2図
の発光ダイオード(LD 4)を点灯させて合焦表示が行
なわれる。一方、|ΔL|>ΔDであれば、ΔLが正か
負かに応じてそれぞれ(OP 5)に“100”を出力し
て発光ダイオード(LD 3)を点灯させて前ピン表示が
行われるか、あるいは“001”を出力して発光ダイオ
ード(LD 5)を点灯させて後ピン表示が行なわれる。 このような動作を行なうようにしておけば、AFモード
でレンズが合焦位置に達した後、レンズを合焦位置まで
駆動するために測定を行なった部分以外の部分が焦点深
度内にはいっているかどうか、或いは前ピンが後ピンか
の確認ができるといった非常に使い易い効果がでてく
る。 なお、No.308 のステップで正確な焦点深度を算出して
いるが、カメラぶれ等により測定位置を被写体の所望の
部分に正確にあわせることが困難であり、また、ΔLの
算出値もばらつくので、前述のFAモードの場合と同様
に合焦ゾーン巾を広げたり、一旦合焦ゾーンにはいった
後は合焦ゾーン巾を広げたり、数回の算出データの平均
値処理を行なったりして精度を高めるようにしてもよ
い。例えば、合焦ゾーンの巾を広げるにはΔD=1×δ
×FN0 (1=2〜3)の演算を行なえば良い。 また、このマイコン(MC 1)が動作を停止する場合の
初期設定,FAモードに切換わったときの初期設定のた
めに、No.33のステップとNo.273 のステップとNo.2
のステップとの間に、以下のステップが挿入されてい
る。即ち、フラグIFF 1を“0”にし(No. 274)、
出力ポート(OP 5)に“000”を出力して発光ダイ
オード(LD 3),(LD 4),(LD 5)を消灯させ
(No. 275)、出力端子(O30)を“Lowにする(No.
276)。 また、測光スイッチ(MES)が開放された後も上述の
変形例の表示動作を一定時問行なわせるために、#38の
ステップと#39のステップとの問に入力端子(i 5 )の
状態を判別するステップ(#81)が挿入されている。測
ち、測光スイッチ(MES)が開放され、AFモードで
あることが判別されても、入力端子(i 5 )が“High
”となっていてマイコン(MC 1)が前述の焦点深度
内にあるかどうかの動作を行なっている場合には、出力
端子(O1 )は、“Low”にせず、“High ”のままに
しておく。 第11図は第2図のCCD(FLM)の制御回路(CO
T)の具体例を示す回路図である。カウンタ(CO24)
はカウンタ(CO22)からのクロックパルス(CP)を
分周したパルス(DP 2)の立ち下がりをカウントし、
このカウント(CO24)の出力信号(p0)〜(p4)に応
じて、デコーダ(DE20)は出力端子(T 0)〜(T
9)に“High ”の信号を出力する。このカウンタ(C
O24)の出力と、デコーダ(DE20)の出力及びフリッ
プ・フロップ(FF22),(FF24)(FF26),(F
F28)のQ出力との関係を表7に示す。 この表7から明らかなように、フリップフロップ(FF
26)のQ出力(φ 1)はカウンタ(CO24)の出力が
“ 11101″〜“ 00101”の間“High ”、フリップフロ
ップ(FF24)のQ出力(φ 2)は“ 00100”〜“ 101
11”の間“High ”、フリップフロップ(FF22)のQ
出力(φ 3)は“ 10110”〜“ 11110”の間“High ”
となる。この出力信号(φ 1),(φ 2),(φ 3)は
電源ライン(VF)から給電が行なわれている間CCD
(FLM)い与えられ、転送ゲート内でアナログ信号の
転送が常時行なわれている。なお、この動作によって、
転送ゲート内に残っている蓄積電荷の排出も行なわれ
る。 電源の供給開始に基づくパワーオンリセット回路(PO
R 2)からのリセット信号(PO 2)で、フリップフロ
ップ(FF20)〜(FF28),(FF32)、Dフリップ
フロップ(DF20),(DF22),(DF24)、カウン
タ(CO20),(CO22),(CO24)がリセットされ
る。さらに、フリップフロップ(FF30)がセットされ
てQ出力が“High ”になる。この出力信号(φR)に
よりアナログスイッチ(AS 2)が導通し、定電圧源
(Vr1)の出力電位が信号線(ANB)を介してCCD
(FUM)に与えられ、この電位にCCD(FLM)の
電荷蓄積部の部位が設定される。 マイコン(MC 1)の出力端子(O10)から積分動作を
開始させるための“High ”のパルスが出力されると、
ワンショット回路(OS18)を介してフリップフロップ
(FF30)がリセットされ端子(φR)が、“Low”に
なる。これによって、CCD(FLM)は各受光部の受
光量に応じた電荷の蓄積を開始する。また、インバータ
(IN50)を介してアナログスイッチ(AS 1)が導通
して、CCDのモニター出力が端子(ANB)からコン
パレータ(AC 1)の(−)端子に入力する。電荷の蓄
積に応じて端子(ANB)からのCCDモニター出力は
電位Vr1から低下していき、定電圧源(Vr2)の電位に
達すると、コンパレータ(AC 1)の出力は“High ”
に反転する。これによりCCD(FLM)の蓄積が完了
したことが検知される。この反転でワンショット回路
(OS10)から“High ”のパルスが出力され、オア回
路(OR20)を介してフリップフロップ(FF20)がセ
ットされる。このQ出力の“High ”信号は、端子(φ
1)の立ち下がりで、Dフリップフロップ(DF20)に
取込まれ、そのQ出力の“High ”により、カウンタ
(CO20)のリセット状態が解除され、アンド回路(A
N60),(AN64,(AN66),(AN68)がエネーブ
ル状態になる。 端子(φ 1)が“High ”に立ち上がった後、端子(T
0)が“High ”になるとフリップフロップ(FF28)
は端子(T 0)の“High ”によりセットされ、端子
(T 1)の“High ”によりリセットされる。このQ出
力はアンド回路(AN68)を介して端子(φT)から
“High ”のパルスとしてCCD(FLM)に送られ、
この信号で蓄積電荷が転送ゲートに移される。さらに、
この(φT)の信号はマイコン(MC 1)の割込端子
(it)に送らえ、マイコン(MC 1)は前述のCCD
(FLM)の出力データの取込動作を行なう。 この端子(φT)が“Low”に立ち下がるとワンショッ
ト回路(OS16)を介してフリックフロップ(FF32)
がセットされ、その出力の“Low”によりアンド回路
(AN68)のゲートが閉じられて以後フリップフロップ
(FF28)のQ出力からの“High ”信号は出力されな
い。さらにワンショット回路(OS16),オア回路(O
R32)を介してフリップフロップ(FF30)がセットさ
れ、再び端子(φR)を“High ”にする。 転送信号(φ 1),(φ 2),(φ 3)によりCCD
(FLM)から蓄積電荷が順次端子(AOT)から出力
されてるくが、この電荷は、(φ 2)が“High ”の間
に出力されている。そこで、Dフリップフロップ(DF
20)のQ出力が“High ”になると、(φ 2)が“Hig
h”になっている期間内に端子(T 4)の“High ”に
よりサンプルホールド用の信号(φS)がアンド回路
(AN66)から、また端子(T 5)の“High ”により
A−D変換開始用の信号(φA)がアンド回路(AN6
4)から出力される。 また、CCD(FLM)の端子(AOT)から最初に送
られてくる蓄積電荷の信号は、オフセット調整用とし
て、受光部のモレだけに対応した電荷だけが蓄積される
ようになっていて、ほとんど(Vr1の出力電位と等しく
なっている。このときDフリップフロップ(DF24)の
出力が“High ”になっているで、サンプルホールド
用信号(φS)はアンド回路(AN70)を介してサンプ
ルホールド回路(SH 1)に与えられ、オフセット調整
用の電位がCCD(FLM)から端子(AOT)を介し
てサンプルホールド回路(SH 1)に記憶される。最初
のサンプルホールド信号(φS)の立ち下がりによりD
フリップフロップ(DF24)のQ出力は“High ”いな
って、以後のサンプルホールド信号(φS)はアンド回
路(AN72)を介してサンプルホールド回路(SH 2)
に与えられ、以後の受光量に対応した電位はサプルホー
ルド回路(SH 2)に順次記憶されていく。 Dフリップフロップ(DF20)のQ出力が“High ”に
なると、(φ 3)の信号はアンド回路(AN60)を介し
てアンド回路(AN62)の一方の入力端子に与えられ
る。この(φ 3)の最初の立ち下がりでDフリップフロ
ップ(DF22)のQ出力が“High ”になるので、二回
目以後の(φ 3)のパルス信号はアンド回路(AN62)
を介してマイコン(MC 1)の入力端子(i10 )に与え
られ、マイコン(MC 1)に入力ポート(IP 0)への
データの取り込みを指令する信号となる。ここで、Dフ
リッププロップ(DF20)のQ出力が“High ”になっ
て最初のアンド回路(AN60)からの(φ 3)のパルス
をアンド回路(AN62)から出力させないようにしてい
るのは、前述のように最初のCCD(FLM)からのデ
ータはオフセット調整用のデータだからである。また、
(φ 3)の信号はカウンタ(CO20)のクロック入力端
子にも与えられていて、カウンタ(CO20)はDフリッ
プフロップ(DF20)のQ出力の“High ”によりリセ
ット状態が解除され(φ 3)からのパルスの立ち下がり
をカウントする。このカウンタ(CO20)はCCD(F
LM)の受光部の数だけ(φ 3)からのパルスをカウン
トするキャリー端子(CY)を“High ”にする。 二回目以後は、順次、サンプルホールド回路(SH 2)
にCCD(FLM)の出力データが信号(φS)に基づ
いてサプルホールドされ、抵抗(R 1),(R 2)、オ
ペアンプ(OA 1)からなる減算回路によりサンプルホ
ールド回路(SH 1)の出力と(SH 2)の出力との差
が算出され、A−D変換器(AD)のアナログ入力端子
に与えられる。A−D変換器(AD)は(φA)の信号
で動作を開始し、カウンタ(CO22)からのクロックパ
ルス(DP 1)に基づいてこの入力データをA−D変換
する。ここで、定電圧源(Vr1)の出力をVr1、モレに
よる電圧降下をVd 、受光量による電圧降下をVl とす
ると、サンプルホールド回路(SH 1)の出力はVr1−
Vd 、サンプルホールド回路(SH 2)の出力はVr1−
Vl −Vd となっている。従って、減算回路の出力はV
l という受光量のみの信号成分になっている。尚、A−
D変換器(AD)はたとえば逐次比較型のように高速で
A−D変換する型式のものが望ましい。 CCD(FLM)からのすべてのデータのA−D変換が
終了してカウンタ(CO20)のキャリー端子(CY)が
“High ”になる。これによってワンショット回路(O
S14),オア回路(OR22)を介してフリップフロップ
(FF20),(FF32)、Dフリップフロップ(DF2
0),(DF22),(DF24)がリセットされ、Dフリ
ップフロップ(DF20)のQ出力が“Low”になること
でカウンタ(CO20)がリセット状態となって端子(O
10)から“High ”のパルスが入力される前の状態に復
帰する。 また、マイコン(MC 1)のタイマーにより積分時間が
一定以上に達したことが判別されて端子(O11)に“H
igh ”のパルスが入力したときには、このパルスの立ち
下がりでワンショット回路(OS12),オア回路(OR
20)を介してフリップフロップ(FF20)がセットされ
る。従って、以後はコンパレータ(AC 1)の出力が
“High ”に反転した場合と同様の動作が行なわれて、
CCD(FLM)の出力データがA−D変換されマイコ
ン(MC 1)の入力ポート(IP 0)へ順次出力され
る。 第12図は第11図の回路図の一部を変更した変形例であ
り、CCDからの出力データが小さい場合に、マイコン
(MC 1)にデータを取込んだ後、そのデータを2倍に
する操作をマイコン(MC 1)内のソフト(第8図のN
o.78〜82のステップ)で行なっていたのを、A−D変換
を行なう前にハードで行なうようにしたものである。 端子(φR)が“High ”の問は定電流源(CIS)、
抵抗(R10)〜(R13)できまる電位Vr1がCCD(F
LM)に与えられ、”Low”の間はCCD(FLM)の
モニター出力がコンパレータ(AC10)〜(AC12)の
(−)入力端子に与えられる。そして、積分が進みモニ
ター出力がVr2の電位に達すると、コンパレータ(AC
12)の出力が“High ”になってワンショット回路(O
S10)から“High ”のパルスが出力され、このパルス
によりオア回路(OR20)を介してフリップフロップ
(FF20)がリセットされて以後前述と同様の動作を行
なう。 さらに、このパルスはDフリップフロップ(DF32)〜
(DF38)のクロック端子に与えられる。このとき、コ
ンパレータ(AC12)の出力が“High ”なのでDフリ
ップフロップ(DF38)のQ出力が“High ”になり、
アナログスイッチ(AS48),(AS38)が導通する。
ここで抵抗(R30)〜(R40)の値はR30=R40=R38
=48=R36/1.5=R46/1.5=R34/2=R44/
2=R32/2.5=R42/2.5=となっており、アナ
ログスイッチ(AS38),(AS48)の導通によりR30
=R40=R38=R48であるのでオペアンプ(OA10)か
らはVl の信号がそのまま出力される。 一方、CCD出力が低コントラストであって最長積分時
間内にコパレータ(AC12)の出力が反転しないときに
は、マイコン(MC 1)の出力端子(O11)からの信号
によりワンショット回路(OS12)からオア回路(OR
20)を介して“High ”のパルスが出力され、そのとき
のモニター出力がVr2〜Vr3,Vr3〜Vr4,Vr4〜Vr1
のいずれの間にあるかに応じてそれぞれイクスクルーシ
ブオア回路(EO 4),(EO 2),インバータ(IN
52)を介してDフリップフロップ(DF36),(DF3
4),(DF32)のQ出力のうちの1つが“High ”に
なり、それぞれアナログスイッチ(AS36),(AS4
6)、(AS34),(AS44)、(AS32),(AS4
2)が導通する。従って、強制的に積分が停止され、そ
のときのモニター出力に応じて1.5Vl ,2Vl ,
2.5Vl の信号がアペアンプ(OA10)から出力され
る。 第13図は第8図〜第10図に示したマイコン(MC 1)の
動作の変形例を示し、一旦、合焦が検出された後の測定
結果で非合焦が連続して検出された場合のフローチャー
トの要部を示し、No.130 のステップとNo.138 のステ
ップとの間にフラグIFF 2に関するステップが挿入さ
れている。即ち、合焦ゾーンにまでレンズの焦点調整が
行なわれ、終端フラグENFが“0”であれば(No.13
0 )、No.351 のステップでフラグIFF 2が“1”か
どうかが判別される。ここで、フラグIFF 2が“0”
であればこのフラグIFF 2を“1”にしてNo.270 の
ステップに移行し、再度確認のための測定を行なう。一
方、フラグIFF 2が“1”ならば、確認のための測定
結果が 2回続けて非合焦(|ΔL|≧ZN 1)というこ
とになり、この場合には、フラグIFF,IFF 2を
“0”にし、フラグFPFを“1”にして、No.135 の
ステップに移行して、再び焦点調整用の動作を行なう。
尚、No.33のステップとNo.2 のステップとの間および
No.240 のステップとNo.241 のステップとの間にそれ
ぞれフラグIFF 2をリセットして初期状態に戻すため
のステップ(No.34,No.241 )が設けられている。 第14図は第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が加算され(No.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|となっていて、周知のように、被写体のコント
ラストを示す値になっている。No.375 のステップで
は、この値が一定値CDよりも大きいかどうかを判別し
て、(C)>CDならコントラストが十分であるのでN
o.101 のステップへ移行し、(C)≦CDなら低コント
ラストであるのでNo.105 のステップへ移行する。 なお、焦点調整状態の検出を二つの系列の受光素子出力
で行なう場合、コントラストの判別には一方の系列の出
力を用いるのみで充分である。また、被写体のコントラ
ストに対応付けできるデータがデフォーカス量とデフォ
ーカス方向の演算を行なう過程で求まる場合には、この
データを記憶しておき、一定値以下になっているかどう
かの判別を行なうことでコントラストの判別を行なうよ
うにしてもよい。 第1図における自動合焦カメラシステムのの回路部のほ
とんどの動作がマイコンによりなされる場合を第2図な
いし第14図に基づいて説明してきたが、上述の動作は論
理素子や演算回路等を組合せたデジタル回路によっても
実現できる。このような場合の一実施例を第15図ないし
第18図に基づいて説明する。第15図は第1図の回路を具
体的に示した回路図であり、第16図は第15図の各回路部
の作動を制御するための信号を発生するタイミング信号
発生回路を示す回路図である。まず、第16図のタイミン
グ信号発生回路の構成および作動を以下に説明する。ス
イッチ(193)は、第15図および第16図の回路部全体
の動作を開始させるために閉成されるスイッチであり、
該スイッチの閉成信号は第2図のマイコン(MC 1)の
入力端子(i11 )に与えられる“High ”レベル信号に
対応する。スイッチ(193)が閉成されるとインバー
タ(194)の出力が“High ”になり、ワンショット
回路(196)からパルスが出力される。このパルスは
オア回路(198)の出力端子(τ 0)から回路部全体
の初期状態を設定するための信号として出力される。 また、ワンショット回路(196)からのパルスは、オ
ア回路(199)の出力端子(τ 1)からCCD(FL
M)の積分動作およびデータ読取回路(LDC)の読取
動作を開始させるための信号として出力される。更に、
この出力端子(τ 1)からのパルスは、フリップフロッ
プ(201),アンド回路(202),カウンタ(20
3),ワンショット回路(204),オア回路(20
0)からなる第1のパルス発生回路に与えられる。第1
のパルス発生回路は、このパルスの発生に応答して第1
の所時間の計数を開始し、第15図で後述するデータ読取
回路(LDC)がデータ読取りに要する時間の経過後に
カウンタ(203)のキャリー端子(τ 2)からパルス
を出力する。この出力端子(τ 2)からのパルスは、フ
リップフロップ(206),アンド回路(207),カ
ウンタ(208),ワンショット回路(209),オア
回路(205)からなる第2のパルス発生回路に与えら
れる。この第2のパルス発生回路は、このパルスの発生
に応答して第2の所定時間の計数を開始し、後述のデー
タK,Ni の算出に要する時問の経過後に、カウンタ
(208)のキャリー端子(τ 3)からパルスを出力す
る。このパルスは、アンド回路(222),オア回路
(223),(199)を介して第1のパルス発生回路
に帰還され、これによりカウンタ(203)の計数が開
始される。ここで、アンド回路(222)はオア回路
(192)の出力が“High ”のときにゲートが開かれ
るようになっており、オア回路(192)の出力が“H
igh ”の場合、端子(τ 1)ないし(τ 3)からパルス
が順次繰返し出力される。 出力端子(τ 3)からのパルスは、アンド回路(21
0)を介して、フリップフロップ(212),アンド回
路(213),カウンタ(214),ワンショット回路
(215),オア回路(211)からなる第3のパルス
発生回路に与えられる。アンド回路(210)はオア回
路(192)の出力が“Low”のときにゲートが開か
れ、これによって第3のパルス発生回路は、このパルス
の発生に応答して第3の所定時間の計数を開始し、第15
図で後述する補正演算回路(174)が補正演算に要す
る時間の経過後に、カウンタ(214)のキャリー端子
(τ 4)からパルスを出力する。出力端子(τ 4)から
のパルスは、アンド回路(216)を介して、フリップ
フロップ(218),アンド回路(219),カウンタ
(220),ワンショット回路(221),オア回路
(217)からなる第4のパルス発生回路に与えられ
る。アンド回路(216)はオア回路(192)の出力
が“Low”のときにゲートが開かれ、これによって第4
のパルス発生回路はこのパルス発生に応答して第4の所
定時間の計数を開始し、この所定時間の経過後にカウン
タ(220)のキャリー端子(τ 5)からパルスを出力
する。このパルスはアンド回路(226),オア回路
(223),(199)を介して第1のパルス発生回路
に帰還される。ここで、アンド回路(226)はオア回
路(192)の出力が、“Low”のときにゲートが開か
れるようになっており、オア回路(192)の出力が
“Low”の場合、端子(τ 1)ないし(τ 5)からパル
スが順次繰返して出力される。 以上の第16図の示したタインミング信号発生回路からの
パルスに応じて第15図の回路部の動作が制御される、
が、その回路部分の構成および作動を以下に説明する。
まず、第16図のスイッチ(193)の閉成により端子
(τ 0)からパルスが出力され、このパルスにより、第
15図のフリップフロップ(149),(160),(1
70),(171)が、またオア回路(148)を介し
てフリップフロップ(137),(151)が、更にオ
ア回路(117),ワンショット回路(118)を介し
てフリップフロップ(119)がそれぞれリセットされ
る。また、フリップフロップ(137),(151)の
リセットによりオア回路(152)の出力が“Low”と
なってDフリップフロップ(135),(139)およ
びTフリップフロップ(132),(138)がリセッ
トされ、フリップフロップ(160)のリセットにより
Tフリップフロップ(141),Dフリップフロップ
(142)がリセットされる。また、第16図において、
端子(τ 0からのパルスは、オア回路(199)を介し
て端子(τ 1)から第1のパルス発生回路に与えられて
フリップフロップ(201)をセットする。このセット
により、カウンタ(203)は、リセット状態が解除さ
れて、発振器(224)からのクロックパルスのカウン
ト動作を開始する。同時に第15図のデータ読取回路(L
DC)は、端子(τ 1)からのパルスによりレンズ回路
(LEC)からの変換係数KLの読取動作を開始する。
また、信号処理回路(106)は、端子(τ 1)からの
パルスによりCCD(FLM)の受光積分動作を開始さ
せる。 第16図において、端子(τ 1)からパルスが出力されて
から上記データKLの読取に必要な時間が経過すると、
カウンタ(203)のキャリー端子(τ 2)からパルス
が出力する。このパルスの立下りに応答してワンショッ
ト回路(204)はパルスを出力し、オア回路(20
0)を介してフリップフロップ(201)をリセットし
てカウンタ(203)のカウント動作を停止させる。ま
た、端子(τ 2)からのパルスは第2のパルス発生回路
に与えられ、カウンタ(208)は発振器(224)か
らのクロックパルスのカウント動作を開始する。同時
に、端子(τ 2)からのパルスより、第15図の掛算回路
(112)は、固定データ出力回路(111)からのカ
メラ本体での変換係数KBとデータ読取回路(LDC)
からの撮影レンズの変換係数KLとを掛算して、カメラ
システム全体の変換係数K=KL・KBを算出する。ま
た、端子(τ 2)からのパルスにより、第15図の掛算回
路(110)は、この掛算回路(112)での算出値K
と固定データ出力回路(105)からの合焦幅ZNとを
掛算して、合焦領域の幅に対応するモーターの回転数N
i =K・ZNを算出する。 第16図において、端子(τ 2)からパルスが出力されて
から上記データK,Ni の算出に必要な時間が経過する
と、カウンタ(208)のキャリー端子(τ 3)からパ
ルスが出力する。このパルスの立下りに応答してワンシ
ョット回路(209)はパルスを出力し、オア回路(2
05)を介してフリップフロップ(205)をリセット
してカウンタ(208)のカウント動作を停止させる。
このとき、オア回路(192)の出力が“Low”であれ
ば、アンド回路(210)のゲートが開かれて端子(τ
3)からのパルスはアンド回路(210)を介して第3
のパルス発生回路に与えられ、カウンタ(214)は発
振器(224)からのクロックパルスのカウント動作を
開始する。また、端子(τ 3)からのパルスにより、第
15図の掛算回路(113)は信号処理回路(106)の
端子(w )からのデフォーカス量|ΔL|と掛算回路
(112)からの算出値Kとを掛算して、フォーカス用
レンズ(FL)を合焦位置まで駆動するのに必要なモー
ターの回転数N=K・|ΔL|を算出する。 補正演算回路(114)は、モーター(MO)の停止時
は掛算回路(113)からの算出値をそのまま、またモ
ーターの回転時は以下の補正演算を行なってその算出値
を、それぞれ出力データNm として出力する。(この回
路(114)の動作は、第9図のNo.140 ないしNo.16
2 のステップのフローに対応する。)即ち、モーター回
転時は、前回のデータNm ′から積分と演算に要する期
間のモーター回転量に対応するデータ(τ+t0)が減算
されたデータNm ′−τ−t0=Nm ″と、今回のデータ
Nが積分の中間時点で得られたものとみなしたデータN
−(τ/ 2+t0)=N′とが算出される。これら今回と
前回のデータの平均値(N′+Nm ″)/ 2=Nm が補
正されたデータNm として補正演算回路(114)から
出力される。ここで、τ=ECD 1−ECD 2,to=E
CD 2−ECD 3であり、ECD 1,ECD 2,ECD
3はそれぞれ第16図の端子(τ 1),(τ 2),(τ
3)からパルスが出力された時点でのプリセッタブルダ
ウンカウンタ(115)の出力である。 第16図において、端子(τ 3)からのパルス入力から上
記補正演算に要する時間の経過後に、カウンタ(21
4)はキャリー端子(τ 4)からパルスを出力する。こ
のパルスの立下りに応答してワンショット回路(21
5)はパルスを出力し、オア回路(211)を介してフ
リップフロップ(212)をリセットしてカウンタ(2
14)のカウント動作を停止させる。このとき、オア回
路(192)の出力が“Low”になっていると、端子
(τ 4)からのパルスはアンド回路(216)を介して
第4のパルス発生回路に与えられ、カウンタ(220)
は発振器(224)からのクロップパルスのカウント動
作を開始する。また、端子(τ 4)からのパルスによ
り、第15図のダウンカウンタ(115)に補正演算回路
(114)からのデータNm がプリセットされる。同時
に、このパルスによりフリップフロップ(170)がセ
ットされてアンド回路(166),(168),(16
9)のゲートが開かれる。このとき、信号処理回路(1
06)の端子(v )からのデフォーカス方向を示す信号
が“High ”レベルであればアンド回路(165),
(166)を介して表示部(180)において前ピン表
示がなされ、“Low”レベルであればアンド回路(16
7),(169)を介して表示部(182)において後
ピン表示がなされる。 第16図において、端子(τ 4)からのパルス入力から所
定時間の経過後にカウンタ(220)はキャリー端子
(τ 5)からパルスを出力する。このパルスに応答して
ワンショット回路(221)はパルスを出力し、オア回
路(217)を介してフリップフロップ(218)をリ
セットしてカウンタ(220)のカウント動作を停止さ
せる。端子(τ 5)からのパルスは、アンド回路(22
6),オア回路(223),(199)を介して端子
(τ 1)に与えられ、以下前述と同様に、CCDの積
分、データKLの読取、演算、補正演算、データNm の
設定、モーター駆動等の動作を順次繰返す。また、端子
(τ 5)からのパルスにより第15図のフリップフロップ
(171)がセットされてアンド回路(172),(1
73)のゲートが開かれ、信号処理回路(106)の端
子(v )のレベルに応じてアンド回路(172),(1
73)のいずれかの出力が“High ”となる。これによ
り、モーター制御回路(MDR)は、モーター(MO)
を時計方向または反時計方向に回転させる。このモータ
ー(MO)の回転は、スリップ機構(SLP),伝達機
構(LDR)を介してカメラ側カプラ(102)に伝達
される。このカメラ側カプラ(102)の回転はレンズ
泡カプラ(101),駆動機構(100)を介してフォ
ーカス用レンズ(FL)に伝達され、フォーカス用レン
ズ(FL)は合焦位置に向けて移動する。 エンコーダ(ENC)は、伝達機構(LDR)に連結さ
れており、伝達機構(LDR)の回転量(即ちフォーカ
ス用レンズ(FL)の移動量)に応じた数のパルスを順
次出力し、このパルスによりダウンカウンタ(115)
にプリセットされたデータNm が減少する。また、第16
図の端子(τ 5)からのパルスによりフリップフロップ
(119)がセットされると、エンコーダ(ENC)か
らのパルスはアンド回路(120)を介してワンショッ
ト回路(121)に与えられる。このワンショット回路
(121)からのパルスおよびフリップフロップ(11
9)の出力はオア回路(123)を介してコンデンサ
(156)の放電用トランジスタ(155)に与えられ
る。トランジスタ(155)は、ワンショット回路(1
21)からのパルス出力時およびフリップフロップ(1
19)のリセット時に導通してコンデンサ(156)を
放電させる。ここで、エンコーダ(ENC)からのパル
ス発生間隔より短かくなるように、コンデンサ(15
6)と抵抗(157)とによる時定数が設定されてい
る。また、端子(τ 3)からのパルス出力から端子(τ
5)からのパルス出力までの期間は非常に短かく、この
期間のモーター回転量は無視しうる程度であるので、こ
の間のモーター回転による上記の補正演算は行なわれな
い。 比較回路(130)は、信号処理回路(106)の端子
(w )からのデフォーカス量|ΔL|とデータ出力回路
(109)からの合焦幅ZNとを比較し、|ΔL|≦Z
Nのときに出力を“High ”にする。ワンショット回路
(136)はこの出力の立上りに応答してパルスを出力
し、フリップフロップ(137)をセットする。比較回
路(116)は、掛算回路(110)からの合焦領域で
のモーター回転量Ni とダウンカウンタ(115)から
の計数値ECDとを比較し、Ni ≧ECDのときに出力
を“High ”にする。ワンショット回路(150)は、
この出力の立上りに応答してパルスを出力し、フリップ
フロップ(151)をセットする。フリップフロップ
(137),(151)のQ出力はともにオア回路(1
52),(163),インバータ(164)を介してア
ンド回路(172),(173)に与えられる。従っ
て、|ΔL|≦ZNまたはNi ≧ECDであって合焦が
判別されてフリップフロップ(137),(151)の
出力が“High ”となると、アンド回路(172),
(173)のゲートが閉じられモーター制御回路(MD
R)はモーター(MO)の駆動を停止する。同時に、オ
ア回路(152)を介してDフリップフロップ(13
5),(139),Tフリップフロップ(132),
(138)のリセットが解除される。 このように、合焦が一旦判別されたサイクルの次のサイ
クルにおいて、比較回路(130)で合焦状態が判別さ
れ、端子(τ 3)からパルスが出力されると、アンド回
路(131),(134)によりこのときの比較回路
(130)の出力がDフリップフロップ(135)にラ
ッチされる。次に、端子(τ 3)の立下りに応答してT
フリップフロップ(132)の出力が反転してアンド回
路(133),(134)のゲートがそれぞれ開かれ、
閉じられる。更に次のサイクルにおいて合焦状態が判別
されて端子(τ 3)からパルスが出力されると、アンド
回路(131),(133)によりこのときの比較回路
(130)の出力がDフリップフロップ(139)にラ
ッチされる。このようにして、合焦が一旦判別された後
に、2回の合焦状態の判別がなされる。オア回路(14
4)は、Dフリップフロップ(135),(139)の
出力を入力としており、これら2回の合焦判別のうち少
なくとも1回が合焦であった場合はその出力が“High
”となる。また、2回とも合焦でなかった場合はその
出力は“Low”となる。尚、アンド回路(133)の出
力の立下りによるTフリップ(138)の出力は“L
ow”となってアンド回路(131)のゲートが閉じられ
る。 さて、上記の2回の合焦判別のうち少なくとも1回が合
焦であった場合はアンド回路(146)のゲートが開か
れ、端子(τ 4)からのパルスに応答してフリップフロ
ップ(149)がセットされる。このセットによりオア
回路(143),アンド回路(168)の出力が“Hig
h ”になり、アンド回路(165),(166),(1
67),(169)の出力が“Low”になり、表示部
(181)において合焦表示がなされる。一方、2回と
も非合焦であった場合はインバータ(145)を介して
アンド回路(147)のゲートが開かれ、端子(τ 4)
からのパルスに応答してオア回路(148)を介してフ
リップフロップ(137),(151)がリセットされ
る。これらのリセットによりオア回路(152)の出力
が“Low”になってDフリップフロップ(135),
(139)、Tフリップフロップ(132),(13
8)がリセットされる。また、アンド回路(172),
(173)のゲートが開かれて、モーター制御回路(M
DR)はモーター(MO)の駆動を再開する。 次に、フォーカス用レンズ(FL)が最近接または無限
遠の終端位置に達しても比較回路(130)から合焦が
判別されない場合の動作を以下に説明する。この場合、
モーター(MO)が回転していても、伝達機構(LD
R)以降の機構は強制的に回転停止しているので、エン
コーダ(ENC)からパルスが出力されなくなる。従っ
て、ワンショット回路(121)の出力によりトランジ
スタ(155)がパルス的に導通することがなくなり、
コンデンサ(156)と抵抗(157)とで決まる一定
時間後にスイッチング回路(158)の出力が“High
”に反転する。即ち、終端到達が検知される。この出
力の立上りに応答してワンショット回路(159)はパ
ルスを出力し、フリップフロップ(160)をセットす
る。このセットによりオア回路(163),インバータ
(164)を介してアンド回路(172),(173)
のゲートが閉じられ、モーター制御回路(MDR)はモ
ーター(MO)の回転を停止する。同時に、Tフリップ
フロップ(141)、Dフリップフロップ(124),
(142のリセットが解除される。また、オア回路(1
63),(117)を介してワンショット(118)は
パルスを出力してフリップフロップ(119)をリセッ
トし、以後トランジスタ(155)を導通のままに保持
する。次のサイクルにおいて、端子(τ 3)からパルス
が出力されると、アンド回路(140)によりこのとき
の比較回路(130)の出力はDフリップフロップ(1
42)にラッチされる。また、信号処理回路(106)
の端子(v )からのデフォーカス方向の信号はDフリッ
プフロップ(124)にラッチされ、これによりアンド
回路(125),オア回路(127)を介して表示部
(180)または(182)において前ピン表示または
後ピン表示がなされる。 さて、フリップフロップ(149)または(160)の
出力が“High ”になると、オア回路(192)の出力
が“High ”となって、アンド回路(226)のゲート
が、またインバータ(225)を介してアンド回路(2
10),(216)のゲートが閉じられる。これによっ
て、端子(τ 3),(τ 4)から第3,第4のパルス発
生回路へのパルスの伝達が遮断される。このとき、アン
ド回路(222)のゲートが開かれているので、端子
(τ 3)からのパルスはアンド回路(222),オア回
路(239),(199)を介して端子(τ 1)に与え
られ、以後はCCDの積分、データKLの読取、演算の
動作のみが繰返される。尚、スイッチ(190)は、手
動による焦点調節を行なうときに閉成されるスイッチで
あり、このスイッチ閉成によりオア回路(192)の出
力は常に“High ”となり、上述の合焦検知後および終
端検知後の場合と同様の動作のみが実行される。 さて、第17図において、デコーダ(235)は、第16図
のオア回路(192)の出力の“High ”により能動状
態となり、第15図の信号処理回路(106)からのデー
タに応じて端子(p0)ないし(p6)のうちのいずれか1
つを“High ”にする。掛算回路(233)は、第16図
の端子(τ 2)からのパルスにより、データ出力回路
(232)からの許容ぼけの直径に対応したデータδと
デコーダ(231)からの絶対絞り値Fとを掛算して、
該絞り値での焦点深度ΔD=δ×Fを算出する。ここ
で、デコーダ(231)は、絞りデータ出力回路(23
0)から出力される設定絞りまたは演算絞りのアペック
ス値Av を絶対絞り値に変換する回路である。比較回路
(234)は、この算出された焦点深度ΔDと第15図の
信号処理回路(106)からのデフォーカス量|ΔL|
とを比較し、ΔD≧|ΔL|のときに出力を“High ”
にしてアンド回路(241),(243),(24
4),(246),(248)のゲートを開く。一方、
比較回路(234)は、ΔD<|ΔL|のときに出力を
“Low”にしてアンド回路(240),(242),
(245),(247)のゲートを開く。従って、端子
(p0)が“High ”の場合は表示手段(250)が、端
子(p1),(p2),(p4),(p5)のいずれか1つが
“High ”で比較回路(234)の出力が“Low”の場
合は上記端子に対応する表示手段(251),(25
2),(253),(254)の1つが、端子(p6)が
“High ”の場合は表示手段(255)がそれぞれ表示
動作を行なう。また、端子(p1)ないし(p5)のいずれ
か1つが“High ”で比較回路(234)の出力が“H
igh ”の場合は上記端子に対応する表示手段(260)
ないし(264)の1つがそれぞれ表示動作を行なう。 これら表示手段は第18図に示すように、ファインダ視野
枠(270)の外側下方に、表示手段(260)ないし
(264)および(250)ないし(255)に二群に
分けて上下に配列されている。尚、表示手段(260)
ないし(264)は例えばともに緑色発光用の発光ダイ
ドードとなっており、測距枠(271)に位置する被写
体部分の結像位置が焦点深度内にあることを点灯により
表示する。また、表示手段(250)ないし(255)
は例えばともに赤色発光用の発光ダイオードとなってお
り、焦点深度外にあることを点灯により警告表示する。
また、第15図に示した表示手段(180)ないし(18
2)は、ファインダ視野枠(270)の外側上方に配列
されている。尚、これら表示手段をランプや液晶等で構
成してもよい。 さて、これら表示手段による表示動作を以下に簡単に説
明する。まず、視野枠(270)の比較的狭い領域に対
応する測距枠(271)に、撮影者がピント合わせたい
主被写体がくるように、カメラの向きが決定される。こ
の状態でスイッチ(193)が閉成されると前述のよう
に自動焦点調節が行なわれ、このときの合焦状態が上方
の表示部(180)ないし(182)のいずれかにより
表示される。結像位置が合焦領域内に達すると表示手段
(181)が点灯して合焦表示を行なうとともにフォー
カス用レンズの移動が停止する。以後はスイッチ(19
3)を閉成したままで、カメラの向きを変えて焦点深度
を確認したい被写体部分が測距枠(271)内にくるよ
うにすれば、焦点深度の確認およびその表示が行なえ
る。即ち、オア回路(192)の出力の“High ”によ
りデコーダ(235)が能動状態となる。焦点深度を確
認すべき被写体に関するデフォーカス量および方向のデ
ータは、信号処理回路(106)を介してデコーダ(2
35)に与えられ、デコーダ(235)の端子(p0)な
いし(p6)のいずれか1つが“High ”となる。また、
このデフォーカス量|ΔL|は、比較回路(233)で
絞り値に応じた焦点深度のデータΔDと比較される。こ
のデコーダ出力および比較結果に応じて1つの表示手段
が点灯し、このときの結像位置が焦点深度内にあるか否
かが表示される。 尚、この焦点深度の確認は、スイッチ(193)を閉成
している間は常に行なえるので、カメラの向きを変える
ことにより、所望回数の焦点深度の確認が行なえる。ま
た、フォーカス用レンズが終端位置に達してモーター
(MO)が回転停止したときも、同様に、この焦点深度
の確認が行なえる。 さて、スイッチ(193)を開放することにより、イン
バータ(195)を介してワンショット回路(197)
からパルスが出力し、端子(τ 0)を介して前述の種々
のフリップフロップがリセットされるとともに、タイミ
ング信号発生回路(128)がリセットされ、第15図お
よび第16図の回路は動作を停止する。尚、この動作停止
は、カメラのレリーズスイッチ(RLS)の閉成に応答
して行なうようにしてもよい。 上述の第17図および第18図に示した焦点確認表示態様の
他実施例を第19図および第20図に基づいて説明する。第
19図において、デコーダ(280)は、オア回路(19
2)の出力の“High ”により能動状態となり、第15図
の信号処理回路(106)からのデータに応じて端子
(p0)ないし(p8)のうちのいずれか1つを“High ”
にする。従って、いずれかの“High ”出力は、対応す
るオア回路(294)ないし(302)を介してそれぞ
れ表示種手段(320)ないし(328)に与えられ
て、信号処理回路(106)からのズレ量に応じた表示
がなされる。一方、記憶用スイッチ(290)の閉成に
よりインバータ(291)を介してワンショット回路
(292)からパルスが出力し、このスイッチ閉成時の
デコーダ(280)の出力がDフリップフロップ(28
1)ないし(289)にラッチされる。これらラッチに
より記憶されたデコーダ(280)の出力は上述のオア
回路を介して上述の表示手段により表示される。従っ
て、表示手段(320)ないし(328)では、記憶ス
イッチ(290)閉成時に記憶されたズレ量の表示と現
時点でのズレ量の表示との二種類の表示が行なわれる。
この記憶は記憶スイッチ(290)の閉成ごとに更新さ
れる。尚、上述のDフリップフロップはオア回路(19
2)からの“High ”出力によりリセット状態が解除さ
れる。 また、デコーダ(310)は、絞りデータ出力回路(2
30)からのデータAv に基づいて定まる焦点深度の幅
に対応するように、端子(u0)ないし(u6)を、端子
(u3)を中心として選択的に“High ”にする。即ち、
例えば、0≦Av ≦2の場合は端子(u3)のみが、2<
Av ≦4の場合は端子(u2)ないし(u4)が、4<Av
≦6の場合は端子(u1)ないし(u5)が、6<Av の場
合は端子(u0)ないし(u6)が、それぞれ“High ”と
なる。表示手段(330)ないし(336)はこれら端
子(u0)ないし(u6)にそれぞれ対応するように設けら
れている。これら表示手段(320)ないし(328)
および(330)ないし(336)は、第20図に示すよ
うに、ファインダ視野枠(270)の外側下方に二列に
配列されており、表示手段(330)ないし(336)
により絞りデータAv に応じた幅の焦点深度が視覚的に
表示され、表示手段(320)ないし(328)により
記憶時および現時点でのズレ量のデータが表示される。
即ち、測距視野枠(271)に位置する被写体の結像位
置が焦点深度内のどの位置にあるか、またはどの程度外
れているかが視覚的に容易に判別できる。 第15図ないし第18図に示した焦点深度確認表示態様の更
に他の実施例、即ち少数の表示手段が自動焦点調節時お
よび焦点深度確認時の表示が行なえる実施例を第21図に
基づいて説明する。図において、オア回路(192)の
出力が“Low”であってモーター駆動による自動焦点調
節動作が行なわれている場合、アンド回路(343)な
いし(346)のゲートが閉じられている。従って、ア
ンド回路(351),(353),(353)のゲート
が閉じられて、アンド回路(350),(352),
(354)のゲートが開かれている。このときは、第15
図のアンド回路(166),(168),(169)の
出力に応じて表示手段(180),(181),(18
2)のいずれか1つが点灯表示する。一方、第16図のオ
ア回路(192)の出力が“High ”になるとアンド回
路部(343)ないし(345)のゲートが開かれる。
このとき、第17図の比較回路(234)の出力が“Hig
h ”(即ちΔD≧|ΔL|)であるとアンド回路(34
4)の出力が“High ”となってアンド回路(353)
のゲートが開かれる。また、アンド回路(346)には
第16図の発振器(224)からのクロックパルスを分周
した分周器(342)からの分周パルスが与えられてお
り、この分周パルスはアンド回路(346),(35
3)を介して表示手段(181)に与えられる。これに
より、焦点深度確認後の被写体の結像位置が焦点深度内
にある場合は合焦表示用の表示手段(181)が点滅す
る。ここで、自動焦点調節動作停止時の合焦状態が前ピ
ンであった場合、表示手段(180)が常時点灯してお
り、これと表示手段(181)の点滅とにより自動焦点
調節動作停止時と焦点深度確認時との表示が区別でき
る。また、自動焦点調節動作停止時に合焦であった場合
は表示手段(181)の点滅のみとなり、後ピンであっ
た場合は表示手段(182)が常時点灯し表示手段(1
81)が点滅する。このようにして、自動焦点調節動作
停止時の合焦状態を常時点灯により、焦点深度確認時の
合焦状態を点滅により、ともに同時に表示するようにし
たので、自動焦点調節時の表示手段(180)ないし
(182)を共通に使用することができる。 発明の効果 所定領域内の被写体に対して合焦が得られるようにフォ
ーカシングレンズの位置が決定されると、その後はフォ
ーカシングレンズ位置が保持されると共に上記所定領域
内の被写体に対して被写界深度内かどうかを示す表示が
行われる。 したがって、主被写体に対して合焦状態が得られるフォ
ーカシングレンズ位置が保持された状態で、撮影画面の
他の方向に向けて別の被写体を所定領域内に入れるとそ
の被写体が被写界深度内にいるかどうかが確認でき、被
写界深度を考慮した構図決定が行える。
[For example, 5 (F 5.6)] If it is larger than Avc (# 16
-3), focus detection in both AF mode and FA mode
It is impossible to move out, so in step # 16-4
If the focus detection operation is not performed, the display control circuit (DS
After the warning is displayed in C), move to step # 28.
It Also, the photometric switch (MES) is open
If (i0) is "Low"(# 16-5), the FA mode
# 28 step for only 15 seconds
Move to. Check data input, k3 to k0 ≠ “0001”, Avo, Avo
+ Β, Avo + Av or Avl ≦ Avc, (i0) “High
If both are determined, proceed to # 17 and subsequent steps.
Transition. In step # 17, the output terminal (O 1) goes to "High".
, The microcomputer (MC1) has its input terminal (i11)
Focus detection operation in AF and FA modes by "High"
To start. In step # 18, the microcomputer (MC 2)
The read conversion coefficient data KD is input / output port (I /
O) to the data bus and output to the latch circuit (LA)
Make it latch. Latched by this latch circuit (LA)
The data is based on the No. 93 step described below of the microcomputer (MC 1).
Read in. In the step of # 19, the output of the counter (CO 9) is “01
Installed based on the data read when it was "00"
A lens whose conversion coefficient KD changes according to the shooting distance
Determine if the lens is a formula. Where the changing len
Output terminal (O 3) of the microcomputer (MC 2)
Set the input terminal (i13) of the microcomputer (MC 1) to "High"
If the lens does not change, set to "Low". Maiko
This signal is used by the master (MC 1), and details will be described later in No. 19
As described in steps 2 to No. 197, the imaging position is close.
Whether it is in the focusing zone or whether the integration time is
Depending on whether it is long or not, the motor (MO) in AF mode
Switch the drive. In the step of # 22, the counter (CO 9) is also “010”.
For focus based on the data read when it is 0 ”
Determine the rotation direction of the motor (MO) when extending the lens
Separate. Here, if it is clockwise, microcomputer (MC 2)
Output terminal (O 2) of the microcomputer (MC 1) input terminal
Set (i12) to "High", or "Low" if counterclockwise.
To The microcomputer (MC 1) sends a signal to this terminal (i12).
Of the motor (MO) by the signal and the signal in the defocus direction.
Determine the rolling direction. In step # 25, the third bit of the conversion coefficient data KD
Mounting by detecting whether the k3 is "1" or "0"
AF converter with the converted converter (CV) and lens (LE)
It is determined whether or not the focus adjustment operation by the camera is possible. this
At this time, if k3 = 1, AF mode is possible, so the flag MF
F is set to "0" and the process proceeds to step # 28. On the other hand, k3
If = 0, AF mode is not possible, so set MFF to "1".
Then, use the switch (FAS) to switch between AF and FA.
Detects whether any mode is selected. here
And AF mode is selected and the input terminal (i1) is
If it is "High", the AF mode is set by the photographer.
That FA mode can be automatically switched even if
The warning display by the display control circuit (DSC),
Go to step # 28. Input terminal (i 1) is "Lo
If w ”, FA mode is originally selected, so
Then, move 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.
Data is calculated and the flag LMF is set to "1". In step # 30, whether the release flag RLF is "1"
If it is “1”, the exposure of the step after # 64 is performed.
Return to the flow of control operation. If it is "0", step # 31 is started.
Move to In step # 31, set the output terminal (O 8)
Inverter (IN
8) Make the transistor (BT 3) conductive and issue the issue
Warning display and LCD by (LD10) to (LD1n)
Display the exposure control value on the display (DSP).
It In step # 33, open / close state of photometric switch (MES)
To determine. Here, the photometric switch (MES) is closed.
If (i 0) is “High”, the timer interrupt
Data for counting 15 seconds for
Set it to Star Tc (# 34) and start the timer.
(# 35), timer interruption is possible (# 36)
Return to step. In this case, (i 0) is “High” (measurement
Immediately because the optical switch (MES) remains closed)
And move to step # 3 to disable timer interruption
Then, the same operation as described above is repeated. On the other hand, the metering switch (MES) is open (i0
) Is “Low”, press the switch (FAS) to A
It is determined whether F or FA mode is selected.
(# 37) based on the data from the lens.
The mode determined by the top is determined (# 38). here
, The input terminal (i1) is "Low" and FA mode is selected.
(# 37), or AF mode is selected.
Even if the flag MFF is "1" and the lens side is in FA mode,
If you can only operate, move to step # 40.
It When AF mode is selected and MFF is "0"
Outputs the output terminal (O 1) to “Low” (# 39)
After stopping the operation of (MC 1), move to the step of # 40.
To go. The FA mode is determined in steps # 37 and # 38.
Terminal (O 1) remains “High” when # 40
Move to step and continue operation of microcomputer (MC 1)
To be done. In step # 40, the open / closed state of the switch (EES) can be determined.
Separately, charging of the exposure control mechanism is not completed (i
If 2) is "High", move to step # 47.
A return operation to the initial state described later is performed. Exposure control mechanism
Is fully charged (i 2) is “Low”
For example, after enabling the timer interrupt in step # 36, #
Return to step 2 and close the photometric switch (MES) again.
Input terminal (i 0) becomes “High” or
Wait for a timer interrupt. Now, if there is a timer interrupt, 1 from the contents of register Tc
Was subtracted and (# 45), the content of Tc became "0".
It is determined (# 46). If Tc ≠ 0, # 5 or later
Move to the descending step to capture the above-mentioned data, exposure calculation
And so on. At this time, if the FA mode,
Since the child (O 1) is “High”, the microcomputer (MC 1) is F
The operation for A is repeated.
The terminal (O 1) is set to “Low” at the top
(MC 1) operation is stopped. On the other hand, when Tc = 0, the output terminals (O 0), (O 1),
(O 8) is set to “Low” and the transistor (BT 1)
And stop the power supply by the buffer (BF),
In case of stop of microcomputer (MC 1) operation, transistor
The power supply is stopped by (BT 3). Furthermore, the liquid
Blank display of crystal display (DSP), flags MFF, L
After resetting the MF, the process returns to step # 2. To summarize the above operation, the photometric switch (MES) is closed.
While it is being created, data acquisition, microcomputer (MC
The operation of 1), exposure calculation, and display operation are repeated.
It Next, when the photometric switch (MES) is opened, A
In F mode, the operation of the microcomputer (MC 1) is immediately
15 operations for data acquisition, exposure calculation, and display after being stopped
It is repeated for 2 seconds, and when in FA mode, data acquisition,
FA operation, exposure calculation, and display by microcomputer (MC 1)
The operation is repeated for 15 seconds. Also, the char of the exposure control mechanism
If the measurement is not completed, the metering switch (MES)
When released, data acquisition and operation of the microcomputer (MC 1)
Immediately stop the operation of exposure, exposure calculation, and display. Note that the warning display for steps # 16-4 and # 27-2 will be displayed once.
If the warning is no longer needed at the next flow,
Display data for canceling this warning Control circuit
Needless to say, it must be communicated to (DSC)
Yes. Next, release with the exposure control mechanism charged.
The operation when the switch (RLS) is closed is explained.
It In this case, what kind of operation is the microcomputer (MC 2)?
Even if you are doing it, release release from step # 59 immediately
Performs complicated operation. First, read the data from the lens
Considering the case where an interrupt occurs during
Set to “Low” to convert converter and lens circuit (CV
C) and (LEC) are reset (# 59), and the terminal
Set (O 1) to “Low” and use the microcomputer (MC 1)
The operation in AF or FA mode is stopped (# 60). Furthermore
The output terminal (O 8) is set to “Low” and the warning light emitting die
Turn off the lights (LD10) to (LD1n) (# 61),
After setting the release flag RLF to "1"(# 62)
Then, it is determined whether or not the above-mentioned flag LMF is "1".
(# 63). If the flag LMF is "1", the exposure control value is calculated.
Since the output has been completed, move to step # 64. one
If LMF is "0", the calculation of exposure control value is completed.
I haven't done so
Calculate the control value and proceed to step # 64. In step # 64, the aperture calculated in step # 28
Data of the number of steps Av-Avo, Av- (Avo + ΔAv
), Av− (Avo + β), Av− (Avo + β + ΔA
v) is output to the data bus (DB) and the output terminal (O
A pulse for data acquisition is output from (4) (# 6
Five). This narrows down the exposure control device (EXC).
Data of the number of steps is captured and the exposure controller
The number of narrowing steps taken after the target narrowing operation was started
When the diaphragm is narrowed down, the narrowing operation is completed. A certain time has passed since the pulse output from the output terminal (O 4)
Then (# 66), the calculated exposure time data Tv is
It is output to the data bus (DB) and output from the output terminal (O 5).
A pulse for capturing data is output (# 67, # 68). This
Exposure pulse causes the exposure control device (EXC)
Data is captured and the built-in mirror drive
The circuit starts the mirror-up operation. Mirror up
When the shutter is closed,
The count switch (COS) is closed and taken in.
The counting of the time corresponding to the exposure time data
It When the count is over, the shutter rear curtain starts running
To complete the trailing curtain, down the mirror, and open the aperture.
As a result, the switch (EES) is closed. This switch (EES) is closed in the microcomputer (MC 2)
And determine that the input terminal (i 2) has become “High”
Then, (# 69) resets the relays flag (RLF).
(# 70), the metering switch (MES) is closed.
To determine whether the input terminal (i 0) is "High"
(# 71). Here, if (i 0) is “High”, #
Return to step 2 and subsequent steps to import the above-mentioned data, Myco
Repeat the operation of the monitor (MC 1), exposure calculation, and display.
On the other hand, the photometric switch (MES) is opened in step # 71.
If the input terminal (i 0) is set to “Low”, # 47 or later
Move to the descending step and set the microcomputer (MC 2) to the initial state.
Then set the condition and return to step # 2. 8, 9 and 10 show the operation of the microcomputer (MC 1)
It is a flowchart showing. Movement of microcomputer (MC 1)
The works are roughly classified into the following three flows. The flow starting with step No. 1 is the microcomputer (MC
2) Main flow started by the focus operation command from
And the CCD (FLM) by the control circuit (COT)
Operation start (No.8), judgment of motor rotation (No. 8)
10-No.13), longest integration time of CCD and longest
Operation when the integration time has elapsed (No. 14 to 19), focus recording
Detecting the end position of the sensor and measuring the longest integration time (No. 35-
44), with motor stopped at end position and low contrast
Restart (No.43-48, 51-67), microcomputer (MC
Initial setting when the operation of 1) is stopped (No. 25 to 33), low brightness
CCD data conversion (No.78-80), defocus amount
And defocus direction calculation (No. 81 to 91), AF mode
Judgment of whether or not the lens can be operated (No.92-96),
Contrast discrimination (No.100), in AF mode
Motor drive to focus zone and focus determination (No.125-
196) (Fig. 9), focus determination in FA mode (No.
240-261) (Fig. 10), operation at low contrast (N
o.105-115,205-214), macro shooting at the closest shooting position
Motor drive in case of lens that can switch to shadow (No.22
0 to 232) and the like are performed. Steps No. 70 to 76 are the ends from the control circuit (COT).
The CCD output signal is output by the CCD integration completion signal to the child (it).
The flow of the terminal interrupt in which the reading operation of the data is performed.
It The steps No. 200 to 204 in FIG.
Match signal from counter ECC via coder (ENC)
A counter interrupt in which focus is determined by outputting
This is the flow of Mino. Note that once the terminal interrupt is enabled
Then, even if the counter interrupt signal is generated after that, the terminal assignment
The counter interrupt will not be executed until after the
Therefore, the priority order of both interrupt operations is set.
It In the following, this embodiment will be described based on this flowchart.
The operation of the AF and FA modes will be described. First, the power is turned on in response to the closing of the power switch (MAS).
From the on-reset circuit (POR 1) to the reset signal (PO
1) is output, and this reset signal causes the microcomputer (MC
1) Perform the reset operation (N0.1) from the specified address.
U In the step of N0.2, the switch (FAS) is closed.
The input terminal (i14) is "High".
To determine. If (i14) is "High", then A
Since the F mode is selected, set "0" to the flag MOF.
If it is set and "Low", FA mode is selected
Therefore, the flag MOF is set to "1". In step No.5, output terminal of microcomputer (MC 2)
(O 1) is “High”, that is, the input terminal (i 11) is “High”.
It is determined whether or not it is ".
If the child (i11) is "Low", return to No.2 step.
Repeat the above operation. (I11) is "High"
If it is determined that the output terminal (O16) is "High"
(No.6), and the inverter (IN 5)
Power supply line (VF) by turning on the transistor (BT 2)
To start power supply. Next, CCD (FLM) integration
The time counting register ITR is fixed to correspond to the longest integration time.
Set constant data C 1 (No. 7). Then the output terminal
Output a "High" pulse from (O10) (No.8
), The integral movement of CCD (FLM) in the control circuit (COT)
After starting the work and enabling interrupts (No. 9), No. 10
Go to step. In steps 10 to 13, the motor (MO) turns
Whether or not it is rolling is sequentially determined. That is, the first
The flag FPF determines whether or not the focus detection operation is performed.
(No.10), focus lens (FL) drive position
Whether or not has reached the closest or infinity end position
The drive position is in focus by the end flag ENF (No. 11).
Whether or not it is inside the scene is determined by the focus flag IFF.
(No.12), switch (FAS) which mode
Is selected by the flag MOF (No. 13),
Each is sequentially determined. 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,
Move on. In addition, the focus detection operation after the second time
And the lens reaches the end position, the focus zone
If the AF mode is not selected and the AF mode is selected,
Since the target (MO) is rotating, the
Move to The flag FPF indicates the first focus detection.
The period during which the operation is being performed is "1", during the second and subsequent operations
Becomes "0" and the end flag ENF is set to the focus lens.
(FL) drive position is closest to infinity position
Even if the motor (MO) is rotated further
When no pulse is output from the encoder (ENC)
Is set to "1" and the focus flag IFF indicates that the lens is in focus.
"1" when you are in the computer, "0" when you are out
It In the steps after No.14, first register for integration time measurement
"1" is deducted from the contents of TAITR (No.14),
Whether or not the borrow BRW is coming out from the register ITR
Determine (No. 15). Borrow BRW is not here
If so, the low brightness flag LLF is set to “0” (No. 1).
8), from the microcomputer (MC 2) to the input terminal (i11)
Input "High" signal to operate controller (MC 1)
Determine whether or not (No. 19), (i11) is
If it is "High", return to step No.14 and perform this operation.
Repeat. If it is "Low", the step after No.25
After returning to the initial state and performing a return operation to the initial state,
Return to step o.2 and input terminal (i11) becomes "Hig" again.
It has a value of h ”. On the other hand, borrow at step No.15.
If it is determined that BRW has occurred, the longest integration time elapses.
It has passed and outputs a pulse to the output terminal (011).
(No. 16) to force the integration operation of CCD (FLM)
Stop, set the low brightness flag LLF to "1", and control
An interrupt signal is output from the line (COT) to the interrupt terminal (it)
Wait for In steps after No. 35, first, the register T for clocking is used.
The question data C 2 is set in the WR at a certain time (No. 35), and the cash register
Borrow by subtracting n (for example, 3) from the contents of the Star ITR
It is determined whether BRW is out (No. 37). here
Then, if it is borrow BRW from the register ITR,
Similarly, since the longest integration time has elapsed, N
Integral operation of CCD (FLM) by moving to step o.16
Is forcibly stopped and LLF of the low brightness flag is set to "1".
Then, an interrupt signal from the control circuit (COT) to the interrupt terminal (it)
Wait for you to type. If the borrow BRW does not appear, the low brightness flag LL
Set F to "0" and subtract "1" from the register TWR.
Determine if Borrow BRW is out (No.4
0). At this time, if the borrow BRW does not appear, the input end
Whether or not the child (i11) is "High" is No.41.
Determine in step. (I11) becomes "High"
If so, go back to No. 36 step and become "Low"
For example, move to step No.25. In addition, C1 / n> C2
, And Borrow BRW by the judgment in No.37 step.
Until it appears, it is judged multiple times in the steps of No.40.
Borrowed. When borrow BRW comes out in step No.40, encoder
Data ECD counting the number of pulses from (ENC)
To the register ECD 1 (No.42), and set this
Data and the contents of register ECR 2 are compared (No. 4
3). Note that the register ECR 2 was previously loaded.
The count data that has been set is set. Where regis
If the contents of ECR 1 and ECR 2 do not match, the
Of the register ECR1
Set the contents in the register ECR2 (No.44) and set No.35.
Return to step. Of the registers ECR 1 and ECR 2 in step No. 43
If they match, the encoder (E
The pulse count data from NC) has not changed.
I.e. the lens does not move, the closest position or infinity
You have reached the stage. So in this case
Disables interruption (No.45) and outputs to the output terminal (O11).
Outputs a pulse (No.46) and integrates the CCD (FLM)
Operation is forcibly stopped and output terminals (O12) and (O13)
Both are set to “Low” (No. 47) and the motor (MO) turns
Stop the rotation and set the low contrast flag LCF to "1".
Determine whether (No.48). This flag LCF is
If the subject has low contrast and the CCD (FLM)
Defocus amount ΔL calculated based on output is reliable
It becomes "1" when it is scarce. Here, the flag LCF
When it is "0", the end flag ENF is set to "1" (N
o.49), and proceed to step No.270 in FIG. No.
In step 270, the input terminal (i14) is "High".
It is determined whether or not it remains as it is. (I14) is "High" and AF
If the mode is still selected, the No. 2
Move on. On the other hand, (i14) is "Low"
If it has been switched to FA mode by
Set to "1" and set terminals (O12) and (O13) to "Low"
The motor (MO) is stopped and the flags LCF, LCF 1,
After setting LCF 3 to “0”, return to step No.2. The above operation is summarized as follows:
The CCD integration is started by the command of the focus detection copper product, and the
Enable the start of counting the longest integration time.
It If the motor (MO) is not rotating at this time,
An interrupt signal is input while counting this longest integration time
Wait until the maximum time elapses and the interrupt signal is input.
If not, the CCD integration is forcibly stopped and the interrupt signal is sent.
Wait for the number to enter. On the other hand, start integration operation of CCD
If the motor (MO) is rotating when the
Whether the lens reaches the end position during time counting
Wait for the input of interrupt signal while discriminating whether
Even if the long integration time has elapsed, no interrupt signal is input and the
If the pixel has not reached the end, force CCD integration
Stop and wait for interrupt signal. Also, the lens reaches the end
If so, interrupts are disabled and integration is forcibly stopped.
Stop the rotation of the motor (MO), and again CCD
Is calculated and ΔL is calculated and focused as described later.
It is determined whether or not, and after that, from the microcomputer (MC 2),
"High" signal to input terminal (i11) of controller (MC 1)
Even if is input, the microcomputer (MC 1) detects focus
This signal becomes "Low" without the point adjustment operation.
The photometric switch (MFS) is closed again and the input terminal (i1
When 1) becomes "High", operation from step No.2
To start. Now, in the step of No.48, the flag LCF is "1".
If it is determined that the flag LCF 1 is “1”,
It is determined (No. 51). Here, LCF is "0"
If so, set LCF 1 to “1” (No. 52) and switch No. 60.
Determine whether the focus direction flag FDF is "1" at step
To do. The flag LCF 1 indicates whether the lens position is the in-focus position.
Whether it is in a so-called bokeh state that is greatly deviated from
The lens whose contrast is higher than a predetermined value to judge
The flag for scanning the scanning position and the flag FDF are ΔL
> 1 when assembling the lens (front pin), “1”, ΔL <
When the lens is extended at 0 (back pin), the
It is Gu. At this time, if the FDF is "1", it becomes "0",
If it is "0", it is reset to "1" and input terminals
It is determined whether (i12) is "High" (No. 63, 6)
Four). That is, the direction of rotation of the motor for extending the lens
And (i12) is “High” in step No.63.
In order to extend the lens, it must be rotated clockwise.
Since it must be done, move to No. 66 step and set the terminal (O
12) to "High" and (O13) to "Low" (i12)
If is “Low”, the motor (M
O) must be rotated counterclockwise, so N
Go to step o.65 and set terminal (O12) to “Low”,
Set (O13) to "High". Also, the steps of No. 64
If (i12) is "High", it is necessary to retract the lens
The motor (MO) must be rotated in the measuring direction
Therefore, move to step No. 65. (I12) is “Low”
If so, the motor (MO) in the clockwise direction to retract the lens
Must be rotated, so move to step No. 66.
To go. Next, in step No. 67, the terminal (O14) is set to "H".
Set to "igh" to rotate the motor (MO) at high speed.
Go to step 270. The flag LCF 1 is "1" in step No.51.
Is determined to be the closest or
The infinite end position has been reached, and the motor (M
O) is stopped (No.53), and (i11) becomes "Low".
Wait for (No.55), flags LCF, LCF 1, LCF
Set 3 to “0” and return to step No.25. Now, a series of operations in the case of low contrast will be described.
First, in the AF mode with low contrast, the output port
Outputs "101" to (OP 0) and displays a warning (N
o.105), and then whether the flag LCF is "1"
Determine whether. (No.107). Here, the flag LCF
Is not "1", but this time it became low contrast for the first time
If so, set flags LCF and LCF 3 to “1”
(No. 108, 109), the first operation in the step No. 110
It is determined whether (FPF = 1). Flag FPF
If it is “0”, the operation up to that point is low contrast.
No, there is a possibility that this measurement is incorrect,
Move to No. 280 step, and follow No. 270, 271 step.
Back to No. 2 step and repeat the measurement.
It At this time, the motor rotates toward the previously calculated value.
ing. The end flag ENF is "1" and the No. 110
If you move to No.280 step after step,
Since the rotation of the motor (MO) is stopped, the input terminal
Wait until (i11) becomes "Low" (No.281), then
After setting the lag LCF and LCF 3 to "0" (No. 282)
Stops the operation of the microcomputer (MC 1) in steps after No.25
Initial value setting for. If the flag FPF is "1" in step No.110,
If it is determined that this is the first operation, the flags FPF, L
CF 3 is set to “0” (No. 111, 113) and No. 205
Whether the defocus amount ΔL is positive or negative is determined by the step. ΔL>
If 0 is the front pin, flag FDF is set to "1", and if ΔL <0, the rear pin
If yes, set flag FDF to “0” (No. 206,209), and
The lens was extended in the same way as the steps No. 63 to 66 described above.
The motor (M) depending on the direction of rotation of the motor (MO)
Rotate O) counterclockwise or clockwise. Then N
Integration time in steps of o.212 (contents of register ITR)
Is shorter than a constant value C 7
If the interval is less than a certain value ((ITR) ≧ C 7), the terminal (O
14) is set to “High” to drive the motor (MO) at high speed.
(No.213), when the integration time is over a certain value, the terminal
(O14) is set to "Low" to drive the motor (MO) at low speed
(No. 214), and after No. 270 step, No. 2
Return to the step and start the measurement again. in this way
After that, until the measured value does not have low contrast,
Then, move the lens in the direction that was fixed first. Lens reaches one end position with low contrast
Then, the flag LCF 1 is set to “1” in the step No. 52.
To reverse the direction of movement, and repeat the measurement
To move. Still with low contrast and other termination
When the position is reached, the lens moves from one end to the other
Since it has been scanned, move to step No. 55.
Stop the operation. During this operation, the measured value is
If it is determined that it is not trust, the No. 101 step
Lens system based on the defocus amount described later.
Perform your actions. Where suddenly low contrast
If this happens, ignore the first measurement value as described above and
Make a measurement, and if low contrast is still present, flag
LCF 3 is "1" (No.112), so LC
Set F 3 to “0” and move to step No. 205.
The lens movement direction based on the measured value
Find the position where the trust is above a certain value. In case of low contrast in FA mode (MOF = 1)
Moves from step No. 106 to step No. 115
Then, the flag LCF is set to “1”, and the flags LCF 1 and LCF are set.
3 is "0", flag FPF is "1", end flag ENF
To "0" and output terminals (O12) and (O13) to "Low"
Then, move to step No.258 and perform the operation described later.
Then, measure again. The microcomputer (MC 1) starts from step No. 9 to No. 1
4,15,18,19 loops or No. 35-40, 42-44 loops
C or while executing the loop of No. 36 to 41, C
When the integration operation of CD (FLM) is completed, the interrupt terminal (it
), A "High" pulse is input from the control circuit (COT).
When you press it, the microcomputer (MC 1) will move to No. 70 step.
To start the interrupt operation. First, the encoder
The value ECD obtained by counting the pulses from (ENC) is
Is set to ECR 3 (No. 70), and
The number, that is, the input port (IP 0) of the microcomputer (MC 1)
The value C 3 corresponding to the number of input data is the register DN.
Set to R (No.71) and input terminal at No.72 step
Wait for the "High" pulse to be input to (i10).
After the A / D conversion of CCD output is completed, the input terminal (i10)
When it becomes "High", it is input to the input port (IP 0).
Only one CCD output data CD is register M (DNR)
Is set (No. 73). Next, the contents of the register DNR
"1" is subtracted from this (No.74), and this register DNR
Steps of No. 72-75 until the borrow BRW is output from
Repeats. In this way, the CCD output data C
D is sequentially set in the register M (DNR). All
When the output of CCD output data CD is completed,
Address and set the return operation to that address.
I went and moved to the main flow after Step No. 77.
To go. In step No.77, whether the flag LLF is "1"
To be determined. Here, if LLF is "1", from the CCD
The largest data MACD among all data CDs
(No. 78). The most significant bit of this data MACD
If not "1", all CCD output data ALCD
It is doubled (No.80), and when it is "1", it is doubled.
Then, overflow data will appear, so No.
Go to step 81. On the other hand, the flag LLF is "0"
If so, immediately move to step No. 81. In steps 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. No. 4,333,007.
Is proposed in JP-A-57-45510.
Since it has nothing to do with the effect, the description is omitted. No. 82-85
In the step, like the steps of No. 10 to 13 described above,
Whether or not the motor (MO) is rotating is determined. Where
If the data (MO) is rotating, the encoder (ENC)
The count data ECD of the number of pulses from the register EC
It was taken into R 1 (No.86), and this data and No.44
Compare with the contents of register ECR 2 previously fetched
To be done. If (ECR 1) = (ECR 2), the lens has reached the end
Since it means that it is moving from the step of No. 47 mentioned above.
If (ECR 1) ≠ (ECR 2), the lens has reached the end
Since it is not, reset the contents of ECR 1 to ECR 2 and set N
Go to step o.89. On the other hand, the motor (MO)
If it is not rotating, move to No. 89 step immediately.
It In step No.89, is the input terminal (i11) "High"?
Determine if it is "Low" and after Step 25
The focus detection operation of the
When h ”, shift to No.90 step and shift amount is small.
Calculate several parts and calculate in steps No.81 and No.90.
The defocus amount ΔL is calculated based on the shifted shift amount.
(No.91). When flag IFF 1 is "0" (No.305), No.92 or later
The descending step is executed. In No.92 step,
If the AF mode is determined by the lag MOF, the AF
If in mode, go to step No. 93, if in FA mode, go to step No. 10
Move to step 0. In AF mode, first
Latched by latch circuit (LA) by controller (MC 2)
Import the conversion coefficient KD that was used from the input port (IP 1)
(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, as described above, the interchangeable lens
Mode flag MOF
Set to "1" (FA mode) and move to No. 96 step.
It On the other hand, if k3 = 1 or k2 = 0, the AF mode is
It means that an interchangeable lens that can be used is installed, No. 10
Go to step 0. Furthermore, in the step of No. 96
Determines whether k1 = 0. If k1 = 1, No.100
Go to step. 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. At this time, move to step No. 220 and exit.
Set the power terminal (O14) to "High" and turn on the motor (MO).
Rotate at high speed, then input terminal (i12) is "High"
It is determined whether or not (No.221). Where (i12) is
If it is "High", rotate it clockwise to
Output terminal (O12) is "High".
If it is "Low", rotate it counterclockwise.
Since (O13) is set to "High", the
Register the count data ECD of the pulse from the encoder
Imported to ECR 2 (No.224). Next, set the constant time data C 8 in the register TWR.
(No.225), "1" is set from the contents of this register TWR.
Then, the operation for determining whether or not the borrow BRW has been repeated.
Return, Enko when borrow BRW comes out after a certain period of time
Register the count data ECD of the pulse from the recorder
Take in CR 1 (No.228). Then register ECR
It is determined whether the contents of 1 and ECR 2 match (N
o.229), (ECR 1) ≠ (ECR 2), ECR
Set the contents of 1 to ECR 2 (No.230) and set No.225 to
Repeat step 230. On the other hand, (ECR 1) = (EC
In the case of R 2), the lens has reached the closest position
Motor with output terminals (O12) and (O13) set to "Low"
(MO) is stopped (No.231) and the flag FPF is set.
Set to "1" (No.232) and return to No.2 step.
After that, the operation in the FA mode is performed. In the step of No.100, the data from CCD is low
It is determined whether it is a trust. The details of this step
An example will be described later with reference to FIG. Where low contrast
If the answer is No, the process proceeds to the steps after No. 105 described above.
On the other hand, if the contrast is not low, step No. 101
Then, it is determined whether the flag LCF is "0". here,
If LCF is "1", the measured value up to the previous time is low
Since it is the last, the flag FPF is "1", and the flags LCF and L
Steps of No. 290 with CF 1 and LCF 3 set to “0”
Then, the mode flag MOF is referred to. MOF = 0
That is, in the AF mode, the output terminals (O12) (O13)
After the motor (MO) is stopped as "Low", No. 2
Return to step and make measurement again. Also, MOF
= 1, that is, if it is FA mode, move to step No.240.
Then, the operation in the FA mode described later is performed. No. 101
At the step, the flag LCF = 0 and the previous measured value is low.
If it is not a strike, see the mode flag MOF in No. 104.
If MOF is “1”, that is, FA mode, No.240
If the MOF is “0”, that is, the AF mode,
Move to step No.125. In steps from No. 125 to 130, the defocus amount ΔL is
Judgment as to whether or not it is within the focus zone ZN 1
Another operation is performed. First, when the lens reaches the end position
If the flag ENF is "0" (No.125) and
Once the focus zone has been reached and the focus flag IFF is "1"
If there is (No. 126), the measured value of this time | ΔL | and Z
Compare N 1 with step No. 127. Where | Δ
If L | <ZN 1, the focus is displayed (No.128) and the
Set IFF 1 to "1" (No.300), microcomputer of Fig. 2
Set the output terminal (O30) of (MC 1) to "High" (No. 30
1) Do. This output terminal (O30) is a microcomputer (MC 2)
Connected to the input terminal (i5) of the
2) is the lens by the "High" of its input terminal (i5)
It is determined that the focus position is reached. Next, the microcomputer (M
C 1) shifts to No.270 step and switches to FA mode.
If not, go back to No.2 step,
Take the measurement again. On the other hand, if | ΔL | ≧ ZN 1 in step No.127,
After the No.130 step, set the flag FPF to "1"
Moved to No.135 step with the GIF as "0", and now
Lens control movement by defocus amount based on one measurement value
The work is done. Also, if the lens reaches the end,
GUENF is “1”, and in step No.127, | ΔL
If | ≧ ZN 1, the previous defocus direction was displayed.
Until then, move to step No.129 and input terminal (i1
Step 1 of No.25 after waiting for 1) to become “Low”
Move to and stop operation. Where | ΔL | ≧ ZN 1
If so, leave No. displayed with the previous defocus direction displayed.
Go to step 129, in which case the lens is terminated.
Even if the position is not in focus, the motor (MO) is controlled after that.
Since it is useless, the operation of the microcomputer (MC 1) is forcibly stopped.
Stop it. Check that the lens has reached neither the end position nor the focus zone.
If and are determined in the steps of No.125,126, first, No.
In step 131, the first pass flag FPF is
It is determined whether it is "1". Here, the flag FPF is
When it is "0", it is the same as the step of No.86-88.
Discriminating operation is performed (N
o.132-134) and then move to step No.135.
When the FPF is “1”, the No.135 step
Move to In step No.135, the microcomputer (MC
The focus detection command signal from 2) is discriminated and the input terminal (i
When 11) is “Low”, return to step No.25 and perform the operation.
Stop, and if it is "High", move to step No.136
To do. In step No. 136, the calculated defocus amount Δ
L is multiplied by the read conversion coefficient KD to obtain a lens driving device.
The drive amount data N of the structure (LDR) is calculated, and No.
Determine whether the flag FPF is "1" in step 137
To do. Here, if the flag FPF is "1", first,
Whether N is positive or negative is determined (No.140), and if positive, the focusing direction
After setting the flag FDF to "1" and to "0" if negative, drive
The absolute value of the motion amount N is set in the register ECR 4 as Nm.
(No.144), the flag FPF is set to "0" and No.16
Go to step 6. On the other hand, the flag FPF is "0" in the step No.137.
If so, first, the record of the previous drive amount data is stored.
The contents of register ECR 4 are moved to register ECR 5 (N
o.150), instead of the encoder at this point (ENC)
The count data ECD of the pulse from the register ECR
It is taken in by 4 (No. 151). That is, C in ECR 5
The count data Tc1 at the end of the CD integration is ECR
The count data Tc2 at this point is set in 4
Will be. Next, in the period required for CCD integration
Lens movement amount τ = Tco−Tc1 to calculate N
Lens movement amount to = Tc1−Tc2 during the period required for
It is calculated. Here, in the middle position of the integration period of the CCD
If N is obtained, the lens at this point
It has moved by τ / 2 + to from the time when N was obtained. Well
Also, the amount of lens movement from N'm obtained in the previous flow
Data N ″ m = N′m−τ−to corrected with τ + to calculated
To be done. In addition, 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.
Be separated. First, in step No.155, this time is calculated
It is determined whether the defocus amount N is positive and N is positive.
If so, it is determined whether or not the flag FDF = 0 (No. 15)
6). At this time, if FDF = 0, it means that the direction has been reversed.
Go to step No.158, reverse if FDF = 1
No, so move to step No.159. On the other hand, N
If is negative, it is determined whether FDF = 1 (No.157
), If FDF = 1, it is reversed, so
Up, and if FDF = 0, it has not reversed, so No.
Go to step 159. When the directions are not reversed,
That is, in step No.159, the rotation of the motor
Since it is approaching the in-focus position, the value of N is in the middle of the integration period.
Is calculated as | N | -τ / 2-to = N '
To correct the movement caused by the rotation of the motor.
Then, it is judged whether this N'is negative (No. 160). This
If N '<0, it means that you have passed the in-focus position.
Then, with | N '| = N', move to step No.164,
If N '> 0, go to the step No.161 and get until the last time.
Average of data N "m and N '(N" m + N') /
2 = Na is taken (No.161), and this data Na is taken as Nm.
Then (No. 162), the process proceeds to step No. 166. When the direction is reversed, that is, step No.158
Is now τ / 2 + to from the time this data was obtained
Since it is far from the in-focus position in the direction of defocusing,
A correction calculation of | N | + τ / 2 + to = N ′ is performed to obtain N
Go to step o.164. No.164 steps
The average of N "m and N '(N"m-N') / 2 = Na is calculated.
Then, it is determined whether this average value Na is negative.
(No.165). Here, if Na> 0, move to step No. 162 described above.
If Na <0, set terminals (O12) and (O13) to "Low".
To stop the rotation of the motor (No.174) and focus
Focusing zone by multiplying the data ZN 1
Data Ni of the motor rotation amount is calculated. (No.175
). Next, it is judged whether or not | Na | <Ni.
Separated (No.176), if | Na | <Ni, focus zone
, So set the focus flag IFF to "1"
Go to No. 2 step after No. 270 step
It On the other hand, if │Na │> Ni, the focus zone has passed.
Therefore, the flag FPF is set to "1" and No. 27 is set in the same manner.
After step 0, move to step No. 2
Redo the work. By the way, in the step of No.166, the data indicating the in-focus zone is displayed.
KD on the data NZ from the near focus zone to the focus position
Data corresponding to the driving amount of the lens is calculated. next
In step No.167, the near focus zone values ZN 1 and KD
From Ni = ZN 1 × KD to calculate the focus zone
Data Ni of the driving amount of the lens is calculated (No. 167).
), Nm and Nn are compared (No. 168). here
If Nm ≧ Nn, that is, if it is outside the near focus zone,
Go to step and set terminal (O14) to "High"
Rotate the motor (MO) at high speed, and use the encoder (EN
Counter for counting down the pulses from C)
Set Nm-Nn to ECC (No.182), No.185
Go to step. On the other hand, Nm <Nn, that is, it is determined that it is within the close focusing zone.
Then, in step No.169, whether Nm <Ni
Determine. Here, if Nm ≧ Ni, the near focus zone
Even if it is inside, it is not inside the focusing zone, and the output end
Rotation speed of motor (MO) with child (O14) as "Low"
Slow down (No.183) and set Nm in the counter ECC.
(No.184) and move to step No.185.
In the case of a lens whose KD changes depending on the shooting distance,
If it is not in the focus zone, the signal in the defocus direction is used.
Lens control is performed only for
When calculating, the correction of the lens movement amount from No.150
Since it will be carried out, because of this correction data No. 182
In step, Nm-Nn is set in the counter ECC.
If Nm <Ni, output terminals (O12), (O13)
To “Low” to stop the motor (MO) (No. 17
1), set the focus flag IFF to "1" (No.172), and
Disable interrupter (No.173) and switch to No.270.
Return to step and repeat the confirmation measurement. By the way, in the step of No.185, is the flag FDF "1"?
Determine whether Here, if the FDF is “1”, the front pin
Therefore, output "100" to the output port (OP 0)
Turn on the photodiode (LD 0) and display the front pin
(No.186), if it is "0", it is a rear pin, so it is an output port.
"001" is output to (OP 0) and the light emitting diode (L
D 2) is turned on to display the rear pin (No.189).
Next, the contents of this flag FDF and the exchange to the input terminal (i12)
The motor (MO) is activated by the signal of the rotation direction of the interchangeable lens.
Rotate clockwise or counterclockwise (No.188,191
), No.192 step, input terminal (i1
It is determined whether or not 3) is "High". Where the conversion clerk
With an interchangeable lens, the number of which changes according to the shooting distance
If (i13) is "High", the No. 193 step
It is determined whether Nm <Nn. At this time
If Nm ≧ Nn outside the station, the above No. 182
Immediately moved from step No. 185 to step No. 185
Thus, regardless of the calculated Nm,
Only the motor (MO) is rotated in the correct direction.
It Next, the integration time is longer than the constant time value corresponding to C 7.
It is determined whether or not (No.194), and if the lens is long, the lens
The terminal (O
Set 14) to "Low" to drive the motor (MO) at low speed.
(No.195), making counter interruption impossible (No.196)
), Goes through No.270 step and returns to No.2 step
It On the other hand, in the step of No.193, Nm <Nn
When it is determined that it is in the focusing zone,
Enables counter interruption, just like a normal interchangeable lens
(No.197), return to step No.270. Also type
Counter interrupt is possible even when the terminal (i13) is "Low"
Then return to step No.270. Now, while the motor (MO) is rotating, the encoder (EN
Contents of counter ECC that counts pulses from C)
When becomes “0”, the counter is interrupted and the No. 200
In step, it is determined whether Nm <Nn. Where N
If m <Nn, turn the motor (MO) in the near focus zone.
It was rotating, that is, it reached the focusing zone,
Motor with output terminals (O12) and (O13) set to "Low"
Stop rotation of (MO) (No.203) and focus flag
Set (IFF) to "1" and return to step No.270.
On the other hand, if Nm ≧ Nn, the near focus zone is reached.
The output terminal (O14) is set to "Low" and the motor is turned on.
Set to low speed (No.201) and set Nn to counter ECC.
(No.202) After that, return to the address where the interruption occurred. Next, in the step of No.104 or No.290, the flag MO
If F is found to be "1", then after No.240
The FA mode operation is performed in steps. First, No.
In step 240, it is determined whether the flag FPF is "1".
Be separated. Here, if FPF is "1", FA for the first time
Mode operation is performed and the AF mode is switched off.
Since it is changed, the end flag ENF is set to "0", and the focus is set.
The flag IFF is set to "0" and the focus zone discrimination register
Focus zone data ZN 2 is set in IZR. In addition, this
The data ZN 2 of is larger than the data ZN 1 in AF mode.
It is a threshold. This is the mode in AF mode.
The lens position can be adjusted accurately by the motor drive.
Yes, but in FA mode, adjust the lens position manually
Therefore, it is very difficult to make adjustments with the same precision as driving a motor.
Because. Next, in step No. 245, the first pass
Set the flag SPF to "0" and move to step No.246.
To go. On the other hand, if the flag FPF is "0", immediately No.24
Go to step 6. In step No.246, is the focus flag IFF "1"?
It is determined whether or not. Here, the flag IFF is "1".
The calculated values from the previous time to the previous time will be in the focusing zone
Then, the calculated value ΔLn-1 of the previous time and the calculated value ΔL of this time are averaged.
The average value, that is, ΔLn = (ΔL + ΔLn-1) / 2 is calculated.
Nawara (No.247), focus zone data is added to the register IZR.
Zw (> ZN 2) was set as the data (No.248)
Afterwards, the step moves to No.250. This is each measurement
There are variations in the fixed value, and once you enter the focusing zone
The width of the focusing zone is expanded and it is determined that the subject is in focus.
Increase the probability, the lens position is near the boundary of the focusing zone
This is to prevent flickering of the display at the time. On the other hand, N
If the focus flag IFF is "0" in step o.246,
The measured value ΔL this time is ΔLn (No.249), No.250
Go to step. In case of No.250 step, | ΔL
n | <(IZR), that is, is the calculated value within the focusing zone?
Determine whether Here, we know that it is in the focusing zone.
When separated, the focus flag IFF is set to "1" (No.251
), The focus indicator is displayed by the light emitting diode (LD 1).
Then (No. 252), the process moves to the step of No. 258. one
On the other hand, if it is determined that the object is out of the focusing zone, ΔLn>
It is determined whether or not it is 0 (No. 253), and if ΔLn> 0, it is issued
Front pin display by photo diode (LD 0), ΔLn <0
If it is (LD 2), the rear pin display is performed. Then focus
Set the flag IFF to “0” and set the data ZN 2 in IZR.
Set No.258 and move after the step. No.258
Check whether the input terminal (i14) is "High" at the step.
Separately, if you switch to AF mode with "High",
G FPF to "1", IFF to "0", LCF to "0"
Then, go to No.2 step, and again in "Low" to switch to FA mode.
If so, go back to No.2 step and take the next measurement.
Make a decision. In steps after No. 25, AF and FA modes are selected.
The focus detection operation is not stopped and the initial state setting operation is
To be done. First, it is impossible to interrupt (No.25), the terminal
A pulse is output to (O11) to force the CCD integration operation.
Is stopped (No. 26) and terminals (O12) and (O13) are set to "L".
The motor (MO) is stopped as "ow" (No.27), and output
Power port (OP 0), (OP 5) is output as "000"
Photodiodes (LD 0) to (LD 5) are turned off (No.
28), the terminal (O16) is set to "Low", and the power supply line (V
The power supply from F) is stopped and the terminal (O30) is set to "L".
Transmission of focus signal to microcomputer (MC 2) is stopped as "ow"
It is stopped (No. 32). In addition, flags ENF, IFF, I
"0" in FF 1 and LCF 3 and "1" in flag FPF
It is set (No. 29 to 31, 33). In this way, my
The controller (MC 1) stops operating or switches to FA mode.
No.2 after the initial settings for when
Return to step. Now, as mentioned above, the lens fits in step No.127.
Determine that the focus position has been reached and return to step No.2.
When the measurement is performed again, the flag IFF is "1".
Then, the same flow as in the case of confirming the focus is followed and the No. 91 scan is performed.
It comes to Tep. Step No.91 and Step No.92
In between, the flag IFF 1 determines whether the flag is "1".
A step (No. 305) is provided and the flag IFF 1
If "0", go to step No.92, if "1", go to step No.306.
Go to step. Flag IF in step No.306
Since F 1 is “1”, in step No. 306
Reads the data from the input port (IP 2). here
Then, between the step of # 30 and the step of # 31 in FIG.
Outputs the aperture value Av for exposure control from the I / O port
Step # 80 is provided, and this aperture value is the decoder
(DEC) output terminal (an + 2)
Latched in the latch circuit (LA 1). Therefore, the input port
Data for the aperture value for exposure control is input to the camera (IP 2).
Be done. The read data Av is converted into FNo. (No.307
), The step of No.308 is ΔD = δ × FNo.
Done. Where δ corresponds to the allowable blur diameter
The value, ΔD, is a value corresponding to the depth of focus. Next, this time
Defocus amount obtained in step No. 91 in the flow
| ΔL | and ΔD are compared in the step of No.309, and
Go to No.270 step after displaying the in-focus state below.
It If | ΔL | ≦ ΔD, then measure at that time.
The part of the subject that is
Output "010" signal to the gate (OP 5) and
The light emitting diode (LD 4) of the
Be played. On the other hand, if | ΔL |> ΔD, is ΔL positive?
Output "100" to (OP 5) depending on whether it is negative
To turn on the light emitting diode (LD 3) to display the front pin
Is performed or outputs "001" and emits light.
The LED (LD 5) is turned on to display the rear pin. If you perform this kind of operation, the AF mode
After the lens reaches the in-focus position with, move the lens to the in-focus position.
The depth of focus is the area other than the area where the
Whether it is within the limit, or whether the front pin is the rear pin
It is very easy to use and you can check
It In addition, calculate the accurate depth of focus in the step of No.308
However, the measurement position may be
It is difficult to match the part exactly, and ΔL
Since the calculated values also vary, it is the same as in the FA mode described above.
Widen the focus zone, or once enter the focus zone
After that, widen the focusing zone and average the calculated data several times.
Value processing may be performed to improve accuracy.
Yes. For example, to widen the width of the focusing zone, ΔD = 1 × δ
The calculation of × FN0 (1 = 2 to 3) may be performed. When this microcomputer (MC 1) stops operating
Initial setting, initial setting when switching to FA mode
For this reason, the steps of No.33, No.273, and No.2
The following steps are inserted between
It That is, the flag IFF 1 is set to “0” (No. 274),
"000" is output to the output port (OP5) to emit light.
Turn off the lights (LD 3), (LD 4), (LD 5)
(No. 275), set the output terminal (O30) to “Low” (No.
276). In addition, even after the photometric switch (MES) is opened,
In order to have the display operation of the modification performed at a certain time,
Input terminal (i 5) for step and step # 39
A step (# 81) for determining the state is inserted. Measurement
Then, the metering switch (MES) is opened, and in AF mode
Even if it is determined that there is, the input terminal (i 5) is
"And the microcomputer (MC 1) has the above-mentioned depth of focus.
Output if it is in
Do not set the terminal (O1) to "Low", leave it "High"
I'll do it. FIG. 11 shows the control circuit (CO for the CCD (FLM) of FIG.
It is a circuit diagram which shows the specific example of T). Counter (CO24)
Is the clock pulse (CP) from the counter (CO22)
The falling edge of the divided pulse (DP 2) is counted,
Depending on the output signals (p0) to (p4) of this count (CO24)
Then, the decoder (DE20) has output terminals (T0) to (T0).
Output the "High" signal to 9). This counter (C
O24) output, decoder (DE20) output and flip
Flop (FF22), (FF24) (FF26), (F
Table 7 shows the relationship between F28) and the Q output. As is clear from Table 7, flip-flops (FF
The output of the counter (CO24) is the Q output (φ 1) of 26).
"High" between "11101" and "00101", flip flow
Up (FF24) Q output (φ 2) is from "00100" to "101
"High" during 11 ", Q of flip-flop (FF22)
Output (φ3) is "High" between "10110" and "11110"
Becomes The output signals (φ 1), (φ 2), (φ 3) are
CCD while power is being supplied from the power line (VF)
(FLM) of the analog signal in the transfer gate
Transfers are always taking place. By this operation,
The accumulated charge remaining in the transfer gate is also discharged.
It Power-on reset circuit (PO
Reset signal (PO 2) from R 2)
Up (FF20) ~ (FF28), (FF32), D flip
Flop (DF20), (DF22), (DF24), coun
(CO20), (CO22), (CO24) are reset
It Furthermore, the flip-flop (FF30) is set.
Q output becomes "High". This output signal (φR)
More analog switch (AS 2) conducts, and constant voltage source
The output potential of (Vr1) is CCD via the signal line (ANB).
(FUM), and this potential is applied to the CCD (FLM).
The site of the charge storage unit is set. Integrate operation from the output terminal (O10) of the microcomputer (MC 1)
When the "High" pulse for starting is output,
Flip-flop via one-shot circuit (OS18)
(FF30) is reset and the terminal (φR) goes to “Low”
Become. As a result, the CCD (FLM) receives the light from each light receiving unit.
Accumulation of charges according to the amount of light is started. Also the inverter
Analog switch (AS 1) conducts via (IN50)
Then, the monitor output of the CCD is connected from the terminal (ANB).
Input to the (-) terminal of the palletizer (AC 1). Charge storage
CCD monitor output from the terminal (ANB) according to the product
The potential drops from Vr1 to the potential of the constant voltage source (Vr2).
When it reaches, the output of the comparator (AC 1) is "High".
Flip to. This completes the storage of CCD (FLM)
That is detected. One-shot circuit with this inversion
(OS10) outputs “High” pulse, and turns
The flip-flop (FF20) is connected through the road (OR20).
Is set. The "High" signal of this Q output is
At the falling edge of 1), to the D flip-flop (DF20)
It is taken in, and the counter is turned on by the high level of its Q output.
The reset state of (CO20) is released and the AND circuit (A
N60), (AN64, (AN66), (AN68) are enabled
It will be in a ru state. After the terminal (φ 1) rises to "High", the terminal (T
0) becomes "High", flip-flop (FF28)
Is set by "High" of terminal (T 0),
It is reset by "High" of (T1). This Q output
The force is from the terminal (φT) via the AND circuit (AN68).
It is sent to CCD (FLM) as “High” pulse,
With this signal, the accumulated charge is transferred to the transfer gate. further,
This (φT) signal is the interrupt terminal of the microcomputer (MC 1)
Send it to (it) and the microcomputer (MC 1) is the above CCD
The operation of fetching the output data of (FLM) is performed. When this terminal (φT) falls to "Low"
Flick flop (FF32) through the circuit (OS16)
Is set, and the AND circuit
Flip-flop after the gate of (AN68) is closed
The "High" signal from the Q output of (FF28) is not output.
Yes. One-shot circuit (OS16), OR circuit (O
The flip-flop (FF30) is set via R32).
Then, the terminal (φR) is set to "High" again. CCD by transfer signals (φ 1), (φ 2), (φ 3)
The accumulated charge is sequentially output from (FLM) from the terminal (AOT).
This charge is generated while (φ 2) is "High".
Has been output to. Therefore, the D flip-flop (DF
When the Q output of 20) becomes “High”, (φ 2) becomes “High”.
Within the period of "h", turn the terminal (T 4) to "High".
More sample and hold signal (φS) is AND circuit
From (AN66) and by "High" of terminal (T 5)
The signal (φA) for starting A-D conversion is the AND circuit (AN6
It is output from 4). Also, send the data from the CCD (FLM) terminal (AOT) first.
The accumulated charge signal that is received is for offset adjustment.
Therefore, only the charges corresponding to the leak of the light receiving part are accumulated.
And is almost equal to the output potential of Vr1.
Has become. At this time, the D flip-flop (DF24)
Output is "High", sample hold
Signal (φS) is summed through AND circuit (AN70)
Offset adjustment provided to the hold circuit (SH 1)
Potential for the CCD (FLM) from the terminal (AOT)
Are stored in the sample hold circuit (SH 1). the first
D due to the fall of the sample hold signal (φS)
The Q output of the flip-flop (DF24) is "High".
Therefore, the subsequent sample and hold signal (φS) is AND
Sample and hold circuit (SH 2) via line (AN72)
The potential corresponding to the amount of received light after that is applied to
It is sequentially stored in the field circuit (SH 2). Q output of D flip-flop (DF20) becomes "High"
Then, the signal of (φ 3) goes through the AND circuit (AN60).
Applied to one input terminal of the AND circuit (AN62)
It D flip flow at the first fall of this (φ 3)
Up (DF22) Q output becomes "High", so twice
The pulse signal of (φ 3) after the eye is AND circuit (AN62)
To the input terminal (i10) of the microcomputer (MC 1) via
To the input port (IP 0) of the microcomputer (MC 1)
It becomes a signal for instructing data acquisition. Where D
Q output of Lipprop (DF20) becomes "High"
The first (φ 3) pulse from the AND circuit (AN60)
Is not output from the AND circuit (AN62)
As described above, the data from the first CCD (FLM) is
This is because the data is data for offset adjustment. Also,
The signal of (φ 3) is the clock input terminal of the counter (CO20).
The counter (CO20) is also given to children
Reset by Q output “High” of the pro-flop (DF20)
Of the pulse from the reset state (φ 3)
To count. This counter (CO20) is a CCD (F
Count the pulses from (φ 3) as many as the number of light receiving parts of (LM).
The carry terminal (CY) to be turned on is set to "High". Sample hold circuit (SH 2) after the second time
The output data of CCD (FLM) is based on the signal (φS).
Are held and the resistors (R 1), (R 2), and
A sample circuit is created by a subtraction circuit consisting of a pair amplifier (OA 1).
Difference between the output of the field circuit (SH 1) and the output of (SH 2)
Is calculated and the analog input terminal of the AD converter (AD)
Given to. A-D converter (AD) is the signal of (φA)
Operation is started by the clock pulse from the counter (CO22).
A-D conversion of this input data based on the rule (DP 1)
To do. Here, the output of the constant voltage source (Vr1) is changed to Vr1 and leak.
Let Vd be the voltage drop due to this and Vl be the voltage drop due to the amount of light received.
Then, the output of the sample hold circuit (SH 1) is Vr1−
Vd, the output of the sample hold circuit (SH 2) is Vr1−
It is Vl-Vd. Therefore, the output of the subtraction circuit is V
The signal component is only the amount of received light, l. A-
The D converter (AD) is high-speed like the successive approximation type.
A type of A / D conversion is desirable. A-D conversion of all data from CCD (FLM)
When it is finished, the carry terminal (CY) of the counter (CO20)
It becomes "High". This allows the one-shot circuit (O
S14), a flip-flop via an OR circuit (OR22)
(FF20), (FF32), D flip-flop (DF2
0), (DF22), (DF24) are reset and D
The Q output of the flip-flop (DF20) becomes "Low".
The counter (CO20) is reset and the terminal (O
Return to the state before the "High" pulse was input from 10).
Go home. In addition, the integration time is set by the timer of the microcomputer (MC 1).
It is determined that the voltage has exceeded a certain level, and the terminal (O11) receives "H".
When a "igh" pulse is input, the rising edge of this pulse
One shot circuit (OS12), OR circuit (OR
Flip-flop (FF20) is set via
It Therefore, after that, the output of the comparator (AC 1)
The same operation as when inverted to "High" is performed,
CCD (FLM) output data is A-D converted and myco
Are sequentially output to the input port (IP 0) of the port (MC 1)
It FIG. 12 is a modified example in which a part of the circuit diagram of FIG. 11 is modified.
If the output data from the CCD is small, the microcomputer
After importing data into (MC 1), double that data
The operation to perform is the software in the microcomputer (MC 1) (N in Fig. 8).
What was done in steps 78 to 82) was converted to AD
It was done by hardware before doing. If the terminal (φR) is "High", the constant current source (CIS),
The potential Vr1 formed by the resistors (R10) to (R13) is the CCD (F
LM) of the CCD (FLM) during "Low"
Monitor output of comparator (AC10) ~ (AC12)
(-) Input terminal. And the integration progresses
When the output of the inverter reaches the potential of Vr2, the comparator (AC
The output of 12) becomes "High" and the one-shot circuit (O
The "High" pulse is output from S10).
Flip-flop via OR circuit (OR20)
After (FF20) is reset, the same operation as above is performed.
Nau. Furthermore, this pulse is a D flip-flop (DF32) ~
It is given to the clock terminal of (DF38). At this time,
Since the output of the comparator (AC12) is "High", D
The Q output of the flip-flop (DF38) becomes "High",
The analog switches (AS48) and (AS38) become conductive.
Here, the values of resistors (R30) to (R40) are R30 = R40 = R38
= 48 = R36 / 1.5 = R46 / 1.5 = R34 / 2 = R44 /
2 = R32 / 2.5 = R42 / 2.5 =
R30 due to conduction of log switches (AS38) and (AS48)
= R40 = R38 = R48, so is it an operational amplifier (OA10)?
The Vl signal is output as it is. On the other hand, when the CCD output has low contrast and the longest integration
When the output of the comparator (AC12) does not reverse within the interval
Is a signal from the output terminal (O11) of the microcomputer (MC 1)
From the one-shot circuit (OS12) to the OR circuit (OR
"High" pulse is output via 20) and at that time
Monitor output of Vr2 to Vr3, Vr3 to Vr4, Vr4 to Vr1
The exclusivity depending on whether it is between
Boua circuit (EO 4), (EO 2), inverter (IN
52) through the D flip-flops (DF36), (DF3
4), one of the Q outputs of (DF32) becomes "High"
, Analog switches (AS36), (AS4)
6), (AS34), (AS44), (AS32), (AS4
2) becomes conductive. Therefore, the integration is forcibly stopped and
1.5Vl, 2Vl, depending on the monitor output at
A 2.5Vl signal is output from the amplifier (OA10)
It FIG. 13 shows the microcomputer (MC 1) shown in FIGS.
A variation of operation is shown, and measurement is performed once focus is detected.
Floater when out-of-focus is detected continuously in the result
The main part of the No. 130 and No. 138 steps are shown.
A step related to flag IFF 2 is inserted between
Has been. That is, the focus of the lens can be adjusted to the focusing zone.
If the end flag ENF is "0" (No. 13
0), flag IFF 2 is "1" at step No.351
It is determined whether or not. Here, the flag IFF 2 is “0”
If so, set this flag IFF 2 to "1" and
Move to step and perform measurement for confirmation again. one
On the other hand, if the flag IFF 2 is "1", measurement for confirmation
The result is that it is out of focus (| ΔL | ≧ ZN 1) twice in a row.
In this case, the flags IFF and IFF 2 are set to
Set it to “0”, set the flag FPF to “1”, and
After shifting to the step, the focus adjustment operation is performed again.
In addition, between the step of No.33 and the step of No.2.
Between the steps of No.240 and No.241
To reset each flag IFF 2 to return to the initial state
Steps (No. 34, No. 241) are provided. FIG. 14 shows the steps of No. 100 in FIG.
It is a specific flow of the steps to determine whether the strike
It First, set the contents of register C to "0" (No.370
), And the register i is set to "1" (No.371). Then i
Of the difference between the outputs ai and ai + 1 of the 1st and i + 1st photodetectors
The value obtained by adding the contents of register C to the absolute value | ai-ai + 1 |
It is set in register C (No. 372) and in this register i
1 is added (No. 373), and the contents of this i and n (n is the reception
(The total number of optical elements) is compared (No. 374).
If i <n -1, return to step No.372.
Then, the absolute values of the differences are sequentially accumulated, and when i = n -1
Move to step No. 375. That is, No. 375
The contents of register C at the time of transition to
+ | A2-a3 | + | a3-a4 | + ... + | an-2-an-1 | + | an
-1−an |
It is a value indicating the last. No.375 steps
Determines whether this value is greater than the constant value CD.
If (C)> CD, the contrast is sufficient, so N
Move to step o.101, and if (C) ≤ CD, low control
Since it is the last, move to step No. 105. 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. The circuit section of the automatic focusing camera system in FIG.
Figure 2 shows the case where most operations are performed by the microcomputer.
The explanation has been given based on Fig. 14, but the above operation is
Even with digital circuits that combine physical elements and arithmetic circuits
realizable. One embodiment of such a case is shown in FIG.
It will be described with reference to FIG. FIG. 15 shows the circuit of FIG.
FIG. 16 is a circuit diagram physically shown, and FIG. 16 is a circuit diagram of FIG.
Timing signals that generate signals to control the operation of
It is a circuit diagram which shows a generation circuit. First, the timing of Figure 16
The configuration and operation of the trigger signal generation circuit will be described below. Su
The switch (193) is the entire circuit section shown in Figs. 15 and 16.
Is a switch that is closed to start the operation of
The closing signal of the switch is the microcomputer (MC 1) shown in FIG.
For the "High" level signal given to the input terminal (i11)
Correspond. Inverter when switch (193) is closed
The output of the computer (194) becomes "High", and one shot
A pulse is output from the circuit (196). This pulse is
The entire circuit section from the output terminal (τ 0) of the OR circuit (198)
Is output as a signal for setting the initial state of. Also, the pulse from the one-shot circuit (196) is
A circuit (199) output terminal (τ 1) to CCD (FL
M) integration operation and data reading circuit (LDC) reading
It is output as a signal for starting the operation. Furthermore,
The pulse from this output terminal (τ 1)
(201), AND circuit (202), counter (20
3), one-shot circuit (204), OR circuit (20
0) to the first pulse generating circuit. First
The pulse generation circuit of the first pulse generator in response to the generation of this pulse.
The counting of time is started and the data reading described later in Fig. 15 is started.
After the time required for the circuit (LDC) to read the data has elapsed
Pulse from the carry terminal (τ 2) of the counter (203)
Is output. The pulse from this output terminal (τ 2)
Lip flop (206), AND circuit (207),
Unta (208), one-shot circuit (209), OR
Given to the second pulse generation circuit composed of the circuit (205).
Be done. This second pulse generation circuit generates this pulse.
In response to the start of counting the second predetermined time,
Counter after the time required to calculate K and Ni
Output a pulse from the carry terminal (τ 3) of (208)
It This pulse is the AND circuit (222), OR circuit
First pulse generating circuit via (223) and (199)
To the counter (203), and the counter (203) starts counting.
Be started. Here, the AND circuit (222) is an OR circuit
The gate is opened when the output of (192) is "High".
The output of the OR circuit (192) is "H".
igh ”, pulse from terminals (τ 1) to (τ 3)
Are repeatedly output in sequence. The pulse from the output terminal (τ 3) is connected to the AND circuit (21
0) through flip-flop (212), and
Path (213), counter (214), one-shot circuit
(215), third pulse consisting of OR circuit (211)
It is given to the generation circuit. And circuit (210) is or
The gate opens when the output of the road (192) is "Low".
This causes the third pulse generation circuit to
In response to the occurrence of the
A correction calculation circuit (174) described later in the figure requires correction calculation.
The carry terminal of the counter (214) after the elapse of time
Output pulse from (τ 4). From the output terminal (τ 4)
Pulses of flip through the AND circuit (216)
Flop (218), AND circuit (219), counter
(220), one-shot circuit (221), OR circuit
Given to the fourth pulse generator circuit (217)
It The AND circuit (216) is the output of the OR circuit (192)
Is "Low", the gate is opened, which causes the fourth
The pulse generation circuit of is in response to this pulse generation.
Start counting for a fixed time, and after the elapse of this predetermined time,
Outputs a pulse from the carry terminal (τ 5) of the controller (220)
To do. This pulse is AND circuit (226), OR circuit
First pulse generating circuit via (223) and (199)
Be returned to. Here, the AND circuit (226) is OR
The gate opens when the output of the road (192) is "Low".
The output of the OR circuit (192) is
In the case of “Low”, the pulse from terminals (τ 1) to (τ 5)
Are sequentially output. From the timing signal generation circuit shown in FIG. 16 above
The operation of the circuit section in FIG. 15 is controlled according to the pulse,
However, the configuration and operation of the circuit part will be described below.
First, by closing the switch (193) in FIG.
A pulse is output from (τ 0).
15 flip-flops (149), (160), (1
70) and (171) through the OR circuit (148)
Flip-flops (137), (151)
Via the circuit (117) and the one-shot circuit (118)
The flip-flops (119) are reset.
It In addition, the flip-flops (137) and (151)
When reset, the output of the OR circuit (152) becomes "Low"
D flip-flops (135), (139) and
And T flip-flops (132) and (138) are reset.
Is reset and the flip-flop (160) is reset.
T flip-flop (141), D flip-flop
(142) is reset. Also, in FIG.
The pulse from the terminal (τ 0 goes through the OR circuit (199)
From the terminal (τ 1) to the first pulse generation circuit
Set the flip-flop (201). This set
Resets the counter (203).
The clock pulse from the oscillator (224)
Start operation. At the same time, the data reading circuit (L
DC) is the lens circuit by the pulse from the terminal (τ 1)
The operation of reading the conversion coefficient KL from (LEC) is started.
In addition, the signal processing circuit (106) is connected to the terminal (τ 1)
The pulse starts the CCD (FLM) light reception integration operation.
Let In Fig. 16, the pulse is output from the terminal (τ 1)
When the time required to read the above data KL has elapsed,
Pulse from the carry terminal (τ 2) of the counter (203)
Will output. One shot in response to the falling edge of this pulse.
The output circuit (204) outputs a pulse, and the OR circuit (20)
0) reset the flip-flop (201)
Stop the counting operation of the counter (203). Well
Also, the pulse from the terminal (τ 2) is the second pulse generation circuit.
The counter (208) is the oscillator (224).
The clock pulse counting operation is started. simultaneous
From the pulse from the terminal (τ 2)
(112) is the output from the fixed data output circuit (111).
Conversion coefficient KB and data reading circuit (LDC) in camera body
Multiply with the conversion coefficient KL of the shooting lens from
The conversion coefficient K = KL · KB of the entire system is calculated. Well
In addition, by the pulse from the terminal (τ 2)
The path (110) is the calculated value K in this multiplication circuit (112).
And the focusing width ZN from the fixed data output circuit (105)
Multiply by the number of rotations N of the motor corresponding to the width of the focus area
i = K · ZN is calculated. In Fig. 16, the pulse is output from the terminal (τ 2)
The time required to calculate the above data K and Ni has elapsed
From the carry terminal (τ 3) of the counter (208).
Ruth outputs. In response to the falling edge of this pulse
The output circuit (209) outputs a pulse, and the OR circuit (2
Reset flip-flop (205) via 05)
Then, the counting operation of the counter (208) is stopped.
At this time, if the output of the OR circuit (192) is "Low"
For example, the gate of the AND circuit (210) is opened and the terminal (τ
The pulse from 3) passes through the AND circuit (210) to the third
To the pulse generation circuit of the counter (214).
The counting operation of the clock pulse from the shaker (224)
Start. Also, the pulse from the terminal (τ 3)
The multiplication circuit (113) in FIG. 15 is the signal processing circuit (106).
Defocus amount from terminal (w) | ΔL | and multiplication circuit
For focus, multiply by the calculated value K from (112)
The motor required to drive the lens (FL) to the in-focus position.
The number of rotations of the turbine N = K · | ΔL | is calculated. The correction calculation circuit (114) is used when the motor (MO) is stopped.
Is the calculated value from the multiplication circuit (113) as it is,
When the motor rotates, the following correction calculation is performed and the calculated value
Are output as output data Nm. (This time
The operation of the path (114) is No. 140 to No. 16 in FIG.
Corresponds to the flow of step 2. ) That is, the motor times
At the time of turning, the period required for integration and calculation from the previous data Nm '
The data (τ + t0) corresponding to the motor rotation amount between
Data Nm '-. Tau.-t0 = Nm "and the current data
Data N that N is assumed to have been obtained at the intermediate point of integration
− (Τ / 2 + t0) = N ′ is calculated. With these this time
The average value (N '+ Nm ") / 2 = Nm of the previous data is complemented.
From the correction calculation circuit (114) as corrected data Nm
Is output. Where τ = ECD 1-ECD 2, to = E
CD2-ECD3, and ECD1, ECD2, ECD
3 are terminals (τ 1), (τ 2), and (τ
3) Presettable when the pulse is output from
This is the output of the down counter (115). In Fig. 16, the pulse input from the terminal (τ 3)
After the time required for the correction calculation has elapsed, the counter (21
4) outputs a pulse from the carry terminal (τ 4). This
One-shot circuit (21
5) outputs a pulse and outputs a pulse via the OR circuit (211).
Reset the flip-flop (212) to the counter (2
The counting operation of 14) is stopped. At this time, or
When the output of the line (192) is "Low", the terminal
The pulse from (τ 4) goes through the AND circuit (216)
The counter (220) is provided to the fourth pulse generation circuit.
Is the counting motion of the crop pulse from the oscillator (224)
Start the work. In addition, the pulse from the terminal (τ 4)
In the down counter (115) of FIG.
The data Nm from (114) is preset. simultaneous
This pulse causes flip-flop (170) to
AND circuit (166), (168), (16
The gate of 9) is opened. At this time, the signal processing circuit (1
Signal indicating the defocus direction from the terminal (v) of 06)
Is a "High" level, the AND circuit (165),
The front pin table is displayed on the display unit (180) via (166).
If the level is "Low", the AND circuit (16
7), (169) through the display (182)
Pin indication is made. In Fig. 16, the position from the pulse input from the terminal (τ 4)
The counter (220) is a carry terminal after a lapse of a fixed time.
Output pulse from (τ 5). In response to this pulse
The one-shot circuit (221) outputs a pulse and turns
The flip-flop (218) via the path (217).
Set and stop the counting operation of the counter (220).
Let The pulse from the terminal (τ 5) is the AND circuit (22
6), terminal via OR circuit (223), (199)
Given to (τ 1) and the same as the above, the product of CCD
Minute, data KL reading, calculation, correction calculation, data Nm
Operations such as setting and motor drive are repeated in sequence. Also, the terminal
Flip-flop of Figure 15 by pulse from (τ 5)
(171) is set and AND circuits (172), (1
73) is opened and the end of the signal processing circuit (106)
AND circuits (172), (1) depending on the level of the child (v)
One of the outputs of 73) becomes "High". By this
The motor control circuit (MDR) is a motor (MO)
Rotate clockwise or counterclockwise. This motor
-(MO) rotation, slip mechanism (SLP), transmission
Transmission to the camera-side coupler (102) via the structure (LDR)
To be done. The rotation of this camera side coupler (102) is the lens
Foam coupler (101), drive mechanism (100)
Focus lens is transmitted to the lens
(FL) moves toward the in-focus position. The encoder (ENC) is connected to the transmission mechanism (LDR).
The rotation amount of the transmission mechanism (LDR) (that is, the focus
The number of pulses according to the amount of movement of the lens (FL) for scanning
Next output, and this pulse causes down counter (115)
The data Nm preset to is reduced. Also, the 16th
Flip-flop by pulse from terminal (τ 5) in the figure
When (119) is set, is the encoder (ENC)
These pulses are one-shot through the AND circuit (120).
Circuit (121). This one shot circuit
Pulse from (121) and flip-flop (11
The output of 9) is a capacitor via the OR circuit (123).
Given to the discharging transistor (155) of (156)
It The transistor (155) is a one-shot circuit (1
21) at the time of pulse output from the flip-flop (1
19) It conducts at the time of resetting and the capacitor (156) is connected.
To discharge. Here, the pulse from the encoder (ENC)
Capacitor (15
6) and the resistance (157)
It Also, from the pulse output from the terminal (τ 3)
The period from 5) to pulse output is very short.
This is because the amount of motor rotation during the period is negligible.
The above correction calculation is not performed by the motor rotation during
Yes. The comparison circuit (130) is a terminal of the signal processing circuit (106).
Defocus amount | ΔL | from (w) and data output circuit
By comparing with the focus width ZN from (109), | ΔL | ≦ Z
When it is N, the output is set to "High". One shot circuit
(136) outputs a pulse in response to the rise of this output
Then, the flip-flop (137) is set. Comparison times
The path (116) is the focus area from the multiplication circuit (110).
From the motor rotation amount Ni and the down counter (115)
Is compared with the count value ECD of and output when Ni ≧ ECD
To "High". The one-shot circuit (150)
A pulse is output in response to the rising edge of this output, and the flip
Set the flop (151). flip flop
The Q outputs of (137) and (151) are both OR circuits (1
52), (163) and the inverter (164).
Are supplied to the end circuits (172) and (173). Obey
, .DELTA.L | .ltoreq.ZN or Ni.gtoreq.ECD,
It is determined that the flip-flops (137) and (151)
When the output becomes "High", the AND circuit (172),
The gate of (173) is closed and the motor control circuit (MD
R) stops driving the motor (MO). At the same time
The D flip-flop (13
5), (139), T flip-flop (132),
The reset of (138) is released. In this way, the next cycle of the cycle in which focus is once determined is determined.
In the control unit, the comparison circuit (130) determines the in-focus state.
And a pulse is output from the terminal (τ 3)
Comparing circuit at this time by the paths (131) and (134)
The output of (130) is transferred to the D flip-flop (135).
Be cut. Then, in response to the fall of the terminal (τ 3), T
The output of the flip-flop (132) is inverted and ANDed
The gates of roads (133) and (134) are opened,
To be closed. In-focus state is determined in the next cycle
And a pulse is output from the terminal (τ 3)
Comparing circuit at this time by the circuits (131) and (133)
The output of (130) is transferred to the D flip-flop (139).
Be cut. In this way, once the focus is determined
Then, the in-focus state is determined twice. OR circuit (14
4) is the D flip-flop (135), (139)
The output is used as input, and the smallest of these two focus determinations
If the output is in focus at least once, the output is "High
In addition, if it is not in focus both times,
The output becomes "Low". The output of the AND circuit (133)
The output of the T flip (138) due to the fall of force is "L".
and the gate of the AND circuit (131) is closed.
It By the way, at least one of the above two focusing determinations is successful.
If it is rushed, the gate of the AND circuit (146) opens.
In response to the pulse from the terminal (τ 4)
(149) is set. This set
The outputs of the circuit (143) and the AND circuit (168) are "Hig.
h ”, and AND circuits (165), (166), (1
67) and (169) output becomes “Low”, and the display
At (181), the focus display is made. On the other hand, twice
If it is out of focus, use the inverter (145)
The gate of the AND circuit (147) is opened and the terminal (τ 4)
In response to a pulse from the OR circuit (148).
Lip flops (137) and (151) are reset
It The output of the OR circuit (152) by these resets
Becomes "Low" and the D flip-flop (135),
(139), T flip-flops (132), (13
8) is reset. Also, the AND circuit (172),
The gate of (173) is opened, and the motor control circuit (M
DR) restarts the drive of the motor (MO). Next, the focus lens (FL) is closest or infinite
Even if the far end position is reached, the comparison circuit (130) can focus the image.
The operation when it is not determined will be described below. in this case,
Even if the motor (MO) is rotating, the transmission mechanism (LD
Since the mechanism after R) is forcibly stopped rotating,
No pulse is output from the coder (ENC). Obey
Output from the one-shot circuit (121)
The star (155) will not conduct in a pulsed manner,
Constant determined by capacitor (156) and resistor (157)
After a lapse of time, the output of the switching circuit (158) becomes "High".
", That is, the arrival at the end is detected.
In response to the rise of force, the one-shot circuit (159) is
Output a ruth and set the flip-flop (160)
It With this set, the OR circuit (163) and the inverter
AND circuits (172) and (173) through (164)
, The gate is closed and the motor control circuit (MDR) is
Rotation of the motor (MO) is stopped. At the same time, T flip
Flop (141), D flip-flop (124),
(The reset of 142 is released. Also, the OR circuit (1
63), (117) through one shot (118)
Output a pulse and reset the flip-flop (119).
And then keep the transistor (155) conductive.
To do. In the next cycle, pulse from terminal (τ 3)
Is output by the AND circuit (140),
The output of the comparison circuit (130) of the D flip-flop (1
42). Also, a signal processing circuit (106)
The signal in the defocus direction from the terminal (v) of
It is latched in the flip-flop (124), and
Display unit through circuit (125) and OR circuit (127)
The front pin display at (180) or (182) or
Rear pin display is made. Now, of the flip-flop (149) or (160)
When the output becomes "High", the output of the OR circuit (192)
Becomes "High", and the gate of the AND circuit (226)
However, the AND circuit (2
The gates 10) and (216) are closed. By this
From the terminals (τ 3) and (τ 4)
The transmission of pulses to the live circuit is interrupted. At this time, Ann
Since the gate of the drive circuit (222) is open,
The pulse from (τ 3) is the AND circuit (222), or
Given to terminal (τ 1) via paths (239) and (199)
After that, CCD integration, data KL reading, calculation
Only the operation is repeated. In addition, the switch (190)
With a switch that is closed when performing focus adjustment by movement
Yes, the closing of this switch causes the output of the OR circuit (192).
The force is always "High", and after and after the focus detection described above
Only the same operation as that after the end detection is executed. Now, in FIG. 17, the decoder (235) is shown in FIG.
Of the output of the OR circuit (192) of the
The signal from the signal processing circuit (106) in FIG.
One of terminals (p0) to (p6), depending on the
Set one to "High". The multiplication circuit (233) is shown in FIG.
Data output circuit by the pulse from the terminal (τ 2) of
Data δ corresponding to the allowable blur diameter from (232)
Multiply by the absolute aperture value F from the decoder (231),
The depth of focus ΔD = δ × F at the aperture value is calculated. here
Then, the decoder (231) is connected to the aperture data output circuit (23
0) Output of set aperture or calculation aperture
It is a circuit that converts the scan value Av into an absolute aperture value. Comparison circuit
(234) is the calculated depth of focus ΔD and
Defocus amount | ΔL | from the signal processing circuit (106)
Is compared with, and the output is “High” when ΔD ≧ | ΔL |
AND circuits (241), (243), (24
4), (246) and (248) are opened. on the other hand,
The comparison circuit (234) outputs the output when ΔD <| ΔL |
Set to "Low" and circuits (240), (242),
Open the gates of (245) and (247). Therefore, the terminal
When (p0) is "High", the display means (250)
Any one of the children (p1), (p2), (p4), (p5)
When the output of the comparison circuit (234) is "Low" at "High"
If the display means (251), (25
2), (253), (254), the terminal (p6) is
In the case of "High", each display means (255) displays
Take action. In addition, any of terminals (p1) to (p5)
One of them is "High" and the output of the comparison circuit (234) is "H".
In the case of "igh", the display means (260) corresponding to the above terminal
1 to (264) each perform a display operation. These display means, as shown in FIG.
On the lower outside of the frame (270), the display means (260) or
Two groups in (264) and (250) to (255)
Separated and arranged vertically. Display means (260)
Through (264) are both light emitting dies for green light emission
The subject that is in the dead position and is located in the distance measuring frame (271)
By illuminating that the imaging position of the body part is within the depth of focus
indicate. Also, the display means (250) to (255)
Are both light emitting diodes for red light emission.
Then, a warning is displayed by lighting that it is out of the depth of focus.
Further, the display means (180) to (18) shown in FIG.
2) is arranged outside the viewfinder frame (270)
Has been done. In addition, these display means may be composed of a lamp, a liquid crystal, or the like.
May be done. Now, the display operation by these display means will be briefly described below.
Reveal. First, the field of view (270) is compared to a relatively narrow area.
The photographer wants to focus on the corresponding distance measuring frame (271)
The orientation of the camera is determined so that the main subject comes. This
When the switch (193) is closed in the state of
The automatic focusing is performed on the
By any of the display units (180) to (182) of
Is displayed. Display means when the image forming position reaches the in-focus area
(181) lights up to show the focus display and
The movement of the lens for dust stops. After that, switch (19
3) With the camera closed, turn the camera and change the depth of focus.
The part of the subject you want to check comes in the distance measuring frame (271).
By doing so, you can check and display the depth of focus.
It That is, the output of the OR circuit (192) "High"
The decoder (235) becomes active. Confirm depth of focus
Defocus amount and direction
The data is transmitted to the decoder (2) via the signal processing circuit (106).
35) and is not connected to the terminal (p0) of the decoder (235).
Any one of the chairs (p6) becomes "High". Also,
This defocus amount | ΔL | is calculated by the comparison circuit (233).
The depth of focus data ΔD corresponding to the aperture value is compared. This
Display means according to the output of the decoder and the comparison result
Is lit, and whether the image formation position at this time is within the depth of focus
Is displayed. To confirm this depth of focus, close the switch (193).
Since you can always do it while you are doing it, change the direction of the camera
As a result, the desired depth of focus can be confirmed. Well
Also, when the focusing lens reaches the end position, the motor
Similarly, when (MO) stops rotating,
Can be confirmed. Now, by opening the switch (193),
One shot circuit (197) through the burner (195)
Pulse is output from the
Flip-flop is reset and
The ringing signal generation circuit (128) is reset, and as shown in FIG.
And the circuit of FIG. 16 ceases to operate. In addition, this operation stop
Responds to the closing of the release switch (RLS) of the camera
You may do so. Of the focus confirmation display mode shown in FIG. 17 and FIG. 18 described above.
Another embodiment will be described with reference to FIGS. 19 and 20. First
In FIG. 19, a decoder (280) is an OR circuit (19
As shown in Fig.15, the output becomes active due to the "High" output.
According to the data from the signal processing circuit (106) of
"High" any one of (p0) to (p8)
To Therefore, any "High" output is
Via OR circuits (294) to (302)
Is given to the display seed means (320) to (328).
And display according to the amount of deviation from the signal processing circuit (106).
Is done. On the other hand, to close the memory switch (290)
One-shot circuit via the inverter (291)
A pulse is output from (292), and when this switch is closed
The output of the decoder (280) is the D flip-flop (28
1) to (289). In these latches
The more stored decoder output is the OR
It is displayed by the above-mentioned display means through the circuit. Obey
In the display means (320) to (328),
Display and display of the shift amount stored when the switch (290) is closed.
There are two types of display, the display of the amount of deviation at the time.
This memory is updated each time the memory switch (290) is closed.
Be done. The D flip-flop described above is an OR circuit (19
The reset state is released by the "High" output from 2).
Be done. Further, the decoder (310) has a diaphragm data output circuit (2
Width of depth of focus determined based on data Av from 30)
Terminals (u0) to (u6) to correspond to
Selectively set to "High" with (u3) as the center. That is,
For example, when 0 ≦ Av ≦ 2, only the terminal (u3) is 2 <
When Av ≤ 4, terminals (u2) to (u4) are 4 <Av
When ≤6, if terminals (u1) to (u5) are 6 <Av
If the terminals (u0) to (u6) are "High",
Become. The display means (330) to (336) are at these ends.
It is provided to correspond to each child (u0) to (u6)
Has been. These display means (320) to (328)
And (330) to (336) are shown in FIG.
In two rows outside the viewfinder field frame (270)
Arranged and displaying means (330) to (336)
Gives a visual depth of focus corresponding to the aperture data Av.
Displayed by the display means (320) to (328)
The data of the deviation amount at the time of storage and at the present time is displayed.
That is, the imaging position of the subject located in the distance measuring field frame (271)
Position within the depth of focus or how far out
It can be easily visually discerned. Modification of the depth of focus confirmation display mode shown in Figs. 15 to 18
In another embodiment, that is, when a small number of display means are used for automatic focusing.
Fig. 21 shows an example that can be displayed when checking the depth of focus and
It will be explained based on. In the figure, the OR circuit (192)
Output is "Low" and motorized for auto focus
If the node operation is performed, the AND circuit (343) is not used.
The gate of the chair (346) is closed. Therefore,
Gates of the end circuits (351), (353), (353)
Is closed, and circuits (350), (352),
The gate at (354) is open. In this case, the 15th
Of AND circuits (166), (168), (169) in the figure
Display means (180), (181), (18) according to the output
Any one of 2) is lit and displayed. On the other hand, the
When the output of the circuit (192) becomes "High"
The gates of the roads (343) to (345) are opened.
At this time, the output of the comparison circuit (234) in FIG.
If h ″ (that is, ΔD ≧ | ΔL |), the AND circuit (34
The output of 4) becomes "High" and the AND circuit (353).
Opens the gate. Also, the AND circuit (346)
Divide the clock pulse from the oscillator (224) in Figure 16
The divided pulse from the frequency divider (342)
This divided pulse is output to the AND circuits (346) and (35
It is given to the display means (181) via 3). to this
The focus position of the subject is within the depth of focus after checking the depth of focus.
If it is, the display means (181) for focusing display blinks.
It Here, the focus state when the automatic focus adjustment operation is stopped
If the display means (180) is always on,
And the blinking of the display means (181)
The display can be distinguished when the adjustment operation is stopped and when the depth of focus is checked.
It Also, if the subject is in focus when the automatic focus adjustment operation is stopped
Is only the blinking of the display means (181).
If the display means (182) is constantly lit, the display means (1
81) blinks. In this way, the automatic focusing operation
When the depth of focus is confirmed, the focus state at stop is always lit.
By flashing the in-focus state, both are displayed simultaneously.
Therefore, the display means (180) at the time of automatic focus adjustment or
(182) can be commonly used. Effect of the Invention Focusing on a subject within a predetermined area
Once the position of the focusing lens is determined,
Focusing lens position is maintained and the above predetermined area
A display showing whether the subject is within the depth of field
Done. Therefore, it is possible to obtain a focus state for the main subject.
With the focusing lens position held,
If you place another subject in the prescribed area in the other direction,
You can check whether the subject is within the depth of field.
The composition can be determined in consideration of the depth of field.

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

第1図は本発明によるカメラシステムの概略を示すブロ
ック図、第2図はその回路構成を示す回路図、第3図は
第2図におけるマイコン(MC 2)の動作を示すフロー
チャート、第4図はマイコン(MC 2)の直列データ入
力部(SDI)の具体的な回路構成を示す回路図、第5
図はカメラ本体に装着されるコンバータ(CV)および
交換レンズ(LE)の回路構成を示す回路図、第6図は
マイコン(MC 1)により制御される発光ダイオード駆
動回路(FAD)の具体的な回路構成を示す回路図、第
7図は焦点距離に応じて変換係数が変化する光学系を有
する変倍レンズの焦点距離と変換係数との関係を示すグ
ラフ、第8図ないし第10図は第2図のマイコン(MC
1)の動作を示すフローチャート、第11図はマイコン
(MC 1)により制御される制御回路(COT)の具体
的な回路構成を示す回路図、第12図はその変形例の要部
回路構成を示す回路図、第13図はマイコン(MC 1)の
フローの変形例の要部を示すフローチャート、第14図は
第8図のマイコン(MC 1)のNo.100 のステップの動
作を具体的に示すフローチャート、第15図ないし第17図
は第2図ないし第14図に示したカメラシステムの第2の
実施例の回路構成を示す回路図、第18図はその合焦状態
表示態様を示す図、第19図は第17図の回路を変形した第
3の実施例の回路構成を示す回路図、第20図はその合焦
状態表示態様を示す図、第21図は第17図の回路を変形し
た第4の実施例の回路構成を示す回路図である。 BD:カメラ本体、LE:撮影レンズ、FL:フォーカ
ス用レンズ、FLM:焦点検出用受光手段、 106:信号
処理手段、 107:第1の合焦状態判別手段、 108:第2
の合焦状態判別手段、 109:焦点深度表示手段、 105:
絞りデータ出力手段、MDR:駆動手段。
FIG. 1 is a block diagram showing an 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 (MC 2) in FIG. 2, and FIG. Is a circuit diagram showing a specific circuit configuration of the serial data input unit (SDI) of the microcomputer (MC 2),
FIG. 6 is a circuit diagram showing a circuit configuration of a converter (CV) and an interchangeable lens (LE) mounted on the camera body, and FIG. 6 is a concrete example of a light emitting diode drive circuit (FAD) controlled by a microcomputer (MC 1). FIG. 7 is a circuit diagram showing a circuit configuration, 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 is changed according to the focal length, and FIGS. 2 Microcomputer (MC
1) A flowchart showing the operation, FIG. 11 is a circuit diagram showing a concrete circuit configuration of a control circuit (COT) controlled by a microcomputer (MC 1), and FIG. 12 is a main part circuit configuration of the modified example. The circuit diagram shown in FIG. 13 is a flow chart showing the main part of a modified example of the flow of the microcomputer (MC 1), and FIG. 14 shows the operation of the step No. 100 of the microcomputer (MC 1) in FIG. 8 concretely. FIG. 15 to FIG. 17 are circuit diagrams showing the circuit configuration of the second embodiment of the camera system shown in FIG. 2 to FIG. 14, and FIG. FIG. 19 is a circuit diagram showing a circuit configuration of a third embodiment in which the circuit of FIG. 17 is modified, FIG. 20 is a diagram showing its focus state display mode, and FIG. 21 is a circuit diagram of FIG. It is a circuit diagram which shows the circuit structure of the modified 4th Example. BD: camera body, LE: photographing lens, FL: focusing lens, FLM: focus detecting light receiving means, 106: signal processing means, 107: first focusing state determining means, 108: second
Focus state determination means, 109: depth of focus display means, 105:
Aperture data output means, MDR: drive means.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 赤田 保明 大阪府大阪市東区安土町2丁目30番地 大 阪国際ビル ミノルタカメラ株式会社内 審判の合議体 審判長 鐘尾 宏紀 審判官 富田 徹男 審判官 津田 俊明 (56)参考文献 特開 昭57−185423(JP,A) 特開 昭57−38402(JP,A) 特開 昭58−7129(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yasuaki Akada 2-30 Azuchi-cho, Higashi-ku, Osaka-shi Osaka Prefecture Osaka International Building Minolta Camera Co., Ltd. (56) References JP-A-57-185423 (JP, A) JP-A-57-38402 (JP, A) JP-A-58-7129 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】撮影画面の比較的狭い所定領域内の被写体
に対して焦点調節に関するデータを検出する検出手段
と、 上記検出手段の出力に基づいて上記被写体に対する合焦
位置へフォーカシングレンズを移動させるレンズ位置決
定手段と、 上記レンズ位置決定手段の動作完了に応答して、以降の
上記レンズ位置決定手段の動作を禁止することにより上
記フォーカシングレンズを上記合焦位置に保持するフォ
ーカスロック手段と、 上記レンズ位置決定手段の動作完了に応答して動作開始
し、上記フォーカスロック手段の作動中に、上記検出手
段の出力及び絞り値に基づいて上記所定領域内の被写体
が被写界深度内にあるかどうかを繰り返し判別するとと
もに判別結果を表示する表示手段と、 を有することを特徴とする自動焦点調節装置。
1. A detection means for detecting data regarding focus adjustment for a subject within a relatively narrow predetermined area of a photographing screen, and a focusing lens is moved to a focus position for the subject based on an output of the detection means. Lens position determining means; focus lock means for holding the focusing lens at the in-focus position by prohibiting the subsequent operation of the lens position determining means in response to the completion of the operation of the lens position determining means; Whether the subject within the predetermined area is within the depth of field based on the output of the detection means and the aperture value during the operation of the focus lock means, which is started in response to the completion of the operation of the lens position determination means. An automatic focus adjusting device comprising: a display unit that repeatedly determines whether or not to display a determination result.
JP58081977A 1983-05-10 1983-05-10 Automatic focus adjustment device Expired - Lifetime JPH0627893B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58081977A JPH0627893B2 (en) 1983-05-10 1983-05-10 Automatic focus adjustment device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58081977A JPH0627893B2 (en) 1983-05-10 1983-05-10 Automatic focus adjustment device

Publications (2)

Publication Number Publication Date
JPS59206806A JPS59206806A (en) 1984-11-22
JPH0627893B2 true JPH0627893B2 (en) 1994-04-13

Family

ID=13761545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58081977A Expired - Lifetime JPH0627893B2 (en) 1983-05-10 1983-05-10 Automatic focus adjustment device

Country Status (1)

Country Link
JP (1) JPH0627893B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2634808B2 (en) * 1987-03-25 1997-07-30 オリンパス光学工業株式会社 Camera focusing information output device
JP2005157148A (en) * 2003-11-27 2005-06-16 Kyocera Corp Focal point detector and electronic camera
JP6258809B2 (en) * 2014-07-31 2018-01-10 株式会社キーエンス Optical information reader, control method and program for optical information reader

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5738402A (en) * 1980-08-19 1982-03-03 Canon Inc Display device of automatic focal point adjuster
JPS57185423A (en) * 1981-05-11 1982-11-15 Nippon Kogaku Kk <Nikon> Focusing device

Also Published As

Publication number Publication date
JPS59206806A (en) 1984-11-22

Similar Documents

Publication Publication Date Title
US4733262A (en) Camera system capable of automatic focus control
US4509842A (en) Camera system capable of focus detection through an interchangeable objective lens
US4602861A (en) Auto-focusing system
US4477167A (en) Protective device for automatic focusing camera
US4550993A (en) Device for providing a camera system with an information for a focus adjustment
US4829331A (en) Camera having auto-focussing device
JP2831995B2 (en) Camera system and interchangeable lens
JPH0559411B2 (en)
JPH02254432A (en) Automatic focusing camera
JPH0627893B2 (en) Automatic focus adjustment device
JPH04235512A (en) Focus detecting device having grouping function
US5249012A (en) Auto-focusing system for cameras with in interchangeable objective lens
JP4950634B2 (en) Imaging apparatus and imaging system
JPH0760210B2 (en) Camera detection device
US5247326A (en) Camera system capable of automatic focus control
JPH0693058B2 (en) Automatic focus adjustment device
JPS59182411A (en) Automatic focusing device
JP3171230B2 (en) camera
JP3610218B2 (en) Automatic focusing device, imaging device, and automatic focusing method
JPH0559412B2 (en)
JPH06138378A (en) Camera provided with focus detecting means and line-of-sight detecting means
JP2757396B2 (en) camera
JP2874650B2 (en) camera
JPH087315B2 (en) Control device for lens device
JPH0462364B2 (en)