JPH01187519A - Focus detector - Google Patents

Focus detector

Info

Publication number
JPH01187519A
JPH01187519A JP1162188A JP1162188A JPH01187519A JP H01187519 A JPH01187519 A JP H01187519A JP 1162188 A JP1162188 A JP 1162188A JP 1162188 A JP1162188 A JP 1162188A JP H01187519 A JPH01187519 A JP H01187519A
Authority
JP
Japan
Prior art keywords
lens
focus
focus detection
scanning
detected
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.)
Pending
Application number
JP1162188A
Other languages
Japanese (ja)
Inventor
Tokuji Ishida
石田 徳治
Masataka Hamada
正隆 浜田
Toshio Norita
寿夫 糊田
Masayuki Kamiyama
雅之 上山
Katsumi Kosakai
小堺 克己
Hiroshi Otsuka
博司 大塚
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 JP1162188A priority Critical patent/JPH01187519A/en
Priority to US07/299,646 priority patent/US4952965A/en
Priority to US07/299,656 priority patent/US4935765A/en
Publication of JPH01187519A publication Critical patent/JPH01187519A/en
Priority to US07/462,478 priority patent/US5053800A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten a time required until focus detecting impossible display is performed by inhibiting low contrast scanning and directly performing the focus detecting impossible display when focus detecting is not possible even in case of performing low contrast scanning. CONSTITUTION:When a focus detection impossibility decision means 4 decides that focus detecting is impossible and lens scanning is not inhibited, the lens scanning (low contrast scanning) that the position of a lens where focus detecting is possible is seeked under the control of a lens scanning control means 9 is performed. When defocusing quantity is within defocusing quantity DFa in which focus detecting is possible by a focus detecting means 2, a lens scanning inhibiting decision means 8 decides that the lens scanning is inhibited. In such a case, the lens scanning by the lens scanning control means 9 is not performed and the focus detecting impossible display by a display means 10 is performed. Thus, useless lens scanning is omitted and the focus detecting impossible display is swiftly performed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、自動焦点調節機能付きの一眼レフカメラなど
に用いられる焦点検出装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a focus detection device used in a single-lens reflex camera with an automatic focus adjustment function.

[従来の技術] 従来、撮影用のレンズの焦点状態を検出して、合焦位置
にレンズを駆動する自動焦点調節装置において、焦点検
出が不能であるときには、レンズを駆動しながら焦点検
出可能なレンズ位置を探す動作(いわゆるローコンスキ
ャン)を行うことが提案されている。また、レンズの最
大デフォーカス量が所定値よりも小さいときには、ロー
コンスキャンを行わないことが提案されている(特開昭
62−133411号公報参照)。しかしながら、上記
公報においては、所定値を具体的にはどのように設定す
れば良いかについては開示されておらず、単に所定値は
明るさによって変わるとのみ言及されているに過ぎない
。明るさによって変わる所定値とは、信頼性レベルに関
係した値であると考えられ、焦点検出手段の焦点検出可
能範囲とは全く関係の無い値である。また、上記公報に
おいて、所定値と比較されるレンズの最大デフ1−カス
量とは、レンズROMから読み取られたレンズに固有の
固定値てあり、レンズの現在位置に応じて変化する可変
量ではない。
[Prior Art] Conventionally, in an automatic focus adjustment device that detects the focus state of a lens for photographing and drives the lens to the in-focus position, when focus detection is impossible, it is possible to detect focus while driving the lens. It has been proposed to perform an operation to search for the lens position (so-called low contrast scan). Furthermore, it has been proposed not to perform low contrast scanning when the maximum defocus amount of the lens is smaller than a predetermined value (see Japanese Patent Laid-Open No. 133411/1982). However, the above publication does not disclose how to specifically set the predetermined value, and merely mentions that the predetermined value changes depending on the brightness. The predetermined value that changes depending on the brightness is considered to be a value related to the reliability level, and is completely unrelated to the focus detectable range of the focus detection means. Furthermore, in the above publication, the maximum differential lens amount compared with a predetermined value is a fixed value unique to the lens read from the lens ROM, and is not a variable amount that changes depending on the current position of the lens. do not have.

「発明が解決しようとする課題] 上述の従来技術にあっては、レンズの最大デフォーカス
量を明るさによって変わる所定値と比較することにより
ローコンスキャンの必要性を判定しているに過ぎず、レ
ンズの現在位置や焦点検出可能範囲が全く考慮されてい
ないので、ローコンスキャンの必要性を正しく判定する
ことができないという問題がある。
“Problem to be Solved by the Invention” In the above-mentioned conventional technology, the necessity of low contrast scanning is simply determined by comparing the maximum defocus amount of the lens with a predetermined value that changes depending on the brightness. Since the current position of the lens and the focus detectable range are not taken into account at all, there is a problem in that it is not possible to correctly determine the necessity of low contrast scanning.

例えば、レンズが一方の終端位置に停止しているときに
は、他方の終端位置までが焦点検出可能範囲に含まれて
いなければ、他方の終端位置へ向けてローコンスキャン
を行う必要がある。ところが、同じレンズが終端位置以
外の位置に停止しているときには、遠い方の終端位置ま
てが焦点検出可能範囲に含まれていればローコンスキャ
ンを行う必要はない。つまり、レンズROMから読み取
られたレンズ°の最大デフォーカス量が同しであっても
、レンズの現在位置によってローコンスキャンの必要性
が変化する場合がある。上述の従来技術にあっては、こ
のようなレンズの現在位置によるローコンスキャンの必
要性の変化を判定することができない。
For example, when the lens is stopped at one end position, if the other end position is not included in the focus detectable range, it is necessary to perform a low contrast scan toward the other end position. However, when the same lens is stopped at a position other than the terminal position, there is no need to perform low contrast scanning if the far terminal position is included in the focus detectable range. In other words, even if the maximum defocus amount of the lens degree read from the lens ROM is the same, the necessity of low contrast scanning may change depending on the current position of the lens. In the above-mentioned conventional technology, it is not possible to determine whether the need for low contrast scanning changes depending on the current position of the lens.

本発明はこのような点に鑑みてなされたものであり、そ
の目的とするところは、レンズの現在位置を考慮してロ
ーコンスキャンの必要性を正しく判定てきるようにした
焦点検出装置を提供することにある。
The present invention has been made in view of these points, and its purpose is to provide a focus detection device that can correctly determine the necessity of low-contrast scanning in consideration of the current position of the lens. It's about doing.

[課題を解決するための手段] 本発明に係る焦点検出装置にあっては、上記の目的を達
成するために、第1図に示すように、交換可能な撮影用
のレンズ(1)と、レンズ(1)の焦点状態を検出する
焦点検出手段(2)と、レンズ(1)を駆動するレンズ
駆動手段(3)と、焦点検出手段(2)による焦点検出
が不能か否かを判定する焦点検出不能判定手段(4)と
、レンズ(1)の終端位置Nmaxに関する情報を出力
する第1の出力手段(5)と、焦点検出手段(2)によ
り焦点検出可能なデフォーカス量DFaに関する情報を
出力する第2の出力手段(6)と、レンズ(1)の現在
位置N、を検出するレンズ位置検出手段(7)と、レン
ズ(1)の現在位置NLから終端位置までのデフォーカ
ス量(Nmax −N L)/ K 、N L/ Kが
焦点検出可能なデフォーカスi D F a以内である
ときにレンズ走査禁止と判定するレンズ走査禁止判定手
段(8)と、焦点検出不能判定手段(4)により焦点検
出不能と判定され且つレンズ走査禁止判定手段(8)に
よりレンズ走査禁止でないと判定されたときに、レンズ
駆動手段(3)によりレンズ(1)を駆動すると共に焦
点検出手段(2)により焦点検出動作を行わせるレンズ
走査制御手段(9)と、焦点検出不能判定手段(4)に
より焦点検出不能と判定され且つレンズ走査禁止判定手
段(8)によりレンズ走査禁止と判定されたときには焦
点検出不能の表示を行う表示手段(10)とを備えて成
ることを特徴とするものである。
[Means for Solving the Problems] In order to achieve the above object, the focus detection device according to the present invention includes an exchangeable photographing lens (1) as shown in FIG. A focus detection means (2) for detecting the focus state of the lens (1), a lens drive means (3) for driving the lens (1), and a determination as to whether or not focus detection by the focus detection means (2) is impossible. A focus detection impossible determination means (4), a first output means (5) for outputting information regarding the terminal end position Nmax of the lens (1), and information regarding the defocus amount DFa that can be detected by the focus detection means (2). a second output means (6) that outputs the current position N of the lens (1), a lens position detection means (7) that detects the current position N of the lens (1), and a defocus amount from the current position NL of the lens (1) to the final position. Lens scanning prohibition determining means (8) that determines that lens scanning is prohibited when (Nmax - N L) / K, N L / K is within the defocus i D Fa that allows focus detection; and a focus detection impossible determining means When it is determined by (4) that focus detection is not possible and the lens scanning prohibition determining means (8) determines that lens scanning is not prohibited, the lens driving means (3) drives the lens (1) and the focus detecting means ( 2), the lens scanning control means (9) performs the focus detection operation, the focus detection impossible determination means (4) determines that the focus cannot be detected, and the lens scanning prohibition determination means (8) determines that lens scanning is prohibited. It is characterized in that it sometimes comprises a display means (10) for displaying that focus cannot be detected.

なお、レンズ走査禁止判定手段(8)によりレンズ走査
禁止てないと判定されたときに、レンズ(1)の中間位
置から終端位置までのデフォーカス量(N+nax/ 
2 K )が焦点検出可能なデフォーカス量D F a
以内であるかを判定する中間位置判定手段(11)と、
中間位置判定手段(11)により焦点検出可能なデフォ
ーカス量DFa以内であると判定されたときに、レンズ
(1)を中間位置(N max/ 2 )に移動させる
ようにレンズ駆動手段(3)を制御する中間位置設定手
段(12)を付加しても良い。
Note that when the lens scanning prohibition determining means (8) determines that lens scanning is not prohibited, the defocus amount (N+nax/
2 K) is the defocus amount D Fa that allows focus detection
intermediate position determining means (11) for determining whether the
When the intermediate position determining means (11) determines that the defocus amount is within the defocus amount DFa that allows focus detection, the lens driving means (3) moves the lens (1) to the intermediate position (N max / 2 ). An intermediate position setting means (12) may be added to control the position.

たたし、第1図は本発明の構成を機部的にブロック化し
て示した説明図てあり、後述の実施例では、上記構成の
主要部をマイクロコンピュータのプログラムにより実現
している。
However, FIG. 1 is an explanatory diagram showing the configuration of the present invention in mechanical blocks, and in the embodiments described later, the main part of the above configuration is realized by a microcomputer program.

[作用] 以下、本発明の作用を第1図により説明する。[Effect] Hereinafter, the operation of the present invention will be explained with reference to FIG.

撮影用のレンズ(1)は被写体からの光を結像さぜる。A photographic lens (1) forms an image of light from a subject.

焦点検出手段(2)はレンズ(1)の焦点状態を検出す
る。レンズ(1)の焦点状態は、通常、合焦位置からの
デフォーカス量(焦点ずれ量)として検出され、その符
号により前ピンと後ピンを区別している。通常の焦点検
出時においては、焦点検出手段(2)の焦点検出結果に
基づいて、レンズ(1)を合焦位置に向けて駆動する。
The focus detection means (2) detects the focus state of the lens (1). The focus state of the lens (1) is usually detected as the amount of defocus (defocus amount) from the in-focus position, and front focus and back focus are distinguished by the sign. During normal focus detection, the lens (1) is driven toward the in-focus position based on the focus detection result of the focus detection means (2).

レンズ<1>の駆動は、レンズ駆動手段(3)により行
われる。
The lens <1> is driven by a lens driving means (3).

ところで、レンズ(1)の現在位置が合焦位置から大き
く外れている場合には、焦点検出手段(2)による焦点
検出が不能となる場合がある。この状態は焦点検出不能
判定手段(4)により判定される。
By the way, if the current position of the lens (1) is far away from the in-focus position, focus detection by the focus detection means (2) may become impossible. This state is determined by the focus detection failure determining means (4).

焦点検出が不能と判定され且つレンズ走査が禁止されて
いない場合には、レンズ走査制御手段(9)の制御下で
、レンズ駆動手段(3)によりレンズ(1)を駆動しな
がら焦点検出手段(2)により焦点検出を行うことによ
って、焦点検出可能なレンズ位置を探すレンズ走査(ロ
ーコンスキャン)が行われる。
When it is determined that focus detection is impossible and lens scanning is not prohibited, the focus detection means ( By performing focus detection in step 2), a lens scan (low contrast scan) is performed to search for a lens position where focus can be detected.

このレンズ走査はレンズ(1)の終端位置間、又はそれ
よりも少し狭い範囲で行われる。
This lens scanning is performed between the end positions of the lens (1) or within a slightly narrower range.

レンズ(1)の終端位置に関する情報はレンズ固有の情
報であり、第1の出力手段(5)から出力される。一方
、焦点検出手段(2)により焦点検出可能なデフォーカ
ス量DFaは焦点検出手段(2)の構成によって決まり
、第2の出力手段(6)から出力される。レンズ(1)
の現在位置NLはレンズ位置検出手段(7)により検出
される。レンズ(1)の現在位置NLは、通常、無限遠
位置からのレンズ繰り出し量として検出され、この場合
、無限遠位置におけるレンズ繰り出し量は0であるから
、第1の出力手段(5)は最近接位置におけるレンズ繰
り出しJiN+naxのみを出力すれば良い。第1の出
力手段(5)から出力される終端位置N maxに関す
る情報と、レンズ位置検出手段(7)にて検出されるレ
ンス位ffNLの情報に基づいて、レンズ(1)の現在
位置NLから最近接位置まてのデフォーカス量(Nma
x −NL)/ Kと、現在位WNLから無限遠位置ま
てのデフォーカス量(NL/K)が求まる。
Information regarding the end position of the lens (1) is lens-specific information and is output from the first output means (5). On the other hand, the defocus amount DFa that can be detected by the focus detection means (2) is determined by the configuration of the focus detection means (2), and is output from the second output means (6). Lens (1)
The current position NL of is detected by the lens position detection means (7). The current position NL of the lens (1) is usually detected as the amount of lens extension from the infinity position, and in this case, since the lens extension amount at the infinity position is 0, the first output means (5) It is sufficient to output only the lens extension JiN+nax at the contact position. From the current position NL of the lens (1) based on the information regarding the terminal position N max output from the first output means (5) and the information on the lens position ffNL detected by the lens position detection means (7) Defocus amount to the nearest position (Nma
x - NL)/K, and the defocus amount (NL/K) from the current position WNL to the infinite position is determined.

ここて、Iくは定数である。レンズ走査禁止判定手段(
8)は、これらのデフォーカス量(Nmax−NL)/
K及び(NL/K)が焦点検出手段(2)により焦点検
出可能なデフォーカス量DFa以内であるときには、レ
ンズ走査禁止と判定する。なぜなら、このような場合に
は、たとえレンズ走査を行っても焦点検出可能なレンズ
位置が見付かるはずはないからである。
Here, I is a constant. Lens scanning prohibition determination means (
8) are these defocus amounts (Nmax-NL)/
When K and (NL/K) are within the defocus amount DFa that can be detected by the focus detection means (2), it is determined that lens scanning is prohibited. This is because in such a case, even if lens scanning is performed, a lens position at which focus can be detected cannot be found.

レンズ走査禁止判定手段(8)によりレンズ走査禁止と
判定された場合には、レンズ走査制御手段(9)による
レンズ走査は行われず、表示手段(10)による焦点検
出不能表示が行われる。以上の動作により、無駄なレン
ズ走査を省略すると共に、焦点検出不能であることを迅
速に表示できるものである。
When the lens scanning prohibition determining means (8) determines that lens scanning is prohibited, the lens scanning control means (9) does not perform lens scanning, and the display means (10) displays an indication that focus detection is impossible. By the above-described operation, unnecessary lens scanning can be omitted, and it is possible to quickly display that the focus cannot be detected.

ところで、第1図に例示したレンズ位置においては、現
在位WNLから最近接位置までのデフォーカス量(N 
max −N L)/ Kは焦点検出可能なデフォーカ
スi D P a以内であるが、現在位置N、から無限
遠位置までのデフォーカス量(NL/K)は焦点検出可
能なデフォーカス量DFaよりも大きいのて、レンズ走
査禁止とは判定されない。この場合、中間位置判定手段
(11)によりレンズ(1)の中間位置から終端位置ま
てのデフォーカス量(Nmax/2K)が焦点検出可能
なデフォーカスJI D F a以内であるかを判定さ
れる。(N max/ 2 K )≦DFaと判定され
た場合には、レンズ走査制御手段(9)によるレンズ走
査を禁止すると共に、中間位置設定手段く12)の制御
下にてレンズ(1)を中間位置(Nmax/ 2 )に
移動させる。第1図に示した例では、レンズ(1)が中
間位置にあるときには、レンズ(1)の全フォーカス範
囲が焦点検出可能範囲2DFaに含まれるので、中間位
置へのレンズ移動のみが行われ、レンズ走査は行われな
い。
By the way, at the lens position illustrated in FIG. 1, the defocus amount (N
max -N L)/K is within the focus detectable defocus iDPa, but the defocus amount (NL/K) from the current position N to the infinite position is within the focus detectable defocus amount DFa Even if the value is larger than , it is not determined that lens scanning is prohibited. In this case, the intermediate position determining means (11) determines whether the defocus amount (Nmax/2K) from the intermediate position to the final position of the lens (1) is within the defocus JI D Fa that allows focus detection. Ru. If it is determined that (N max / 2 K )≦DFa, the lens scanning by the lens scanning control means (9) is prohibited, and the lens (1) is moved to the intermediate position under the control of the intermediate position setting means (12). Move to position (Nmax/2). In the example shown in FIG. 1, when the lens (1) is at the intermediate position, the entire focus range of the lens (1) is included in the focus detectable range 2DFa, so the lens is only moved to the intermediate position. No lens scanning is performed.

[実施例] 第2図は、本発明の一実施例としてのカメラの回路構成
を示すブロック回路図である。ただし、焦点検出動作に
直接関係しない部分については図示を省略しである。(
μC)は焦点調節のための演算及びシーケンス制御を行
うマイクロコンピュータである。(L E C)は交換
レンズ内に設けられたレンズ回路て、交換レンズ固有の
情報をマイクロコンピュータ(μC)に伝達する。(A
 F C)は、上記レンズを通過した被写体光を光電変
換して焦点検出データを出力する焦点検出回路で、焦点
検出データをデジタル信号に変換して、マイクロコンピ
ュータ(μC)に出力する。(DSP)は表示回路で、
レンズの合焦表示及び焦点検出不能表示を行う。(I 
LM)は被写体に焦点検出用の補助光を照射するための
補助光発光装置である。(M)は交換レンズのフォーカ
シングレンズを駆動するためのモータであり、レンズ駆
動回路(LDC)の制御下にてレンズの繰り出し及び繰
り込みを行う。レンズ駆動回路(L D C)は、マイ
クロコンピュータ(μC)からのモータ駆動速度の信号
、モータ駆動方向の信号及びモータ停止の制御信号を入
力し、これに基づいて、モータ(M)を駆動する。(E
NC)はエンコーダて、モータ(M)の回転量を検出し
、モータ(M>の所定の回転量に応じてマイクロコンピ
ュータ(μC)にパルスを出力する。
[Embodiment] FIG. 2 is a block circuit diagram showing the circuit configuration of a camera as an embodiment of the present invention. However, illustrations of parts not directly related to the focus detection operation are omitted. (
μC) is a microcomputer that performs calculations and sequence control for focus adjustment. (LEC) is a lens circuit provided within the interchangeable lens, and transmits information specific to the interchangeable lens to the microcomputer (μC). (A
FC) is a focus detection circuit that photoelectrically converts the subject light that has passed through the lens and outputs focus detection data, which converts the focus detection data into a digital signal and outputs it to a microcomputer (μC). (DSP) is a display circuit,
Indicates whether the lens is in focus or if focus cannot be detected. (I
LM) is an auxiliary light emitting device for irradiating a subject with auxiliary light for focus detection. (M) is a motor for driving the focusing lens of the interchangeable lens, and extends and retracts the lens under the control of a lens drive circuit (LDC). The lens drive circuit (LDC) receives a motor drive speed signal, a motor drive direction signal, and a motor stop control signal from the microcomputer (μC), and drives the motor (M) based on these signals. . (E
The encoder (NC) detects the amount of rotation of the motor (M) and outputs pulses to the microcomputer (μC) in accordance with a predetermined amount of rotation of the motor (M).

ここで、マイクロコンピュータ(μC)は、レンズを最
も繰り込んだ状態である無限遠位置がらのレンズの繰り
出し量を絶対量として知るためのレンズ位置カウンタN
Lを内蔵している。このレンズ位置カウンタNLは、レ
ンズが無限遠位置に繰り込まれたときに内部の命令によ
りNL=Oにリセッl〜され、レンズか繰り出されてい
るときには、内部の命令によりエンコーダ(E N C
)からのパルスに応してカウントアツプされ、レンズが
繰り込まれているときには、内部の命令によりエンコー
ダ(ENC)からのパルスに応じてカウントダウンされ
る。レンズが最近接位置まで繰り出されたときには、レ
ンズ位置カウンタN、の値はNL=N+naxとなる。
Here, the microcomputer (μC) uses a lens position counter N to know as an absolute amount the amount of lens extension from the infinity position, which is the most retracted state of the lens.
It has a built-in L. This lens position counter NL is reset to NL=O by an internal command when the lens is retracted to the infinite position, and when the lens is extended, the encoder (E N C
) is counted up in response to pulses from the encoder (ENC), and when the lens is retracted, it is counted down in response to pulses from the encoder (ENC) by an internal command. When the lens is extended to the closest position, the value of the lens position counter N becomes NL=N+nax.

この最大繰り出し量N maxはレンズにより夫々異な
り、レンズ回路(L E C)からレンズ固有の情報と
してマイクロコンピュータ(μC)に読み込まれる。
This maximum extension amount N max differs depending on the lens, and is read into the microcomputer (μC) from the lens circuit (LEC) as lens-specific information.

(BAT)は電源電池であり、マイクロコンピュータ(
μC)及び他の回路に電力を供給する。電源電池(BA
T)の両端には、抵抗(R1)とコンデンサ(C1)の
直列回路よりなる時定数回路が接続されており、抵抗(
R1)とコンデンサ(C1)の接続点はマイクロコンピ
ュータ(μC)のパワーオンリセット端子(RES)に
接続されている。電源電池(BAT)を接続すると、マ
イクロコンピュータ(μC)の電源端子(Vcc)とア
ース端子(G N D )の間に電源電圧が印加されて
、マイクロコンピュータ(μC)が能動状態になるが、
コンデンサ(C1)の充電電圧、即ちマイクロコンピュ
ータのリセツ1へ端子(RES)に印加される電圧が所
定電圧に達するまでは、マイクロコンピュータ(μC)
は動作しない。コンデンサ(C1)の電圧が所定電圧以
上になると、マイクロコンピュータ(μC)はリセット
されて、後述のステップ#5(第3図参照)からの動作
を開始する。
(BAT) is a power supply battery, and a microcomputer (
μC) and other circuits. Power battery (BA
A time constant circuit consisting of a series circuit of a resistor (R1) and a capacitor (C1) is connected to both ends of the resistor (T).
The connection point between R1) and the capacitor (C1) is connected to the power-on reset terminal (RES) of the microcomputer (μC). When the power battery (BAT) is connected, a power supply voltage is applied between the power terminal (Vcc) and the ground terminal (GND) of the microcomputer (μC), and the microcomputer (μC) becomes active.
Until the charging voltage of the capacitor (C1), that is, the voltage applied to the reset terminal (RES) of the microcomputer reaches a predetermined voltage, the microcomputer (μC)
doesn't work. When the voltage of the capacitor (C1) exceeds a predetermined voltage, the microcomputer (μC) is reset and starts operation from step #5 (see FIG. 3), which will be described later.

(SR)はリセットスイッチであり、このスイッチがO
Nされると、レンズは初期位置にリセットされる。(S
cc+)は無限遠位置検出スイッチであり、レンズが無
限遠位置に繰り込まれたときにONされる。(SM)は
メインスイッチであり、カメラの使用時にONされる。
(SR) is a reset switch, and this switch is OFF.
When N is pressed, the lens is reset to the initial position. (S
cc+) is an infinity position detection switch, which is turned on when the lens is retracted to the infinity position. (SM) is a main switch, which is turned on when using the camera.

(Sl)は撮影準備スイッチであり、通常は、レリース
釦(図示せず)の第1ストローツでONされる。(SA
F)はAFモードスイッチであり、このスイッチ(SA
F)がONであるときには、焦点検出結果に基づいて合
焦位置にレンズを駆動するオートフォーカスモードが選
択され、スイッチ(SAF)がOFFであるときには、
焦点検出結果に基づいて合焦又は非合焦の表示のみを行
い、レンズ駆動は行わないマニュアルフォーカスモード
が選択される。(SMZ)はマクロゾーンスイッチであ
り、マクロall構付きのズームレンズにおいて、ズー
ムリングをマクロゾーンに設定したときに開放される。
(Sl) is a photographing preparation switch, which is normally turned on by the first stroke of a release button (not shown). (SA
F) is the AF mode switch, and this switch (SA
When F) is ON, an autofocus mode is selected that drives the lens to the in-focus position based on the focus detection result, and when the switch (SAF) is OFF,
A manual focus mode is selected in which only in-focus or out-of-focus is displayed based on the focus detection result and no lens driving is performed. (SMZ) is a macro zone switch, which is opened when the zoom ring is set to the macro zone in a zoom lens with a macro all structure.

本実施例で使用されるマクロ機構付きのズームレンズで
は、ズームリングがマクロゾーンに設定されているとき
には、オートフォーカスモードが使用不可となるので、
これをマイクロコンピュータ(μC)に知らせるために
、レンズ回路(LEC)はマクロゾーンであることを示
す信号SMZをマイクロコンピュータ(μC)に出力す
る。
In the zoom lens with a macro mechanism used in this example, autofocus mode is disabled when the zoom ring is set to the macro zone.
In order to notify the microcomputer (μC) of this, the lens circuit (LEC) outputs a signal SMZ indicating the macro zone to the microcomputer (μC).

次に、カメラの焦点調節動作をフローチャートを参照し
ながら説明する。パワーオンリセットがなされると、マ
イクロコンピュータ(μC)は第3図に示す#5以降の
プログラムを実行する。まず、#5で全フラグをリセッ
トする。次に、#10でメインスイッチ(SM)がON
であるかを判定する。
Next, the focus adjustment operation of the camera will be explained with reference to a flowchart. When the power-on reset is performed, the microcomputer (μC) executes the programs starting from #5 shown in FIG. First, all flags are reset in #5. Next, turn on the main switch (SM) with #10.
Determine whether

メインスイッチ(SM)がONでなければ、ONされる
まて、#10の判定を繰り返す。メインスイッチ(SM
)がONであれば、#15でレンズ初期位置演算のサブ
ルーチン(第9図)を実行し、#2゜でω繰り込みのサ
ブルーチン(第10図)を実行し、#25でレンズ初期
位置セットのサブルーチン(第11図)を実行した後、
#30でメインスイッチ(SM)がOFFかを判定する
。メインスイッチ(SM)がOFFであれば、#35で
の繰り込みのサブルーチンを実行し、#10に戻る。#
30でメインスイッチ(SM)がOFFでなければ、#
45に進む。
If the main switch (SM) is not turned on, the determination in #10 is repeated until it is turned on. Main switch (SM
) is ON, the lens initial position calculation subroutine (Figure 9) is executed in #15, the ω renormalization subroutine (Figure 10) is executed in #2°, and the lens initial position set is executed in #25. After executing the subroutine (Figure 11),
At #30, it is determined whether the main switch (SM) is OFF. If the main switch (SM) is OFF, the renormalization subroutine at #35 is executed and the process returns to #10. #
If the main switch (SM) is not OFF at 30, #
Proceed to step 45.

第9図はレンズ初期位置演算のサブルーチンの内容を示
すフローチャートである。このサブルーチンがコールさ
れると、まず、#1000でレンズ回路(LEC)から
レンズデータの入力を行う。
FIG. 9 is a flowchart showing the contents of a subroutine for calculating the lens initial position. When this subroutine is called, first, in #1000, lens data is input from the lens circuit (LEC).

レンズ回路(L E C)からは、レンズ装着信号IC
P、マクロゾーン信号SMZ、等倍量上マクロレンズ装
着信号LCPR1最大繰り出し量N max、焦点距離
r、変換係数に等がマイクロコンピュータ(μC)に入
力される。ここて、変換係数には、デフォーカス量DF
をレンズ駆動量ΔNに変換するための係数である。#1
005では、等倍量上マクロレンズ装着信号LCPRの
有無を判定する。
From the lens circuit (LEC), the lens attachment signal IC
P, the macro zone signal SMZ, the same magnification upper macro lens mounting signal LCPR1, the maximum extension amount N max, the focal length r, the conversion coefficient, etc. are input to the microcomputer (μC). Here, the conversion coefficient includes the defocus amount DF
This is a coefficient for converting ΔN into a lens drive amount ΔN. #1
In step 005, it is determined whether or not the same magnification macro lens attachment signal LCPR is present.

#1005て等倍量上マクロレンズが装着されていれば
、#1040てレンズ初期位置セット用のデフォーカス
量DFsをDF+n/2とし、サブルーチンがコールさ
れたステップにリターンする。ここで、DF+^はレン
ズの最近接位置から無限遠位置までの範囲をカバーする
最大デフォーカス量である。#1005で等倍量上マク
ロレンズが装着されていなければ、#1008で′デフ
ォーカス量DPI)を決める。このデフォーカス量DF
bは、撮影倍率βに応して決められたレンズ位置Nbま
での無限遠位置からのデフォーカス量である。本実施例
では、焦点距離fの情報から良く使用される撮影倍率β
を考慮して予め設定したレンズ位置Nbの情報をROM
テーブルがら読み出している。
If the same magnification macro lens is attached in #1005, the defocus amount DFs for setting the lens initial position is set to DF+n/2 in #1040, and the process returns to the step in which the subroutine was called. Here, DF+^ is the maximum defocus amount that covers the range from the closest position to the infinity position of the lens. If the macro lens is not attached at the same magnification level in #1005, the 'defocus amount DPI) is determined in #1008. This defocus amount DF
b is the amount of defocus from the infinite position to the lens position Nb determined according to the photographing magnification β. In this example, based on the information on the focal length f, the commonly used photographic magnification β
The information of the lens position Nb, which is set in advance in consideration of
Reading from the table.

第1表は、種々の焦点距離のレンズについて、良く使用
される撮影倍率βと、これに応して決まるレンズ位置N
bに対応するデフォーカス量DFb、レンズの最大デフ
ォーカスJL D F mを示す。なお、DFaは焦点
検出回路(A F C)の構成によって決まる焦点検出
可能なデフォーカス量であり、焦点検出可能範囲はその
2倍の2DFaとなる。
Table 1 shows commonly used photographic magnification β and lens position N determined accordingly for lenses with various focal lengths.
The defocus amount DFb corresponding to b and the maximum defocus JL D F m of the lens are shown. Note that DFa is a defocus amount that allows focus detection and is determined by the configuration of the focus detection circuit (AFC), and the focus detection range is 2DFa, which is twice that amount.

#1010では、DFb>DFaであるかを判定する。In #1010, it is determined whether DFb>DFa.

#1010でDFb>DFaであれば、#1030でレ
ンズ初期位置セット用のデフォーカス量DFsをDFa
とし、#1060てレンズ位置セットフラグ5ETFを
1とし、サブルーチンがコールされたステップにリター
ンする。# 、1010でDFb≦DFaであれば、#
1020でレンズ初期位置セット用のデフォーカス量D
FsをDFbとし、#1050でレンズ位置セットフラ
グ5ETFを1とし、サブルーチンがコールされたステ
ップにリターンする。
If DFb>DFa in #1010, the defocus amount DFs for setting the lens initial position is set to DFa in #1030.
Then, in #1060, the lens position set flag 5ETF is set to 1, and the process returns to the step where the subroutine was called. #, if DFb≦DFa in 1010, #
1020 is the defocus amount D for setting the lens initial position.
Fs is set to DFb, the lens position set flag 5ETF is set to 1 in #1050, and the process returns to the step where the subroutine was called.

第1表 たたし、上表において、 牢は28〜135mmのズームレンズが135mmにあ
るとき、tは70〜210 m mのズームレンズが2
10mmにあるとき、本は75〜300mmのズームレ
ンズが300 m mにあるときのデータである。
In Table 1, in the above table, when the 28-135 mm zoom lens is at 135 mm, t is 70-210 mm, and the 28-135 mm zoom lens is at 2.
When at 10mm, the book is data when a 75-300mm zoom lens is at 300mm.

第12図は#1010〜#1030のステ・ンプの意味
を説明するための図である。同図(a)は撮影倍率βに
応じて決められたレンズ位置Nbから無限遠位置まての
デフォーカス1DFbが、焦点検出可能なデフォーカス
量DFaよりも大きい場合を示しており、この場合には
、DFs=DFaとしている。したがって、レンズ初期
位1Ns=DFsXKにおいては、無限遠位置を焦点検
出可能範囲2DFa内に含んでおり、焦点検出不能の場
合にはレンズを繰り出す方向のスキャンのみを行えば良
い。同図(b)は撮影倍率βに応して決められたレンズ
位置Nbから無限遠位置までのデフォーカス量DFbが
、焦点検出可能なデフ]−カス量DFa以下である場合
を示しており、この場合には、DFs=DFbとしてい
る。この場合においても、レンズ初期位置N5=DFs
XIぐにおいては、無限遠位置を焦点検出可能範囲2D
Fa内に含んでおり、焦点検出不能の場合にはレンズを
繰り出す方向のスキャンのみを行えば良い。
FIG. 12 is a diagram for explaining the meaning of steps #1010 to #1030. Figure (a) shows a case where the defocus 1DFb from the lens position Nb to the infinity position determined according to the imaging magnification β is larger than the defocus amount DFa that allows focus detection. is set as DFs=DFa. Therefore, at the initial lens position 1Ns=DFsXK, the infinity position is included in the focus detectable range 2DFa, and if the focus cannot be detected, it is only necessary to scan in the direction in which the lens is extended. The same figure (b) shows the case where the defocus amount DFb from the lens position Nb to the infinity position determined according to the imaging magnification β is less than or equal to the focus detectable def] - the amount of waste DFa, In this case, DFs=DFb. In this case as well, lens initial position N5=DFs
In XI, the infinity position is the focus detectable range 2D.
If the focus cannot be detected, it is sufficient to scan only in the direction in which the lens is extended.

第10図はω繰り込みのサブルーチンの内容を示すフロ
ーチャートである。このサブルーチンがコールされると
、#1100てレンズ繰り込みを開始し、#1 ]、 
05て無限遠位置検出スイッチ(Sω)がONであるか
を判定する。#1105てスイッチ(Sω)がONてな
ければ、スイッチ(S(1))がONになるまて#11
05の判定動作を繰り返す。# 11.05でレンズが
無限遠位置まで繰り込まれてスイッチ(S■)がONと
なれば、#1110でレンズ縁り込みを停止し、#11
15でレンズ位置カウンタNLをリセットし、サブルー
チンがコールされたステップにリターンする。
FIG. 10 is a flowchart showing the contents of the ω renormalization subroutine. When this subroutine is called, lens renormalization starts at #1100, and #1 ],
05, it is determined whether the infinite position detection switch (Sω) is ON. #1105 If the switch (Sω) is not ON, the switch (S(1)) will be ON.
05 is repeated. When the lens is retracted to the infinity position in #11.05 and the switch (S■) is turned on, the lens retraction is stopped in #1110, and the lens is retracted in #11.
At step 15, the lens position counter NL is reset, and the subroutine returns to the called step.

第11図はレンズ初期位置セットのサブルーチンの内容
を示すフローチャートである。このサブルーチンがコー
ルされると、#1200でレンズ初期位置セット用のデ
フォーカス量DFsに変換係数Kを乗算して、無限遠位
置からのレンズ駆動量ΔN=DFsXIぐを算出し、#
1205でレンズ繰り出しを開始する。#1210では
、レンズ駆動量がΔNに達したかを判定する。#121
0てレンズ駆動量かΔNに達していなければ、レンズ駆
動量がΔNに達するまて#1210の判定動作を繰り返
す。#1210でレンズ駆動量がΔNに達すれば、#1
215てレンズ駆動を停止し、サブルーチンがコールさ
れたステ・ツブにリターンする。
FIG. 11 is a flowchart showing the contents of the subroutine for setting the lens initial position. When this subroutine is called, the defocus amount DFs for setting the lens initial position is multiplied by the conversion coefficient K in #1200 to calculate the lens drive amount ΔN=DFsXI from the infinity position, and #
At 1205, lens extension is started. In #1210, it is determined whether the lens drive amount has reached ΔN. #121
If the lens drive amount has not reached ΔN at 0, the determination operation in #1210 is repeated until the lens drive amount reaches ΔN. If the lens drive amount reaches ΔN in #1210, #1
At step 215, lens driving is stopped and the process returns to the step from which the subroutine was called.

第3図のフローに戻って、#45ては、APモードスイ
ッチ(SAF)がONであるかを判定する。
Returning to the flow of FIG. 3, in #45, it is determined whether the AP mode switch (SAF) is ON.

#45でAFモートスイッチ(SAF)がONでなけれ
ば、#50でマニュアルフォーカスモードであることを
示すフラグM Fを1として、#80に進む。#45で
AFモードスイ・ンチ(SAF)がONであれば、#5
5てフラグMFが1であるかを判定する。#55でMP
=1であれば、スイ・ンチ(SAF)がONされた直後
ということであり、#60でフラグMFを0として#6
5に進む。#65〜#75ては、上述のレンズ初期位置
演算、co繰り込み、レンズ初期位置セットの各サブル
ーチンを実行して、レンズ初期位置セットを行い、その
後、#145に進む。#55でMF=1でなければ、以
前からスイッチ(SAF)がONであったということて
あり、#80に進む。
If the AF motor switch (SAF) is not ON in #45, the flag MF indicating manual focus mode is set to 1 in #50, and the process proceeds to #80. If AF mode switch (SAF) is ON in #45, #5
5, it is determined whether the flag MF is 1 or not. MP with #55
If = 1, it means that the switch (SAF) has just been turned on, and the flag MF is set to 0 in #60 and #6
Proceed to step 5. In #65 to #75, the above-described subroutines of lens initial position calculation, co renormalization, and lens initial position setting are executed to set the lens initial position, and then the process proceeds to #145. If MF=1 is not found in #55, it means that the switch (SAF) has been on for some time, and the process proceeds to #80.

#80ては、レンズ装着信号ICPの有無を判定する。In #80, the presence or absence of the lens attachment signal ICP is determined.

#80てレンズが装着されていなければ、#100てレ
ンズが未装着であることを示すフラグLENOFを1と
し、#105に進む。#80で撮影レンズが装着されて
いれば、#90でフラグLENOFが1であるかを判定
する。#90でLENOF=1であれば、レンズが装着
された直後ということであり、#95でフラグLENO
Fを0とし、#65〜#75のレンズ初期位置セットを
行った後、#145に進む。#90でLENOF=1で
なければ、以前からレンズが装着されていたということ
であり、#105に進む。
If the lens is not attached in #80, the flag LENOF indicating that the lens is not attached is set to 1 in #100, and the process proceeds to #105. If the photographing lens is attached at #80, it is determined whether the flag LENOF is 1 at #90. If LENOF=1 in #90, it means that the lens has just been attached, and the flag LENOF is set in #95.
After setting F to 0 and setting the lens initial position in #65 to #75, the process proceeds to #145. If LENOF is not 1 in #90, it means that the lens has been attached before, and the process proceeds to #105.

#105では、マクロゾーンスイッチ(SMZ)がON
であるかを、即ち、ズームレンズがマクロゾーンにない
かを判定する。#105でマクロゾーンスイッチ(SM
Z)がONでなければ、即ち、マクロゾーンにあれば、
#110でマクロゾーンスイッチ(SMZ)がOFFで
あることを示すフラグSMZOFFを1とし、#125
に進む。#105でマクロゾーンスイッチ(SMZ)が
ONであれば、#115でフラグSMZOFFが1であ
るかを判定する。#1 ] 5でSMZOFF=1てあ
れば、マクロゾーンスイッチ(SMZ)がONされた直
後ということてあり、#120でフラグSMZOFFを
0とし、#65〜#75のレンズ初期位置セットを行っ
た後、#145に進む。#115TSMZOFF=1で
なければ、以前からマクロゾーンスイッチ(SMZ)が
ONされていたということであり、#125に進む。
At #105, the macro zone switch (SMZ) is turned on.
In other words, it is determined whether the zoom lens is in the macro zone. Macro zone switch (SM) with #105
Z) is not ON, that is, if it is in the macro zone,
In #110, the flag SMZOFF indicating that the macro zone switch (SMZ) is OFF is set to 1, and in #125
Proceed to. If the macro zone switch (SMZ) is ON in #105, it is determined in #115 whether the flag SMZOFF is 1. #1] If SMZOFF = 1 in 5, it means that the macro zone switch (SMZ) has just been turned on, so in #120, set the flag SMZOFF to 0, and set the initial lens position in #65 to #75. After that, proceed to #145. #115 If TSMZOFF=1, it means that the macro zone switch (SMZ) has been turned on before, and the process proceeds to #125.

#125では、リセットスイッチ(SR)がONである
かを判定する。#125でリセットスイッチ(SR)が
ONでなければ、#130てリセットスイッチ(SR)
かOFFであることを示すフラグ5ROFFを1とし、
#145に進む。#125でリセットスイッチ(SR)
がONであれば、#135てフラグ5ROFFが1であ
るかを判定する。
In #125, it is determined whether the reset switch (SR) is ON. If the reset switch (SR) is not ON in #125, turn on the reset switch (SR) in #130.
The flag 5ROFF indicating that the flag is OFF is set to 1,
Proceed to #145. #125 reset switch (SR)
If it is ON, it is determined in #135 whether the flag 5ROFF is 1 or not.

#135て5ROFF=1であれば、リセットスイッチ
(SR)がONされた直後ということてあり、#140
でフラグ5ROFFを0とし、#65〜#75のレンズ
初期位置セットを行った後、#145に進む。#135
で5ROFF−4でなければ、以前からリセットスイッ
チ(SR)はONされていたということであり、既にレ
ンズは初期位置にセットされているので、#65〜#7
5のレンズ初期位置セットは行わずに、#145に進む
If #135 and 5ROFF = 1, it means that the reset switch (SR) has just been turned on, and #140
After setting the flag 5ROFF to 0 and performing the lens initial position setting in #65 to #75, the process proceeds to #145. #135
If it is not 5ROFF-4, it means that the reset switch (SR) has been turned on before, and the lens has already been set to the initial position, so #65 to #7
The process proceeds to #145 without performing the lens initial position setting in step 5.

しながって、メインスイッチ(SM)の投入直後にレン
ズ初期位置セット(#15〜#25)を行った後は、A
Fモードスイッチ(SAF)がONされた直後か、レン
ズが装着された直後が、マクロゾーンスイッチ(SMZ
)がONされた直後が、又は、リセッ1へスイッチ(S
R)がONされた直後、若しくは、後述のローコンスキ
ャンを行ってもなお焦点検出不能で且つ撮影準備スイッ
チ(Sl)をOFFした後に再度ONL、た場合(# 
155参照)にのみ、レンズ初期位置セラl’(#65
〜#75)が行われ、それ以外の場合にはレンズ初期位
置セットは行われない。したがって、似たような場面を
撮影する場合や、複数コマの写真を連写する場合のよう
な前回のレンズ位置付近で合焦する確率か高い場合には
、レンズ初期位置セットは行われず、焦点検出の度にレ
ンズ初期位置セットが行われる場合に比べ、電力消費量
が少なくなり、かつ、焦点調節に必要な時間が短くなる
Therefore, after setting the lens initial position (#15 to #25) immediately after turning on the main switch (SM),
Immediately after the F mode switch (SAF) is turned on or the lens is attached, the macro zone switch (SMZ
) is turned on, or switch to reset 1 (S
R) is turned ON, or if the focus cannot be detected even after performing the low-contrast scan described later and the camera is turned ON again after turning off the shooting preparation switch (Sl) (#
(see #155), lens initial position cell l'(#65
~ #75) is performed, and in other cases, lens initial position setting is not performed. Therefore, when the probability of focusing near the previous lens position is high, such as when photographing a similar scene or when shooting multiple frames in succession, the initial lens position is not set and the focus is Compared to the case where the lens initial position is set every time detection is performed, power consumption is reduced and the time required for focus adjustment is reduced.

#145では、撮影準備スイッチ(Sl)がONである
かを判定する。撮影準備スイッチ(Sl)かONされて
いないときは、#40て全表示を消して、#30に戻る
。以下、#30、#45、#80、#105、#125
、#145を通るループを巡りながら、メインスイッチ
(SM)、APモードスイッチ(SAF)、レンズ装着
信号ICP、マクロゾーンスイッチ(SMZ)、リセッ
トスイッチ(SR)、撮影準備スイッチ(31>の状態
をモニターする。
In #145, it is determined whether the photographing preparation switch (Sl) is ON. If the photographing preparation switch (Sl) is not turned on, press #40 to turn off all displays and return to #30. Below, #30, #45, #80, #105, #125
, while going around the loop passing through #145, check the status of the main switch (SM), AP mode switch (SAF), lens attachment signal ICP, macro zone switch (SMZ), reset switch (SR), and shooting preparation switch (31>). Monitor.

このループの途中で、メインスイッチ(SM)がOFF
されたときには、上述のように、■繰り込み(#35)
を行って、再びメインスイッチ(SM)がONされるま
で待機する(#10)。また、ループの途中で、スイッ
チ(SAF)、(SMZ)、(SR)のいずれかがON
されるか、又は、レンズか装着されたときは、その都度
、レンス初期位置セツ1〜(#65〜#75)を行う。
In the middle of this loop, the main switch (SM) is turned off.
When it is, as mentioned above, ■ Renormalization (#35)
and waits until the main switch (SM) is turned on again (#10). Also, in the middle of the loop, one of the switches (SAF), (SMZ), and (SR) is turned ON.
or when the lens is attached, perform lens initial position setting 1 to (#65 to #75) each time.

このようにして、カメラは撮影準備スイッチ(Sl)が
ONされるのを待っているが、#145で撮影準備スイ
ッチ(Sl)がONとなれば、焦点検出を開始するべく
、#155(第4図)に進む。
In this way, the camera waits for the shooting preparation switch (Sl) to be turned on. When the shooting preparation switch (Sl) is turned on in #145, the camera waits for the shooting preparation switch (Sl) to be turned on in #155 (step #155) to start focus detection. Proceed to Figure 4).

#155では、後述するローコンスキャンエンドフラグ
LSENDFが1であるがを判定する。
In #155, it is determined whether a low contrast scan end flag LSENDF, which will be described later, is 1.

最初は、LSENDF=Oであるのて、#175で焦点
検出を行い、#180で焦点検出不能であるかを判定す
る。#180て焦点検出不能でなければ、合焦判定を行
うべく、#285(第7図)に進む。#180で焦点検
出不能であれば、#185て低輝度であるかを判定する
。#185で低輝度であれば、補助光を発光すべく、#
330(第8図〉に進む。#185て低輝度でなければ
、#190及び#191(第5図)で、 (N max  N L)/ K > D F a又は
、N L/ K > D F a     ・・■が満
たされているがを判定する。#19o及び#191で条
件■が満たされない場合には、レンズの全フォーカス範
囲が焦点検出可能範囲2DFaに含まれていることにな
る。それにも拘わらず焦点検出不能であるということは
、ローコンスキャン(レンズを駆動しながら焦点検出を
行い、焦点検出可能な位置を探す動作)を行っても焦点
検出可能となるはずはなく、ローコンスキャンを行うの
は無駄である。そこて、ローコンスキャンを行うことな
く、#255(第7図参照)に進んて、焦点検出不能表
示を行う。
Initially, since LSENDF=O, focus detection is performed in #175, and it is determined in #180 whether focus detection is impossible. If the focus cannot be detected in #180, the process proceeds to #285 (FIG. 7) to perform focus determination. If the focus cannot be detected in #180, it is determined in #185 whether the brightness is low. If the brightness is low in #185, #
Proceed to 330 (Figure 8). If the brightness is not low in #185, then in #190 and #191 (Figure 5), (N max NL)/K > D Fa or NL/K > D It is determined whether F a . However, the fact that the focus cannot be detected means that there is no way that the focus can be detected even if you perform a low contrast scan (detecting the focus while driving the lens and searching for a position where the focus can be detected). It is wasteful to perform the con scan.Therefore, the process proceeds to #255 (see FIG. 7) without performing the low con scan, and a focus detection failure display is performed.

#190又は#191で条件■が満たされていれば、#
192て、 N max/ 2 K≦DFa     ・・・■が満
たされているかを判定する。ここで、N max/ 2
 Kは撮影レンズの中間位置から終端位置まてのデフォ
ーカス量(即ちD F m/ 2 >であり、装着され
たレンズに応じて決まる。また、2DFaは上述のよう
に、焦点検出回路(AFC)の構成によって決まる焦点
検出可能なデフォーカス量であり、カメラボディ側の定
数である。#192て条件■が満たされる場合には、仮
に、レンズが中間位置にあれば、レンズの全フォーカス
範囲Nmax/Kが焦点検出可能範囲2DFaに含まれ
るので、わさ゛わざローコンスキャンを行う必要はない
。そこで、レンズを中間位置Nmax/2に移動させる
べく、#193でレンズ駆動量ΔN = Nmax/ 
2−N、の演算を行い、#1941てレンズ駆動を開始
する。#1942では、レンズ駆動量がΔNに達したか
を判定する。#1942でレンズ駆動量がΔNに達して
いなければ、レンズ駆動量がΔNに達するまで#194
2の判定動作を繰り返す。
If condition ■ is satisfied in #190 or #191, #
192, it is determined whether N max/2 K≦DFa...■ is satisfied. Here, Nmax/2
K is the amount of defocus from the intermediate position to the final position of the photographing lens (that is, D F m/2 >, which is determined depending on the attached lens. As mentioned above, 2DFa is the amount of defocus from the intermediate position to the final position of the photographic lens. ) is the amount of defocus that allows focus detection, determined by the configuration of Since Nmax/K is included in the focus detectable range 2DFa, there is no need to perform a low contrast scan.Therefore, in order to move the lens to the intermediate position Nmax/2, in #193, the lens drive amount ΔN = Nmax/
2-N is calculated, and lens driving is started in #1941. In #1942, it is determined whether the lens drive amount has reached ΔN. If the lens drive amount has not reached ΔN in #1942, continue #194 until the lens drive amount reaches ΔN.
Repeat the judgment operation in step 2.

# ]、 942てレンズ駆動量がΔNに達すれば、#
1943でレンズ駆動を停止し、#195で焦点検出を
行った後、#196て焦点検出不能であるかを判定する
。#196で焦点検出不能であれば、ローコンスキャン
を行っても焦点検出可能となるはすはなく、ローコンス
キャンを行うのは無駄である。そこで、ローコンスキャ
ンを行うことなく、#255(第7図)に進んで、焦点
検出不能表示を行う。焦点検出不能てなければ、合焦判
定を行うべく、#285(第7図)に進む。
# ], if the lens drive amount reaches ΔN in 942, #
After stopping the lens drive in 1943 and performing focus detection in #195, it is determined in #196 whether focus detection is impossible. If the focus cannot be detected in #196, there is no way that the focus can be detected even if the low contrast scan is performed, and it is wasteful to perform the low contrast scan. Therefore, the process proceeds to #255 (FIG. 7) without performing the low contrast scan, and displays that the focus cannot be detected. If the focus cannot be detected, the process proceeds to #285 (FIG. 7) to make a focus determination.

−四一 =28− #192て条件■が満たされない場合には、レンズ位置
を何処に変えてもレンズの全フォーカス範囲Nmax/
Kを焦点検出可能範囲2DFa内にカバーすることはで
きない。そこで、この場合には、止むを得ずローコンス
キャンを行うが、ローコンスキャンの範囲を可能な限り
狭い範囲に限定して行うことにより、ローコンスキャン
に要する時間を短縮するように工夫している。すなわち
、#198(第6図)では、繰り出し方向のスキャン量
をΔN=Nmax−NL−DFaXKとして算出する。
-41=28- If condition #192 is not satisfied, the total focus range of the lens is Nmax/no matter where you change the lens position.
K cannot be covered within the focus detectable range 2DFa. Therefore, in this case, a low-contrast scan is unavoidably performed, but we devised a way to shorten the time required for a low-contrast scan by limiting the range of the low-contrast scan to as narrow a range as possible. ing. That is, in #198 (FIG. 6), the scanning amount in the feeding direction is calculated as ΔN=Nmax-NL-DFaXK.

これは、最大繰り出し位置N maxまで繰り出さなく
ても、DFaXKだけ手前の位置まで繰り出せば、最大
繰り出し位置N maxも焦点検出可能範囲2DFa内
に入るからである。次に、スキャンの方向を知るために
、#200でフラグFOWFが1であるかを判定する。
This is because even if the lens is not extended to the maximum extension position N max, if it is extended to a position DFaXK in front of the user, the maximum extension position N max will also fall within the focus detectable range 2DFa. Next, in order to know the scanning direction, it is determined in #200 whether the flag FOWF is 1.

このフラグFOWFは、繰り出しくFOWard)方向
のスキャンを行うことを示すフラグである。初めてロー
コンスキャンを行うときには、フラグFOWFはリセッ
1へされているので、FOWF=1ではない。したがっ
て、最初は#205に進み、#205でFOWF=1と
して、#220に進む。#220ではレンズ駆動(繰り
出し方向)を行うべくレンズ駆動回路(1−DC)に信
号を出力し、#225で焦点検出を行った後、#230
で焦点検出不能であるかを判定する。#230で焦点検
出不能でなければ、#233でフラグFOWFをリセッ
トし、合焦判定を行うべく、#285(第7図)に進む
。#230で焦点検出不能であれば、#235でレンズ
駆動量がΔNに達したかを判定する。#235でレンズ
駆動量がΔNに達していなければ、#225に戻って、
繰り出し方向のレンズ駆動を続けながら、焦点検出不能
であるかを判定する。#235でレンズ駆動量がΔNに
達していれば、#240でレンズ駆動を停止し、#24
5てレンズ位置セットフラグ5ETFが1であるかを判
定する。#245で5ETF=1であれば、繰り込み方
向のスキャンを行うまでもなく、レンズの全フォーカス
範囲にわたって焦点検出不能であると判断てきるので、
焦点検出不能表示を行うべく、#255(第7図)に進
む。#245で5ETF=1てなければ、#250でフ
ラグFOWFが1であるかを判定する。
This flag FOWF is a flag indicating that scanning is to be performed in the direction (FOWard). When a low contrast scan is performed for the first time, the flag FOWF is reset to 1, so FOWF=1 is not set. Therefore, the process first proceeds to #205, sets FOWF=1 in #205, and proceeds to #220. In #220, a signal is output to the lens drive circuit (1-DC) to drive the lens (in the extending direction), and after focus detection is performed in #225, the signal is output in #230.
Determine whether focus detection is impossible. If focus detection is not possible in #230, the flag FOWF is reset in #233, and the process proceeds to #285 (FIG. 7) to perform focus determination. If the focus cannot be detected in #230, it is determined in #235 whether the lens drive amount has reached ΔN. If the lens drive amount has not reached ΔN in #235, return to #225,
While continuing to drive the lens in the extending direction, it is determined whether the focus cannot be detected. If the lens drive amount has reached ΔN in #235, the lens drive is stopped in #240, and in #24
5, it is determined whether the lens position set flag 5ETF is 1 or not. If 5ETF = 1 in #245, it is determined that focus cannot be detected over the entire focus range of the lens without scanning in the renormalization direction.
In order to display that the focus cannot be detected, the process advances to #255 (FIG. 7). If 5ETF is not equal to 1 in #245, it is determined in #250 whether the flag FOWF is 1.

#250でFOWP=1であれば、これは繰り出し方向
のスキャンを行ったが焦点検出可能なレンズ位置が見付
からなかったということであるから、今度は繰り込み方
向のスキャンを行うへ<、#200に戻る。#200で
FOWF=1てあれば、既に繰り出し方向のスキャンは
済ませたということであるから、#210で繰り込み方
向のスキャン量をΔN = D F a X K−N 
t−として算出する。これは、無限遠位置まで繰り込ま
なくても、DFa×にだけ手前の位置まて繰り込めば、
無限遠位置も焦点検出可能範囲2DFa内に入るからで
ある。
If FOWP=1 in #250, this means that the lens position where focus detection was possible was not found even though scanning was performed in the extending direction, so next scan in the retracting direction. return. If FOWF=1 in #200, it means that the scan in the feed-out direction has already been completed, so in #210, the scan amount in the renormalization direction is ΔN = D Fa X K-N
Calculated as t-. This means that even if you do not renormalize to the infinite position, if you renormalize only the position in front of DFa×,
This is because the infinite position also falls within the focus detectable range 2DFa.

#215では、繰り込み方向のスキャンであることを示
すべく、フラグFOWFを0とし、#220に進む。#
220ではレンズ駆動(繰り込み方向)を行うべくレン
ズ駆動回路(LDC)に信号を出力し、#225〜#2
45を経て、再ひ#250に至る。今度は、FOWF=
1ではないので、#200に戻ることはなく、#255
(第7図)に進む。つまり、#250でFOWF=1で
ない場合とは、繰り出し方向のスキャンも繰り込み方向
のスキャンも共に行ったが、焦点検出可能なレンズ位置
は見付からなかったということであるから、#255で
焦点検出不能表示を行うものである。
In #215, the flag FOWF is set to 0 to indicate that the scan is in the renormalization direction, and the process proceeds to #220. #
220 outputs a signal to the lens drive circuit (LDC) to drive the lens (in the retraction direction), and #225 to #2
After passing through 45, it reaches #250 again. This time, FOWF=
Since it is not 1, it does not return to #200, but #255
Proceed to (Figure 7). In other words, if FOWF is not 1 in #250, it means that both the scanning in the extending direction and the scanning in the retracting direction were performed, but no lens position where the focus could be detected was found, so the focus cannot be detected in #255. It performs display.

なお、繰り込み方向のスキャン中、#230で焦点検出
可能になった場合には、#233でフラグFOWFをリ
セッ1〜し、合焦判定を行うべく#285(第7図)へ
進む。
If focus detection becomes possible in #230 during scanning in the retraction direction, the flag FOWF is reset to 1 in #233, and the process proceeds to #285 (FIG. 7) to perform focus determination.

#255(第7図)て焦点検出不能表示を行うと、#2
60でローコンスキャンエンドフラグLSENDFを1
とする。このフラグは、ローコンスキャンを行ったが焦
点検出可能なレンズ位置は見付からなかったことを示す
ためのフラグである。なお、レンズの全フォーカス範囲
が焦点検出範囲2DFaに含まれるにも拘わらず焦点検
出不能となった場合(具体的には、#191又は#19
6から#255へ進んだ場合)には、実際にはローコン
スキャンを行っていなくても、#260てフラグLSE
NDFを1とする。これは、ローコンスキャンを行って
も焦点検出可能なレンズ位置が見付かるはずはないから
である。次に、#265てスキャン方向を示すフラグF
OWFを0に戻した後、#27oで撮影準備スイッチ(
Sl)がONであるかを判定する。#270で撮影準備
スイッチ(Sl)がONでなけれは、#40で全表示を
消して、#30に戻る。#270で撮影準備スイッチ(
Sl)がONであれば、#275て焦点検出を行い、#
280で焦点検出不能であるかを判定する。#280て
焦点検出不能であれば、#270に戻る。#280で焦
点検出不能でなければ、#285てレンズ位置セットフ
ラグ5ETFを0とし、#290でローコンスキャンエ
ンドフラグLSENDFをOとし、#295で合焦であ
るかを判定する。
#255 (Fig. 7) When displaying focus detection failure, #2
At 60, set the low contrast scan end flag LSENDF to 1
shall be. This flag is a flag to indicate that a lens position where the focus can be detected was not found even though the low contrast scan was performed. Note that if the focus cannot be detected even though the entire focus range of the lens is included in the focus detection range 2DFa (specifically, #191 or #19
6 to #255), the flag LSE is set in #260 even if low contrast scan is not actually performed.
Let NDF be 1. This is because even if a low contrast scan is performed, it is impossible to find a lens position where the focus can be detected. Next, #265 is the flag F indicating the scanning direction.
After returning OWF to 0, press #27o to turn the shooting preparation switch (
SL) is ON. If the photographing preparation switch (Sl) is not ON in #270, the entire display is turned off in #40 and the process returns to #30. Press #270 to turn on the shooting preparation switch (
Sl) is ON, performs focus detection in #275 and #
In step 280, it is determined whether focus detection is impossible. If the focus cannot be detected in #280, the process returns to #270. If the focus cannot be detected in #280, the lens position set flag 5ETF is set to 0 in #285, the low contrast scan end flag LSENDF is set to O in #290, and it is determined whether focus is achieved in #295.

#295で合焦状態でないと判定すると、#300に進
んて合焦及び焦点検出不能表示を消して、#305でデ
フォーカス量DFに基づいてレンズ駆動量ΔN=DFX
、Kを演算し、#310てレンズ駆動を開始する。#3
11では、レンズ駆動量がΔNに達したかを判定する。
If it is determined that the focus is not in focus in #295, the process proceeds to #300, where the in-focus and focus detection failure display is erased, and the lens drive amount ΔN=DFX is determined based on the defocus amount DF in #305.
, K are calculated, and lens driving is started in #310. #3
In step 11, it is determined whether the lens drive amount has reached ΔN.

#311てレンス駆動量がΔNに達していなければ、レ
ンズ駆動量がΔNに達するまで#311の判定動作を繰
り返ず。#311てレンズ駆動量がΔNに達すれば、#
312でレンズ駆動を停止し、#270に戻る。
If the lens driving amount has not reached ΔN in #311, the determination operation in #311 is repeated until the lens driving amount reaches ΔN. #311 When the lens drive amount reaches ΔN, #
At 312, the lens drive is stopped and the process returns to #270.

#270で撮影準備スイッチ(Sl)がONのままてあ
れば、#275て焦点検出を行い、#280〜#290
を経て、再び#295で合焦判定を行う。上述の#30
5及び#310のステップでレンズが合焦位置に向けて
駆動されているので、ここでは合焦となる可能性が高い
。#295で合焦てあれば、#315で合焦表示を行い
、#320て撮影準備スイッチ(Sl)がONであるか
を判定する。#320て撮影準備スイッチ(Sl)がO
Nてあれは、撮影準備スイッチ(Sl)がONてなくな
るまで、#320の判定動作を繰り返し、いわゆるフォ
ーカスロック状態となる。なお、本発明とは無関係であ
るか、フォーカス優先モードのカメラにあっては、この
フォーカスロック状態てルリーズが許可され、レリーズ
釦(図示せず)が第2ストロークまで押し込まれると、
カメラはレリーズ動作を行うものである。#320で撮
影準備スイッチ(Sl)がONでなくなれば、#40て
表示を消して、#30に戻る。つまり、撮影準備スイッ
チ(Sl)をOFFにすれば、上述のフォーカスロック
状態は解除される。
If the shooting preparation switch (Sl) remains ON in #270, focus detection is performed in #275, and then in #280 to #290
After that, focus determination is performed again in #295. #30 mentioned above
Since the lens is driven toward the in-focus position in steps #5 and #310, there is a high possibility that the focus will be achieved here. If the camera is in focus in #295, the focus is displayed in #315, and it is determined in #320 whether the photographing preparation switch (Sl) is ON. #320 and the shooting preparation switch (Sl) is set to O.
If N is selected, the determination operation of #320 is repeated until the photographing preparation switch (Sl) is no longer ON, resulting in a so-called focus lock state. Note that in a camera unrelated to the present invention or in a focus priority mode, release is permitted in this focus locked state, and when the release button (not shown) is pushed to the second stroke,
A camera performs a release operation. If the photographing preparation switch (Sl) is no longer ON in #320, the display is turned off in #40 and the process returns to #30. That is, by turning off the photographing preparation switch (Sl), the above-mentioned focus lock state is released.

撮影準備スイッチ(Sl)がOFFされた後、再びON
された場合には、#155でLSENDF−1と判定さ
れる場合がある。これは、以前に撮影準備スイッチ(S
l)をONにして焦点検出を行ったが焦点検出不能で、
ローコンスキャンを行っても焦点検出可能なレンズ位置
が見付からなかった場合、あるいは、ローコンスキャン
を行っても焦点検出可能なレンズ位置が見付かるはずが
ない場合である。この場合には、#157てフラグLS
ENDFを0に戻し、#65〜#75のレンズ初期位置
セットを行い、#145に進む。なお、#157へ進む
ときは、必ず撮影準備スイッチ(Sl)がOFFされた
後ONされたときたけである。
After the shooting preparation switch (Sl) is turned off, it is turned on again.
If so, it may be determined as LSENDF-1 in #155. This was previously set as the shooting preparation switch (S).
I turned on l) and performed focus detection, but the focus could not be detected.
This is a case where a lens position where focus detection is possible cannot be found even after performing a low contrast scan, or a case where a lens position where focus detection is possible cannot be found even after performing a low contrast scan. In this case, #157 flag LS
Return ENDF to 0, set the lens initial position in #65 to #75, and proceed to #145. Note that when proceeding to #157, the photographing preparation switch (Sl) must be turned OFF and then ON.

このとき、レンズ初期位置セットを行う理由は、ローコ
ンスキャンエンドフラグt、 S E N D F カ
]のときには、現在のレンズ位置付近に写したい被写体
が存在する確率が低いからてあり、また、特にローコン
スキャンを実際に行った場合には、レンズ位置が無限遠
位置又は最近接位置の近傍に偏っていることになるので
、これを適正な位置に戻す必要があるからである。
The reason for setting the initial lens position at this time is that when the low-contrast scan end flag t, S E N D F is set, the probability that the subject you want to photograph exists near the current lens position is low; This is because, especially when a low contrast scan is actually performed, the lens position will be biased toward infinity or near the closest position, so it is necessary to return it to an appropriate position.

次に、第8図の#330を通る場合には、#185及び
#180(第4図)において、低輝度で且つ焦点検出不
能であると判定されているのて、補助光発光が必要であ
るが、補助光を発光しても無駄な場合もあるのて、#3
30及び#335で、その判定を行う。ここて、第2図
に示す補助光発光装置(I LM)は、通常、カメラの
撮影レンズよりも上方に外部から装着された、あるいは
カメラ本体前面に設けられた発光ダイオードと投光用の
光学系とを含む。一方、焦点検出回路(A F C)は
、TTL位相差検出方式の焦点検出用光学系を含み、そ
の光軸は撮影レンズの光軸と一致する。したがって、補
助光投光用の光学系の光束域と焦点検出用の光束域とは
バララックスを有し、撮影レンズの一97= 一36= 前方の所定の距離(画角によって変化する)から向こう
では、焦点検出用の光束域が補助光投光用の光学系の光
束域に完全に含まれてしまう。この距離が補助光により
焦点検出を可能とすべく被写体を照射できる範囲の下限
てあり、これよりも近い被写体に対しては、補助光発光
を行っても無駄である。また、カメラに長焦点レンズを
装着した場合には、補助光がレンズの鏡胴によりケラレ
るので、被写体に補助光が当たらず、補助光を発光して
も無駄になる場合がある。なお、補助光により焦点検出
を可能とすべく被写体を照射できる範囲の下限は、TT
L方式の補助光システムの採用により小さくできるが、
補助光照射により焦点検出が可能となる範囲の上限を大
きくすることは、補助光の到達距離がせいぜい10+n
程度であるので、余り期待できない。そこで、#330
てはレンズの焦点距離fが250mm以上であるかを判
定し、#330でf≧250てあれば、レンズ長が長い
ために補助光がケラレる場合があると判断して、補助光
を発光せずに、#190(第5図)に進んで、ローコン
スキャンの要否を判定する。なお、長焦点レンズを用い
た撮影では、補助光が届かない遠距離撮影か多いので、
補助光発光を禁止してもあまり問題はない。#330で
f≧250でなければ、#335で等倍以上マクロレン
ズ装着信号LCPRの有無を判定する。#335て等倍
以上マクロレンズが装着されていれば、補助光照射によ
り焦点検出が可能となる範囲の下限よりも近い至近距離
の撮影であると判断して、補助光を発光せずに、#19
0(第5図)に進んで、ローコンスキャンの要否を判定
する。#335で等倍以上マクロレンズが装着されてい
なければ、#340で補助光を発光させ、#345て焦
点検出を行い、#350で焦点検出不能であるかを判定
する。補助光は1回の焦点検出毎に所定時間のみ発光す
る。#350て焦点検出不能てなければ、#395に進
む。#350て焦点検出不能であれば、補助光による焦
点検出か可能な範囲の中間距離(例えば4m)、あるい
は比較的撮影場面が多い距離(例えば3m)Doにレン
ズ位置を合わぜるへく、#355でレンズ駆動量ΔN−
(f2/Do)xK−N、の演算を行い、#360でレ
ンズ駆動を開始する。#361では、レンズ駆動量がΔ
Nに達したかを判定する。
Next, when passing through #330 in Figure 8, it is determined that the brightness is low and focus cannot be detected in #185 and #180 (Figure 4), so auxiliary light emission is necessary. However, there are cases where it is useless to emit the auxiliary light, so #3
The determination is made in steps 30 and #335. The auxiliary light emitting device (ILM) shown in Fig. 2 is usually a combination of a light emitting diode and a light emitting optical system mounted externally above the photographic lens of the camera, or installed on the front of the camera body. including the system. On the other hand, the focus detection circuit (AFC) includes a focus detection optical system using a TTL phase difference detection method, and its optical axis coincides with the optical axis of the photographing lens. Therefore, the luminous flux range of the optical system for auxiliary light projection and the luminous flux range for focus detection have a disparity, and from a predetermined distance in front of the photographing lens (197 = 136 = varies depending on the angle of view) On the other side, the light flux range for focus detection is completely included in the light flux range of the optical system for projecting the auxiliary light. This distance is the lower limit of the range in which the subject can be irradiated with the auxiliary light to enable focus detection, and it is useless to emit the auxiliary light for a subject that is closer than this distance. Further, when a long focal length lens is attached to the camera, the auxiliary light is vignetted by the lens barrel, so the auxiliary light does not hit the subject, and even if the auxiliary light is emitted, it may be wasted. Note that the lower limit of the range in which the subject can be illuminated to enable focus detection with the auxiliary light is TT.
Although it can be made smaller by adopting the L-type auxiliary light system,
Increasing the upper limit of the range in which focus detection is possible by irradiating the auxiliary light means that the reachable distance of the auxiliary light is at most 10+n.
So I can't expect much from it. Therefore, #330
Determine whether the focal length f of the lens is 250 mm or more, and if f≧250 in #330, it is determined that the auxiliary light may be vignetted due to the long lens length, and the auxiliary light is emitted. Instead, the process proceeds to #190 (FIG. 5), where it is determined whether a low contrast scan is necessary. In addition, when shooting with a long focal length lens, there are many cases where the auxiliary light does not reach the subject.
There is no problem even if the auxiliary light emission is prohibited. If f≧250 is not determined in #330, it is determined in #335 whether or not there is a macro lens attachment signal LCPR of equal or larger magnification. #335 If a macro lens with a magnification of 100% or higher is attached, the camera determines that the shooting is at close range, which is closer than the lower limit of the range where focus detection can be performed using fill-in light, and does not emit fill-in light. #19
0 (FIG. 5), it is determined whether a low contrast scan is necessary. If in #335 a macro lens of equal or larger magnification is not attached, an auxiliary light is emitted in #340, focus detection is performed in #345, and it is determined in #350 whether focus cannot be detected. The auxiliary light is emitted only for a predetermined period of time for each focus detection. If the focus cannot be detected in #350, the process proceeds to #395. #350 If the focus cannot be detected, adjust the lens position to an intermediate distance (for example, 4 m) where focus detection using the auxiliary light is possible, or to a distance where there are relatively many shooting scenes (for example, 3 m). Lens drive amount ΔN- with #355
(f2/Do)xK-N is calculated, and lens driving is started in #360. In #361, the lens drive amount is Δ
Determine whether N has been reached.

#361でレンズ駆動量がΔNに達していなければ、レ
ンズ駆動量がΔNに達するまで#361の判定動作を繰
り返す。#361でレンズ駆動量がΔNに達すれば、#
362でレンズ駆動を停止する。そして、#370て補
助光発光を行い、#375で焦点検出を行い、#380
で焦点検出不能であるかを判定する。#380で焦点検
出不能てなければ、#395に進む。#38oで焦点検
出不能であれば、#385で焦点検出不能表示を行い、
#390で撮影準備スイッチ(Sl)がONであるかを
判定する。#390て撮影準備スイッチ(Sl)がON
であれば、#375に戻る。#390で撮影準備スイッ
チ(Sl)がONでなければ、#40で表示を消して、
#30に戻る。
If the lens driving amount has not reached ΔN in #361, the determination operation in #361 is repeated until the lens driving amount reaches ΔN. If the lens drive amount reaches ΔN in #361, #
At 362, lens driving is stopped. Then, in #370, the auxiliary light is emitted, in #375, the focus is detected, and in #380, the focus is detected.
Determine whether focus detection is impossible. If the focus cannot be detected in #380, the process proceeds to #395. If the focus cannot be detected in #38o, the focus is not detected in #385, and
In #390, it is determined whether the photographing preparation switch (Sl) is ON. #390 Shooting preparation switch (Sl) is turned on
If so, return to #375. If the shooting preparation switch (Sl) is not ON in #390, turn off the display in #40,
Return to #30.

#395では焦点検出不能表示を消し、#4゜Oでは合
焦であるかを判定する。#400で合焦であれは、#4
20で合焦表示を行い、#425て撮影準備スイッチ(
Sl)がONであるかを判定する。#425て撮影準備
スイッチ(Sl)がONであれば、撮影準備スイッチ(
Sl)がONでなくなるまで、#425の判定を繰り返
す。#425て撮影準備スイッチ(Sl)がONでなく
なれば、#40で表示を消して、#30に戻る。#40
0て合焦でなければ゛、#405でデフォーカス量DF
からレンズ駆動量ΔN=DFXKを演算し、#410て
レンズ駆動を開始する。#412ては、レンズ駆動量か
ΔNに達したかを判定する。#4]2てレンズ駆動量が
ΔNに達していなければ、レンズ駆動量がΔNに達する
まて#412の判定動作を繰り返す。#412てレンズ
駆動量がΔNに達すれば、#413でレンズ駆動を停止
し、#415で撮影準備スイッチ(Sl)がONである
かを判定する。#415で撮影準備スイッチ(Sl)が
ONてあれは#370に戻り、ONでなければ#40て
表示を消して、#30に戻る。
At #395, the display that focus cannot be detected is erased, and at #4°O, it is determined whether focus is achieved. If the focus is #400, #4
20 to display the focus, and #425 to press the shooting preparation switch (
SL) is ON. #425 If the shooting preparation switch (Sl) is ON, the shooting preparation switch (Sl) is turned on.
The determination in #425 is repeated until Sl) is no longer ON. If the photographing preparation switch (Sl) is no longer ON in #425, the display is turned off in #40 and the process returns to #30. #40
If 0 is not in focus, #405 is the defocus amount DF.
Then, the lens drive amount ΔN=DFXK is calculated, and lens drive is started in #410. In #412, it is determined whether the lens drive amount has reached ΔN. #4] If the lens driving amount has not reached ΔN in step 2, the determination operation in #412 is repeated until the lens driving amount reaches ΔN. If the lens drive amount reaches ΔN in #412, the lens drive is stopped in #413, and it is determined in #415 whether the photographing preparation switch (Sl) is ON. If the photographing preparation switch (Sl) is ON in #415, the process returns to #370; if it is not ON, the display is turned off in #40 and the process returns to #30.

最後に、第1図に示す本発明の基本構成と第2図辺降の
実施例との対応関係について説明しておく。第2図のレ
ンズ回路(L E C)はレンズ(1)に含まれており
、第1の出力手段(5)を含んでいる。
Finally, the correspondence between the basic configuration of the present invention shown in FIG. 1 and the embodiment shown in FIG. 2 will be explained. The lens circuit (L E C) of FIG. 2 is included in the lens (1) and includes a first output means (5).

また、焦点検出回路(A F C)は焦点検出手段(2
)に対応している。この焦点検出回路(A F C)に
より焦点検出可能なデフォーカス量DFaは、マイクロ
コンピュータ(μC)内のメモリーに固定記憶されてお
り、このメモリーが第2の出力手段(6)に対応してい
る。レンズ駆動回路(LDC)はレンズ駆動手段(3)
に対応している。第4図の#180のステップは焦点検
出不能判定手段(4)に対応している。第2図に示すエ
ンコーダ(E N C)とその出力パルスをカウントす
るレンズ位置カウンタN、はレンズ位置検出手段(7)
に対応している。
Further, the focus detection circuit (AFC) includes focus detection means (2
) is supported. The defocus amount DFa that can be detected by the focus detection circuit (AFC) is fixedly stored in the memory in the microcomputer (μC), and this memory is There is. The lens drive circuit (LDC) is a lens drive means (3)
It corresponds to Step #180 in FIG. 4 corresponds to the focus detection failure determining means (4). The encoder (ENC) shown in Fig. 2 and the lens position counter N that counts its output pulses are lens position detection means (7).
It corresponds to

第5図の#190と#191のステップはレンズ走査禁
止判定手段(8)に対応している。第6図のプログラム
はレンズ走査制御手段(9)に対応している。第2図に
示す表示回路(DSP)は表示手段(10)に対応して
いる。第5図の#192のステップは中間位置判定手段
(11)に、#193と#194のステップは中間位置
設定手段(12)に対応している。
Steps #190 and #191 in FIG. 5 correspond to the lens scanning prohibition determining means (8). The program shown in FIG. 6 corresponds to the lens scanning control means (9). The display circuit (DSP) shown in FIG. 2 corresponds to the display means (10). Step #192 in FIG. 5 corresponds to intermediate position determining means (11), and steps #193 and #194 correspond to intermediate position setting means (12).

[発明の効果] 本発明は上述のように、たとえローコンスキャンを行っ
たとしても焦点検出可能とならない場合にはローコンス
キャンを禁止すると共に直ちに焦点検出不能表示を行う
ようにしたから、無駄な電力消費が生しることがなくな
り、しかも焦点検出不能表示が行われるまでの時間を短
縮することができるという効果がある。また、特に本発
明にあっては、レンズの現在位置を検出し、レンズの現
在位置から終端位置までのデフォーカス量が焦点検出可
能なデフォーカス量以内であるときに、ローコンスキャ
ンを禁止するようにしたから、レンズの現在位置の変化
によるローコンスキャンの必要性の変化を適確に判定す
ることができ、レンズが中間位置付近に停止している場
合のローコンスキャンの機会を減らすことがてきるとい
う効果がある。
[Effects of the Invention] As described above, the present invention prohibits the low contrast scan and immediately displays the focus detection failure display when the focus cannot be detected even if the low contrast scan is performed. This has the advantage that there is no significant power consumption, and the time until the focus detection failure display is displayed can be shortened. In addition, particularly in the present invention, the current position of the lens is detected, and when the defocus amount from the current position of the lens to the end position is within the defocus amount that allows focus detection, low contrast scanning is prohibited. This makes it possible to accurately determine changes in the need for low-contrast scanning due to changes in the current position of the lens, and reduces the chances of low-contrast scanning when the lens is stopped near an intermediate position. It has the effect of making you feel better.

なお、ローコンスキャン禁止と判定されなかった場合に
おいて、レンズの中間位置から終端位置までのデフォー
カス量が焦点検出可能なデフォーカス量以内であるとき
には、レンズを中間位置に移動させて焦点検出を行うよ
うにすれば、ローコンスキャンの機会を一層減らすこと
ができる。
In addition, when it is determined that low contrast scanning is not prohibited, if the defocus amount from the intermediate position to the end position of the lens is within the defocus amount that allows focus detection, the lens is moved to the intermediate position and focus detection is performed. If you do this, you can further reduce the chances of low contrast scanning.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の基本構成を示すブロック図、第2図は
本発明の一実施例のブロック回路図、第3図乃至第11
図は同上の動作を示すフローチャート、第12図は同上
の動作説明図である。 (1)はレンズ、(2)は焦点検出手段、(3)はレン
ズ駆動手段、(4)は焦点検出不能判定手段、(5)は
第1の出力手段、(6)は第2の出力手段、(7)はレ
ンズ位置検出手段、(8)はレンズ走査禁止判定手段、
(9)はレンズ走査制御手段、(10)は表示手段、(
11)は中間位置判定手段、(12)は中間位置設定手
段である。
FIG. 1 is a block diagram showing the basic configuration of the present invention, FIG. 2 is a block circuit diagram of an embodiment of the present invention, and FIGS.
The figure is a flowchart showing the same operation as above, and FIG. 12 is an explanatory diagram of the same operation. (1) is the lens, (2) is the focus detection means, (3) is the lens drive means, (4) is the focus detection failure determination means, (5) is the first output means, and (6) is the second output. (7) is a lens position detection means; (8) is a lens scanning prohibition determination means;
(9) is lens scanning control means, (10) is display means, (
11) is intermediate position determining means, and (12) is intermediate position setting means.

Claims (3)

【特許請求の範囲】[Claims] (1)交換可能な撮影用のレンズと、レンズの焦点状態
を検出する焦点検出手段と、レンズを駆動するレンズ駆
動手段と、焦点検出手段による焦点検出が不能か否かを
判定する焦点検出不能判定手段と、レンズの終端位置に
関する情報を出力する第1の出力手段と、焦点検出手段
により焦点検出可能なデフォーカス量に関する情報を出
力する第2の出力手段と、レンズの現在位置を検出する
レンズ位置検出手段と、レンズの現在位置から終端位置
までのデフォーカス量が焦点検出可能なデフォーカス量
以内であるときにレンズ走査禁止と判定するレンズ走査
禁止判定手段と、焦点検出不能判定手段により焦点検出
不能と判定され且つレンズ走査禁止判定手段によりレン
ズ走査禁止でないと判定されたときに、レンズ駆動手段
によりレンズを駆動すると共に焦点検出手段により焦点
検出動作を行わせるレンズ走査制御手段と、焦点検出不
能判定手段により焦点検出不能と判定され且つレンズ走
査禁止判定手段によりレンズ走査禁止と判定されたとき
には焦点検出不能の表示を行う表示手段とを備えて成る
ことを特徴とする焦点検出装置。
(1) An interchangeable photographic lens, a focus detection means for detecting the focus state of the lens, a lens drive means for driving the lens, and an inability to detect focus for determining whether focus detection by the focus detection means is impossible. a determining means, a first outputting means for outputting information regarding the end position of the lens, a second outputting means for outputting information regarding the amount of defocus that can be detected by the focus detection means, and detecting the current position of the lens. A lens position detection means, a lens scanning prohibition determination means that determines that lens scanning is prohibited when the defocus amount from the current position of the lens to the end position is within the defocus amount that allows focus detection, and a focus detection impossible determination means. a lens scanning control means for driving a lens by a lens driving means and causing a focus detecting means to perform a focus detection operation when it is determined that focus detection is impossible and a lens scanning prohibition determining means determines that lens scanning is not prohibited; A focus detection device comprising: display means for displaying that focus cannot be detected when it is determined that focus detection is not possible by detection failure determination means and when lens scanning is determined to be prohibited by lens scanning prohibition determination means.
(2)レンズ走査禁止判定手段によりレンズ走査禁止で
ないと判定されたときに、レンズの中間位置から終端位
置までのデフォーカス量が焦点検出可能なデフォーカス
量以内であるかを判定する中間位置判定手段と、中間位
置判定手段により焦点検出可能なデフォーカス量以内で
あると判定されたときに、レンズを中間位置に移動させ
るようにレンズ駆動手段を制御する中間位置設定手段を
設けたことを特徴とする請求項(1)記載の焦点検出装
置。
(2) When the lens scanning prohibition determining means determines that lens scanning is not prohibited, intermediate position determination determines whether the defocus amount from the intermediate position to the final position of the lens is within the defocus amount that allows focus detection. and an intermediate position setting means for controlling the lens driving means to move the lens to an intermediate position when the intermediate position determining means determines that the defocus amount is within a defocus amount that allows focus detection. The focus detection device according to claim (1).
(3)レンズ走査制御手段によるレンズ走査によっても
焦点検出可能なレンズ位置が見付からない場合に、レン
ズ駆動手段の動作を禁止すると共に、表示手段にて焦点
検出不能の表示を行わせる制御手段を付加したことを特
徴とする請求項(1)記載の焦点検出装置。
(3) A control means is added that prohibits the operation of the lens drive means and causes the display means to display that the focus cannot be detected when a lens position where the focus can be detected cannot be found by the lens scanning by the lens scanning control means. The focus detection device according to claim 1, characterized in that:
JP1162188A 1988-01-21 1988-01-21 Focus detector Pending JPH01187519A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP1162188A JPH01187519A (en) 1988-01-21 1988-01-21 Focus detector
US07/299,646 US4952965A (en) 1988-01-21 1989-01-23 Automatic focus detecting apparatus
US07/299,656 US4935765A (en) 1988-01-21 1989-01-23 Automatic focus detecting apparatus
US07/462,478 US5053800A (en) 1988-01-21 1990-01-09 Automatic focus detecting apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1162188A JPH01187519A (en) 1988-01-21 1988-01-21 Focus detector

Publications (1)

Publication Number Publication Date
JPH01187519A true JPH01187519A (en) 1989-07-26

Family

ID=11782993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1162188A Pending JPH01187519A (en) 1988-01-21 1988-01-21 Focus detector

Country Status (1)

Country Link
JP (1) JPH01187519A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5604538A (en) * 1990-09-25 1997-02-18 Canon Kabushiki Kaisha Autofocus apparatus utilizing luma and chroma components to determine whether focusing is possible
JP2013003261A (en) * 2011-06-14 2013-01-07 Nikon Corp Focus detection device and imaging apparatus
JP2016114955A (en) * 2016-02-04 2016-06-23 株式会社ニコン Focus detection device, imaging device and interchangeable lens

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5604538A (en) * 1990-09-25 1997-02-18 Canon Kabushiki Kaisha Autofocus apparatus utilizing luma and chroma components to determine whether focusing is possible
JP2013003261A (en) * 2011-06-14 2013-01-07 Nikon Corp Focus detection device and imaging apparatus
JP2016114955A (en) * 2016-02-04 2016-06-23 株式会社ニコン Focus detection device, imaging device and interchangeable lens

Similar Documents

Publication Publication Date Title
JP3992992B2 (en) Subject image acquisition device
US5204710A (en) Camera having zoom lens system
US20060210265A1 (en) Digital camera
JP2009103912A (en) Image pickup apparatus
JP2006098771A (en) Focus detecting device, imaging apparatus, imaging system, and lens unit
JP3738795B2 (en) Electronic still camera
US6771899B2 (en) Camera and control method for focusing device
JP2003302571A (en) Method and device for automatic focus adjustment and imaging unit
US8004598B2 (en) Focus adjustment apparatus and image capturing apparatus
US4783676A (en) Lens drive device for a camera
JP2004219581A (en) Automatic focusing device
JP2003241074A (en) Automatic focusing device and camera system
JP2008203428A (en) Imaging apparatus
JP2003195145A (en) Camera
JPH01187519A (en) Focus detector
JPH01187521A (en) Focus detector
JPH01187520A (en) Focus detector
JPH07199262A (en) Camera provided with image blurring correcting function
JP2004252261A (en) Camera system and lens barrel
JP4827526B2 (en) Optical equipment
JPH01187518A (en) Focus detector
JP2000111792A (en) Automatic focusing device
JP2003043344A (en) Camera, and camera system
JP2644252B2 (en) Auto focus camera
JPH01187514A (en) Focus detector