JP3187033B2 - Camera auto focus device - Google Patents

Camera auto focus device

Info

Publication number
JP3187033B2
JP3187033B2 JP5014090A JP5014090A JP3187033B2 JP 3187033 B2 JP3187033 B2 JP 3187033B2 JP 5014090 A JP5014090 A JP 5014090A JP 5014090 A JP5014090 A JP 5014090A JP 3187033 B2 JP3187033 B2 JP 3187033B2
Authority
JP
Japan
Prior art keywords
amount
focus
focus group
lens
shift
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP5014090A
Other languages
Japanese (ja)
Other versions
JPH03249717A (en
Inventor
良紀 松澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Corp
Original Assignee
Olympus Optic 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 Olympus Optic Co Ltd filed Critical Olympus Optic Co Ltd
Priority to JP5014090A priority Critical patent/JP3187033B2/en
Publication of JPH03249717A publication Critical patent/JPH03249717A/en
Application granted granted Critical
Publication of JP3187033B2 publication Critical patent/JP3187033B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、カメラの自動焦点調節装置、詳しくはカ
メラ等の撮影レンズの自動焦点調節装置に係わり、特
に、フォーカス群の光軸方向の繰出量と、焦点調節動作
のための駆動部材の駆動量が非直線的な関係を有するレ
ンズの自動焦点調節装置に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic focus adjusting device for a camera, and more particularly, to an automatic focus adjusting device for a photographing lens such as a camera. The present invention relates to an automatic focusing device for a lens in which the amount and the driving amount of a driving member for a focusing operation have a non-linear relationship.

[従来の技術] フォーカス群の光軸方向の繰出量とフォーカス群を駆
動するための駆動部材の駆動量が非直線的な関係を有す
るレンズとしては、例えば、同じ被写体距離に対応する
フォーカス群の無限遠位置からの光軸方向の繰出量が、
設定されている焦点距離によって異なっているバリフォ
ーカル光学系を有するズームレンズがある。
2. Description of the Related Art As a lens having a non-linear relationship between the amount of extension of the focus group in the optical axis direction and the amount of drive of a driving member for driving the focus group, for example, a lens of the focus group corresponding to the same subject distance is used. The extension amount in the optical axis direction from the infinity position is
There is a zoom lens having a varifocal optical system that differs depending on a set focal length.

このような光学系では、同一の被写体距離に対して、
ズーミングによる焦点距離の変化に伴ってピント面の移
動が生じる。このピントのずれを補正するためには、ズ
ーミングに伴いフォーカス群の光軸方向の繰出量を適切
な量へ変化させなければならない。そして、このような
ズーミングによるピントの移動を補正した上記光学系の
駆動方式としては、焦点距離によって異なるフォーカス
群の光軸方向の必要な繰出量を一つの関数で近似させ、
焦点距離に応じて、この関数の使用範囲を変えるという
方式の距離環が提案されている。
In such an optical system, for the same subject distance,
The focal plane moves as the focal length changes due to zooming. In order to correct this focus shift, the amount of extension of the focus group in the optical axis direction must be changed to an appropriate amount with zooming. Then, as a driving method of the optical system in which the focus movement due to such zooming is corrected, a necessary extension amount in the optical axis direction of a focus group different depending on a focal length is approximated by one function,
A distance ring has been proposed in which the range of use of this function is changed according to the focal length.

しかし、このようなレンズの駆動量をピントのずれか
ら直接求めることは困難である。即ち、距離カムを使用
してピント合わせを行う場合、距離環の回転角とフォー
カス群の光軸方向の移動量が比例関係にならないため、
ピントずれを距離環の回転角、つまりフォーカス群の焦
点調節のための駆動量であるが、その角度に変換できな
かった。更に、レンズの繰出量によって、或いは、ズー
ミングによって関数の使用範囲も変化し、そのためにピ
ントのずれを焦点調節のためにフォーカス群の駆動量に
変換することはますます困難なことである。
However, it is difficult to directly obtain such a lens driving amount from a focus shift. That is, when focusing is performed using the distance cam, the rotation angle of the distance ring and the amount of movement of the focus group in the optical axis direction do not have a proportional relationship.
The defocus is a rotation amount of the distance ring, that is, a drive amount for adjusting the focus of the focus group, but could not be converted to that angle. Furthermore, the range of use of the function varies depending on the amount of lens extension or zooming, so that it is increasingly difficult to convert the focus shift into the focus group drive amount for focus adjustment.

そこで、このような欠点を除去するために、各焦点距
離情報と各繰出量とピントずれの情報(デフォーカス
量)によって合焦に必要な焦点調節のための駆動量を記
憶手段にデータテーブルとして記憶しておき、各検出量
に応じて駆動量を設定することで、焦点調節を可能にす
る方法が特開昭64−59311号公報によって提案されてい
る。
Therefore, in order to eliminate such a defect, the driving amount for the focus adjustment necessary for focusing is stored as a data table in the storage unit based on the respective focal length information, the respective extension amounts, and the information on the defocus (a defocus amount). Japanese Patent Application Laid-Open No. 64-59311 proposes a method in which the focus can be adjusted by storing the drive amount and setting the drive amount according to each detection amount.

[発明が解決しようとする課題] ところが、この特開昭64−59311号公報に開示されて
いる方法では、膨大な記憶容量を持つ記憶手段が必要に
なり現状では実現させることが難しい。
[Problems to be Solved by the Invention] However, the method disclosed in Japanese Patent Application Laid-Open No. 64-59311 requires a storage unit having a huge storage capacity, and is difficult to realize at present.

本発明の目的は、このような状況に鑑み、フォーカス
群の駆動量とフォーカス群の光軸方向の繰出量が非直線
形の関係を持つ光学系において、簡単な構成でピントの
ずれを駆動量に変換することができるカメラの自動焦点
調節装置を提供するにある。
SUMMARY OF THE INVENTION In view of such circumstances, an object of the present invention is to provide an optical system having a non-linear relationship between the drive amount of a focus group and the extension amount of the focus group in the optical axis direction. It is an object of the present invention to provide an automatic focusing device for a camera which can be converted into a camera.

[課題を解決するための手段および作用] 第1A図〜第1C図は、本発明の概念を示したものであ
る。本発明のカメラの自動焦点調節装置は、その基本構
成を第1A図に示すようにフォーカス群の繰出量と、この
フォーカス群を駆動する駆動部材の駆動量との関係が非
線形な撮影レンズと、この撮影レンズによる結像面とカ
メラの所定結像面とのずれ方向およびずれ量を検出し、
それらをずれ情報として出力するずれ情報検出手段と、
このずれ情報に基づいて、上記フォーカス群を合焦位置
に移動するための繰出方向および繰出量を決定するフォ
ーカス群ずれ情報決定手段と、上記フォーカス群の基準
位置からの繰出量を検出する繰出量検出手段と、上記フ
ォーカス群ずれ情報決定手段の出力と、上記繰出量検出
手段の出力と、所定の演算式とに基づいて所定の演算を
実行して、上記フォーカス群を合焦位置に移動するため
の、上記駆動部材の駆動量を決定する演算手段とを具備
したことを特徴とするものである。
[Means and Actions for Solving the Problems] FIGS. 1A to 1C show the concept of the present invention. The automatic focus adjusting device of the camera of the present invention has a basic configuration, as shown in FIG.1A, a non-linear photographing lens in which the relationship between the extension amount of the focus group and the drive amount of the drive member that drives the focus group is nonlinear, Detecting the direction and amount of deviation between the imaging plane of this taking lens and the predetermined imaging plane of the camera,
Displacement information detecting means for outputting them as displacement information,
A focus group shift information determining means for determining a feed direction and a feed amount for moving the focus group to a focus position based on the shift information; and a feed amount for detecting a feed amount of the focus group from a reference position. A predetermined calculation is performed based on a detection unit, an output of the focus group shift information determination unit, an output of the feeding amount detection unit, and a predetermined calculation expression, and the focus group is moved to a focus position. Operating means for determining the amount of driving of the driving member.

[作 用] この自動焦点調節装置では、撮影レンズ5を通過した
被写体光の結像面とフィルム面との光軸方向のずれ方向
・ずれ量を検出するずれ情報検出手段1の出力信号を、
この出力信号に基づいて、撮影レンズ5のフォーカス群
の光軸方向の合焦位置と現在ある位置とのずれを演算し
て決定するフォーカス群情報決定手段2によってフォー
カス群の合焦点との光軸方向のずれ方向・ずれ量を示す
信号に変換する。更に、フォーカス群の現在の繰出位置
と上記フォーカス群の光軸方向のずれ方向・ずれ量の情
報とから、合焦に必要なフォーカス群の駆動量を決定す
るフォーカス群駆動量演算手段3において演算し、フォ
ーカス群駆動量として出力する。つまり、ピントずれを
フォーカス群の駆動量に変換する際に、まず、フォーカ
ス群の合焦点の光軸方向のずれの情報を求め、その後、
フォーカス群の駆動量を求める。
[Operation] In this automatic focusing apparatus, the output signal of the shift information detecting means 1 for detecting the shift direction and shift amount of the subject light passing through the photographing lens 5 between the imaging surface and the film surface in the optical axis direction is
On the basis of this output signal, the focus group information determining means 2 which calculates and determines the deviation between the focus position of the focus group of the photographing lens 5 in the optical axis direction and the current position, determines the optical axis of the focus group. The signal is converted into a signal indicating the direction and amount of deviation of the direction. Further, the focus group drive amount calculating means 3 for determining the drive amount of the focus group necessary for focusing from the current extension position of the focus group and information on the shift direction and shift amount of the focus group in the optical axis direction. Then, the focus group driving amount is output. That is, when converting the focus shift into the drive amount of the focus group, first, information on the shift in the optical axis direction of the focal point of the focus group is obtained.
The drive amount of the focus group is obtained.

また、同じ被写体距離に対応するフォーカス群の無限
遠位置からの光軸方向の繰出量が、設定されている焦点
距離によって異なっているバリフォーカル光学系を有す
るズームレンズにおいて、フォーカス群の光軸方向の繰
出量を補正するために焦点距離によって異なるフォーカ
ス群の光軸方向の必要な繰出量を一つの関数で近似させ
焦点距離に応じて、この関数の使用範囲を変えているレ
ンズ等に関しては、第1B図に示すように、焦点距離調節
光学系5aからの情報を検出する焦点距離情報検出手段6
を設け、その出力である設定焦点距離情報に基づいて、
上記フォーカス群ずれ情報決定手段2において、ずれ情
報検出手段1の出力信号を、上記設定されている焦点距
離情報に応じたフォーカス群の光軸方向のずれ方向・ず
れ量を示す信号に変換する。
Further, in a zoom lens having a varifocal optical system in which the amount of extension of the focus group corresponding to the same object distance from the infinity position from the infinity position differs depending on the set focal length, in the optical axis direction of the focus group For a lens or the like that changes the range of use of this function according to the focal length, approximating the required extension amount in the optical axis direction of the focus group that differs depending on the focal length to correct the extension amount according to the focal length, As shown in FIG. 1B, a focal length information detecting means 6 for detecting information from the focal length adjusting optical system 5a.
And based on the set focal length information that is the output,
The focus group shift information determining means 2 converts the output signal of the shift information detecting means 1 into a signal indicating the shift direction and shift amount of the focus group in the optical axis direction according to the set focal length information.

また、上記のようなズームレンズの場合、第1C図に示
すように、第1B図と同様に、焦点距離情報検出手段6を
設け、その出力である設定焦点距離情報に基づいて、上
記フォーカス群駆動量演算手段3において、上記設定さ
れている焦点距離情報と繰出量検出手段4からのフォー
カス群の現在の繰出位置信号に応じて、フォーカス群の
光軸方向のずれ方向・ずれ量を示す信号をフォーカス群
駆動量に変換する。
In addition, in the case of the above-described zoom lens, as shown in FIG. 1C, a focal length information detecting means 6 is provided as in FIG. A signal indicating the direction and amount of shift of the focus group in the optical axis direction in accordance with the set focal length information and the current feed position signal of the focus group from the feed amount detection means 4 in the drive amount calculation means 3. Is converted into the focus group drive amount.

更にまた、上記のようなズームレンズの距離カムの形
状を決める式(関数)については、被写体の距離とその
距離に対するフォーカス群の光軸方向の繰出量の関係が
一次の双曲線関数によく近似できることから双曲線関数
に設定する方が誤差が少なくなる。特に、距離カムの式
をレンズのワイド端をθ=0、至近方向・テレ方向をθ
がプラス、カムのリフト量をZ、A0・B0を距離カム式の
定数として、 Z=B0/(A0+θ) 或いは、 Z=B0/(A0+θ)−B0/A0 とすることでフォーカス群駆動量演算手段3における演
算が、簡単に精度良く求めることができる。
Furthermore, as for the equation (function) that determines the shape of the distance cam of the zoom lens as described above, the relationship between the distance of the subject and the amount of extension of the focus group in the optical axis direction with respect to the distance can be well approximated to a first-order hyperbolic function. The error is smaller when the function is set to a hyperbolic function. In particular, the formula of the distance cam is as follows: θ = 0 at the wide end of the lens, θ
Z = B 0 / (A 0 + θ) or Z = B 0 / (A 0 + θ) −B 0 / A where Z is the lift amount of the cam, Z is the constant of the distance cam type, and A 0 · B 0 is the constant of the distance cam type. By setting the value to 0 , the calculation by the focus group drive amount calculation means 3 can be easily and accurately obtained.

[実 施 例] 以下、本発明を、AF機能を有しレンズ交換式カメラに
適用した実施例について説明する。
[Embodiment] An embodiment in which the present invention is applied to an interchangeable lens camera having an AF function will be described below.

第2図は、本発明が適用されるカメラシステムの電源
供給を主体として見た全体のブロック図である。電源電
池11の電圧VCCは電源スイッチ12の閉成時にDC/DCコンバ
ータ13により昇圧され、ラインl0,l1間が電圧VDDに定電
圧化されている。ラインl0,l1間にメインCPU14,バイポ
ーラII回路15,バイポーラI回路16,ストロボ性御回路1
7,レンズ固有データ回路18a,レンズ固定データ回路18b,
データバック回路19が接続されており、バイポーラII回
路15の電源供給制御はメインCPUのパワーコントロール
回路からの信号により行われ、バイポーラI回路16〜デ
ータバック回路19の電源供給制御はバイポーラII回路15
からのパワーコントロール信号により行なわれる。
FIG. 2 is an overall block diagram mainly showing power supply of a camera system to which the present invention is applied. The voltage V CC of the power battery 11 is boosted by the DC / DC converter 13 when the power switch 12 is closed, and the voltage between the lines l 0 and l 1 is made constant at the voltage V DD . The main CPU14 between line l 0, l 1, bipolar II circuit 15, bipolar I circuit 16, a strobe of control circuit 1
7, lens specific data circuit 18a, lens fixed data circuit 18b,
The power supply control of the bipolar II circuit 15 is performed by a signal from the power control circuit of the main CPU, and the power supply control of the bipolar I circuit 16 to the data back circuit 19 is controlled by the bipolar II circuit 15.
This is performed by a power control signal from the controller.

合焦センサ20,A/Dコンバータ21,AF用CPU22からなるAF
ブロックは電源制御用トランジスタ23を介してライン
l0,l1間に接続されており、このAFブロックに対する電
源供給制御はメインCPU14のAF用パワーコントロール回
路からの信号による上記トランジスタ23のオン,オフ制
御により行なわれる。AF用CPU22はAF用アルゴリズム演
算を行なうための回路で、合焦・非合焦の表示を行なう
AF表示回路24が接続されている。メインCPU14は巻上、
巻戻、露出シーケンス等カメラ全体のシーケンスをコン
トロールするための回路で、上記合焦表示以外の表示を
行なう表示回路25を接続されている。バイポーラII回路
15は巻上、巻戻用モータ制御、レンズ駆動およびシャッ
タ制御等、カメラのシーケンスに必要な各種ドライバを
含む回路で、AFモータ駆動回路26およびAF補助光回路27
等が接続されている。バイポーラI回路16は主として測
光をつかさどる回路であり、測光素子28を有している。
ストロボ制御回路17は内蔵、或いは外付けされたストロ
ボ29に対する発光制御を行なうためのものである。レン
ズ固有データ回路18aは、交換レンズ毎に異なる、AF、
測光、その他のカメラ制御に必要な、固有のレンズデー
タを記憶した回路である。このレンズ固有データ回路18
aに入っているレンズデータのうちAFに必要なデータと
しては、レンズ変倍係数(最適AF係数)、マクロ識別信
号、絶対距離係数a,b,パワーフォーカスデューティ係
数,倍率係数,AF精度スレッショルドETh,レンズ移動方
向,開放F値等である。これらのデータは必要に応じ
て、設定されている焦点距離の情報により読み出される
記憶部が変更され、データが切換られる。レンズ固定デ
ータ回路18bは、交換レンズ毎には異ならない固定した
演算に必要なデータを記憶した回路である。またレンズ
固有データ回路18a,レンズ固定データ回路18bのデータ
は、それぞれカメラ内のメインCPU14またはAF用CPU22等
のメモリ内に記憶するようにしても良い。
AF consisting of focus sensor 20, A / D converter 21, and AF CPU 22
The block is connected via the power control transistor 23
l 0, which is connected between l 1, on of the transistor 23 the power supply control for the AF block by the signal from the AF power control circuit of the main CPU 14, is performed by the off control. The AF CPU 22 is a circuit for performing an algorithm operation for AF, and displays in-focus and out-of-focus.
The AF display circuit 24 is connected. The main CPU 14 is wound up,
A circuit for controlling the sequence of the entire camera, such as a rewinding and exposure sequence, is connected to a display circuit 25 for performing a display other than the in-focus display. Bipolar II circuit
Reference numeral 15 denotes a circuit including various drivers necessary for a camera sequence, such as a motor control for winding and rewinding, lens driving and shutter control, and the like.
Etc. are connected. The bipolar I circuit 16 is a circuit mainly responsible for photometry, and has a photometric element 28.
The flash control circuit 17 controls the light emission of a built-in or external flash 29. The lens-specific data circuit 18a is different for each interchangeable lens, AF,
This is a circuit that stores unique lens data necessary for photometry and other camera control. This lens specific data circuit 18
Among the lens data contained in a, the data necessary for AF include lens zooming coefficient (optimal AF coefficient), macro identification signal, absolute distance coefficient a, b, power focus duty coefficient, magnification coefficient, AF accuracy threshold ETh , Lens moving direction, open F value, and the like. For these data, the storage unit to be read is changed according to the information on the set focal length, and the data is switched as needed. The lens fixed data circuit 18b is a circuit that stores data necessary for a fixed operation that does not differ for each interchangeable lens. The data of the lens specific data circuit 18a and the data of the lens fixed data circuit 18b may be stored in a memory such as the main CPU 14 or the AF CPU 22 in the camera.

上記バイポーラII回路15では電源電圧VDDの状態を監
視しており、電源電圧が規定電圧より低下したときメイ
ンCPU14にシステムリセット信号を送り、バイポーラII
回路15〜データバック回路19の電源供給、並びに、合焦
センサ20,A/Dコンバータ21およびAF用CPU22からなるAF
ブロックの電源供給を断つようにしている。メインCPU1
4への電源供給は規定電圧以下でも行なわれる。
The bipolar II circuit 15 monitors the state of the power supply voltage V DD , and sends a system reset signal to the main CPU 14 when the power supply voltage falls below a specified voltage, and
The circuit 15 to the power supply of the data back circuit 19, and the AF including the focus sensor 20, the A / D converter 21 and the AF CPU 22
The power supply of the block is cut off. Main CPU1
Power supply to 4 is performed even at a specified voltage or less.

第3図はAFブロックを中心とした信号の授受を示す系
統図であり、AF用CPU22とメインCPU14はシリアルコミュ
ニケーションラインでデータの授受を行ない、その通信
方向はシリアルコントロールラインにより制御される。
このコミュニケーションの内容としては、レンズ固有デ
ータ回路18a内の固有のレンズデータや、絶対距離情報
である。また、メインCPU14からAF用CPU22にカメラのモ
ード(AFシングルモード/AFシーケンスモード/パワー
フォーカス(以下、PFと略記する)モード/その他のモ
ード)の各情報がモードラインを通じてデコードされ
る。さらに、メインCPU14からAF用CPU22へのAFENA(AF
イネーブル)信号はAF,PFの各モードのスタートおよび
ストップをコントロールする信号であり、AF用CPU22か
らメインCPU14へのEOFAF(エンドオブAF)信号はAF,PF
モードでの動作終了時に発せられ露出シーケンスへの移
行を許可する信号である。
FIG. 3 is a system diagram showing transmission and reception of signals centering on the AF block. The CPU 22 for AF and the main CPU 14 exchange data through a serial communication line, and the communication direction is controlled by a serial control line.
The contents of the communication include unique lens data in the lens unique data circuit 18a and absolute distance information. Further, the information of the camera mode (AF single mode / AF sequence mode / power focus (hereinafter abbreviated as PF) mode / other modes) is decoded from the main CPU 14 to the AF CPU 22 through the mode line. In addition, the AFENA (AF
The enable) signal controls the start and stop of each mode of AF and PF, and the EOFAF (end of AF) signal from the AF CPU 22 to the main CPU 14 is AF and PF.
This signal is issued at the end of the operation in the mode and permits the shift to the exposure sequence.

また、バイポーラII回路15はAF用CPU22からのAFモー
タコントロールラインの信号をデコードし、AFモータ駆
動回路26をドライブする。AFモータ駆動回路26の出力に
よりAFモータ(レンズ駆動モータ)31が回転すると、レ
ンズ鏡筒の回転部材に等間隔に設けられたスリット32が
回転し、同スリット32の通路を挟んで発光部33aと受光
部33bとを対向配置させてなるフォトインタラプタ33が
スリット32をカウントする。即ち、スリット32とフォト
インタラプタ33はレンズ移動量検出部34を構成してお
り、同移動量検出部34から発せられたアドレス信号(ス
リット32のカウント信号)は波形整形されてAF用CPU22
に取り込まれる。
Further, the bipolar II circuit 15 decodes the signal of the AF motor control line from the AF CPU 22 and drives the AF motor drive circuit 26. When the AF motor (lens drive motor) 31 rotates by the output of the AF motor drive circuit 26, the slits 32 provided at equal intervals in the rotating member of the lens barrel rotate, and the light emitting unit 33a sandwiches the passage of the slit 32. The photointerrupter 33 in which the light-receiving unit 33b and the light-receiving unit 33b are opposed to each other counts the slit 32. That is, the slit 32 and the photo interrupter 33 constitute a lens movement amount detection unit 34, and the address signal (the count signal of the slit 32) emitted from the movement amount detection unit 34 is shaped into a waveform, and the AF CPU 22
It is taken in.

AF用CPU22からバイポーラII回路15に送られるサブラ
ンプ(以下、Sランプと略記する)信号はAF補助光回路
27をコントロールする信号で、被写体がローライト(低
輝度),ローコントラストのときSランプ27aを点灯す
る。
The sub lamp (hereinafter abbreviated as S lamp) signal sent from the AF CPU 22 to the bipolar II circuit 15 is an AF auxiliary light circuit.
The S lamp 27a is turned on when the subject is low light (low brightness) and low contrast.

AF用CPU22に接続されたAF表示回路24は合焦時に点灯
する合焦表示用LED(発光ダイオード)24aと、合焦不能
時に点灯する合焦不能表示用LED24bを有している。な
お、このAF用CPU22にはクロック用発振器35,リセット用
コンデンサ36が接続されている。
The AF display circuit 24 connected to the AF CPU 22 has an in-focus indication LED (light emitting diode) 24a that lights up when focusing and an in-focus indication LED 24b that lights up when focusing is impossible. A clock oscillator 35 and a reset capacitor 36 are connected to the AF CPU 22.

また、上記AF用CPU22とA/Dコンバータ21はバスライン
によりデータの授受を行ない、その伝送方向はバスライ
ンコントロール信号により制御される。そして、AF用CP
U22からA/Dコンバータ21にセンサ切換信号、システムク
ロック信号が送られるようになっている。そして、A/D
コンバータ21は例えば、CCDからなる合焦センサ20に対
しCCD駆動クロック信号、CCD制御信号を送り、合焦セン
サ20からCCD出力を読み出し、この読み出したアナログ
値のCCD出力をディジタル変換してAF用CPU22に送る。
The AF CPU 22 and the A / D converter 21 exchange data via a bus line, and the transmission direction is controlled by a bus line control signal. And AF CP
A sensor switching signal and a system clock signal are sent from the U22 to the A / D converter 21. And A / D
For example, the converter 21 sends a CCD drive clock signal and a CCD control signal to a focus sensor 20 composed of a CCD, reads a CCD output from the focus sensor 20, converts the read analog output of the CCD output into a digital signal, and performs AF conversion. Send to CPU22.

次に、本発明の自動焦点調節装置を有するカメラに取
り付けらている撮影レンズ光学系を、第11図によって説
明する。この撮影レンズ光学系は、カメラ本体に固定さ
れていても良いし、或いは、交換可能になっていても構
わない。また光学系は、本実施例に述べるものに限らず
カメラの撮影用のレンズであれば何でも構わない。
Next, the taking lens optical system attached to the camera having the automatic focusing device of the present invention will be described with reference to FIG. This taking lens optical system may be fixed to the camera body or may be replaceable. Further, the optical system is not limited to the one described in the present embodiment, and may be any lens as long as it is a lens for photographing a camera.

この撮影レンズ光学系は、同じ被写体距離に対応する
フォーカス群の無限遠位置からの光軸方向の繰出量が、
設定されている焦点距離によって異なっている5群から
なるズームレンズ構成されている。即ち、レンズL1〜L3
からなる第1群,L4〜L7からなる第2群,L8〜L10からな
る第3群,L11〜L14からなる第4群およびL15,L16からな
る第5群のレンズ光学系で構成されており、この第11図
に示す状態は最大の焦点距離を持つテレ端での状態を示
している。
In this photographing lens optical system, the extension amount of the focus group corresponding to the same subject distance from the infinity position in the optical axis direction is
The zoom lens includes five groups that are different depending on the set focal length. That is, the lenses L 1 to L 3
The first group consisting of, a second group consisting of L 4 ~L 7, a third group consisting of L 8 ~L 10, the fifth group consisting of the fourth group and consisting of L 11 ~L 14 L 15, L 16 It is composed of a lens optical system, and the state shown in FIG. 11 shows the state at the telephoto end having the maximum focal length.

このズームレンズはテレ側は焦点距離131.5044mmであ
り、ワイド側は36.2932mmである。
This zoom lens has a focal length of 131.5044 mm on the tele side and 36.2932 mm on the wide side.

次の第2表は、上記各レンズ群の焦点距離・主点位置
・群の厚さのデータを示したものである。
The following Table 2 shows data on the focal length, principal point position, and group thickness of each lens group.

このズームレンズ光学系は、ズーミング操作により第
1群レンズから第4群レンズの位置が変化し、第5群レ
ンズは移動しないように固定されている。また、各レン
ズ群の間隔の変化は一定ではなく、その変化する間隔
を、第11図に示すように、第1−第2群間隔をD1、第2
−第3群間隔をD2、第3−第4群間隔をD3、第4−第5
群間隔をD4として、焦点距離毎の各群の間隔データを第
3表に示す。
In this zoom lens optical system, the position of the first group lens to the fourth group lens is changed by the zooming operation, and the fifth group lens is fixed so as not to move. Further, the change in the interval between the lens groups is not constant, and the interval at which the change occurs is represented by D1 and D2, as shown in FIG.
The third group interval is D2, the third to fourth group interval is D3, the fourth to fifth
Table 3 shows the interval data of each group for each focal length, with the group interval being D4.

また、この第3表には、ズーム操作量のデータも記し
てある。このズーム操作量は、このレンズのズームのた
めのズーム環の操作量(回転量)である。このズームレ
ンズのワイドからテレの状態までのズーム環の全操作量
は73.5度である。この第3表のズーム操作量は、ワイド
を基準として表してある。ズーム環の操作によって光学
系の位置が変更され、それぞれ表に示してある焦点距離
になる。この焦点距離は無限遠状態のものである。
Table 3 also shows data on the amount of zoom operation. The zoom operation amount is an operation amount (rotation amount) of a zoom ring for zooming the lens. The total operation amount of the zoom ring from the wide state to the telephoto state of the zoom lens is 73.5 degrees. The zoom operation amounts in Table 3 are based on the wide. The position of the optical system is changed by operating the zoom ring, and the focal lengths shown in the table are obtained. This focal length is at infinity.

また、このレンズの焦点調節は第1群と第2群を同じ
量だけ光軸に沿って移動させることで行われる。第3表
に示した各焦点距離毎のフォーカス群の、被写体距離に
応じた繰出量を第4表に示す。
The focus adjustment of this lens is performed by moving the first and second units by the same amount along the optical axis. Table 4 shows the amount of extension of the focus group for each focal length shown in Table 3 according to the subject distance.

この第4表に示すように、被写体距離は無限遠から1.
2mである。至近1.2mの場合、ワイドでは0.58934mmの繰
出量であるのに対し、テレでは2.66037mmの繰出量が必
要である。
As shown in Table 4, the subject distance is from infinity to 1.
2m. In the case of the nearest 1.2m, the extension amount of 0.58934mm in wide, whereas the extension amount of 2.66037mm in tele is necessary.

つまり、このズームレンズでは、ズーミング操作によ
り変化する焦点距離によって、同一の被写体距離に対応
するフォーカス群の光軸方向の繰出量が異なる。そし
て、そのために、ズーミングピント移動も起きる。この
ため、焦点距離によって異なる繰出量を一つの関数で近
似させ、設定される焦点距離に応じて、この関数の使用
範囲を変更することでズーミングピント移動を補正す
る。この繰出に使用される距離カム関数は、レンズのワ
イド端をθ=0、至近方向・テレ方向をθがプラス、A0
・B0を上記距離カム関数の定数とすると、θのときの関
数値Z(θ)は、 Z(θ)=B0/(A0+θ)−B0/A0 ………(1) で表され、定数A0・B0がズーミングピント移動を無くす
ように最適化されている。最適化のために、各焦点距離
毎の被写体距離(1.2m)に応じたフォーカス群の繰出量
と、焦点距離に応じた上記関数の使用範囲の変更量(7
3.5度)と、上記被写体距離に応じた上記関数の使用範
囲(36.75度)とが使用されている。つまり、ワイドの
無限遠に対応するθは0度であり、至近1.2mでは36.75
度、テレの無限遠に対応するθは73.5度、テレの至近1.
2mではθは110.25度になる。このときの、最適化された
距離カム関数の定数は、 A0=−160.877879(角度単位系) B0=−320.240186(角度単位系) である。第12図に、この距離カム関数による形状が示し
てある。実線の曲線で描いてあるラインが距離カムの形
状である。ライン上の○印は各焦点距離での至近1.2mで
の繰出位置である。図中のXA、XBで示されている値が距
離カム定数A0とB0である。また、図中のS、 で示されている値は、それぞれ誤差の平方和と誤差の平
均値である。このように、上記の方法で決定した距離カ
ムによると被写体距離1.2mの場合のズーミングによるフ
ォーカス群の繰出量のずれは、平均的には0.00001mm程
度になる。
That is, in this zoom lens, the amount of extension of the focus group corresponding to the same subject distance in the optical axis direction differs depending on the focal length changed by the zooming operation. Then, a zooming focus movement also occurs. For this reason, the amount of feeding different depending on the focal length is approximated by one function, and the zooming focus movement is corrected by changing the use range of this function according to the set focal length. The distance cam function used for this extension is as follows: θ = 0 at the wide end of the lens, θ is plus in the closest direction / telescopic direction, A 0
If B 0 is a constant of the distance cam function, the function value Z (θ) at θ is: Z (θ) = B 0 / (A 0 + θ) −B 0 / A 0 (1) And the constants A 0 and B 0 are optimized so as to eliminate the zooming focus movement. For optimization, the focus group extension amount according to the subject distance (1.2 m) for each focal length, and the use range change amount (7
3.5 degrees) and the use range (36.75 degrees) of the function according to the subject distance. In other words, θ corresponding to wide infinity is 0 degree, and 36.75 at the nearest 1.2 m.
Degrees, θ corresponding to tele infinity is 73.5 degrees, close to tele 1.
At 2 m, θ becomes 110.25 degrees. At this time, the optimized constant of the distance cam function is A 0 = −160.877879 (angle unit system) and B 0 = −320.240186 (angle unit system). FIG. 12 shows a shape based on this distance cam function. The line drawn by the solid curve is the shape of the distance cam. The circles on the line indicate the extended positions at the nearest 1.2 m at each focal length. XA in the figure is a 0 value is the distance the cam constant A 0 and B, shown in XB. Also, S, Are the sum of squares of the error and the average value of the error, respectively. As described above, according to the distance cam determined by the above method, the shift of the focus group extension amount due to zooming when the subject distance is 1.2 m is about 0.00001 mm on average.

また、実際にこのレンズ系の駆動に用いられる駆動パ
ルスは距離カムの角度36.75度に対して1406.4パルスに
する。このパルスを用いた単位系では、上記の最適化さ
れた距離カム関数の定数A0、B0は、 A0=−6156.698050(駆動パルス単位系) B0=−12255.396077(駆動パルス単位系) となる。
The drive pulse actually used for driving this lens system is set to 1406.4 pulses for an angle of 36.75 degrees of the distance cam. In the unit system using this pulse, the constants A 0 and B 0 of the optimized distance cam function are as follows: A 0 = −6156.698050 (drive pulse unit system) B 0 = −12255.396077 (drive pulse unit system) Become.

次に、上記第3表に示した各焦点距離(36.2932〜13
1.5044)での被写体距離に応じたピントのずれのデータ
を一覧にしてデフォーカステーブルとして以下の第5表
に示す。被写体距離は、無限遠(表中では99999.99mmで
示してある)、8000mm、6000mm、4000mm、3000mm、2000
mm、1600mm、1200mmである。横軸は各被写体距離に応じ
たレンズの繰出位置を、縦軸はレンズがにらむ被写体の
距離を表している。
Next, each focal length (36.2932 to 13
Table 5 below shows a list of defocus data according to the subject distance in 1.5044) as a defocus table. The subject distance is infinity (indicated by 99999.99mm in the table), 8000mm, 6000mm, 4000mm, 3000mm, 2000
mm, 1600 mm and 1200 mm. The abscissa represents the extension position of the lens corresponding to each subject distance, and the ordinate represents the distance of the subject glaring at the lens.

そして、第13図と第14図に、それぞれワイド(焦点距
離36.293mm)とテレ(焦点距離131.504mm)での、上記
第5表に示したピントずれと、このピントずれ(d)が
発生したときにフォーカス群を移動させ、合焦させるの
に必要なフォーカス群の繰出量(L)のグラフを示す。
このグラフ中、○印が上記第5表に示したピントずれの
データと合焦に必要なフォーカス群の繰出量を示してい
る。実線のラインは、このピントずれ(d)と合焦に必
要なフォーカス群の繰出量(L)の関係を、(d)と
(L)のデータを用いて最小自乗法により最適化された
最適AF係数A、B、Cを用いて、 L={B}−{A・B/(A+d)}+{C・d}………
…(2) の近似式で表したものである。この近似式と実際に必要
な繰出量との誤差は、ワイドで行き過ぎ・行き足らず
共、0.0001mm以下である。テレでは、行き過ぎ・行き足
らず共、0.001mm程度である。焦点距離毎に、最適化さ
れた最適AF係数A、B、Cを第6表に示す。
In FIGS. 13 and 14, the defocusing shown in Table 5 above and the defocusing (d) occurred in wide (focal length 36.293 mm) and tele (focal length 131.504 mm), respectively. 7 shows a graph of a focus group extension amount (L) necessary for occasionally moving a focus group and focusing.
In this graph, the circles indicate the data of the focus shift shown in Table 5 and the amount of extension of the focus group necessary for focusing. The solid line indicates the relationship between the focus shift (d) and the amount of focus group extension (L) required for focusing by the least squares method using the data of (d) and (L). Using the AF coefficients A, B, and C, L = {B} − {A · B / (A + d)} + {C · d}
.. (2). The error between this approximation formula and the actually required feeding amount is 0.0001 mm or less for both wide and excessive. In the tele, it is about 0.001mm for both over and under. Table 6 shows the optimized AF coefficients A, B, and C optimized for each focal length.

次に、第15図によってピントのずれをフォーカス群を
合焦させるための駆動量に変換するアルゴリズムについ
て説明する。
Next, an algorithm for converting a focus shift into a drive amount for focusing the focus group will be described with reference to FIG.

この部分は、第1図のフォーカス群ずれ情報決定手段
2とフォーカス群駆動量演算手段3に相当する。
This part corresponds to the focus group shift information determination means 2 and the focus group drive amount calculation means 3 in FIG.

まず、ピントのずれ方向・ずれ量を検出するずれ情報
検出手段1からのピントずれ情報(d)を、最適AF演算
部7(フォーカス群ずれ情報決定部)において焦点距離
検出手段9が検出した焦点距離情報に適したレンズの固
有データ記憶回路部18a内の最適AF係数A、B、Cを用
いて、フォーカス群の合焦に必要な光軸方向の移動量
(L)に変換する。ピントずれ情報(d)の単位[m
m]、フォーカス群の必要な移動量の単位を[mm]とす
ると、上記第6表の係数と上記の式(2)を用いて
(L)を求めることができる。
First, the focus error information (d) from the shift information detecting means 1 for detecting the shift direction and the shift amount of the focus is converted into the focal point detected by the focal length detecting means 9 in the optimum AF calculating section 7 (focus group shift information determining section). Using the optimum AF coefficients A, B, and C in the lens-specific data storage circuit section 18a suitable for the distance information, the data is converted into the movement amount (L) in the optical axis direction necessary for focusing of the focus group. Defocus information (d) unit [m
m], and if the unit of the required movement amount of the focus group is [mm], (L) can be obtained by using the coefficients in Table 6 and Expression (2).

その後、距離環回転量演算部(フォーカス群駆動量演
算手段)8において、上記フォーカス群の合焦に必要な
光軸方向の移動量Lの情報を、上記レンズの固有データ
記憶回路部18a内、あるいは演算プログラム中に即値で
書き込まれている距離カム関数の定数A0、B0と距離カム
関数とから、AFのための距離環の回転量(フォーカス群
駆動量)に変換演算する。このときの演算式は、第16図
に示すように、 S1:ズーミングによる距離カムの回転量 S2:測距時のレンズの繰出のための距離カムの使用量 P :AFのための距離環の回転量 L :フォーカス群の合焦に必要な光軸方向の移動量 x0:合焦予定位置での距離カムの全リフト量 x1:S1による距離カムのリフト量 x2:S2による距離カムのリフト量 とすると、 L=x0−(x1+x2) また、距離カム関数式(1)より、 x0=B0/(A0+S1+S2+P)−B0/A0 x1=B0/(A0+S1)−B0/A0 x2+x1=B0/(A0+S1+S2)−B0/A0 ∴L=B0/(A0+S1+S2+P)−B0/(A0+S1+S2) ∴P=B0/(L+(B0/(A0+S1+S2)))−(A0+S1+S2) として、AFのための合焦に必要な距離環の回転量を求め
る演算式が導かれる。
Thereafter, the distance ring rotation amount calculation unit (focus group drive amount calculation means) 8 stores the information of the movement amount L in the optical axis direction necessary for focusing of the focus group in the unique data storage circuit unit 18a of the lens. Alternatively, the distance cam function is converted from the constants A 0 and B 0 of the distance cam function written as an immediate value in the calculation program and the distance cam function into the rotation amount (focus group drive amount) of the distance ring for AF. The arithmetic expression at this time is as shown in FIG. 16, where S1: the amount of rotation of the distance cam due to zooming S2: the amount of distance cam used for extending the lens during distance measurement P: the distance ring for AF Rotation amount L: Movement amount in the optical axis direction necessary for focusing of focus group x0: Total lift amount of distance cam at expected focus position x1: Lift amount of distance cam by S1 x2: Lift amount of distance cam by S2 When, L = x0- (x1 + x2 ) a distance cam function expression from (1), x0 = B 0 / (a 0 + S1 + S2 + P) -B 0 / a 0 x1 = B 0 / (a 0 + S1) -B 0 / A 0 x2 + x1 = B 0 / (A 0 + S1 + S2) -B 0 / A 0 ∴L = B 0 / (A 0 + S1 + S2 + P) -B 0 / (A 0 + S1 + S2) ∴P = B 0 / (L + (B 0 / (A 0 + S 1 + S 2)) − (A 0 + S 1 + S 2), an arithmetic expression for obtaining the amount of rotation of the distance ring necessary for focusing for AF is derived.

距離カムの式は、上記(1)式の代わりに、 Z(θ)=B0/(A0+θ) を用いても同様の結果が得られる。Similar results can be obtained by using Z (θ) = B 0 / (A 0 + θ) instead of the above equation (1).

上記の(S1)のズーミングによる距離カムの回転量
は、上記第12図に示してあるズーム操作量である。これ
は、第15図に示したように焦点距離情報に応じてレンズ
の固有データ記憶部から引き出しても良いし、あるいは
検出する焦点距離情報が距離カムに回転量に応じたもの
であれば、そのまま、または演算して求めてもよい。角
度をフォーカス群の位置を示すパルス単位系で表すため
には、第3表のデータに、単位回転角当たりのパルス数
(本実施例では1406.4パルス/36.75度)を乗じればよ
い。
The rotation amount of the distance cam due to the zooming in the above (S1) is the zoom operation amount shown in FIG. This may be extracted from the unique data storage unit of the lens according to the focal length information as shown in FIG. 15, or if the detected focal length information is based on the rotation amount of the distance cam, It may be obtained as it is or by calculation. In order to express the angle in a pulse unit system indicating the position of the focus group, the data in Table 3 may be multiplied by the number of pulses per unit rotation angle (1406.4 pulses / 36.75 degrees in this embodiment).

本実施例の光学系はズームレンズであるから、演算の
ためには焦点距離情報が必要になっている。特に、同一
の距離の被写体に応じたフォーカス群の繰出量が焦点距
離によって異っているズームレンズであり、この特性を
補正する機構が組み込まれているので、更に演算のため
の係数やデータに、焦点距離やフォーカス群の繰出量に
応じた値が必要になる。このように、この部分の演算は
各レンズの特性に合わせて設定すればよい。肝心なこと
は、ピントのずれの情報を合焦に必要なフォーカス群の
駆動量を求める演算であることである。
Since the optical system of this embodiment is a zoom lens, focal length information is required for calculation. In particular, this is a zoom lens in which the extension amount of the focus group according to the subject at the same distance differs depending on the focal length, and a mechanism for correcting this characteristic is incorporated. Therefore, a value corresponding to the focal length and the amount of extension of the focus group is required. As described above, the calculation of this part may be set in accordance with the characteristics of each lens. The point is that the calculation of the drive amount of the focus group necessary for focusing on the information of the focus shift is performed.

次にピントを合わせようとしている被写体の絶対距離
を算出するアルゴリズムについて説明する。
Next, an algorithm for calculating the absolute distance of the subject to be focused will be described.

まず、前述のフォーカス群駆動量演算手段からの信号
とフォーカス群が現在停止している繰出位置の信号とか
ら、理想的な合焦状態になるフォーカス群の基準位置か
らの繰出量(x)を求める。
First, from the signal from the above-described focus group drive amount calculation means and the signal of the extension position at which the focus group is currently stopped, the extension amount (x) from the reference position of the focus group at which an ideal focusing state is obtained. Ask.

このように、本実施例では、フォーカス群の合焦繰出
位置と現在の繰出位置のずれとしてのフォーカス群駆動
量演算手段からの信号と、フォーカス群が現在停止して
いる基準位置(本実施例では無限遠位置)からの繰出位
置の信号とを用いて、理想的に被写体に合焦するフォー
カス群の基準位置からの繰出量を予測演算し、その値を
用いて被写体の絶対距離を求める。
As described above, in the present embodiment, the signal from the focus group drive amount calculating means as the shift between the focus extension position of the focus group and the current extension position and the reference position at which the focus group is currently stopped (this embodiment) (Infinity position at infinity) is used to predict and calculate the amount of focus from the reference position of the focus group that is ideally focused on the subject, and the value is used to determine the absolute distance of the subject.

次に、本発明の自動焦点調節装置を有するカメラの上
記第3図に示したAFブロックを中心とするマイクロコン
ピュータのプログラム動作のフローチャートを説明す
る。AFブロックは、第2図に示したように、メインCPU1
4のAF用パワーコントロール回路を動作状態にすること
によってトランジスタ23がオンして電源電圧VDDが供給
され、これによって、第4図に示すパワーオン・リセッ
トのルーチンの実行を開始する。
Next, a description will be given of a flowchart of a program operation of the microcomputer centering on the AF block shown in FIG. 3 of the camera having the automatic focusing apparatus of the present invention. The AF block is, as shown in FIG.
By turning on the AF power control circuit 4, the transistor 23 is turned on to supply the power supply voltage V DD , thereby starting the execution of the power-on reset routine shown in FIG.

このパワーオン・リセットルーチンが開始されると、
まず、<I/Oイニシャライズ>のサブルーチンでAFブロ
ックの駆動回路のイニシャライズが行なわれる。具体的
には、AF表示回路24,AFモータ駆動回路26およびAF補助
光回路27等のオフ並びにメインCPU14とのシリアルコミ
ュニケーションラインのイニシャライズ等が行なわれ
る。
When this power-on reset routine starts,
First, the drive circuit of the AF block is initialized in the <I / O Initialize> subroutine. Specifically, the AF display circuit 24, the AF motor drive circuit 26, the AF auxiliary light circuit 27, etc. are turned off, and the serial communication line with the main CPU 14 is initialized.

次に、<モード・リード>のサブルーチンで、メイン
CPU14からのモードラインの信号(モード信号)を読み
出し、いかなるレンズ駆動モードを実行するかを判断し
たのち、<タイマ>のルーチンで一定時間を経て、再度
<モード・リード>のルーチンを経てモードの切換時点
を読み取っている。そして、モードの切換えが完了する
までは最初の<モード・リード>に戻る。<モード・リ
ード>のサブルーチンを<タイマ>を挟んで2回通過す
るようにしているのは、モード切換時点での読み取りの
誤動作を防止するためである。
Next, in the <mode read> subroutine,
After reading out the mode line signal (mode signal) from the CPU 14 and determining which lens drive mode to execute, a certain period of time is passed in the <timer> routine, and the mode is read again through the <mode read> routine. The switching point is read. Then, the process returns to the first <mode read> until the mode switching is completed. The reason why the <mode read> subroutine is passed twice with the <timer> interposed is to prevent erroneous reading at the time of mode switching.

モードの切換えが確実に行なわれて切換前と切換後の
モードが同一になったとき、その切換後のモードを読み
取って各モードのサブルーチンへ移行する。即ち、レン
ズ駆動の各モードとしては、<レンズリセット>,<PF
(パワーフォーカス)>,<AFSIN(AFシングル)>,
<AFSEQ(AFシーケンス)>の各モードがあり、これら
のモードのうちの1つが選ばれると、この選択されたモ
ードのサブルーチンを実行したのち上記<I/Oイニシャ
ライズ>のルーチンへ戻る。<レンズリセット>,<PF
>,<AFSIN>,<AFSEQ>のいずれのモードも選択され
ず、<その他>のモードが選ばれたときなどは、これは
単なるノイズとみなされて、<タイマ>のルーチンで一
定時間の経過後上記<I/Oイニシャライズ>へ戻る。
When the mode switching is securely performed and the mode before and after the switching becomes the same, the mode after the switching is read and the process proceeds to the subroutine of each mode. That is, the lens driving modes include <lens reset>, <PF
(Power Focus)>, <AFSIN (AF Single)>,
There are <AFSEQ (AF sequence)> modes, and when one of these modes is selected, the subroutine of the selected mode is executed, and then the routine returns to the <I / O initialize> routine. <Lens reset>, <PF
When none of the modes>, <AFSIN>, and <AFSEQ> is selected, and when the <other> mode is selected, this is regarded as mere noise, and a certain time elapses in the <timer> routine. Then, the process returns to <I / O Initialize>.

ここで、<レンズリセット>モードの動作は、レンズ
を強制的に無限遠(∞)の位置まで繰り込み、これによ
って、相対的距離信号、即ち、合焦センサ20から出力さ
れる測距出力信号を無限遠(∞)の位置からのパルス移
動数に置き換えて絶対距離信号に変換しようとするため
のイニシャライズ動作、即ち、絶対距離カンウタのクリ
ア動作である。<レンズリセット>が選択された場合、
この絶対距離カウンタのクリアのあと、例えば5ms経っ
てからI/Oイニジャライズ動作に戻る。また、<PF>モ
ードとは、レンズの距離環を手動ではなく、レンズ駆動
モータ31によって駆動し、レンズのフォーカシング動作
をマニュアルのピント合せ又はフォーカスエイドを用い
て実施しようとするものである。さらに詳しく言えば、
後述するPFUP(アップ)用操作スイッチSW1,PFDN(ダウ
ン)用操作スイッチSW2のオン,オフによってレンズの
繰り出し、繰り込みが行なわれることになる。また、<
AFSIN>のモードの動作は、ワンショットAF動作であ
り、被写体に対してAF動作後にフォーカスロックするも
のである。さらに、<AFSEQ>モードは、連続AFであ
り、このモードでは、レリーズ釦の1段目を動作しつづ
ける限りAF動作を連続的に行なうことになる。
Here, in the operation of the <lens reset> mode, the lens is forcibly moved to the position at infinity (∞), whereby the relative distance signal, that is, the distance measurement output signal output from the focus sensor 20 is output. This is an initialization operation for converting the number of pulse movements from the position at infinity (∞) to an absolute distance signal, that is, an operation for clearing an absolute distance counter. If <lens reset> is selected,
After clearing the absolute distance counter, for example, after 5 ms, the process returns to the I / O initializing operation. In the <PF> mode, the distance ring of the lens is driven not by the manual operation but by the lens driving motor 31, and the focusing operation of the lens is performed by using the manual focusing or the focus aid. More specifically,
It described later PFUP (up) for operating switch SW 1, PFDN (down) for operating switch SW 2 on, feeding of the lens by off, so that the renormalization is performed. Also, <
The operation in the mode AFSIN> is a one-shot AF operation in which focus is locked after an AF operation is performed on a subject. Further, the <AFSEQ> mode is continuous AF, and in this mode, the AF operation is continuously performed as long as the first step of the release button is continuously operated.

ところで、レンズ駆動の各モードに関する操作スイッ
チとしては、下記の第1表に示すように、4つの操作ス
イッチSW1〜SW4が用いられる。
Meanwhile, as the operation switch for each mode of the lens driving, as shown in Table 1 below, four operation switches SW 1 to SW 4 is used.

上記第1表に示す第1,第2の操作スイッチSW1,SW2はA
FモードとPFモードで共通に用いられるものであり、第
3の操作スイッチSW3はオフのときAFモード,オンのと
きPFモードが選択される。AFモードで第1,第2の操作ス
イッチSW1,SW2がともにオフのときレンズリセットモー
ドとなり、ともにオンのときAFSEQモードとなり、第1
の操作スイッチSW1がオフ,第2の操作スイッチSW2がオ
ンのときAFSINモードとなる。PFモードで第1,第2の操
作スイッチSW1,SW2がともにオフ,又はともにオンのと
きはストップモードにあり、第1の操作スイッチSW1
オンのときはモータによって距離環を近距離側に回転さ
せてレンズを繰り出すPFUP(アップ)モードとなり、第
2の操作スイッチSW2がオンのときは距離環を遠距離側
に回転させてレンズを繰り込むPFDN(ダウン)モードと
なる。また第4の操作スイッチSW4は、AFモードのうち
のいずれのモードでオン、オフのいずれの状態にあって
も、また、PFモードのうちのストップモードでオン,オ
フのいずれの状態にあっても変化はないが、PFモードで
オンのときHI(高速)モードとなり、レンズ駆動モータ
31が高速回転し距離環の粗動が行なわれ、オフのときLO
(低速)モードとなり、モータ31(第3図参照)が低速
回転して距離環の微動が行なわれる。
The first and second operation switches SW 1 and SW 2 shown in Table 1 are A
Are those commonly used in the F mode and the PF mode, the third operation switch SW 3 is AF mode when off, is PF mode when on is selected. In the AF mode, when both the first and second operation switches SW 1 and SW 2 are off, the lens reset mode is set.
Operation switch SW 1 is turned off, the second operation switch SW 2 is AFSIN mode when on the. When the first and second operation switches SW 1 and SW 2 are both off or both on in the PF mode, the stop mode is set. When the first operation switch SW 1 is on, the distance ring is moved by the motor to a short distance. rotate the side becomes PFUP (up) mode for feeding the lens, the second operation switch SW 2 is renormalize the lens by rotating the distance ring far side when on PFDN (down) mode. The fourth operating switch SW 4 of, on in any mode of the AF mode, in any off, also there on, any off at the stop mode of the PF mode There is no change, but when the PF mode is on, the HI (high-speed) mode is set and the lens drive motor
31 rotates at high speed and coarse movement of the distance ring is performed.
In the (low speed) mode, the motor 31 (see FIG. 3) rotates at a low speed to perform fine movement of the distance ring.

次に、各レンズ駆動モードの動作について第5〜9図
のフローチャートを用いて説明する。
Next, the operation of each lens drive mode will be described with reference to the flowcharts of FIGS.

<AFSIN>のモードが選択された場合は、第5図に示
す<AFSIN>のルーチンが実行され、メインCPU14からの
AFENA信号が“H"レベル(アクティブ)になっているか
否かを検出する。レリーズ釦の第1段目の動作でAFENA
信号がアクティブになってAF動作が開始され、<AFSIN2
>のサブルーチンが呼び出される。但し、レリーズ釦の
第2段目の動作が受け付けられるのは、AF動作が終了し
て合焦状態が得られ露出シーケンスが開始されるときで
ある。<AFSIN2>では、後述するように、合焦センサ20
のCCD積分,測距出力の演算およびレンズの駆動等が行
なわれる。そして、この<AFSIN2>のAF動作の結果であ
る合焦,非合焦の表示は、<AFSIN2>の動作の後、AFス
テータスフラグを監視して行なわれる。AFステータスフ
ラグはローコンフラグ(被写体がローコントラストのと
き“1"にセットされるフラグ、以下、LCフラグと略記す
る)、移動フラグ(被写体が移動しているとき“1"にセ
ットされるフラグ、以下、Mフラグと略記する)および
最至近フラグ(レンズを最至近距離以上に繰り出そうと
したときに“1"にセットされるフラグ、以下Nフラグと
略記する)を有しており、これらのうち、いずれのフラ
グとも“0"のとき合焦が可能であり、上記各フラグのう
ち何らかのフラグが立つと合焦不能であるので、AFステ
ータスフラグの監視の結果、同AFステータスフラグが
“0"であれば合焦OKの表示を前記AF表示回路24のLED24a
によって行ない、AFステータスフラグが“0"でなければ
合焦不能の表示を前記LED24bによって行なう。そして、
合焦でなければ、AFENA信号が“L"レベルになるまで待
機し、“L"レベルとなるとリターンする。合焦であれ
ば、EOFAF信号が発せられてAF動作が終了し、メインCPU
14にレリーズ釦の2段目の動作、即ち、露出シーケンス
の開始を待機する状態となる。そして、AFENA信号のチ
ェックが行なわれる。つまり、一度合焦が終了すると、
AFENA信号がアクティブになっていても、その後のレン
ズ動作が禁止され合焦表示のLED24aが点灯したままとな
り、フォーカスロック状態となる。メインCPU14からのA
FENA信号が“L"レベル(インアクティブ)になったとき
は第4図に示すパワーオン・リセットのフローの初期動
作にリターンする。
When the mode of <AFSIN> is selected, the routine of <AFSIN> shown in FIG.
Detects whether the AFENA signal is at "H" level (active). AFENA with the first operation of the release button
The signal becomes active, AF operation starts, and <AFSIN2
> Subroutine is called. However, the operation of the second stage of the release button is accepted when the AF operation is completed, a focused state is obtained, and the exposure sequence is started. In <AFSIN2>, as described later, the focus sensor 20
CCD integration, distance measurement output calculation, lens driving, and the like are performed. After the operation of <AFSIN2>, the AF status flag is monitored after the operation of <AFSIN2>. The AF status flag is a low contrast flag (a flag that is set to “1” when the subject has low contrast; hereinafter, abbreviated as an LC flag), a movement flag (a flag that is set to “1” when the subject is moving, , M flag) and the closest flag (a flag that is set to “1” when the lens is extended more than the closest distance, hereinafter abbreviated as N flag). Focusing is possible when any of the flags is “0”, and focusing is not possible if any of the above flags is set. Therefore, as a result of monitoring the AF status flag, the AF status flag is “0”. If there is, the indication of in-focus OK is displayed by the LED 24a of the AF display circuit 24.
If the AF status flag is not "0", the LED 24b indicates that focusing is impossible. And
If it is not in focus, it waits until the AFENA signal goes to "L" level, and returns when it goes to "L" level. If the camera is in focus, an EOFAF signal is issued, the AF operation ends, and the main CPU
At 14, the operation of the second stage of the release button, that is, the start of the exposure sequence is awaited. Then, the AFENA signal is checked. In other words, once focusing is completed,
Even if the AFENA signal is active, the subsequent lens operation is prohibited and the in-focus indication LED 24a remains lit, resulting in a focus locked state. A from main CPU 14
When the FENA signal becomes "L" level (inactive), the process returns to the initial operation of the power-on reset flow shown in FIG.

上記<AFSIN>のモードの動作中、<AFSIN2>のサブ
ルーチンのプログラム動作は第6図に示すようにして行
なわれる。まず、前回の測距演算値(前回の合焦センサ
20の出力パルス)と今回の測距演算値(今回の合焦セン
サ20の出力パルス)とほ比較のためにRETRY(リトラ
イ)フラグがクリアされ、AFループカウンタに一連のAF
動作における最大測距回数がセットされる。このあと、
ある明るさ以上では確実にCCD積分が行なわれるよう
に、ITIMEレジスタにCCD積分時間の最大値がセットされ
る。そして、AFステータスフラグがクリアされ、Sラン
プフラグもクリアされる。ここまでのフローの動作でAF
開始前のイニシャライズ動作が終了する。このあと、<
レンズ・リード>のルーチンが呼び出され、前記レンズ
固有データ回路18aに入っているレンズ内の各データが
読み出されたのち、測距のための<AF>のルーチンが呼
び出される。この<AF>のサブルーチン内では、CCD積
分時にSランプ27aを点灯させる必要があるか否かが判
断され、点灯する必要がある場合にはSランプフラグが
セットされ、必要ない場合にはクリアされる。また、ロ
ーライトフラグ(被写体がローライトのとき“1"にセッ
トされるフラグ,以下、LLフラグと略記する)、LCフラ
グがセット或いはクリアされる。
During the operation of the <AFSIN> mode, the program operation of the <AFSIN2> subroutine is performed as shown in FIG. First, the previous distance calculation value (the previous focus sensor
The RETRY (retry) flag is cleared for comparison with the current distance calculation value (the current output pulse of the focus sensor 20) and the current distance calculation value (the output pulse of 20).
The maximum number of times of distance measurement in the operation is set. after this,
The maximum value of the CCD integration time is set in the ITIME register to ensure that the CCD integration is performed above a certain brightness. Then, the AF status flag is cleared, and the S lamp flag is also cleared. AF with the operation up to this point
The initialization operation before starting is completed. After this,
The routine of <lens read> is called, and after reading out each data in the lens in the lens specific data circuit 18a, the routine of <AF> for distance measurement is called. In the subroutine of <AF>, it is determined whether or not the S lamp 27a needs to be turned on at the time of the CCD integration. If the S lamp 27a needs to be turned on, the S lamp flag is set. You. Also, a low light flag (a flag set to “1” when the subject is low light, hereinafter abbreviated as an LL flag) and an LC flag are set or cleared.

今、<AF>の測距動作後、LLフラグ,LCフラグのいず
れもクリアされた状態にあるときは、<パルス>のルー
チンを呼び出し、レンズ駆動量が計算される。
If both the LL flag and the LC flag are cleared after the distance measurement operation of <AF>, the routine of <pulse> is called to calculate the lens drive amount.

この<パルス>のルーチンでは、第7A図,第7B図に示
すように上記<AF>ルーチンで求められたAF(測距)演
算出力値を各撮影レンズ毎のフォーカス群の駆動量に変
換するために、必要なレンズの固有のデータ(最適AF係
数A、B、Cと焦点距離に応じた距離カムの回転量の情
報)を固有データ回路18aから設定されている焦点距離
に応じて読み出す。次に、読み取った最適AF係数とAF演
算出力値によりフォーカス群の現在位置から合焦予定位
置のフォーカス群の光軸方向の駆動量に関する情報を演
算する。その後、設定されている焦点距離に応じた距離
カムの回転量とフォーカス群の現在位置の情報と上記フ
ォーカス群の光軸方向の移動量の情報から非直線形の距
離カムの形状を考慮したフォーカス群の駆動量に相当す
るパルス(アドレス信号)数(LPLS)が計算される。
In this <pulse> routine, as shown in FIGS. 7A and 7B, the AF (ranging) calculation output value obtained in the <AF> routine is converted into a focus group drive amount for each photographing lens. For this purpose, necessary data specific to the lens (information on the optimum AF coefficients A, B, C and the rotation amount of the distance cam corresponding to the focal length) is read out from the specific data circuit 18a according to the focal length set. Next, based on the read optimal AF coefficient and the AF calculation output value, information on the drive amount in the optical axis direction of the focus group from the current focus group position to the in-focus position is calculated. After that, based on the amount of rotation of the distance cam according to the set focal length, information on the current position of the focus group, and information on the amount of movement of the focus group in the optical axis direction, focus taking into account the shape of the non-linear distance cam The number of pulses (address signals) (LPLS) corresponding to the drive amount of the group is calculated.

次に、上記<パルス>のサブルーチンで現在位置から
合焦予定位置までの移動量に相当するパルス数(LPLS)
を求めた後、レンズを合焦状態に駆動する前に、被写体
の絶対距離や撮影倍率を求める<OBJDATA>のサブルー
チンを実行する。
Next, in the <Pulse> subroutine, the number of pulses (LPLS) corresponding to the amount of movement from the current position to the planned in-focus position
Is obtained, and before the lens is driven into the in-focus state, a subroutine of <OBJDATA> for obtaining the absolute distance and the photographing magnification of the subject is executed.

第8図は、上記<OBJDATA>のサブルーチンのフロー
チャートである。図において、撮影レンズを移動する方
向が無限遠端より至近端に向かう<繰出し方向>か否か
がチェックされる。<繰出し方向>なら、絶対距離カウ
ンタにセットされている撮影レンズのフォーカス群の現
在位置における無限遠端からのパルス数(DISCNT)に、
上記<パルス>のルーチンで求めた現在位置から被写体
の合焦予定位置までの移動量に相当するパルス数(LPL
S)を加算して、被写体の合焦予定位置の無限遠端から
のパルス数(OBJPLS)に格納する。<繰出し方向>でな
ければ、つまり繰込み方向なら現在位置における無限遠
端からのパルス数(DISCNT)から、現在位置から合焦予
定位置までの移動量に相当するパルス数(LPLS)を減算
し、この減算結果を合焦予定位置の無限遠端からのパル
ス数(OBJPLS)に格納する。この減算結果が負となる、
つまり<ボロー>が出たら、合焦予定位置は無限遠端よ
り更に無限遠寄りとなるが、これは取りも直さず無限遠
端なので、<OBJPLS←0>つまり合焦予定位置の無限遠
端からのパルス数(OBJPLS)を0に設定する。こうすれ
ば、測距精度を向上することもできる。
FIG. 8 is a flowchart of the subroutine <OBJDATA>. In the figure, it is checked whether or not the direction in which the photographing lens is moved is from the infinity end to the closest end. If <extending direction>, the number of pulses (DISCNT) from the infinity end at the current position of the focus group of the photographing lens set in the absolute distance counter,
The number of pulses (LPL) corresponding to the amount of movement from the current position obtained in the <pulse> routine to the in-focus
S) is added, and the result is stored as the number of pulses (OBJPLS) from the infinity end of the expected in-focus position of the subject. If it is not <extending direction>, that is, if it is the extending direction, subtract the number of pulses (LPLS) corresponding to the moving amount from the current position to the expected focusing position from the number of pulses from the infinity end at the current position (DISCNT). The result of this subtraction is stored as the number of pulses (OBJPLS) from the infinity end of the expected focusing position. The result of this subtraction is negative,
In other words, if <Borrow> appears, the in-focus position will be closer to infinity than at infinity, but since this is not corrected again, <OBJPLS ← 0>, ie, the infinity end of the in-focus position Set the number of pulses from (OBJPLS) to 0. In this case, the distance measurement accuracy can be improved.

このように繰出し方向,繰り込み方向に応じて加算ま
たは減算して得られた合焦予定位置における無限遠端か
らのパルス数(OBJPLS)は、<絶対距離係数a,b、およ
び倍率係数読出し>のルーチンでレンズ固有データ回路
18aより読み出された設定されている焦点距離に応じた
絶対距離係数a,bにより、<OBJDIST←OBJPLS,絶対距離
係数>のルーチンで演算され、被写体距離(OBJDIST)
が求められる。また、上記の合焦予定位置における無限
遠端からのパルス数(OBJPLS)は、上記<絶対距離係数
a,b、および倍率係数読出し>のルーチンでレンズ固有
データ回路18aより読み出された設定されている焦点距
離に応じた倍率係数により、<OBJMUL←OBJPLS,倍率係
数>のルーチンで演算され、被写体の撮影倍率(OBJMU
L)が求められる。ところで、上記<絶対距離係数a,b、
倍率係数読出し>のルーチンでレンズ固有データ回路18
aから読出した絶対距離係数a,bや倍率係数は、焦点距離
やマクロ域においてそれに応じて選択或いは補正演算し
て使用することも可能である。そして、これらの被写体
距離(OBJDIST)と撮影倍率(OBJMUL)は、<OBJDIST,O
BJMUL通信>のルーチンにおいてメインCPU14に向けて送
信される。
The number of pulses (OBJPLS) from the end at infinity at the expected in-focus position obtained by adding or subtracting according to the extension direction and the extension direction as described above is obtained by reading <absolute distance coefficients a, b and magnification coefficient>. Routine-specific lens data circuit
The object distance (OBJDIST) is calculated by the routine of <OBJDIST ← OBJPLS, absolute distance coefficient> using the absolute distance coefficients a and b corresponding to the set focal length read from 18a.
Is required. In addition, the number of pulses (OBJPLS) from the infinity end at the above-mentioned in-focus position is calculated by the above <absolute distance coefficient
a, b, and magnification factor read> in the routine of <OBJMUL ← OBJPLS, magnification coefficient> are calculated by the magnification coefficient corresponding to the set focal length read from the lens-specific data circuit 18a in the routine of Magnification (OBJMU
L) is required. By the way, the above <absolute distance coefficients a, b,
Read magnification factor> in the routine of lens specific data circuit 18.
The absolute distance coefficients a and b and the magnification coefficient read out from a can be selected or corrected and used in the focal length and the macro range in accordance with them. Then, these object distance (OBJDIST) and photographing magnification (OBJMUL) are <OBJDIST, O
BJMUL communication> is transmitted to the main CPU 14 in the routine.

メインCPU14では<OBJDIST,OBJMUL受信>で受け取っ
た被写体距離(OBJDIST)と倍率(OBJMUL)を用いて<
ストロボのパララックス補正>や<オートズーム>が必
要か否かを判断する。必要なら<ストロボのパララック
ス補正>や<オートズーム駆動>のためのズーミングの
演算を行なう。CPU14は、この演算結果に基づいてパラ
ラックス補正のためのアクチュエータやズームアクチュ
エータの駆動を、後述する焦点調整のためのレンズ駆動
と平行して行なう。
The main CPU 14 uses the object distance (OBJDIST) and the magnification (OBJMUL) received in <OBJDIST, OBJMUL reception> to <
It is determined whether strobe parallax correction> or <auto zoom> is necessary. If necessary, zooming calculation for <strobe parallax correction> or <auto zoom drive> is performed. The CPU 14 drives an actuator for parallax correction and a zoom actuator based on the calculation result in parallel with lens driving for focus adjustment described later.

このように本発明では、合焦までのレンズ駆動量と現
在のレンズの繰出量から理想的な合焦状態のときになる
であろうレンズの繰出位置を求めて、レンズ駆動前に被
写体が合焦した場合の絶対距離,撮影倍率を演算する。
As described above, according to the present invention, the lens extension position that would be in an ideal in-focus state is obtained from the lens drive amount until focusing and the current lens extension amount, and the subject is focused before the lens is driven. Calculate the absolute distance and shooting magnification when focusing.

このあと、上記AF演算出力値(ERROR)と、レンズ固
有データ回路18aより読み出したAF精度スレッショルドE
Thとを比較し、上記AF演算出力値(ERROR)がAF精度ス
レッショルドEThよりも大きければ、へ進み、RETRYフ
ラグの判別を行なう。1回目のAF動作では、RETRYフラ
グが“0"であることからRETRYフラグのセットが行なわ
れたあと、上記駆動パルス数がセーブされる。そして、
2回目以降のAF動作ではRETRYフラグがセットされてい
るので、今回の駆動パルス数と前回の駆動パルス数とが
比較される。このとき、前回パルス数に比較して今回パ
ルス数の方が移動量だけ少なめになっていれば、レンズ
駆動により合焦点に近づいたことになるので、次のレン
ズ駆動では、さらに、より一層近づくであろうというこ
とになり、前回パルスに代って今回パルスがセーブさ
れ、<MDRIVAF>のルーチンを呼び出し、レンズ駆動を
行なう。また、絶対距離カウンタに距離環の無限遠
(∞)位置からの駆動パルス数がセットされる。
Thereafter, the AF calculation output value (ERROR) and the AF accuracy threshold E read out from the lens-specific data circuit 18a are obtained.
If the AF operation output value (ERROR) is larger than the AF accuracy threshold ETh, the process proceeds to step S <b> 3 to determine the RETRY flag. In the first AF operation, since the RETRY flag is set to "0", the drive pulse number is saved after the RETRY flag is set. And
Since the RETRY flag is set in the second and subsequent AF operations, the number of current driving pulses is compared with the number of previous driving pulses. At this time, if the current pulse number is smaller by the moving amount than the previous pulse number, it means that the lens is closer to the focal point by driving the lens, so that in the next lens driving, it is even closer. Therefore, the current pulse is saved instead of the previous pulse, and the <MDRIVAF> routine is called to drive the lens. The number of drive pulses from the infinity (∞) position of the distance ring is set in the absolute distance counter.

前回パルスと今回パルスとの比較を行なう目的は、AF
シーケンス全体の発散動作を防ぐことにある。両者を比
較する仕方としては、(今回パルス数):(前回パルス
数×0.5),或いは(今回パルス数):(前回パルス数
×1.5)等が考えられる。AFシーケンスの系が発散状態
にありそうなときは被写体移動中にAF動作を行なわせる
ことが考えられるので、この場合には、速やかにレンズ
駆動を中止し、AF動作の無駄を防ぐためにMフラグをセ
ットしてリターンする。
The purpose of comparing the previous pulse and this pulse is AF
The purpose is to prevent the diverging operation of the entire sequence. As a way of comparing the two, (current pulse number): (previous pulse number × 0.5) or (current pulse number): (previous pulse number × 1.5) can be considered. If the AF sequence system is likely to be in a divergent state, the AF operation may be performed while the subject is moving. In this case, stop the lens drive immediately and use the M flag to prevent waste of the AF operation. Set and return.

上記<MDRIVAF>によってレンズ駆動が行なわれたの
ち、AFループカウンタのセットされたAF動作の測距回数
値から1を減じる。そして、この結果、AFループカウン
タの値が0になっていない場合は、ITIMEレジスタに積
分時間をセットし、そして、AFENA信号がアクティブ
(つまり、レリーズ釦の1段目の動作がオン)になって
いるとき、次回のAF動作のために、に戻る。こうし
て、−間のAF動作が繰り返し行なわれる毎にAFルー
プカウンタの値が1回ずつ減じられていくことにより、
次第に合焦点に近づくことになるが、AFループカウンタ
の値が0になってもAF演算出力値(ERROR)が上記AF精
度スレッショルドEThよりも小さくならないときは合焦
不能であるとしてMフラグがセットされることになる。
After the lens is driven by the above <MDRIVAF>, 1 is subtracted from the number of times of distance measurement of the AF operation set in the AF loop counter. As a result, if the value of the AF loop counter is not 0, the integration time is set in the ITIME register, and the AFENA signal is activated (that is, the operation of the first stage of the release button is turned on). , Return to for the next AF operation. In this way, the value of the AF loop counter is decreased by one each time the AF operation between-is repeated, so that
When the AF calculation output value (ERROR) does not become smaller than the AF accuracy threshold ETh even if the value of the AF loop counter becomes 0, the M flag is set as being impossible to focus. Will be done.

上記−間のAF動作の結果、ERROR<EThになると、
つまり上記AF演算出力値(ERROR)がピント誤差範囲内
になると、AFステータスフラグをクリアして合焦状態に
至ったことを示し、リターンする。
As a result of the AF operation between-, when ERROR <ETh,
That is, when the AF calculation output value (ERROR) falls within the focus error range, the AF status flag is cleared, indicating that the camera has come into focus, and the routine returns.

ここで、上記<AF>の動作後、もし、LLフラグ或いは
LCフラグがセットされていれば、Sランプフラグの状態
がテストされる。このとき、Sランプフラグが事前に
“1"にセットされていれば、AFのための積分動作中にS
ランプ27aが点灯していたにもかかわらずローライト、
ローコントラストの状態になったことになるので、この
場合は、再度LCフラグをテストし、ローコントラストの
場合のみ<レンズNF(合焦不能)>のルーチンを呼び出
し、合焦不能の積極的表示を行なう。即ち、この<レン
ズNF>のルーチンでは、まず、レンズを一旦、最至近位
置まで繰り出したのち、無限遠(∞)位置まで繰り込ま
せ、このレンズの大幅な移動によって積極的に合焦不能
をユーザに知らせる。なお、合焦不能を表わすレンズ動
作としては無限遠(∞)位置から最至近位置へ繰り出す
動作であってもよい。また、この<レンズNF>では、無
限遠(∞)位置に当て付くことにより、レンズ距離環の
無限遠(∞)位置からの駆動パルス数(移動アドレス信
号数)をセーブするための絶対距離カウンタのイニシャ
ライズが行なわれる。もし、ローコントラストでなけれ
ば、ローライトでありながらAFの演算が行なわれたこと
になるので、この場合は、に戻る。
Here, after the operation of <AF>, if the LL flag or
If the LC flag is set, the state of the S ramp flag is tested. At this time, if the S ramp flag has been set to “1” in advance, during the integration operation for AF, S
Low light, despite lamp 27a being on,
In this case, the LC flag is tested again.In this case, only in the case of low contrast, the <lens NF (unfocusable)> routine is called, and an aggressive display indicating that focus is not possible is performed. Do. That is, in this <lens NF> routine, first, the lens is first extended to the closest position, then extended to the infinity (位置) position, and a large movement of the lens actively disables focusing. Notify the user. It should be noted that the lens operation indicating the inability to focus may be an operation of extending from the infinity (遠) position to the closest position. In addition, in this <lens NF>, an absolute distance counter for saving the number of drive pulses (number of moving address signals) from the infinity (∞) position of the lens distance ring by hitting the lens at infinity (∞) position. Is initialized. If the contrast is not low, it means that the AF operation has been performed while the light is low, and in this case, the process returns to.

また、Sランプフラグが事前にクリアされていたとき
には、以前にはSランプ27aが消灯していたことになる
ので、LLフラグ、或いはLCフラグがセットされている場
合は、Sランプフラグをセットし、に進む。従って、
2回目以降のAF動作でSランプ27aが点灯することにな
る。
When the S lamp flag has been cleared in advance, the S lamp 27a has been turned off before. Therefore, if the LL flag or the LC flag is set, the S lamp flag is set. Proceed to. Therefore,
The S lamp 27a is turned on in the second and subsequent AF operations.

また、被写体が移動している、つまり動体の場合、そ
の被写体距離を複数回測定すれば、被写体の運動の速度
を求めることも可能で、AF駆動の際に、被写体の運動量
を加味して、動体に追従したAFが可能となる。この複数
回のAFは、AF駆動をはさんで行なわれてもよい。また動
体の動きを予測し、ミラーアップ等の時間の遅れを予測
しAF駆動を行なう場合の予測駆動量を設定することもで
きる。
Also, if the subject is moving, that is, if it is a moving object, it is also possible to obtain the speed of the subject's movement by measuring the subject distance multiple times, taking into account the amount of movement of the subject during AF driving, AF that follows the moving object becomes possible. The multiple AF operations may be performed with the AF drive interposed. It is also possible to predict the movement of the moving body, predict a time delay such as a mirror-up, and set a predicted driving amount when performing AF driving.

第9図は、このような動体を追尾してAFする際のサブ
ルーチン<AFSIN2A>のフローチャートで、前記第6図
に示したサブルーチン<AFSIN2>のフローチャート中の
動体追尾に関連したルーチンのみを抽出して示したもの
である。図において、前記第6図で既に説明したルーチ
ンについては、その説明を省略して変更ルーチンの説明
のみに止める。
FIG. 9 is a flowchart of a subroutine <AFSIN2A> for tracking and AF of such a moving object. Only routines related to moving object tracking in the flowchart of the subroutine <AFSIN2> shown in FIG. 6 are extracted. It is shown. In the figure, the description of the routine already described with reference to FIG. 6 is omitted, and only the description of the change routine will be made.

第9図において、<AF>,<パルス>,<OBJDIST>
等サブルーチンで信号処理されて得られた被写体距離
(OBJDIST)と撮影倍率(OBJMUL)との情報は、<合焦
判定>のルーチンで合焦状態にあるか否かが判定され、
合焦状態の情報なら前記第5図に示すフロー<AFSIN>
のサブルーチン(AFSIN2>の次に<リターン>する。ま
た、非合焦なら<1回目のAF>か否かを判定するルーチ
ンに進み、1回目のAFなら<MDRIVAF>へ、1回目のAF
でない、つまりAFが複数回行なわれていれば、<前回OB
JDIST−今回OBJDIST>を求めてその大きさを判定するル
ーチンへ進む。この<前回OBJDIST−今回OBJDIST>のル
ーチンで求められた被写体距離情報(OBJDIST)の前回
情報と今回情報との差が大きい場合は<パルス補正>し
て、十分に小さい場合は直接、<MDRIVAF>のルーチン
に進む。次いで、<予測AFか>を判定するルーチンに進
んで、動体追尾の目的が、動体を追尾して被写体距離を
求めると共にAFが終了してから実際に撮影するまでの間
に動体が移動しているであろう位置を予測してその予測
位置にピント合わせする予測AFなら、これ以上のAFを行
なっても無駄なので、前記第5図に示す<AFSIN>のフ
ロー中のサブルーチン<AFSIN2>の次のルーチンに<リ
ターン>する。また、<予測AF>でなければ<前回OBJD
IST←OBJDIST>のルーチンに進んで、今回求められた被
写体距離(OBJDIST)の情報を、前回得られた被写体距
離(OBJDIST)情報を格納するメモリエリアに格納した
上で、上記<AF>のサブルーチンに戻り、合焦判定され
るまで上記動作を繰返すことになる。
In FIG. 9, <AF>, <pulse>, <OBJDIST>
The information of the subject distance (OBJDIST) and the photographing magnification (OBJMUL) obtained by performing signal processing in the subroutine is determined in the <focus determination> routine to determine whether or not the subject is in focus.
If the information is in the in-focus state, the flow shown in FIG. 5 <AFSIN>
Subroutine (AFSIN2) is followed by <Return>. If out of focus, the routine proceeds to a routine to determine whether or not <First AF>. If it is the first AF, then go to <MDRIVAF>.
Not, that is, if AF has been performed multiple times,
JDIST-this time OBJDIST> is obtained and the routine proceeds to a routine for determining its size. If the difference between the previous information and the current information of the subject distance information (OBJDIST) obtained by the routine of <previous OBJDIST-current OBJDIST> is large, <pulse correction> is performed, and if it is sufficiently small, <MDRIVAF> To the routine. Next, the routine proceeds to a routine for determining whether or not <predictive AF>, and the purpose of moving object tracking is to track the moving object to obtain a subject distance and to move the moving object between the end of AF and the actual shooting. In the case of the predictive AF that predicts a position that will be present and focuses on the predicted position, it is useless to perform any further AF. Therefore, after the subroutine <AFSIN2> in the flow of <AFSIN> shown in FIG. <Return> to the routine. If it is not <Predictive AF>, <Last OBJD
Proceeding to the routine of IST ← OBJDIST>, the information of the subject distance (OBJDIST) obtained this time is stored in the memory area for storing the previously obtained subject distance (OBJDIST) information, and then the subroutine of <AF> above And the above operation is repeated until the focus is determined.

以上述べた実施例では、絶対距離係数a,bや倍率係数
のように演算に必要なレンズ固有のデータは、レンズ固
有データ回路18a内に記憶されており、読み出されて使
用されたが、このレンズに固有なデータは、レンズが固
定されているカメラ等においては、プログラム中に即値
として書き込んでおけば、記憶回路を省略できることは
言うまでもない。
In the above-described embodiment, lens-specific data necessary for calculation, such as absolute distance coefficients a and b and a magnification coefficient, are stored in the lens-specific data circuit 18a and read and used. In a camera or the like in which the lens is fixed, if the data unique to the lens is written as an immediate value in a program, it goes without saying that the storage circuit can be omitted.

また、以上述べた実施例では、AFの合焦判定の以前に
被写体の絶対距離や撮影倍率を求めていたが、第10図に
示すように合焦判定後にのみ<OBJDATA>のルーチンを
実行するようにしても、理想合焦位置に応じた被写体の
絶対距離と撮影倍率を求めることができる。
In the above-described embodiment, the absolute distance and the photographing magnification of the subject are obtained before the AF focus determination. However, as shown in FIG. 10, the <OBJDATA> routine is executed only after the focus determination. Even in such a case, the absolute distance and the photographing magnification of the subject corresponding to the ideal focusing position can be obtained.

[発明の効果] 以上述べたように本発明によれば、フォーカス群の繰
出量と、このフォーカス群を駆動する駆動部材の駆動量
とが非線形な撮影レンズにおいて、フィルム面でのピン
トずれ量と、フォーカス群の基準位置からの繰出量と、
必要に応じてズーミング位置とを求め、これらに基づい
て所定の演算を実行し、フォーカス群を駆動する駆動部
材の駆動量を直接的に求めているから、簡単な構成によ
り合焦精度を高めることが容易なカメラの自動焦点調節
装置を提供することができる。
[Effects of the Invention] As described above, according to the present invention, in a photographing lens in which the amount of extension of the focus group and the amount of drive of the drive member that drives the focus group are nonlinear, the amount of defocus on the film surface is reduced. , The amount of focus group extended from the reference position,
Since the zooming position is obtained as necessary, a predetermined calculation is executed based on these, and the driving amount of the driving member for driving the focus group is directly obtained, so that the focusing accuracy can be improved by a simple configuration. Can provide an automatic focusing device for a camera that is easy to use.

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

第1A図〜第1C図は、本発明のカメラの自動焦点調節装置
の概念図、 第2図は、本発明が適用されるカメラシステムの電源供
給を主体とする電気回路のブロック図、 第3図は、上記第2図中のAFブロックを中心とした信号
の授受を示すブロック系統図、 第4図〜第10図は、上記第3図に示したAF用CPUを中心
としたプログラム動作を表したフローチャート、 第11図は、本発明の実施例で使用されているズームレン
ズからなる撮影光学系の構成図、 第12図は、距離カム関数とカムリフト量との関係を示す
線図、 第13図と第14図は、ワイドとテレでの、合焦に必要な繰
出量とデフォーカス量との関係をそれぞれ示すグラフ線
図、 第15図は、ピントのずれを、フォーカス群を合焦させる
ための駆動量に変換するアルゴリズムを説明するブロッ
ク線図、 第16図は、距離カムのリフト量と距離カムの回転量,距
離環の回転量との関係を示す線図である。 1……ずれ情報検出手段 2……合焦レンズ群ずれ情報決定手段 3……合焦レンズ群駆動量演算手段 4……繰出量検出手段 5……撮影レンズ
1A to 1C are conceptual diagrams of an automatic focusing device for a camera of the present invention, FIG. 2 is a block diagram of an electric circuit mainly for power supply of a camera system to which the present invention is applied, and FIG. 4 is a block diagram showing the transmission and reception of signals centered on the AF block in FIG. 2. FIGS. 4 to 10 show program operations centered on the AF CPU shown in FIG. FIG. 11 is a configuration diagram of a photographing optical system including a zoom lens used in an embodiment of the present invention. FIG. 12 is a diagram illustrating a relationship between a distance cam function and a cam lift amount. Fig. 13 and Fig. 14 are graphs showing the relationship between the amount of focus and the amount of defocus required for focusing in wide and telephoto, respectively. Fig. 15 shows the focus shift and the focus group. Block diagram for explaining an algorithm for converting into a drive amount for causing The lift amount of distance the cam and the distance the rotation of the cam is a graph showing the relationship between the rotation amount of the distance ring. DESCRIPTION OF REFERENCE NUMERALS 1: shift information detecting means 2: focus lens group shift information determining means 3: focus lens group drive amount calculating means 4 ... extension amount detecting means 5: photographing lens

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】フォーカス群の繰出量と、このフォーカス
群を駆動する駆動部材の駆動量との関係が非線形な撮影
レンズと、 この撮影レンズによる結像面とカメラの所定結像面との
ずれ方向およびずれ量を検出し、それらをずれ情報とし
て出力するずれ情報検出手段と、 このずれ情報に基づいて、上記フォーカス群を合焦位置
に移動するための繰出方向および繰出量を決定するフォ
ーカス群ずれ情報決定手段と、 上記フォーカス群の基準位置からの繰出量を検出する繰
出量検出手段と、 上記フォーカス群ずれ情報決定手段の出力と、上記繰出
量検出手段の出力と、所定の演算式とに基づいて所定の
演算を実行して、上記フォーカス群を合焦位置に移動す
るための、上記駆動部材の駆動量を決定する演算手段と を具備したことを特徴とするカメラの自動焦点調節装
置。
1. A photographing lens in which the relationship between the amount of extension of a focus group and the amount of driving of a driving member for driving the focus group is nonlinear, and a shift between an image plane formed by the photographing lens and a predetermined image plane of the camera. A shift information detecting means for detecting a direction and a shift amount, and outputting them as shift information; and a focus group for determining a feed direction and a feed amount for moving the focus group to a focus position based on the shift information. A shift information determining unit, a feed amount detecting unit that detects a feed amount of the focus group from a reference position, an output of the focus group shift information determining unit, an output of the feed amount detecting unit, and a predetermined arithmetic expression. Calculating means for executing a predetermined calculation based on the above, and determining a drive amount of the drive member for moving the focus group to a focus position. Automatic focusing device of La.
【請求項2】変倍系とフォーカス群とを含み、フォーカ
ス群の繰出量と、このフォーカス群を駆動する駆動部材
の駆動量との関係が非線形な撮影レンズと、 この撮影レンズによる結像面とカメラの所定結像面との
ずれ方向およびずれ量を検出し、それらをずれ情報とし
て出力するずれ情報検出手段と、 このずれ情報に基づいて、上記フォーカス群を合焦位置
に移動するための繰出方向および繰出量を決定するフォ
ーカス群ずれ情報決定手段と、 上記フォーカス群の基準位置からの繰出量を検出する繰
出量検出手段と、 上記変倍系の位置に応じた焦点距離情報を検出する焦点
距離情報検出手段と、 上記フォーカス群ずれ情報決定手段の出力と、上記繰出
量検出手段の出力と、上記焦点距離情報検出手段の出力
と、所定の演算式とに基づいて所定の演算を実行して、
上記フォーカス群を合焦位置に移動するための、上記駆
動部材の駆動量を決定する演算手段と を具備したことを特徴とするカメラの自動焦点調節装
置。
2. A photographic lens including a variable power system and a focus group, wherein the relationship between the amount of extension of the focus group and the amount of drive of a drive member for driving the focus group is non-linear, and an image plane formed by the photographic lens. A shift information detecting means for detecting a shift direction and a shift amount between the focus group and a predetermined imaging plane of the camera, and outputting them as shift information; and for moving the focus group to a focus position based on the shift information. A focus group shift information determining means for determining a feeding direction and a feeding amount; a feeding amount detecting means for detecting a feeding amount of the focus group from a reference position; and detecting a focal length information according to a position of the zoom system. A focal length information detecting unit, an output of the focus group shift information determining unit, an output of the feeding amount detecting unit, an output of the focal length information detecting unit, and a predetermined arithmetic expression. Run the constant of the operation,
Calculating means for determining a drive amount of the drive member for moving the focus group to a focus position.
【請求項3】上記撮影レンズは、上記フォーカス群と上
記変倍系とを連携させて焦点距離の調節を行うことを特
徴とする請求項2に記載のカメラの自動焦点調節装置。
3. The automatic focus adjusting device for a camera according to claim 2, wherein the photographing lens adjusts a focal length in cooperation with the focus group and the variable power system.
JP5014090A 1990-02-28 1990-02-28 Camera auto focus device Expired - Fee Related JP3187033B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5014090A JP3187033B2 (en) 1990-02-28 1990-02-28 Camera auto focus device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5014090A JP3187033B2 (en) 1990-02-28 1990-02-28 Camera auto focus device

Publications (2)

Publication Number Publication Date
JPH03249717A JPH03249717A (en) 1991-11-07
JP3187033B2 true JP3187033B2 (en) 2001-07-11

Family

ID=12850846

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5014090A Expired - Fee Related JP3187033B2 (en) 1990-02-28 1990-02-28 Camera auto focus device

Country Status (1)

Country Link
JP (1) JP3187033B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5748387A (en) * 1994-02-23 1998-05-05 Nikon Corporation Zoom lens system
JPH09145987A (en) * 1995-11-28 1997-06-06 Nikon Corp Zoom lens system
US5790317A (en) * 1995-12-13 1998-08-04 Nikon Corporation Zoom lens system
JPH09211295A (en) * 1996-02-07 1997-08-15 Nikon Corp Zoom lens system
JPH09236749A (en) * 1996-03-01 1997-09-09 Nikon Corp Zoom lens system

Also Published As

Publication number Publication date
JPH03249717A (en) 1991-11-07

Similar Documents

Publication Publication Date Title
US5001509A (en) Automatic focus adjusting apparatus
JP3584108B2 (en) Lens barrel
US4873543A (en) Automatic focusing camera
JP3187033B2 (en) Camera auto focus device
US8355626B2 (en) Lens-interchangeable camera performing focus control, lens barrel, and program
US5422699A (en) Photographic camera with variable focal length
JP2690728B2 (en) Auto focus camera
JP3208492B2 (en) Varifocal lens controller
JPH065336B2 (en) Autofocus camera
JPS62157016A (en) Auto-focus camera
JP3208802B2 (en) Automatic focusing device
US5878289A (en) Camera having automatic focusing system
US5059999A (en) Autofocus apparatus for a camera
JP2814238B2 (en) Ballif local lens controller
JPS62136626A (en) Lens driving device for automatic focusing camera
JP2565341B2 (en) Varifocal lens controller
JP2634808B2 (en) Camera focusing information output device
JPH11109220A (en) Automatic focusing device
JP2013080082A (en) Autofocus system
JPH03249744A (en) Subject distance information output device for camera
JP2921898B2 (en) Camera with zooming mode between exposures
JP2000009988A (en) Automatic focusing device for camera
JP2954861B2 (en) Automatic focusing device
JPH01510A (en) autofocus camera
JPH0823619B2 (en) Autofocus camera

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080511

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090511

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees