JPH0558173B2 - - Google Patents

Info

Publication number
JPH0558173B2
JPH0558173B2 JP24706184A JP24706184A JPH0558173B2 JP H0558173 B2 JPH0558173 B2 JP H0558173B2 JP 24706184 A JP24706184 A JP 24706184A JP 24706184 A JP24706184 A JP 24706184A JP H0558173 B2 JPH0558173 B2 JP H0558173B2
Authority
JP
Japan
Prior art keywords
terminal
flag
lens
output
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP24706184A
Other languages
Japanese (ja)
Other versions
JPS60156029A (en
Inventor
Nobuyuki Taniguchi
Norio Ishikawa
Takeshi Egawa
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP24706184A priority Critical patent/JPS60156029A/en
Publication of JPS60156029A publication Critical patent/JPS60156029A/en
Publication of JPH0558173B2 publication Critical patent/JPH0558173B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/30Systems for automatic generation of focusing signals using parallactic triangle with a base line
    • G02B7/32Systems for automatic generation of focusing signals using parallactic triangle with a base line using active means, e.g. light emitter

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Automatic Focus Adjustment (AREA)
  • Focusing (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 この発明は、カメラの自動焦点調整方法に関
し、さらに詳しくは被写体を照明する補助光を発
光しながら焦点調整を行うカメラの自動焦点調整
方法に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an automatic focus adjustment method for a camera, and more particularly to an automatic focus adjustment method for a camera that performs focus adjustment while emitting auxiliary light to illuminate an object.

従来の技術 補助光を発光しない状態での焦点検出結果に信
頼性がないと判断された場合に補助光を発光しな
がら焦点調節を行うものが、例えば特開昭54−
126023号等で知られている。
PRIOR ART A technique that adjusts the focus while emitting an auxiliary light when it is determined that the focus detection result without the auxiliary light is emitted is disclosed in, for example, Japanese Patent Application Laid-Open No. 1983-1999.
It is known as No. 126023 etc.

発明が解決しようとする課題 しかしながら、補助光を発光しての焦点調整を
複数回繰り返す前提に立つて、その最終回での処
理について考察している公知例は知られていな
い。
Problems to be Solved by the Invention However, there is no known example that considers processing at the final stage on the premise that focus adjustment by emitting auxiliary light is repeated multiple times.

本発明の目的は、補助光を発光しての焦点調整
を複数回繰り返す場合に、その最終回での処理を
合理的に行うことが可能な自特焦点調整方法を提
供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a self-special focus adjustment method that can rationally perform the final process when focus adjustment by emitting auxiliary light is repeated multiple times.

課題を解決するための手段 上記課題を達成するために、本発明の自動焦点
調整方法は、補助光を発光しての焦点検出の最後
の段階において、その焦点検出結果に基づいて合
焦するのに必要な撮影レンズの駆動量を演算する
とともにこの演算された駆動量を所定の値と比穫
するステツプと、上記ステツプにおける比較の結
果、演算された駆動量が所定の値よりも小さけれ
ばこの駆動量に基づいて撮影レンズを駆動すると
ともに駆動終了後合焦状態に至つたことを表示す
るステツプと、上記比較のステツプにおける結果
により、演算された駆動量が所定の値よりも大き
ければ撮影レンズを駆動することなく警告を行う
ステツプとを主要ステツプとして有することを特
徴としている。
Means for Solving the Problems In order to achieve the above problems, the automatic focus adjustment method of the present invention focuses based on the focus detection result in the final stage of focus detection by emitting auxiliary light. The step of calculating the driving amount of the photographing lens necessary for A step of driving the photographing lens based on the drive amount and displaying that the focus state has been reached after the end of driving, and a step of comparing the above, and if the calculated drive amount is larger than a predetermined value, the photographing lens is moved. The main step is a step for issuing a warning without driving the motor.

作 用 上記した自動焦点調整方法によると、最終回の
焦点検出で得られた駆動量を所定の値と比較し、
その比較結果により次回の動作を制御するように
している。
Effect According to the automatic focus adjustment method described above, the drive amount obtained in the last focus detection is compared with a predetermined value,
The next operation is controlled based on the comparison result.

実施例 第1図はこの発明を利用したカメラの基本構成
を示すブロツク図であり、1は撮影レンズを示
す。撮影レンズ1を透過した被写体光の輝度分布
は測定部2により測定された、検出部3はこの測
定部2からの輝度分布の信号に基づいて撮影レン
ズのズレ方向とズレ量(合焦状態)の信号を得
る。そして、駆動手段4はモータ5を駆動して、
レンズ1を移動させ、この移動(駆動)量に応じ
た信号が6から出力され、ズレ量に相当する量の
信号が出力されると確認手段7は駆動手段4の動
作を停止させる。
Embodiment FIG. 1 is a block diagram showing the basic configuration of a camera using the present invention, and numeral 1 indicates a photographic lens. The brightness distribution of the object light transmitted through the photographing lens 1 is measured by the measuring section 2. The detecting section 3 determines the direction and amount of deviation (in-focus state) of the photographing lens based on the brightness distribution signal from the measuring section 2. get the signal. Then, the driving means 4 drives the motor 5,
When the lens 1 is moved, a signal corresponding to the amount of movement (drive) is outputted from the lens 6, and when a signal corresponding to the amount of shift is outputted, the confirmation means 7 stops the operation of the driving means 4.

切換手段10が補助光照射手段(以下撮影時の
フラツシユ発光と区別する意味で補助光の照射を
予備発光又は予備照射等と称する)8,9を動作
させて補助光を発光させるモードを選択している
際には、制御手段11からの測定信号によつて予
備照射駆動手段9が測定時に予備照射手段9を発
光させる。予備照射を行なわないモードが選択さ
れているときには制御手段は、確認手段7がレン
ズ1を停止させる信号を出力した後も繰り返し測
定手段2、検出手段3、駆動手段4に動作信号を
出力する。一方、予備照射を行なうモードでは確
認手段7がレンズ1が合焦位置に達したことを一
度確認した後は制御手段は測定手段2、検出手段
3、駆動手段4、予備照射手段8,9には動作信
号を伝達しない。従つて以後の焦点調整は禁止さ
れる。
The switching means 10 selects a mode in which the auxiliary light is emitted by operating the auxiliary light irradiation means 8 and 9 (hereinafter, the irradiation of the auxiliary light will be referred to as preliminary flash or preliminary illumination, etc. to distinguish it from the flash light emitted during photographing). During measurement, the preliminary irradiation drive means 9 causes the preliminary irradiation means 9 to emit light in response to a measurement signal from the control means 11. When a mode in which preliminary irradiation is not performed is selected, the control means repeatedly outputs operation signals to the measuring means 2, the detecting means 3, and the driving means 4 even after the confirming means 7 outputs a signal to stop the lens 1. On the other hand, in the preliminary irradiation mode, once the confirmation means 7 confirms that the lens 1 has reached the in-focus position, the control means controls the measurement means 2, the detection means 3, the drive means 4, and the preliminary irradiation means 8 and 9. does not transmit operating signals. Therefore, subsequent focus adjustment is prohibited.

第2図はこの発明を適用したカメラシステム全
体を示す回路図である。受光部FMDはCCD
(Charge Coupled Device)で構成され2列の受
光素子列を備え、夫々の受光素子列は撮影レンズ
の射出瞳からの被写体光のうちで近赤外光を含む
可視光を受光する受光部である。なお、受光用の
光学系等は種々提案されているので省略してある
が例えば、特開昭57−49841号に示されているよ
うなものでよい。COCはこの受光部FMDの動作
を制御する制御回路である。そして、MCO1は
自動焦点調整用のまたMCO2はカメラの動作制
御用のマイクロコンピユータ(以下ではマイコン
と称す)である。まず、以上の部分による測光動
作を説明する。
FIG. 2 is a circuit diagram showing the entire camera system to which the present invention is applied. Light receiving part FMD is CCD
(Charge Coupled Device) and has two rows of light-receiving elements, each of which is a light-receiving section that receives visible light including near-infrared light from the subject light from the exit pupil of the photographic lens. . Note that various optical systems for receiving light have been proposed and are therefore omitted here, but for example, the one shown in Japanese Patent Laid-Open No. 57-49841 may be used. COC is a control circuit that controls the operation of this light receiving section FMD. MCO1 is a microcomputer (hereinafter referred to as microcomputer) for automatic focus adjustment, and MCO2 is for controlling camera operation. First, the photometry operation based on the above portions will be explained.

マイコンMCO1の端子O3が“High”になる
と制御回路COCの端子φRから“High”のパルス
が出力され、アナログスイツチAS2が導通して、
CCD,FMDの複数の電荷蓄積部は、端子ANM
を介して定電圧源E1の出力電圧まで、充電され
る。そして端子φRが“Low”になると各受光部
の受光量に応じた電荷が電荷蓄積部に蓄積されて
いく。このとき、CCD,FMD内のモニター用受
光部(不図示)による蓄積電荷に対応した信号が
端子ANMから出力され、このとき、端子φRは
“Low”になつているのでアナログスイツチAS1
が導通していてモニター用受光部による出力はコ
ンパレータAC1の反転入力端子に与えられる。
電荷が蓄積されていくと、出力電圧は次第に低下
していく。このとき、電子閃光装置によるフラツ
シユ予備発光を行なわないモードであれば端子O
1は“Low”になり、アナログスイツチAS3が
導通して定電圧源E2の出力電圧が、また、フラ
ツシユ予備発光を行なうモードであれば端子O1
は“High”でアナログスイツチAS4が導通し、
定電圧源E3の出力電圧がコンパレータAC1の
非反転入力端子に与えられる。
When the terminal O3 of the microcomputer MCO1 becomes "High", a "High" pulse is output from the terminal φR of the control circuit COC, and the analog switch AS2 becomes conductive.
The multiple charge storage parts of CCD and FMD are connected to terminal ANM.
is charged to the output voltage of the constant voltage source E1. Then, when the terminal φR becomes "Low", charges corresponding to the amount of light received by each light receiving section are accumulated in the charge storage section. At this time, a signal corresponding to the accumulated charge by the monitor light receiving section (not shown) in the CCD and FMD is output from the terminal ANM. At this time, since the terminal φR is "Low", the analog switch AS1
is conductive, and the output from the monitor light receiving section is given to the inverting input terminal of the comparator AC1.
As charge accumulates, the output voltage gradually decreases. At this time, if the mode does not perform flash preflash by the electronic flash device, the terminal O
1 becomes "Low", the analog switch AS3 becomes conductive, the output voltage of the constant voltage source E2 becomes "Low", and the terminal O1 becomes "Low" if the mode is to perform flash preliminary light emission.
is “High” and analog switch AS4 conducts.
The output voltage of constant voltage source E3 is applied to the non-inverting input terminal of comparator AC1.

受光部FMDの端子ANMからのモニター出力
が低電圧源E2又はE3のレベルに達するとコン
パレータAC1の出力STP1は“High”に反転し、
制御回路COCの端子φTからは転送パルスが出力
される。このパルスによつて、各受光部における
受光量対応した電荷蓄積部の蓄積電荷は転送ゲー
トに転送され、転送パルスφ1,φ2,φ3に基
づいて順次蓄積電荷の信号が端子ANSから制御
回路COCに送られる。制御回路COCでは端子
ANSから送られてくる信号を順次A−D変換し、
1つのA−D変換が終了するごとに端子ADEに
パルスを出力し、A−D変換されたデータを出力
端子ADDへ出力する。
When the monitor output from the terminal ANM of the light receiving unit FMD reaches the level of the low voltage source E2 or E3, the output STP1 of the comparator AC1 is inverted to "High",
A transfer pulse is output from the terminal φT of the control circuit COC. By this pulse, the accumulated charge in the charge storage section corresponding to the amount of light received in each light receiving section is transferred to the transfer gate, and the accumulated charge signal is sequentially sent from the terminal ANS to the control circuit COC based on the transfer pulses φ1, φ2, and φ3. Sent. In the control circuit COC, the terminal
The signals sent from the ANS are sequentially converted from A to D,
Every time one AD conversion is completed, a pulse is output to the terminal ADE, and the AD converted data is output to the output terminal ADD.

また、電荷の蓄積が開始されて一定時間が経過
しても端子φTから転送パルスが出力されないと
きは、被写体の輝度が低い場合であり、このとき
は端子O2からパルスが出力されて、このパルス
が入力すると制御回路COCはコンパレータAC1
の出力に無関係に転送パルスφTを出力する。
Furthermore, if a transfer pulse is not output from the terminal φT even after a certain period of time has elapsed since the start of charge accumulation, this means that the brightness of the subject is low, and in this case a pulse is output from the terminal O2, and this pulse When input, the control circuit COC outputs comparator AC1
Transfer pulse φT is output regardless of the output of .

電子閃光装置による予備照射を行なう場合、端
子O1が“High”となり、コンパレータAC1の
非反転端子には定電圧源E3からの電圧が入力す
る。この定電圧源の出力電位は定電圧源E2の出
力電位よりも高くなつている。従つて、モニター
部による電荷蓄積量が予備照射を行なわない場合
に比較して少量の時点で転送パルスφTが出力さ
れることになる。これは、フラツシユ光による予
備照射を行なう場合、フラツシユ光の強度は急激
に変化するので、回路の応答遅れ等で、電荷蓄積
部がオーバーフローを起してしまい、正しい光量
分布の測定が行なえなくなつてしまうことを防止
するためである。
When performing preliminary irradiation using the electronic flash device, the terminal O1 becomes "High", and the voltage from the constant voltage source E3 is input to the non-inverting terminal of the comparator AC1. The output potential of this constant voltage source is higher than the output potential of the constant voltage source E2. Therefore, the transfer pulse φT is output when the amount of charge accumulated by the monitor section is smaller than that in the case where preliminary irradiation is not performed. This is because when performing preliminary irradiation with flash light, the intensity of the flash light changes rapidly, which may cause the charge storage section to overflow due to a delay in the response of the circuit, making it impossible to measure the correct light intensity distribution. This is to prevent this from happening.

前述のように電荷蓄積を開始させるためにマイ
コンMCO1の端子O3が“High”になると、ワ
ンシヨツト回路OS1からパルスが出力され、こ
のパルスはアンド回路AN1を介して出力され端
子JB1,JF1を介して電子閃光装置に発光開始
信号が送られる。予備照射が行なわれた場合で
も、一定時間が経過しても転送パルスφTが出力
されないときは端子O2からパルスを出力させて
転送パルスを強制的に出力させて、電荷蓄積動作
を停止させる。ところで蓄積時間を制限する一定
時間は予備照射を行なわない場合に比較して短時
間となつている。これは、フラツシユ光の発光時
間が短かく積分時間を長くしておく必要がないか
らである。
As mentioned above, when the terminal O3 of the microcomputer MCO1 becomes "High" to start charge accumulation, a pulse is output from the one-shot circuit OS1, and this pulse is output via the AND circuit AN1 and then via the terminals JB1 and JF1. A light emission start signal is sent to the electronic flash device. Even when preliminary irradiation is performed, if the transfer pulse φT is not output even after a certain period of time has elapsed, a pulse is output from the terminal O2 to forcibly output the transfer pulse, and the charge accumulation operation is stopped. Incidentally, the fixed time period that limits the accumulation time is shorter than that in the case where preliminary irradiation is not performed. This is because the flash light emission time is short and there is no need to keep the integration time long.

マイコンMCO2が電子閃光装置FLCからデー
タを読み取ると、このデータ中に予備照射が可能
な状態かどうかを示す信号が含まれている。そこ
で予備照射が可能である信号が入力するとマイコ
ンMCO2は端子O16を“High”にする。マイ
コンMCO1は端子i2が“High”であれば予備
照射を行なうモードでの動作が可能であることを
判別し、“Low”であれば予備照射を行なうモー
ドでの動作が不可能であることを判別する。
When the microcomputer MCO2 reads data from the electronic flash device FLC, this data includes a signal indicating whether preliminary irradiation is possible. Therefore, when a signal indicating that preliminary irradiation is possible is input, the microcomputer MCO2 sets the terminal O16 to "High". The microcomputer MCO1 determines that operation in the pre-irradiation mode is possible if the terminal i2 is “High”, and that it is not possible to operate in the pre-irradiation mode if it is “Low”. Discern.

MDRは焦点調整用のモーターMOを駆動する
回路であり、焦点検出結果が前ピンで、レンズを
繰り込む必要があるときはマイコンMCO1の端
子O4が、後ピンで繰り出す必要があるときは端
子O5が“High”になる。モーターMOの回転
はレンズ駆動部LDを介してレンズ側LEに伝達さ
れレンズの焦点調整が行なわれる。また、レンズ
駆動部LDの駆動量はエンコーダENCによつてパ
ルス信号に変換され、このパルス信号はマイコン
MCO1のクロツク入力端子CPIに入力されて駆
動量がカウントされる。また、エンコーダENC
からのパルスはモーター駆動回路MDRに入力さ
れて、レンズの駆動速度が一定となるようにモー
ターMOを駆動するための基準信号として用いら
れる。
MDR is a circuit that drives the focus adjustment motor MO, and when the focus detection result is the front focus and the lens needs to retract, the terminal O4 of the microcomputer MCO1 is used, and when the lens needs to be retracted, the terminal O5 is used. becomes “High”. The rotation of the motor MO is transmitted to the lens side LE via the lens drive unit LD, and the focus of the lens is adjusted. In addition, the drive amount of the lens drive unit LD is converted into a pulse signal by the encoder ENC, and this pulse signal is
It is input to the clock input terminal CPI of MCO1 and the drive amount is counted. Also, the encoder ENC
The pulses are input to the motor drive circuit MDR and used as a reference signal to drive the motor MO so that the lens drive speed is constant.

FDPは焦点調整状態を表示する表示部であり、
マイコンの出力端子OP1からのデータに応じて、
前ピン状態、合焦状態、後ピン状態、焦点調整不
能警告の表示を行なう。
FDP is a display section that displays the focus adjustment status.
According to the data from the microcontroller's output terminal OP1,
Displays front focus status, focus status, rear focus status, and focus adjustment failure warning.

図の左上隅に示されているスイツチSMBはメ
インスイツチであり、BBは電源用電池である。
この電源電池BBからはメインスイツチSMB及び
電源ライン(+E)を介してマイコンMCO1,
MCO2に直接給電が行なわれる。スイツチS1
はレリーズボタン(不図示)の押下の一段目で閉
成される測光スイツチで、このスイツチS1が閉
成されると、インバータIN3、アンド回路AN
3、オア回路OR4を介してマイコンMCO2の割
込端子itに割込信号が入力し、端子O12を
“High”としてインバータIN6を介してトラン
ジスタBT1を導通させ電源ライン(+V)を介
してインバータIN3〜IN6、アンド回路AN2,
AN3、オア回路OR4、マイコンMCO1,
MCO2以外の回路への給電を開始する。そして、
この給電開始に基づいてパワーオンリセツト回路
PO1からリセツトパルスが出力されて電源ライ
ン(+V)から給電が行なわれる回路がリセツト
される。また、端子O12が“High”になると
アンド回路AN3が不能状態、AN2が能動状態
となりスイツチS1からの割込信号は入力されな
い状態となる。
The switch SMB shown in the upper left corner of the figure is the main switch, and BB is the power battery.
From this power supply battery BB, the microcomputer MCO1,
Power is supplied directly to MCO2. switch S1
is a photometry switch that is closed when the release button (not shown) is pressed in the first step, and when this switch S1 is closed, inverter IN3 and AND circuit AN
3. An interrupt signal is input to the interrupt terminal it of the microcomputer MCO2 via the OR circuit OR4, and the terminal O12 is set to "High", making the transistor BT1 conductive via the inverter IN6, and inverting the inverter IN3 via the power line (+V). ~IN6, AND circuit AN2,
AN3, OR circuit OR4, microcomputer MCO1,
Start supplying power to circuits other than MCO2. and,
The power-on reset circuit is activated based on this start of power supply.
A reset pulse is output from PO1, and the circuit to which power is supplied from the power line (+V) is reset. Further, when the terminal O12 becomes "High", the AND circuit AN3 becomes disabled, AN2 becomes active, and no interrupt signal from the switch S1 is input.

スイツチS2はレリーズボタンの押下の2段目
で閉成されるレリーズスイツチであり、S4は露
出制御動作が完了すると開放され、露出制御機構
(不図示)のチヤージが完了すると閉成されるリ
セツトスイツチである。従つて、露出制御機構の
チヤージが完了してリセツトスイツチS4が閉成
された状態でリレーズスイツチS2が閉成される
とアンド回路AN2、オア回路OR4を介して端
子itに割込信号が入力される。
Switch S2 is a release switch that is closed when the release button is pressed in the second step, and S4 is a reset switch that is opened when the exposure control operation is completed and closed when the exposure control mechanism (not shown) is fully charged. It is. Therefore, when the exposure control mechanism is completely charged and the reset switch S4 is closed and the relay switch S2 is closed, an interrupt signal is input to the terminal it via the AND circuit AN2 and the OR circuit OR4. Ru.

図の中央のEDOは設定された露出制御用デー
タを出力するブロツクで、端子OP13からの読
み出し信号に基づいて設定データが順次端子IP
10から読み取られる。LMCは露出用測光回路
で、A−D変換用のアナログ入力端子ANIには
測光回路LMCの出力が入力される。また、マイ
コンMCO2のD−A変換器用の基準電圧として、
測光回路LMC内の基準電圧が端子VRIに入力す
る。
The EDO in the center of the figure is a block that outputs the set exposure control data, and the setting data is sequentially sent to the terminal IP based on the read signal from the terminal OP13.
Read from 10. LMC is a photometric circuit for exposure, and the output of the photometric circuit LMC is input to an analog input terminal ANI for A-D conversion. Also, as a reference voltage for the D-A converter of the microcomputer MCO2,
The reference voltage in the photometric circuit LMC is input to the terminal VRI.

EXDは露出制御値を表示する表示回路で端子
OP14からの表示データに基づいて露出制御値
を表示する。EXCは露出制御回路であり端子OP
15からの信号に基づいて絞りと露出時間を制御
する。また、端子TIEはシヤツターレリーズの時
点から、後幕の走行開始後一定時間経過時点まで
“High”となり、撮影時のフラツシユ発光量制御
用の積分動作を可能状態とする。
EXD is the display circuit that displays the exposure control value.
The exposure control value is displayed based on the display data from OP14. EXC is the exposure control circuit and the terminal OP
The aperture and exposure time are controlled based on signals from 15. In addition, the terminal TIE becomes "High" from the time of shutter release until a certain period of time has elapsed after the trailing curtain starts running, enabling integral operation for controlling the amount of flash light emission during shooting.

LEBはレンズ側の回路LECからデータを読み
取るためのインターフエース回路である。前述の
ようにトランジスタBT1が導通すると電源ライ
ン(+V)から端子JB11,JL1を介してレン
ズ側の回路LECへの給電が行なわれる。そして、
マイコンMCO2の端子O15が“High”になる
とインターフエース回路LEBが動作可能状態と
なり、さらに、端子JB12,JL2が“High”と
なつて、レンズ側の回路LECも動作可能状態と
なる。レンズ側の回路LEC内には、この変換レ
ンズ固有の露出制御用及び自動焦点調整用のデー
タを複数のアドレスに固定記憶したROMと、こ
のROMのアドレスを端子JB13,JL3を介して
入力してくるクロツクパルスに基づいて、もしも
レンズが、ズームレンズであればそのクロツクパ
ルス及び焦点距離に対応したコード板の出力に基
づいて順次指定するアドレス指定手段と、ROM
から並列に出力されるデータを、端子JB13,
JL3を介して入力してくるクロツクパルスに基
づいて順次1ビツトづつ端子JL4,JB14を介
して出力する並列一直列変換手段とを備えてい
る。ROMに固定記憶されているデータとして
は、すべての変換レンズに共通に設けられている
装着を確認するためのチエツクデータ、開放絞り
値のデータ、最大絞り値(絞り口径が最小になる
時の絞り値)のデータ、開放測光誤差のデータ、
焦点距離のデータ、ズームレンズで設定焦点距離
に応じた絞りの変化量のデータ等がある。さら
に、焦点検出装置で検出されたデフオーカス量を
レンズの駆動量に変換するための変換係数KD、
フラツシユによる予備照射の際には被写体がまぶ
しく感じることを防止するよう近赤外光を照射す
ることによる近赤外光と可視光での合焦位置のズ
レ(デフオーカス量の差)を補正するための(近
赤外光で測定したデフオーカス量を可視光でのデ
フオーカス量に補正するための)データIRD、レ
ンズを一方の方向から他方の方向に駆動方向を変
えたとき、カメラ側の駆動軸とレンズ側の従動軸
との嵌合ガタによつて駆動軸を余分に駆動する必
要があるときの余分駆動量即ちバツクラツシユデ
ータBLD等がある。
LEB is an interface circuit for reading data from the lens side circuit LEC. As described above, when the transistor BT1 becomes conductive, power is supplied from the power supply line (+V) to the lens side circuit LEC via the terminals JB11 and JL1. and,
When the terminal O15 of the microcomputer MCO2 becomes "High", the interface circuit LEB becomes operable, and further, the terminals JB12 and JL2 become "High", so that the lens side circuit LEC also becomes operable. The circuit LEC on the lens side includes a ROM that fixedly stores data for exposure control and automatic focus adjustment specific to this conversion lens at multiple addresses, and the address of this ROM is input via terminals JB13 and JL3. address designating means for sequentially specifying an address based on the output of a code plate corresponding to the clock pulse and focal length of the lens if the lens is a zoom lens;
The data output in parallel from terminal JB13,
Parallel-to-serial conversion means is provided for sequentially outputting one bit at a time via terminals JL4 and JB14 based on a clock pulse input via JL3. The data fixedly stored in the ROM includes check data that is common to all conversion lenses to confirm installation, maximum aperture value data, and maximum aperture value (aperture value when the aperture is at its minimum). value) data, open photometry error data,
Data includes focal length data, and data on the amount of change in aperture according to the focal length setting for a zoom lens. Furthermore, a conversion coefficient KD for converting the amount of defocus detected by the focus detection device into the amount of lens drive,
To correct the difference in focus position between near-infrared light and visible light (difference in defocus amount) due to near-infrared light irradiation to prevent the subject from feeling dazzling during preliminary flash illumination. Data IRD (for correcting the amount of defocus measured using near-infrared light to the amount of defocus measured using visible light), when the driving direction of the lens is changed from one direction to the other, the drive axis on the camera side and There is an extra drive amount, ie, backlash data BLD, etc. when the drive shaft needs to be driven extra due to looseness in the fitting with the driven shaft on the lens side.

マイコンMCO2の端子SCPからは8個づつの
クロツクパルスが出力されて、レンズ側の回路
LECでは8個のクロツクパルスが入力される毎
に、ROMのアドレスが更新され、指定されたア
ドレスに固定記憶されているデータが、クロツク
パルスに基づいて順次直列で出力され、マイコン
MCO2の直列入出力端子SIOから順次読み取ら
れていく。
Eight clock pulses are output from terminal SCP of microcomputer MCO2, and the circuit on the lens side
In the LEC, the ROM address is updated every time eight clock pulses are input, and the data fixedly stored at the specified address is output in series based on the clock pulse, and the microcontroller
It is read sequentially from the serial input/output terminal SIO of MCO2.

FLBは電子閃光装置制御回路であり、FLCは
電子閃光装置内の回路である。電子閃光装置内の
回路FLCの具体例は第3図に示してあり、以下
第3図とあわせて電子閃光装置を用いる動作を説
明する。第3図においてBFは電子閃光装置の電
源電池であり、SMFはメインスイツチである。
DDは昇圧回路であり、昇圧回路DDの2次巻線
側の高電圧端子はダイオードD1を介して、メイ
ンコンデンサC2に接続され、高電圧端子の電圧
でメインコンデンサC2が充電される。また、2
次巻線の低電圧端子はダイオードD2を介してコ
ンデンサC1に接続され、その出力電圧でコンデ
ンサC1が充電される。メインスイツチSMFが
閉成されるとトランジスタBT2,BT3が導通
し、電圧安定化回路CVからの昇圧出力又はダイ
オードD3を介した電源電池BFの出力トランジ
スタBT3を介して電源ラインVFに給電される。
この電源ラインVFからの給電は、第3図におい
て、給電路が示されていない回路にはすべて行な
われる。また、電源ラインVFによる給電が開始
するとパワーオンリセツト回路PO2からリセツ
ト信号が出力されデイジタル回路部にリセツト動
作が行なわれる。スイツチSOFはメインスイツ
チSMFに連動して同相で開閉されるスイツチで
ある。そして抵抗R1〜R4はメインコンデンサ
C2の充電電圧を分圧する抵抗であり、VCは定
電圧源である。抵抗R1とR2との接続点の電位
が定電圧源VCの電位を上まわるとコンパレータ
AC21の出力は“High”となりこの信号が
“High”になつたときはキセノン管XE1が発光
するのに必要な最低電圧まではコンデンサC2は
充電されたことになり、発光開始信号が入力され
るとキセノン管XE2の発光を開始させる。抵抗
R2とR3ととの接談点の電位が定電圧源VCの
出力電位を上まわると、コンパレータAC22の
出力が“High”となる。この場合は、キセノン
管XE2の発光量が公称の発光量となるのに必要
な電圧までメインコンデンサC2の電圧が充電さ
れたことになり、カメラ本体へは充電完了信号が
送られるとともに表示回路CDPによつて充電完
了表示が行なわれる。抵抗R3とR4との接続点
の電位が定電圧源VCの出力電位を上まわるとコ
ンパレータAC23の出力が“High”となる。こ
のときは、撮影用のキセノン管XE2が公称値だ
け発光し、さらに予備照射用のキセノン管XE1
が所定量だけ2回発光するのに要な値までメイン
コンデンサC2が充電されたことを示し、この信
号は予備照射可能信号としてカメラ側に送られ
る。なお、スイツチSSは手動で切換えられるス
イツチであり、このスイツチSSが端子ENに接続
されていれば予備照射可能信号はカメラ側に送ら
れるが、端子DENに接続されていれば端子PCH
への入力は常に“Low”となり予備照射可能信
号はカメラ側に送られずカメラは予備照射モード
にはならず、また、オア回路OR20の出力は
“Low”のままなので発光はしない。
FLB is an electronic flash device control circuit, and FLC is a circuit within the electronic flash device. A specific example of the circuit FLC in the electronic flash device is shown in FIG. 3, and the operation of using the electronic flash device will be explained below in conjunction with FIG. In FIG. 3, BF is the power battery for the electronic flash device, and SMF is the main switch.
DD is a booster circuit, and a high voltage terminal on the secondary winding side of the booster circuit DD is connected to a main capacitor C2 via a diode D1, and the main capacitor C2 is charged with the voltage of the high voltage terminal. Also, 2
The low voltage terminal of the next winding is connected to capacitor C1 via diode D2, and capacitor C1 is charged with its output voltage. When the main switch SMF is closed, transistors BT2 and BT3 become conductive, and power is supplied to the power supply line VF via the boosted output from the voltage stabilizing circuit CV or the output transistor BT3 of the power supply battery BF via the diode D3.
Power is supplied from this power supply line VF to all circuits whose power supply paths are not shown in FIG. Furthermore, when power supply from the power supply line VF starts, a reset signal is output from the power-on reset circuit PO2, and a reset operation is performed on the digital circuit section. The switch SOF is a switch that opens and closes in the same phase in conjunction with the main switch SMF. The resistors R1 to R4 are resistors that divide the charging voltage of the main capacitor C2, and VC is a constant voltage source. When the potential at the connection point between resistors R1 and R2 exceeds the potential of the constant voltage source VC, the comparator
The output of AC21 becomes "High", and when this signal becomes "High", the capacitor C2 is charged to the minimum voltage required for the xenon tube XE1 to emit light, and the light emission start signal is input. and starts the xenon tube XE2 to emit light. When the potential at the contact point between the resistors R2 and R3 exceeds the output potential of the constant voltage source VC, the output of the comparator AC22 becomes "High". In this case, the voltage of the main capacitor C2 has been charged to the voltage required for the xenon tube Charging completion display is performed by . When the potential at the connection point between the resistors R3 and R4 exceeds the output potential of the constant voltage source VC, the output of the comparator AC23 becomes "High". At this time, the xenon tube XE2 for photography emits only the nominal value, and the xenon tube XE1 for preliminary illumination also emits light.
This signal indicates that the main capacitor C2 has been charged to the value required to emit light twice by a predetermined amount, and this signal is sent to the camera side as a preliminary irradiation enable signal. Note that the switch SS is a switch that can be changed manually, and if this switch SS is connected to the terminal EN, the preliminary irradiation enable signal is sent to the camera side, but if it is connected to the terminal DEN, the signal is sent to the terminal PCH.
The input to is always "Low" and the preliminary irradiation enable signal is not sent to the camera side, so the camera does not enter the preliminary irradiation mode, and the output of the OR circuit OR20 remains "Low", so no light is emitted.

TR1,TR2は夫々キセノン管XE1,XE2
をトリガーし、サイリスタSC1,SC2を導通さ
せるトリガー回路、ST1,ST2は夫々サイリス
タSC1,SC2を不導通としてキセノン管XE1,
XE2の発光を停止させるストツプ回路である。
また、キセノン管XE1は予備照射用であり、こ
のキセノン管XE1の光射出位置には、近赤外光
を透過し、近赤外よりも波長の短い可視光をカツ
トするフイルタFLTが設けてあり、予備照射を
行なつた際に被写体の人物がまぶしく感じないよ
うになつている。
TR1 and TR2 are xenon tubes XE1 and XE2 respectively
Trigger circuit that triggers thyristors SC1 and SC2 to conduct, ST1 and ST2 respectively turn off thyristors SC1 and SC2 and connect xenon tubes XE1 and
This is a stop circuit that stops the XE2 from emitting light.
In addition, the xenon tube XE1 is used for preliminary irradiation, and a filter FLT is installed at the light emission position of this xenon tube XE1 to transmit near-infrared light and cut out visible light with a shorter wavelength than near-infrared light. , so that the subject does not feel dazzled when performing preliminary illumination.

第2図においてマイコンMCO2の端子O13
が“High”になると、カメラと電子閃光装置間
でデータの授受が可能な状態となる。そしてマイ
コンMCO2の端子O14から50μsec巾のパルス
が出力されると、端子JB2,JF2を介してこの
パルスがフラツシユ装置に送られる。このパルス
で、第3図のモード判別回路FMSはフラツシユ
からカメラにデータを転送するモードであること
を判別して端子DOMを“High”にする。すると
第3図のデータ出力回路DOUは動作可能状態と
なる。そして、マイコンMCO2のクロツクパル
ス出力端子SCPからクロツクパルスが出力される
と、このクロツクパルスは端子JB2,JF2を介
して第3図のデータ出力回路DOUの端子SCPに
入力され、 このクロツクパルスに基づいて電子閃光装置で
給電が行なわれていることを示す給電信号、電子
閃光装置が予備照射が可能な状態となつているこ
とを示す端子PCHへの信号、端子CHCへの充電
完了信号と、調光動作が行なわれたかどうかを示
す端子FDCへの信号が順次端子SOUから出力し、
端子JF3,JB3を介してカメラ側に送られる。
この他に送られるデータは例えば、フラツシユの
最大・最小発光量のデータ、フラツシユで設定さ
れた絞り値、バウンス状態、多灯フラツシユかど
うか等がある。そして、データの転送が完了する
と端子r2からパルスが出力され、オア回路OR
12を介してモード判別回路FMSは初期状態と
なりその端子DOMは“Low”になる。
In Figure 2, terminal O13 of microcomputer MCO2
When becomes “High”, data can be exchanged between the camera and the electronic flash device. When a pulse with a width of 50 μsec is output from the terminal O14 of the microcomputer MCO2, this pulse is sent to the flash device via the terminals JB2 and JF2. With this pulse, the mode discrimination circuit FMS shown in FIG. 3 discriminates that the mode is for transferring data from the flash to the camera, and sets the terminal DOM to "High". Then, the data output circuit DOU of FIG. 3 becomes operational. Then, when a clock pulse is output from the clock pulse output terminal SCP of the microcomputer MCO2, this clock pulse is inputted to the terminal SCP of the data output circuit DOU in Fig. 3 via the terminals JB2 and JF2, and based on this clock pulse, the electronic flash device A power supply signal indicating that power is being supplied at , a signal to terminal PCH indicating that the electronic flash device is ready for preliminary irradiation, a charge completion signal to terminal CHC, and dimming operation are performed. A signal to terminal FDC indicating whether the
It is sent to the camera side via terminals JF3 and JB3.
Other data sent includes, for example, the maximum and minimum amount of light emitted by the flash, the aperture value set by the flash, the bounce state, and whether or not it is a multi-flash flash. When the data transfer is completed, a pulse is output from terminal r2, and the OR circuit OR
12, the mode discrimination circuit FMS enters an initial state, and its terminal DOM becomes "Low".

次にマイコンMCO2の端子O14から100μsec
巾のパルスが出力されるとモード判別回路FMS
は端子DIMを“High”にする。するとデータ入
力回路DINは能動状態となる。そしてカメラ本
体のマイコンMCO2は端子SCPからクロツクパ
ルスを出力するとともにこのクロツクパルスに基
づいて端子SIOからフラツシユ撮影用の絞り値、
露出時間、フイルム感度撮影距離等のデータを出
力する。このデータは端子JB3,JF3を介して
データ入力回路DINへ読み取られる。そして読
み取られたデータに基づく表示が表示回路DSP
で表示される。
Next, 100μsec from terminal O14 of microcomputer MCO2.
When the width pulse is output, the mode discrimination circuit FMS
sets the terminal DIM to “High”. Then, the data input circuit DIN becomes active. Then, the microcomputer MCO2 of the camera body outputs a clock pulse from the terminal SCP, and based on this clock pulse, the aperture value for flash photography is set from the terminal SIO.
Outputs data such as exposure time, film sensitivity, and shooting distance. This data is read into the data input circuit DIN via terminals JB3 and JF3. The display circuit DSP displays the data based on the read data.
is displayed.

露出制御動作を開始させるときはマイコン
MCO2の端子O14から150μsec巾のパルスを出
力する。するとモード判別回路FMSは端子FLM
を“High”にする。これによつて発光制御回路
FLCが能動状態となり発光制御が行なわれる。
カメラのフオーカスプレンシヤツタの先幕の走行
完了と共にカメラのX接点SXが閉成されると端
子JB4,JF4から発光開始信号が端子STAへ入
力し端子α1から発光開始信号が出力される。ま
たこれと同時に端子α3が“High”から“Low”
に反転してこの信号が端子JF3,JB3を介して
カメラ側に送られる。カメラ側では、端子JB3
が“Low”になると、回路FLB内の測光積分回
路(不図示)がフラツシユ光によつて照明されて
いる被写体から反射され、撮影レンズの絞り(不
図示)を通過した光の量を積分して、積分量がア
ナログ出力端子ANOからのフイルム感度に対応
したアナログ値に達すると端子JB2に発光停止
用のパルスを出力する。このパルスは端子JF2
を介して発光制御回路FLCの端子STPに入力す
る。すると、端子α2から発光停止信号が出力さ
れてキセノン管XE2の発光が停止する。また、
端子α2からの発光停止信号は表示回路FDPに
も送られて露出制御動作が完了するとX接点SX
が開放されるが、この信号に基づいてX接点SX
開放から一定時間、端子dfが“High”になり、
この間は調光動作が行なわれたことを表示する。
さらにこの信号はデータ出力回路DOUを介して
カメラ側にも送られる。また、X接点SXが開放
されると端子r3からパルスが出力され、オア回
路OR12を介してモード判別回路FMSがリセツ
トされて端子FLMが“Low”になる。
When starting the exposure control operation, the microcomputer
A pulse with a width of 150 μsec is output from terminal O14 of MCO2. Then, the mode discrimination circuit FMS outputs the terminal FLM.
Set to “High”. This allows the light emission control circuit to
The FLC becomes active and light emission control is performed.
When the X contact SX of the camera is closed at the same time as the front curtain of the focus shutter of the camera completes travel, a light emission start signal is inputted to the terminal STA from the terminals JB4 and JF4, and a light emission start signal is outputted from the terminal α1. At the same time, terminal α3 changes from “High” to “Low”.
This signal is inverted and sent to the camera side via terminals JF3 and JB3. On the camera side, terminal JB3
When becomes “Low”, the photometric integration circuit (not shown) in the circuit FLB integrates the amount of light reflected from the subject illuminated by the flash light and passed through the aperture (not shown) of the photographing lens. When the integrated amount reaches an analog value corresponding to the film sensitivity from the analog output terminal ANO, a pulse for stopping light emission is output to the terminal JB2. This pulse is at terminal JF2
It is input to the terminal STP of the light emission control circuit FLC via. Then, a light emission stop signal is output from the terminal α2, and the light emission of the xenon tube XE2 is stopped. Also,
The light emission stop signal from terminal α2 is also sent to the display circuit FDP, and when the exposure control operation is completed, the X contact SX
is opened, but based on this signal, the X contact SX
Terminal df becomes “High” for a certain period of time after opening,
During this time, it is displayed that the dimming operation has been performed.
Furthermore, this signal is also sent to the camera side via the data output circuit DOU. Furthermore, when the X contact SX is opened, a pulse is output from the terminal r3, the mode discrimination circuit FMS is reset via the OR circuit OR12, and the terminal FLM becomes "Low".

予備照射モードにおいて、マイコンMCO1の
O1が“High”の状態で端子O3から蓄積を開
始させるために“High”の信号が出力されると、
ワンシヨツト回路OS1からパルスが出力されて
このパルスがアンド回路AN1から出力される。
このパルスは端子JB1,JF1を介して第3図の
アンド回路AN20に入力される。このとき、D
フリツプ・フロツプDF21の出力は“High”
になり、コンパレータAC23の出力が“High”
になつていてオア回路RO20の出力が“High”
なので、アンド回路AN20に入力されるパルス
はアンド回路AN20から出力される。このパル
スはトリガー回路TR1に送られてキセノン管
XE1による予備照射が開始する。そしてアンド
回路AN20からのパルスはフリツプ・フロツプ
RF20をセツトするのでカウンタCO6のリセツ
ト状態を解除してカウンタCO6はカウントを開
始する。そして、カウントが開始されて一定時間
が経過するとデコーダDE6の端子f1が
“High”となりワンシヨツト回路OS22からパ
ルスが出力される。このパルスは発光停止回路
ST1に送られてキセノン管XE1による予備照射
が停止される。また、デコーダDE6の端子f1
が“High”となることでオア回路OR22を介し
てフリツプ・フロツプRF20がリセツトされ、
カウンタCO6はリセツト状態となり、端子f1
は“Low”となる。また、アンド回路AN20の
出力パルスはDフリツプ・フロツプDF20のク
ロツクパルス入力端子に送られてコンパレータ
AC23の“High”の出力がラツチされて、Dフ
リツプ・フロツプDF20のQ出力が“High”に
なる。
In the preliminary irradiation mode, when O1 of the microcomputer MCO1 is in the "High" state, a "High" signal is output from the terminal O3 to start accumulation.
A pulse is output from the one-shot circuit OS1, and this pulse is output from the AND circuit AN1.
This pulse is input to the AND circuit AN20 in FIG. 3 via terminals JB1 and JF1. At this time, D
The output of flip-flop DF21 is “High”
and the output of comparator AC23 becomes “High”
and the output of OR circuit RO20 is “High”
Therefore, the pulse input to the AND circuit AN20 is output from the AND circuit AN20. This pulse is sent to the trigger circuit TR1 and the xenon tube
Preliminary irradiation with XE1 begins. And the pulse from the AND circuit AN20 is a flip-flop
Since RF20 is set, the reset state of counter CO6 is released and counter CO6 starts counting. Then, when a certain period of time has elapsed since the start of counting, the terminal f1 of the decoder DE6 becomes "High" and a pulse is output from the one-shot circuit OS22. This pulse is the light emission stop circuit
It is sent to ST1 and preliminary irradiation by xenon tube XE1 is stopped. Also, the terminal f1 of the decoder DE6
becomes “High”, flip-flop RF20 is reset via OR circuit OR22,
The counter CO6 is in the reset state, and the terminal f1
becomes “Low”. In addition, the output pulse of the AND circuit AN20 is sent to the clock pulse input terminal of the D flip-flop DF20, and the output pulse is sent to the clock pulse input terminal of the D flip-flop DF20.
The "High" output of AC23 is latched, and the Q output of D flip-flop DF20 becomes "High".

二度目のパルスがアンド回路AN20から出力
されたときにメインコンデンサC2の充電電圧が
低下してコンパレータAC23の出力が“Low”
になつていても、一回目の発光時点でDフリツ
プ・フロツプDF20のQ出力が“High”になつ
ているのでオア回路OR20の出力は“High”に
なつていて、アンド回路AN20からはパルスが
出力される。そしてそのパルスによつて前述と同
様の発光動作が行なわれる。また、このパルスに
よつてDフリツプ・フロツプDF21のQ出力が
“High”になる。するとワンシヨツト回路OS2
0からパルスが出力され、このパルスの立ち下が
りでワンシヨツト回路OS21からパルスが出力
されてDフリツプ・フロツプDF20,DF21が
リセツトされて初期状態に戻る。
When the second pulse is output from the AND circuit AN20, the charging voltage of the main capacitor C2 decreases and the output of the comparator AC23 becomes “Low”.
Even if it is, the Q output of the D flip-flop DF20 is "High" at the time of the first light emission, so the output of the OR circuit OR20 is "High", and the pulse is output from the AND circuit AN20. Output. The pulse causes the same light emitting operation as described above. Furthermore, this pulse causes the Q output of the D flip-flop DF21 to become "High". Then, one-shot circuit OS2
A pulse is output from 0, and at the fall of this pulse, a pulse is output from the one-shot circuit OS21, and the D flip-flops DF20 and DF21 are reset to return to their initial states.

第4図は第2図のマイコンMCO2の動作を示
すフローチヤートである。以下このフローチヤー
トに基づいて第2図のシステムの動作を説明す
る。測光スイツチS1が閉成され端子itに割込信
号が入力するとマイコンMCO2は動作を開始す
る。まず、フラグLMFが“1”かどうかを判別
する。このフラグLMFは露出制御用データが算
出されていれば“1”になつているが、測光スイ
ツチS1が閉成されて割込信号が入力されたとき
はまだ算出は行なわれてないのでフラグLMFは
“0”であり、S2のステツプに移行する。S2のス
テツプでは端子O12を“High”としてトラン
ジスタBT1を導通させ電源ライン(+V)を介
して給電を開始させる。次に直列入出力動作を複
数回行なつてレンズ回路LECから複数のデータ
を取込んで、自動焦点調整に必要な変換係数KD
を端子OP10に、近赤外光と可視光との合焦位
置の補正用データIRDを端子OP11に、バツク
ラツシユデータBLDを端子OP12に出力し、自
動焦点調整用のマイコンMCO1の入力端子IP2,
IP3,IP4に送る。そして、出力端子O10を
“High”にする。この信号はマイコンMCO1の
割込端子it2に入力していて、この信号が出力さ
れるとマイコンMCO1は動作を開始する。
FIG. 4 is a flow chart showing the operation of the microcomputer MCO2 shown in FIG. The operation of the system shown in FIG. 2 will be explained below based on this flowchart. When the photometric switch S1 is closed and an interrupt signal is input to the terminal it, the microcomputer MCO2 starts operating. First, it is determined whether the flag LMF is "1". This flag LMF is set to "1" if the exposure control data has been calculated, but when the photometry switch S1 is closed and the interrupt signal is input, the calculation has not been performed yet, so the flag LMF is set to "1". is "0", and the process moves to step S2. In step S2, the terminal O12 is set to "High" to turn on the transistor BT1 and start supplying power via the power supply line (+V). Next, serial input/output operations are performed multiple times to acquire multiple data from the lens circuit LEC, and the conversion coefficient KD necessary for automatic focus adjustment is obtained.
is output to terminal OP10, data IRD for correcting the focusing position of near-infrared light and visible light is output to terminal OP11, and backlash data BLD is output to terminal OP12. ,
Send to IP3 and IP4. Then, the output terminal O10 is set to "High". This signal is input to the interrupt terminal it2 of the microcomputer MCO1, and when this signal is output, the microcomputer MCO1 starts operating.

ステツプS6では設定データを出力するブロツ
クEDOからのデータを取り込み、次に、直列入
出力動作を行なつてフラツシユからのデータを直
列で取り込む。そして、予備照射が可能な信号が
入力しているかどうかをステツプS8で判別し
て、入力していれば端子O16を“High”に、
入力していなければ端子O16を“Low”にし
てステツプS11に移行する。
In step S6, data from the block EDO that outputs setting data is taken in, and then serial input/output operation is performed to take in data from the flash in series. Then, it is determined in step S8 whether or not a signal enabling preliminary irradiation is input, and if it is input, the terminal O16 is set to "High".
If no input has been made, the terminal O16 is set to "Low" and the process moves to step S11.

ステツプS11では端子O18を“High”にす
る。この信号がマイコンMCO1の入力端子i5
で読み取られると、マイコンMCO1はマイコン
MCO2でA−D変換の動作が行なわれているこ
とを判別し、キセノン管を発光させて焦点検出動
作への移行は行なわれなくなる。次にマイコン
MCO2は入力端子i15が“High”になつてい
るかどうかを判別し“High”になつていればこ
の端子i15が“Low”になるのを持つ。この
入力端子i15にはマイコンMCO1の出力端子
O8が接続されていて、この端子は、キセノン管
を発光させて焦点検出動作を行なつている間は
“High”になつている。そこでマイコンMCO2
はこの入力端子i15が“High”の間はA−D
変換動作を行なわないようになつている。端子i
15が“Low”のとき或いは“Low”になつた
ときは、次に、測光回路LMCからの測光出力を
A−D変換し、端子O18を“Low”としてA
−D変換中であることを示す信号を出力しなくな
る。以上で露出演算に必要なデータはすべて取り
込んだことになる。
In step S11, the terminal O18 is set to "High". This signal is the input terminal i5 of the microcomputer MCO1.
When read by the microcomputer MCO1, the microcomputer
The MCO2 determines that the A-D conversion operation is being performed, causes the xenon tube to emit light, and does not proceed to the focus detection operation. Next, the microcomputer
The MCO2 determines whether or not the input terminal i15 is set to "High", and if it is set to "High", this terminal i15 becomes "Low". The output terminal O8 of the microcomputer MCO1 is connected to this input terminal i15, and this terminal is set to "High" while the xenon tube is emitting light and a focus detection operation is being performed. Therefore, the microcomputer MCO2
is A-D while this input terminal i15 is “High”
No conversion operation is performed. terminal i
15 is "Low" or becomes "Low", next, the photometry output from the photometry circuit LMC is converted from A to D, and the terminal O18 is set to "Low".
- No longer outputs a signal indicating that D conversion is in progress. All the data necessary for exposure calculation has now been imported.

次に、ステツプS15、S16で定常光用、フラツ
シユ光用の露光演算を行なう。そして、フラグ
RLFが“1”かどうかを判別する。RLFが“1”
ならばレリーズスイツチS2による割込にもかか
わらずこのステツプに移行してきたことになり、
レリーズ用の後述するステツプS33に移行する。
一方、フラグRLFが“0”ならば、測光スイツ
チS1による割込でこのステツプに移行してきた
ことになり、ステツプS18に移行して、フラグ
LMFを“1”とし、割込を可能としてステツプ
20に移行する。ステツプS20では直列入出力動作
を行なつて電子閃光装置FLCへデータを送る。
ステツプS21では、電子閃光装置から給電信号を
読み取つたかどうかを判別し、給電信号を読み取
つている場合にはフラツシユ光撮影用データ、読
み取つてなければ定常光撮影データを表示部
EXDに送つてステツプS40に移行する。そしてス
テツプS40では測光スイツチS1が閉成されたま
まで端子i12が“High”になつているかどう
かを判別して“High”になつていればステツプ
S3に戻つて前述と同様の動作を繰り返す。一
方、ステツプS40で端子i12が“Low”になつ
ていることが判別されると端子O10を“Low”
として、自動焦点調整動作を停止させ、フラグ
LMFを“0”にし、端子O12を“Low”とし
てトランジスタを不導通として電源ライン(+
V)からの給電を停止させ、表示部EXDの表示
を消灯してマイコンMCO2は動作を停止する。
Next, in steps S15 and S16, exposure calculations for constant light and flash light are performed. And the flag
Determine whether RLF is “1”. RLF is “1”
If so, it means that the process has moved to this step despite the interruption caused by release switch S2.
The process moves to step S33 for release, which will be described later.
On the other hand, if the flag RLF is "0", it means that this step was entered by an interruption by the photometry switch S1, and the step moves to step S18 and the flag is set to "0".
Step by setting LMF to “1” and enabling interrupts.
Move to 20. In step S20, serial input/output operations are performed to send data to the electronic flash device FLC.
In step S21, it is determined whether or not the power supply signal has been read from the electronic flash device. If the power supply signal has been read, the data for flash light photography is displayed on the display; if the power supply signal has not been read, the data for constant light photography is displayed on the display.
Send to EXD and proceed to step S40. Then, in step S40, it is determined whether or not the terminal i12 is set to "High" while the photometric switch S1 remains closed. If it is set to "High", the process returns to step S3 and the same operation as described above is repeated. On the other hand, if it is determined in step S40 that the terminal i12 is set to "Low", the terminal O10 is set to "Low".
to stop the autofocus operation and set the flag
LMF is set to "0", terminal O12 is set to "Low", the transistor is turned off, and the power supply line (+
The power supply from V) is stopped, the display on the display section EXD is turned off, and the microcomputer MCO2 stops operating.

露出制御用データが算出された状態で割込信号
が入力されるとステツプS31に移行して端子O1
0,O16を“Low”として、自動焦点調整動
作を停止させる信号を出力する。そしてレリーズ
スイツチS2による割込が行なわれたことを示す
ためにフラグRLFを“1”としてステツプS33に
移行する。ステツプS33では入力端子i11が
“High”かどうかを判別して“High”であれば
露出演算のためにステツプS3に移行し、“Low”
であれば露出制御のためにステツプS34に移行す
る。この入力端子i11はマイコンMCO1の出
力端子O7に接続されていて、この端子は以下の
ような信号を出力する。まず、予備照射を用いな
い自動焦点調整動作の際には、撮影レンズの移動
が完全に停止するまでは“High”の信号を出力
し、完全に停止すると“Low”の信号を出力す
る。従つて、端子i11が“High”の間はマイ
コンMCO2が露出制御動作に移行しないので撮
影レンズが移動中に露出制御動作が実行されると
いつた誤動作が防止できる。一方、予備照射を用
いた自動焦点調整動作を行なう際には、予備照射
が行なわれた時点から一定時間(例えば200m
sec)、たとえ、自動焦点調整動作が停止していた
り、マイコンMCO2から自動焦点調整動作を停
止させる信号が入力していても、“High”の信号
が出力される。従つて予備照射が行なわれた時点
から少なくとも一定時間は露出制御動作は行なわ
れず、露出制御用の演算動作が繰り返されること
になる。これは、測光回路LMCの出力のA−D
変換と予備照射とが誤つて重なつた時期に実行さ
れて、誤つたA−D変換データに基づく露出制御
値で露出が制御されることを防止することにな
る。さらに、予備照射されるフラツシユ光が近赤
外光であつても被写体の人物がまぶしく感じて、
まぶたを閉じることがある。しかし一定時間後で
あればまぶたは開かれ、正常な表情の撮影が行な
えるからでもある。
When an interrupt signal is input with the exposure control data calculated, the process moves to step S31 and terminal O1 is input.
0, O16 is set to "Low" to output a signal to stop the automatic focus adjustment operation. Then, the flag RLF is set to "1" to indicate that the interrupt by the release switch S2 has been performed, and the process moves to step S33. In step S33, it is determined whether the input terminal i11 is "High", and if it is "High", the process moves to step S3 for exposure calculation, and the input terminal i11 is "Low".
If so, the process moves to step S34 for exposure control. This input terminal i11 is connected to the output terminal O7 of the microcomputer MCO1, and this terminal outputs the following signals. First, during an automatic focus adjustment operation that does not use preliminary illumination, a "High" signal is output until the movement of the photographic lens completely stops, and a "Low" signal is output when the movement of the photographic lens completely stops. Therefore, since the microcomputer MCO2 does not shift to the exposure control operation while the terminal i11 is "High", it is possible to prevent malfunctions such as when the exposure control operation is executed while the photographing lens is moving. On the other hand, when performing an automatic focus adjustment operation using preliminary irradiation, it is necessary to wait for a certain period of time (for example, 200 m
sec), even if the automatic focus adjustment operation is stopped or a signal to stop the automatic focus adjustment operation is input from the microcomputer MCO2, a "High" signal is output. Therefore, the exposure control operation is not performed for at least a certain period of time after the preliminary irradiation, and the exposure control calculation operation is repeated. This is the A-D of the output of the photometric circuit LMC.
This prevents exposure from being controlled with an exposure control value based on incorrect A-D conversion data due to conversion and preliminary irradiation being executed at the same time. Furthermore, even if the preliminary flash light is near-infrared light, the subject may feel dazzling.
Eyelids may close. However, after a certain period of time, the eyelids will open and normal facial expressions can be photographed.

端子i11が“Low”になると、ステツプS34
に移行してフラツシユから給電信号が入力してい
るかどうかを判別し、入力していればフラツシユ
光用の露出制御データを制御部EXCに送り、給
電信号が入力していなければ定常光用の露出制御
データを制御部EXCに送る。そして、露出制御
動作を開始させる。そして、マイコンMCO2は
露出制御動作が完了してリセツトスイツチS4が
開放され、端子i10が“Low”になるのを待
つ。そして、端子i10が“Low”になるとス
テツプS40で測光スイツチS1が閉成されている
かどうかを判別し、閉成されていれば前述のステ
ツプS3に移行してデータ取り込み、演算・表示
動作を繰り返し、測光スイツチS1が閉成されて
なければ前述のステツプS41に移行して前述と
同様の動作を行なつた後マイコンMCO2は動作
を停止する。
When the terminal i11 becomes “Low”, step S34
to determine whether or not a power supply signal is input from the flash, and if so, sends the exposure control data for flash light to the control unit EXC, and if no power supply signal is input, controls the exposure control data for constant light. Send control data to control unit EXC. Then, the exposure control operation is started. The microcomputer MCO2 then waits until the exposure control operation is completed, the reset switch S4 is released, and the terminal i10 becomes "Low". Then, when the terminal i10 becomes "Low", it is determined in step S40 whether the photometry switch S1 is closed or not. If it is closed, the process moves to the aforementioned step S3 and data acquisition, calculation and display operations are repeated. If the photometry switch S1 is not closed, the microcomputer MCO2 stops operating after proceeding to step S41 and performing the same operations as described above.

第5−1〜5−3図はマイコンMCO1による
自動焦点調整のための動作を示すフローチヤート
である。以下第5−1〜第5−3図に基づいて第
2図の回路の自動焦点調整用の動作を説明する。
マイコンMCO2の端子O10が自動焦点調整動
作を始めさせるために“High”になると端子it
2に割込信号が入力し、マイコンMCO1の動作
が開始する。まず#1のステツプでは自動焦点調
整動作が行なわれていることをマイコンMCO2
に伝達するため端子O7を“High”とする。そ
して、端子it1とカウンタによる割込を可能と
し、タイマーによる割込を不可能として端子O3
を“High”にして制御回路COCによつて、
CDC,FMDによる電荷蓄積動作を開始させる。
尚、以下の説明において、カウンタやレジスタを
示す符号がカツコにかこまれていないものは、マ
イコン内のものである。
5-1 to 5-3 are flowcharts showing operations for automatic focus adjustment by the microcomputer MCO1. The operation of the circuit of FIG. 2 for automatic focus adjustment will be described below with reference to FIGS. 5-1 to 5-3.
When the terminal O10 of the microcomputer MCO2 becomes “High” to start the automatic focus adjustment operation, the terminal it
An interrupt signal is input to 2, and the operation of the microcomputer MCO1 starts. First, in step #1, the microcomputer MCO2 confirms that automatic focus adjustment is being performed.
The terminal O7 is set to "High" in order to transmit the signal. Then, interrupts by the terminal it1 and the counter are enabled, and interrupts by the timer are disabled, and the terminal O3
By setting “High” to the control circuit COC,
Start charge accumulation operation by CDC and FMD.
In the following description, counters and registers whose symbols are not enclosed in brackets are internal to the microcomputer.

#4のステツプでは、マイコンMCO1内の、
外部又は内部のクロツクをカウントするカウンタ
CORの内容をレジスタECR1に設定する。これ
は後述するように、撮影レンズを移動させながら
焦点検出を行なうために、焦点検出中のレンズの
移動量を算出するために必要なデータであり、第
1回目の測定時には必要がない。#5のステツプ
ではフラグFLFが“1”かどうかを判別する。
このフラグは、フラツシユによる予備照射が行な
われるときは“1”となり、定常光だけによる測
定が行なわれるときは“0”になつている。第1
回目の測定の際には必らず予備照射は行なわれず
フラグFLFは“0”になつていて、#6のステ
ツプに移行する。
In step #4, in the microcomputer MCO1,
Counter that counts external or internal clock
Set the contents of COR to register ECR1. As will be described later, this data is necessary for calculating the amount of movement of the lens during focus detection in order to perform focus detection while moving the photographic lens, and is not necessary during the first measurement. In step #5, it is determined whether the flag FLF is "1".
This flag is set to "1" when preliminary irradiation by flash is performed, and is set to "0" when measurement is performed using only stationary light. 1st
At the time of the second measurement, preliminary irradiation is not necessarily performed and the flag FLF is set to "0", and the process moves to step #6.

#6のステツプではタイマー用レジスタTIR1
に固定値Kaを設定する。このレジスタTIR1は
ソフトで時間をカウントするレジスタであり、こ
の他に内部クロツクをソフトとは無関係にカウン
トするタイマー用カウンタTICがあり、このカウ
ンタTICの内容が“0”になるとタイマー割込が
かかる。そしてレジスタECR4にカウンタCOR
の内容を設定し、タイマー用レジスタTIR2に固
定値K1を設定する。このレジスタTIR2もTIR
1と同様にソフトで時間をカウントするレジスタ
である。そしてタイマー用レジスタTIR2の内容
から“1”を減算し、このレジスタTIR2の内容
が“0”になつているかどうかを判別するという
動作を繰り返し一定時間待つ。一定時間が経過す
ると#11のステツプで入力端子i3が“Low”
になつているかどうかを判別し、“Low”になつ
ていれば前述のように、マイコンMCO2から自
動焦点調整動作を停止させる信号が入力している
ので#209のステツプから始まる自動焦点調整
動作を停止させる動作を行なう。一方、端子i3
が“High”なら、#12のステツプでフラグ
FPFが“1”かどうかを判別する。このフラグ
FPFは第1回目の測定のようにモーターMOが停
止しているときには“1”になつている。従つ
て、フラグFPFが“1”でモーターMOが停止し
ていれば#12のステツプから#15のステツプ
に移行し、#6のステツプで固定値Kaが設定さ
れたレジスタTIR1から“1”を減算して、TIR
1の内容が“0”になつたかどうかを判別し、
“0”でなければ#7のステツプに戻り同様の動
作を繰り返す。そしてこの動作が繰り返されてい
る間に第2図のコンパレータAC1の出力が
“High”に反転すると、制御回路COCの端子φT
から転送パルスが出力され、このパルスは割込端
子it1に入力してマイコンMCO1は#24のス
テツプからの動作を開始する。また、#16のス
テツプでレジスタTIR1の内容が“0”になつた
ことが判別されると#21のステツプで端子O2
にパルスを出力して前述のように強制的に蓄積動
作を停止させ、フラグTOFを“1”にして、動
作を終了し、端子it1への割込信号を待つ。ここ
で#3のステツプで蓄積動作を開始させてから、
#16のステツプでレジスタTIR1の内容が
“0”であることが判別されるまでの時間は一定
時間になつていて蓄積時間はこれ以上は長くなら
ないようになつている。
In step #6, timer register TIR1
Set a fixed value Ka to . This register TIR1 is a register that counts time using software.In addition to this, there is a timer counter TIC that counts the internal clock independently of the software.When the contents of this counter TIC become "0", a timer interrupt is generated. . And register ECR4 contains counter COR.
and set the fixed value K1 in the timer register TIR2. This register TIR2 is also TIR
Like 1, this is a register that counts time using software. Then, it repeats the operation of subtracting "1" from the contents of the timer register TIR2 and determining whether the contents of the register TIR2 has become "0" or not, and waits for a certain period of time. After a certain period of time has passed, input terminal i3 becomes “Low” in step #11.
If it is "Low", as mentioned above, the signal to stop the automatic focus adjustment operation has been input from the microcomputer MCO2, so the automatic focus adjustment operation starts from step #209. Perform an action to stop it. On the other hand, terminal i3
If is “High”, flag in step #12
Determine whether FPF is “1”. this flag
FPF is "1" when the motor MO is stopped, as in the first measurement. Therefore, if the flag FPF is "1" and the motor MO is stopped, the process moves from step #12 to step #15, and in step #6, "1" is read from register TIR1 to which the fixed value Ka is set. Subtract and TIR
Determine whether the content of 1 has become “0”,
If it is not "0", the process returns to step #7 and repeats the same operation. While this operation is repeated, when the output of the comparator AC1 in Fig. 2 is inverted to "High", the terminal φT of the control circuit COC
A transfer pulse is output from , this pulse is input to the interrupt terminal it1, and the microcomputer MCO1 starts its operation from step #24. Furthermore, if it is determined in step #16 that the contents of register TIR1 have become "0", then in step #21 the terminal O2 is
It outputs a pulse to forcibly stop the storage operation as described above, sets the flag TOF to "1", completes the operation, and waits for an interrupt signal to the terminal it1. After starting the accumulation operation in step #3,
The time until it is determined in step #16 that the contents of the register TIR1 are "0" is a fixed time, and the accumulation time is designed not to become longer than this.

モーターMOが駆動されているときにはフラグ
FPFは“0”になつていて#12のステツプか
ら#13のステツプに移行する。この#13のス
テツプではカウンタCORの内容をレジスタECR
5に設定する。そして#14のステツプでは#7
のステツプでカウンタCORの内容を設定したレ
ジスタECR4の内容とこのレジスタECR5の内
容とを比較する。#7と#13のステツプの間に
は一定時間が経過していて、この間にレンズが移
動してなければエンコーダENCからはクロツク
パルスが入力してなくECR4=ECR5になつて
いる。従つて、モーターMOは駆動されていても
レンズは終端位置(無限遠位置又は最近接位置)
に達していてレンズは移動しなくなつていること
になる。この場合には、フラグLSF(通常の合焦
動作中は“0”、被写体像のコントラストが低い
ことを示すローコントラスト信号が出力されて、
ローコントラストでないレンズ位置を走査してい
るときは“1”となつている)の内容を判別して
“1”ならローコントラストでの走査中であり
#158のステツプに移行し、“0”なら通常合
焦動作中であり#63のステツプに移行する。
Flag when motor MO is driven
The FPF has become "0" and the process moves from step #12 to step #13. In step #13, the contents of counter COR are transferred to register ECR.
Set to 5. And in step #14, #7
The contents of the register ECR4, in which the contents of the counter COR were set in step , are compared with the contents of this register ECR5. A certain period of time has elapsed between steps #7 and #13, and if the lens has not moved during this time, no clock pulse is input from the encoder ENC and ECR4=ECR5. Therefore, even if the motor MO is driven, the lens is at the end position (infinity position or closest position).
This means that the lens has stopped moving. In this case, the flag LSF (“0” during normal focusing operation, a low contrast signal indicating that the contrast of the subject image is low) is output.
When scanning a lens position that is not low contrast, the content is "1"), and if it is "1", it means that scanning is in progress at low contrast, and the process moves to step #158, and if it is "0", it is "1". Normal focusing operation is in progress and the process moves to step #63.

#5のステツプでフラグFLFが“1”であれ
ばフラツシユ光を予備照射するモードであり、こ
のときは#17のステツプに移行する。このとき
はレジスタTIR1に固定値Kfを設定してレジス
タTIR1から“1”を減算し、端子i3が
“Low”かどうかを判別して、“High”であれば
TIR1の内容が“0”かどうかを判別する。そし
て“0”でなければ#18のステツプに戻る動作
を繰り返し、#20のステツプでTIR1の内容が
“0”になると#21のステツプに移行して前述
の動作を行なう。この予備照射モードの際には定
常光モードの場合に比較して蓄積時間の制限が非
常に短かくなつている。これは、以下の理由でこ
のように構成されている。予備照射光には被写体
である人間がまぶしく感じないように近赤外領域
の光を用いている。一方、予備照射を行なわない
場合は定常光で測定されるが、定常光は一般に白
色光である。従つて、両方の光を混合して測定し
た場合、混合比が判らないとデフオーカス量に対
する色収差の影響を補正することができなくな
る。そこで予備照射モードの際には、定常光成分
ができるだけ測定されないようにするため、最長
蓄積時間をキセノン管XE1の発光時間とほぼ等
しくなるようにして、正確な色収差の補正が行な
えるようになつている。また、予備照射モードの
際には測定中はモーターMOは駆動されないので
レンズが終端に達したかどうかの終端検知動作は
行なわれない。
If the flag FLF is "1" in step #5, it is a mode for preliminary flash light irradiation, and in this case, the process moves to step #17. At this time, set the fixed value Kf in register TIR1, subtract "1" from register TIR1, determine whether terminal i3 is "Low", and if it is "High",
Determine whether the content of TIR1 is “0”. If it is not "0", the operation returns to step #18 and is repeated, and when the content of TIR1 becomes "0" in step #20, the process moves to step #21 and the above-described operation is performed. In this preliminary irradiation mode, the storage time limit is much shorter than in the constant light mode. This is configured this way for the following reasons. Light in the near-infrared region is used for the preliminary illumination light so that the human subject will not feel dazzled. On the other hand, when preliminary irradiation is not performed, measurement is performed using constant light, which is generally white light. Therefore, when measuring a mixture of both lights, it is not possible to correct the influence of chromatic aberration on the amount of defocus unless the mixing ratio is known. Therefore, in the preliminary irradiation mode, in order to prevent the steady light component from being measured as much as possible, the maximum accumulation time is set to be approximately equal to the light emission time of the xenon tube XE1, making it possible to accurately correct chromatic aberration. ing. Furthermore, in the preliminary irradiation mode, the motor MO is not driven during measurement, so no end detection operation is performed to determine whether the lens has reached the end.

制御回路COCの端子φTから転送パルスが出力
されて端子it1に割込信号が入力されると#24
のステツプからの動作を開始する。#24のステ
ツプではマイコンMCO2でのA−D変換を可能
とするために端子O8を“Low”とする。そし
て端子it1への割込を可能とし端子O3を
“Low”にしてカウンタCORの内容をレジスタ
ECR2に取り込む。これは測定中にレンズを移
動させるときのレンズの移動による誤差の補正用
データである。次に、制御回路COCから出力さ
れる各受光部の受光量をA−D変換したデータを
順次取り込み、すべての受光部に対応したA−D
変換データを取り込むと#29のステツプに移行
する。#29のステツプではフラグFLFが“1”
かどうか判別し、“1”ならタイマー(機能につ
いては後述する)による割込を可能として#32
のステツプに移行する。“1”でなければ、フラ
グTOFが“1”かどうかを判別する。フラグ
TOFは、蓄積時間が、制限された時間までかか
つたときに#22のステツプで“1”となる。従
つて、FLFが“0”でTOFが“1”のときは定
常光モードで低輝度であることになりステツプ
#31でフラグLLFを“1”にし、それ以外で
はステツプ#32でフラグLLFを“0”にし、
#33ではフラグTOFを“0”にする。#34
では受光部FMDからの出力に基づいて2列の受
光部間の相関度を求め、この相関度からデフオー
カス量とデフオーカス方向を算出する。この演算
は例えば米国特許第4333007号に提案されている
ようになされる。この算出されたデフオーカス量
が|LD|であり、デフオーカスの方向は、LD>
0のときは前ピン、LD<0のときは後ピンとな
つている。
When a transfer pulse is output from the terminal φT of the control circuit COC and an interrupt signal is input to the terminal it1, #24
The operation starts from step 1. In step #24, the terminal O8 is set to "Low" to enable A-D conversion by the microcomputer MCO2. Then, enable an interrupt to terminal it1, set terminal O3 to “Low”, and register the contents of counter COR.
Import into ECR2. This is data for correcting errors caused by lens movement when the lens is moved during measurement. Next, data obtained by A-D converting the amount of light received by each light-receiving section output from the control circuit COC is sequentially imported, and A-D conversion corresponding to all light-receiving sections is performed.
Once the converted data has been imported, the process moves to step #29. At step #29, flag FLF is “1”
If it is "1", interrupt by timer (the function will be explained later) is enabled and #32
Move on to the next step. If it is not "1", it is determined whether the flag TOF is "1". flag
TOF becomes "1" in step #22 when the accumulation time reaches the limited time. Therefore, when FLF is "0" and TOF is "1", the brightness is low in the constant light mode, and the flag LLF is set to "1" in step #31. Otherwise, the flag LLF is set to "1" in step #32. Set it to “0”,
In #33, the flag TOF is set to "0". #34
Now, the degree of correlation between the two rows of light receiving sections is determined based on the output from the light receiving section FMD, and from this degree of correlation, the amount of defocus and the direction of defocus are calculated. This operation is performed, for example, as proposed in US Pat. No. 4,333,007. This calculated amount of defocus is |LD|, and the direction of the defocus is LD>
When it is 0, it is the front pin, and when LD<0, it is the rear pin.

#35のステツプではフラグFLFが“1”か
どうかを判別して、FLFが“0”で定常光(可
視光)で測定を行なつたときは算出されたデータ
LDをそのまま正しい値LDtとし、FLFが“1”
なら予備照射のモードでありこのときは、近赤外
光での測定が行なわれているので、可視光での合
焦位置と近赤外光での合焦位置との差即ちIRDだ
け補正するために、LD−IRDの演算を行ないこ
の算出値を正しいデフオーカス量LDtとする。デ
ータIRDはレンズから送られてくるデータをその
まま用いるようにしているが、例えばレンズには
特定波長用の補正用データを記憶しておき、予備
照射用光源の波長のデータを得て、この波長に対
応したデータに補正用データを変換してこの変換
された補正用データでデフオーカス量を補正する
ようにしてもよい。
In step #35, it is determined whether the flag FLF is "1" or not, and when FLF is "0" and measurement is performed using steady light (visible light), the calculated data is
LD is set to the correct value LDt, FLF is “1”
If so, it is the preliminary irradiation mode, and at this time, measurement is being performed with near-infrared light, so only the difference between the focused position of visible light and the focused position of near-infrared light, that is, IRD, is corrected. In order to do this, the calculation LD-IRD is performed and this calculated value is used as the correct defocus amount LDt. The data IRD uses the data sent from the lens as is, but for example, the lens stores correction data for a specific wavelength, obtains data on the wavelength of the light source for preliminary irradiation, and then The correction data may be converted into data corresponding to , and the defocus amount may be corrected using the converted correction data.

#38では端子i3が“Low”かどうかを判
別し、“Low”であれば前述と同様に#209の
ステツプに移行する。一方、端子i3が“High”
であれば次に、測定データがローコントラストに
なつているかどうかを判別する。このローコント
ラストの判別は受光素子列の各受光部で、隣り合
つた受光部間の出力の差の絶対値の総和を求め、
この総和が所定値以下のときはローコントラスト
と判別すればよい。なお、ローコントラストの際
には2列の受光素子列の光分布の状態を比較する
ことでデフオーカス量を算出しているので、算出
されたデフオーカス量に信頼性が乏しい。そこで
ローコントラストが判別されると#110のステ
ツプに移行してローコントラスト用の動作を行な
う。#39のステツプでローコントラストでない
ことが判別されると#40のステツプでフラグ
LCF1が“1”かどうかを判別する。そして、
フラグLCF1が“1”なら前回の測定値はロー
コントラストでありこのときは#41のステツプ
でフラグFLFが“1”かどうかを判別する。そ
して、フラグFLFが“1”なら今回の測定でフ
ラツシユによる予備照射を行なつているので#1
70のステツプからの動作を行なう。一方、フラ
グFLFが“0”であれば前回の測定はローコン
トラストで今回の測定では予備照射を行なわなく
てもコントラストが充分になつた場合である。こ
のときは、フラグLCF1,LCF2,SEF1,
SEF2,LSFを“0”とし、フラグTIFが“1”
かどうかを判別して“1”でなければ#50から
の動作を行なう。この場合は、測定値がローコン
トラストで、ローコントラストでない測定値が得
られるまでレンズを移動させながら測定を行なつ
ている途中で(以下ローコンスキヤンモードと呼
ぶ)ローコントラストでない測定値が得られた場
合であり、このときは、#50のステツプからの
デフオーカス量に基づいてレンズを移動させる動
作に移行する。また、#43のステツプでフラグ
TIFが“1”であれば、ローコンスキヤンモード
でレンズが全領域を走査され、この間にローコン
トラストでない測定値が得られず一定時間レンズ
を停止したままで測定を繰り返している場合(以
下ローコン停止モードと呼ぶ)である。この場合
には、カウンタCORはマイコンMCO1の内部ク
ロツクをカウントするモード(タイマーモード)
になつているのでイベントカウントモード(エン
コーダENCからのクロツクパルスをカウントす
るモード)にして、フラグFPFを“1”、TIFを
“0”として#50のステツプに移行して#50
からのステツプに移行し第1回目の測定値がロー
コントラストでない場合と同様の動作を行なう。
At #38, it is determined whether the terminal i3 is "Low", and if it is "Low", the process moves to step #209 as described above. On the other hand, terminal i3 is “High”
If so, then it is determined whether the measured data has low contrast. This low contrast determination is performed by calculating the sum of the absolute values of the differences in output between adjacent light receiving parts in each light receiving part of the light receiving element array.
When this sum is less than or equal to a predetermined value, it may be determined that the contrast is low. Note that in the case of low contrast, the amount of defocus is calculated by comparing the state of the light distribution of the two rows of light receiving elements, so the calculated amount of defocus has poor reliability. When low contrast is determined, the process moves to step #110 and an operation for low contrast is performed. If it is determined in step #39 that the contrast is not low, a flag is set in step #40.
Determine whether LCF1 is “1”. and,
If the flag LCF1 is "1", the previous measured value is low contrast, and in this case, it is determined in step #41 whether the flag FLF is "1". If the flag FLF is "1", then it is #1 because preliminary irradiation by flash is being performed in this measurement.
Perform the operations from step 70. On the other hand, if the flag FLF is "0", it means that the previous measurement had low contrast and the current measurement had sufficient contrast without performing preliminary irradiation. At this time, the flags LCF1, LCF2, SEF1,
Set SEF2 and LSF to “0” and flag TIF to “1”
If it is not "1", the operation from #50 is performed. In this case, the measured value is low contrast, and during the measurement while moving the lens until a measured value that is not low contrast is obtained (hereinafter referred to as low contrast scan mode), a measured value that is not low contrast is obtained. In this case, the operation shifts to the operation of moving the lens based on the amount of defocus from step #50. Also, the flag is set in step #43.
If TIF is "1", the lens scans the entire area in low contrast scan mode, and during this period no measurement value other than low contrast is obtained, and the lens is stopped for a certain period of time and measurements are repeated (hereinafter referred to as low contrast scan mode). (referred to as stop mode). In this case, counter COR is in a mode (timer mode) that counts the internal clock of microcomputer MCO1.
, so set the event count mode (a mode that counts clock pulses from the encoder ENC), set the flag FPF to "1" and TIF to "0", and move to step #50.
The process moves to step 3 and the same operation as in the case where the first measured value is not low contrast is performed.

#40のステツプでフラグLCF1が“0”の
とき、或いは前述の#43のステツプでフラグ
TIFが“0”のとき或いは#46のステツプから
は#50のステツプに移行する。#50のステツ
プではデフオーカス量LDtに変換係数KDをかけ
てレンズの移動量NDを算出する。次に、LIDは
合焦とみなし得る範囲のデータであり、これに変
換係数KDをかけて合焦領域のレンズの移動量
IFDを算出する。#52のステツプではフラグ
FPFが“1”かどうかを判別して“1”であれ
ば#75、“0”であれば#53のステツプに移
行する。従つて、モーターMOが駆動されていれ
ば#53のステツプに、モーターMOが駆動され
てなければ#75のステツプに移行する。
When flag LCF1 is “0” in step #40, or when flag LCF1 is set to “0” in step #43 mentioned above,
When TIF is "0" or from step #46, the process moves to step #50. In step #50, the lens movement amount ND is calculated by multiplying the defocus amount LDt by the conversion coefficient KD. Next, LID is the data in the range that can be considered to be in focus, and it is multiplied by the conversion coefficient KD to determine the amount of movement of the lens in the in-focus area.
Calculate IFD. In step #52, flag
It is determined whether the FPF is "1" or not, and if it is "1", the process moves to step #75, and if it is "0", the process moves to step #53. Therefore, if the motor MO is being driven, the process moves to step #53, and if the motor MO is not being driven, the process moves to step #75.

#53のステツプでは受光部FMDの電荷蓄積
開始時のカウンタCORの内容を取り込んだレジ
スタECR1と、蓄積終了時のカウンタCORの内
容を取り込んだレジスタECR2との内容出力の
差τを求めて電荷蓄積中のレンズの移動量τを算
出する。そしてこの時点でのカウンタCORの内
容をレジスタECR3に設定してレジスタECR2
とECR3の内容の差tを求めデフオーカス量算
出中のレンズの移動量tを算出する。そして算出
されたデフオーカス量は蓄積時間中のレンズの移
動の中間での測定値に基づく値であるとみなして
結局算出されたレンズ移動量NDは測定された時
点からτ/2+tだけレンズが移動していること
になり、#56のステツプでは|ND|−(τ/
2+t)=NDcの演算を行ない移動量の補正を行
なう。#57のステツプではこの補正された移動
量のデータ|NDc|を合焦領域のデータIFDとを
比較して|NDc|≦IFDであれば合焦領域にはい
つたことになり#58のステツプに移行して端子
O4,O5を“Low”としてモーターMOを停止
させ、フラグIFF,FPFを“1”にして#2のス
テツプに戻り、確認のための焦点検出を行なわせ
る。
In step #53, charge is accumulated by calculating the difference τ between the content outputs of register ECR1, which captures the contents of counter COR at the start of charge accumulation in the light receiving unit FMD, and register ECR2, which captures the contents of counter COR at the end of accumulation. Calculate the amount of movement τ of the lens inside. Then, set the contents of counter COR at this point in register ECR3 and register ECR2.
The difference t between the contents of ECR3 and ECR3 is calculated, and the amount of movement t of the lens during calculation of the amount of defocus is calculated. The calculated amount of defocus is assumed to be a value based on the measured value at the middle of the lens movement during the accumulation time, and the lens movement amount ND calculated is the amount that the lens moves by τ/2+t from the point of measurement. Therefore, in step #56, |ND|−(τ/
2+t)=NDc is calculated to correct the movement amount. In step #57, this corrected movement amount data |NDc| is compared with the data of the focus area IFD, and if |NDc|≦IFD, it is in the focus area, and step #58 is performed. Then, terminals O4 and O5 are set to "Low" to stop the motor MO, flags IFF and FPF are set to "1", and the process returns to step #2 to perform focus detection for confirmation.

#57のステツプで|NDc|>IFDであること
が判別されると#61のステツプに移行しカウン
タCORの内容をレジスタECR3に設定し、その
内容と、#27のステツプの時点でカウンタ
COR内容が設定されたレジスタECR2の内容と
が比較される。そしてECR2=ECR3であるこ
とが判別されるとレンズは終端に達していること
になり#63のステツプで端子O4,O5を
“Low”としてモーターMOの回転を停止させフ
ラグENF,FPFを“1”にして#2のステツプ
に戻り、再度測定を行なう。
If it is determined in step #57 that |NDc|>IFD, the process moves to step #61 and the contents of counter COR are set in register ECR3, and the contents and the counter at step #27 are set.
The COR contents are compared with the contents of the set register ECR2. When it is determined that ECR2=ECR3, the lens has reached the end, and in step #63, terminals O4 and O5 are set to "Low" to stop the rotation of the motor MO and flags ENF and FPF are set to "1". ”, return to step #2, and perform the measurement again.

#62のステツプでECR2≠ECR3であるこ
とが判別されると#66のステツプで補正データ
NDcが負の値になつているかどうかを判別する。
そして負の値になつていれば算出された移動量|
ND|よりも補正量(τ/2+t)の方が大きい
ことになり、これはレンズが合焦位置を通過した
ことになる。従つて、この場合には#71のステ
ツプに移行し端子O4,O5を“Low”として
モーターMOの回転を停止させてフラグSCF,
FPFを“1”として#2のステツプに戻り確認
のための焦点検出を行なわせる。
If it is determined in step #62 that ECR2≠ECR3, the correction data is stored in step #66.
Determine whether NDc has become a negative value.
If the value is negative, the calculated amount of movement |
The correction amount (τ/2+t) is larger than ND|, which means that the lens has passed the in-focus position. Therefore, in this case, proceed to step #71, set the terminals O4 and O5 to "Low", stop the rotation of the motor MO, and set the flag SCF,
Set the FPF to "1" and return to step #2 to perform focus detection for confirmation.

#66のステツプでNDc>0であることが判
別されると次に#67のステツプでレンズの駆動
方向が繰り込み方向(ND>0)かどうかを判別
する。そしてND>0であれば#68、ND<0
(繰り出し方向)であれば#69のステツプでフ
ラグSIFが“1”であるかどうかを判別する。こ
のフラグSIFはこの時点でのレンズの移動方向が
繰り込み方向ならば“1”に、繰り出し方向なら
ば“0”になつている。従つて、#68のステツ
プでフラグSIFが“0”または、#69のステツ
プでフラグSIFが“1”のときにはこの時点での
レンズの移動方向と算出されたレンズの移動方向
が逆転していることになり前述の#71のステツ
プに移行してモーターMOを停止させ、フラグ
SCF,FPFを“1”にして#2のステツプに戻
り確認のための焦点検出を行なう。一方、方向が
逆転しなければカウンタCORに#56のステツ
プで算出されたデータNDcを設定して#2のス
テツプに戻り、次の測定を行なう。
If it is determined in step #66 that NDc>0, then in step #67 it is determined whether the driving direction of the lens is the retraction direction (ND>0). And if ND>0, #68, ND<0
(feeding direction), it is determined in step #69 whether the flag SIF is "1". This flag SIF is set to "1" if the moving direction of the lens at this point is in the retracting direction, and is set to "0" if the moving direction of the lens is in the extending direction. Therefore, when the flag SIF is "0" in step #68 or "1" in step #69, the direction of lens movement at this point and the calculated direction of lens movement are reversed. Therefore, proceed to step #71 mentioned above, stop the motor MO, and set the flag.
Set SCF and FPF to "1" and return to step #2 to perform focus detection for confirmation. On the other hand, if the direction is not reversed, the data NDc calculated in step #56 is set in the counter COR, and the process returns to step #2 to perform the next measurement.

#52のステツプでフラグFPFが“1”のと
きにはモーターMOが停止されて予備照射なしに
焦点検出が行なわれた場合である。このときはま
ず|ND|≦IFDとなつているかどうかを判別し
て|ND|≦IFDとなつていれば、#76のステ
ツプで合焦表示を行ない、#2のステツプに戻つ
て次の焦点検出の動作を行う。一方、|ND|>
IFDであれば第5−2図の#80のステツプに移
行する。#80〜#82のステツプではフラグ
IFF,SCF,ENFが“1”になつているかどうか
を判別する。これらのフラグは前述のように移動
しているレンズを一旦停止させて確認のための焦
点検出を行なつたときは“1”になつていて、い
づれかのフラグが“1”になつていれば#84の
ステツプに移動する。#84〜#86のステツプ
では前述の#67〜#69のステツプと同様にそ
れまでにレンズが駆動されていた方向と、今回の
焦点検出によつて得られた方向とが一致している
かどうかを判別して、反転していれば#87,
#88のステツプでフラグSIFを反転させ、#9
1のステツプで移動量|ND|のデータにバツク
ラツシユデータBLDを加算した値をカウンタ
CORに設定して#96のステツプに移行する。
一方、方向が一致しているときは#89のステツ
プでフラグENFが“1”かどうかを判別する。
そしてフラグENFが“1”になつていれば、前
述のようにレンズは終端に達している場合であ
り、このときは算出された方向にはレンズを駆動
することができないので警告表示を行なつて#2
のステツプに戻り、次の焦点検出動作を行う。一
方、フラグENFが“0”なら#95のステツプ
で移動量データ|ND|をカウンタCORに設定し
て#96のステツプで移行する。
When the flag FPF is "1" in step #52, the motor MO is stopped and focus detection is performed without preliminary irradiation. In this case, first determine whether |ND|≦IFD, and if |ND|≦IFD, display the focus in step #76, and return to step #2 to select the next focus. Performs detection operation. On the other hand, |ND|>
If it is IFD, proceed to step #80 in Figure 5-2. In steps #80 to #82, the flag
Determine whether IFF, SCF, and ENF are "1". These flags are set to "1" when the moving lens is temporarily stopped and focus detection is performed for confirmation as described above, and if any of the flags is set to "1", Move to step #84. In steps #84 to #86, as in steps #67 to #69 described above, it is determined whether the direction in which the lens was previously driven matches the direction obtained by the current focus detection. Determine and if it is reversed, #87,
Invert the flag SIF in step #88, and
In step 1, the counter calculates the value obtained by adding the backlash data BLD to the data of the movement amount |ND|
Set it to COR and move on to step #96.
On the other hand, if the directions match, it is determined in step #89 whether the flag ENF is "1".
If the flag ENF is "1", the lens has reached the end as described above, and in this case, the lens cannot be driven in the calculated direction, so a warning is displayed. #2
Return to step 1 and perform the next focus detection operation. On the other hand, if the flag ENF is "0", the movement amount data |ND| is set in the counter COR in step #95, and the process proceeds to step #96.

フラグENF,SCF,IFFがすべて“0”のとき
は最初の焦点検出動作の場合であり#92のステ
ツプで移動方向を判別し、ND>0ならフラグ
SIFを“1”、ND<0ならSIFを“0”にし、
#95のステツプで、移動量データ|ND|をカ
ウンタCORに設定して#96のステツプに移行
する。
When the flags ENF, SCF, and IFF are all "0", it is the first focus detection operation, and the moving direction is determined in step #92, and if ND>0, the flag is
Set SIF to “1”, set SIF to “0” if ND<0,
At step #95, the movement amount data |ND| is set in the counter COR, and the process moves to step #96.

#96のステツプではイベントカウントモード
にしてエンコーダENCから入力してくるクロツ
クパルスでカウンタCORに設定されたデータを
減算していくモードとし、次に、移動方向に応じ
て端子04又は05を“High”としてモーター
MOの回転を開始させ、フラグFPF,IFF,
SCF,ENFに“0”を設定し、フラグSIFの内容
に応じて前ピン又は後ピン表示を行なわせて#2
のステツプに戻り、次の焦点検出動作が行なわせ
る。
In step #96, the mode is set to event count mode, in which the data set in the counter COR is subtracted by the clock pulse input from the encoder ENC, and then the terminal 04 or 05 is set to "High" depending on the direction of movement. as motor
Start MO rotation, flags FPF, IFF,
Set SCF and ENF to “0” and display the front pin or rear pin according to the contents of the flag SIF #2
The process returns to step 1 and the next focus detection operation is performed.

#39のステツプで測定結果がローコントラス
トであることが判別されると#110のステツプ
に移行する。#110のステツプではフラグ
FPFが“1”かどうかを判別し、“1”であれば
第1回目の測定であり、#111のステツプに移
行する。#111のステツフではフラグLLFが
“1”かどうかを判別する。このフラグLLFは
#29〜#33のステツプで説明したように、被
写体輝度が低いときに“1”となつているフラグ
であり、このフラグLLFが“1”なら#112、
“0”なら#121のステツプに移行する。
If it is determined in step #39 that the measurement result is low contrast, the process moves to step #110. At step #110, the flag
It is determined whether the FPF is "1" or not, and if it is "1", this is the first measurement and the process moves to step #111. In step #111, it is determined whether the flag LLF is "1". As explained in steps #29 to #33, this flag LLF is a flag that is "1" when the subject brightness is low, and if this flag LLF is "1", #112
If it is "0", the process moves to step #121.

#112のステツプでは端子i2が“High”
になつているかどうかを判別する。そして端子i
2が“Low”であれば#113のステツプでフ
ラグSEF2が“1”かどうか判別する。このフラ
グSEF2は後述するが、ローコンスキヤンモード
でレンズが全領域を走行されたときに“1”とな
るフラグである。従つて、“1”になつていれば
#144のステツプに移行して後述するローコン
停止モードに移行する。一方、フラグSEF2が
“0”になつていれば#121からのローコンス
キヤンモーに移行する。
At step #112, terminal i2 becomes “High”
Determine whether it is. and terminal i
If flag SEF2 is "Low", it is determined in step #113 whether flag SEF2 is "1". This flag SEF2, which will be described later, is a flag that becomes "1" when the lens travels over the entire area in the low-contrast scan mode. Therefore, if the flag is set to "1", the process moves to step #144 to enter the low contrast stop mode, which will be described later. On the other hand, if the flag SEF2 has become "0", the process shifts to the low control scan mode from #121.

#112のステツプで端子i2が“High”で
あることが判別されると、このときは予備照射用
の発光が可能であることになり、#114からの
予備照射モードの動作に移行する。#114のス
テツプではフラグFLF,FFF,LCF1を“1”
とし、FPFを“0”とする。フラグFLFは予備
照射モードであることを示すためのフラグ、
FFFは予備照射モードで第1回目の測定が行な
われるとき“1”となるフラグ、LCF1はロー
コントラストであることが判別されるとただちに
“1”とされるフラグである。#115のステツ
プでは端子01を“High”として予備照射モー
ドでの焦点検出動作が行なわれる状態とし、08
を“High”として予備照射モードでの動作が行
なわれることで、マイコンMCO2によるA−D
変換動作を禁止するよう指令する信号を送る。そ
して、マイコンMCO2からA−D変換中である
ことを示す信号が端子i5に入力しているかどう
かを判別して、端子i5が“High”でA−D変
換中であればA−D変換が終了してi5が
“Low”になるのを待つて予備照射を行う焦点検
出動作に移行する。
If it is determined in step #112 that the terminal i2 is "High", it means that light emission for preliminary irradiation is possible at this time, and the operation shifts to the preliminary irradiation mode from #114. At step #114, flags FLF, FFF, and LCF1 are set to “1”.
and set FPF to “0”. Flag FLF is a flag to indicate that it is in preliminary irradiation mode.
FFF is a flag that becomes "1" when the first measurement is performed in the preliminary irradiation mode, and LCF1 is a flag that becomes "1" as soon as it is determined that the contrast is low. In step #115, terminal 01 is set to "High" to perform focus detection operation in preliminary irradiation mode, and step 08
By setting “High” and operating in preliminary irradiation mode, A-D by microcomputer MCO2 is performed.
Sends a signal instructing the conversion operation to be inhibited. Then, it is determined whether a signal indicating that A-D conversion is in progress is input from the microcomputer MCO2 to terminal i5, and if terminal i5 is "High" and A-D conversion is in progress, A-D conversion is performed. After completing the process and waiting for i5 to become "Low", the focus detection operation moves to perform preliminary irradiation.

#117のステツプでは、予備照射を行なつて
一定時間(例えば200msec)をカウントするため
のタイマー用カウンタTICに一定値T0を設定す
る。このカウンタTICはマイコンMCO1内部の
クロツクパルスに基づいてダウンカウントを行な
い、内部が“0”になるとタイマー割込が可能で
あればタイマー割込がかかり、後述する#260
のステツプの動作を行なつて元のフローに戻る。
#118ではフラグRSFを“1”にする。この
フラグRSFは予備照射を行なつてから一定時間
が経過するまでの間は“1”となり、一定時間が
経過してタイマー割込があると#260のステツ
プで“0”とされる。そして、このフラグRSF
が“1”の間は出力端子07は“High”となつ
てマイコンMCO2は露出制御動作には移行しな
い。なお、タイマー割込はタイマー割込が不可の
状態ではタイマーTICが“0”になつても割込動
作は行なわれず、タイマー割込可となると直ちに
タイマー割込がかかりタイマー割込による動作が
行なわれる。#118のステツプでフラグRSF
が“1”にされると、#2のステツプに戻り予備
照射を行なう焦点検出動作が実行される。
In step #117, a constant value T0 is set in a timer counter TIC for counting a constant time (for example, 200 msec) after performing preliminary irradiation. This counter TIC counts down based on the clock pulse inside the microcomputer MCO1, and when the internal value reaches "0", a timer interrupt is generated if a timer interrupt is possible, and #260 (described later)
Perform the operation of the step and return to the original flow.
In #118, the flag RSF is set to "1". This flag RSF is set to "1" until a certain period of time has elapsed after preliminary irradiation, and when a timer interrupt occurs after the elapse of the certain period of time, it is set to "0" at step #260. And this flag RSF
While is "1", the output terminal 07 becomes "High" and the microcomputer MCO2 does not shift to the exposure control operation. Note that when timer interrupts are disabled, no interrupt operation is performed even if timer TIC becomes "0", and when timer interrupts are enabled, timer interrupts are immediately activated and the timer interrupt operations are performed. It will be done. Flag RSF at step #118
When is set to "1", the process returns to step #2 and a focus detection operation for performing preliminary irradiation is executed.

#111のステツプでフラグLLFが“0”の
とき、或いは#113のステツプでフラグSEF2
が“0”のときは#121のステツプに移行してロ
ーコンスキヤンモードの動作を開始する。まずフ
ラグLCF1,LCF2,LSFを“1”とし、次に
算出されているデフオーカス方向がどちらかを判
別し、判別された方向に応じてフラグSIFを
“1”又は“0”にし、レンズをその方向に移動
させる。そして、警告表示を行なわせ、フラグ
FPFを“0”とし、カウンタCOFの内容が“0”
になつたときにかかる割込信号を受付けない状態
として#2のステツプに戻り、次の測定を行なわ
せる。
When flag LLF is "0" in step #111, or flag SEF2 is set in step #113.
When is "0", the process moves to step #121 and starts operating in low contrast scan mode. First, flags LCF1, LCF2, and LSF are set to "1", and then the calculated defocus direction is determined, and the flag SIF is set to "1" or "0" depending on the determined direction, and the lens is set to that direction. move in the direction. Then, a warning is displayed and a flag is displayed.
When FPF is set to “0”, the contents of counter COF are “0”
When this occurs, the interrupt signal is not accepted and the process returns to step #2 to perform the next measurement.

#110のステツプでフラグFPFが“0”で
あれば#140のステツプに移行してフラグ
FLFが“1”かどうかを判別する。フラグFLF
が“1”であれば予備照射モードでの焦点検出結
果がローコントラストになつている場合である。
このときは、端子01を“Low”にして第5−
3図の#200のステツプに移行する。そして
#200のステツプではフラグFFFが“1”か
どうかを判別して、フラグFFFが“1”ならば
予備照射モードで1回目の焦点検出が行なわれた
場合であり、このときはフラグFFFを“0”に
し、前述の#115のステツプに戻り2回目の予
備照射モードでの動作を行なわせる。一方、#2
00のステツプでフラグFFFが“0”であれば
予備照射モードで2回目の測定が行なわれたこと
になり、このときは警告表示を行なつてタイマー
割込を可として#211のステツプに移行し動作
を停止する。
If the flag FPF is “0” in step #110, the process moves to step #140 and the flag is set.
Determine whether FLF is “1”. flag FLF
If is "1", it means that the focus detection result in the preliminary irradiation mode is low contrast.
At this time, set the terminal 01 to “Low” and the 5th-
Proceed to step #200 in Figure 3. Then, in step #200, it is determined whether the flag FFF is "1". If the flag FFF is "1", it means that the first focus detection was performed in the preliminary irradiation mode, and in this case, the flag FFF is The flag is set to "0" and the process returns to step #115 to perform the second preliminary irradiation mode operation. On the other hand, #2
If the flag FFF is "0" at step 00, it means that the second measurement was performed in the preliminary irradiation mode, and in this case, a warning is displayed, a timer interrupt is enabled, and the process moves to step #211. and stop the operation.

#140のステツプでフラグFLFが“0”で
あれば次に#142のステツプでフラグTIFが
“1”かどうかを判別する。そしてフラグTIFが
“1”ならばローコン停止モードであり#2のス
テツプに戻つて次の測定を行なわせる。#142
のステツプでフラグTIFが“0”ならば次に、
#143のステツプでSEF2が“1”かどうかを
判別する。そして“1”であればローコンスキヤ
ンモードでレンズが全領域を走査してもローコン
トラストの焦点検出値しか得られなかつた場合で
あり、このときは#144からのローコン停止モ
ードの動作を開始する。
If the flag FLF is "0" at step #140, then it is determined whether the flag TIF is "1" at step #142. If the flag TIF is "1", it is the low contrast stop mode, and the process returns to step #2 to perform the next measurement. #142
If the flag TIF is “0” in the step of
At step #143, it is determined whether SEF2 is "1". If it is "1", it means that even if the lens scans the entire area in low-contrast scan mode, only a low-contrast focus detection value can be obtained, and in this case, the low-contrast stop mode operation starts from #144. do.

#144のステツプではカウンタCORに固定
データT1を設定し、マイコンMCO1の内部の
クロツクパルスでカウンタCORの内容を減算し
ていくタイマーモードに切換、フラグTIFを
“1”としてカウンタ割込を可能として#2のス
テツプに戻り測定を行なわせる。このモードの際
には一定時間レンズを停止した状態で焦点検出を
繰り返し、この間にローコントラストでない測定
値が得られるとこの測定値に基づく移動量のデー
タによつてレンズを駆動し一定時間ローコントラ
ストの焦点検出値しか得られないときは、再度第
1回目の測定と同じ動作を行なう。
In step #144, fixed data T1 is set in the counter COR, the mode is switched to a timer mode in which the contents of the counter COR are subtracted by the internal clock pulse of the microcomputer MCO1, and the flag TIF is set to "1" to enable counter interrupts. Return to step 2 and perform measurement. In this mode, focus detection is repeated with the lens stopped for a certain period of time, and if a measurement value that is not low contrast is obtained during this period, the lens is driven using the movement amount data based on this measurement value, and the lens is set to low contrast for a certain period of time. If only a focus detection value of 1 is obtained, the same operation as the first measurement is performed again.

#143のステツプでフラグSEF2が“0”で
あることが判別されると次に#150のステツプ
でフラグLCF1が“1”かどうかを判別する。
そして、“1”でないときは、前回までの焦点検
出値はローコントラストではなく、今回の焦点検
出で突然ローコントラストになつた場合である。
このときは#151のステツプに移行し、フラグ
LCF1を“1”、LCF2を“0”とし、端子0
4,05を“Low”にしてモーターMOの動作を
停止させ、フラグFPFを“1”にして、#2に
戻り焦点検出をやり直す。#150のステツプで
フラグLCF1が“1”なら次に、#155のス
テツプでフラグLCF2が“1”かどうかを判別
する。そしてフラグLCF2が“0”であれば、
前回の焦点検出値が突然ローコントラストにな
り、焦点検出をやりなおして得られた今回の焦点
検出値もローコントラストの場合である。従つ
て、この場合には#121のステツプからの前述
したローコンスキヤンモードの開始動作を行な
う。
If it is determined in step #143 that the flag SEF2 is "0", then in step #150 it is determined whether the flag LCF1 is "1".
If it is not "1", this means that the previous focus detection value was not low contrast, and the current focus detection suddenly became low contrast.
In this case, move to step #151 and flag
Set LCF1 to “1” and LCF2 to “0”, and terminal 0
4. Set 05 to "Low" to stop the operation of the motor MO, set the flag FPF to "1", and return to #2 to redo focus detection. If the flag LCF1 is "1" at step #150, then it is determined whether the flag LCF2 is "1" at step #155. And if flag LCF2 is “0”,
This is a case where the previous focus detection value suddenly becomes low contrast, and the current focus detection value obtained by redoing focus detection is also low contrast. Therefore, in this case, the above-described low-contrast scan mode starting operation is performed from step #121.

#155のステツプでフラグLCF2が“1”
のときはローコンスキヤンモードでの動作中であ
る。この場合、#156のステツプでカウンタ
CORの内容をレジスタECR3に設定し#27の
ステツプでカウンタCORの内容を取り込んだレ
ジスタECR2の内容と一致しているかどうかを
#157のステツプで判別する。そして、一致し
ていなければレンズは終端に達していないので
#3のステツプに戻り焦点検出動作を行なう。一
方、レジスタECR2とECR3の内容が一致して
いればレンズは終端に達したことになり、#15
8のステツプでモーターMOの駆動を停止する。
そして、#159のステツプでフラグSEF1が
“1”かどうかを判別して、“1”であればレンズ
は一方の終端に達していることになり、従つてレ
ンズは両方の終端に達して全領域の走査が行なわ
れたことになる。従つてこのときはフラグSEF2
を“1”にして、#112のステツプに移行し、
フラツシユから予備照射が可能かどうかの確認を
行ない、予備照射が可能であれば予備照射モード
に移行し、予備照射が不可能であればローコン停
止モードに移行する。
At step #155, flag LCF2 becomes “1”
When , it is operating in low contrast scan mode. In this case, the counter is set in step #156.
The contents of COR are set in register ECR3, and it is determined in step #157 whether the contents match the contents of register ECR2, which has taken in the contents of counter COR in step #27. If they do not match, the lens has not reached the end, so the process returns to step #3 and performs the focus detection operation. On the other hand, if the contents of registers ECR2 and ECR3 match, it means that the lens has reached the end, and #15
Stop driving the motor MO in step 8.
Then, in step #159, it is determined whether the flag SEF1 is "1" or not. If it is "1", it means that the lens has reached one end, and therefore the lens has reached both ends and is completely closed. This means that the area has been scanned. Therefore, at this time flag SEF2
Set it to “1” and move to step #112.
It is checked whether preliminary irradiation is possible from the flash, and if preliminary irradiation is possible, the system shifts to preliminary irradiation mode, and if preliminary irradiation is not possible, it shifts to low control stop mode.

#159のステツプでフラグSEF1が“0”で
あればローコンスキヤンモードでレンズが初めて
終端に達したことになりこの場合、フラグSIFを
反転させ、モーターMOの回転方向も反転させて
フラグSEF1を“1”にして#3のステツプに戻
つて測定を行なわせる。
If flag SEF1 is "0" in step #159, it means that the lens has reached the end for the first time in low contrast scan mode, and in this case, reverse flag SIF, reverse the rotational direction of motor MO, and set flag SEF1. Set it to "1" and return to step #3 to perform measurement.

#41のステツプでフラグFLFが“1”であ
れば予備照射モードで測定を行なつた結果がロー
コントラストでない場合である。このときは第5
−3図の#170のステツプに移行する。#17
0のステツプでは端子O1を“Low”にし、
#37のステツプで求まつたデフオーカス量のデ
ータLDt及び合焦領域のデータと変換係数KDか
らそれぞれレンズの移動量NDと合焦領域IFDと
を算出する。そして#173のステツプで|ND
|≦IFDとなつているときは合焦表示と行なつて
フラグFFFを“0”にし#211のステツプに
移行して動作を終了させるためのフローに移行す
る。
If the flag FLF is "1" in step #41, it means that the result of measurement in the preliminary irradiation mode is not low contrast. At this time, the fifth
- Move to step #170 in Figure 3. #17
At step 0, terminal O1 is set to “Low”,
The lens movement amount ND and the focus area IFD are calculated from the defocus amount data LDt and the focus area data obtained in step #37, and the conversion coefficient KD, respectively. And at step #173 | ND
When |≦IFD, an in-focus display is performed, the flag FFF is set to "0", and the flow moves to step #211 to end the operation.

#173のステツプで|ND|>IFDであるこ
とが判別されると#180に移行し|ND|をカ
ウンタCORに設定し、イベントカウントモード
にしてカウンタ割込を可能とし、タイマー割込を
不可とする。そして、フラグFFFが“1”かど
うかを判別して“1”であれば予備照射モードで
第1回目の測定が行なわれた場合であり、このと
きは#188のステツプにそのまま移行する。一
方、FFFが“0”であれば2回目の測定が行な
われた場合である。このときは、#178のステ
ツプに移行して合焦近傍のデータLNDに変換係
数KDを掛けて近傍領域のデータNFDを算出す
る。そして#179のステツプで|ND|≦NFD
となつているかどうかを判別する。|ND|>
NFDの場合1回目の合焦動作で正常な動作が行
なわれてないか又は2回目の焦点検出結果が信頼
性に乏しいと考えられる。さらには、変換係数の
バラツキ等で、1回のレンズの移動だけで正確に
合焦位置まで移動させることは困難であり、基本
的には合焦動作が行なえないと考えられる。そこ
でこの場合には#201のステツプに移行して警
告を行なつた後、タイマー割込を可能とし、#2
11のステツプに移行して動作を停止する。
If it is determined in step #173 that |ND|>IFD, the process moves to #180 and sets |ND| to the counter COR, sets it to event count mode, enables counter interrupts, and disables timer interrupts. shall be. Then, it is determined whether the flag FFF is "1" or not, and if it is "1", it means that the first measurement was performed in the preliminary irradiation mode, and in this case, the process directly proceeds to step #188. On the other hand, if FFF is "0", this means that the second measurement has been performed. In this case, the process moves to step #178, and the data LND near the in-focus area is multiplied by the conversion coefficient KD to calculate the data NFD of the nearby area. And in step #179 |ND|≦NFD
Determine whether it is. |ND|>
In the case of NFD, it is considered that either the first focusing operation is not performed normally or the second focusing operation is unreliable. Furthermore, due to variations in conversion coefficients, etc., it is difficult to accurately move the lens to the in-focus position with just one movement, and it is considered that the focusing operation is basically impossible. Therefore, in this case, proceed to step #201 and issue a warning, then enable timer interrupts and #2
The process moves to step 11 and the operation is stopped.

#179のステツプで|ND|≦NFDとなつて
いることが判別されると共に制御動作が可能であ
ると考えられるので次に移動方向を判別して、前
回と移動方向が反転しているかどうかを判別す
る。そして反転していることが判別されると|
ND|+BLDの演算を行なつて移動量データ|
ND|をバツクラツシユデータ分だけ補正し、こ
のデータをカウンタCORに設定しなおす。一方
反転してなければ#180のステツプで設定され
たデータのままとして、#188に移行する。そ
して移動方向を判別してその方向に対応した信号
をフラグSIFに設定してモーターMOを判別され
た方向に回転させる。
In step #179, it is determined that |ND|≦NFD, and it is considered that control operation is possible.Next, the direction of movement is determined, and whether or not the direction of movement is reversed from the previous time is determined. Discern. And when it is determined that it is reversed |
ND|+BLD calculation and movement amount data|
Correct ND| by the backlash data and reset this data to the counter COR. On the other hand, if it is not reversed, the data set in step #180 is left unchanged and the process moves to #188. Then, the moving direction is determined, a signal corresponding to the direction is set in the flag SIF, and the motor MO is rotated in the determined direction.

次に、カウンタCORの内容をレジスタECR2
に設定し一定時間待つた後に端子i3が“Low”
になつているかどうかを判別し、“Low”であれ
ばタイマー割込を可として#209のステツプに
移行する。一方“High”であれば#196に移
行しカウンタCORの内容をレジスタECR3に設
定する。そして#197のステツプでレジスタ
ECR2とECR3の内容が一致しているかどうか
を判別する。そしてECR2≠ECR3ならECR3
の内容をECR2に設定して#194のステツプ
に戻る。従つて、予備照射モードの際には測定に
よつてデータが得られるとこのデータに基づいて
レンズを駆動するがこの駆動中は測定動作は行な
われない。そしてレンズが算出された移動量分だ
け移動するとカウンタ割込がかかつて後述するよ
うにレンズを停止させ1回目であれば2回目の動
作に移行し、2回目であれば合焦表示を行なつて
動作を停止する。また、#197のステツプでレ
ンズが終端に達したことが検知されると端子O
4,O5を“Low”としてモーターを停止させ
る。そして#200のステツプでフラグFFFが
“1”はどうかを判別して、“1”なら1回目の測
定なので、フラグFFFを“0”として前述の
#115のステツプに戻り2回目の予備照射モー
ドでの測定を行なわせる。一方、#200のステ
ツプでフラグFFFが“0”であることが判別さ
れると、このときは2回目の動作によつてレンズ
が終端に達したことになり、この場合には警告表
示を行なつてタイマー割込を可能とし#211の
ステツプに移行し、動作を停止する。
Next, the contents of counter COR are stored in register ECR2.
Terminal i3 becomes “Low” after setting it to
If it is "Low", timer interrupt is enabled and the process moves to step #209. On the other hand, if it is "High", the process moves to #196 and the contents of the counter COR are set in the register ECR3. Then register at step #197.
Determine whether the contents of ECR2 and ECR3 match. And if ECR2≠ECR3 then ECR3
Set the contents in ECR2 and return to step #194. Therefore, in the preliminary irradiation mode, when data is obtained through measurement, the lens is driven based on this data, but no measurement operation is performed during this driving. Then, when the lens moves by the calculated amount of movement, a counter interrupt is generated and the lens is stopped as described later, and if it is the first time, it moves to the second operation, and if it is the second time, it displays the focus. to stop operation. Also, when it is detected in step #197 that the lens has reached the end, the terminal O
4. Set O5 to “Low” to stop the motor. Then, in step #200, it is determined whether the flag FFF is "1" or not. If it is "1", it is the first measurement, so the flag FFF is set to "0" and the process returns to step #115 described above for the second preliminary irradiation mode. Have them take measurements. On the other hand, if it is determined that the flag FFF is "0" in step #200, it means that the lens has reached the end due to the second operation, and in this case, a warning is displayed. Then, a timer interrupt is enabled, the process moves to step #211, and the operation is stopped.

カウンタCORの内容が“0”になるとカウン
タ割込がかかり#230のステツプからの動作を
行なう。#230のステツプではフラグTIFが
“1”かどうかを判別する。“1”のときはローコ
ン停止モードで一定時間が経過し、この間ローコ
ンの測定値しか得られなかつた場合である。この
ときは、割込可能としフラグTIF,SFF1,SEF
2,LCF1,LCF2,LSFを“0”とし、フラ
グFPFを“1”とし、イベントカウントモード
として#2のステツプに戻る。従つて、第1回目
の測定と同じ状態にして測定が行なわれる。
When the contents of the counter COR become "0", a counter interrupt is generated and the operation starts from step #230. In step #230, it is determined whether the flag TIF is "1". When it is "1", a certain period of time has elapsed in the low contrast stop mode, and only low contrast measured values have been obtained during this time. At this time, interrupts are enabled and flags TIF, SFF1, and SEF
2. Set LCF1, LCF2, and LSF to "0", set flag FPF to "1", and return to step #2 as event count mode. Therefore, the measurement is performed under the same conditions as the first measurement.

#230のステツプでフラグTIFが“0”のと
きはレンズの移動量が算出された移動量だけ移動
した場合である。この場合にはモーターMOを停
止させ割込を可能とする。そして#235のステ
ツプでフラグFLFが“1”かどうかを判別する。
そして“1”であれば予備照射モードであり#2
38のステツプに移行する。#238のステツプ
ではフラグFFFが“1”かどうかを判別し“0”
であれば予備照射モードでの2回目の合焦動作が
終了したことになり合焦表示を行ない、タイマー
割込を可能として#211のステツプに移行す
る。一方、フラグFFFが“1”なら予備照射モ
ードで1回目の合焦動作が完了したことになり、
フラグFFFを“0”として#115のステツプ
に戻り2回目の合焦動作を行なわせる。
When the flag TIF is "0" in step #230, it means that the lens has moved by the calculated amount of movement. In this case, the motor MO is stopped and an interrupt is enabled. Then, in step #235, it is determined whether the flag FLF is "1".
If it is “1”, it is the preliminary irradiation mode and #2
Move to step 38. In step #238, it is determined whether the flag FFF is “1” or not, and it is set to “0”.
If so, it means that the second focusing operation in the preliminary irradiation mode has been completed, a focus display is performed, a timer interrupt is enabled, and the process moves to step #211. On the other hand, if the flag FFF is "1", it means that the first focusing operation has been completed in preliminary irradiation mode.
The flag FFF is set to "0" and the process returns to step #115 to perform the second focusing operation.

#235のステツプでフラグFLFが“0”で
あれば予備照射を行なわず、ローコントラストで
ない測定値が得られ、算出された移動量分だけレ
ンズが移動した場合である。このときはフラグ
IFF,FPFを“1”として#2のステツプに戻
り、確認のための測定を行なわせる。
If the flag FLF is "0" in step #235, this means that preliminary irradiation is not performed, a measured value that is not low contrast is obtained, and the lens has moved by the calculated amount of movement. At this time, the flag
Set IFF and FPF to "1" and return to step #2 to perform confirmation measurements.

タイマー割込がかかると#260のステツプで
フラグRSFを“0”として割込がかかつたとき
の動作に戻る。なお、タイマー割込も他の割込と
同様に、一旦その割込があると、その割込を可能
としない限り以後はその割込は不可となつてい
る。
When a timer interrupt occurs, the flag RSF is set to "0" in step #260 and the operation returns to the time when the interrupt occurred. Note that, like other interrupts, once a timer interrupt occurs, it is no longer possible to do so unless the interrupt is enabled.

#11,#19,#38,#195のステツプ
で端子i3が“Low”になつたことが判別され
ると#209のステツプで端子it1とカウンタ
CORによる割込を禁止しイベントカウントモー
ドにして#213のステツプに移行する。一方、
#176、#203,#243のステツプからは
#211のステツプに移行し、#211のステツ
プで端子it1とカウンタCORによる割込を不可能
とし端子i3が“Low”になるのを待つ。そし
て端子i3が“Low”になると#213のステ
ツプに移行する。#213のステツプでは端子O
4,O5を“Low”にしてモーターMOを停止さ
せ、次に表示を消灯させる。そして端子O1,O
2,O3,O6を“Low”として自動焦点調整
用の回路の動作を停止させる。そして、RSF,
FPF,SIFを除くすべてのフラグに“0”を設定
して、フラグFPFを“1”にする。次に、カウ
ンタCORの内容をレジスタECR2の設定し一定
時間致つてからカウンタCORの内容をレジスタ
ECR3に設定する。そしてECR2=ECR3にな
つているかどうかを判別してECR2≠ECR3な
らレジスタECR3の内容をレジスタECR2に設
定して#219のステツプに戻る。そしてECR
2=ECR3となつていれば、レンズの移動は完
全に停止した状態となつているので、#223の
ステツプに移行する。
When it is determined in steps #11, #19, #38, and #195 that terminal i3 has become “Low”, terminal it1 and the counter are determined in step #209.
COR interrupts are prohibited and the event count mode is set to proceed to step #213. on the other hand,
From steps #176, #203, and #243, the process moves to step #211, in which interrupts by terminal it1 and counter COR are disabled, and it waits for terminal i3 to become "Low". Then, when the terminal i3 becomes "Low", the process moves to step #213. At step #213, terminal O
4. Turn O5 “Low” to stop the motor MO, and then turn off the display. and terminals O1, O
2. Set O3 and O6 to "Low" to stop the operation of the automatic focus adjustment circuit. And RSF,
Set all flags except FPF and SIF to "0" and set flag FPF to "1". Next, set the contents of counter COR in register ECR2, and after a certain period of time, register the contents of counter COR.
Set to ECR3. Then, it is determined whether ECR2=ECR3, and if ECR2≠ECR3, the contents of register ECR3 are set in register ECR2, and the process returns to step #219. and ECR
If 2=ECR3, the movement of the lens has completely stopped, and the process moves to step #223.

#223のステツプではフラグRSFが“1”
かどうかを判別し、“1”であれば予備照射を行
なつて一定時間(200msec)が経過してないこと
になり、一定時間が経過してフラグRSFが“0”
となるのを待つ。そしてフラグRSFが“0”に
なるか、“0”になつているときは、#244の
ステツプで端子O7を“Low”としてマイコン
MCO2による露出制御動作を可能とし、端子it
2への割込を可能としてマイコンMCO1は動作
を停止する。
At step #223, flag RSF is “1”
If it is “1”, it means that a certain period of time (200 msec) has not elapsed since preliminary irradiation, and the flag RSF becomes “0” after the certain period of time has elapsed.
Wait until it becomes. Then, when the flag RSF becomes "0" or is "0", the microcontroller sets terminal O7 to "Low" in step #244.
Exposure control operation by MCO2 is possible, and the terminal it
The microcomputer MCO1 stops operating, allowing interrupts to the microcomputer MCO2.

効 果 上記したように、本発明の自動焦点調整方法に
よると、最終回の焦点検出で得られた駆動量を所
定の値と比較し、その比較結果により次回の動作
を制御するようにしている。つまり、駆動量が所
定値よりも小さければこの駆動量に基づいて撮影
レンズを駆動するとともに駆動終了後合焦状態に
至つたことを表示する。また、駆動量が所定値よ
りも大きければ撮影レンズを駆動することなく警
告表示を行う。従つて、最終回の焦点検出結果に
基づいて演算された駆動量が所定値よりも大きい
場合、つまり焦点検出結果に信頼性が乏しいとき
には、駆動が行われないため、撮影レンズの無駄
な動きを抑制することができる。
Effects As described above, according to the automatic focus adjustment method of the present invention, the drive amount obtained in the last focus detection is compared with a predetermined value, and the next operation is controlled based on the comparison result. . That is, if the amount of drive is smaller than a predetermined value, the photographing lens is driven based on this amount of drive, and after the end of the drive, it is displayed that the in-focus state has been reached. Further, if the driving amount is larger than a predetermined value, a warning display is performed without driving the photographing lens. Therefore, if the drive amount calculated based on the last focus detection result is larger than a predetermined value, that is, if the focus detection result is unreliable, no drive is performed, and unnecessary movement of the photographic lens is avoided. Can be suppressed.

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

第1図はこの発明を適用したカメラの基本構成
を示すブロツク図、第2図はこの発明を適用した
カメラシステム全体を示す回路図、第3図は第2
図のフラツシユ用回路FLCの具体例を示す回路
図、第4図は第2図のマイコンMCO2の動作を
示すフローチヤート、第5−1,5−2,5−3
図は第2図のマイコンMCO1の動作を示すフロ
ーチヤートである。 第1のステツプ……#1〜5〜20、第2のス
テツプ……#24〜41〜170〜173〜19
3、第3のステツプ……#230〜235〜24
0〜115〜118〜2〜5〜20、第4のステ
ツプ……#24〜41〜170〜173〜183
〜179、第5のステツプ……#184〜19
3、第6のステツプ……#201。
Fig. 1 is a block diagram showing the basic configuration of a camera to which this invention is applied, Fig. 2 is a circuit diagram showing the entire camera system to which this invention is applied, and Fig. 3 is a block diagram showing the basic configuration of a camera to which this invention is applied.
A circuit diagram showing a specific example of the flash circuit FLC shown in the figure, Fig. 4 is a flowchart showing the operation of the microcomputer MCO2 shown in Fig. 2, and 5-1, 5-2, 5-3.
The figure is a flowchart showing the operation of the microcomputer MCO1 shown in FIG. First step...#1-5-20, Second step...#24-41-170-173-19
3. Third step...#230-235-24
0-115-118-2-5-20, 4th step...#24-41-170-173-183
~179, 5th step...#184~19
3. Sixth step...#201.

Claims (1)

【特許請求の範囲】 1 被写体を照明する補助光を発光しながら撮影
レンズにより形成された被写体像を受光して上記
被写体の焦点検出を行う第1のステツプと、 第1のステツプで検出された焦点検出結果に基
づいて上記被写体に合焦するのに必要な撮影レン
ズの駆動量を演算するとともにこの駆動量に基づ
いて撮影レンズを駆動する第2のステツプと、 第2のステツプの終了後再度補助光を発光しな
がら焦点検出を行う第3のステツプと、 第3のステツプで検出された焦点検出結果に基
づいて合焦するのに必要な撮影レンズの駆動量を
演算するとともにこの演算された駆動量を所定の
値と比較する第4のステツプと、 第4のステツプにおける比較の結果、演算され
た駆動量が所定の値よりも小さければこの駆動量
に基づいて撮影レンズを駆動するとともに駆動終
了後合焦状態に至つたことを表示する第5のステ
ツプと、 第4のステツプにおける比較の結果、演算され
た駆動量が所定の値よりも大きければ撮影レンズ
を駆動することなく警告表示を行う第6のステツ
プと、 からなるカメラの自動焦点調整方法。
[Claims] 1. A first step of detecting the focus of the subject by receiving the subject image formed by the photographing lens while emitting auxiliary light to illuminate the subject; and detecting the focus of the subject in the first step. A second step of calculating the driving amount of the photographing lens necessary to focus on the subject based on the focus detection result and driving the photographing lens based on this driving amount, and again after the second step is completed. The third step is to perform focus detection while emitting an auxiliary light, and the amount of drive of the photographic lens necessary for focusing is calculated based on the focus detection result detected in the third step. A fourth step in which the driving amount is compared with a predetermined value; and as a result of the comparison in the fourth step, if the calculated driving amount is smaller than the predetermined value, the photographing lens is driven based on this driving amount, and the lens is driven. After the completion of the comparison, the fifth step displays that the in-focus state has been reached, and as a result of the comparison in the fourth step, if the calculated drive amount is larger than a predetermined value, a warning is displayed without driving the photographing lens. A camera automatic focus adjustment method consisting of a sixth step to perform.
JP24706184A 1984-11-22 1984-11-22 Auto-focusing device of camera Granted JPS60156029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24706184A JPS60156029A (en) 1984-11-22 1984-11-22 Auto-focusing device of camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24706184A JPS60156029A (en) 1984-11-22 1984-11-22 Auto-focusing device of camera

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP58154378A Division JPH0786582B2 (en) 1983-08-24 1983-08-24 Focus detection device

Publications (2)

Publication Number Publication Date
JPS60156029A JPS60156029A (en) 1985-08-16
JPH0558173B2 true JPH0558173B2 (en) 1993-08-25

Family

ID=17157835

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24706184A Granted JPS60156029A (en) 1984-11-22 1984-11-22 Auto-focusing device of camera

Country Status (1)

Country Link
JP (1) JPS60156029A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2770316B2 (en) * 1988-05-13 1998-07-02 ミノルタ株式会社 Automatic focus detection device
JP6304049B2 (en) * 2015-01-14 2018-04-04 トヨタ自動車株式会社 Vehicle lower structure

Also Published As

Publication number Publication date
JPS60156029A (en) 1985-08-16

Similar Documents

Publication Publication Date Title
US4537487A (en) Automatic focus control system with backlash correcting arrangement
US4536072A (en) Automatic focus control system
JPS62192716A (en) Focus detecting device
JPH0558163B2 (en)
JPS6345564B2 (en)
US4969006A (en) Automatic focus control device for use in a camera system
US5845155A (en) Multipoint autofocusing system
US4737813A (en) Automatic focus control device for use in a camera system
JPH063492B2 (en) Automatic focus adjustment device
JPH0558173B2 (en)
JPH0786582B2 (en) Focus detection device
JPH068927B2 (en) Focus detection device
JPH01280713A (en) Automatic focus adjustor
JPH061289B2 (en) Automatic focus adjustment device
JPS6173132A (en) Camera system for executing automatic focus adjustment using auxiliary light
JPH061290B2 (en) Focus detection device
JPS635316A (en) Automatic focus adjusting device
JPS6052833A (en) Flash device for photographing and preliminary irradiation
JPH03150536A (en) Lens driving device for optical equipment
JPS62215248A (en) Focus detecting device with auxiliary lighting device
JPH10186218A (en) Camera provided with automatic focusing device and focus measurement device thereof
JPS6055319A (en) Electronic flash device
JPH03226723A (en) Automatic focusing device for camera
JP3439256B2 (en) camera
JPH024207A (en) Focus detector