JPH03249744A - Subject distance information output device for camera - Google Patents

Subject distance information output device for camera

Info

Publication number
JPH03249744A
JPH03249744A JP5013990A JP5013990A JPH03249744A JP H03249744 A JPH03249744 A JP H03249744A JP 5013990 A JP5013990 A JP 5013990A JP 5013990 A JP5013990 A JP 5013990A JP H03249744 A JPH03249744 A JP H03249744A
Authority
JP
Japan
Prior art keywords
lens
focus
distance
focusing
lens group
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
JP5013990A
Other languages
Japanese (ja)
Inventor
Yoshiaki Matsuzawa
良紀 松澤
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 Optical 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 Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP5013990A priority Critical patent/JPH03249744A/en
Publication of JPH03249744A publication Critical patent/JPH03249744A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To perform accurate flashmatic control by providing an arithmetic operation means for deciding the ideal focusing extension amount of a focusing lens group with respect to a reference position based on outputs from an extension amount detecting means and from a focusing lens group deviation information deciding means. CONSTITUTION:Based on an output signal from a deviation information detecting means 1 for detecting the deviation direction and the deviation quantity in the optical axis direction of the image-formation surface of object light transmitted through a photographing lens 6 and a film surface, the focusing lens group deviation information deciding means 3 which arithmetically operates and decides the driving quantity to a focusing position of the focusing lens group of the lens 6 converts the obtained signal into a signal showing the deviation direction and the deviation quantity of the focusing lens group. The extension position of the focusing lens group which is an ideal focusing state is obtained based on the present extension position of the focusing lens group and the deviation direction and deviation quantity of the focusing lens group. Then, the arithmetic operation means 4 arithmetically operates and outputs subject distance information based on the information of the ideal focusing extension position of the focusing lens group. Thus, the accurate absolute distance of the object is arithmetically operated and outputted with simple constitution.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、カメラの被写体距離情報出力装置、詳しくは
自動焦点調節装置(以下AFと略記する)を有するカメ
ラの被写体距離情報出力装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a subject distance information output device for a camera, and more particularly to a subject distance information output device for a camera having an automatic focus adjustment device (hereinafter abbreviated as AF).

[従来の技術] 周知のように、被写体光を受光しピントのずれを検出し
て撮影レンズを合焦点に駆動するパッシブ方式のAF左
カメラおいて、カメラのフィルム面から被写体までの被
写体距離情報(絶対距離情報)を検出する手段としては
、まず−度撮影レンズを駆動して合焦状態にした後、そ
のときの撮影レンズの焦点調節光学系(フォーカスレン
ズ群)の繰出位置により距離メモリを使用して検出する
方法が知られている。
[Prior Art] As is well known, in a passive AF left camera that receives subject light, detects a focus shift, and drives the photographing lens to the in-focus point, subject distance information from the film surface of the camera to the subject is collected. As a means of detecting (absolute distance information), first drive the -degree photographic lens to bring it into focus, and then store the distance memory according to the position at which the focusing optical system (focus lens group) of the photographic lens is extended. Detection methods are known.

この他、特願昭60−275251号に提案されている
ように、撮影レンズに固有の絶対距離係数a、bを用い
て、下記近似式により、焦点調節光学系の無限遠位置か
らの繰出量(x)により、(絶対距離)−(係数a)+
f(係数b)/(x)1として、絶対距離を求める手段
や、特開昭63−236018号公報に提案されている
ように、更に精度良く求める近似式として、係数a、b
、cを用いて、 (絶対距離)−(係数a)+ ((係数b) / (X)l + ((係数c) X 
(X))として、絶対距離を求める手段が知られている
In addition, as proposed in Japanese Patent Application No. 60-275251, using the absolute distance coefficients a and b specific to the photographing lens, the amount of extension of the focusing optical system from the infinity position can be calculated using the following approximate formula. (x) gives (absolute distance) - (coefficient a) +
As f(coefficient b)/(x)1, the coefficients a, b can be used as a means to obtain the absolute distance, or as an approximate formula to obtain more accurately as proposed in JP-A No. 63-236018.
, c, (absolute distance) - (coefficient a) + ((coefficient b) / (X)l + ((coefficient c)
(X)) is a known method for determining the absolute distance.

また、撮影倍率を求める手段としては (撮影倍率)= (x)/ (焦点距離)あるいは、撮
影レンズに固有の倍率係数を用いて、(撮影倍率)−(
倍率係数) X (X)等の演算式を用いて、撮影倍率
を求める手段が知られている。
Also, as a means of calculating the photographic magnification, (photographing magnification) = (x) / (focal length) or using a magnification coefficient specific to the photographic lens, (photographing magnification) - (
There is a known method for determining the photographing magnification using an arithmetic expression such as (magnification coefficient) X (X).

また、合焦以前の時機に、被写体までの絶対距離を検出
する手段も本出願人によって特願平1−105635号
により提案されている。
Further, the present applicant has proposed a means for detecting the absolute distance to the subject before focusing, in Japanese Patent Application No. 1-105635.

[発明が解決しようとする課題] ところが、上記特願昭60−275251号や特開昭6
3−236018号公報で提案されている、絶対距離を
求めるための撮影レンズに固有の係数と焦点調節光学系
の無限遠位置からの繰出量とを用いて近似式から被写体
の絶対距離を求める手段は、合焦状態においての繰出量
の情報より演算されるために、レンズの特性によっては
、誤差を生じ易い。例えば、最近のカメラは撮影レンズ
にズームレンズが用いられる場合が多く、誰でも広角レ
ンズを使用できる構成になっているか、広角側の焦点距
離を用いる場合に、広角側ではレンズは焦点深度が深い
ために、ある距離の被写体に対して合焦と判断できる撮
影レンズの焦点調節光学系の繰出位置は広い範囲になる
。従って、その分、合焦状態と判断して絶対距離を演算
した場合の絶対距離のバラツキの範囲も広がる。また最
近では、レンズの小型化のために開放口径の小さなレン
ズも多くなってきているが、このようなレンズであれば
、更に、出来上がった写真に対する許容できるピントず
れは大きな値をとれるから、そのために絶対距離の誤差
・バラツキが更に大きくなり易い。
[Problem to be solved by the invention] However, the above-mentioned Japanese Patent Application No. 60-275251 and Japanese Unexamined Patent Publication No. 6
3-236018 proposes a means for determining the absolute distance of a subject from an approximate equation using a coefficient unique to the photographing lens for determining the absolute distance and the amount of extension of the focusing optical system from an infinity position. is calculated based on the information on the amount of extension in the focused state, so errors are likely to occur depending on the characteristics of the lens. For example, modern cameras often use a zoom lens as a shooting lens, so anyone can use a wide-angle lens, or when using a focal length on the wide-angle side, the lens has a deep depth of focus on the wide-angle side. Therefore, the position at which the focusing optical system of the photographic lens can be extended to determine that it is in focus for a subject at a certain distance has a wide range. Therefore, the range of variation in the absolute distance when the absolute distance is calculated after determining that the object is in focus also increases accordingly. In addition, recently, lenses with small apertures have become popular due to the miniaturization of lenses, but with such lenses, the tolerable out-of-focus value for the finished photo can be even larger. Errors and variations in absolute distance tend to become even larger.

また、上記特願平1−105635号で提案されている
被写体距離の演算手段はピントのずれの情報を撮影レン
ズの焦点調節光学系の繰出位置に加味して被写体の絶対
距離を求めるようにしているため、合焦位置のバラツキ
には無関係に被写体の絶対距離を演算することが可能で
ある。しかし、合焦以前に絶対距離を求めるので、レン
ズの肉厚や空気間隔、レンズ面のアール等の誤差による
特性の個々のバラツキ、レンズ枠や鏡枠の寸法の誤差や
バラツキ等により、ピントのずれと合焦に必要な焦点調
節光学系の移動量の関係が設計値と違ってしまい、演算
した絶対距離が誤差を持つ場合が生じる。そして、この
ように演算した絶対距離に誤差があるときに、ストロボ
撮影の制御をフラッシュマチックで行うと、撮影された
写真の露出が著しく狂い写真の画質を損なうことになる
Furthermore, the object distance calculating means proposed in the above-mentioned Japanese Patent Application No. 1-105635 calculates the absolute distance of the object by taking into account the information on the out-of-focus to the position of the focusing optical system of the photographing lens. Therefore, it is possible to calculate the absolute distance of the subject regardless of variations in the focus position. However, since the absolute distance is determined before focusing, focus may vary due to individual variations in characteristics due to errors in lens thickness, air spacing, lens surface radius, etc., and errors and variations in the dimensions of the lens frame and mirror frame. The relationship between the shift and the amount of movement of the focusing optical system necessary for focusing may differ from the designed value, and the calculated absolute distance may have an error. When there is an error in the absolute distance calculated in this way, if the flash photography is controlled using Flashmatic, the exposure of the photographed photograph will be significantly incorrect and the image quality of the photograph will be impaired.

次に、ズームレンズを撮影光学系に用いた場合の合焦位
置のバラツキによる絶対距離のバラツキについて説明す
る。
Next, a description will be given of variations in absolute distance due to variations in focus position when a zoom lens is used in the photographing optical system.

第17図は、このズームレンズ光学系のワイド端(焦点
距離36.2932 m111)でのフォーカスレンズ
群の繰出に応じた、AFすれによる絶対距離の誤差のグ
ラフである。下段の数字の列の上から2番目は繰出に応
じた光学設計的な被写体距離であり、縦軸の絶対距離に
一致する。この設計的な被写体距離グラフは3本のライ
ンの真中のものであり、距離(−)と距離(+)はピン
トずれが残っている繰出位置に相当する被写体距離であ
る。このレンズは、開放FNoが4.5であるので許容
錯乱円径を30分の1mmとした場合にビンのずれは0
.15+as(= 4.5 X (1/ 30 mm)
まで許容される。グラフ中の他の2本のラインはピント
が±0.150+nmずれた場合のフォーカスレンズ群
の停止している繰出に対応する被写体の距離を示してい
る。例えば、被写体距離が4,8mの場合に合焦と判断
できるレンズの位置は被写体の距離にして10.34 
mから3.15mの間になる。
FIG. 17 is a graph of the absolute distance error due to AF slippage in response to the extension of the focus lens group at the wide end (focal length 36.2932 m111) of this zoom lens optical system. The second number from the top in the lower row of numbers is the optically designed subject distance according to the advance, and corresponds to the absolute distance on the vertical axis. This designed object distance graph is the one in the middle of three lines, and distance (-) and distance (+) are object distances corresponding to the feeding position where the out-of-focus remains. This lens has an open FNo of 4.5, so if the allowable circle of confusion diameter is 1/30 mm, the bin shift will be 0.
.. 15+as (= 4.5 X (1/30 mm)
It is allowed up to The other two lines in the graph indicate the distance to the object corresponding to the stopped extension of the focus lens group when the focus is shifted by ±0.150+nm. For example, when the subject distance is 4.8 m, the position of the lens that can be determined to be in focus is 10.34 m based on the subject distance.
It will be between 3.15 m and 3.15 m.

第18図は、上記の条件、つまり、ピントが±0.15
0mmずれていても合焦と判断した場合にフォーカスレ
ンズ群の停止位置から被写体距離を求め、その距離によ
りストロボをフラッシュマチックで制御した場合の露出
のずれを示している。距離が4mの場合、露出は+1゜
75〜−1段の間でバラつくことになる。これでは、ピ
ントがあっていても露出の狂いで写真の画質が損なわれ
てしまう。
Figure 18 shows the above conditions, that is, the focus is ±0.15.
The subject distance is calculated from the stop position of the focus lens group when it is determined that the object is in focus even if there is a deviation of 0 mm, and the exposure deviation is shown when the strobe is controlled using Flashmatic based on that distance. If the distance is 4 meters, the exposure will vary between +1°75 and -1 stop. In this case, even if the subject is in focus, the exposure will be incorrect and the image quality of the photo will be compromised.

このような露出の狂いを防ぐためには、もっとシビアに
AFの合焦判定を行えば良いが、そのためにはAF動作
に要する時間が必要以上にかかり迅速な撮影ができなく
なるという不具合がある。
In order to prevent such exposure deviations, it is better to perform AF focus judgment more carefully, but this has the disadvantage that the AF operation takes longer than necessary, making it impossible to take pictures quickly.

本発明の目的は、上記の点に鑑み、撮影レンズの焦点深
度の深さによる合焦時の焦点調節光学系の停止位置のバ
ラツキに関係なく、正確な被写体の絶対距離を簡単な構
成で演算・出力し、この絶対距離情報を用いることによ
り、精度の良いフラッシュマチック制御を行うことがで
きるカメラの被写体距離情報出力装置を提供するにある
In view of the above points, an object of the present invention is to calculate an accurate absolute distance of a subject using a simple configuration, regardless of variations in the stop position of the focusing optical system during focusing due to the depth of focus of the photographic lens. - To provide a camera subject distance information output device that can perform accurate flashmatic control by outputting and using this absolute distance information.

[課題を解決するための手段] 本発明によるカメラの被写体距離情報出力装置は、第1
図にその概念を示すように、撮影レンズ6を透過した被
写体光の結像面とフィルム面とのずれ量およびずれ方向
をずれ情報として検出するずれ情報検出手段1と、上記
撮影レンズ6の内の合焦レンズ群の基準位置からの繰出
量を検出する繰出量検出手段2と、上記ずれ情報から上
記合焦レンズ群(以下、フォーカス群という)の基準位
置からの繰出量のずれ量およびずれ方向を決定するフォ
ーカス群ずれ情報決定手段3と、上記繰出量検出手段2
の出力と上記フォーカス群ずれ情報決定手段3の出力と
からフォーカス群の基準位置に対する理想的な合焦繰出
量を決定する演算手段4と、この演算手段4の出力に応
じて被写体距離情報を出力する出力手段5と、を具備し
たことを特徴とするものである。
[Means for Solving the Problems] A camera object distance information output device according to the present invention has a first object distance information output device.
As the concept is shown in the figure, there is a deviation information detection means 1 for detecting the amount and direction of deviation between the imaging plane of the subject light transmitted through the photographing lens 6 and the film surface as deviation information, and the inside of the photographing lens 6. an extension amount detection means 2 for detecting the extension amount of the focusing lens group from the reference position, and a deviation amount and deviation of the extension amount of the focusing lens group (hereinafter referred to as the focus group) from the reference position based on the deviation information. A focus group shift information determining means 3 for determining the direction, and the above-mentioned feeding amount detecting means 2
and a calculation means 4 for determining an ideal focusing amount with respect to the reference position of the focus group from the output of the focus group shift information determining means 3 and outputting object distance information according to the output of the calculation means 4. The present invention is characterized in that it is equipped with an output means 5 that performs the following steps.

[作 用] この被写体距離情報出力装置では、撮影レンズを透過し
た被写体光の結像面とフィルム面との光軸方向のずれ方
向・ずれ量を検出するずれ情報検出手段1の出力信号に
基づいて、撮影レンズのフォーカス群の合焦位置までの
駆動量を演算して決定するフォーカス群ずれ情報決定手
段3によってフォーカス群のずれ方向・ずれ量を示す信
号に変換する。
[Function] This object distance information output device detects the direction and amount of deviation in the optical axis direction between the imaging plane of the object light transmitted through the photographic lens and the film surface based on the output signal of the deviation information detection means 1. Then, the focus group shift information determining means 3 calculates and determines the drive amount of the focus group of the photographing lens to the in-focus position, and converts it into a signal indicating the direction and amount of shift of the focus group.

また、フォーカス群の現在の繰出位置と上記フォーカス
群のずれ方向・ずれ量の情報とがら、フォーカス群の理
想の合焦状態(ピントずれが0の状態)になる繰出位置
を求める。
Further, from the current extension position of the focus group and the information on the direction and amount of shift of the focus group, the extension position at which the focus group becomes in an ideal focused state (a state in which the focus shift is 0) is determined.

そして、このフォーカス群の理想合焦繰出位置の情報か
ら、被写体距離情報を演算して出力する。
Then, subject distance information is calculated and output from the information on the ideal focusing position of the focus group.

[実 施 例] 以下、本発明を、AF機能を有しレンズ交換式カメラで
特願昭60−275251号公報に開示されているカメ
ラに適用した実施例について説明する。
[Example] Hereinafter, an example will be described in which the present invention is applied to an interchangeable lens camera having an AF function and disclosed in Japanese Patent Application No. 60-275251.

第2図は、本発明が適用されるカメラシステムの電源供
給を主体として見た全体のブロック図である。電源電池
11の電圧■。0は電源スィッチ12の開成時にDC/
DCコンバータ13により昇圧され、ラインg。、91
間が電圧VDDに定電圧化されている。ライン10.1
1間にメインCPU14、バイポーラn回路15.バイ
ポーラ1回路16、ストロボ制御回路17.レンズ固有
データ回路18a、レンズ固定データ回路18b、デー
タバック回路19が接続されており、バイポーラn回路
15の電源供給制御はメインCPUのパワーコントロー
ル回路からの信号により行われ、パイポー91回路16
〜データパック回路19の電源供給制御はバイポーラn
回路15からのパワーコントロール信号により行なわれ
る。
FIG. 2 is an overall block diagram mainly showing the power supply of the camera system to which the present invention is applied. Voltage of power supply battery 11■. 0 is DC/ when the power switch 12 is opened.
The voltage is boosted by the DC converter 13, and the line g. , 91
The voltage between them is set to a constant voltage VDD. Line 10.1
1 main CPU 14, bipolar n circuit 15. Bipolar 1 circuit 16, strobe control circuit 17. A lens specific data circuit 18a, a lens fixed data circuit 18b, and a data back circuit 19 are connected, and the power supply control of the bipolar n circuit 15 is performed by a signal from the power control circuit of the main CPU.
~ Power supply control of data pack circuit 19 is bipolar n
This is done by a power control signal from circuit 15.

合焦センサ20.A/Dコンバータ21.AF用CPU
22からなるAFブロックは電源制御用トランジスタ2
3を介してラインp。、11間に接続されており、この
AFブロックに対する電源供給制御c8メインCPU1
4のAF用パワーコントロール回路からの信号による上
記トランジスタ23のオン、オフ制御により行なわれる
。AF用CPU22はAF用アルゴリズム演算を行なう
ための回路で、合焦・非合焦の表示を行なうAF表示回
路24が接続されている。メインCPU14は巻上、巻
戻、露出シーケンス等カメラ全体のシーケンスをコント
ロールするための回路で、上記合焦表示以外の表示を行
なう表示回路25を接続されている。バイポーラ■回路
15は巻上、巻戻用モータ制御、レンズ駆動およびシャ
ッタ制御等カメラのシーケンスに必要な各種ドライバを
含む回路で、AFモータ駆動回路26およびAF補助光
回路27等が接続されている。バイポーラ1回路16は
主として測光をつかさどる回路であり、測光素子28を
有している。ストロボ制御回路17は内蔵、或いは外付
けされたストロボ29に対する発光制御を行なうための
ものである。レンズ固有データ回路18aは、交換レン
ズ毎に異なる、AF、測光、その他のカメラ制御に必要
な、固有のレンズデータを記憶した回路である。このレ
ンズ固有データ回路18aに入っているレンズデータの
うちAFに必要なデータとしては、レンズ変倍係数(最
適AF係数)、マクロ識別信号、絶対距離係数a、b、
パワーフォーカスデユーティ係数1係数1数率係数精度
スレッショルドETh。
Focus sensor 20. A/D converter 21. AF CPU
The AF block consisting of 22 is a power supply control transistor 2
3 through line p. , 11, and the power supply control c8 main CPU1 for this AF block.
This is performed by controlling the transistor 23 on and off using a signal from the AF power control circuit No. 4. The AF CPU 22 is a circuit for performing AF algorithm calculations, and is connected to an AF display circuit 24 that displays in-focus/out-of-focus status. The main CPU 14 is a circuit for controlling sequences of the entire camera such as winding, rewinding, and exposure sequences, and is connected to a display circuit 25 for displaying other than the above-mentioned focus display. The bipolar circuit 15 is a circuit that includes various drivers necessary for camera sequences such as winding and rewind motor control, lens drive, and shutter control, and is connected to an AF motor drive circuit 26, an AF auxiliary light circuit 27, etc. . The bipolar 1 circuit 16 is a circuit mainly responsible for photometry, and has a photometry element 28. The strobe control circuit 17 is for controlling the light emission of a built-in or external strobe 29. The lens-specific data circuit 18a is a circuit that stores unique lens data necessary for AF, photometry, and other camera control, which differs for each interchangeable lens. Among the lens data contained in this lens-specific data circuit 18a, the data necessary for AF includes the lens magnification coefficient (optimal AF coefficient), macro identification signal, absolute distance coefficients a, b,
Power focus duty coefficient 1 coefficient 1 number rate coefficient accuracy threshold ETh.

レンズ移動方向、開放F値等である。これらのデータは
必要に応じて、設定されている焦点距離の情報により読
み出される記四部が変更され、データが切換られる。レ
ンズ固定データ回路18bは、交換レンズ毎には異なら
ない固定した演算に必要なデータを記憶した回路である
。またレンズ固有データ回路18a、レンズ固定データ
回路18bのデータは、それぞれカメラ内のメインCP
U14またはAF用CPU22等のメモリ内に記憶する
ようにしても良い。
These include the direction of lens movement and the aperture F value. The data to be read out is changed depending on the information on the focal length that has been set, and the data is switched as necessary. The lens fixed data circuit 18b is a circuit that stores data necessary for fixed calculations that do not differ for each interchangeable lens. Furthermore, the data of the lens specific data circuit 18a and the lens fixed data circuit 18b are stored in the main CP in the camera.
It may also be stored in the memory of the U14 or the AF CPU 22 or the like.

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

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

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

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

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

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

次に、本発明の被写体距離情報出力装置を有するカメラ
に取り付けらでいる撮影レンズ光学系を、第11図によ
って説明する。この撮影レンズ光学系は、カメラ本体に
固定されていても良いし、或いは、交換可能になってい
ても構わない。また光学系は、本実施例に述べるものに
限らずカメラの撮影用のレンズであれば何でも構わない
Next, a photographing lens optical system that can be attached to a camera having the subject distance information output device of the present invention will be explained with reference to FIG. This photographic 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 this embodiment, and any lens for photographing a camera may be used.

この撮影レンズ光学系は、同じ被写体距離に対応する焦
点調節光学系の無限遠位置からの光軸方向の繰出量が、
設定されている焦点距離によって異なっている5群から
なるズームレンズ構成されている。即ち、レンズL t
 ”” L sからなる第1群。
In this photographic lens optical system, the amount of extension of the focusing optical system in the optical axis direction from the infinity position corresponding to the same subject distance is
The zoom lens consists of five groups that differ depending on the set focal length. That is, the lens L t
"" The first group consisting of L s.

L4〜L7からなる第2群、L8〜Lloからなる第3
群、L  −L  からなる第4群およびL15゜11
   14 LlBからなる第5群のレンズ光学系で構成されており
、この第11図に示す状態は最大の焦点距離を持つテレ
端での状態を示している。
The second group consists of L4 to L7, and the third group consists of L8 to Llo.
group, the fourth group consisting of L −L and L15°11
The lens optical system is composed of a fifth lens group consisting of 14 LlB, and the state shown in FIG. 11 shows the state at the telephoto end where the focal length is the maximum.

このズームレンズはテレ側は焦点距離131.5044
1mであり、ワイドa1g;t18.2932量園であ
る。
This zoom lens has a focal length of 131.5044 on the telephoto side.
It is 1m wide, A1g; T18.2932.

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

以下、余白 第 表 (各群の構成[mm] ) このズームレンズ光学系は、ズーミング操作により第1
群レンズから第4群レンズの位置が変化し、第5群レン
ズは移動しないように固定されている。また、各レンズ
群の間隔の変化は一定ではなく、その変化する間隔を、
第11図に示すように、第1−第2群間隔をDl、第2
−第3群間隔をD2、第3−節4群間隔をD3、第4−
節5群間隔をD4として、焦点距離毎の各群の間隔デー
タを第3表に示す。
Below is a margin table (composition of each group [mm]) This zoom lens optical system
The position of the fourth group lens changes from the group lens, and the fifth group lens is fixed so as not to move. Also, the change in the spacing between each lens group is not constant, and the changing spacing is
As shown in FIG. 11, the distance between the first and second groups is Dl, the second
- 3rd group interval is D2, 3rd - section 4th group interval is D3, 4th -
Table 3 shows the interval data of each group for each focal length, with the node 5 group interval being D4.

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

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

以下、余白 この第4表に示すように、被写体距離は無限遠から1.
2mである。至近1.2 mの場合、ワイドでは0.5
8934 mmの繰出量であるのに対し、テレでは2.
6[1037a+mの繰出量が必要である。
As shown in Table 4 below, the subject distance is 1.5 mm from infinity.
It is 2m. If the closest distance is 1.2 m, 0.5 at wide
The payout amount is 8934 mm, while the tele is 2.
A payout amount of 6[1037a+m is required.

つまり、このズームレンズでは、ズーミング操作により
変化する焦点距離によって、同一の被写体距離に対応す
る焦点調節光学系の光軸方向の繰出量が異なる。そして
、そのために、ズーミングピント移動も起きる。このた
め、焦点距離によって異なる繰出量を一つの関数で近似
させ、設定される焦点距離に応じて、この関数の使用範
囲を変更することでズーミングピント移動を補正する。
That is, in this zoom lens, the amount of extension of the focusing optical system in the optical axis direction corresponding to the same subject distance differs depending on the focal length that changes due to the zooming operation. As a result, zooming and focus movement also occurs. For this reason, the zooming focus movement is corrected by approximating the amount of extension that varies depending on the focal length with a single function, and changing the usage range of this function according to the set focal length.

この繰出に使用される距離カム関数は、レンズのワイド
端をθ−0、至近方向・テレ方向をθがプラス、Ao−
Boを上記距離カム関数の定数とすると、θのときの関
数値Z(θ)は、 Z(θ)−B。/(Ao+θ)  −Bo/A。
The distance cam function used for this extension is θ-0 at the wide end of the lens, θ plus in the close-up and telephoto directions, and Ao-0.
If Bo is a constant of the distance cam function, the function value Z(θ) when θ is Z(θ)−B. /(Ao+θ)-Bo/A.

・・・・・・・・・(1) で表され、定数A。−Boがズーミングピント移動を無
くすように最適化されている。最適化のために、各焦点
距離毎の被写体距離(1,2m)に応じた焦点調節光学
系の繰出量と、焦点距離に応じた上記関数の使用範囲の
変更ffi (73,5度)と、上記被写体距離に応じ
た上記関数の使用範囲(36,75度)とが使用されて
いる。つまり、ワイドの無限遠に対応するθは0度であ
り、至近1.2 mでは311i、75度、テレの無限
遠に対応するθは73.5度、テレの至近1.2 mで
はθは110.25度になる。このときの、最適化され
た距離カム関数の定数は、 Ao−−180,877879(角度単位系)Bo−−
320,240186(角度単位系)である。第12図
に、この距離カム関数による形状が示しである。実線の
曲線で描いであるラインが距離カムの形状である。ライ
ン上の0印は各焦点距離での至近1.2 mでの繰出位
置である。図中のXA%XBで示されている値が距離カ
ム定数AoとB。である。また、図中のS1/τア玉で
示されている値は、それぞれ誤差の平方和と誤差の平均
値である。このように、上記の方法で決定した距離カム
によると被写体距離1.2 mの場合のズーミングによ
る焦点調整光学系の繰出量のずれは、平均的には(1,
0(10(11m m程度になる。
・・・・・・・・・(1) Represented by constant A. -Bo is optimized to eliminate zooming focus movement. For optimization, the amount of extension of the focusing optical system according to the subject distance (1, 2 m) for each focal length, and the change in the usage range of the above function according to the focal length ffi (73, 5 degrees). , the range of use of the function (36, 75 degrees) corresponding to the subject distance is used. In other words, θ corresponding to infinity for wide is 0 degrees, 311i, 75 degrees for close range 1.2 m, θ corresponding to infinity for tele is 73.5 degrees, and θ for close 1.2 m for tele. becomes 110.25 degrees. At this time, the constant of the optimized distance cam function is Ao--180,877879 (angular unit system) Bo--
320,240186 (angular unit system). FIG. 12 shows the shape based on this distance cam function. The solid curved line is the shape of the distance cam. The zero mark on the line is the payout position at a close distance of 1.2 m at each focal length. The values indicated by XA%XB in the figure are distance cam constants Ao and B. It is. Further, the values indicated by S1/τ circles in the figure are the sum of squared errors and the average value of errors, respectively. In this way, according to the distance cam determined using the above method, the deviation in the amount of extension of the focusing optical system due to zooming when the subject distance is 1.2 m is on average (1,
It will be about 0(10(11mm).

また、実際にこのレンズ系の駆動に用いられる駆動パル
スは距離カムの角度38.75度に対して1408.4
パルスにする。このパルスを用いた単位系では、上記の
最適化された距離カム関数の定数A o SB oは、 Aロー−6156,698050(駆動パルス単位系)
Bo−−12255,396077(駆動パルス単位系
)となる。
Also, the drive pulse actually used to drive this lens system is 1408.4 degrees for the distance cam angle of 38.75 degrees.
Pulse. In the unit system using this pulse, the constant A o SB o of the above optimized distance cam function is A low - 6156, 698050 (drive pulse unit system)
Bo--12255, 396077 (drive pulse unit system).

次に、上記第3表に示した各焦点距離 (38,2932〜131.5044)での被写体距離
に応じたピントのずれのデータを一覧にしてデフォーカ
ステーブルとして以下の第5表に示す。被写体距離は、
無限遠(表中では99999.99m mで示しである
) 、8000mm、 6000mm、 4000mm
、 3000mm。
Next, the data of the focus shift according to the subject distance at each focal length (38,2932 to 131.5044) shown in the above Table 3 is listed and shown in the following Table 5 as a defocus table. The subject distance is
Infinity (indicated as 99999.99mm in the table), 8000mm, 6000mm, 4000mm
, 3000mm.

2000mm51600mm51200mmである。横
軸は各被写体距離に応じたレンズの繰出位置を、縦軸は
レンズかにらむ被写体の距離を表している。
2000mm 51600mm 51200mm. The horizontal axis represents the lens extension position according to each subject distance, and the vertical axis represents the distance of the subject from the lens.

そして、第13図と第14図に、それぞれワイド(焦点
距離36.293mm)とテレ(焦点距離131.50
4mm)での、上記第5表に示しタヒントすれと、この
ピントずれ(d)が発生したときにフォーカス群を移動
させ、合焦させるのに必要なフォーカス群の移動Q(L
)のグラフを示す。
Figures 13 and 14 show wide (focal length 36.293mm) and telephoto (focal length 131.50mm), respectively.
4mm), as shown in Table 5 above, the focus group movement Q (L
) is shown.

このグラフ中、O印が上記第5表に示したピントずれの
データと合焦に必要なフォーカス群の繰出量を示してい
る。実線のラインは、このピントずれ(d)と合焦に必
要なフォーカス群の繰出量(L)の関係を、(d)と(
L)のデータを用いて最小自乗法により最適化された最
適AF係数A1BSCを用いて、 t、−(Bl −(A−B/ (A十d)l + (C
−dl・・・・・・・・・・・・(2) の近似式で表したものである。この近似式と実際に必要
な繰出量との誤差は、ワイドで行き過ぎ・行き足らず共
、0.0001m m以下である。テレでは、行き過ぎ
・行き足らず共、0.001 mm程度である。
In this graph, the mark O indicates the out-of-focus data shown in Table 5 above and the amount of extension of the focus group necessary for focusing. The solid line shows the relationship between this focus shift (d) and the amount of focus group extension (L) necessary for focusing, as shown in (d) and (
Using the optimal AF coefficient A1BSC optimized by the least squares method using the data of
-dl......(2) It is expressed by the following approximate expression. The error between this approximation formula and the actually required amount of feed is 0.0001 mm or less for both overshoot and undershoot. For telephoto, both overshoot and undershoot are about 0.001 mm.

焦点距離毎に、最適化された最適AF係数A、B。Optimized optimal AF coefficients A and B for each focal length.

Cを第6表に示す。C is shown in Table 6.

第 表 最適AF係数表(ピントずれ[mm] mオフオーカス群量) 次に、第15図によってピントののずれをフォーカス群
を合焦させるための駆動量に変換するアルゴリズムにつ
いて説明する。
Optimum AF coefficient table (Focus deviation [mm] m off-focus group amount) Next, an algorithm for converting the focus deviation into a drive amount for focusing the focus group will be described with reference to FIG.

この部分は、第1図のフォーカス群ずれ情報決定手段3
に相当する。
This part corresponds to the focus group shift information determining means 3 in FIG.
corresponds to

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

その後、距離環回転量演算部8において、上記フォーカ
ス群の合焦に必要な光軸方向の移動量りの情報を、上記
レンズの固有データ記憶回路部18a内、あるいは演算
プログラム中に即値で書き込まれている距離カム関数の
定数A o −B oと距離カム関数とから、AFのた
めの距離環の回転量に変換演算する。このときの演算式
は、第16図に示すように、 Sl:ズーミングによる距離カムの回転量S2:測距時
のレンズの繰出のための距離カムの使用量 P  :AFのための距離環の回転量 L :フォーカス群の合焦に必要な光軸方向の移動量 xO:合焦予定位置での距離カムの全リフト量xi :
 Slによる距離カムのリフト量x2:s2による距離
カムのリフト量 とすると、 LmxO−(xl+x2) また、距離カム関数式(1)より、 x O−B  / (A o + 81 + 82 +
 P )B o / A 。
Thereafter, in the distance ring rotation amount calculation section 8, information on the amount of movement in the optical axis direction necessary for focusing the focus group is written as an immediate value into the unique data storage circuit section 18a of the lens or into the calculation program. A conversion calculation is performed from the distance cam function constant A o −B o and the distance cam function to the rotation amount of the distance ring for AF. The calculation formula at this time is as shown in Fig. 16: Sl: rotation amount of the distance cam due to zooming S2: amount of use of the distance cam for extending the lens during distance measurement P: amount of distance ring used for AF Rotation amount L: Amount of movement in the optical axis direction necessary for focusing the focus group xO: Total lift amount of the distance cam at the expected focus position xi:
Lift amount of the distance cam due to SL x2: Lift amount of the distance cam due to s2, LmxO-(xl+x2) Also, from the distance cam function formula (1), x O-B / (A o + 81 + 82 +
P) Bo/A.

xl=B  / (Ao+51)−Bo/A。xl=B/(Ao+51)-Bo/A.

x 2 + x 1−B o / (A o + S 
1 + S 2 )BO/A0 、’、L−Bo/ (Ao+S1+S2+P)B  /
 (Ao+Sl+82) 、z P−B  /(L” (Bo / (Ao +S
 1 + S 2 )))(Ao+S1+82) として、AFのための合焦に必要な距離環の回転量を求
める演算式が導かれる。
x 2 + x 1-B o / (A o + S
1 + S2)BO/A0,',L-Bo/ (Ao+S1+S2+P)B/
(Ao+Sl+82),zP-B/(L”(Bo/(Ao+S)
1 + S 2 ))) (Ao+S1+82) An arithmetic expression for determining the amount of rotation of the distance ring necessary for focusing for AF is derived.

上記の(Sl)のズーミングによる距離カムの回転量は
、上記第12図に示しであるズーム操作量である。フォ
ーカス群の、位置を示すパルス単位系で表すためには、
第3表のデータに、単位回転角当たりのパルス数(本実
施例では140B、4パルス/38.75度)を乗じれ
ばよい。
The amount of rotation of the distance cam due to zooming (Sl) above is the zoom operation amount shown in FIG. 12 above. To express the position of the focus group in a pulse unit system,
The data in Table 3 may be multiplied by the number of pulses per unit rotation angle (140B in this example, 4 pulses/38.75 degrees).

本実施例の光学系はズームレンズであるから、演算のた
めには焦点距離情報が必要になっている。
Since the optical system of this embodiment is a zoom lens, focal length information is required for calculation.

特に、同一の距離の被写体に応じたフォーカス群の繰出
量が焦点距離によって異っているズームレンズであり、
この特性を補正する機構が組み込まれているので、更に
演算のための係数やデータに、焦点距離やフォーカス群
の繰出量に応じた値が必要になる。このように、この部
分の演算は各レンズの特性に合わせて設定すればよい。
In particular, it is a zoom lens in which the amount of extension of the focus group differs depending on the focal length depending on the subject at the same distance.
Since a mechanism for correcting this characteristic is incorporated, values corresponding to the focal length and the amount of extension of the focus group are required for the coefficients and data for calculation. In this way, the calculation in this part can be set according to the characteristics of each lens.

肝心なことは、ピントのずれの情報を合焦に必要なフォ
ーカス群の駆動量を求める演算であることである。
The important thing is that the information on the out-of-focus information is used to calculate the drive amount of the focus group necessary for focusing.

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

まず、前述のフォーカス群ずれ情報決定手段3からの信
号とフォーカス群が現在停止している繰出位置の信号と
から、理想的な合焦状態になるフォーカス群の基準位置
からの繰出量(x)を求める。更に、必要に応じて焦点
距離に応じた値をとる撮影レンズに固有の絶対距離係数
a、  bを用いて、下記近似式により、焦点調節光学
系の無限遠位置からの繰出ff1(x)により、 (絶対距離)− (係数g)+((係数b)/ (x)1として、絶対距
離を求める。
First, from the signal from the focus group shift information determining means 3 mentioned above and the signal of the extension position where the focus group is currently stopped, determine the extension amount (x) of the focus group from the reference position to achieve the ideal focusing state. seek. Furthermore, using the absolute distance coefficients a and b specific to the photographing lens, which take values according to the focal length as necessary, the following approximate formula is used to calculate the distance ff1(x) from the infinity position of the focusing optical system. , (Absolute distance) - (Coefficient g) + ((Coefficient b) / (x) 1, the absolute distance is determined.

また、撮影倍率を求めるために、撮影レンズに固有の倍
率係数を用いて、 (撮影倍率)−(倍率係数) X (X)等の演算式を
用いて、撮影倍率を求める。
Furthermore, in order to obtain the photographic magnification, a magnification coefficient specific to the photographic lens is used, and an arithmetic expression such as (photographing magnification) - (magnification coefficient) X (X) is used to determine the photographic magnification.

第19図と第20図は、それぞれ焦点距離がワイド端の
ときとテレ端のときのフォーカス群の繰出位置を示すパ
ルスに応じた撮影倍率と絶対距離のグラフである。O印
は光学的な設計値によるデータを、実線は倍率係数、絶
対距離係数a、bを用いて上記の近似式で求めた場合の
撮影倍率と絶対距離である。上記の近似式はかなりの精
度で近似している。
FIGS. 19 and 20 are graphs of photographic magnification and absolute distance according to pulses showing the position of the focus group when the focal length is at the wide end and at the telephoto end, respectively. The O symbol indicates data based on optical design values, and the solid line indicates the imaging magnification and absolute distance obtained using the above approximate formula using the magnification coefficient and absolute distance coefficients a and b. The above approximation formula approximates with considerable accuracy.

次に第7表に、各焦点距離での絶対距離係数a。Next, Table 7 shows the absolute distance coefficient a at each focal length.

bと倍率係数を示す(パルス単位系)。b and the magnification coefficient (pulse unit system).

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

第 表 次に、本発明の被写体距離情報出力装置を有するカメラ
の上記第3図に示したAFブロックを中心とするマイク
ロコンピュータのプログラム動作のフローチャートを説
明する。AFブロックは、第2図に示したように、メイ
ンCPU14のAF用パワーコントロール回路を動作状
態にすることによってトランジスタ23がオンして電源
電圧vDDが供給され、これによって、第4図に示すパ
ワーオン・リセットのルーチンの実行を開始する。
Table 1 Next, a flowchart of the program operation of the microcomputer centered on the AF block shown in FIG. 3 of the camera having the subject distance information output device of the present invention will be described. As shown in FIG. 2, in the AF block, when the AF power control circuit of the main CPU 14 is activated, the transistor 23 is turned on and the power supply voltage vDD is supplied. Begins execution of the on-reset routine.

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

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

モードの切換えが確実に行なわれて切換前と切換後のモ
ードが同一になったとき、その切換後のモードを読み取
って各モードのサブルーチンへ移行する。即ち、レンズ
駆動の各モードとしては、くレンズリセット>、  <
PF (パワーフォーカス)>、<AFS IN (A
Fレシンル)>、<AFSEQ(AFシーケンス)〉の
各モードがあり、これらのモードのうちの1つが選ばれ
ると、この選択されたモードのサブルーチンを実行した
のち上記くI10イニシャライズ〉のルーチンへ戻る。
When the mode has been reliably switched and the mode before and after the switch is the same, the mode after the switch is read and a transition is made to the subroutine for each mode. That is, the lens drive modes include lens reset>, <
PF (power focus)>, <AFS IN (A
There are AF Sequence) and AF SEQ modes, and when one of these modes is selected, the subroutine for the selected mode is executed and then the process returns to the I10 Initialize routine described above. .

くレンズリセット>、<PF>、<AFSIN>。Lens Reset>, <PF>, <AFSIN>.

<AFSEQ>のいずれのモードも選択されず、くその
他〉のモードが選ばれたときなどは、これは単なるノイ
ズとみなされて、くタイマ〉のルーチンで一定時間の経
過後上記くI10イニシャライズ〉へ戻る。
When none of the <AFSEQ> modes are selected and the <Other> mode is selected, this is treated as mere noise, and the above I10 initialization is performed in the <Timer> routine after a certain period of time. Return to

ここで、くレンズリセット〉モードの動作は、レンズを
強制的に無限遠(oo)の位置まで繰り込み、これによ
って、相対的距離信号、即ち、合焦センサ20から出力
される測距出力信号を無限遠(oo)の位置からのパル
ス移動数に置き換えて絶対距離信号に変換しようとする
ためのイニシャライズ動作、即ち、絶対距離カウンタの
クリア動作である。くレンズリセット〉が選択された場
合、この絶対距離カウンタのクリアのあと、例えば5m
s経ってからI10イニシャライズ動作に戻る。また、
<PF>モードとは、レンズの距離環を手動ではなく、
レンズ駆動モータ31によって駆動し、゛レンズのフォ
ーカシング動作をマニュアルのピント合せ又はフォーカ
スエイドを用いて実施しようとするものである。さらに
詳しく言えば、後述するPFUP (アップ)用操作ス
イッチSW、 。
Here, the operation of the lens reset mode is to forcibly retract the lens to the infinity (oo) position, thereby changing the relative distance signal, that is, the distance measurement output signal output from the focusing sensor 20. This is an initialization operation for replacing the pulse movement number from the position at infinity (oo) with the number of pulses and converting it into an absolute distance signal, that is, an operation for clearing the absolute distance counter. If ``Lens Reset'' is selected, after clearing this absolute distance counter, for example 5m.
After s has elapsed, the process returns to the I10 initialization operation. Also,
<PF> mode means that you can adjust the distance ring on the lens instead of manually.
It is driven by a lens drive motor 31, and the focusing operation of the lens is performed using manual focusing or a focus aid. More specifically, the PFUP (up) operation switch SW, which will be described later.

PFDN (ダウン)用操作スイッチSW2のオン。Turn on operation switch SW2 for PFDN (down).

オフによってレンズの繰り出し、繰り込みが行なわれる
ことになる。また、<AFSIN>のモードの動作は、
ワンショットAF動作であり、被写体に対してAF動作
後にフォーカスロックするものである。さらに、<AF
SEQ>モードは、連続AFであり、このモードでは、
レリーズ釦の1段目を動作しつづける限りAP動作を連
続的に行なうことになる。
When the lens is turned off, the lens is extended and retracted. Also, the operation of <AFSIN> mode is as follows:
This is a one-shot AF operation, and the focus is locked after the AF operation on the subject. Furthermore, <AF
SEQ> mode is continuous AF, and in this mode,
As long as the first stage of the release button continues to be operated, the AP operation will be performed continuously.

ところで、レンズ駆動の各モードに関する操作スイッチ
としては、下記の第1表に示すように、4つの操作スイ
ッチsw  −5W4が用いられる。
By the way, as operation switches for each mode of lens drive, four operation switches sw-5W4 are used, as shown in Table 1 below.

以下、余白 第 表 (峯ON、OFFのいずれでもよい) 上記第1表に示す第1.第2の操作スイッチsw  、
sw2はAFモードとPFモードで共通に用いられるも
のであり、第3の操作スイッチSWaはオフのときAF
モード、オンのときPFモードが選択される。APモー
ドで第1.第2の操作スイッチswl、sw2がともに
オフのときレンズリセットモードとなり、ともにオンの
ときAFSEQモードとなり、第1の操作スイッチSW
1がオフ、第2の操作スイッチsw2がオンのときAF
SINモードとなる。PFモードで第1、第2の操作ス
イッチsw  、sw2がともにオフ、又はともにオン
のときはストップモードにあり、第1の操作スイッチs
wlがオンのときはモータによって距離環を近距離側に
回転させてレンズを繰り出すPFUP (アップ)モー
ドとなり、第2の操作スイッチSW がオンのときは距
離環を遠距離側に回転させてレンズを繰り込むPFDN
(ダウン)モードとなる。また第4の操作スイッチSW
4は、AFモードのうちのいずれのモードでオン、オフ
のいずれの状態にあっても、また、PFモードのうちの
ストップモードでオン、オフのいずれの状態にあっても
変化はないが、PFモードでオンのときHl(高速)モ
ードとなり、レンズ駆動モータ31が高速回転し距離環
の粗動が行なわれ、オフのときLO(低速)モードとな
り、モータ31(第3図参照)が低速回転して距離環の
微動が行なわれる。
Hereinafter, the margin table (either ON or OFF is fine) is shown in Table 1 above. second operation switch sw,
sw2 is commonly used in AF mode and PF mode, and the third operation switch SWa is used for AF when off.
mode, PF mode is selected when it is on. 1st in AP mode. When the second operation switches swl and sw2 are both off, the lens reset mode is set, and when both are on, the mode is AFSEQ mode, and when the first operation switch SW
AF when 1 is off and the second operation switch sw2 is on
It becomes SIN mode. When the first and second operation switches sw and sw2 are both off or on in the PF mode, the stop mode is in effect, and the first operation switch s
When wl is on, the motor rotates the range ring toward the near distance side to extend the lens. When the second operation switch SW is on, the range ring is rotated toward the far distance side and the lens is extended. PFDN that renormalizes
(down) mode. Also, the fourth operation switch SW
4 does not change regardless of whether it is on or off in any of the AF modes, or whether it is on or off in the stop mode of the PF modes, When the PF mode is on, it becomes Hl (high speed) mode, and the lens drive motor 31 rotates at high speed to perform coarse movement of the distance ring.When it is off, it becomes LO (low speed) mode, and the motor 31 (see Figure 3) moves at low speed. As it rotates, a slight movement of the distance ring is performed.

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

<AFS IN>のモードが選択された場合は、第5図
に示す<AFS IN>のルーチンが実行され、メイン
CPU14からのAFENA信号が“H゛レベルアクテ
ィブ)になっているか否かを検出する。レリーズ釦の第
1段目の動作でAFENA信号がアクティブになってA
F動作が開始され、<AFSIN2>のサブルーチンが
呼び出される。但し、レリーズ釦の第2段目の動作が受
は付けられるのは、AF動作が終了して合焦状態が得ら
れ露出シーケンスが開始されるときである。
When the <AFS IN> mode is selected, the <AFS IN> routine shown in FIG. 5 is executed, and it is detected whether the AFENA signal from the main CPU 14 is at "H" level active. .The AFENA signal becomes active with the first operation of the release button, and the AFENA signal becomes active.
The F operation is started and the <AFSIN2> subroutine is called. However, the second operation of the release button is accepted when the AF operation is completed, a focused state is obtained, and the exposure sequence is started.

<AFS IN2>では、後述するように、合焦センサ
20のCCD積分、測距出力の演算およびレンズの駆動
等が行なわれる。そして、この<AFS IN2>のA
F動作の結果である合焦非合焦の表示は、<AFS I
N2>の動作の後、AFステータスフラグを監視して行
なわれる。AFステータスフラグはローコンフラグ(被
写体がローコントラストのとき′1″にセ・ソトされる
フラグ、以下、LCフラグと略記する)、移動フラグ(
被写体が移動しているとき“1“にセ・ソトされるフラ
グ、以下、Mフラグと略記する)および最至近フラグ(
レンズを最至近距離以上に繰り出そうとしたときに“1
“にセットされるフラグ、以下Nフラグと略記する)を
有しており、これらのうち、いずれのフラグとも“0”
のとき合焦が可能であり、上記各フラグのうち何らかの
フラグが立つと合焦不能であるので、へFステータスフ
ラグの監視の結果、同AFステータスフラグが“O”で
あれば合焦OKの表示を前記AF表示回路24のLED
24aによって行ない、AFステータスフラグが“0“
でなければ合焦不能の表示を前記LED24bによって
行なう。そして、合焦でなければ、AFENA信号が“
L”レベルになるまで待機し、“L″レベルなるとリタ
ーンする。合焦であれば、EOFAF信号が発せられて
AF動作が終了し、メインCPU14にレリーズ釦の2
段目の動作、即ち、露出シーケンスの開始を待機する状
態となる。そして、AFENA信号のチエツクが行なわ
れる。つまり、−度合焦が終了すると、AFENA信号
がアクティブになっていても、その後のレンズ動作が禁
止され合焦表示のLED24aが点灯したままとなり、
フォカスロック状態となる。メインCPU14からのA
FENA信号が“L”レベル(インアクティブ)になっ
たときは第4図に示すパワーオン・リセットのフローの
初期動作にリターンする。
In <AFS IN2>, as will be described later, CCD integration of the focus sensor 20, calculation of distance measurement output, lens driving, etc. are performed. And this <AFS IN2> A
The in-focus/out-of-focus display that is the result of F operation is <AFS I
After the operation of N2>, the AF status flag is monitored. The AF status flags include the low contrast flag (a flag that is set to '1'' when the subject has low contrast, hereinafter abbreviated as the LC flag), the movement flag (
The flag that is set to “1” when the subject is moving (hereinafter abbreviated as M flag) and the closest flag (
When trying to extend the lens beyond the closest distance, "1"
(hereinafter abbreviated as the N flag), and all of these flags are set to “0”.
Focusing is possible when the AF status flag is "O", and focusing is impossible if any of the above flags is set.As a result of monitoring the AF status flag, if the AF status flag is "O", focusing is OK. The display is made using the LED of the AF display circuit 24.
24a, and the AF status flag is “0”
Otherwise, the LED 24b indicates that focusing is not possible. If it is not in focus, the AFENA signal will be “
Waits until the level reaches "L", and returns when the level reaches "L". If the focus is achieved, the EOFAF signal is emitted, the AF operation is completed, and the main CPU 14 releases the button 2 of the release button.
It enters a state of waiting for the start of the second stage operation, that is, the start of the exposure sequence. Then, the AFENA signal is checked. In other words, when -degree focusing is completed, even if the AFENA signal is active, further lens operation is prohibited and the focus display LED 24a remains lit.
The focus is locked. A from main CPU14
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の出力パルス)との比較のためにRE
TRY (リトライ)フラグがクリアされ、AF小ルー
プウンタに一連のAF動作における最大A111距回数
がセットされる。このあと、ある明るさ以上では確実に
CCD積分か行なわれるように、ITIMEレジスタに
CCD積分時間の最大値がセットされる。そして、AF
ステータスフラグがクリアされ、Sランプフラグもクリ
アされる。ここまでのフローの動作でAF開始前のイニ
シャライズ動作が終了する。
While operating in the above <AFSIN> mode, <AFSIN2>
The program operation of the subroutine > is performed as shown in FIG. First, in order to compare the previous distance measurement calculation value (the previous output pulse of the focus sensor 20) and the current distance measurement calculation value (the current output pulse of the focus sensor 20),
The TRY (retry) flag is cleared, and the maximum number of A111 distances in a series of AF operations is set in the AF small loop counter. Thereafter, the maximum value of the CCD integration time is set in the ITIME register so that CCD integration is reliably performed above a certain brightness. And A.F.
The status flag is cleared and the S lamp flag is also cleared. The operations in the flow up to this point complete the initialization operation before starting AF.

このあと、くレンズ・リード〉のルーチンが呼び出され
、前記レンズ固有データ回路18aに人っているレンズ
内の各データが読み出されたのち、測距のための<AF
>のルーチンが呼び出される。
After that, the lens read routine is called, and after each data in the lens stored in the lens specific data circuit 18a is read out, the AF routine for distance measurement is called.
> routine is called.

この<AF >のサブルーチン内では、CCD積分時に
Sランプ27aを点灯させる必要があるか否かが判断さ
れ、点灯する必要がある場合にはSランプフラグがセッ
トされ、必要ない場合にはクリアされる。また、ローラ
イトフラグ(被写体がローライトのとき“1″にセット
されるフラグ、以下、LLフラグと略記する)、LCフ
ラグがセット或いはクリアされる。
In this <AF> subroutine, it is determined whether or not it is necessary to light the S lamp 27a during CCD integration. If it is necessary to light the S lamp 27a, the S lamp flag is set, and if it is not necessary, it is cleared. Ru. Further, a low light flag (a flag set to "1" when the subject is in low light, hereinafter abbreviated as LL flag) and LC flag are set or cleared.

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

このくパルス〉のルーチンでは、第7A図、第7B図に
示すように上記<AF >ルーチンで求められたAF(
測距)演算出力値を各撮影レンズ毎のフォーカス群の駆
動量に変換するために、必要なレンズの固有のデータ(
最適AF係数ASB。
In the <KuPulse> routine, the AF (
In order to convert the calculation output value (distance measurement) into the drive amount of the focus group for each shooting lens, the necessary lens-specific data (
Optimal AF coefficient ASB.

Cと焦点距離に応じた距離カムの回転量の情報)を固有
データ回路18aから設定されている焦点距離に応じて
読み出す。次に、読み取った最適AF係数とAF演算出
力値によりフォーカス群の現在位置から合焦予定位置の
フォーカス群の光軸方向の駆動量に関する情報を演算す
る。その後、設定されている焦点距離に応じた距離カム
の回転量とフォーカス群の現在位置の情報と上記フォー
カス群の光軸方向の移動量の情報から非直線形の距離カ
ムの形状を考慮したフォーカス群の駆動量に相当するパ
ルス(アドレス信号)数(L P L S)が計算され
る。
C and information on the amount of rotation of the distance cam according to the focal length) are read out from the unique data circuit 18a according to the set focal length. Next, information regarding the amount of drive of the focus group in the optical axis direction from the current position of the focus group to the expected focus position is calculated using the read optimal AF coefficient and AF calculation output value. After that, focusing takes into account the shape of the non-linear distance cam based on the information on the rotation amount of the distance cam according to the set focal length, the current position of the focus group, and the information on the amount of movement of the focus group in the optical axis direction. The number of pulses (address signals) (LPLS) corresponding to the drive amount of the group is calculated.

次に1、上記くパルス〉のサブルーチンで現在位置から
合焦予定位置までの移動量に相当するパルス数(L P
 L S)を求めた後、レンズを合焦状態に駆動する前
に、被写体の絶対距離や撮影倍率を求める<0BJDA
TA>のサブルーチンを実行する。
Next, in the subroutine 1.Pulses> above, the number of pulses (L P
After determining L S), determine the absolute distance of the subject and photographing magnification before driving the lens to the focused state.<0BJDA
TA> subroutine is executed.

第8図は、上記<0BJDATA>のサブルーチンのフ
ローチャートである。図において、撮影レンズを移動す
る方向が無限遠端より至近端に向かうく繰出し方向〉か
否かがチエツクされる。く繰出し方向〉なら、絶対距離
カウンタにセットされている撮影レンズのフォーカス群
の現在位置における無限遠端からのパルス数(D I 
S CNT)に、上記くパルス〉のルーチンで求めた現
在位置から被写体の合焦予定位置までの移動量に相当す
るパルス数(L P L S)を加算して、被写体の合
焦予定位置の無限遠端からのパルス数(OBJPLS)
に格納する。く繰出し方向〉でなければ、つまり繰込み
方向なら現在位置における無限遠端からのパルス数(D
 I S CNT)から、現在位置から合焦予定位置ま
での移動量に相当するパルス数(L P L S)を減
算し、この減算結果を合焦予定位置の無限遠端からのパ
ルス数(OBJPLS)に格納する。この減算結果が負
となる、っまりくボロー〉が出たら、合焦予定位置は無
限遠端より更に無限遠寄りとなるが、これは取りも直さ
ず無限遠端なので、<0BJPLS−0>っまり合焦予
定位置の無限遠端からのパルス数(OBJPLS)を0
に設定する。こうすれば、測距精度を向上することもで
きる。
FIG. 8 is a flowchart of the <0BJDATA> subroutine. In the figure, it is checked whether the direction in which the photographing lens is moved is from the infinity end to the close end. direction>, the number of pulses 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 (LPLS) corresponding to the amount of movement from the current position to the subject's scheduled focus position obtained using the routine Pulse> above is added to S CNT) to determine the subject's planned focus position. Number of pulses from the infinite end (OBJPLS)
Store in. If it is not in the feeding direction, that is, in the feeding direction, then the number of pulses from the infinite end at the current position (D
Subtract the number of pulses (LPLS) corresponding to the amount of movement from the current position to the planned focus position from ISCNT), and use this subtraction result as the number of pulses from the infinity end of the planned focus position (OBJPLS). ). If the result of this subtraction is negative (totally borrow), the expected focus position will be even closer to infinity than the infinity end, but since this is still the infinity end, <0BJPLS-0> Set the number of pulses (OBJPLS) from the infinity end of the planned focus position to 0.
Set to . In this way, distance measurement accuracy can also be improved.

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

メインCPU14では<0BJDIST、OBJMUL
受信〉で受は取った被写体距MCOBJDIST)と倍
率(OBJMUL)を用いてくストロボのバララックス
補正〉やくオートズーム〉が必要か否かを判断する。必
要ならくストロボのバララックス補正〉やくオートズー
ム駆動〉のためのズーミングの演算を行なう。CPU1
4は、この演算結果に基づいてバララックス補正のため
のアクチュエータやズームアクチュエータの駆動を、後
述する焦点調整のためのレンズ駆動と平行して行なう。
<0BJDIST, OBJMUL on main CPU14
In RECEPTION, the receiver uses the taken subject distance MCOBJDIST) and magnification (OBJMUL) to determine whether strobe balax correction or auto zoom is necessary. If necessary, perform zooming calculations for strobe balax correction and auto zoom drive. CPU1
4 drives the actuator and zoom actuator for balax correction in parallel with the lens drive for focus adjustment, which will be described later, based on the calculation result.

このように本発明では、合焦までのレンズ駆動量と現在
のレンズの繰出量から理想的な合焦状態のときになるで
あろうレンズの繰出位置を求めて、レンズ駆動前に被写
体が合焦した場合の絶対距離。
In this way, in the present invention, the lens extension position that would be in an ideal in-focus state is determined from the lens drive amount until focusing and the current lens extension amount, and the object is brought into focus before the lens is moved. Absolute distance when focused.

撮影倍率を演算する。Calculate the shooting magnification.

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

前回パルスと今回パルスとの比較を行なう目的は、AF
シーケンス全体の発散動作を防ぐことにある。両者を比
較する仕方としては、(今回パルス数):(前回パルス
数X O,5) 、或いは(今回パルス数):(前回パ
ルス数X 1.5)等が考えられる。AFクシ−ンスの
系が発散状態にありそうなときは被写体移動中にAF動
作を行なわせることが考えられるので、この場合には、
速やかにレンズ駆動を中止し、AF動作の無駄を防ぐた
めにMフラグをセットしてリターンする。
The purpose of comparing the previous pulse and the current pulse is to
The purpose is to prevent divergent behavior of the entire sequence. Possible ways to compare the two are (current pulse number): (previous pulse number X O, 5), or (current pulse number): (previous pulse number X 1.5). If the AF sequence system is likely to be in a divergent state, it may be possible to perform AF operation while the subject is moving, so in this case,
Immediately stop lens driving, set the M flag to prevent unnecessary AF operations, and return.

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

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

ここで、上記<AF>の動作後、もし、LLフラグ或い
はLCフラグがセットされていれば、Sランプフラグの
状態がテストされる。このとき、Sランプフラグが事前
に“1°にセットされていれば、AFのための積分動作
中にSランプ27aが点灯していたにもかかわらずロー
ライト、ローコントラストの状態になったことになるの
で、この場合は、再度LCフラグをテストし、ローコン
トラストの場合のみ〈レンズNF(合焦不能)〉のルー
チンを呼び出し、合焦不能の積極的表示を行なう。即ち
、この〈レンズNF>のルーチンでは、まず、レンズを
一旦、最至近位置まで繰り出したのち、無限遠(oe+
)位置まで繰り込ませ、このレンズの大幅な移動によっ
て積極的に合焦不能をユーザに知らせる。なお、合焦不
能を表わすレンズ動作としては無限遠(oo)位置から
最至近位置へ繰り出す動作であってもよい。また、この
くレンズNF>では、無限遠(oo)位置に当て付くこ
とにより、レンズ距離環の無限遠(oo)位置からの駆
動パルス数(移動アドレス信号数)をセーブするための
絶対距離カウンタのイニシャライズが行なわれる。もし
、ローコントラストでなければ、ローライトでありなが
らAFの演算が行なわれたことになるので、この場合は
、0に戻る。
Here, after the <AF> operation described above, if the LL flag or LC flag is set, the state of the S lamp flag is tested. At this time, if the S lamp flag had been set to "1°" in advance, the low light and low contrast state would have occurred even though the S lamp 27a was lit during the integration operation for AF. Therefore, in this case, test the LC flag again, call the <Lens NF (unable to focus)> routine only in the case of low contrast, and actively display the failure to focus. In the routine above, the lens is first extended to the closest position, and then moved to infinity (OE+
), and the user is actively notified of the inability to focus by moving the lens significantly. Note that the lens operation indicating inability to focus may be an operation of moving the lens from the infinite (oo) position to the closest position. In addition, in this lens NF>, an absolute distance counter is used to save the number of drive pulses (number of movement address signals) from the infinity (oo) position of the lens distance ring by hitting the infinity (oo) position. is initialized. If the contrast is not low, it means that the AF calculation was performed even though the light was low, so in this case, the value returns to 0.

また、Sランプフラグが事前にクリアされていたときに
は、以前にはSランプ27aが消灯していたことになる
ので、LLフラグ、或いはLCフラグがセットされてい
る場合は、Sランプフラグをセットし、[F]に進む。
Also, if the S lamp flag was cleared in advance, it means that the S lamp 27a was previously off, so if the LL flag or LC flag is set, set the S lamp flag. , proceed to [F].

従って、2回目以降のAF動作でSランプ27aが点灯
することになる。
Therefore, the S lamp 27a will be lit in the second and subsequent AF operations.

また、被写体が移動している、つまり動体の場合、その
被写体距離を複数回測定すれば、被写体の運動の速度を
求めることも可能で、AF駆動の際に、被写体の運動量
を加味して、動体に追従したAFが可能となる。この複
数回のAFは、AF駆動をはさんで行なわれてもよい。
In addition, if the subject is moving, in other words, it is a moving object, by measuring the distance to the subject multiple times, it is possible to find the speed of the subject's movement. AF that follows a moving object becomes possible. This multiple AF may be performed with AF driving in between.

また動体の動きを予測し、ミラーアップ等の時間の遅れ
を予測しAF駆動を行なう場合の予測駆動量を設定する
こともできる。
It is also possible to predict the movement of a moving object, predict time delays such as mirror up, and set a predicted drive amount when performing AF drive.

第9図は、このような動体を追尾してAFする際のサブ
ルーチン<AFSIN2A>のフローチャートで、前記
第6図に示したサブルーチンくAFSIN2>のフロー
チャート中の動体追尾に関連したルーチンのみを抽出し
て示したものである。
FIG. 9 is a flowchart of the subroutine <AFSIN2A> when tracking and AFing such a moving object. Only the routines related to moving object tracking in the flowchart of the subroutine AFSIN2> shown in FIG. 6 are extracted. This is what is shown.

図において、前記第6図で既に説明したルーチンについ
ては、その説明を省略して変更ルーチンの説明のみに止
める。
In the figure, the explanation of the routine already explained in FIG. 6 is omitted, and only the change routine will be explained.

第9図において、<AF>、<パルス〉、<OB J 
D I ST>等サブルーチンで信号処理されて得られ
た被写体距離(OBJDIST)と撮影倍゛率(OB 
J MU L)との情報は、く合焦判定〉のルーチンで
合焦状態にあるか否かが判定され、合焦状態の情報なら
前記第5図に示すフロー<AFSIN>のサブルーチン
(AFSIN2>の次に〈リターン〉する。また、非合
焦ならく1回目のAF>か否かを判定するルーチンに進
み、1回目のAFなら<MDRIVAF>へ、1回目の
AFでない、つまりAFが複数回行なわれていれば、く
前回0BJDIST−今回0BJDIST>を求めてそ
の大きさを判定するルーチンへ進む。このく前回0BJ
DIST−今回0BJDIST>のルーチンで求められ
た被写体距離情報(OBJDIST)の前回情報と今回
情報との差が大きい場合はくパルス補正〉して、十分に
小さい場合は直接、<MDRIVAF>のルーチンに進
む。次いで、く予測AFか〉を判定するルーチンに進ん
で、動体追尾の目的が、動体を追尾して被写体距離を求
めると共にAPが終了してから実際に撮影するまでの間
に動体が移動しているであろう位置を予測してその予測
位置にピント合わせする予測AFなら、これ以上のAF
を行なっても無駄なので、前記第5図に示す<AFS 
IN>のフロー中のサブルーチン<AFSIN2>の次
のルーチンにくリターン〉する。また、く予測AF>で
なければく前回0BJDIST←0BJDIST>のル
ーチンに進んで、今回水められた被写体距離(OBJD
IST)の情報を、前回得られた被写体距離(OBJD
IST)情報を格納するメモリエリアに格納した上で、
上記<AF>のサブルーチンに戻り、合焦判定されるま
で上記動作を繰返すことになる。
In Fig. 9, <AF>, <Pulse>, <OB J
The object distance (OBJDIST) and photographing magnification (OBJDIST) obtained through signal processing in subroutines such as
J MU L), it is determined whether or not it is in focus in the focus determination routine, and if the information is in focus, it is determined by the subroutine (AFSIN2) of the flow <AFSIN> shown in FIG. 5 above. Next, press <Return>. If the focus is not focused, proceed to the routine that determines whether it is the first AF. If it has been performed twice, the process proceeds to a routine that calculates the previous time 0BJDIST - this time 0BJDIST> and determines its size.
If the difference between the previous object distance information (OBJDIST) obtained in the DIST-This time 0BJDIST routine and the current information is large, perform pulse correction>, and if it is sufficiently small, directly go to the <MDRIVAF> routine. move on. Next, the routine proceeds to a routine that determines whether it is predictive AF or not, and the purpose of moving object tracking is to track a moving object and find the subject distance, and also to determine if the moving object has moved between the end of AP and the actual shooting. Predictive AF, which predicts where the person will be and focuses on that predicted position, is even better than this.
Since it is wasteful to perform <AFS> shown in FIG.
Return to the next routine of the subroutine <AFSIN2> in the flow of <IN>. Also, proceed to the previous routine 0BJDIST←0BJDIST> unless Predictive AF>
IST) and the previously obtained object distance (OBJD).
IST) After storing the information in the memory area,
The process returns to the <AF> subroutine, and the above operations are repeated until focus is determined.

以上述べた本実施例では、絶対距離係数a、  bや倍
率係数のように演算に必要なレンズ固有のデータは、レ
ンズ固有データ回路18a内に記憶されており、読み出
されて使用されたが、このレンズに固有なデータは、レ
ンズが固定されているカメラ等においては、プログラム
中に即値として書き込んでおけば、記憶回路を省略でき
ることは言うまでもない また、以上述べた実施例では、AFの合焦判定の以前に
被写体の絶対距離や撮影倍率を求めていたが、第10図
に示すように合焦判定後にのみ<0BJDATA>のル
ーチンを実行するようにしても、理想合焦位置に応じた
被写体の絶対距離と撮影倍率を求めることができる。
In this embodiment described above, the lens-specific data necessary for calculation, such as the absolute distance coefficients a and b and the magnification coefficient, are stored in the lens-specific data circuit 18a, and are read out and used. It goes without saying that if this lens-specific data is written as an immediate value in the program in a camera with a fixed lens, the memory circuit can be omitted. The absolute distance and photographic magnification of the subject were calculated before focus determination, but even if you execute the <0BJDATA> routine only after focus determination, as shown in Figure 10, it will still not work according to the ideal focus position. The absolute distance of the subject and the magnification can be determined.

[発明の効果] 以上述べたように本発明によれば、上記実施例に示した
ように、フォーカス群の合焦に必要な繰出量としてのフ
ォーカス群ずれ情報決定手段がらノ信号と、フォーカス
群が現在停止している基準位置(上記実施例では無限遠
位置)からの繰出位置の信号とを用いて、理想的に被写
体に合焦するフォーカス群の基準位置からの繰出量を予
測し、その値を用いて被写体の絶対距離を求めるように
したので、その結果、撮影レンズの焦点深度の深さによ
る合焦時の焦点調節光学系の停止位置のバラツキによら
ず、正確な被写体の絶対距離を簡単な構成で演算・出力
ることができる。
[Effects of the Invention] As described above, according to the present invention, as shown in the above embodiment, the focus group shift information determining means as the amount of extension necessary for focusing the focus group and the focus group Using the signal of the extension position from the reference position where the camera is currently stopped (the infinity position in the above example), predict the extension amount from the reference position of the focus group that ideally focuses on the subject, and predict the extension amount from the reference position. Since the absolute distance of the subject is determined using the value, as a result, the absolute distance of the subject is accurate, regardless of variations in the stop position of the focusing optical system during focusing due to the depth of focus of the photographing lens. can be calculated and output with a simple configuration.

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

第1図は、本発明のカメラの被写体距離情報出力装置の
概念図、 第2図は、本発明が適用されるカメラシステムの電源供
給を主体とする電気回路のブロック図、第3図は、上記
第2図中のAFブロックを中心とした信号の授受を示す
ブロック系統図、第4図〜第10図は、上記第3図に示
したAF用CPUを中心としたプログラム動作を表した
フローチャート、 第11図は、本発明の実施例で使用されているズームレ
ンズからなる撮影光学系の構成図、第12図は、距離カ
ム関数とカムリフト量との関係を示す線図、 第13図と第14図は、ワイドとテレでの、合焦に必要
な繰出量とデフォーカス量との関係をそれぞれ示すグラ
フ線図、 第15図は、ピントのずれを、フォーカス群を合焦させ
るための駆動量に変換するアルゴリズムを説明するブロ
ック線図、 第16図は、距離カムのリフト量と距離カムの回転量、
距離環の回転量との関係を示す線図、第17図は、上記
撮影光学系におけるAFずれによる絶対距離の誤差を示
すグラフ線図、第18図は、AFずれによるストロボ撮
影における露出のずれを示すグラフ線図、 第19図と第20図は、焦点距離がそれぞれワイド端の
ときとテレ端のときのフォーカス群の繰出位置を示すパ
ルスに応じた撮影倍率と絶対距離の関係を示すグラフ線
図である。 1・・・・・・・・・ずれ情報検出手段2・・・・・・
・・・繰出量検出手段 3・・・・・・・・・合焦レンズ群ずれ情報決定手段″
4・・・・・・・・・演算手段 5・・・・・・・・・出力手段 6・・・・・・・・・撮影レンズ
FIG. 1 is a conceptual diagram of a subject distance information output device of a camera according to 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. The block system diagram showing the transmission and reception of signals centering on the AF block in FIG. 2 above, and FIGS. 4 to 10 are flowcharts showing the program operation centering on the AF CPU shown in FIG. , Fig. 11 is a configuration diagram of a photographing optical system consisting of a zoom lens used in an embodiment of the present invention, Fig. 12 is a diagram showing the relationship between the distance cam function and the cam lift amount, and Fig. 13. Figure 14 is a graph diagram showing the relationship between the amount of extension required for focusing and the amount of defocus for wide and telephoto. A block diagram illustrating the algorithm for converting into a drive amount, Figure 16, shows the lift amount of the distance cam, the amount of rotation of the distance cam,
A diagram showing the relationship with the rotation amount of the distance ring, Fig. 17 is a graph diagram showing the error in absolute distance due to AF deviation in the photographic optical system, and Fig. 18 shows a graph showing the deviation in exposure in strobe photography due to AF deviation. Figures 19 and 20 are graphs showing the relationship between photographic magnification and absolute distance according to pulses that indicate the focus group extension position when the focal length is at the wide end and telephoto end, respectively. It is a line diagram. 1... Misalignment information detection means 2...
. . . Extension amount detection means 3 . . . Focusing lens group displacement information determination means"
4......Calculating means 5...Output means 6...Photographing lens

Claims (1)

【特許請求の範囲】[Claims] (1)撮影レンズを透過した被写体光の結像面とフィル
ム面との、ずれ量およびずれ方向をずれ情報として検出
するずれ情報検出手段と、 上記撮影レンズの内の合焦レンズ群の、基準位置からの
繰出量を検出する繰出量検出手段と、上記ずれ情報から
上記合焦レンズ群の基準位置からの繰出量のずれ量およ
びずれ方向を決定する合焦レンズ群ずれ情報決定手段と
、 上記繰出量検出手段の出力と上記合焦レンズ群ずれ情報
決定手段の出力とから上記合焦レンズ群の基準位置に対
する理想的な合焦繰出量を決定する演算手段と、 この演算手段の出力に応じて被写体距離情報を出力する
出力手段と、 を具備したことを特徴とするカメラの被写体距離情報出
力装置。
(1) A deviation information detection means for detecting as deviation information the amount and direction of deviation between the imaging plane of the subject light transmitted through the photographic lens and the film plane; and a reference for the focusing lens group of the photographic lens. a feeding amount detection means for detecting a feeding amount from a position; a focusing lens group displacement information determining means for determining a deviation amount and direction of the feeding amount of the focusing lens group from a reference position from the deviation information; a calculation means for determining an ideal focusing extension amount for the reference position of the focusing lens group from the output of the extension amount detection means and the output of the focusing lens group displacement information determining means; What is claimed is: 1. An apparatus for outputting object distance information for a camera, comprising: output means for outputting object distance information.
JP5013990A 1990-02-28 1990-02-28 Subject distance information output device for camera Pending JPH03249744A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5013990A JPH03249744A (en) 1990-02-28 1990-02-28 Subject distance information output device for camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5013990A JPH03249744A (en) 1990-02-28 1990-02-28 Subject distance information output device for camera

Publications (1)

Publication Number Publication Date
JPH03249744A true JPH03249744A (en) 1991-11-07

Family

ID=12850816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5013990A Pending JPH03249744A (en) 1990-02-28 1990-02-28 Subject distance information output device for camera

Country Status (1)

Country Link
JP (1) JPH03249744A (en)

Similar Documents

Publication Publication Date Title
US7454135B2 (en) Camera system incorporating a seamless lens-drive switching mechanism
US6178295B1 (en) Lens movement control device
JPS63115119A (en) Automatic focus detector for camera
US6614997B2 (en) Camera having an optical zoom system
US8355626B2 (en) Lens-interchangeable camera performing focus control, lens barrel, and program
JP3187033B2 (en) Camera auto focus device
JPH03249744A (en) Subject distance information output device for camera
JP2009205061A (en) Lens driving device and imaging apparatus
JP2009009005A (en) Camera
JPS6310135A (en) Distance information output device for lens interchangeable type camera
JPS62157016A (en) Auto-focus camera
JPS6310136A (en) Distance information output device foe lens interchangeable type camera
US5059999A (en) Autofocus apparatus for a camera
JP3248586B2 (en) Camera system and camera
JP3610218B2 (en) Automatic focusing device, imaging device, and automatic focusing method
JP3360718B2 (en) camera
JPS62136626A (en) Lens driving device for automatic focusing camera
JP3319384B2 (en) camera
JP2013080082A (en) Autofocus system
JPH02282733A (en) Object distance information output device for camera
JP2000075385A (en) Interchangeable photographing lens, camera body and camera system using them
JPH01510A (en) autofocus camera
JP2013171241A (en) Optical system, lens barrel, imaging device, and adapter for imaging device
JPS63197925A (en) Automatic focusing camera
JPS63141028A (en) Automatic focus adjusting device for camera