JPH01187517A - Focus detector - Google Patents

Focus detector

Info

Publication number
JPH01187517A
JPH01187517A JP1161988A JP1161988A JPH01187517A JP H01187517 A JPH01187517 A JP H01187517A JP 1161988 A JP1161988 A JP 1161988A JP 1161988 A JP1161988 A JP 1161988A JP H01187517 A JPH01187517 A JP H01187517A
Authority
JP
Japan
Prior art keywords
lens
focus
focus detection
auxiliary light
switch
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
JP1161988A
Other languages
Japanese (ja)
Inventor
Tokuji Ishida
石田 徳治
Masataka Hamada
正隆 浜田
Toshio Norita
寿夫 糊田
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 JP1161988A priority Critical patent/JPH01187517A/en
Priority to US07/299,646 priority patent/US4952965A/en
Priority to US07/299,656 priority patent/US4935765A/en
Publication of JPH01187517A publication Critical patent/JPH01187517A/en
Priority to US07/462,478 priority patent/US5053800A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To make probability that focus detection can be possible high both at the time of emitting light of auxiliary light and at the time of not emitting light thereof by switching the initial stopping position of a lens at the time of emitting light and at the time of not emitting light of the auxiliary light. CONSTITUTION:The initial stopping position Ns of the lens 1 is set in a position suitable for daylight photographing in which the auxiliary light is not used by a 1st lens position determination means 4 and a 1st control means 8 controls a lens driving means 6 so that the lens 1 is driven to the initial stopping position Ns before a focus detection means 2 performs focus detecting action with the operation of an operating member 7. When it is decided that the focus detection is impossible by a focus detection impossibility decision means 9, a 2nd control means 10 acts to control the lens driving means 6 so that the lens 1 is driven to a 2nd initial stopping position Ns2 suitable for a time for detecting a focus by using the auxiliary light determined by a 2nd lens position determination means 5 and to actuate an auxiliary light emission means 3 and the focus detection means 2. Thus, the probability that the focus detection can be possible is made high both at the time of emitting light and at the time of not emitting light of the auxiliary light.

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.

し従来の技術] 従来、撮影用のレンズの焦点状態を検出して、合焦位置
にレンズを駆動する自動焦点調節装置において、焦点検
出後に合焦位置までレンズを駆動するのに要する時間を
一定化するために、撮影の度にレンズを中間位置に初期
設定することが提案されている(米国特許第4,265
,528号公報)。
[Prior art] Conventionally, in an automatic focus adjustment device that detects the focus state of a photographic lens and drives the lens to the in-focus position, the time required to drive the lens to the in-focus position after focus detection is fixed. It has been proposed to initially set the lens to an intermediate position each time a photograph is taken (U.S. Pat. No. 4,265)
, No. 528).

しかしながら、この従来技術にあっては、焦点検出が可
能となる確率を高くするようにレンズの初期停止位置を
決めているものではない。また、補助光発光時のレンズ
位置設定については何ら言及されていない。
However, in this prior art, the initial stopping position of the lens is not determined in such a way as to increase the probability that focus detection becomes possible. Further, there is no mention of lens position setting when emitting auxiliary light.

一方、特開昭59−136720号公報には、補助光発
光時に常用焦点位置にレンズ位置を設定した後、焦点検
出を行うことが提案されている。
On the other hand, Japanese Patent Application Laid-Open No. 59-136720 proposes performing focus detection after setting the lens position to the regular focus position when emitting auxiliary light.

しかしながら、この従来例にあっては、補助光の非発光
時のレンズ位置設定については何ら言及されていない。
However, in this conventional example, there is no mention of setting the lens position when the auxiliary light is not emitted.

結局、これらの文献には、補助光の発光時と非発光時と
でレンズの初期停止位置を切り換えるという思想は開示
されていない。
After all, these documents do not disclose the idea of switching the initial stop position of the lens between when the auxiliary light is emitted and when it is not emitted.

[発明が解決しようとする課題] 従来の焦点検出装置は、焦点検出が不能であるときには
、レンズを前後に駆動して、焦点検出可能なレンズ位置
を探す動作(いわゆるローコンスキャン)を行っている
。この動作が行われると、焦点検出に要する時間が長く
なるという問題がある。そこて、焦点検出を始める前に
レンズを所定の初期停止位置に移動させておいて、焦点
検出が可能となる確率を高くし、それによって、ローコ
ンスキャンを行う確率を低くし、焦点検出に要する時間
を短くすることか考えられる。この場合、できるだけ焦
点検出可能となる確率を高くするには、レンズの初期停
止位置をどのように設定すれば良いかが問題となる。
[Problems to be Solved by the Invention] When focus detection is not possible, conventional focus detection devices drive the lens back and forth to search for a lens position where focus can be detected (so-called low-contrast scan). There is. When this operation is performed, there is a problem that the time required for focus detection becomes longer. Therefore, before starting focus detection, the lens is moved to a predetermined initial stop position to increase the probability that focus detection will be possible. It may be possible to shorten the time required. In this case, the problem is how to set the initial stop position of the lens in order to increase the probability that focus detection will be possible.

本発明者らは、日中撮影に関しては撮影倍率に応じてレ
ンズの初期停止位置を決めれば、焦点検出可能となる確
率が高くなることを見出だした。
The present inventors have discovered that for daytime photography, if the initial stop position of the lens is determined according to the photographing magnification, the probability that focus can be detected increases.

ところで、受動式の焦点検出装置において、被写体が暗
くて焦点検出が困難であるときには、補助光を照射して
焦点検出を行うが、補助光は到達範囲が限られているの
て、補助光を用いない場合に比べて、それだけ焦点検出
範囲は制限される。したかって、補助光を用いる場合と
用いない場合とてレンズの最適の初期停止位置は異なっ
ていると考えられる。
By the way, in a passive focus detection device, when the subject is dark and it is difficult to detect the focus, focus detection is performed by irradiating the auxiliary light, but since the auxiliary light has a limited reach, The focus detection range is more limited than when it is not used. Therefore, the optimal initial stopping position of the lens is considered to be different depending on whether the auxiliary light is used or not.

−4〜 本発明はこのような点に鑑みてなされたものであり、そ
の目的とするところは、補助光の発光時にも非発光時に
も焦点検出可能となる確率が高い焦点検出装置を提供す
ることにある。
-4~ The present invention has been made in view of the above points, and its purpose is to provide a focus detection device that has a high probability of being able to detect focus both when the auxiliary light is emitted and when it is not emitted. There is a particular thing.

[課題を解決するための手段1 本発明に係る焦点検出装置にあっては、上記の目的番達
成するなめに、第1図に示すように、撮影用のレンズ(
1)と、レンズ(1)の焦点状態を検出する焦点検出手
段く2)と、撮影領域に焦点検出用の補助光を照射する
補助光発光手段(3)と、補助光非発光時におけるレン
ズ(1)の第1の初期停止位置Nsを決定する第1のレ
ンズ位置決定手段(4)と、補助光発光時におけるレン
ズ(1)の第2の初期停止位MN S 2を決定する第
2のレンズ位置決定手段(5)と、レンズ(1)を駆動
するレンズ駆動手段(6)と、焦点検出手段(2)を動
作させるために操作される操作部材(7)と、操作部材
く7)の操作により焦点検出手段(2)が動作する前に
、第1のレンズ位置決定手段く4)により決定された第
1の初期停止位置Nsにレンズ(1)を駆動するように
レンズ駆動手段(6)を制御する第1の制御手段く8)
と、補助光非発光状態での焦点検出手段(2)による焦
点検出が不能であるか否かを判定する焦点検出不能判定
手段(9)と、焦点検出不能判定手段(9)により焦点
検出が不能であると判定されたときに、第2のレンズ位
置決定手段(5)により決定された第2の初期停止位置
Ns2にレンズ(1)を駆動するようにレンズ駆動手段
(6)を制御して補助光発光手段(3)及び焦点検出手
段(2)を動作させる第2の制御手段(10)とを備え
て成ることを特徴とするものである。
[Means for Solving the Problems 1] In the focus detection device according to the present invention, in order to achieve the above objective number, as shown in FIG.
1), a focus detection means for detecting the focus state of the lens (1), 2), an auxiliary light emitting means (3) for irradiating an auxiliary light for focus detection onto the photographing area, and a lens when the auxiliary light is not emitted. A first lens position determining means (4) that determines the first initial stop position Ns of (1), and a second lens position determination means (4) that determines the second initial stop position MN S2 of the lens (1) when emitting the auxiliary light. a lens position determining means (5), a lens driving means (6) for driving the lens (1), an operating member (7) operated to operate the focus detecting means (2), and an operating member (7) for operating the focus detecting means (2). ) before the focus detection means (2) operates, the lens drive means drives the lens (1) to the first initial stop position Ns determined by the first lens position determination means (4). (6) First control means for controlling 8)
, a focus detection impossibility determining means (9) for determining whether or not focus detection by the focus detecting means (2) is impossible in a state in which the auxiliary light is not emitted; When it is determined that the lens is not possible, the lens driving means (6) is controlled to drive the lens (1) to the second initial stop position Ns2 determined by the second lens position determining means (5). The second control means (10) operates the auxiliary light emitting means (3) and the focus detection means (2).

ただし、第1図は本発明の構成を機能的にブロック化し
て示した説明図であり、後述の実施例では、上記構成の
主要部をマイクロコンピュータのプログラムにより実現
している。
However, FIG. 1 is an explanatory diagram showing the configuration of the present invention in functional 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)の焦点状態を検出
する。操作部材(7)を操作すると、焦点検出手段(2
)が動作して、レンズ(1)の焦点状態が検出される。
The focus detection means (2) detects the focus state of the lens (1). When the operation member (7) is operated, the focus detection means (2
) is operated to detect the focal state of the lens (1).

レンズ(1)の焦点状態は、通常、合焦位置からのデフ
ォーカス量(焦点ずれ量)として検出され、その符号に
より前ピンと後ピンを区別している。合焦位置からのデ
フ4−カス量が、焦点検出手段(2)の構成によって決
まる所定の値よりも大きい場合あるいは被写体のコント
ラストが低い場合には、焦点検出は不能となるが、被写
体のコントラストが高く、かつ上記所定の値以内である
場合には、焦点検出は可能となる。レンズ(1)が通常
良く使用される位置にあれば、焦点検出可能となる確率
が高くなる。そこで、本発明にあっては、焦点検出可能
となる確率が高くなるように、レンズ(1)の初期停止
位置Nsを第1のレンズ位置決定手段(4)により決定
している。この初期停止位置Nsは、補助光を用いない
日中撮影に適した位置に設定される。初期停止位置Ns
へのレンズ(1)の駆動は第1の制御手段(8)の制御
下にてレンズ駆動手段(6)により行われる。このレン
ズ駆動手段(6)は、通常の焦点検出時においては、焦
点検出手段(2)の焦点検出結果に基づいて、レンズ(
1)を合焦位置に向けて駆動する自動焦点調節用のもの
を流用すれば良い。第1の制御手段(8)は、操作部材
(7)の操作により焦点検出手段(2)が焦点検出動作
を行う前に、レンズ(1〉を初期停止位置Nsに駆動す
るようにレンズ駆動手段(6)を制御する。したがって
、操作部材(7)を操作して、焦点検出手段(2)によ
り焦点検出動作を行ったときには、既にレンズ(1)は
補助光を用いない日中撮影に適した初期停止位置Nsに
設定されており、焦点検出可能となる確率が高くなるも
のである。
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. If the amount of differential shift from the in-focus position is larger than a predetermined value determined by the configuration of the focus detection means (2), or if the contrast of the subject is low, focus detection becomes impossible, but the contrast of the subject is high and within the predetermined value, focus detection is possible. If the lens (1) is in a commonly used position, there is a high probability that the focus can be detected. Therefore, in the present invention, the initial stop position Ns of the lens (1) is determined by the first lens position determining means (4) so that the probability that focus detection becomes possible is increased. This initial stop position Ns is set at a position suitable for daytime photography without using auxiliary light. Initial stop position Ns
The lens (1) is driven by the lens driving means (6) under the control of the first control means (8). During normal focus detection, the lens drive means (6) drives the lens (6) based on the focus detection result of the focus detection means (2).
1) An automatic focus adjustment device that drives the lens toward the in-focus position may be used. The first control means (8) is a lens drive means configured to drive the lens (1> to an initial stop position Ns) before the focus detection means (2) performs a focus detection operation by operating the operation member (7). (6). Therefore, when the operating member (7) is operated and the focus detection means (2) performs a focus detection operation, the lens (1) is already suitable for daytime photography without using auxiliary light. This is set at the initial stop position Ns, which increases the probability that focus detection will be possible.

ところが、撮影領域が低輝度である場合や低コントラス
トである場合には、焦点検出が不能となることがある。
However, if the imaging area has low brightness or low contrast, focus detection may become impossible.

この状態が焦点検出不能判定手段(9)により判定され
たときには、第1の制御手段(8)に代えて、第2の制
御手段(10)が動作し、補助光発光手段(3)により
撮影領域に焦点検出用の補助光を照射しながら焦点検出
手段(2)による焦点検出か行われる。この補助光を用
いた焦点検=7− 出時に適したレンズ(1)の初期停止位置N s 2は
、第2のレンズ位置決定手段(5)により決定される。
When this state is determined by the focus detection impossible determination means (9), the second control means (10) operates instead of the first control means (8), and the auxiliary light emitting means (3) takes pictures. Focus detection is performed by the focus detection means (2) while irradiating the area with auxiliary light for focus detection. Focus detection using this auxiliary light=7- The initial stop position N s 2 of the lens (1) suitable for exit is determined by the second lens position determining means (5).

第2の制御手段(10)は、第2のレンズ位置決定手段
(5)により決定された第2の初期停止位置NS2にレ
ンズ(1)を駆動するようにレンズ駆動手段(6)を制
御して補助光発光手段(3)及び焦点検出手段(2)を
動作させる。したがって、補助光を照射しながらレンズ
(1)の焦点状態を検出するときには、レンズ(1)は
補助光を用いた焦点検出時に適した第2の初期停止位W
 N S 2に設定されており、この場合にも、焦点検
出可能となる確率が高くなるものである。
The second control means (10) controls the lens drive means (6) to drive the lens (1) to the second initial stop position NS2 determined by the second lens position determination means (5). to operate the auxiliary light emitting means (3) and the focus detecting means (2). Therefore, when detecting the focus state of the lens (1) while irradiating the auxiliary light, the lens (1) is moved to the second initial stop position W suitable for focus detection using the auxiliary light.
It is set to N S 2, and in this case as well, the probability that the focus can be detected is high.

[実施例] 第2図は、本発明の一実施例としてのカメラの回路構成
を示すブロック回路図である。ただし、焦点検出動作に
直接関係しない部分については図示を省略しである。(
μC)は焦点調節のための演算及びシーケンス制御を行
うマイクロコンピュータである。(LEC)は交換レン
ズ内に設けられたレンズ回路で、交換レンズ固有の情報
をマイクロコンピュータ(μC)に伝達する。(A F
 C)は、上記レンズを通過した被写体光を光電変換し
て焦点検出データを出力する焦点検出回路で、焦点検出
データをデジタル信号に変換して、マイクロコンピュー
タ(μC)に出力する。(DSP)は表示回路で、レン
ズの合焦表示及び焦点検出不能表示を行う。(I LM
)は被写体に焦点検出用の補助光を照射するための補助
光発光装置である。(M)は交換レンズのフォーカシン
グレンズを駆動するためのモータであり、レンズ駆動回
路(L D C)の制御下にてレンズの繰り出し及び繰
り込みを行う。レンズ駆動回路(LDC)は、マイクロ
コンピュータ(μC)からのモータ駆動速度の信号、モ
ータ駆動方向の信号及びモータ停止の制御信号を入力し
、これに基づいて、モータ(M)を駆動する。(E N
 C)はエンコーダで、モータ(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 in the interchangeable lens, which transmits information specific to the interchangeable lens to the microcomputer (μC). (AF
C) 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 that displays the focus of the lens and indicates that the focus cannot be detected. (ILM
) is an auxiliary light emitting device for illuminating 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. (EN
C) is an encoder that detects the amount of rotation of the motor (M) and outputs pulses to the microcomputer (μC) according to a predetermined amount of rotation of the motor (M).

ここで、マイクロコンピュータ(μC)は、レンズを最
も繰り込んだ状態である無限遠位置からのレンズの繰り
出し量を絶対量として知るためのレンズ位置カウンタN
Lを内蔵している。このレンズ位置カウンタNLは、レ
ンズが無限遠位置に繰り込まれたときに内部の命令によ
りNL=Oにリセットされ、レンズが繰り出されている
ときには、内部の命令によりエンコーダ(ENC)から
のパルスに応してカウントアツプされ、レンズが繰り込
まれているときには、内部の命令によりエンコーダ(E
NC)からのパルスに応してカウントダウンされる。レ
ンズが最近接位置まで繰り出されたときには、レンズ位
置カウンタNL、の値はN1=Nmaxとなる。この最
大繰り出し量N maxはレンズにより夫々異なり、レ
ンズ回路(LEC)からレンズ固有の情報としてマイク
ロコンピュータ(μC)に読み込まれる。
Here, the microcomputer (μC) uses a lens position counter N to know the amount of lens extension from the infinity position, which is the most retracted state, as an absolute amount.
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 pulse from the encoder (ENC) is reset by an internal command. When the lens is renormalized, the encoder (E
It is counted down in response to a pulse from NC). When the lens is extended to the closest position, the value of the lens position counter NL becomes N1=Nmax. This maximum extension amount N max differs depending on the lens, and is read from the lens circuit (LEC) into the microcomputer (μC) as lens-specific information.

(BAT)は電源電池であり、マイクロコンピュータ(
μC)及び他の回路に電力を供給する。電源電池(BA
T)の両端には、抵抗(R1)とコンデンサ(C1)の
直列回路よりなる時定数回路が接続されており、抵抗(
R1)とコンデンサ(C1)の接続点はマイクロコンピ
ュータ(μC)のパワーオンリセット端子(RES)に
接続されている。電源電池(BAT)を接続すると、マ
イクロコンピュータ(μC)の電源端子(V cc)と
アース端子(G N D )の間に電源電圧が印加され
て、マイクロコンピュータ(μC)が能動状態になるが
、コンデンサ(C1)の充電電圧、即ちマイクロコンピ
ュータのリセット端子(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
oO)は無限遠位置検出スイッチであり、レンズが無限
遠位置に繰り込まれたときにONされる。(SM)はメ
インスイッチであり、カメラの使用時にONされる。〈
Sl)は撮影準備スイッチであり、通常は、レリーズ釦
(図示せず)の第1ストロークでONされる。(SAF
)はAFモードスイッチであり、このスイッチ(SAF
)がONであるときには、焦点検出結果に基づいて合焦
位置にレンズを駆動するオートフォーカスモードが選択
され、スイッチ(SAF)がOFFであるときには、焦
点検出結果に基づいて合焦又は非合焦の表示のみを行い
、レンズ駆動は行わないマニュアルフォーカスモードが
選択される。(SMZ)はマクロゾーンスイッチであり
、マクロ機構付きのズームレンズにおいて、ズームリン
グをマクロゾーンに設定したときに開放される。本実施
例で使用されるマクロ機構付きのズームレンズでは、ズ
ームリングがマクロゾーンに設定されているときには、
オートフォーカスモードが使用不可となるのて、これを
マイクロコンピュータ(μC)に知らせるために、レン
ズ回路(LEC)はマクロゾーンであることを示す信号
SMZをマイクロコンピュータ(μC)に出力する。
(SR) is a reset switch, and this switch is OFF.
When N is pressed, the lens is reset to the initial position. (S
oO) 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) is a photographing preparation switch, which is normally turned on by the first stroke of a release button (not shown). (SAF
) is the AF mode switch, and this switch (SAF
) is ON, the autofocus mode is selected to drive the lens to the focus position based on the focus detection result, and when the switch (SAF) is OFF, the autofocus mode is selected based on the focus detection result. A manual focus mode is selected in which only the image is displayed and the lens is not driven. (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 mechanism. In the zoom lens with a macro mechanism used in this example, when the zoom ring is set to the macro zone,
Since the autofocus mode is disabled, 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. Next, reset all flags in #5. Next, turn on the main switch (SM) with #10.
Determine whether

メインスイッチ(SM)がONでなければ、ONされる
まで、#10の判定を繰り返す。メインスイッチ(SM
)がONであれば、#15でレンズ初期位置演算のサブ
ルーチン(第9図)を実行し、#20でω繰り込みのサ
ブルーチン(第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 #20, and the lens initial position set subroutine is executed in #25. After executing (Figure 11),
At #30, it is determined whether the main switch (SM) is OFF. If the main switch (SM) is OFF, the ω renormalization subroutine is executed in #35 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)からは、レンズ装着信号工C
P、マクロゾーン信号SMZ、等倍量上マクロレンズ装
着信号LCPR1最大繰り出し量N max、焦点距離
f、変換係数に等がマイクロコンピュータ(μC)に入
力される。ここで、変換係数には、デフォーカス量DF
をレンズ駆動量ΔNに変換するための係数である。#1
005では、等倍以上マクロレンズ装着信号LCPRの
有無を判定する。
From the lens circuit (L E C), the lens mounting signal circuit C
P, macro zone signal SMZ, equal magnification upper macro lens mounting signal LCPR1 maximum extension amount N max, focal length f, 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 there is a macro lens attachment signal LCPR of equal or greater magnification.

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

第1表は、種々の焦点距離のレンズについて、良く使用
される撮影倍率βと、これに応して決まるレンズ位置N
bに対応するデフォーカス量DFb、レンズの最大デフ
ォーカス量DFmを示す。なお、DFaは焦点検出回路
(A F C>の構成によって決まる焦点検出可能なデ
フォーカス量であり、焦点検出可能範囲はその2倍の2
DFaとなる。
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 amount DFm of the lens are shown. Note that DFa is the amount of defocus that can be detected by the focus detection circuit (AFC), which is determined by the configuration of the focus detection circuit.
It becomes DFa.

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

#1010でDFb>DFaであれば、#]030てレ
ンズ初期位置セット用のデフォーカス量DFsをDFa
とし、#1060でレンズ位置セットフラグ5ETFを
1とし、サブルーチンがコールされたステップにリター
ンする。#1010でDFb≦DFaであれば、#10
20てレンズ初期位置セット用のデフォーカス量DFs
をDFbとし、#1050てレンズ位置セットフラグ5
ETFを1とし、サブルーチンがコールされたステップ
にリターンする。
If DFb>DFa in #1010, use #]030 to set the defocus amount DFs for setting the lens initial position to DFa.
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, #10
20 Defocus amount DFs for setting lens initial position
DFb, #1050 and lens position set flag 5
Set ETF to 1 and return to the step where the subroutine was called.

第1表 ただし、上表において、 *は28〜135mmのズームレンズが135mmにあ
るとき、↑は70〜210mmのズームレンズが210
nu□にあるとき、末は75〜300mmのズームレン
ズが300mmにあるときのデータである。
Table 1 However, in the above table, * means that the 28-135mm zoom lens is at 135mm, and ↑ means that the 70-210mm zoom lens is at 210mm.
When it is at nu□, the data at the end is when the 75-300mm zoom lens is at 300mm.

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

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

第11図はレンズ初期位置セットのサブルーチンの内容
を示すフローチャートである。このサブルーチンがコー
ルされると、# 1−200でレンズ初期位置セット用
のデフォーカス量DFsに変換係数Kを乗算して、無限
遠位置からのレンズ駆動量ΔN = D F s X 
Kを算出し、#1205でレンズ繰り出しを開始する。
FIG. 11 is a flowchart showing the contents of the subroutine for setting the lens initial position. When this subroutine is called, in #1-200, the defocus amount DFs for setting the lens initial position is multiplied by the conversion coefficient K, and the lens driving amount from the infinity position ΔN = D F s X
K is calculated, and lens extension is started in #1205.

#1210では、レンズ駆動量がΔNに達したかを判定
する。#1210でレンズ駆動量がΔNに達していなけ
れば、レンズ駆動量がΔNに達するまで#1210の判
定動作を繰り返す。#1210でレンズ駆動量かΔNに
達すれば、#1215でレンズ駆動を停止し、サブルー
チンがコールされたステップにリターンする。
In #1210, it is determined whether the lens drive amount has reached ΔN. If the lens driving amount has not reached ΔN in #1210, the determination operation in #1210 is repeated until the lens driving amount reaches ΔN. If the lens drive amount reaches ΔN in #1210, the lens drive is stopped in #1215 and the process returns to the step from which the subroutine was called.

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

#45てAFモードスイッチ(SAF)がONでなけれ
は、#50でマニュアルフォーカスモードて゛あること
を示すフラグMFを1として、#80に進む。#45て
AFモートスイッチ(SAF)がONであれば、#55
てフラグMPが1であるかを判定する。#55でMF=
1であれば、スイッチ(SAF)がONされた直後とい
うことてあり、#60でフラグMFを0として#65に
進む。#65〜#75ては、上述のレンズ初期位置演算
、■繰り込み、レンズ初期位置セットの各サブルーチン
を実行して、レンズ初期位置セラ1〜を行い、その後、
#145に進む。#55でMF=1でなけれは、以前か
らスイッチ(SAF)がONであったということであり
、#80に進む。
If the AF mode switch (SAF) is not ON in #45, the flag MF indicating that the manual focus mode is present is set to 1 in #50, and the process proceeds to #80. If the AF motor switch (SAF) is ON in #45, #55
Then, it is determined whether the flag MP is 1 or not. MF= at #55
If it is 1, it means that the switch (SAF) has just been turned on, and the flag MF is set to 0 in #60 and the process proceeds to #65. In #65 to #75, execute the above-mentioned lens initial position calculation, renormalization, and lens initial position setting subroutines to perform lens initial position cell 1~, and then,
Proceed to #145. If MF=1 in #55, it means that the switch (SAF) has been ON before, 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をOとし、#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 in #80, it is determined in #90 whether the flag LENOF is 1. 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 O and setting the lens initial position in #65 to #75, proceed to #145. If LENOF=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であ
るかを判定する。#115でSMZOFF=1であれば
、マクロゾーンスイッチ(SMZ)がONされた直後と
いうことであり、#120でフラグSMZOFFを0と
し、#65〜#75のレンズ初期位置セットを行ツタ後
、#145に進む。#115でSMZOFF=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. If SMZOFF=1 in #115, it means that the macro zone switch (SMZ) has just been turned on, and after setting the flag SMZOFF to 0 in #120 and setting the lens initial position in #65 to #75, Proceed to #145. If SMZOFF=1 is not set in #115, the macro zone switch (SMZ) was already ON.
Therefore, proceed 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. Reset switch (SR) with #125
is not ON, turn on the reset switch (SR) with #130.
) is OFF, the flag 5ROFF is set to 1, and the process proceeds to #145. #125 is the reset switch (SR
) is ON, it is determined in #135 whether the flag 5ROFF is 1.

#135で5ROFF=1であれば、リセットスイッチ
(SR)がONされた直後ということてあり、#140
でフラグ5ROFFを0とし、#65〜#75のレンズ
初期位置セットを行った後、#145に進む。#135
で5ROFF=1てなければ、以前からリセットスイッ
チ(SR)はONされていたということであり、既にレ
ンズは初期位置にセットされているので、#65〜#7
5のレンズ初期位置セットは行わずに、#145に進む
If 5ROFF=1 in #135, 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 5ROFF = 1, 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された直後か、レン
ズが装着された直後か、マクロゾーンスイッチ(3M2
)がONされた直後か、又は、リセットスイッチ(SR
)がONされた直後、若しくは、後述のローコンスキャ
ンを行ってもなお焦点検出不能で且つ撮影準備スイッチ
(Sl)をOFFした後に再度ONした場合(# 15
5参照)にのみ、レンズ初期位置セット(#65〜#7
5)が行われ、それ以外の場合にはレンズ初期位置セッ
トは行われない。したがって、似たような場面を撮影す
る場合や、複数コマの写真を連写する場合のような前回
のレンズ位置付近で合焦する確率が高い場合には、レン
ズ初期位置セットは行われず、焦点検出の度にレンズ初
期位置セットが行われる場合に比べ、電力消費量が少な
くなり、かつ、焦点調節に必要な時間が短くなる。
Therefore, after performing lens initial position cera+ (#15 to #25) immediately after turning on the main switch (SM), A
Immediately after the F mode switch (SAF) is turned on, immediately after the lens is attached, or the macro zone switch (3M2
) is turned on, or the reset switch (SR
) is turned on, or when the focus cannot be detected even after performing the low contrast scan described below and the camera is turned on again after turning off the shooting preparation switch (Sl) (#15
5)), lens initial position setting (#65 to #7) is required.
5) is performed, and in other cases, lens initial position setting is not performed. Therefore, when there is a high probability of focusing near the previous lens position, such as when photographing a similar scene or when shooting multiple pictures in succession, the lens initial position setting is not performed and the focus 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)、AFモードスイッチ(SAF)、レンズ装着
信号ICP、マクロゾーンスイッチ(SMZ)、リセッ
トスイッチ(SR)、撮影準備スイッチ(Sl)の状態
をモニターする。
In #145, it is determined whether the photographing preparation switch (Sl) is ON. If the photographing preparation switch (Sl) is not turned on, the entire display is turned off in #40 and the process returns to #30. Below, #30, #45, #80, #105, #125
, and #145, check the status of the main switch (SM), AF mode switch (SAF), lens attachment signal ICP, macro zone switch (SMZ), reset switch (SR), and shooting preparation switch (Sl). Monitor.

このループの途中で、メインスイッチ(SM)がOFF
されたときには、上述のように、ω繰り込み(#35)
を行って、再びメインスイッチ(SM)がONされるま
で待機する(#10)。また、ループの途中て、スイッ
チ(S AF)、(SMZ)、(SR)のいずれかがO
Nされるか、又は、レンズが装着されたときは、その都
度、レンズ初期位置セット(#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 (S AF), (SMZ), and (SR) turns OFF.
N or when a lens is attached, lens initial position setting (#65 to #75) is performed 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=0であるので、#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     −■が満
たされているかを判定する。#190及び#191で条
件■が満たされない場合には、レンズの全フォーカス範
囲が焦点検出可能範囲2DFaに含まれていることにな
る。それにも拘わらず焦点検出不能であるということは
、ローコンスキャン(レンズを駆動しながら焦点検出を
行い、焦点検出可能な位置を探す動作)を行っても焦点
検出可能となるはすはなく、ローコンスキャンを行うの
は無駄である。そこで、ローコンスキャンを行うことな
く、#255(第7図参照)に進んで、焦点検出不能表
示を行う。
Initially, since LSENDF=0, 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 make a 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 step 330 (Figure 8). If the brightness is not low in #185, then in #190 and #191 (Figure 5), (N max - N L) / K > D Fa or N L / K > D Fa - ■ is satisfied. Determine if there are any. If condition (2) is not satisfied in #190 and #191, the entire focus range of the lens is included in the focus detectable range 2DFa. Despite this, the fact that focus cannot be detected means that there is no way that focus can be detected even if low-contrast scanning (operation of detecting focus while driving the lens and searching for a position where focus can be detected) is performed. It is wasteful to perform a low contrast scan. Therefore, without performing the low contrast scan, the process proceeds to #255 (see FIG. 7), and a focus detection failure display is performed.

#190又は#191で条件■が満たされていれば、#
192で、 Nmax/2K  ≦ DFa           
      =  ■が満たされているかを判定する。
If condition ■ is satisfied in #190 or #191, #
192, Nmax/2K ≦ DFa
= Determine whether ■ is satisfied.

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

#1942でレンズ駆動量がΔNに達すれば、#194
3でレンズ駆動を停止し、#195で焦点検出を行った
後、#196で焦点検出不能であるかを判定する。#1
96で焦点検出不能であれば、ローコンスキャンを行っ
ても焦点検出可能となるはずはなく、ローコンスキャン
を行うのは無駄である。そこで、ローコンスキャンを行
うことなく、#255(第7図)に進んで、焦点検出不
能表示を行う。焦点検出不能でなければ、合焦判定を行
うべく、#285(第7図)に進む。
If the lens drive amount reaches ΔN in #1942, #194
After the lens drive is stopped in Step 3 and focus detection is performed in Step #195, it is determined in Step #196 whether focus detection is impossible. #1
If the focus cannot be detected in 96, the focus cannot 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 perform focus determination.

#192で条件■が満たされない場合には、レンズ位置
を何処に変えてもレンズの全フォーカス範囲Nmax/
Kを焦点検出可能範囲2DFa内にカバーすることはで
きない。そこて、この場合には、止むを得ずローコンス
キャンを行うが、ローコンスキャンの範囲を可能な限り
狭い範囲に限定して行うことにより、ローコンスキャン
に要する時間を短縮するように工夫している。すなわち
、#198(第6図)では、繰り出し方向のスキャン量
をΔN=Nmax−NL−DFaXKとして算出する。
If condition (■) is not satisfied in #192, the entire 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 have 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. are doing. That is, in #198 (FIG. 6), the scanning amount in the feeding direction is calculated as ΔN=Nmax-NL-DFaXK.

これは、最大繰り出し位置Nmaxまで繰り出さなくて
も、DFaXKだけ手前の位置まて繰り出せば、最大繰
り出し位置N maxも焦点検出可能範囲2DFa内に
入るからである。次に、スキャンの方向を知るなめに、
#200でフラグFOWFが1であるかを判定する。こ
のフラグFOWFは、繰り出しくFOWard>方向の
スキャンを行うことを示すフラグである。初めてローコ
ンスキャンを行うときには、フラグFOWFはリセット
されているので、FOWF=1ではない。したがって、
最初は#205に進み、#205でFOWF=1として
、#220に進む。#220ではレンズ駆動(繰り出し
方向)を行うべくレンズ駆動回路(LDC)に信号を出
力し、#225で焦点検出を行った後、#230で焦点
検出不能であるかを判定する。#230で焦点検出不能
でなければ、#233でフラグFOWFをリセットし、
合焦判定を行うべく、#285(第7図)に進む。#2
30で焦点検出不能であれば、#235でレンズ駆動量
がΔNに達したかを判定する。#235でレンズ駆動量
がΔNに達していなければ、#225に戻って、繰り出
し方向のレンズ駆動を続けながら、焦点検出不能である
かを判定する。#235でレンズ駆動量がΔNに達して
いれば、#240でレンズ駆動を停止し、#245でレ
ンズ位置セットフラグ5ETFが1であるかを判定する
。#245で5ETF=1であれば、繰り込み方向のス
キャンを行うまでもなく、レンズの全フォーカス範囲に
わたって焦点検出不能であると判断てきるので、焦点検
出不能表示を行うべく、#255(第7図)に進む。#
245で5ETF=1でなければ、#250てフラグF
OWFが1であるかを判定する。
This is because even if the lens is not extended to the maximum extension position Nmax, if it is extended to a position DFaXK in front of the user, the maximum extension position Nmax will also fall within the focus detectable range 2DFa. Next, to know the scanning direction,
In #200, it is determined whether the flag FOWF is 1. This flag FOWF is a flag indicating that scanning is to be performed in the FOward direction. When a low contrast scan is performed for the first time, the flag FOWF is reset, so FOWF=1 is not set. therefore,
First, proceed to #205, set FOWF=1 in #205, and proceed to #220. In #220, a signal is output to the lens drive circuit (LDC) to drive the lens (in the extending direction), and after focus detection is performed in #225, it is determined in #230 whether focus detection is impossible. If it is not possible to detect the focus in #230, reset the flag FOWF in #233,
The process advances to #285 (FIG. 7) to perform focus determination. #2
If the focus cannot be detected in step 30, it is determined in step #235 whether the lens drive amount has reached ΔN. If the lens driving amount has not reached ΔN in #235, the process returns to #225, and while continuing to drive the lens in the extending direction, it is determined whether focus cannot be detected. If the lens drive amount has reached ΔN in #235, the lens drive is stopped in #240, and it is determined in #245 whether the lens position set flag 5ETF is 1. 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. Proceed to Figure). #
If 5ETF=1 in 245, #250 flag F
Determine whether OWF is 1.

#250でFOWF=1であれば、これは繰り出し方向
のスキャンを行ったが焦点検出可能なレンズ位置が見付
からなかったということであるから、今度は繰り込み方
向のスキャンを行うべく、#200に戻る。#200で
FOWF=1であれば、既に繰り出し方向のスキャンは
済ませたということであるから、#210で繰り込み方
向のスキャン量をΔN = D F a X K  N
 Lとして算出する。これは、無限遠位置まで繰り込ま
なくても、DFa×にだけ手前の位置まで繰り込めば、
無限遠位置も焦点検出可能範囲2DFa内に入るからで
ある。
If FOWF=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 return to #200 to scan in the retracting direction. . 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
Calculate as L. This means that even if you do not retract to the infinite position, if you retract only to 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ではレンズ駆動(繰り込み方向)を行うべくレン
ズ駆動回路(L D C)に信号を出力し、#225〜
#245を経て、再び#250に至る。今度は、FOW
F=1ではないので、#200に戻ることはなく、#2
55(第7図〉に進む。つまり、#250でFOWF=
1でない場合とは、繰り出し方向のスキャンも繰り込み
方向のスキャンも共に行ったが、焦点検出可能なレンズ
位置は見付からなかったということであるから、#25
5で焦点検出不能表示を行うものである。
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
After #245, the process returns to #250. This time, FOW
Since F=1, it does not return to #200 and #2
Proceed to 55 (Figure 7). In other words, at #250, FOWF=
If it is not 1, 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 #25
5 indicates that focus cannot be detected.

なお、繰り込み方向のスキャン中、#230で焦点検出
可能になった場合には、#233でフラグFOWFをリ
セットし、合焦判定を行うべく#285(第7図)へ進
む。
If focus detection becomes possible in #230 during scanning in the retraction direction, the flag FOWF is reset 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に戻した後、#270で撮影準備スイッチ(
Sl)がONであるかを判定する。#270で撮影準備
スイッチ(Sl)がONでなければ、#40で全表示を
消して、#30に戻る。#270で撮影準備スイッチ(
Sl)がONであれば、#275て焦点検出を行い、#
280で焦点検出不能であるかを判定する。#280で
焦点検出不能であれば、#270に戻る。#280で焦
点検出不能でなければ、#285でレンズ位置セットフ
ラグ5ETFを0とし、#290でローコンスキャンエ
ンドフラグLSENDFを0とし、#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, in #265, a flag F indicating the scan direction
After returning OWF to 0, press #270 to turn the shooting preparation switch (
SL) is ON. If the photographing preparation switch (Sl) is not ON in #270, the entire display is erased 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 0 in #290, and it is determined in #295 whether focus is achieved.

#295で合焦状態でないと判定すると、#300に進
んで合焦及び焦点検出不能表示を消して、#305でデ
フォーカス量DFに基づいてレンズ駆動量ΔN=DFX
Kを演算し、#310でレンズ駆動を開始する。#31
1では、レンズ駆動量がΔNに達したかを判定する。#
311でレンズ駆動量がΔNに達していなければ、レン
ズ駆動量がΔNに達するまで#311の判定動作を繰り
返す。#311でレンズ駆動量がΔNに達すれば、#3
12でレンズ駆動を停止し、#270に戻る。
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 is calculated and lens driving is started in #310. #31
In step 1, it is determined whether the lens drive amount has reached ΔN. #
If the lens driving amount has not reached ΔN in step 311, the determination operation in #311 is repeated until the lens driving amount reaches ΔN. If the lens drive amount reaches ΔN in #311, #3
At step 12, 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. At #320, the shooting preparation switch (Sl) is set to O.
If N, 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. Although unrelated to the present invention, in a camera in focus priority mode, when release is permitted in this focus locked state and 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, when the photographing preparation switch (Sl) is turned off, 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, the flag LS is set in #157.
Return ENDF to 0, set the lens initial position in #65 to #75, and proceed to #145. Note that the process proceeds to #157 only when the photographing preparation switch (Sl) is turned ON after being turned OFF.

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

次に、第8図の#330を通る場合には、#185及び
#180(第4図)において、低輝度て且つ焦点検出不
能であると判定されているので、補助光発光が必要であ
るが、補助光を発光しても無駄な場合もあるので、#3
30及び#335で、その判定を行う。ここで、第2図
に示す補助光発光装置(I LM)は、通常、カメラの
撮影レンズよりも上方に外部から装着された、あるいは
カメラ本体前面に設けられた発光ダイオードと投光用の
光学系とを含む。一方、焦点検出回路(A F C>は
、TTL位相差検出方式の焦点検出用光学系を含み、そ
の光軸は撮影レンズの光軸と一致する。したがって、補
助光投光用の光学系の光束域と焦点検出用の光束域とは
バララックスを有し、撮影レンズの前方の所定の距離(
画角によって変化する)から向こうでは、焦点検出用の
光束域が補助光投光用の光学系の光束域に完全に含まれ
てしまう。この距離が補助光により焦点検出を可能とす
べく被写体を照射できる範囲の下限てあり、これよりも
近い被写体に対しては、補助光発光を行っても無駄であ
る。また、カメラに長焦点レンズを装着した場合には、
補助光がレンズの鏡胴によりケラレるので、被写体に補
助光が当たらず、補助光を発光しても無駄になる場合が
ある。なお、補助光により焦点検出を可能とすべく被写
体を照射できる範囲の下限は、TTL方式の補助光シス
テムの採用により小さくできるが、補助光照射により焦
点検出が可能となる範囲の上限を大きくすることは、補
助光の到達距離がせいぜい1.0m程度であるので、余
り期待てきない。そこで、#330ではレンズの焦点距
離fが250mm以上であるかを判定し、#330てf
≧250てあれば、レンズ長が長いために補助光がケラ
レる場合があると判断して、補助光を発光せずに、#1
90(第5図)に進んで、ローコンスキャンの要否を判
定する。なお、長焦点レンズを用いた撮影では、補助光
が届かない遠距離撮影が多いので、補助光発光を禁止し
てもあまり問題はない。#330でr≧250てなけれ
ば、#335で等倍以上マクロレンズ装着信号LCPR
の有無を判定する。#335で等倍以上マクロレンズが
装着されていれば、補助光照射により焦点検出が可能と
なる範囲の下限よりも近い至近距離の撮影であると判断
して、補助光を発光せずに、#190(第5図)に進ん
て、ローコンスキャンの要否を判定する。#335で等
倍以上マクロレンズが装着されていなければ、#340
で補助光を発光させ、#345で焦点検出を行い、#3
50で焦点検出不能であるかを判定する。補助光は1回
の焦点検出毎に所定時間のみ発光する。#350で焦点
検出不能でなければ、#395に進む。#350で焦点
検出不能であれば、補助光による焦点検出が可能な範囲
の中間距離(例えば4m)、あるいは比較的撮影場面が
多い距離(例えは3m)Doにレンズ位置を合わせるべ
く、#355てレ−37−+++ ンズ駆動駆動量−N−2/Do)xK−Ncの演算を行
い、#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. Here, the auxiliary light emitting device (I LM) 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 systems. On the other hand, the focus detection circuit (AFC> includes a focus detection optical system using the TTL phase difference detection method, and its optical axis coincides with the optical axis of the photographing lens. Therefore, the focus detection circuit (AFC>) The luminous flux region and the luminous flux region for focus detection have a balax, and the luminous flux region and the luminous flux region for focus detection have a balax, and the distance in front of the photographic lens (
(changes depending on the angle of view), 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. Also, if a long focal length lens is attached to the camera,
Since the auxiliary light is vignetted by the lens barrel, the auxiliary light does not illuminate 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 fill light can be reduced by adopting a TTL fill light system, but the upper limit of the range in which focus detection is possible with fill light irradiation can be made smaller. The thing is, the reach distance of the auxiliary light is about 1.0 m at most, so I don't have much hope for it. Therefore, in #330, it is determined whether the focal length f of the lens is 250 mm or more, and in #330, f
≧250, it is determined that the auxiliary light may be vignetted due to the long lens length, and the auxiliary light is not emitted and #1
Proceeding to 90 (FIG. 5), it is determined whether a low contrast scan is necessary. Note that when shooting with a long focal length lens, there are many long-distance shots where the auxiliary light cannot reach, so there is not much of a problem even if the auxiliary light emission is prohibited. If r≧250 is not determined in #330, the macro lens attachment signal LCPR of equal magnification or higher is determined in #335.
Determine the presence or absence of. If a macro lens of equal or larger magnification is attached in #335, it is determined that the shooting is at close range, which is closer than the lower limit of the range where focus detection is possible with auxiliary light irradiation, and the auxiliary light is not emitted. Proceeding to #190 (FIG. 5), it is determined whether a low contrast scan is necessary. If a macro lens of 100% magnification or higher is not attached to #335, #340
Emits the auxiliary light with #345, performs focus detection with #3
At step 50, it is determined whether the focus cannot be detected. The auxiliary light is emitted only for a predetermined period of time for each focus detection. If the focus is not detected in #350, the process proceeds to #395. If focus cannot be detected in #350, adjust the lens position to an intermediate distance (e.g. 4 m) within the range where focus detection using the auxiliary light is possible, or a distance (e.g. 3 m) where there are relatively many photographic scenes, using #355. Then, lens drive amount -N-2/Do)xK-Nc is calculated, and lens drive is started in #360. In #361,
It is determined whether the lens drive amount reaches ΔN.

#361でレンズ駆動量がΔNに達していなければ、レ
ンズ駆動量がΔNに達するまで#361の判定動作を繰
り返す。#361てレンズ駆動量がΔNに達すれば、#
362てレンズ駆動を停止する。そして、#370で補
助光発光を行い、#375で焦点検出を行い、#380
て焦点検出不能であるかを判定する。#380て焦点検
出不能でなければ、#395に進む。#380で焦点検
出不能であれば、#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. #361 When the lens drive amount reaches ΔN, #
At 362, the lens drive is stopped. Then, the auxiliary light is emitted in #370, the focus is detected in #375, and the focus is detected in #380.
Determine whether focus cannot be detected. If the focus cannot be detected in #380, the process proceeds to #395. If the focus cannot be detected in #380, a focus detection failure display is performed in #385, and
In #390, it is determined whether the photographing preparation switch (Sl) is ON. At #390, the 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では焦点検出不能表示を消し、#400では合
焦であるかを判定する。#400て合焦であれは、#4
20で合焦表示を行い、#425−38= で撮影準備スイッチ(Sl)がONであるかを判定する
。#425で撮影準備スイッチ(Sl)かONであれば
、撮影準備スイッチ(Sl)がONでなくなるまて、#
425の判定を繰り返す。#425て撮影準備スイッチ
(Sl)がONでなくなれば、#40て表示を消して、
#30に戻る。#400で合焦でなければ、#405で
デフォーカス量DFからレンズ駆動量ΔN = D F
 X l(を演算し、#410てレンズ駆動を開始する
。#412ては、レンズ駆動量がΔNに達したかを判定
する。#412でレンズ駆動量がΔNに達していなけれ
ば、レンズ駆動量がΔNに達するまて#412の判定動
作を繰り返す。#412でレンズ駆動量がΔNに達すれ
ば、#413でレンズ駆動を停止し、#415で撮影準
備スイッチ(Sl)がONであるかを判定する。#41
5で撮影準備スイッチ(Sl)がONであれば#370
に戻り、ONでなければ#40で表示を消して、#30
に戻る。
In #395, the focus detection failure display is erased, and in #400, it is determined whether focus is achieved. If #400 is in focus, #4
In step 20, the focus is displayed, and in step #425-38, it is determined whether the photographing preparation switch (Sl) is ON. If the shooting preparation switch (Sl) is ON in #425, the shooting preparation switch (Sl) is not ON until the shooting preparation switch (Sl) is turned ON.
425 is repeated. #425 If the shooting preparation switch (Sl) is no longer ON, turn off the display #40,
Return to #30. If it is not in focus at #400, change the lens drive amount ΔN = D F from the defocus amount DF at #405.
Calculate X l(, and start lens driving in #410. In #412, determine whether the lens driving amount has reached ΔN. If the lens driving amount has not reached ΔN in #412, lens driving starts. The determination operation in #412 is repeated until the amount reaches ΔN. If the lens drive amount reaches ΔN in #412, the lens drive is stopped in #413, and in #415 whether the photographing preparation switch (Sl) is ON or not. Determine. #41
If the shooting preparation switch (Sl) is ON in step 5, #370
Return to , if it is not ON, turn off the display with #40, and press #30
Return to

最後に、第1図に示す本発明の基本構成と第2図以降の
実施例との対応関係について説明しておく。第2図のレ
ンズ回路(L E C)はレンズ(1)に含まれており
、焦点検出回路(AFC)は焦点検出手段(2)に対応
している。また、補助光発光装置(I LM)は補助光
発光手段(3)に対応している。
Finally, the correspondence between the basic configuration of the present invention shown in FIG. 1 and the embodiments shown in FIG. 2 and thereafter will be explained. The lens circuit (LEC) in FIG. 2 is included in the lens (1), and the focus detection circuit (AFC) corresponds to focus detection means (2). Further, the auxiliary light emitting device (ILM) corresponds to the auxiliary light emitting means (3).

第9図のレンズ位置演算のサブルーチンは第1のレンズ
位置決定手段(4)に対応している。第8図の#355
のステップは第2のレンズ位置決定手段(5)に対応し
ている。第2図のレンズ駆動回路(L D C)はレン
ズ駆動手段(6)に対応している。
The lens position calculation subroutine shown in FIG. 9 corresponds to the first lens position determining means (4). #355 in Figure 8
The step corresponds to the second lens position determining means (5). The lens drive circuit (LDC) in FIG. 2 corresponds to the lens drive means (6).

同図の撮影準備スイッチ(Sl)は操作部材(7)に対
応している。第3図の#65〜#75と#145は第1
の制御手段(8)に対応している。第4図の#180と
#]85のステップは焦点検出不能判定手段(9)に対
応している。第8図の#365〜#375のステップは
第2の制御手段(10)に対応している。
The photographing preparation switch (Sl) in the figure corresponds to the operation member (7). #65 to #75 and #145 in Figure 3 are the first
This corresponds to the control means (8). Steps #180 and #]85 in FIG. 4 correspond to the focus detection failure determining means (9). Steps #365 to #375 in FIG. 8 correspond to the second control means (10).

[発明の効果] 本発明は上述のように、補助光の発光時と非発光時とて
、レンズの初期停止位置を切り換えるようにしたので、
レンズの初期停止位置を補助光の有無に関係なく一定と
する場合に比べると、補助光の発光時にも非発光時にも
焦点検出が可能となる確率を高くすることができるとい
う効果がある。
[Effects of the Invention] As described above, the present invention switches the initial stop position of the lens when the auxiliary light is emitted and when it is not emitted.
Compared to the case where the initial stop position of the lens is constant regardless of the presence or absence of the auxiliary light, this has the effect of increasing the probability that focus detection is possible both when the auxiliary light is emitted and when the auxiliary light is not emitted.

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

第1図は本発明の基本構成を示すブロック図、第2図は
本発明の一実施例のブロック回路図、第3図乃至第11
図は同上の動作を示すフローチャート、第12図は同上
の動作説明図である。 (1)はレンズ、(2)は焦点検出手段、(3)は補助
光発光手段、(4)は第1のレンズ位置決定手段、(5
)は第2のレンズ位置決定手段、(6)はレンズ駆動手
段、(7)は操作部材、(8)は第1の制御手段、くっ
)は焦点検出不能判定手段、(10)は第2の制御手段
である。
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 a lens, (2) is a focus detection means, (3) is an auxiliary light emitting means, (4) is a first lens position determining means, (5)
) is the second lens position determining means, (6) is the lens driving means, (7) is the operating member, (8) is the first control means, ku) is the focus detection failure determining means, and (10) is the second control means.

Claims (2)

【特許請求の範囲】[Claims] (1)撮影用のレンズと、レンズの焦点状態を検出する
焦点検出手段と、撮影領域に焦点検出用の補助光を照射
する補助光発光手段と、補助光非発光時におけるレンズ
の第1の初期停止位置を決定する第1のレンズ位置決定
手段と、補助光発光時におけるレンズの第2の初期停止
位置を決定する第2のレンズ位置決定手段と、レンズを
駆動するレンズ駆動手段と、焦点検出手段を動作させる
ために操作される操作部材と、操作部材の操作により焦
点検出手段が動作する前に、第1のレンズ位置決定手段
により決定された第1の初期停止位置にレンズを駆動す
るようにレンズ駆動手段を制御する第1の制御手段と、
補助光非発光状態での焦点検出手段による焦点検出が不
能であるか否かを判定する焦点検出不能判定手段と、焦
点検出不能判定手段により焦点検出が不能であると判定
されたときに、第2のレンズ位置決定手段により決定さ
れた第2の初期停止位置にレンズを駆動するようにレン
ズ駆動手段を制御して補助光発光手段及び焦点検出手段
を動作させる第2の制御手段とを備えて成ることを特徴
とする焦点検出装置。
(1) A lens for photographing, a focus detection means for detecting the focus state of the lens, an auxiliary light emitting means for irradiating the photographing area with auxiliary light for focus detection, and a first auxiliary light of the lens when the auxiliary light is not emitted. a first lens position determining means for determining an initial stop position; a second lens position determining means for determining a second initial stop position of the lens when emitting auxiliary light; a lens driving means for driving the lens; An operating member that is operated to operate the detection means, and driving the lens to a first initial stop position determined by the first lens position determining means before the focus detection means is operated by the operation of the operation member. a first control means for controlling the lens drive means in such a manner;
a focus detection impossibility determining means for determining whether or not focus detection by the focus detecting means is impossible in a state in which the auxiliary light is not emitted; and a second control means for controlling the lens driving means to drive the lens to the second initial stop position determined by the second lens position determining means and operating the auxiliary light emitting means and the focus detection means. A focus detection device characterized by:
(2)第1の初期停止位置は撮影倍率に応じて決定され
、第2の初期停止位置は補助光の到達距離に応じて決定
されることを特徴とする請求項(1)記載の焦点検出装
置。
(2) Focus detection according to claim (1), wherein the first initial stop position is determined according to the photographing magnification, and the second initial stop position is determined according to the reach distance of the auxiliary light. Device.
JP1161988A 1988-01-21 1988-01-21 Focus detector Pending JPH01187517A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP1161988A JPH01187517A (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
JP1161988A JPH01187517A (en) 1988-01-21 1988-01-21 Focus detector

Publications (1)

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

Family

ID=11782939

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH01187517A (en)

Similar Documents

Publication Publication Date Title
US6473568B2 (en) Camera having illumination device and control function for same
US11953819B2 (en) Lens apparatus and image pickup apparatus
JPH1123955A (en) Automatic focusing camera
US6144804A (en) Camera with visual line detection capability
US4952965A (en) Automatic focus detecting apparatus
JP3780051B2 (en) Camera autofocus device
JPH01187520A (en) Focus detector
JPH01187517A (en) Focus detector
JPH01187521A (en) Focus detector
US4816858A (en) Automatic focusing cameras
JP2847703B2 (en) Focus detection device
JPH01187519A (en) Focus detector
JPH07199262A (en) Camera provided with image blurring correcting function
JP3699757B2 (en) Strobe dimmer
JPH01187514A (en) Focus detector
US5017956A (en) Flash photography system
JPH01187516A (en) Focus detector
JP2644252B2 (en) Auto focus camera
JPH01287513A (en) Interchangeable lens type automatic focus adjusting device and its interchangeable lens
JP2880833B2 (en) Auto focus camera
JP2650375B2 (en) Camera that can drive lens during exposure
JP3248586B2 (en) Camera system and camera
US6047137A (en) Camera
JPH01187515A (en) Focus detector
JPH01287509A (en) Interchangeable lens camera