[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JPH061289B2 - Automatic focus adjustment device - Google Patents

Automatic focus adjustment device

Info

Publication number
JPH061289B2
JPH061289B2 JP58206207A JP20620783A JPH061289B2 JP H061289 B2 JPH061289 B2 JP H061289B2 JP 58206207 A JP58206207 A JP 58206207A JP 20620783 A JP20620783 A JP 20620783A JP H061289 B2 JPH061289 B2 JP H061289B2
Authority
JP
Japan
Prior art keywords
terminal
lens
output
flag
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
JP58206207A
Other languages
Japanese (ja)
Other versions
JPS6052810A (en
Inventor
信行 谷口
典夫 石川
猛 江川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP58206207A priority Critical patent/JPH061289B2/en
Publication of JPS6052810A publication Critical patent/JPS6052810A/en
Publication of JPH061289B2 publication Critical patent/JPH061289B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、定常光による焦点検出と、被写体を照明する
補助光を発光しての焦点検出とを行うことが可能な自動
焦点調整装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic focus adjustment device capable of performing focus detection by stationary light and focus detection by emitting auxiliary light for illuminating a subject.

従来の技術 従来、撮影レンズを駆動しつつ焦点検出動作を繰り返し
行い、自動焦点調整動作の高精度化及び高速化を図るよ
うにした自動焦点調整装置が、例えば特開昭56-78823号
公報あるいは特開昭58-58508号公報に記載されている。
また、被写体を照明する補助光を発光して焦点検出を行
う装置が、例えば特開昭55-11929号公報、特開昭57-105
710号公報、特開昭58-132733号公報等に記載されてい
る。
2. Description of the Related Art Conventionally, there is an automatic focus adjustment device which is configured to perform a focus detection operation repeatedly while driving a taking lens so as to improve accuracy and speed of an automatic focus adjustment operation, for example, Japanese Patent Laid-Open No. 56-78823 or It is described in JP-A-58-58508.
An apparatus for detecting focus by emitting auxiliary light for illuminating a subject is disclosed in, for example, Japanese Patent Laid-Open Nos. 55-11929 and 57-105.
No. 710, JP-A-58-132733 and the like.

発明が解決しようとする課題 ところで、補助光を発光した状態での焦点検出結果に基
づいて撮影レンズを駆動する際に、焦点検出動作を繰り
返し行うと、以下のような問題が発生する。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention By the way, when the focus detection operation is repeatedly performed when the photographing lens is driven based on the focus detection result in the state where the auxiliary light is emitted, the following problems occur.

つまり、補助光を発光しての焦点検出が必要となるの
は、補助光を発光していない状態で行った焦点検出にお
いて信頼性のある検出結果が得られなかった場合であ
る。このような状況下で撮影レンズを駆動しながら焦点
検出を繰り返しても、信頼性の高い焦点検出結果が得ら
れることはない。
That is, focus detection with emission of auxiliary light is required when reliable detection result is not obtained in focus detection performed without emission of auxiliary light. Even if focus detection is repeated while driving the taking lens in such a situation, a reliable focus detection result will not be obtained.

本発明の目的は、上記の課題を解決した自動焦点調整装
置を提供することにある。
An object of the present invention is to provide an automatic focus adjustment device that solves the above problems.

課題を解決するための手段 上記課題を解決するために、本発明の自動焦点調整装置
は、特に、「補助光が発光されない状態での焦点検出手
段の検出結果に基づいて駆動手段を制御して撮影レンズ
を駆動する場合には、撮影レンズの駆動中も焦点検出手
段に検出動作を行わせこの検出結果も駆動手段の制御に
用いる手段」と、「補助光が発光された状態での焦点検
出手段の検出結果に基づいて駆動手段を制御して撮影レ
ンズを駆動する場合には、撮影レンズの駆動中の焦点検
出手段による検出動作を禁止する手段」とを備えたこと
を特徴とする。
Means for Solving the Problems In order to solve the above problems, the automatic focus adjusting device of the present invention, in particular, controls the drive means based on the detection result of the focus detection means in a state in which auxiliary light is not emitted. When the photographing lens is driven, the focus detection means performs a detection operation even while the photographing lens is being driven, and the detection result is also used to control the driving means. "," Focus detection with auxiliary light emitted And a means for prohibiting the detection operation by the focus detection means while the photographing lens is being driven when the photographing means is driven by controlling the driving means based on the detection result of the means.

作用 つまり、補助光を発光していない状態での焦点検出に基
づくレンズ駆動中は焦点検出が行われるが、補助光を発
光した状態での焦点検出に基づくレンズ駆動中は焦点検
出が禁止される。
In other words, focus detection is performed during lens driving based on focus detection in a state in which auxiliary light is not emitted, but focus detection is prohibited during lens driving based on focus detection in a state in which auxiliary light is emitted. .

実施例 第1図はこの発明の基本的な構成を示すブロック図であ
る。自動焦点調節装置作動用手動操作部(1)は自動焦
点調整動作を行なわせるために手動操作され、端子(2
0)に“High”の信号を出力し、シーケンスコントロー
ル回路(2)は、この端子(20)から“High”の信号
が入力している間以下に説明するような自動焦点調整動
作を行なわせる。まず、シーケンスコントロール回路
(2)が端子(21)からスタート信号を出力すると発
光回路(11)が動作してキセノン管(12)が所定量
だけ発光する。このキセノン管(12)の発光光のうち
赤外フィルタ(或いは近赤外フィルタ)(13)を透過
した光だけが被写体に照射され、被写体で反射された光
が撮影レンズ(3)を通過して受光部(4)で受光され
る。
Embodiment FIG. 1 is a block diagram showing the basic configuration of the present invention. The manual operation unit (1) for operating the automatic focus adjusting device is manually operated to perform the automatic focus adjusting operation, and the terminal (2
0) outputs a "High" signal, and the sequence control circuit (2) performs the automatic focus adjustment operation as described below while the "High" signal is input from this terminal (20). . First, when the sequence control circuit (2) outputs a start signal from the terminal (21), the light emitting circuit (11) operates and the xenon tube (12) emits a predetermined amount of light. Of the light emitted from the xenon tube (12), only the light that has passed through the infrared filter (or near infrared filter) (13) is applied to the subject, and the light reflected by the subject passes through the taking lens (3). The light is received by the light receiving section (4).

制御・演算回路(5)は、端子(21)からのスター
ト信号が入力すると受光部(4)による受光動作を開始
させる。そして、受光部(4)からのモニター出力(不
図示)が所定値に達すると受光動作を停止させて受光部
(4)内の各受光画素の出力を取り込む。そして、デフ
ォーカス量及び方向の算出、さらにデフォーカス量に基
づくレンズの移動量データの算出を行なって、算出され
たデフォーカス方向の信号を端子(50)、移動量デー
タを端子(52)に出力する。そしてこの演算動作が完
了すると端子(51)にパルスを出力し、モーター駆動
回路(7)の動作を開始させ端子(50)からの方向信
号に応じた方向へモータ(8)を回転させる。また、端
子(51)からのパルスで端子(52)からの移動量デ
ータがダウンカウンタ(10)にプリセットされる。
When the start signal from the terminal (21) is input, the control / arithmetic circuit (5) causes the light receiving section (4) to start the light receiving operation. When the monitor output (not shown) from the light receiving unit (4) reaches a predetermined value, the light receiving operation is stopped and the output of each light receiving pixel in the light receiving unit (4) is captured. Then, the defocus amount and direction are calculated, and the lens movement amount data is calculated based on the defocus amount. The calculated defocus direction signal is output to the terminal (50) and the movement amount data is output to the terminal (52). Output. When this arithmetic operation is completed, a pulse is output to the terminal (51), the operation of the motor drive circuit (7) is started, and the motor (8) is rotated in the direction according to the direction signal from the terminal (50). Further, the movement amount data from the terminal (52) is preset in the down counter (10) by the pulse from the terminal (51).

モータ(8)が回転すると公知の機構によってレンズ
(3)が移動され、さらにレンズの移動量に対応してエ
ンコーダ(9)からパルスが出力される。ダウンカウン
タ(10)はこのエンコーダ(9)からのパルスでプリ
セットされたデータをダウンカウントして行きダウンカ
ウンタ(10)の内容が“0”になると端子(25)か
らパルスを出力してモータ駆動回路(7)の動作を停止
させてモータ(8)の回転を停止させ、レンズ(3)の
移動を停止させる。これによって、レンズは予定された
移動量だけ移動したことになる。また、ダウンカウンタ
(10)の端子(25)からのパルスはシーケンスコン
トロール回路(2)に入力して、シーケンスコントロー
ル回路(2)の端子(21)からは2回目の測定動作を
開始させるスタート信号を出力する。そして前述と同様
の2回目の動作を行なって再び端子(25)からパルス
が出力されるとレンズの移動を停止させ、以後は、端子
(20)から“High”の信号が入力されていても端子
(21)からはスタート信号は出力されず自動焦点調整
動作は停止される。即ち、一回目の動作によって粗調整
が行なわれ、二回目の動作で正確な合焦位置への微調整
が行なわれることになる。そして、二回目の動作で合焦
位置に達すると、端子(27)が“High”になって表示
回路(14)で合焦表示が行なわれる。
When the motor (8) rotates, the lens (3) is moved by a known mechanism, and the encoder (9) outputs a pulse corresponding to the amount of movement of the lens. The down counter (10) counts down the preset data with the pulse from the encoder (9), and when the content of the down counter (10) becomes “0”, outputs a pulse from the terminal (25) to drive the motor. The operation of the circuit (7) is stopped, the rotation of the motor (8) is stopped, and the movement of the lens (3) is stopped. This means that the lens has moved by the planned amount of movement. In addition, the pulse from the terminal (25) of the down counter (10) is input to the sequence control circuit (2) and the start signal for starting the second measurement operation from the terminal (21) of the sequence control circuit (2). Is output. Then, when the second operation similar to that described above is performed and the pulse is again output from the terminal (25), the movement of the lens is stopped, and thereafter, even if the “High” signal is input from the terminal (20). No start signal is output from the terminal (21) and the automatic focus adjustment operation is stopped. That is, the coarse adjustment is performed by the first operation, and the fine adjustment to the accurate in-focus position is performed by the second operation. When the in-focus position is reached in the second operation, the terminal (27) becomes "High", and the in-focus display is performed on the display circuit (14).

(6)は受光部(4)からの出力に基づいて被写体像の
光強度分布がローコントラストになっているかどうかを
判別する手段である。1回目の測定でローコントラスト
であることが判別され端子(23)が“High”になると
モータ駆動回路(7)の動作は禁止され、コントロール
回路(2)の端子(21)からは2回目の動作を開始さ
せるスタート信号が出力され、2回目の動作が開始す
る。2回目の測定でローコントラストであることが判別
されると、1回目の場合と同様にレンズ(3)の移動は
禁止され、次の測定動作には移行しない。そして、2回
目の動作ではコントロール回路(2)の端子(26)が
“High”になっていて、表示回路(16)によって警告
表示が行なわれる。
Reference numeral (6) is means for determining whether or not the light intensity distribution of the subject image has a low contrast based on the output from the light receiving unit (4). When it is determined that the contrast is low in the first measurement and the terminal (23) becomes “High”, the operation of the motor drive circuit (7) is prohibited, and the second operation is performed from the terminal (21) of the control circuit (2). A start signal for starting the operation is output, and the second operation is started. When it is determined that the contrast is low in the second measurement, the movement of the lens (3) is prohibited as in the first measurement, and the next measurement operation is not performed. Then, in the second operation, the terminal (26) of the control circuit (2) is "High", and the display circuit (16) gives a warning display.

1回目、2回目の動作にかかわらず、算出された移動量
データが合焦領域にはいっていることが判別されると端
子(22)が“High”になり、端子(51)からレンズ
移動をスタートさせるパルスは出力されない。これによ
ってレンズ(3)の移動は開始されず、合焦表示が表示
回路(14)によって表示され、コントロール回路
(2)は次の動作へは移行させず、端子(20)が“Hi
gh”の間はこの状態のままとなる。
Regardless of the first and second operations, when it is determined that the calculated movement amount data is in the focusing area, the terminal (22) becomes “High” and the lens movement is performed from the terminal (51). The pulse to start is not output. As a result, the movement of the lens (3) is not started, the focus display is displayed by the display circuit (14), the control circuit (2) does not shift to the next operation, and the terminal (20) becomes "Hi".
It remains in this state for "gh".

(15)はエンコーダ(9)から一定時間パルスが出力
されないと端子(24)にパルスを出力する。このとき
は、レンズ(3)が終端に達していることになり、合焦
動作が不可能である。従って端子(24)からのパルス
でモータ駆動回路(7)の動作が停止する。このとき第
1回目の動作であれば続いて端子(21)から2回目の
動作を開始させるスタート信号が出力されて2回目の測
定動作が開始する。一方、2回目の動作中に端子(2
4)からパルスが出力されたときは、レンズ(3)の移
動が停止され、端子(26)が“High”なので表示回路
(16)によって警告表示が行なわれ、動作は停止す
る。
(15) outputs a pulse to the terminal (24) if no pulse is output from the encoder (9) for a certain period of time. At this time, the lens (3) has reached the end, and the focusing operation is impossible. Therefore, the operation of the motor drive circuit (7) is stopped by the pulse from the terminal (24). At this time, if it is the first operation, the terminal (21) subsequently outputs a start signal for starting the second operation, and the second measurement operation is started. On the other hand, during the second operation, the terminal (2
When a pulse is output from 4), the movement of the lens (3) is stopped, and since the terminal (26) is "High", a warning is displayed by the display circuit (16) and the operation is stopped.

また、2回目の動作中で端子(26)が“High”のとき
に端子(52)から出力される算出された移動量データ
が所定値よりも大きいときには端子(29)が“High”
となって、レンズ駆動回路(7)の動作は禁止される。
これによってレンズ(3)の移動は行なわれず、表示回
路(16)によって警告表示だけが行なわれる。この場
合、第1回目の動作で誤動作があり、2回目では、バラ
ツキ等のために正確な焦点調整が行なえないので警告の
みを行なうようになっている。
Further, when the terminal (26) is "High" during the second operation and the calculated movement amount data output from the terminal (52) is larger than the predetermined value, the terminal (29) is "High".
Therefore, the operation of the lens drive circuit (7) is prohibited.
As a result, the lens (3) is not moved, and only the warning is displayed by the display circuit (16). In this case, there is a malfunction in the first operation, and in the second operation, an accurate focus adjustment cannot be performed due to variations and the like, so only a warning is given.

以上説明した警告が行なわれた場合には、撮影者は一旦
端子(20)から“High”の信号が出力されないように
操作を止め、条件をかえて再び“High”の信号が出力さ
れるように操作を行なえばよい。
When the above-mentioned warning is issued, the photographer once stops the operation so that the "High" signal is not output from the terminal (20), and changes the condition to output the "High" signal again. You can perform the operation.

以下ではこの発明による電子閃光装置の予備照射を自動
焦点調整のための補助光として用いる場合の実施例を説
明する。
An embodiment will be described below in which the preliminary irradiation of the electronic flash device according to the present invention is used as auxiliary light for automatic focus adjustment.

第2図はこの発明を適用した電子閃光装置を用いたカメ
ラシステム全体を示す回路図であり、この図において太
線は複数ビットの信号線であることを示す。受光部(F
MD)はCCD(ChargeCoupled Device)で構成さ
れ、2列の受光部列を備え、夫々の受光部列は撮影レン
ズの射出瞳からの被写体光のうちで近赤外を含む可視光
を受光する。なお、受光部の光学系等は種々提案されて
いるので省略してある。(COC)はこの受光部(FM
D)の動作を制御する制御回路である。そして、(MC
O1)は自動焦点調整用のまた(MCO2)はカメラの
動作制御用のマイクロ・コンピュータ(以下ではマイコ
ンと称す)である。まず、以上説明した回路部分による
測光動作を説明する。
FIG. 2 is a circuit diagram showing an entire camera system using an electronic flash device to which the present invention is applied. In this figure, thick lines indicate signal lines of a plurality of bits. Light receiving part (F
MD) is composed of a CCD (Charge Coupled Device), and is provided with two rows of light receiving sections, and each of the light receiving section rows receives visible light including near-infrared light among subject light from the exit pupil of the photographing lens. Since various optical systems and the like of the light receiving section have been proposed, they are omitted. (COC) is the light receiving part (FM
It is a control circuit for controlling the operation of D). And (MC
O1) is a microcomputer for automatic focus adjustment, and (MCO2) is a microcomputer (hereinafter referred to as a microcomputer) for controlling the operation of the camera. First, the photometric operation by the circuit portion described above will be described.

マイコン(MCO1)の端子(O3)が“High”になる
と制御回路(COC)の端子(φR)から“High”のパ
ルスが出力され、アナログスイッチ(AS2)が導通し
て、端子(ANM)を介してCCD(FMD)の複数の
電荷蓄積部が定電圧源(E1)の出力電圧まで充電され
る。そして端子(φR)が“Low”になると各受光部の
受光量に応じた電荷が電荷蓄積部に蓄積されていく。こ
のとき、受光部(FMD)のCCD内のモニター用受光
部(不図示)による蓄積電荷に対応した信号が端子(A
NM)から出力され、このとき端子(φR)は“Low”
になっているので、アナログスイッチ(AS1)が導通
していて、モニター用受光部による出力はコンパレータ
(AC1)の反転入力端子に与えられる。電荷が蓄積さ
れていくと、出力電圧は次第に低下していく。このと
き、フラッシュ発光を行なわないモードであれば端子
(O1)が“Low”になり、アナログスイッチ(AS
3)が導通して定電圧源(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), the analog switch (AS2) becomes conductive, and the terminal (ANM) is turned on. Through this, a plurality of charge storage units of the CCD (FMD) are 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 unit are accumulated in the charge storage unit. At this time, a signal corresponding to the electric charge accumulated by the monitor light receiving portion (not shown) in the CCD of the light receiving portion (FMD) is transmitted to the terminal (A
NM), at which time the terminal (φR) is "Low"
Therefore, 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). The output voltage gradually decreases as the charge is accumulated. At this time, if the flash emission mode is not used, the terminal (O1) becomes “Low”, and the analog switch (AS
3) becomes conductive and the output voltage of the constant voltage source (E2) becomes
In the flash emission mode, the terminal (O1) is "High", the analog switch (AS4) is turned on, and the output voltage of the constant voltage source (E3) is applied to the non-inverting terminal of the comparator (AC1).

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

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

電子閃光装置による予備照射を行なう場合、端子(O
1)が“High”となり、コンパレータ(AC1)の非反
転端子には定電圧源(E3)からの電圧が入力する。こ
の定電圧源(E3)の出力電位は定電圧源(E2)の出
力電位よりも高くなっている。従って、モニター部によ
る電荷蓄積量が予備照射を行なわない場合に比較して、
少量の時点で転送パルス(φT)が出力されることにな
る。これは、フラッシュ光による予備照射を行なう場
合、フラッシュ光の強度は急激に変化するので、回路の
応答遅れ等で、電荷蓄積部がオーバーフローを起してし
まい、正しい光量分布の測定が行なえなくなってしまう
ことを防止するためである。
When performing pre-irradiation with an electronic flash device, the terminal (O
1) 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 the constant voltage source (E3) is higher than the output potential of the constant voltage source (E2). Therefore, compared with the case where the amount of charge accumulated by the monitor is not pre-irradiated,
The transfer pulse (φT) is output at a small time point. This is because when pre-irradiation with flash light is performed, the intensity of the flash light changes abruptly, and the charge accumulation section overflows due to the response delay of the circuit, etc., making it impossible to measure the correct light intensity distribution. This is to prevent it from being lost.

前述のように電荷蓄積を開始させるために端子(O3)
が“High”になると、ワンショット回路(OS1)から
パルスが出力され、そのパルスはアンド回路(AN1)
を介して出力され、端子(JB1)、(JF1)を介し
て電子閃光装置(FLC)に発光開始信号として送られ
る。一定時間が経過しても転送パルス(φT)が出力さ
れないときは端子(O2)からパルスを出力させて転送
パルスを強制的に出力させて、電荷蓄積動作を停止させ
る。ところで蓄積時間を制限する一定時間は予備照射を
行なわない場合に比較して短時間となっている。これ
は、電子閃光装置の発光時間が短かく積分時間を長くし
ておく必要がないからである。
As described above, the terminal (O3) is used to start the charge accumulation.
When "High", the one-shot circuit (OS1) outputs a pulse, and the pulse is the AND circuit (AN1).
Is output via the terminals (JB1) and (JF1) to the electronic flash device (FLC) as a light emission start signal. When the transfer pulse (φT) is not output even after a certain period of time, the pulse is output from the terminal (O2) to forcibly output the transfer pulse, and the charge storage operation is stopped. By the way, the fixed time for limiting the accumulation time is shorter than that when the preliminary irradiation is not performed. This is because the light emission time of the electronic flash device is short and it is not necessary to lengthen the integration time.

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

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

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

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

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

(EDO)は設定された露出制御用データを出力するブ
ロックで、端子(OP13)からの読み出し信号に基づい
て設定データが順次端子(IP10)を介して読み取られ
る。(LMC)は測光回路で、A−D変換用のアナログ
入力端子(ANI)には測光回路(LMC)の出力が入
力する。また、マイコン(MCO2)のD−A変換器用
の基準電圧として、測光回路(LMC)内の基準電圧が
端子(VRI)に入力する。(EXD)は露光制御値を
表示する表示回路で端子(OP14)からの表示データに
基づいて露出制御値(即ち制御されるべき絞り値、シャ
ッタ速度値又はそれ等の組合せ)を表示する。(EX
C)は露出制御回路であり端子(OP15)からの信号に
基づいて絞りと露出時間を制御する。また、露出制御回
路(EXC)の端子(TIE)はシャッターレリーズの
時点から後幕の走行開始後一定時間経過時点まで“Hig
h”となり、撮影時のフラッシュ発光量制御用の積分動
作を可能状態とする。
(EDO) is a block for outputting the set exposure control data, and the setting data is sequentially read through the terminal (IP10) based on the read signal from the terminal (OP13). (LMC) is a photometric circuit, and the output of the photometric circuit (LMC) is input to the analog input terminal (ANI) for AD conversion. Further, the reference voltage in the photometric circuit (LMC) is input to the terminal (VRI) as the reference voltage for the DA converter of the microcomputer (MCO2). (EXD) is a display circuit for displaying the exposure control value and displays the exposure control value (that is, the aperture value to be controlled, the shutter speed value or a combination thereof) based on the display data from the terminal (OP14). (EX
C) is an exposure control circuit which controls the aperture and the exposure time based on the signal from the terminal (OP15). Also, the terminal (TIE) of the exposure control circuit (EXC) is set to "Hig
It becomes h ”, and the integration operation for controlling the flash emission amount at the time of shooting is enabled.

(LEB)はレンズ側の回路(LEC)からデータを読
み取るための回路である。前述の如くトランジスタ(B
T1)が導通すると、電源ライン(+V)から端子(J
B11),(JL1)を介してレンズ側の回路(LEC)
への給電が行なわれる。そして、マイコン(MCO2)
の端子(O15)が“High”になると回路(LEB)が動
作可能状態となり、さらに、端子(JB12)、(JL
2)が“High”となって、レンズ側の回路(LEC)も
動作可能状態となる。レンズ側の回路(LEC)内に
は、この交換レンズ固有の露出制御用及び自動焦点調整
用のデータを複数のアドレスに固定記憶したROMと、
このROMのアドレスを端子(JB13),(JL3)を
介して入力してくるクロックパルスを、ズームレンズで
あれば設定焦点距離に応じたコード板の出力に基づいて
順次ROMのアドレスを指定するアドレス指定手段と、
ROMから並列に出力されるデータを、端子(JB1
3),(JL3)を介して入力してくるクロックパルス
に基づいて順次1ビットづつ端子(JL4),(JB1
4)を介して出力する並列−直列変換手段とを備えてい
る。
(LEB) is a circuit for reading data from the circuit (LEC) on the lens side. As described above, the transistor (B
When T1) becomes conductive, the power supply line (+ V) changes to the terminal (J
B11), (JL1) through lens side circuit (LEC)
Is supplied to. And microcomputer (MCO2)
When the terminal (O15) of is set to "High", the circuit (LEB) becomes operable, and further, the terminals (JB12), (JL
2) becomes “High”, and the circuit (LEC) on the lens side becomes operable. In the lens side circuit (LEC), a ROM in which exposure control data and automatic focus adjustment data unique to the interchangeable lens are fixedly stored at a plurality of addresses,
An address for sequentially specifying the ROM address based on the output of the code plate according to the set focal length in the case of a zoom lens for the clock pulse that inputs the address of this ROM through terminals (JB13) and (JL3) Designating means,
The data output from the ROM in parallel is output to the terminal (JB1
3), based on the clock pulse input via (JL3), the terminals (JL4), (JB1
4) through parallel-serial conversion means for outputting via.

ROMに固定記憶されているデータとしては、すべての
交換レンズに共通に設けられているレンズの装置を確認
するためのチエックデータ、開放絞り値のデータ、最大
絞り値のデータ、開放測光誤差のデータ、焦点距離のデ
ータ、ズームレンズで設定焦点距離に応じた絞りの変化
量のデータ等がある。さらに、焦点検出装置で検出され
たデフォーカス量をレンズの駆動量に変換するための変
換係数(KD)、電子閃光装置による予備照射の際に被
写体がまぶしく感じることを防止するよう近赤外光を照
射して焦点検出を行なうことに対する近赤外光と可視光
での合焦位置のズレ即ちデフォーカス量の差を補正する
ための(つまり、近赤外光で測定したデフォーカス量を
可視光でのデフォーカス量に補正するための)データ
(IRD)、レンズを一方の方向から他方の方向に駆動
方向を変えたとき、カメラ側の駆動軸とレンズ側の従動
軸との嵌合ガタによって駆動軸を余分に駆動する必要が
あるときの余分の駆動量即ちバックラッシュデータ(B
LD)等がある。
The data fixedly stored in the ROM include check data for confirming the lens device commonly provided for all interchangeable lenses, open aperture value data, maximum aperture value data, open metering error data. , Focal length data, aperture variation data according to the focal length set by the zoom lens, and the like. Furthermore, a conversion coefficient (KD) for converting the defocus amount detected by the focus detection device into the drive amount of the lens, the near infrared light so as to prevent the subject from feeling dazzling during preliminary irradiation by the electronic flash device. In order to correct the difference in focus position between near infrared light and visible light, that is, the difference between the defocus amount and the focus detection by irradiating the light (that is, the defocus amount measured by the near infrared light is visible. Data (for correcting the defocus amount by light) (IRD), when the driving direction of the lens is changed from one direction to the other direction, the fitting backlash between the drive shaft on the camera side and the driven shaft on the lens side The extra drive amount when it is necessary to drive the drive axis by extra, that is, the backlash data (B
LD) etc.

マイコン(MCO2)の端子(SCP)からは8個づつ
のクロックパルスが出力されて、レンズ側の回路(LE
C)では8個のクロックパルスが入力される毎に、RO
Mのアドレスが更新され、指定されたアドレスに固定記
憶されているデータがクロックパルスに基づいて順次直
列で出力され、マイコン(MCO2)の直列入出力端子
(SIO)から順次読み取られていく。
Eight clock pulses are output from the terminal (SCP) of the microcomputer (MCO2), and the lens side circuit (LE
In C), every time 8 clock pulses are input, RO
The address of M is updated, and the data fixedly stored at the designated address is sequentially output in series based on the clock pulse and sequentially read from the serial input / output terminal (SIO) of the microcomputer (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)に連動
して同相で開閉されるスイッチである。そして抵抗(R
1)〜(R4)はメインコンデンサ(C2)の充電電圧
を分圧する抵抗であり、(VC)は定電圧源である。抵
抗(R1)と(R2)の接続点の電位が定電圧源(V
C)の電位を上まわるとコンパレータ(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)への入力は常に“Lo
w”となり予備照射可能信号はカメラ側に送られずカメ
ラは予備照射モードにはならず、また、オア回路(OR
20)の出力は“Low”のままので発光はしない。
(FLB) is an electronic flash device control circuit, and (FLC)
Is a circuit in an electronic flash device to which the present invention is applied. A specific example of the circuit (FLC) in the electronic flash device is shown in FIG. 3, and the operation using the electronic flash device will be described below in conjunction with FIG. In FIG. 3, (BF) is a power supply battery of the electronic flash device, and (SMF) is a main switch. (DD) is a booster circuit, and the booster circuit (DD) 2
The high voltage terminal on the next winding side is connected to the main capacitor (C2) via the diode (D1), and the main capacitor (C2) is charged by the voltage from the high voltage terminal. Also, 2
The low voltage terminal of the next winding is connected to the capacitor (C1) via the diode (D2), and the capacitor (C1) is charged by the output voltage thereof. When the main switch (SMF) is closed, the transistors (BT2), (BT3) become conductive, and the boosted output from the voltage stabilization circuit (CV) or the output of the power supply battery (BF) via the diode (D3) is generated. Power is supplied to the power supply line (VF) through the transistor (BT3). Electric power is supplied from the power supply line (VF) to all circuits whose power supply path is not shown in FIG. When power supply from the power supply line (VF) is started, a reset signal is output from the power-on reset circuit (PO2), and the digital circuit section is reset.
The switch (SOF) is a switch that opens and closes in phase with the main switch (SMF). And resistance (R
1) to (R4) are resistors for dividing the charging voltage of the main capacitor (C2), and (VC) is a constant voltage source. The potential at the connection point between the resistors (R1) and (R2) is the constant voltage source (V
The output "High" next to the exceed the potential of C) a comparator (AC 2 1), when it becomes the output input signal is "High", the to the lowest voltage required for the xenon tube (XE1) emits light Means that the capacitor (C2) has been charged, and when the light emission start signal is input, the xenon tube (XE2)
Light emission is started. When the potential of the connection point of the resistors (R2) and (R3) is exceed the output potential of the constant voltage source (VC), the output of the comparator (AC 2 2) becomes "High". In this case, the voltage of the main capacitor (C2) has been charged to a voltage necessary for the amount of light emitted from the xenon tube (XE2) to reach the nominal amount of light emission, and a charge completion signal is sent to the camera body. At the same time, the display circuit (CDP) displays the completion of charging. When the potential at the connection point of the resistor (R3) and (R4) is exceed the output potential of the constant voltage source (VC) output of the comparator (AC 2 3) it becomes "High". At this time, the main capacitor (C2) is charged to a value necessary for the xenon tube (XE2) for photographing to emit light at a nominal value and for the xenon tube (XE1) for preliminary irradiation to emit a predetermined amount of light twice. This signal is sent to the camera side as a preliminary irradiation enable signal. The switch (SS) is a switch that can be manually switched. If this switch (SS) is connected to the terminal (EN), the preliminary irradiation enable signal is sent to the camera side, but the terminal (DEN)
If it is connected to, the input to the terminal (PCH) is always "Lo
w ”and the preliminary irradiation enable signal is not sent to the camera side, the camera does not enter the preliminary irradiation mode, and the OR circuit (OR
The output of 20) remains "Low" and does not emit light.

(TR1),(TR2)は夫々キセノン管(XE1),
(XE2)のトリガー及びサイリスタ(SC1),(S
C2)を導通させるトリガー回路、(ST1),(ST
2)は夫々サイリスタ(SC1),(SC2)を不導通
としてキセノン管(XE1),(XE2)の発光を停止
させるストップ回路である。また、キセノン管(XE
1)は予備照射用であり、このキセノン管(XE1)の
光射出位置には、近赤外を透過し、近赤外よりも波長の
短い可視光をカットするフィルタ(FLT)が設けてあ
り、予備照射を行なった際に被写体の人物がまぶしく感
じないようになっている。
(TR1) and (TR2) are xenon tubes (XE1),
(XE2) trigger and thyristor (SC1), (S
Trigger circuit for conducting C2), (ST1), (ST
2) is a stop circuit that makes the thyristors (SC1) and (SC2) non-conductive and stops the light emission of the xenon tubes (XE1) and (XE2). In addition, xenon tube (XE
1) is for pre-irradiation, and a filter (FLT) that transmits near infrared rays and cuts visible light having a shorter wavelength than near infrared rays is provided at the light emission position of this xenon tube (XE1). , When the preliminary irradiation is performed, the subject person does not feel dazzled.

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

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

露出制御動作を開始させるときはマイコン(MCO2)
の端子(O14)から150μsec巾のパルスを出力する。す
るとモード判別回路(FMS)は端子(FLM)を“Hi
gh”にする。これによって発光制御回路(FLC)が能
動状態となり発光制御が行なわれる。カメラのフオーカ
ルプレンシャッタの先幕の走行が完了してX接点(S
X)が閉成されると、端子(JB4),(JF4)から
発光開始信号が端子(STA)へ入力し、端子(α1)
から発光開始信号が出力される。またこれと同時に端子
(α3)が“High”から“Low”に反転してこの信号が
端子(JF3),(JB3)を介してカメラ側に送られ
る。カメラ側では、端子(JB3)が“Low”になる
と、回路(FLB)内の測光積分回路(不図示)が、フ
ラッシュ光によって照明されている被写体から反射さ
れ、撮影レンズの絞り(不図示)を通過した光の量を積
分し、積分量がアナログ出力端子(ANO)からのフィ
ルム感度に対応したアナログ値に達すると、端子(JB
2)に発光停止用のパルスを出力する。このパルスは端
子(JF2)を介して発光制御回路(FLC)の端子
(STP)に入力される。すると、端子(α2)から発
光停止信号が出力されてキセノン管(XE2)の発光が
停止される。また、端子(α2)からの発光停止信号は
表示回路(FDP)にも送られて、露出制御動作が完了
するとX接点(SX)が開放されるが、この信号に基づ
いてX接点(SX)開放から一定時間端子(df)が“Hi
gh”になり、この間は調光動作が行なわれたことを表示
する。さらにこの信号はデータ出力回路(DOU)を介
してカメラ側にも送られる。また、X接点(SX)が開
放されると端子(r3)からパルスが出力され、オア回路
(OR12)を介してモード判別回路(FMS)がリセッ
トされて端子(FLM)が“Low”になる。
Microcomputer (MCO2) to start exposure control operation
Output a pulse of 150 μsec width from the terminal (O14). Then, the mode discrimination circuit (FMS) sets the terminal (FLM) to "Hi".
gh ”. This activates the light emission control circuit (FLC) to perform light emission control. The front curtain of the focal plane shutter of the camera is completed and the X contact (S
When X) is closed, the light emission start signal is input from the terminals (JB4) and (JF4) to the terminal (STA), and the terminal (α1)
Emits a light emission start signal. At the same time, the terminal (α3) is inverted from “High” to “Low” and this signal is sent to the camera side through the terminals (JF3) and (JB3). On the camera side, when the terminal (JB3) becomes "Low", the photometric integration circuit (not shown) in the circuit (FLB) is reflected from the subject illuminated by the flash light and the aperture of the taking lens (not shown). When the integrated amount reaches the analog value corresponding to the film sensitivity from the analog output terminal (ANO), the terminal (JB
A pulse for stopping light emission is output to 2). This pulse is input to the terminal (STP) of the light emission control circuit (FLC) via the terminal (JF2). Then, a light emission stop signal is output from the terminal (α2) and the light emission of the xenon tube (XE2) is stopped. The light emission stop signal from the terminal (α2) is also sent to the display circuit (FDP), and the X contact (SX) is opened when the exposure control operation is completed. Based on this signal, the X contact (SX) is opened. The terminal (df) stays at "Hi" for a certain time after opening.
gh ”, indicating that the dimming operation has been performed during this period. This signal is also sent to the camera side via the data output circuit (DOU). Also, the X contact (SX) is opened. Then, 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)の端子
(O)が“High”の状態で端子(O3)から蓄積を開始
させるために“High”の信号が出力されると、ワンシヨ
ット回路(OS1)からパルスが出力されてこのパルス
がアンド回路(AN1)から出力される。このパルスは
端子(JB1),(JF1)を介して第3図のアンド回
路(AN20)に入力される。このとき、Dフリップフロ
ップ(DF21)の出力は“High”になって、コンパレ
ータ(AC23)の出力が“High”になっていて、オア
回路(OR20)の出力が“High”なので、アンド回路
(AN20)に入力されるパルスはアンド回路(AN20)
から出力される。このパルスはトリガー回路(TR1)
に送られてキセノン管(XE1)による予備照射が開始
する。そしてアンド回路(AN20)からのパルスはDフ
リップフロップ(RF20)をセットするのでカウンタ
(CO6)のリセット状態を解除してカウンタ(CO
6)はカウントを開始する。そして、カウントが開始さ
れて一定時間が経過するとデコーダ(DE6)の端子
(f1)が“High”となりワンショット回路(OS22)か
らパルスが出力される。このパルスは発光停止回路(S
T1)に送られてキセノン管(XE1)の予備照射が停
止される。また端子(f1)が“High”となることでオア
回路(OR22)を介してフリップフロップ(RF20)が
リセットされ、カウンタ(CO6)はリセット状態とな
り、端子(f1)は“Low”となる。また、アンド回路
(AN20)の出力パルスはDフリップフロップ(DF2
0)のクロックパルス入力端子に送られてコンパレータ
(AC23)の“High”の出力がラッチされ、Dフリッ
プフロップ(DF20)のQ出力が“High”になる。
In the pre-irradiation mode, when the terminal (O) of the microcomputer (MCO1) is in the "High" state and a "High" signal is output from the terminal (O3) to start the accumulation, the one-yacht circuit (OS1) outputs a pulse. Is output and this pulse is output from the AND circuit (AN1). This pulse is input to the AND circuit (AN20) of FIG. 3 through terminals (JB1) and (JF1). In this case, D output of the flip-flop (DF21) is turned to "High", the comparator have become the output is "High" of the (AC 2 3), the output of the OR circuit (OR20) is because "High", and The pulse input to the circuit (AN20) is an AND circuit (AN20).
Is output from. This pulse is a trigger circuit (TR1)
Then, the preliminary irradiation with the xenon tube (XE1) is started. Then, the pulse from the AND circuit (AN20) sets the D flip-flop (RF20), so that the reset state of the counter (CO6) is released and the counter (CO6) is released.
6) starts counting. Then, when a certain period of time has elapsed from 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 a light emission stop circuit (S
It is sent to T1) and the preliminary irradiation of the xenon tube (XE1) is stopped. Further, when the terminal (f1) becomes "High", the flip-flop (RF20) is reset via the OR circuit (OR22), the counter (CO6) is reset, and the terminal (f1) becomes "Low". The output pulse of the AND circuit (AN20) is the D flip-flop (DF2
The output of 0) is sent to the clock pulse input terminal the comparator (AC 2 3) of "High" is latched, Q output of the D flip-flop (DF20) becomes "High".

二度目のパルスがアンド回路(AN20)から出力された
ときにメインコンデンサ(C2)の充電電圧が低下して
コンパレータ(AC23)の出力が“Low”になっていて
も、一回目の発光時点でDフリップフロップ(DF20)
のQ出力が“High”になっているのでオア回路(OR2
0)の出力が“High”になっていて、アンド回路(AN2
0)からはパルスが出力される。そしてそのパルスによ
って前述と同様の発光動作が行なわれる。また、このパ
ルスによってDフリップフロップ(DF21)のQ出力が
“High”になる。するとワンショット回路(OS20)か
らパルスが出力され、このパルスの立ち下がりでワンシ
ョット回路(OS21)からパルスが出力され、Dフリッ
プフロップ(DF20)、(DF21)がリセットされて初
期状態に戻る。
Even with the charging voltage of the main capacitor (C2) is lowered placed in the output is "Low" of the comparator (AC 2 3) when the second time pulse is outputted from the AND circuit (AN20), first-time emission D flip-flop (DF20)
Since the Q output of is high, the OR circuit (OR2
The output of 0) is "High", and the AND circuit (AN2
A pulse is output from 0). Then, the pulse causes the same light emitting operation as described above. Further, the Q output of the D flip-flop (DF21) becomes "High" by this pulse. Then, a pulse is output from the one-shot circuit (OS20), a pulse is output from the one-shot circuit (OS21) at the falling edge of this pulse, and the D flip-flops (DF20) and (DF21) are reset to return to the initial state.

第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)の入力端子(IP
2),(IP3),(IP4)に送る。そして、出力端
子(O10)を“High”にする。この信号はマイコン(M
CO1)の割込端子(it2)に入力されていて、この信
号が出力されるとマイコン(MCO1)は動作を開始す
る。
FIG. 4 is a flowchart showing the operation of the microcomputer (MCO2) shown in FIG. The operation of the system shown in FIG. 2 will be described below with reference to this flowchart. When the photometric switch (S1) is closed and an interrupt signal is input to the terminal (it), the microcomputer (MCO2) starts its operation. First, it is determined whether the flag LMF is "1". This flag LMF
Is 1 if the exposure control data has been calculated, but since the calculation has not been performed when the photometry switch (S1) is closed and an interrupt signal is input, the flag is set. LMF is "0", and the process shifts in step S2. In the step of S2, the terminal (O12) is set to "High" to make the transistor (BT1) conductive and the power supply line (+ V).
Power supply is started via. Next, the serial input / output operation is performed a plurality of times to capture a plurality of data from the lens circuit (LEC), and the conversion coefficient (KD) required for automatic focus adjustment is input to the terminal (OP10) to the near infrared light. Outputs the correction data (IRD) of the in-focus position between the light and visible light to the terminal (OP11) and the backlash data (BLD) to the terminal (OP12), and inputs it to the microcomputer (MCO1) for automatic focus adjustment (MCO1). IP
2), (IP3), (IP4). Then, the output terminal (O10) is set to "High". This signal is sent to the microcomputer (M
The signal is input to the interrupt terminal (it2) of CO1), and when this signal is output, the microcomputer (MCO1) starts its operation.

ステップS8では設定データを出力するブロック(ED
O)からのデータを取り込み、次に、直列入出力動作を
行なって電子閃光装置からのデータを直列で取り込む。
そして、予備照射が可能な信号が入力していれば端子
(O16)を“High”に、入力していなければ“Low”に
する。そして次に、測光回路(LMC)からの測光出力
をA−D変換する。以上は露出演算に必要なデータはす
べて取り込んだことになる。
In step S8, a block (ED
O), and then serial input / output operation to serially capture the data from the electronic flash device.
Then, the terminal (O16) is set to "High" if a signal capable of preliminary irradiation is input, and is set to "Low" if not input. Then, the photometric output from the photometric circuit (LMC) is AD converted. All the data required for the exposure calculation has been imported.

次に、定常光撮影用及びフラッシュ光撮影用の露出演算
を行なってフラグLMFを“1”にし割込を可能とす
る。ステップS15では直列入出力動作を行なって電子閃
光装置へデータを送る。ステップS16では、電子閃光装
置から給電信号を読み取ったかどうかを判別し、給電信
号を読み取っている場合にはフラッシュ光用撮影用デー
タ、読み取ってなければ定常光用撮影データを表示部
(EXD)に送ってステップS27に移行する。そしてス
テップS27では測光スイッチ(S1)が閉成されたまま
で端子(i12)が“High”になっているかどうかを判別
して、“High”になっていればステップS3に戻つて前
述と同様の動作を繰り返す。一方、ステップS27で端子
(i12)が“Low”になっていることが判別されると、
端子(O10)を“Low”として自動焦点調整動作を停止
させ、フラグLMFを“0”にし、端子(O12)を“Lo
w”としてトランジスタ(BT1)を不導通として電源
ライン(+V)からの給電を停止させ、表示部(EX
D)の表示を消灯してマイコン(MCO2)は動作を停
止する。
Next, exposure calculation for stationary light photography and flash light photography is performed to set the flag LMF to "1" to enable interruption. In step S15, serial input / output operation is performed to send data to the electronic flash device. In step S16, it is determined whether or not the power supply signal is read from the electronic flash device. If the power supply signal is read, the flash light shooting data is displayed, and if not, the stationary light shooting data is displayed on the display unit (EXD). Then, the process proceeds to step S27. Then, in step S27, it is determined whether or not the terminal (i12) is "High" while the photometric switch (S1) remains closed. If it is "High", the process returns to step S3 and the same as above. Repeat the operation. On the other hand, if it is determined in step S27 that the terminal (i12) is "Low",
The terminal (O10) is set to "Low" to stop the automatic focus adjustment operation, the flag LMF is set to "0", and the terminal (O12) is set to "Lo".
As w ″, the transistor (BT1) is made non-conductive to stop the power supply from the power supply line (+ V), and the display unit (EX
The display of D) is turned off and the microcomputer (MCO2) stops its operation.

露出制御用データが算出された状態で割込信号が入力す
るとステップS20に移行して端子(O10)を“Low”に
して自動焦点調整動作を停止させる。そして、電子閃光
装置から給電信号が入力しているかどうかを判別して、
給電信号が入力されていればフラッシュ光撮影用のデー
タ、入力されていなければ定常光撮影用のデータが露出
制御部(EXC)に送られる。次にステップS24では
自動焦点調整用の動作が完全に停止して端子(i11)が
“Low”になっているかどうかを判別し、“Low”になっ
ていなければ“Low”になるのを待つ。これは撮影レン
ズの移動中に露出制御動作が開始してしまうことを防止
するためである。
When an interrupt signal is input while the exposure control data is calculated, the process proceeds to step S20, the terminal (O10) is set to "Low" and the automatic focus adjustment operation is stopped. Then, it is determined whether or not the power supply signal is input from the electronic flash device,
If the power supply signal is input, data for flash light photography is sent to the exposure control unit (EXC), and if not, data for steady light photography is sent. Next, in step S24, it is determined whether or not the operation for automatic focus adjustment has completely stopped and the terminal (i11) is at "Low". If not, it waits until it becomes "Low". . This is to prevent the exposure control operation from starting during the movement of the taking lens.

端子(i11)が“Low”になると露出制御回路(EX
C)による露出制御動作が行なわれ、マイコン(MCO
2)は、露出制御動作が完了してリセットスイッチ(S
4)が開放され端子(i10)が“Low”になるのを待
つ。そして、端子(i10)が“Low”になるとステップ
S27で測光スイッチ(S1)が閉成されているかどうか
を判別し、閉成されていれば前述のステップS3に移行
してデータ取り込み、演算・表示動作を繰り返し、測光
スイッチ(S1)が閉成されてなければ前述のステップ
S28に移行して前述と同様の動作を行なった後マイコン
(MCO2)は動作を停止する。
When the terminal (i11) becomes "Low", the exposure control circuit (EX
The exposure control operation by C) is performed, and the microcomputer (MCO
2) is the reset switch (S
Wait until 4) is opened and the terminal (i10) becomes "Low". When the terminal (i10) becomes "Low", it is determined in step S27 whether or not the photometric switch (S1) is closed. The display operation is repeated, and if the photometric switch (S1) is not closed, the microcomputer (MCO2) stops the operation after proceeding to step S28 and performing the same operation as described above.

第5−1〜5−3図はマイコン(MCO1)による自動
焦点調整のための動作を示すフローチャートである。以
下第5−1〜第5−3図に基づいて第2図の回路の自動
焦点調整のための動作を説明する。マイコン(MCO
2)の端子(O10)が自動焦点調整動作の開始のために
“High”になると、端子(it2)に割込信号が入力し、
マイコン(MCO1)の動作が開始する。まず#1のス
テップでは自動焦点調整動作が行なわれていることをマ
イコン(MCO2)は伝達するため端子(O7)を“Hi
gh”とする。そして、端子(O3)を“High”にして制
御回路(COC)によって、受光部(FMD)のCCD
による電荷蓄積動作を開始させる。
FIGS. 5-1 to 5-3 are flowcharts showing the operation for automatic focus adjustment by the microcomputer (MCO1). The operation for automatic focus adjustment of the circuit of FIG. 2 will be described below with reference to FIGS. 5-1 to 5-3. Microcomputer (MCO
When the terminal (O10) of 2) becomes "High" to start the automatic focus adjustment operation, an interrupt signal is input to the terminal (it2),
The operation of the microcomputer (MCO1) starts. First, in step # 1, the microcomputer (MCO2) informs the terminal (O7) that the automatic focus adjustment operation is being performed.
gh ”. Then, the terminal (O3) is set to“ High ”and the control circuit (COC) controls the CCD of the light receiving unit (FMD).
To start the charge storage operation.

#3のステップでは、マイコン(MCO1)内の外部又
は内部のクロックをカウントするカウンタCORの内容
をレジスタECR1に設定する。これは後述するよう
に、撮影レンズを移動させながら焦点検出を行なうため
に、焦点検出中のレンズの移動量を算出するために必要
なデータであり、第1回目の測定時には必要がない。な
お、カウンタCOR、レジスタECRはマイコン(MC
O1)内のものであり、以下の説明でも、符号がカッコ
でくくられていないカウンタ、レジスタ、等はマイコン
内のものである。#4のステップでは割込を可能とし
て、#5のステップに移行する。#5のステップではフ
ラグFLFが“1”かどうかを判別する。このフラグ
は、フラッシュによる予備照射が行なわれるときは
“1”となり、定常光だけによる測定が行なわれるとき
は、“0”になっている。第1回目の測定の際には必ら
ず予備照射は行なわれずフラグFLFは“0”になって
いて、#6のステップに移行する。
In step # 3, the content of the counter COR that counts an external or internal clock in the microcomputer (MCO1) is set in the register ECR1. As will be described later, this is data necessary for calculating the amount of movement of the lens during focus detection in order to perform focus detection while moving the taking lens, and is not necessary at the time of the first measurement. The counter COR and the register ECR are microcomputers (MC
O1), and in the following description, the counters, registers, etc., in which the reference numerals are not enclosed in parentheses are those in the microcomputer. Interruption is possible in step # 4, and the process proceeds to step # 5. In step # 5, it is determined whether the flag FLF is "1". This flag is set to "1" when the preliminary irradiation by the flash is performed, and is set to "0" when the measurement using only the stationary light is performed. During the first measurement, the preliminary irradiation is not necessarily performed, the flag FLF is "0", and the process proceeds to step # 6.

#6のステップではタイマー用レジスタTIR1に固定
値Kaを設定する。次にレジスタECR4にカウンタC
ORの内容を設定し、タイマー用レジスタTIR2に固
定値K1を設定する。そしてタイマー用レジスタTIR
2の内容から“1”を減算し、このレジスタTIR2の
内容が“0”になっているかどうかを判別するという動
作を繰り返し一定時間待つ。一定時間が経過すると、#
11のステップで入力端子(i3)が“Low”になっている
かどうかを判別し、“Low”になっていれば、前述のよ
うにマイコン(MCO2)から自動焦点調整動作を停止
させる信号が入力しているので、#210のステップから
始まる自動焦点調整動作を停止させる動作を行なう。一
方、端子(i3)が“High”なら、#12のステップでフラ
グFPFが“1”かどうかを判別する。このフラグFP
Fは第1回目の測定のようにモーター(MO)が停止し
ているときには“1”になっている。従って、フラグF
PFが“1”でモーター(MO)が停止していれば#12
のステップから#15のステップに移行し、#6のステッ
プで固定値Kaが設定されたレジスタTIR1から
“1”を減算して、TIR1の内容が“0”になったか
どうかを判別し、“0”でなければ#7のステップに戻
り同様の動作を繰り返す。そしてこの動作が繰り返され
ている間に第2図のコンパレータ(AC1)の出力が
“High”に反転すると、制御回路(COC)の端子(φ
T)から転送パルスが出力され、このパルスは割込端子
(it1)に入力してマイコン(MCO1)は#25のステ
ップからの動作を開始する。また、#16のステップでレ
ジスタTIR1の内容が“0”になったことが判別され
ると、#21のステップで端子(O2)にパルスを出力し
て前述のように強制的に蓄積動作を停止させ、フラグT
OFを“1”にして、動作を終了し、端子(it1)への
割込信号を待つ。ここで#2のステップで蓄積動作を開
始させてから、#16のステップでレジスタTIR1の内
容が“0”であることが判別されるまでの時間は一定時
間になっていて、蓄積時間はこれ以上は長くならないよ
うになっている。
In step # 6, a fixed value Ka is set in the timer register TIR1. Next, the counter C is set in the register ECR4.
The contents of OR are set, and the fixed value K1 is set in the timer register TIR2. And the timer register TIR
The operation of subtracting "1" from the content of 2 and determining whether the content of the register TIR2 is "0" is repeated and waits for a fixed time. After a certain amount of time, #
In step 11, it is determined whether the input terminal (i3) is "Low". If it is "Low", the signal to stop the automatic focus adjustment operation is input from the microcomputer (MCO2) as described above. Therefore, the operation for stopping the automatic focus adjustment operation starting from step # 210 is performed. On the other hand, if the terminal (i3) is "High", it is determined in step # 12 whether the flag FPF is "1". This flag FP
F is "1" when the motor (MO) is stopped as in the first measurement. Therefore, the flag F
If the PF is "1" and the motor (MO) is stopped, # 12
From the step of # 15 to the step of # 15, “1” is subtracted from the register TIR1 in which the fixed value Ka is set in the step of # 6 to determine whether the content of TIR1 becomes “0”. If it is not "0", the process returns to step # 7 and the same operation is repeated. When the output of the comparator (AC1) in FIG. 2 is inverted to "High" while this operation is repeated, the terminal (φ of the control circuit (COC)
A transfer pulse is output from T), this pulse is input to the interrupt terminal (it1), and the microcomputer (MCO1) starts the operation from step # 25. If it is determined in step # 16 that the content of the register TIR1 has become "0", a pulse is output to the terminal (O2) in step # 21 to force the accumulation operation as described above. Stop, flag T
The OF is set to "1" to end the operation and wait for the interrupt signal to the terminal (it1). Here, the time from when the accumulation operation is started in step # 2 to when it is determined in step # 16 that the content of the register TIR1 is “0” is a fixed time, and the accumulation time is The above does not become long.

モーター(MO)が動作されているときにはフラグFP
Fは“0”になつていて#12のステップから#13のステ
ップではカウンタCORの内容をレジスタECR5に設
定する。そして#14のステップに移行する。この#13の
ステツプでは、#7のステップでカウンタCORの内容
を設定したレジスタECR4の内容と、このレジスタE
CR5の内容とを比較する。#7と#13のステップの間
には一定時間が経過していて、この間にレンズが移動し
てなければエンコーダ(ENC)からはクロックパルス
が入力してなく(ECR4)=(ECR5)になってい
る。従って、モーター(MO)は駆動されていてもレン
ズは終端位置(無限遠位置又は最近接位置)に達してい
てレンズは移動しなくなっていることになる。この場合
には、フラグLSF(通常の合焦動作中は“0”、被写
体像のコントラストが低いことを示すローコントラスト
信号が出力されて、ローコントラストでないレンズ位置
を走査しているときは“1”となっている)の内容を判
別して、“1”ならローコントラストでの走査中であり
#158のステップに移行し、“0”なら通常合焦動作中
であって#63のステップに移行する。
Flag FP when the motor (MO) is operating
F has become "0", and the contents of the counter COR are set in the register ECR5 in steps # 12 to # 13. Then, the process proceeds to step # 14. In this step of # 13, the contents of the register ECR4 in which the contents of the counter COR are set in the step of # 7 and this register E
Compare with the contents of CR5. A certain time has passed between steps # 7 and # 13, and if the lens does not move during this time, no clock pulse is input from the encoder (ENC) and (ECR4) = (ECR5). ing. Therefore, even if the motor (MO) is driven, the lens has reached the end position (infinity position or closest position) and 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, and “1” is output when a lens position that is not low contrast is scanned. If the value is "1", the scan is in low contrast and the process proceeds to step # 158. If the value is "0", the normal focusing operation is in progress and the process proceeds to step # 63. Transition.

#5のステップでフラグFLFが“1”であればフラッ
シュ光を予備照射するモードであり、このときは#17の
ステップに移行する。このときはレジスタTIR1に固
定値Kfを設定してレジスタTIR1から“1”を減算
し、端子(i3)が“Low”かどうかを判別して、“Hig
h”であればTIR1の内容が“0”かどうかを判別す
る。そして“0”でなければ#18のステップに戻る動作
を繰り返し、#20のステップでTIR1の内容が“0”
になると#21のステップに移行して前述の動作を行な
う。この予備照射モードの際には定常光モードの場合に
比較して蓄積時間の制限が非常に短かくなっている。こ
れは、以下の理由でこのように構成されている。予備照
射光には被写体である人間がまぶしく感じないように近
赤外領域の光を用いている。一方、予備照射を行なわな
い場合は定常光で測定されるが、定常光は一般に白色光
である。従って、両方の光を混合して測定した場合、混
合比が判らないとデフォーカス量に対する色収差の影響
を補正することができなくなる。そこで予備照射モード
の際には、定常光成分ができるだけ測定されないように
するため、最長蓄積時間をフラッシュの発光時間とほぼ
等しくなるようにして、正確な色収差の補正が行なえる
ようになっている。また、予備照射モードの際には測定
中はモーター(MO)は駆動されないのでレンズが終端
に達したかどうかの終端検知動作は行なわれない。
If the flag FLF is "1" in step # 5, the flash light is pre-illuminated, and the process proceeds to step # 17. At this time, a fixed value Kf is set in the register TIR1, "1" is subtracted from the register TIR1, and it is determined whether the terminal (i3) is "Low", and "Hig
If it is "h", it is determined whether the content of TIR1 is "0". If it is not "0", the operation of returning to step # 18 is repeated, and the content of TIR1 is "0" at step # 20.
If so, the process proceeds to step # 21 and the above operation is performed. In the pre-irradiation mode, the limitation of the storage time is much shorter than that in the stationary light mode. It is configured this way for the following reasons. Light in the near-infrared region is used as the pre-illumination light so that the human being, who is the subject, does not feel dazzling. On the other hand, when pre-irradiation is not performed, it is measured with the constant light, but the constant light is generally white light. Therefore, when both lights are mixed and measured, the effect of chromatic aberration on the defocus amount cannot be corrected unless the mixing ratio is known. Therefore, in the pre-irradiation mode, the longest accumulation time is set to be almost equal to the flash emission time so that the chromatic aberration can be accurately corrected in order to prevent the stationary light component from being measured as much as possible. . Further, in the pre-irradiation mode, the motor (MO) is not driven during the measurement, so that the end detection operation of whether the lens has reached the end is not performed.

制御回路(COC)の端子(φT)から転送パルスが出
力されて端子(it1)に割込信号が入力されると#25の
ステップからの動作を開始する。#25のステップでは割
込を可能とし端子(O3)を“Low”にしてカウンタC
ORの内容をレジスタECR2に取り込む。これは測定
中にレンズを移動させるときのレンズの移動による誤差
の補正用データである。次に、制御回路(COC)から
出力される各受光部の受光量をA−D変換したデータを
順次取り込み、すべての受光部に対応したA−D変換デ
ータを取り込むと#29のステップに移行する。#29のス
テップではフラグFLFが“1”かどうか判別し、
“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), the operation from step # 25 is started. In step # 25, an interrupt is possible and the terminal (O3) is set to "Low", and the counter C
The contents of OR are fetched in the register ECR2. This is data for correcting an error due to the movement of the lens when the lens is moved during measurement. Next, when the A / D converted data of the received light amount of each light receiving unit output from the control circuit (COC) is sequentially taken in, and the A / D converted data corresponding to all the light receiving units is taken in, the process proceeds to step # 29. To do. In step # 29, it is determined whether the flag FLF is "1",
If it is not "1", it is determined whether the flag TOF is "1". The flag TOF becomes "1" in step # 22 when the storage time has reached the limited time. Therefore, when the FLF is “0” and the TOF is “1”, the brightness is low in the constant light mode, the flag LLF is set to “1” in step # 31, and otherwise the flag LLF is set in step # 32. Set it to "0", and set the flag TOF to "0" in # 33.
To In step # 34, the degree of correlation between the two rows of light receiving portions is obtained based on the output from the light receiving portion (FMD), and the defocus amount and the defocus direction are calculated from this correlation degree. This calculation may be performed, for example, as proposed in US Pat. No. 4,333,007. This calculated defocus amount is | LD |
When LD> 0, it is a front pin, and when LD <0, it is a rear pin.

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

#38では端子(i3)が“Low”かどうかを判別し、“Lo
w”であれば前述と同様に#210のステップに移行する。
一方、端子(i3)が“High”であれば次に、測定データ
がローコントラストになっているかどうかを判別する。
このローコントラストの判別は受光素子列の各受光部
で、隣り合った受光部間の出力の差の絶対値の総和を求
め、この総和が所定値以下のときはローコントラストと
判別すればよい。なお、ローコントラストの際には2列
の受光素子列の光分布の状態を比較することでデフォー
カス量を算出しているので、算出されたデフォーカス量
に信頼性が乏しい。そこで、ローコントラストが判別さ
れると#110のステップに移行してローコントラスト用
の動作を行なう。#39のステップでローコントラストで
ないことが判別されると#40のステップでフラグLCF
1が“1”かどうかを判別する。そして、フラグLCF
1が“1”なら前回の測定値はローコントラストであ
り、このときは#41のステップでフラグFLFが“1”
かどうかを判別する。そして、フラグFLFが“1”な
ら今回の測定でフラッシュによる予備照射を行なってい
るので#170のステップからの動作を行なう。一方、フ
ラグFLFが“0”であれば前回の測定はローコントラ
ストで、今回の測定では予備照射を行なわなくてもコン
トラストが充分になった場合である。このときは、フラ
グLCF1,LCF2,SEF1,SEF2,LSFを
“0”とし、TIFが“1”かどうかを判別して“1”
でなければ#50からの動作を行なう。この場合は、測定
値がローコントラストで、ローコントラストでない測定
値が得られるまでレンズを移動させながら測定を行なっ
ている途中で(以下ローコンスキャンモードと呼ぶ)ロ
ーコントラストでない測定値が得られた場合であり、こ
のときは、#50のステップからのデフォーカス量に基づ
いてレンズを移動させる動作に移行する。また、#43の
ステップでフラグTIFが“1”であれば、ローコンス
キャンモードでレンズが全領域を走査され、この間にロ
ーコントラストでない測定値が得られなかった場合に一
定時間レンズを停止したままで測定を繰り返している場
合(以下ローコン停止モードと呼ぶ)である。この場合
には、カウンタCORはマイコン(MCO1)の内部ク
ロックをカウントするモード(タイマーモード)になっ
ているのでイベントカウントモード(エンコーダ(EN
C)からのクロックパルスをカウントするモード)にし
て、フラグFPFを“1”、TIFを“0”として#50
のステップに移行して#50からのステップに移行し第1
回目の測定値がローコントラストでない場合と同様の動
作を行なう。
In # 38, determine whether the terminal (i3) is "Low" and
If “w”, the process proceeds to step # 210 as described above.
On the other hand, if the terminal (i3) is “High”, then it is determined whether or not the measurement data has low contrast.
The determination of the low contrast may be made by determining the total sum of absolute values of the output differences between the adjacent light receiving units in each light receiving unit of the light receiving element array, and when the total is less than or equal to a predetermined value, the low contrast is determined. In the case of low contrast, since the defocus amount is calculated by comparing the light distribution states of the two rows of light receiving elements, the calculated defocus amount is not reliable. Therefore, when the low contrast is determined, the process proceeds to step # 110 to perform the low contrast operation. If it is determined in step # 39 that the contrast is not low, the flag LCF is determined in step # 40.
It is determined whether 1 is "1". And the flag LCF
If 1 is "1", the previous measurement value has low contrast, and in this case, the flag FLF is "1" in step # 41.
Determine whether or not. If the flag FLF is "1", the preliminary irradiation by the flash is performed in this measurement, so the operation from step # 170 is performed. On the other hand, if the flag FLF is "0", the previous measurement has low contrast, and the current measurement has sufficient contrast without preliminary irradiation. At this time, the flags LCF1, LCF2, SEF1, SEF2, LSF are set to "0", and it is determined whether the TIF is "1" or "1".
If not, the operation from # 50 is performed. In this case, the measured value was low contrast, and the measured value was not low contrast during the measurement while moving the lens until the measured value was not low contrast (hereinafter referred to as low contrast scan mode). This is the case, and at this time, the operation moves to move the lens based on the defocus amount from step # 50. If the flag TIF is "1" in the step # 43, the lens is scanned in the low-con scan mode over the entire area, and the lens is stopped for a certain period of time when a measurement value other than low contrast is not obtained during this period. This is the case where the measurement is repeated until then (hereinafter referred to as the low-con stopped mode). In this case, since the counter COR is in the mode (timer mode) for counting the internal clock of the microcomputer (MCO1), the event count mode (encoder (EN
The clock pulse from C) is set to the mode), the flag FPF is set to "1", and the TIF is set to "0".
To step # 50 and step # 50
The same operation is performed as when the measured value of the second time is not low contrast.

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

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

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

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

#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 it is determined in step # 67 whether the lens driving direction is the retraction direction (ND> 0). Then, if ND> 0, it is determined whether the flag SIF is "1" at step # 68, and if ND <0 (feeding direction), at step # 69. This flag SIF is "1" if the moving direction of the lens at this point is the retracting direction, and "0" if it is the retracting direction. Therefore, the flag SIF is “0” in the step # 68, or the flag SIF is in the step # 69.
If “1” is, it means that the moving direction of the lens at this point and the calculated moving direction of the lens are reversed, and the process proceeds to step # 71 described above to stop the motor (MO), The flags SCF and FPF are set to "1", and the process returns to step # 2 to perform measurement for confirmation. On the other hand, if the direction is not reversed, the data NDc calculated in the step # 56 is set in the counter COR, the process returns to the step # 2, and the next measurement is performed.

#52のステップでフラグFPFが“1”のときにはモー
ター(MO)が停止されて予備照射なしに測定が行なわ
れた場合である。このときはまず|ND|IFDとな
っているかどうかを判別して、|ND|IFDとなっ
ていれば#76のステップで合焦表示を行ない、後述する
#211のステップに移行して動作を停止する。一方、|
ND|>IFDであれば第5−2図の#80のステップに
移行する。#80〜#82のステップではフラグIFF,S
CF,FNFが“1”になっているかどうかを判別す
る。これらのフラグは前述のように移動しているレンズ
を一旦停止させて確認のための測定を行なったときは
“1”になっていて、このときは#84のステップに移行
する。#84〜#86のステップでは前述の#67〜#69のス
テップと同様にそれまでにレンズが駆動されていた方向
と、今回の測定によって得られた方向とが一致している
かどうかを判別して、反転していれば#84,#88のステ
ップでフラグSIFを反転させ、#91のステップで移動
量|ND|のデータにバックラッシュデータ(BLD)
を加算した値をカウンタCORに設定して#96のステッ
プに移行する。一方、方向が一致しているときは#89の
ステップでフラグFNFが“1”かどうかを判別する。
そしてフラグENFが“1”になっていれば、前述のよ
うにレンズは終端に達している場合であり、このときは
算出された方向にはレンズを駆動することができないの
で警告表示を行なって後述する#211のステップに移行
して動作を停止する。一方、フラグENFが“0”なら
#95のステップで移動量データ|ND|をカウンタCO
Rに設定して#96のステップに移行する。
In step # 52, when the flag FPF is "1", the motor (MO) is stopped and the measurement is performed without preliminary irradiation. In this case, it is first determined whether or not it is | ND | IFD, and if it is | ND | IFD, the in-focus display is performed in step # 76, and the operation proceeds to step # 211 described later. Stop. On the other hand, |
If ND |> IFD, the process proceeds to step # 80 in FIG. In steps # 80 to # 82, flags IFF and S
It is determined whether CF and FNF are "1". These flags are "1" when the moving lens is once stopped and the measurement for confirmation is performed as described above, and at this time, the process proceeds to step # 84. In steps # 84 to # 86, it is determined whether the direction in which the lens has been driven by that time and the direction obtained by this measurement are the same as in steps # 67 to # 69 described above. If it is reversed, the flag SIF is reversed in steps # 84 and # 88, and the backlash data (BLD) is added to the data of the movement amount | ND | in the step # 91.
The value obtained by adding is set in the counter COR, and the process proceeds to step # 96. On the other hand, when the directions are the same, it is determined in step # 89 whether the flag FNF is "1".
If the flag ENF is "1", it means that the lens has reached the end as described above. At this time, since the lens cannot be driven in the calculated direction, a warning is displayed. The operation is stopped by moving to step # 211 described later. On the other hand, if the flag ENF is "0", the movement amount data | ND |
Set to R and move to step # 96.

フラグENF,SCR,IFFがすべて“0”のときは
#92のステップで移動方向を判別し、ND>0ならフラ
グSIFを“1”、ND<0ならSIFを“0”にし、
#95のステップで、算出された移動量データをカウンタ
CORに設定して#96のステップに移行する。
When the flags ENF, SCR and IFF are all "0", the moving direction is determined in step # 92. If ND> 0, the flag SIF is set to "1", and if ND <0, the SIF is set to "0".
In step # 95, the calculated movement amount data is set in the counter COR, and the process proceeds to step # 96.

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

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

#114のステップでは端子(i2)が“High”になってい
るかどうかを判別する。そして端子(i2)が“Low”で
あれば#115のステップでフラグSEF2が“1”かど
うか判別する。このフラグSEF2は後述するが、ロー
コンスキャンモードでレンズが全領域を走査されたとき
に“1”となるフラグである。従って、“1”になって
いれば#144のステップに移行して後述するローコン停
止モードに移行する。一方、フラグSEF2が“0”に
なっていれば#121からのローコンスキャンモードに移
行する。
In step # 114, it is determined whether the terminal (i2) is "High". If the terminal (i2) is "Low", it is determined in step # 115 whether the flag SEF2 is "1". As will be described later, this flag SEF2 is a flag that becomes "1" when the lens scans the entire area in the low contrast scan mode. Therefore, if it is "1", the process shifts to step # 144 and shifts to the low-con converter stop mode described later. On the other hand, if the flag SEF2 is "0", the mode shifts to the low contrast scan mode from # 121.

#114のステップで端子(i2)が“High”であることが
判別されると#116からの予備照射モードに移行する。
#116のステップではフラグFLFを“1”として、次
に端子(O1)を“High”とし、フラグFPFを
“0”、フラグLCF1,FFFを“1”として#2の
ステップに戻る。そして、前述のように、予備照射を行
なう測定動作が行なわれる。
When it is determined in step # 114 that the terminal (i2) is "High", the process shifts to the preliminary irradiation mode from step # 116.
In the step of # 116, the flag FLF is set to "1", then the terminal (O1) is set to "High", the flag FPF is set to "0", the flags LCF1 and FFF are set to "1", and the process returns to the step of # 2. Then, as described above, the measurement operation for performing the preliminary irradiation is performed.

#111のステップでフラグLLFが“0”のとき或いは
#115のステップでフラグSEF2が“0”のときは#1
21のステップに移行してローコンスキャンモードの動作
を開始する。まずフラグLCF1,LCF2,LSFを
“1”とし、次に算出されているデフォーカス方向がど
ちらかを判別し、判別された方向に応じてフラグSIF
を“1”又は“0”にし、レンズをその方向に移動させ
る。そして、警告表示を行なわせ、フラグFPFを
“0”とし、カウンタCORの内容が“0”になったと
きにかかる割込信号を受付ない状態として#2のステッ
プに戻り、次の測定を行なわせる。
If the flag LLF is "0" in the step of # 111 or the flag SEF2 is "0" in the step of # 115, # 1
The operation shifts to step 21 and the operation of the low-con scan mode is started. First, the flags LCF1, LCF2, and LSF are set to "1", then it is determined which defocus direction is calculated, and the flag SIF is determined according to the determined direction.
Is set to "1" or "0" and the lens is moved in that direction. Then, a warning is displayed, the flag FPF is set to "0", the interrupt signal is not accepted when the content of the counter COR becomes "0", the process returns to step # 2, and the next measurement is performed. Let

#110のステップでフラグFPFが“0”であれば#140
のステップに移行してフラグFLFが“1”かどうかを
判別する。フラグFLFが“1”であれば予備照射モー
ドの測定結果がローコントラストになっている場合であ
る。このときは、端子(O1)を“Low”にして第5−
3図の#200のステップに移行する。そして#200のステ
ップではフラグFFFが“1”かどうかを判別して、フ
ラグFFFが“1”ならば予備照射モードで1回目の測
定が行なわれた場合であり、このときはフラグFFFを
“0”にし、端子(O1)を“High”にして#2のステ
ップに戻り2回目の予備照射モードでの動作を行なわせ
る。一方、#200のステップでフラグFFFが“0”で
あれば予備照射モードで2回目の測定が行なわれたこと
になり、このときは警告表示を行なって#211のステッ
プに移行し動作を停止する。
If the flag FPF is "0" in step # 110, # 140
Then, it is determined whether the flag FLF is "1". If the flag FLF is "1", it means that the measurement result in the preliminary irradiation mode is low contrast. At this time, the terminal (O1) is set to "Low"
Go to step # 200 in FIG. Then, in step # 200, it is determined whether the flag FFF is "1", and if the flag FFF is "1", it means that the first measurement is performed in the preliminary irradiation mode. At this time, the flag FFF is set to "1". Then, the terminal (O1) is set to "High" and the process returns to step # 2 to perform the operation in the second preliminary irradiation mode. On the other hand, if the flag FFF is "0" in the step # 200, it means that the second measurement is performed in the preliminary irradiation mode. At this time, the warning is displayed and the operation shifts to the step # 211 to stop the operation. To do.

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

#144のステップではカウンタCORに固定データT1
を設定し、マイコン(MCO1)の内部のクロックパル
スでカウンタCORの内容を減算していくタイマモード
に切換え、フラグTIFを“1”としてカウンタ割込を
可能として#2のステップに戻り測定を行なわせる。こ
のモードの際には一定時間レンズを停止した状態で測定
を繰り返し、この間にローコントラストでない測定値が
得られるとこの測定値に基づく移動量のデータによって
レンズを駆動し、一定時間ローコントラストの測定値し
か得られないときは再度第1回目の測定と同じ動作を行
なう。
In step # 144, the fixed data T1 is stored in the counter COR.
Is set to switch to the timer mode in which the contents of the counter COR are subtracted by the clock pulse inside the microcomputer (MCO1), the flag TIF is set to "1", the counter interrupt is enabled, and the process returns to step # 2 to perform the measurement. Let In this mode, the measurement 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 time, the lens is driven by the movement amount data based on this measurement value and the low contrast measurement is performed for a certain period of time. When only the value is obtained, the same operation as the first measurement is performed again.

#143のステップでフラグSEF2が“0”であること
が判別されると次に#150のステップでフラグLCF1
が“1”かどうかを判別する。そして、“1”でないと
きは、前回までの測定値はローコントラストではなく、
今回の測定で突然ローコントラストになった場合であ
る。このときは#151のステップに移行し、フラグLC
F1を“1”、LCF2を“0”とし、端子(O4),
(O5)を“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 the flag LCF1 is set.
It is determined whether is "1". And when it is not "1", the measured value up to the previous time is not low contrast,
This is the case when the contrast suddenly becomes low in this measurement. In this case, the process proceeds to step # 151 and the flag LC
F1 is set to "1", LCF2 is set to "0", and terminals (O4),
(O5) is set to "Low" to stop the operation of the motor (MO), the flag FPF is set to "1", and the process returns to # 2 to repeat the measurement. In step # 150, the flag LCF1 is "1".
Then, in step # 155, it is determined whether the flag LCF2 is "1". If the flag LCF2 is "0", the previous measurement value suddenly becomes low contrast, and the current measurement value obtained by re-measurement also has low contrast. Therefore, in this case, the operation for starting the low contrast scan mode is performed from step # 121.

#155のステップでフラグLCF2が“1”のときはロ
ーコンスキャンモードでの動作中である。この場合、#
156のステップでカウンタCORの内容をレジスタEC
R3に設定し#27のステップでカウンタCORの内容を
取り込んだレジスタECR2の内容と一致しているかど
うかを#157のステップで判別する。そして、一致して
いなければレンズは終端に達していないので#2のステ
ップに戻り測定動作を行なう。一方、レジスタECR2
とECR3の内容が一致していればレンズは終端に達し
たことになり、#158のステップでモーター(MO)の
駆動を停止する。そして、#159のステップでフラグS
EF1が“1”かどうかを判別して、“1”であればレ
ンズは一方の終端に達していることになり、従ってレン
ズは両方の終端に達して全領域の操作が行なわれたこと
になる。従ってこのときはフラグSEF2を“1”にし
て、#114のステップに移行し、フラッシュから予備照
射が可能かどうかの確認を行ない、予備照射が可能であ
れば予備照射モードに移行し、予備照射が不可能であれ
ばローコン停止モードに移行する。
If the flag LCF2 is "1" in step # 155, the operation is in the low-conscan mode. in this case,#
In step 156, the contents of the counter COR are registered in the register EC.
In step # 157, it is determined whether or not the contents of the register ECR2, which has been set in R3 and the contents of the counter COR have been fetched in step # 27, match. If they do not match, the lens has not reached the end, so the procedure returns to step # 2 to perform the measurement operation. Meanwhile, the register ECR2
If the contents of ECR3 and ECR3 match, the lens has reached the end, and the drive of the motor (MO) is stopped in step # 158. Then, in step # 159, the flag S
It is determined whether EF1 is "1", and if it is "1", the lens has reached one end, and therefore the lens has reached both ends and the entire area has been operated. Become. Therefore, at this time, the flag SEF2 is set to "1", the process proceeds to step # 114, whether or not the preliminary irradiation is possible from the flash is confirmed, and if the preliminary irradiation is possible, the preliminary irradiation mode is changed to the preliminary irradiation. If is not possible, it shifts to the low contrast stop mode.

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

#41のステップでフラグFLFが“1”であれば予備照
射モードで測定を行なった結果がローコントラストでな
い場合である。このときは第5−3図の#170のステッ
プに移行する。#170のステップでは端子(O1)を“L
ow”にし、#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 process proceeds to step # 170 in Fig. 5-3. In step # 170, set terminal (O1) to "L".
ow ”, and the lens movement amount ND and the focusing region IFD are calculated from the defocus amount data LDt and the focusing region data obtained in the step # 37 and the conversion coefficient KD. Then, the step # 173. When │ND│IFD, the focus is displayed, the flag FFF is set to "0", and the process proceeds to step # 211 to end the operation.

#173のステップで|ND|>IFDであることが判別
されると#180に移行し|ND|をカウンタCORに設
定し、イベントカウントモードにしてカウンタ割込を可
能とする。そして、フラグFFFが“1”かどうかを判
別して“1”であれば予備照射モードで第1回目の測定
が行なわれた場合であり、このときは#188のステップ
にそのまま移行する。一方、FFFが“0”であれば2
回目の測定が測定が行なわれた場合である。このとき
は、#178のステップに移行して合焦近傍のデータLN
Dに変換係数KDを掛けて近傍領域のデータNFDを算
出する。そして#179のステップで|ND|NFDと
なっているかどうかを判別する。
If it is determined in step # 173 that | ND |> IFD, the process proceeds to step # 180, where | ND | is set in the counter COR, the event count mode is set, and the counter interrupt is enabled. Then, it is determined whether or not the flag FFF is "1", and if it is "1", it means that the first measurement is performed in the preliminary irradiation mode. At this time, the process directly proceeds to step # 188. On the other hand, if FFF is “0”, 2
The second measurement is when the measurement is performed. In this case, the process proceeds to step # 178 and the data LN near the focus is obtained.
The data NFD of the neighboring area is calculated by multiplying D by the conversion coefficient KD. Then, in step # 179, it is determined whether or not | ND | NFD.

|ND|>NFDの場合1回目の合焦動作で正常な動作
が行なわれてないか又は2回目の測定結果が信頼性に乏
しいと考えられる。さらには、変換係数のバラツキ等
で、1回のレンズの移動だけで正確に合焦位置まで移動
させることは困難であり、基本的には合焦動作が行なえ
ないと考えられる。そこで、この場合には#201のステ
ップで警告を行なって#211のステップに移行して動作
を停止する。
When | ND |> NFD, it is considered that normal operation is not performed in the first focusing operation or the second measurement result is poor in reliability. Furthermore, it is difficult to accurately move the lens to the in-focus position with only one movement of the lens due to variations in the conversion coefficient, and it is considered that the in-focus operation cannot be performed basically. Therefore, in this case, a warning is issued in step # 201, the process proceeds to step # 211 and the operation is stopped.

#179のステップで|ND|NFDとなっていること
が判別されると正常な制御動作が可能であると考えられ
るので次に移動方向を判別して、前回と移動方向が反転
しているかどうかを判別する。そして反転していること
が判別されると|ND|+BLDの演算を行なって移動
量データ|ND|をバックラッシュデータ分だけ補正
し、このデータをカウンタCORに設定しなおす。一方
反転してなければ#180のステップで設定されたデータ
のままとして、#188に移行する。そして移動方向を判
別してその方向に対応した信号をフラグSIFに設定し
てモーター(MO)を判別された方向に回転させる。
If it is determined in step # 179 that | ND | NFD is set, it is considered that normal control operation is possible. Therefore, the moving direction is determined next, and whether the moving direction is reversed from the previous time. To determine. Then, if it is determined that it is reversed, | ND | + BLD is calculated to correct the movement amount data | ND | by the amount of backlash data, and this data is reset to the counter COR. On the other hand, if it is not inverted, the data set in step # 180 remains as it is and the process proceeds to step # 188. Then, the direction of movement is determined, a signal corresponding to that direction is set in the flag SIF, and the motor (MO) is rotated in the determined direction.

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

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

#230のステップでフラグTIFが“0”のときはレン
ズの移動量が出力された移動量だけ移動した場合であ
る。この場合にはモーター(MO)を停止させ割込を可
能とする。そして#235のステップでフラグFLFが
“1”かどうかを判別する。そして“1”であれば予備
照射モードであり#238のステップに移行する。#238の
ステップではフラグFFFが“1”かどうかを判別し
“0”であれば予備照射モードでの2回目の合焦動作が
終了したことになり合焦表示を行なった後#211のステ
ップに移行する。一方、フラグFFFが“1”なら予備
照射モードで1回目の合焦動作が完了したことになり、
フラグFFFを“0”として端子(O1)を“High”に
して#2のステップに戻り2回目の合焦動作を行なわせ
る。
When the flag TIF is "0" in step # 230, it means that the movement amount of the lens has moved by the output movement amount. In this case, the motor (MO) is stopped to enable the interrupt. Then, in step # 235, it is determined whether the flag FLF is "1". If it is "1", it means the pre-irradiation mode, and the process proceeds to step # 238. In the step of # 238, it is determined whether the flag FFF is "1", and if it is "0", it means that the second focusing operation in the preliminary irradiation mode is completed, and after the focusing display is performed, the step of # 211. Move to. On the other hand, if the flag FFF is "1", it means that the first focusing operation has been completed in the preliminary irradiation mode.
The flag FFF is set to "0" and the terminal (O1) is set to "High" to return to the step # 2 to perform the second focusing operation.

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

#11,#19,#38,#195のステップで端子(i3)が“L
ow”になったことが判別されると#210のステップで割
込を不可能とし、次にイベントカウントモードにして#
213のステップに移行する。一方、#76,#90,#175,
#201,#239のステップで動作が完了したときには、#
211のステップで割込を不可能とし端子(i3)が“Low”
になるのを待つ。そして端子(i3)が“Low”になると
#213のステップに移行する。#213のステップでは端子
(O4),(O5)を“Low”にしてモーター(MO)
を停止させ、次に表示を消灯させる。そして端子(O
1),(O2),(O3),(O7)を“Low”として
自動焦点調整用の回路の動作を停止させる。そして、F
PF,SIFを除くすべてのフラグに“0”を設定し
て、フラグFPFを“1”にする。次に、カウンタCO
Rの内容をレジスタECR2に設定し、一定時間待って
からカウンタCORの内容をレジスタECR3に設定す
る。そして(ECR2)=(ECR3)になっているか
どうかを判別して(ECR2)≠(ECR3)ならレジ
スタECR3の内容をレジスタECR2に設定した後#
219のステップに戻る。そして(ECR2)=(ECR
3)となっていれば、レンズの移動は完全に停止した状
態となっているので、マイコン(MCO2)で露出制御
動作を開始しても良いことを示すために端子(O7)を
“Low”とし、割込が可能な状態としてマイコン(MC
O1)は動作を停止する。
In the steps # 11, # 19, # 38, and # 195, the terminal (i3) goes to “L”.
If it is determined that it has become "ow", interrupts are disabled in step 210, and then the event count mode is set.
Go to step 213. On the other hand, # 76, # 90, # 175,
When the operation is completed in steps # 201 and # 239, #
Interruption is disabled in step 211, and terminal (i3) is "Low".
Wait for When the terminal (i3) becomes “Low”, the process proceeds to step # 213. In step # 213, the terminals (O4) and (O5) are set to "Low" and the motor (MO)
Stop and then turn off the display. And the terminal (O
1), (O2), (O3), and (O7) are set to "Low" to stop the operation of the circuit for automatic focus adjustment. And F
All flags except PF and SIF are set to "0" to set the flag FPF to "1". Next, the counter CO
The contents of R are set in the register ECR2, and after waiting for a fixed time, the contents of the counter COR are set in the register ECR3. Then, it is determined whether or not (ECR2) = (ECR3), and if (ECR2) ≠ (ECR3), the contents of the register ECR3 are set in the register ECR2 #
Return to step 219. And (ECR2) = (ECR
If it is 3), the movement of the lens is completely stopped, so the terminal (O7) is set to "Low" to indicate that the microcomputer (MCO2) may start the exposure control operation. , And the microcomputer (MC
O1) stops the operation.

以上の実施例では、予備照射モードでないときに#75の
ステップで合焦状態になっていることが判別されると、
以後はマイコン(MCO2)から自動焦点調整動作を継
続する信号(端子(i3)への“High”の信号)が入力し
ていても、自動焦点調整動作は行なわれず動作は停止さ
れるようになっていたが、第5−1図の#76のステップ
の後に( )内に示すように、#2のステップに戻るよ
うにしてもよい。このようにすれば一旦被写体が合焦状
態になっても、合焦状態から被写体がはずれれば再び自
動焦点調整動作が実行される。また、第5−2図の#89
のステップでフラグENFが“1”の場合、即ち、レン
ズが終端位置に達してレンズが移動できなくなった場合
にも#2のステップに戻り再び測定を行なうようにして
もよい。こうすればレンズを移動させることができる方
向の信号が得られれば再びレンズが移動を開始する。な
お上述のように変形した場合でも、予備照射モードの際
には二回の測定に制限される。
In the above embodiment, when it is determined that the in-focus state is obtained in step # 75 when not in the preliminary irradiation mode,
After that, even if a signal (high signal to the terminal (i3)) to continue the automatic focus adjustment operation is input from the microcomputer (MCO2), the automatic focus adjustment operation is not performed and the operation is stopped. However, as shown in the parentheses after the step # 76 in FIG. 5A, the step may return to the step # 2. In this way, even if the subject is once in focus, if the subject deviates from the focus, the automatic focus adjustment operation is executed again. Also, # 89 in Fig. 5-2
Even if the flag ENF is "1" in the step, that is, if the lens reaches the end position and the lens cannot move, the process may return to the step # 2 to perform the measurement again. In this way, the lens starts moving again when a signal in the direction in which the lens can be moved is obtained. Even in the case of the modification as described above, the measurement is limited to twice in the preliminary irradiation mode.

以上説明した実施例の変形例を以下に説明する。まず、
電子閃光装置において、撮影用と予備照射用のキセノン
管の発光エネルギーは共通のメイコンデンサ(C2)に
充電された電荷によって供給されるようになっていた
が、予備照射用には別のコンデンサを用いるようにして
もよい。この場合には、予備照射可能信号は別設のコン
デンサの充電電圧が所定値に達した時に出力するように
すればよい。また、この場合、コンデンサの容量を大き
くして予備発光の発光可能回数を多くさせておけば、通
常モードと同様にレンズを移動させながら測定を行なっ
て自動焦点調整動作の高速化が可能となる。
A modified example of the above-described embodiment will be described below. First,
In the electronic flash device, the emission energy of the xenon tube for photographing and pre-irradiation was supplied by the electric charge charged in the common May condenser (C2), but another condenser was used for pre-irradiation. You may use it. In this case, the pre-irradiation enable signal may be output when the charging voltage of the separately provided capacitor reaches a predetermined value. Further, in this case, if the capacity of the capacitor is increased to increase the number of times of preliminary light emission, the automatic focus adjustment operation can be speeded up by performing the measurement while moving the lens as in the normal mode. .

また、実施例では電子閃光装置において、撮影用と予備
照射用のキセノン管をそれぞれ専用に設けていたが、共
通のキセノン管を使用し、可視光をカットし近赤外光を
透過するフィルタを予備照射時にキセノン管の前に挿入
し、撮影時にはそのフィルタを抜き去るような構成にし
てもよい。
Further, in the embodiment, in the electronic flash device, the xenon tube for photographing and the pre-irradiation were respectively provided exclusively, but a common xenon tube is used, and a filter that cuts visible light and transmits near infrared light is used. The filter may be inserted before the xenon tube during the preliminary irradiation and the filter may be removed during the photographing.

また、実施例においてはローコントラストでローライト
のときに予備照射のモードとなるようにしていたが、ロ
ーライトは判別要件にはいれず、ローコントラストであ
れば予備照射のモードとなるようにしてもよい。この場
合、予備照射は被写体のコントラストをあげる目的が強
くなる。
Further, in the embodiment, the pre-irradiation mode is set when the low contrast and the low light are used. However, the low light is not included in the determination requirement, and the pre-irradiation mode is set when the low contrast is set. Good. In this case, the preliminary irradiation has a strong purpose of increasing the contrast of the subject.

また、予備照射の発光停止は、フラッシュ側に測光回路
を設け、この測光回路の出力で発光を停止するようにし
てもよい。
Further, the light emission of the preliminary irradiation may be stopped by providing a photometric circuit on the flash side and stopping the light emission by the output of the photometric circuit.

さらに、カメラ本体にフラッシュが直接接続されている
かどうかを判別する判別手段を設け、フラッシュが直接
接続されてない(ケーブル等で接続されているとき)こ
とが判別されると予備照射モードにはならないようにし
てもよい。さらに、ケーブルには端子(JB1)と(J
F1)とを接続する導通部も設けないようにしておけば
よい。
Further, the camera body is provided with a determination means for determining whether or not the flash is directly connected, and if it is determined that the flash is not directly connected (when connected by a cable or the like), the preliminary irradiation mode is not set. You may do it. Furthermore, the cable has terminals (JB1) and (JB1).
It suffices not to provide a conducting portion for connecting to F1).

また、電子閃光装置側で予備照射可能信号が出力されて
いるときのみ予備照射の発光開始信号を受け付ける回路
が設けられているが、この回路は必らずしも必要ではな
い。
Further, a circuit for receiving the light emission start signal of the preliminary irradiation is provided only when the preliminary irradiation enable signal is output on the electronic flash device side, but this circuit is not always necessary.

なぜなら、カメラ側で予備照射可能信号が入力されたか
どうかを判別して、入力されていることが判別されたと
きのみ発光開始信号が2回出力し、予備照射可能信号が
入力されていることが判別されないときは発光開始信号
が出力されないからである。従ってこれを省略すれば、
アンド回路(AN20)、オア回路(OR20),(OR2
1)、Dフリップ・フロップ(DF20),(DF21)、
ワンショット回路(OS20),(OS21)が不要とな
り、端子(JF1)はフリップ・フロップ(RF20)の
セット端子とトリガー回路(TR1)に直接接続され
る。また、予備照射の際に発光量を一定にするために、
発光時間を一定にしているが、発光光量を直接モニター
したり、発光用の電気量を直接モニターして発光量を一
定にするようにしてもよい。
This is because the camera determines whether the preliminary irradiation enable signal is input, and only when it is determined that the preliminary irradiation enable signal is input, the light emission start signal is output twice, and the preliminary irradiation enable signal is input. This is because the light emission start signal is not output when the determination is not made. So if you omit it,
AND circuit (AN20), OR circuit (OR20), (OR2
1), D flip-flop (DF20), (DF21),
The one-shot circuits (OS20) and (OS21) are not required, and the terminal (JF1) is directly connected to the set terminal of the flip-flop (RF20) and the trigger circuit (TR1). Also, in order to make the amount of light emission constant during preliminary irradiation,
Although the light emission time is made constant, the light emission amount may be directly monitored, or the electricity amount for light emission may be directly monitored to make the light emission amount constant.

予備照射モードで2回の動作が行なわれて、合焦位置ま
でレンズを移動することが不可能であると判別されたと
きには、この実施例では、マイコン(MCO2)の端子
(O10)から動作を行なわせるための“High”の信号が
出力されていても自動焦点調整動作は停止するようにな
っているが、予備照射モードで合焦位置への移動が不可
能であると判別されると、再び最初からの動作或いはロ
ーコンスキャンモード、或いはローコン停止モードの動
作を行なうようにしてもよい。
When it is determined that the lens cannot be moved to the in-focus position after performing the operation twice in the preliminary irradiation mode, the operation is performed from the terminal (O10) of the microcomputer (MCO2) in this embodiment. Although the automatic focus adjustment operation is stopped even if the "High" signal for performing the operation is output, if it is determined that the focus position cannot be moved in the preliminary irradiation mode, The operation from the beginning or the operation in the low contrast scan mode or the low contrast stop mode may be performed again.

予備照射可能信号は端子(JF3)から直列データの一
つとして送られるようになっていたが、端子(JF1)
から、直接マイコン(MCO1)に送るようにしてもよ
い。また、予備照射可能信号は特別に用意せず、電子閃
光発光装置から給電信号或いは充電信号が入力されれば
予備照射モードに切り換わることが可能となるようにし
てもよい。
The preliminary irradiation enable signal was sent from the terminal (JF3) as one of serial data, but the terminal (JF1)
Alternatively, it may be directly sent to the microcomputer (MCO1). Further, the pre-irradiation enable signal may not be specially prepared, and it may be possible to switch to the pre-irradiation mode when a power supply signal or a charging signal is input from the electronic flash light emitting device.

また、予備照射用の光源としてはカメラに装着される電
子閃光発光装置を用いたが、この他にカメラに内蔵した
発光ダイオード等を用いてもよく、あるいは電子閃光発
光装置以外の光源がカメラに装着されるようにしてもよ
く、さらには電子閃光発光装置をカメラに内臓して用い
るようにしてもよい。
Although the electronic flash light emitting device attached to the camera is used as the light source for preliminary irradiation, a light emitting diode or the like built in the camera may be used in addition to this, or a light source other than the electronic flash light emitting device may be used in the camera. The electronic flash light emitting device may be attached to the camera, or the electronic flash light emitting device may be incorporated in the camera for use.

この発明はデフォーカス量を検出するタイプの自動焦点
調整装置を前提にしているが、コントラストが最大とな
る位置までレンズを移動させる型式のものにも適用が可
能であり、この場合には予備照射の回数の制限は2回よ
りも多くする必要がある。
The present invention is premised on an automatic focus adjustment device of the type that detects the amount of defocus, but it can also be applied to a type in which the lens is moved to the position where the contrast becomes maximum. The number of times must be limited to more than 2.

また、予備照明用の光源として定常光を用いるものであ
れば、光源の点灯時間を制限するようにすればよい。
Further, if the constant light is used as the light source for the preliminary illumination, the lighting time of the light source may be limited.

また、本実施例では、可視域から近赤外域までの分光感
度を有する1個の焦点検出素子を用いて定常光のみによ
る測定と近赤外域にエネルギーを有するフラッシュによ
る予備照射測定を行っているが、可視域のみに感度を有
する焦点検出素子と近赤外域のみに感度を有する焦点検
出素子を二種類用意して測定モードに応じて切り換えて
使用するようにしてもよく、また、近赤外域のみに感度
を有する焦点検出素子を1つだけ用いるようにしてもよ
い。このようにした場合には、予備照射光モードの場合
の積分時間は短時間で切る必要はなく、予備照射によっ
ても光量不足となる場合は積分時間をそのまま延長して
定常光成分を追加積分してもさしつかえない。またこの
場合、焦点検出素子の感度は近赤外ではなく赤外領域と
なるようにすれば光源も赤外となり、人物には予備照射
が行なわれたことが感じられなくなる効果もある。
In addition, in this embodiment, one focus detection element having a spectral sensitivity from the visible region to the near infrared region is used to perform the measurement with only the stationary light and the preliminary irradiation measurement with the flash having the energy in the near infrared region. However, two types of focus detection element having sensitivity only in the visible range and focus detection element having sensitivity only in the near infrared range may be prepared and used by switching according to the measurement mode. You may make it use only one focus detection element which has a sensitivity only. In this case, it is not necessary to cut the integration time in the pre-irradiation light mode in a short time.If the light quantity is insufficient due to the pre-irradiation, the integration time is extended as it is and the stationary light component is additionally integrated. But it doesn't matter. Further, in this case, if the sensitivity of the focus detection element is set to the infrared region instead of the near infrared, the light source also becomes infrared, and there is an effect that a person does not feel that the preliminary irradiation is performed.

上記実施例においては予備照射による測定を2回に限定
したがフラッシュの電源条件の許す限りにおいては、3
回あるいは4回等の所定回数に限定することも可能であ
ることはいうまでもない。
In the above-mentioned embodiment, the measurement by the preliminary irradiation is limited to two times, but as long as the power condition of the flash permits, it is set to three.
Needless to say, it is possible to limit the number of times to a predetermined number such as four times or four times.

また、一回目の動作で積分時間が制限値に達したとき或
いは測定値がローコントラストのときには2回目の予備
照射の光量を増加させるようにしてもよい。
Further, when the integration time reaches the limit value in the first operation or when the measured value is low contrast, the light amount of the second preliminary irradiation may be increased.

効 果 本発明の自動焦点調整装置によると、補助光を発光して
いない状態での焦点検出に基づくレンズ駆動中は焦点検
出が行われるが、補助光を発光した状態での焦点検出に
基づくレンズ駆動中は焦点検出が禁止される。つまり、
それぞれの場合に最適な動作を行うことが可能になる。
Effect According to the automatic focus adjustment device of the present invention, focus detection is performed during lens driving based on focus detection in a state where auxiliary light is not emitted, but a lens based on focus detection in a state where auxiliary light is emitted Focus detection is prohibited during driving. That is,
Optimal operation can be performed in each case.

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

第1図はこの発明の基本構成を示すブロック図、第2図
はこの発明を適用したカメラシステム全体を示す回路
図、第3図は第2図のフラッシュ装置(FLC)の具体
例を示す回路図、第4図は第2図のマイコン(MCO
2)の動作を示すフローチャート、第5−1,5−2,
5−3図は第2図のマイコン(MCO1)の動作を示す
フローチャートである。 撮影レンズ →3 駆動手段 →8 焦点検出手段 →4・5 発光手段 →11・12・13 第1の制御手段→#50〜62〜73〜2 第2の制御手段→#170〜193
FIG. 1 is a block diagram showing the basic configuration of the present invention, FIG. 2 is a circuit diagram showing the entire camera system to which the present invention is applied, and FIG. 3 is a circuit showing a specific example of the flash unit (FLC) of FIG. Figures 4 and 5 show the microcomputer (MCO
Flowchart showing operation 2), 5-1, 5-2,
FIG. 5-3 is a flowchart showing the operation of the microcomputer (MCO1) shown in FIG. Photographing lens → 3 Drive means → 8 Focus detection means → 4.5 Light emitting means → 11/12/13 First control means → # 50 to 62 to 73 to 2 Second control means to # 170 to 193

フロントページの続き (56)参考文献 特開 昭48−53717(JP,A) 特開 昭54−126023(JP,A) 特開 昭58−132733(JP,A) 特開 昭58−58508(JP,A) 特開 昭59−195605(JP,A)Continuation of front page (56) Reference JP-A-48-53717 (JP, A) JP-A-54-126023 (JP, A) JP-A-58-132733 (JP, A) JP-A-58-58508 (JP , A) JP 59-195605 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】撮影レンズと、 撮影レンズ内のフォーカシングレンズを駆動する駆動手
段と、 撮影レンズにより形成された被写体像を受光してこの被
写体に関する撮影レンズの焦点検出を行う焦点検出手段
と、 被写体を照明する補助光を発光する発光手段と、 補助光が発光されない状態での焦点検出手段の検出結果
に基づいて駆動手段を制御して撮影レンズを駆動する場
合には、撮影レンズの駆動中も焦点検出手段に検出動作
を行わせこの検出結果も駆動手段の制御に用いる第1の
制御手段と、 補助光が発光された状態での焦点検出手段の検出結果に
基づいて駆動手段を制御して撮影レンズを駆動する場合
には、撮影レンズの駆動中の焦点検出手段による検出動
作を禁止する第2の制御手段と、 を備えたことを特徴とする自動焦点調整装置。
1. A photographing lens and a driving hand for driving a focusing lens in the photographing lens.
And the subject image formed by the shooting lens.
Focus detecting means for detecting the focus of the photographing lens relating to the object
And the light emission means that emits the auxiliary light that illuminates the subject, and the detection results of the focus detection means when the auxiliary light is not emitted.
When driving the shooting lens by controlling the driving means based on
If the shooting lens is driven, the focus detection means detects
This detection result is also used for the control of the driving means.
The control result and the focus detection result when the auxiliary light is emitted
When driving the photographing lens by controlling the driving means based on
Is the detection movement by the focus detection means while the shooting lens is being driven.
An automatic focus adjusting device comprising: a second control means for prohibiting a work.
JP58206207A 1983-11-02 1983-11-02 Automatic focus adjustment device Expired - Lifetime JPH061289B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58206207A JPH061289B2 (en) 1983-11-02 1983-11-02 Automatic focus adjustment device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58206207A JPH061289B2 (en) 1983-11-02 1983-11-02 Automatic focus adjustment device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP58161393A Division JPS6052833A (en) 1983-08-24 1983-09-01 Flash device for photographing and preliminary irradiation

Publications (2)

Publication Number Publication Date
JPS6052810A JPS6052810A (en) 1985-03-26
JPH061289B2 true JPH061289B2 (en) 1994-01-05

Family

ID=16519548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58206207A Expired - Lifetime JPH061289B2 (en) 1983-11-02 1983-11-02 Automatic focus adjustment device

Country Status (1)

Country Link
JP (1) JPH061289B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2507313B2 (en) * 1986-03-20 1996-06-12 株式会社ニコン An electronic flash device having an auxiliary lighting device or a photographing device incorporating the electronic flash device
JP3185152B2 (en) * 1991-05-10 2001-07-09 株式会社リコー Camera with image stabilization function

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4853717A (en) * 1971-11-02 1973-07-28
JPS54126023A (en) * 1978-03-23 1979-09-29 Canon Inc Optical device
JPS5858508A (en) * 1981-10-02 1983-04-07 Minolta Camera Co Ltd Auto-focusing device
JPS58132733A (en) * 1982-02-02 1983-08-08 Canon Inc Automatic focusing camera provided with auxiliary illuminator
JPS59195605A (en) * 1983-04-22 1984-11-06 Asahi Optical Co Ltd Focus detector
JPH068927B2 (en) * 1983-11-18 1994-02-02 ミノルタカメラ株式会社 Focus detection device

Also Published As

Publication number Publication date
JPS6052810A (en) 1985-03-26

Similar Documents

Publication Publication Date Title
US4537487A (en) Automatic focus control system with backlash correcting arrangement
JP3012248B2 (en) Automatic focus detection device and camera equipped with automatic focus detection device
JP4346926B2 (en) Strobe photographing system and imaging apparatus
US4536072A (en) Automatic focus control system
JPH0558163B2 (en)
US6118944A (en) Flashlight control apparatus
JP4280515B2 (en) Strobe shooting system and camera
US4959676A (en) Control device for use in a camera having an objective lens
US5845155A (en) Multipoint autofocusing system
US4901101A (en) Automatic focus control device for use in a camera system
JPH061289B2 (en) Automatic focus adjustment device
JPH063492B2 (en) Automatic focus adjustment device
JPH0786582B2 (en) Focus detection device
JPH068927B2 (en) Focus detection device
JPH0558173B2 (en)
JPH061290B2 (en) Focus detection device
JPS6173132A (en) Camera system for executing automatic focus adjustment using auxiliary light
EP0762187B1 (en) Flash device
JPS6052833A (en) Flash device for photographing and preliminary irradiation
JP3076753B2 (en) Distance measuring device with auxiliary light emitting device for camera
JP3439256B2 (en) camera
JP3034217B2 (en) Focusing device
JPS6052811A (en) Automatic focusing device
JPS6055319A (en) Electronic flash device
JPH03226723A (en) Automatic focusing device for camera