JPH0786582B2 - Focus detection device - Google Patents

Focus detection device

Info

Publication number
JPH0786582B2
JPH0786582B2 JP58154378A JP15437883A JPH0786582B2 JP H0786582 B2 JPH0786582 B2 JP H0786582B2 JP 58154378 A JP58154378 A JP 58154378A JP 15437883 A JP15437883 A JP 15437883A JP H0786582 B2 JPH0786582 B2 JP H0786582B2
Authority
JP
Japan
Prior art keywords
terminal
light
flag
output
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP58154378A
Other languages
Japanese (ja)
Other versions
JPS6046513A (en
Inventor
信行 谷口
典夫 石川
猛 江川
Original Assignee
ミノルタ株式会社
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 ミノルタ株式会社 filed Critical ミノルタ株式会社
Priority to JP58154378A priority Critical patent/JPH0786582B2/en
Priority to US06/643,669 priority patent/US4536072A/en
Publication of JPS6046513A publication Critical patent/JPS6046513A/en
Publication of JPH0786582B2 publication Critical patent/JPH0786582B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/36Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Exposure Control For Cameras (AREA)
  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、焦点検出時に被写体を照明する補助光を発光
する焦点検出装置に関する。より詳しくは、補助光の波
長域、及び、焦点検出用の受光部の受光感度域に特徴を
有する焦点検出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a focus detection device that emits auxiliary light that illuminates a subject during focus detection. More specifically, the present invention relates to a focus detection device characterized by a wavelength range of auxiliary light and a light receiving sensitivity range of a light receiving section for focus detection.

従来の技術 従来、焦点検出装置において、被写体が低輝度あるいは
ローコントラストの場合、被写体を照明する補助光を発
光させて焦点検出を行う装置が知られている(例えば、
特開昭55−111929号、特開昭57−105710号、特開昭58−
132733号)。
2. Description of the Related Art Conventionally, in a focus detection device, there is known a device that performs focus detection by emitting auxiliary light that illuminates the subject when the subject has low brightness or low contrast (for example,
JP-A-55-111929, JP-A-57-105710, JP-A-58-
No. 132733).

発明が解決しようとする課題 しかしながら、上記した従来技術では、補助光の波長域
あるいは受光部の受光感度域については全く考慮されて
いない。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention However, in the above-mentioned prior art, the wavelength range of the auxiliary light or the light receiving sensitivity range of the light receiving portion is not considered at all.

従って、本発明の目的は、補助光の波長域、及び焦点検
出用の受光部の受光感度域を適切に設定した焦点検出装
置を提供することにある。
Therefore, an object of the present invention is to provide a focus detection device in which the wavelength range of auxiliary light and the light receiving sensitivity range of a light receiving section for focus detection are appropriately set.

課題を解決するための手段 本発明の焦点検出装置は、発光手段が650ナノメートル
以上の波長の光のみを発光し、焦点検出用の受光手段は
可視光から750ナノメートル程度の波長まで感度を有す
ることを特徴とする。
Means for Solving the ProblemsThe focus detection device of the present invention, the light emitting means emits only light having a wavelength of 650 nm or more, and the light receiving means for focus detection has sensitivity from visible light to a wavelength of about 750 nm. It is characterized by having.

実施例 以下、図面に基づいて本発明の実施例について説明す
る。
Embodiments Embodiments of the present invention will be described below with reference to the drawings.

焦点検出動作に連動して補助光が発光される場合、補助
光の波長域が適切に設定されていないと、被写体となっ
ている人物が眩しく感じて目の閉じたりするため不自然
な写真となってしまうことがある。そこで、補助光の波
長域は人物が眩しく感じないところを用いるのが望まし
い。
When the auxiliary light is emitted in conjunction with the focus detection operation, if the wavelength range of the auxiliary light is not set properly, the person as the subject may feel dazzling and may close their eyes, resulting in unnatural photos. It may become. Therefore, it is desirable to use the auxiliary light in a wavelength range where a person does not feel dazzling.

第1図は上述の条件を満足する光源光(補助光)、及び
焦点検出用の受光部の分光エネルギー分布、及び分光感
度を示すグラフである。詳しく説明すると、第1図のA
は焦点検出用の受光部の相対分光感度であり、Bは光源
の光射出いちに設けられたフィルターの分光透過率、C
は光源としてキセノン管を用いたときのBに示したフィ
ルターを透過した光の相対分光エネルギー分布を示すグ
ラフである。
FIG. 1 is a graph showing a light source light (auxiliary light) satisfying the above conditions, a spectral energy distribution of a light receiving portion for focus detection, and a spectral sensitivity. Explaining in detail, A in FIG.
Is the relative spectral sensitivity of the light receiving section for focus detection, B is the spectral transmittance of the filter provided for each light emission of the light source, and C is
6 is a graph showing a relative spectral energy distribution of light transmitted through the filter shown in B when a xenon tube is used as a light source.

焦点検出用受光部の分光感度は、可視光での撮影を行う
ことを前提とする限り、撮影レンズの色収差の影響がな
いように、可視光にのみ感度があることが望ましい。と
ころで、前述したように、補助光には人物が眩しく感じ
ないようにできるだけ可視光域から外れた赤外光領域を
用いることが望ましい。そこで、本発明の焦点検出装置
においては、受光部に色収差の影響が許容できる750ナ
ノメートル程度の波長までの感度を持たせ、発光部から
は650ナノメートル程度よりも長い波長の補助光が射出
されるようにして、被写体の人物がそれほど眩しく感じ
ないようにしている。
The spectral sensitivity of the light receiving unit for focus detection is preferably only sensitive to visible light so as not to be affected by the chromatic aberration of the taking lens, as long as it is assumed to shoot with visible light. By the way, as described above, it is desirable to use the infrared light region as far as possible from the visible light region for the auxiliary light so that the person does not feel dazzling. Therefore, in the focus detection device of the present invention, the light receiving section is provided with sensitivity up to a wavelength of about 750 nanometers, which allows the influence of chromatic aberration, and the light emitting section emits auxiliary light with a wavelength longer than about 650 nanometers. In this way, the subject person does not feel so dazzling.

第2図は、本発明の焦点検出装置を適用したカメラの基
本構成を示すブロック図である。(1)は撮影レンズで
あり、この撮影レンズ(1)を透過した被写体からの光
は、フィルター(2)を介して受光素子(3)で受光さ
れ、受光素子(3)の受光量に対応したアナログ信号が
測光回路(4)から出力される。この受光素子(3)と
フィルター(2)による相対分光感度は第1図のDに示
すようになっている。測光回路(4)からのアナログ信
号はA−D変換回路(5)に入力されてアンド回路(1
2)の出力が“High"の間にディジタル信号に変換され
る。そして、A−D変換されたデータは露出演算回路
(14)に入力されて、露出演算が行なわれる。そして、
算出された露出制御値(制御されるべき絞り値、シャッ
タ速度値又はそれ等の組合せ)のデータは表示回路(1
5)と露出制御回路(17)とに入力される。また、露出
演算回路(14)の出力(30)は、周期的に前記A−D変
換を行なわせるように周期的に“High"になる。
FIG. 2 is a block diagram showing the basic configuration of a camera to which the focus detection device of the present invention is applied. Reference numeral (1) is a photographing lens, and light from a subject that has passed through the photographing lens (1) is received by a light receiving element (3) via a filter (2) and corresponds to the amount of light received by the light receiving element (3). The analog signal is output from the photometric circuit (4). The relative spectral sensitivity of the light receiving element (3) and the filter (2) is shown by D in FIG. The analog signal from the photometry circuit (4) is input to the A / D conversion circuit (5) and the AND circuit (1
It is converted to a digital signal while the output of 2) is "High". Then, the A-D converted data is input to the exposure calculation circuit (14) to perform the exposure calculation. And
Data of the calculated exposure control value (aperture value to be controlled, shutter speed value or a combination thereof) is displayed by the display circuit (1
5) and the exposure control circuit (17). The output (30) of the exposure calculation circuit (14) periodically becomes "High" so that the A-D conversion is periodically performed.

撮影レンズ(1)を通過した被写体からの光はフィルタ
ー(6)を介して受光部(7)でも検出される。この受
光部(7)とフィルター(6)による相対分光感度は第
1図のAに示されているようになっている。受光部
(7)は微小な受光素子列2列とモニター用受光部とを
有し、モニター受光部の出力が所定値に達すると、各列
の受光強度の分布を示す各素子の出力が一旦サンプルホ
ールドされ、制御回路(8)に直列に入力されるように
なっている。そして制御回路(8)は入力してくる各素
子の受光量を示すアナログ信号をA−D変換して、演算
回路(18)に入力する。そして演算回路(18)では2列
の受光素子列の受光光の分布に応じた出力を比較するこ
とによりレンズ(1)の焦点調整状態(デフォーカス量
つまり、撮影レンズ(1)による所望被写体の像の結像
位置の予定焦点面からのずれ量とデフォーカス方向、つ
まり、該結像位置が予定焦点面の前か後か、即ち、前ピ
ンか後ピンか)を検出し、この検出結果に応じてモータ
(20)を回転させてレンズ(1)を合焦位置まで移動さ
せるとともに、表示回路(19)によって合焦か、前ピン
か後ピンかの焦点調整状態の表示を行なう。
The light from the subject that has passed through the taking lens (1) is also detected by the light receiving unit (7) via the filter (6). The relative spectral sensitivity of the light receiving part (7) and the filter (6) is as shown in A of FIG. The light receiving section (7) has two rows of minute light receiving element rows and a monitor light receiving section. When the output of the monitor light receiving section reaches a predetermined value, the output of each element showing the distribution of the light receiving intensity of each row is once output. The sample is held and input to the control circuit (8) in series. Then, the control circuit (8) A-D converts the input analog signal indicating the received light amount of each element, and inputs the analog signal to the arithmetic circuit (18). Then, in the arithmetic circuit (18), by comparing the outputs according to the distribution of the received light of the two light receiving element rows, the focus adjustment state of the lens (1) (the defocus amount, that is, the desired subject by the taking lens (1) The amount of deviation of the image forming position from the planned focal plane and the defocus direction, that is, whether the image forming position is before or after the planned focal plane, that is, whether it is a front focus or a rear focus, is detected. According to the above, the motor (20) is rotated to move the lens (1) to the in-focus position, and the display circuit (19) displays the focus adjustment state of in-focus, front focus or rear focus.

受光部(7)が受光を開始するときには、制御回路
(8)の端子(34)から発光開始信号が出力される。す
ると発光回路(11)が動作してキセノン管(10)は所定
光量の発光を行ない、フィルター(9)を透過した発光
光が被写体を照明する。このときの、フィルター(9)
を透過する光の相対分光エネルギー分布は第1図Cに示
すようになっている。
When the light receiving section (7) starts receiving light, a light emission start signal is output from the terminal (34) of the control circuit (8). Then, the light emitting circuit (11) operates and the xenon tube (10) emits a predetermined amount of light, and the light emitted through the filter (9) illuminates the subject. Filter (9) at this time
The relative spectral energy distribution of the light passing through is shown in FIG. 1C.

制御回路(8)はアンド回路(13)の出力(33)が“Hi
gh"になると焦点検出及び予備発光動作を開始させる。
そして、演算回路(18)の端子(31)からは制御回路
(8)が周期的に上述の動作を行うようにするために、
“High"の信号が周期的に出力される。
The output (33) of the AND circuit (13) of the control circuit (8) is "Hi.
When it becomes gh ", focus detection and preliminary light emission operation are started.
Then, in order for the control circuit (8) to periodically perform the above operation from the terminal (31) of the arithmetic circuit (18),
The "High" signal is output periodically.

端子(30)が“High"で、測光回路(4)の出力をA−
D変換回路(5)でA−D変換しているときに、端子
(31)が“High"になっても、このときはアンド回路(1
2)の出力(32)が“High"でアンド回路(13)は不能状
態になっているのでその出力(33)は“Low"のままであ
り、制御回路(8)は動作せず、測定・発光動作は行な
われない。そして、A−D変換回路(5)によるA−D
変換動作が終了し、A−D変換されたデータが露出演算
回路(14)に取り込まれると端子(30)が“Low"となり
アンド回路(12)の出力が“Low"となってアンド回路
(13)が能動状態となり出力(33)が“High"となる。
これによって、制御回路(8)による測定・発光動作が
開始する。
When the terminal (30) is "High", the output of the photometric circuit (4) is A-
Even if the terminal (31) goes to "High" during AD conversion by the D conversion circuit (5), the AND circuit (1
Since the output (32) of 2) is "High" and the AND circuit (13) is disabled, the output (33) remains "Low", the control circuit (8) does not operate, and the measurement・ No light emission operation is performed. Then, the A-D by the A-D conversion circuit (5)
When the conversion operation is completed and the A / D converted data is taken into the exposure calculation circuit (14), the terminal (30) becomes "Low" and the output of the AND circuit (12) becomes "Low". 13) becomes active and the output (33) becomes “High”.
As a result, the measurement / light emission operation by the control circuit (8) is started.

一方、端子(31)が“High"で制御回路(8)による測
定・発光動作が行なわれているときに端子(30)が“Hi
gh"になってもアンド回路(13)の出力が“High"なの
で、アンド回路(12)の出力(32)は“Low"のままでA
−D変換回路(5)は動作しない。そして、キセノン管
(10)の発光が終了し、受光部(7)のモニター用受光
部の出力が所定値に達して制御回路(8)の端子(35)
からパルスが出力され各受光素子の出力がサンプルホー
ルドされると、端子(31)は“Low"になる。するとアン
ド回路(13)の出力(33)が“Low"になって、アンド回
路(12)の出力が“High"になり、A−D変換回路
(5)の動作が開始される。
On the other hand, when the terminal (31) is "High" and the control circuit (8) is performing the measurement / light emitting operation, the terminal (30) is "Hi".
The output of the AND circuit (13) is "High" even if it becomes "gh", so the output (32) of the AND circuit (12) remains "Low".
The -D conversion circuit (5) does not operate. Then, the light emission of the xenon tube (10) ends, the output of the monitor light receiving section of the light receiving section (7) reaches a predetermined value, and the terminal (35) of the control circuit (8).
When the pulse is output from and the output of each light receiving element is sampled and held, the terminal (31) becomes "Low". Then, the output (33) of the AND circuit (13) becomes "Low", the output of the AND circuit (12) becomes "High", and the operation of the AD conversion circuit (5) is started.

第3図はこの発明を適用したカメラシステム全体を示す
回路図である。受光部(FMD)はCCD(Charge Coupled D
evice)で構成され2列の受光素子列を備え、夫々の受
光素子列は撮影レンズの射出瞳からの被写体のうちで近
赤外光を含む可視光を受光する受光部である。なお、受
光用の光学系等は種々提案されているので省略してある
が例えば、特開昭57−49841号に示されているようなも
のでよい。(COC)はこの受光部(FMD)の動作を制御す
る制御回路である。そして、(MCO1)は自動焦点調整用
のマイクロコンピュータ(以下ではマイコンと称す)で
ある。まず、以上の部分による測光動作を説明する。
FIG. 3 is a circuit diagram showing the whole camera system to which the present invention is applied. The light receiving unit (FMD) is a CCD (Charge Coupled D
The light receiving element array includes two light receiving element arrays, and each light receiving element array is a light receiving unit that receives visible light including near infrared light in a subject from the exit pupil of the photographing lens. Various optical systems for receiving light have been proposed and therefore omitted, but for example, those shown in JP-A-57-49841 may be used. (COC) is a control circuit that controls the operation of the light receiving unit (FMD). And (MCO1) is a microcomputer for automatic focus adjustment (hereinafter referred to as a microcomputer). First, the photometric operation by the above parts will be described.

マイコン(MCO1)の端子(O3)が“High"になると制御
回路(COC)の端子(φR)から“High"のパルスが出力
され、アナログスイッチ(AS2)が導通して、CCD(FM
D)の複数の電荷蓄積部は、端子(ANM)を介して定電圧
源(E1)の出力電圧まで、充電される。そして端子(φ
R)が“Low"になると各受光部の受光量に応じた電荷が
電荷蓄積部に蓄積されていく。このとき、CCD(FMD)内
のモニター用受光部(不図示)による蓄積電荷に対応し
た信号が端子(ANM)から出力され、このとき、端子
(φR)は“Low"になっているのでアナログスイッチ
(AS1)が導通していてモニター用受光部による出力は
コンパレータ(AC1)の反転入力端子に与えられる。電
荷が蓄積されていくと、出力電圧は次第に低下してい
く。このとき、電子閃光装置によるフラッシュ予備発光
を行なわないモードであれば端子(O1)は“Low"にな
り、アナログスイッチ(AS3)が導通して定電圧源(E
2)の出力電圧が、また、フラッシュ予備発光を行なう
モードであれば端子(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 CCD (FM
The plurality of charge storage units in D) are charged to the output voltage of the constant voltage source (E1) via the terminal (ANM). And the terminal (φ
When 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 accumulated charge by the monitor light receiving unit (not shown) in the CCD (FMD) is output from the terminal (ANM). At this time, the terminal (φR) is "Low", so the analog The switch (AS1) is conductive, and the output from the monitor light receiving unit is given to the inverting input terminal of the comparator (AC1). The output voltage gradually decreases as the charge is accumulated. At this time, in the mode in which the flash preliminary light emission by the electronic flash device is not performed, the terminal (O1) becomes “Low”, the analog switch (AS3) becomes conductive, and the constant voltage source (E
If the output voltage of 2) is the mode for flash preliminary light emission, the terminal (O1) is "High", the analog switch (AS4) is conductive, and the output voltage of the constant voltage source (E3) is the comparator (AC1). Applied to the non-inverting input terminal of.

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

また、電荷の蓄積が開始されて一定時間が経過しても端
子(φT)から転送パルスが出力されないときは、被写
体の輝度が低い場合であり、このときは端子(O2)から
パルスが出力されて、このパルスが入力すると制御回路
(COC)はコンパレータ(AC1)の出力に無関係に転送パ
ルス(φT)を出力する。
Also, if the transfer pulse is not output from the terminal (φT) even after a certain period of time has elapsed since 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).

電子閃光装置による予備照射を行なう場合、端子(O1)
が“High"となり、コンパレータ(AC1)の非反転端子に
は定電圧源(E3)からの電圧が入力する。この定電圧源
の出力電位は定電圧源(E2)の出力電位よりも高くなっ
ている。従って、モニター部による電荷蓄積量が予備照
射を行なわない場合に比較して少量の時点で転送パルス
(φT)が出力されることになる。これは、フラッシュ
光による予備照射を行なう場合、フラッシュ光の強度は
急激に変化するので、回路の応答遅れ等で、電荷蓄積部
がオーバーフローを起してしまい、正しい光量分布の測
定が行なえなくなってしまうことを防止するためであ
る。
Terminal (O1) for pre-irradiation with an electronic flash device
Becomes “High”, and the voltage from the constant voltage source (E3) is input to the non-inverting terminal of the comparator (AC1). The output potential of this constant voltage source is higher than the output potential of the constant voltage source (E2). Therefore, the transfer pulse (φT) is output at a time point when the amount of charge accumulated by the monitor unit is smaller than that when the preliminary irradiation is not performed. 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.

前述のように電荷蓄積を開始させるためにマイコン(MC
O1)の端子(O3)が“High"になると、ワンショット回
路(OS1)からパルスが出力され、このパルスはアンド
回路(AN1)を介して出力され端子(JB1)(JF1)を介
して電子閃光装置に発光開始信号が送られる。予備照射
が行なわれた場合でも、一定時間が経過しても転送パル
ス(φT)が出力されないときは端子(O2)からパルス
を出力させて転送パルスを強制的に出力させて、電荷蓄
積動作を停止させる。ところで蓄積時間を制限する一定
時間は予備照射を行なわない場合に比較して短時間とな
っている。これは、フラッシュ光の発光時間が短かく積
分時間を長くしておく必要がないからである。
As described above, a microcomputer (MC
When the terminal (O3) of O1) becomes "High", a pulse is output from the one-shot circuit (OS1), and this pulse is output through the AND circuit (AN1) and electronically through the terminals (JB1) (JF1). A light emission start signal is sent to the flash device. Even if pre-irradiation is performed, if the transfer pulse (φT) is not output within a certain period of time, a pulse is output from the terminal (O2) to forcibly output the transfer pulse, and the charge storage operation is performed. Stop. 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 flash light emission time is short and it is not necessary to lengthen the integration time.

マイコン(MCO2)が電子閃光装置(FLC)からデータを
読み取ると、このデータ中に予備照射が可能な状態かど
うかを示す信号が含まれている。そこで予備照射が可能
である信号が入力するとマイコン(MCO2)は端子(O1
6)を“High"にする。マイコン(MCO1)は端子(i2)が
“High"であれば予備照射を行なうモードでの動作が可
能であることを判別し、“Low"であれば予備照射を行な
うモードでの動作が不可能であることを判別する。
When the microcomputer (MCO2) reads the data from the electronic flash device (FLC), the data contains a signal indicating whether or not preliminary irradiation is possible. Therefore, when a signal indicating that preliminary irradiation is possible is input, the microcomputer (MCO2)
6) 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)を駆動する回路
であり、焦点検出結果が前ピンで、レンズを繰り込む必
要があるときはマイコン(MCO1)の端子(O4)が、後ピ
ンで繰り出す必要があるときは端子(O5)が“High"に
なる。モーター(MO)の回転はレンズ駆動部(LD)を介
してレンズ側(LE)に伝達されレンズの焦点調整が行な
われる。また、レンズ駆動部(LD)の駆動量はエンコー
ダ(ENC)によってパルス信号に変換され、このパルス
信号はマイコン(MCO1)のクロック入力端子(CPI)に
入力されて駆動量がカウントされる。また、エンコーダ
(ENC)からのパルスはモーター駆動回路(MDR)に入力
されて、レンズの駆動速度が一定となるようにモーター
(MO)を駆動するための基準信号として用いられる。
(MDR) is a circuit that drives the motor (MO) for focus adjustment. The focus detection result is the front pin, and when the lens needs to be retracted, the terminal (O4) of the microcomputer (MCO1) is the rear pin. When it is necessary to feed it, the terminal (O5) becomes "High". The rotation of the motor (MO) is transmitted to the lens side (LE) via the lens drive unit (LD) and the focus of the lens is adjusted. The drive amount of the lens drive unit (LD) is converted into a pulse signal by the encoder (ENC), and this pulse signal is input to the clock input terminal (CPI) of the microcomputer (MCO1) 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 the focus adjustment state, and displays the front focus state, the focus state, the rear focus state, and the focus adjustment failure warning according to the data from the output terminal (OP1) of the microcomputer.

図の左上隅に示されているスイッチ(SMB)はメインス
イッチであり、(BB)は電源用電池である。この電源電
池(BB)からはメインスイッチ(SMB)を介して直接電
源ライン(+E)を介してマイコン(MCO1),(MCO2)
に給電が行なわれる。スイッチ(S1)はレリーズボタン
(不図示)の押下の一段目で閉成される測光スイッチ
で、このスイッチ(S1)が閉成されると、インバータ
(IN3)、アンド回路(AN3)、オア回路(OR4)を介し
てマイコン(MCO2)の割込端子(it)に割込信号が入力
し、端子(O12)を“High"としてインバータ(IN6)を
介してトランジスタ(BT1)を導通させ電源ライン(+
V)を介してインバータ(IN3)〜(IN6)、アンド回路
(AN2),(AN3)、オア回路(OR4)、マイコン(MCO
1),(MCO2)以外の回路への給電を開始する。そし
て、この給電開始に基づいてパワーオンリセット回路
(PO1)からリセットパルスが出力されて電源ライン
(+V)から給電が行なわれる回路がリセットされる。
また、端子(O12)が“High"になるとアンド回路(AN
3)が不能状態、(AN2)が能動状態となりスイッチ(S
1)からの割込記号は入力されない状態となる。
The switch (SMB) shown in the upper left corner of the figure is the main switch, and (BB) is the power supply battery. From this power supply battery (BB), through the main switch (SMB) and directly through the power supply line (+ E), the microcomputers (MCO1), (MCO2)
Is supplied to. 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), the terminal (O12) is set to "High" and the transistor (BT1) is turned on via the inverter (IN6), and the power supply line is connected. (+
V) via inverters (IN3) to (IN6), AND circuits (AN2), (AN3), OR circuit (OR4), microcomputer (MCO
Power supply to circuits other than 1) and (MCO2) is started. Then, based on the start of power feeding, a reset pulse is output from the power-on reset circuit (PO1), and the circuit to which power is fed from the power supply line (+ V) is reset.
When the terminal (O12) goes high, the AND circuit (AN
3) is disabled, (AN2) becomes active and switch (S
The interrupt code from 1) will not be entered.

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

図の中央の(EDO)は設定された露出制御用データを出
力するブロックで、端子(OP13)からの読み出し信号に
基づいて設定データが順次端子(IP10)から読み取られ
る。(LMC)は露出用測光回路で、A−D変換用のアナ
ログ入力端子(ANI)には測光回路(LMC)の出力が入力
される。また、マイコン(MCO2)のD−A変換器用の基
準電圧として、測光回路(LMC)内の基準電圧が端子(V
RI)に入力する。(EXD)は露出制御値を表示する表示
回路で端子(OP14)からの表示データに基づいて露出制
御値を表示する。(EXC)は露出制御回路であり端子(O
P15)からの信号に基づいて絞りと露出時間を制御す
る。また、端子(TIE)はシャッターレリーズの時点か
ら、後幕の走行開始後一定時間経過時点まで“High"と
なり、撮影時のフラッシュ発光量制御用の積分動作を可
能状態とする。
(EDO) in the center of the figure is a block that outputs the set exposure control data, and the setting data is sequentially read from the terminal (IP10) based on the read signal from the terminal (OP13). (LMC) is an exposure photometric circuit, and the output of the photometric circuit (LMC) is input to the analog input terminal (ANI) for AD conversion. Also, as the reference voltage for the D / A converter of the microcomputer (MCO2), the reference voltage in the photometric circuit (LMC) is the terminal (V
RI). (EXD) is a display circuit for displaying the exposure control value and displays the exposure control value based on the display data from the terminal (OP14). (EXC) is the exposure control circuit and the terminal (O
The aperture and exposure time are controlled based on the signal from P15). In addition, the terminal (TIE) becomes “High” from the time of shutter release to the time when a certain time has elapsed after the trailing curtain starts running, and the integral operation for controlling the flash emission amount at the time of shooting is enabled.

(LEB)はレンズ側の回路(LEC)からデータを読み取る
ためのインターフェース回路である。前述のようにトラ
ンジスタ(BT1)が導通すると電源ライン(+V)から
端子(JB11)(JL1)を介してレンズ側の回路(LEC)へ
の給電が行なわれる。そして、マイコン(MCO2)の端子
(O15)が“High"になるとインターフェース回路(LE
B)が動作可能状態となり、さらに、端子(JB12),(J
L2)が“High"となって、レンズ側の回路(LEC)も動作
可能状態となる。レンズ側の回路(LEC)内には、この
変換レンズ固有の露出制御用及び自動焦点調整用のデー
タを複数のアドレスに固定記憶したROMと、このROMのア
ドレスを端子(JB13),(JL3)を介して入力してくる
クロックパルスに基づいて、もしもレンズが、ズームレ
ンズであればそのクロックパルス及び焦点距離に対応し
たコード板の出力に基づいて順次指定するアドレス指定
手段と、ROMから並列に出力されるデータを、端子(JB1
3),(JL3)を介して入力してくるクロックパルスに基
づいて順次1ビットづつ端子(JL4),(JB14)を介し
て出力する並列一直列変換手段とを備えている。
(LEB) is an interface circuit for reading data from the circuit (LEC) on the lens side. When the transistor (BT1) becomes conductive as described above, power is supplied from the power supply line (+ V) to the lens side circuit (LEC) via the terminals (JB11) (JL1). When the terminal (O15) of the microcomputer (MCO2) becomes "High", the interface circuit (LE
B) becomes operable, and terminals (JB12) and (JB12)
L2) becomes "High", and the lens side circuit (LEC) becomes operable. In the circuit (LEC) on the lens side, ROM that fixedly stores the data for exposure control and automatic focus adjustment, which is unique to this conversion lens, at multiple addresses, and the addresses of this ROM are terminals (JB13), (JL3) If the lens is a zoom lens based on the clock pulse input via the, the addressing means for sequentially specifying based on the clock pulse corresponding to the clock pulse and the output of the code plate corresponding to the focal length, and from the ROM in parallel Output the data to the terminal (JB1
3), and parallel-to-serial conversion means for sequentially outputting one bit at a time based on the clock pulse input via (JL3) via terminals (JL4), (JB14).

ROMに固定記憶されているデータとしては、すべての交
換レンズに共通に設けられている装着を確認するための
チェックデータ、開放絞り値のデータ、最大絞り値(絞
り口径が最小になる時の絞り値)のデータ、開放測光誤
差のデータ、焦点距離のデータ、ズームレンズで設定焦
点距離に応じた絞りの変化量のデータ等がある。さら
に、焦点検出装置で検出されたデフォーカス量をレンズ
の駆動量に変換するための変換係数(KD)、フラッシュ
による予備照射の際には被写体がまぶしく感じることを
防止するよう近赤外光を照射することによる近赤外光と
可視光での合焦位置のズレ(デフォーカス量の差)を補
正するための(近赤外光で測定したデフォーカス量を可
視光でのデフォーカス量に補正するための)データ(IR
D)、レンズを一方の方向から他方の方向に駆動方向を
変えたとき、カメラ側の駆動軸とレンズ側の従動軸との
嵌合ガタによって駆動軸を余分に駆動する必要があると
きの余分駆動量即ちバックラッシュデータ(BLD)等が
ある。
The data fixedly stored in the ROM are the check data that is provided in common for all interchangeable lenses to confirm the installation, the data of the maximum aperture value, and the maximum aperture value (the aperture when the aperture diameter becomes the minimum). Value data, open metering error data, focal length data, aperture change amount 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, and the near infrared light to prevent the subject from feeling dazzling during preliminary irradiation with the flash. In order to correct the deviation (difference in defocus amount) of the focusing position between near infrared light and visible light due to irradiation (the defocus amount measured with near infrared light is used as the defocus amount with visible light). Data (for correction) (IR
D), when the driving direction of the lens is changed from one direction to the other, it is necessary to drive the driving shaft excessively due to the looseness of fitting between the camera-side driving shaft and the lens-side driven shaft. There is a drive amount, that is, backlash data (BLD).

マイコン(MCO2)の端子(SCP)からは8個づつのクロ
ックパルスが出力されて、レンズ側の回路(LEC)では
8個のクロックパルスが入力される毎に、ROMのアドレ
スが更新され、指定されたアドレスに固定記憶されてい
るデータが、クロックパルスに基づいて順次直列で出力
され、マイコン(MCO2)の直列入出力端子(SIO)から
順次読み取られていく。
Eight clock pulses are output from the microcomputer (MCO2) terminal (SCP), and the ROM address is updated and specified every time eight clock pulses are input to the lens side circuit (LEC). The data fixedly stored at the generated address are 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)は電子
閃光装置内の回路である。電子閃光装置内の回路(FL
C)の具体例は第4図に示してあり、以下第4図とあわ
せて電子閃光装置を用いる動作を説明する。第4図にお
いて(BF)は電子閃光装置の電源電池であり、(SMF)
はメインスイッチである。(DD)は昇圧回路であり、昇
圧回路(DD)の2次巻線側の高電圧端子はダイオード
(D1)を介して、メインコンデンサ(C2)に接続され、
高電圧端子の電圧でメインコンデンサ(C2)が充電され
る。また、2次巻線の低電圧端子はダイオード(D2)を
介してコンデンサ(C1)に接続され、その出力電圧でコ
ンデンサ(C1)が充電される。メインスイッチ(SMF)
が閉成されるとトランジスタ(BT2),(BT3)が導通
し、電圧安定化回路(CV)からの昇圧出力又はダイオー
ド(D3)を介した電源電池(BF)の出力がトランジスタ
(BT3)を介して電源ライン(VF)に給電される。この
電源ライン(VF)からの給電は、第4図において、給電
路が示されてない回路にはすべて行なわれる。また、電
源ライン(VF)による給電が開始するとパワーオンリセ
ット回路(PO2)からリセット信号が出力されディジタ
ル回路部のリセット動作が行なわれる。スイッチ(SO
F)はメインスイッチ(SMF)に連動して同相で開閉され
るスイッチである。そして抵抗(R1)〜(R4)はメイン
コンデンサ(C2)の充電電圧を分圧する抵抗であり、
(VC)は定電圧源である。抵抗(R1)と(R2)との接続
点の電位が定電圧源(VC)の電位を上まわるとコンパレ
ータ(AC1)の出力は“High"となりこの信号が“High"
になったときはキセノン管(XE1)が発光するのに必要
な最低電圧まではコンデンサ(C2)は充電されたことに
なり、発光開始信号が入力されるとキセノン管(XE2)
の発光を開始させる。抵抗(R2)と(R3)との接続点の
電位が定電圧源(VC)の出力電位を上まわると、コンパ
レータ(AC2)の出力が“High"となる。この場合は、キ
セノン管(XE2)の発光量が公称の発光量となるのに必
要な電圧までメインコンデンサ(C2)の電圧が充電され
たことになり、カメラ本体へは充電完了信号が送られる
とともに表示回路(CDP)によって充電完了表示が行な
われる。抵抗(R3)と(R4)との接続点の電位が定電圧
源(VC)の出力電位を上まわるとコンパレータ(AC3)
の出力が“High"となる。このときは、撮影用のキセノ
ン管(XE2)が公称値だけ発光し、さらに予備照射用の
キセノン管(XE1)が所定量だけ2回発光するのに必要
な値までメインコンデンサ(C2)が充電されたことを示
し、この信号は予備照射可能信号としてカメラ側に送ら
れる。なお、スイッチ(SS)は手動で切換えられるスイ
ッチであり、このスイッチ(SS)が端子(EN)に接続さ
れていれば予備照射可能信号はカメラ側に送られるが、
端子(DEN)に接続されていれば端子(PCH)への入力は
常に“Low"となり予備照射可能信号はカメラ側に送られ
ずカメラは予備照射モードにはならず、また、オア回路
(OR20)の出力は“Low"のままなので発光はしない。
(FLB) is an electronic flash device control circuit, and (FLC) is a circuit in the electronic flash device. Circuit in electronic flash (FL
A concrete example of C) is shown in FIG. 4, and the operation using the electronic flash device will be described below in conjunction with FIG. In Fig. 4, (BF) is the power supply battery of the electronic flash device, and (SMF)
Is the main switch. (DD) is a booster circuit, the high voltage terminal on the secondary winding side of the booster circuit (DD) is connected to the main capacitor (C2) via the diode (D1),
The voltage of the high voltage terminal charges the main capacitor (C2). Further, the low voltage terminal of the secondary winding is connected to the capacitor (C1) through the diode (D2), and the capacitor (C1) is charged by the output voltage. Main switch (SMF)
When is closed, the transistors (BT2) and (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) turns on the transistor (BT3). Power is supplied to the power supply line (VF) via the 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. Switch (SO
F) is a switch that opens and closes in phase with the main switch (SMF). The resistors (R1) to (R4) are resistors that divide the charging voltage of the main capacitor (C2).
(VC) is a constant voltage source. When the potential of the connection point between the resistors (R1) and (R2) exceeds the potential of the constant voltage source (VC), the output of the comparator (AC1) becomes "High" and this signal becomes "High".
When it becomes, the capacitor (C2) has been charged to the minimum voltage required for the xenon tube (XE1) to emit light, and when the emission start signal is input, the xenon tube (XE2)
Light emission is started. When the potential at the connection point between the resistors (R2) and (R3) exceeds the output potential of the constant voltage source (VC), the output of the comparator (AC2) becomes "High". In this case, the voltage of the main capacitor (C2) has been charged to the voltage required for the xenon tube (XE2) light emission amount to reach the nominal light emission amount, and a charge completion signal is sent to the camera body. At the same time, the display circuit (CDP) indicates that charging is completed. Comparator (AC3) when the potential at the connection point between resistors (R3) and (R4) exceeds the output potential of the constant voltage source (VC).
Output becomes “High”. In this case, the main capacitor (C2) is charged to the value required for the xenon tube (XE2) for shooting to emit the 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.
If it is connected to the terminal (DEN), the input to the terminal (PCH) will always be "Low", the preliminary irradiation enable signal will not be sent to the camera side, the camera will not enter the preliminary irradiation mode, and the OR circuit (OR20 ) Output remains "Low", so it does not emit light.

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

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

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

露出制御動作を開始させるときはマイコン(MCO2)の端
子(O14)から150μsec巾のパルスを出力する。すると
モード判別回路(FMS)は端子(FLM)を“High"にす
る。これによって発光制御回路(FLC)が能動状態とな
り発光制御が行なわれる。カメラのフォーカルプレンシ
ャッタの先幕の走行完了と共にカメラのX接点(SX)が
閉成されると端子(JB4),(JF4)から発光開始信号が
端子(STA)へ入力し端子(α1)から発光開始信号が
出力される。またこれと同時に端子(α3)が“High"
から“Low"に反転してこの信号が端子(JF3),(JB3)
を介してカメラ側に送られる。カメラ側では、端子(JB
3)が“Low"になると、回路(FLB)内の測光積分回路
(不図示)がフラッシュ光によって照明されている被写
体から反射され、撮影レンズの絞り(不図示)を通過し
た光の量を積分して、積分量がアナログ出力端子(AN
O)からのフィルム感度に対応したアナログ値に達する
と端子(JB2)に発光停止用のパルスを出力する。この
パルスは端子(JF2)を介して発光制御回路(FLC)の端
子(STP)に入力する。すると、端子(α2)から発光
停止信号が出力されてキセノン管(XE2)の発光が停止
する。また、端子(α2)からの発光停止信号は表示回
路(FDP)にも送られて露出制御動作が完了するとX接
点(SX)が開放されるが、この信号に基づいてX接点
(SX)開放から一定時間、端子(df)が“High"にな
り、この間は調光動作が行なわれたことを表示する。さ
らにこの信号はデータ出力回路(DOU)を介してカメラ
側にも送られる。また、X接点(SX)が開放されると端
子(r3)からパルスが出力され、オア回路(OR12)を介
してモード判別回路(FMS)がリセットされて端子(FL
M)が“Low"になる。
When starting the exposure control operation, a pulse of 150 μsec width is output from the terminal (O14) of the microcomputer (MCO2). Then, the mode discrimination circuit (FMS) sets the terminal (FLM) to "High". As a result, the light emission control circuit (FLC) is activated and light emission is controlled. When the front contact of the focal plane shutter of the camera is completed and the X contact (SX) of the camera is closed, the light emission start signal is input from the terminals (JB4) and (JF4) to the terminal (STA) and from the terminal (α1). A light emission start signal is output. At the same time, the terminal (α3) is "High".
Signal is inverted from "Low" to this terminal (JF3), (JB3)
Is sent to the camera side via. On the camera side, the terminal (JB
When 3) becomes “Low”, the photometric integration circuit (not shown) in the circuit (FLB) reflects the amount of light reflected from the subject illuminated by the flash light and passing through the aperture (not shown) of the shooting lens. After integration, the integrated amount is the analog output terminal (AN
When the analog value corresponding to the film sensitivity from (O) is reached, a pulse for stopping light emission is output to the terminal (JB2). 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. After that, the terminal (df) becomes "High" for a certain time, and during this period, it indicates that the dimming operation has been performed. Further, this signal is also sent to the camera side via the data output circuit (DOU). When the X contact (SX) is opened, a pulse is output from the terminal (r3), the mode discrimination circuit (FMS) is reset via the OR circuit (OR12), and the terminal (FL) is reset.
M) becomes “Low”.

予備照射モードで端子において、マイコン(MCO1)の
(O1)が“High"の状態で端子(O3)から蓄積を開始さ
せるために“High"の信号が出力されると、ワンショッ
ト回路(OS1)からパルスが出力されてこのパルスがア
ンド回路(AN1)から出力される。このパルスは端子(J
B1),(JF1)を介して第4図のアンド回路(AN20)に
入力される。このとき、Dフリップ・フロップ(DF21)
のQ出力は“High"になり、コンパレータ(AC3)の出力
が“High"になっていてオア回路(OR20)の出力が“Hig
h"なので、アンド回路(AN20)に入力されるパルスはア
ンド回路(AN20)から出力される。このパルスはトリガ
ー回路(TR1)に送られてキセノン管(XE1)による予備
照射が開始する。そしてアンド回路(AN20)からのパル
スはフリップ・フロップ(RF20)をセットするのでカウ
ンタ(CO6)のリセット状態を解除してカウンタ(CO6)
はカウントを開始する。そして、カウントが開始されて
一定時間が経過するとデコーダ(DE6)の端子(f1)が
“High"となりワンショット回路(OS22)からパルスが
出力される。このパルスは発光停止回路(ST1)に送ら
れてキセノン管(XE1)による予備照射が停止される。
またデコーダ(DE6)の端子(f1)が“High"となること
でオア回路(OR22)を介してフリップ・フロップ(RF2
0)がリセットされ、カウンタ(CO6)はリセット状態と
なり、端子(f1)は“Low"となる。また、アンド回路
(AN20)の出力パルスはDフリップ・フロップ(DF20)
のクロックパルス入力端子に送られてコンパレータ(AC
3)の“High"の出力がラッチされて、Dフリップ・フロ
ップ(DF20)のQ出力が“High"になる。
In the pre-irradiation mode, when the microcomputer (MCO1) (O1) is in the "High" state and the "High" signal is output to start accumulation from the terminal (O3), the one-shot circuit (OS1) Outputs a pulse from the AND circuit (AN1). This pulse is at the terminal (J
It is input to the AND circuit (AN20) in FIG. 4 via B1) and (JF1). At this time, D flip-flop (DF21)
Q output becomes "High", the output of the comparator (AC3) becomes "High" and the output of the OR circuit (OR20) becomes "Hig".
Since it is h ", the pulse input to the AND circuit (AN20) is output from the AND circuit (AN20). This pulse is sent to the trigger circuit (TR1) to start the preliminary irradiation by the xenon tube (XE1). The pulse from the AND circuit (AN20) sets the flip-flop (RF20), so the reset state of the counter (CO6) is released and the counter (CO6) is released.
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 sent to the emission stop circuit (ST1) to stop the preliminary irradiation by the xenon tube (XE1).
Also, when the terminal (f1) of the decoder (DE6) becomes "High", the flip-flop (RF2
0) is reset, the counter (CO6) is reset, and the terminal (f1) becomes "Low". The output pulse of the AND circuit (AN20) is the D flip-flop (DF20).
Sent to the clock pulse input terminal of the comparator (AC
The 3) output of “High” is latched, and the Q output of the D flip-flop (DF20) becomes “High”.

二度目のパルスがアンド回路(AN20)から出力されたと
きにメインコンデンサ(C2)の充電電圧が低下してコン
パレータ(AC3)の出力が“Low"になっていても、一回
目の発光時点でDフリップ・フロップ(DF20)のQ出力
が“High"になっているのでオア回路(OR20)の出力は
“High"になっていて、アンド回路(AN20)からはパル
スが出力される。そしてそのパルスによって前述と同様
の発光動作が行なわれる。また、このパルスによってD
フリップ・フロップ(DF21)のQ出力が“High"にな
る。するとワンショット回路(OS20)からパルスが出力
され、このパルスの立ち上がりでワンショット回路(OS
21)からパルスが出力されてDフリップ・フロップ(DF
20),(DF21)がリセットされて初期状態に戻る。
Even if the charge voltage of the main capacitor (C2) drops and the output of the comparator (AC3) becomes "Low" when the second pulse is output from the AND circuit (AN20), Since the Q output of the D flip-flop (DF20) is "High", the output of the OR circuit (OR20) is "High" and a pulse is output from the AND circuit (AN20). Then, the pulse causes the same light emitting operation as described above. Also, this pulse causes D
The Q output of the flip-flop (DF21) becomes "High". Then, the one-shot circuit (OS20) outputs a pulse, and the one-shot circuit (OS
21) outputs a pulse to the D flip-flop (DF
20), (DF21) are reset and returned to the initial state.

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

ステップS6では設定データを出力するブロック(EDO)
からのデータを取り込み、次に、直列入出力動作を行な
ってフラッシュからのデータを直列で取り込む。そし
て、予備照射が可能な信号が入力しているかどうかをス
テップS8で判別して、入力していれば端子(O16)を“H
igh"に、入力していなければ端子(O16)を“Low"にし
てステップS11に移行する。
Block that outputs setting data in step S6 (EDO)
Data from the flash and then a serial I / O operation to serially capture the data from the flash. Then, in step S8, it is determined whether or not a signal capable of preliminary irradiation is input, and if it is input, the terminal (O16) is set to "H".
If it is not input to igh ", the terminal (O16) is set to" Low "and the process proceeds to step S11.

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

次に、ステップS15、S16で定常光用、フラッシュ光用の
露出演算を行なう。そして、フラグRLFが“1"かどうか
を判別する。RLFが“1"ならばレリーズスイッチ(S2)
による割込にもかかわらずこのステップに移行してきた
ことになり、レリーズ用の後述するステップS33に移行
する。一方、フラグRLFが“0"ならば、測光スイッチ(S
1)による割込でこのステップに移行してきたことにな
り、ステップS18に移行して、フラグLMFを“1"とし、割
込を可能としてステップ20に移行する。ステップS20で
は直列入出力動作を行なってフラッシュ電子閃光装置
(FLC)へデータを送る。ステップS21では、電子閃光装
置から給電信号を読み取ったかどうかを判別し、給電信
号を読み取っている場合にはフラッシュ光撮影用デー
タ、読み取ってなければ定常光撮影データを表示部(EX
D)に送ってステップS40に移行する。そしてステップS4
0では測光スイッチ(S1)が閉成されたままで端子(i1
2)が“High"になっているかどうかを判別して“High"
になっていればステップS3に戻って前述と同様の動作を
繰り返す。一方、ステップS40で端子(i12)が“Low"に
なっていることが判別されると端子(O10)を“Low"と
して、自然焦点調整動作を停止させ、フラグLMFを“O"
にし、端子(O12)を“Low"としてトランジスタを不導
通として電源ライン(+V)からの給電を停止させ、表
示部(EXD)の表示を消灯してマイコン(MCO2)は動作
を停止する。
Next, in steps S15 and S16, exposure calculation for steady light and flash light is performed. Then, it is determined whether the flag RLF is "1". Release switch (S2) if RLF is "1"
This means that the process has moved to this step in spite of the interruption by, and the process moves to step S33, which will be described later, for release. On the other hand, if the flag RLF is "0", the photometric switch (S
It means that the process has been shifted to this step by the interrupt according to 1), the process proceeds to step S18, the flag LMF is set to "1", the interrupt is enabled, and the process proceeds to step 20. In step S20, serial input / output operation is performed to send data to the flash electronic flash device (FLC). In step S21, 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. If not, the steady light shooting data is displayed on the display unit (EX.
D) and move to step S40. And step S4
At 0, the metering switch (S1) remains closed and the terminal (i1
2) is determined to be "High" and "High"
If so, the process returns to step S3 and the same operation as described above is repeated. On the other hand, if it is determined in step S40 that the terminal (i12) is "Low", the terminal (O10) is set to "Low" to stop the natural focus adjustment operation and set the flag LMF to "O".
Then, the terminal (O12) is set to "Low" to make the transistor non-conductive to stop the power supply from the power supply line (+ V), turn off the display of the display unit (EXD), and stop the operation of the microcomputer (MCO2).

露出制御用データが算出された状態で割込信号が入力さ
れるとステップ431に移行して端子(O10),(O16)を
“Low"として、自動焦点調整動作を停止させる信号を出
力する。そしてレリーズスイッチ(S2)による割込が行
なわれたことを示すためにフラグRLFを“1"としてステ
ップS33に移行する。ステップS33では入力端子(i11)
が“High"かどうかを判別して“High"であれば露出演算
のためにステップS33に移行し、“Low"であれば露出制
御のためにステップS34に移行する。この入力端子(i1
1)はマイコン(MCO1)の出力端子(O7)に接続されて
いて、この端子は以下のような信号を出力する。まず、
予備照射を用いない自動焦点調整動作の際には、撮影レ
ンズの移動が完全に停止するまでは“High"の信号を出
力し、完全に停止すると“Low"の信号を出力する。従っ
て、端子(i11)が“High"の間はマイコン(MCO2)が露
出制御動作に移行しないので撮影レンズが移動中に露出
制御動作が実行されるといった誤動作が防止できる。一
方、予備照射を用いた自動焦点調整動作を行なう際に
は、予備照射が行なわれた時点から一定時間(例えば20
0msec)、たとえ、自動焦点調整動作が停止していた
り、マイコン(MCO2)から自動焦点調整動作を停止させ
る信号が入力していても、“High"の信号が出力され
る。従って予備照射が行なわれた時点から少なくとも一
定時間は露出制御動作は行なわれず、露出制御用の演算
動作が繰り返されることになる。これは、測光回路(LM
C)の出力のA−D変換と予備照射とが誤って重なった
時期に実行されて、誤ったA−D変換データに基づく露
出制御値で露出が制御されることを防止することにな
る。さらに、予備照射されるフラッシュ光が近赤外光で
あっても被写体の人物が眩しく感じて、まぶたを閉じる
ことがある。しかし一定時間後であればまぶたは開か
れ、正常な表情の撮影が行なえるからでもある。
When an interrupt signal is input while the exposure control data is calculated, the process proceeds to step 431, the terminals (O10) and (O16) are set to "Low", and a signal for stopping the automatic focus adjustment operation is output. Then, the flag RLF is set to "1" to indicate that the interrupt has been performed by the release switch (S2), and the process proceeds to step S33. Input terminal (i11) in step S33
If it is "High", the process proceeds to step S33 for exposure calculation, and if "Low", the process proceeds to step S34 for exposure control. This input terminal (i1
1) is connected to the output terminal (O7) of the microcomputer (MCO1), and this terminal outputs the following signals. First,
During the automatic focus adjustment operation without pre-irradiation, it outputs a "High" signal until the movement of the taking lens is completely stopped, and outputs a "Low" signal when it is completely stopped. Therefore, since the microcomputer (MCO2) does not shift to the exposure control operation while the terminal (i11) is "High", it is possible to prevent an erroneous operation such that the exposure control operation is executed while the taking lens is moving. On the other hand, when performing the automatic focus adjustment operation using the preliminary irradiation, a certain time (for example, 20
0 msec), even if the automatic focus adjustment operation is stopped or a signal for stopping the automatic focus adjustment operation is input from the microcomputer (MCO2), the "High" signal is output. Therefore, the exposure control operation is not performed for at least a fixed time after the preliminary irradiation is performed, and the calculation operation for the exposure control is repeated. This is the photometric circuit (LM
It is possible to prevent the exposure from being controlled by the exposure control value based on the erroneous A-D conversion data, which is performed when the A-D conversion of the output of C) and the preliminary irradiation are erroneously overlapped. Further, even if the pre-illuminated flash light is near-infrared light, the person as the subject may feel dazzling and may close the eyelids. However, after a certain period of time, the eyelids will be opened and you will be able to shoot with a normal expression.

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

第6−1〜6−3図はマイコン(MCO2)による自動焦点
調整のための動作を示すフローチャートである。以下第
6−1〜第6−3図に基づいて第3図の自動焦点調整用
の動作を説明する。マイコン(MCO2)の端子(O10)が
自動焦点調整動作を始めさせるために“High"になると
端子(it2)に割込信号が入力し、マイコン(MCO1)の
動作が開始する。まず#1のステップでは自動焦点調整
動作が行なわれていることをマイコン(MCO2)に伝達す
るため端子(O7)を“High"とする。そして、端子(it
1)とカウンタによる割込を可能とし、タイマーによる
割込を不可能として端子(O3)を“High"にして制御回
路(COC)によって、CCD(FMD)による電荷蓄積動作を
開始させる。
FIGS. 6-1 to 6-3 are flowcharts showing the operation for automatic focus adjustment by the microcomputer (MCO2). The operation for automatic focus adjustment shown in FIG. 3 will be described below with reference to FIGS. 6-1 to 6-3. When the terminal (O10) of the microcomputer (MCO2) goes "High" to start the automatic focus adjustment operation, an interrupt signal is input to the terminal (it2) and the operation of the microcomputer (MCO1) starts. First, in step # 1, the terminal (O7) is set to "High" to notify the microcomputer (MCO2) that the automatic focus adjustment operation is being performed. And the terminal (it
1) and the counter enable the interrupt, and the timer disables the interrupt so that the terminal (O3) is set to "High" and the control circuit (COC) starts the charge accumulation operation by the CCD (FMD).

#4のステップでは、マイコン(MCO1)内の、外部又は
内部のクロックをカウントするカウンタCORの内容をレ
ジスタECR1に設定する。尚、以下の説明において、カウ
ンタやレジスタを示す符号がカッコにかこまれていない
ものは、マイコン内のものである。これは後述するよう
に、撮影レンズを移動させながら焦点検出を行なうため
に、焦点検出中のレンズの移動量を算出するために必要
なデータであり、第1回目の測定時には必要がない。#
5のステップではフラグFLFが“1"かどうかを判別す
る。このフラグは、フラッシュによる予備照射が行なわ
れるときは“1"となり、定常光だけによる測定が行なわ
れるときは“0"になっている。第1回目の測定の際には
必らず予備照射は行なわれずフラグFLFは“0"になって
いて、#6のステップに移行する。
In step # 4, the contents of a counter COR that counts an external or internal clock in the microcomputer (MCO1) is set in the register ECR1. In the following description, the reference numerals indicating counters and registers that are not enclosed in parentheses are those in the microcomputer. 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. #
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
を設定する。このレジスタTIR1はソフトで時間をカウン
トするレジスタであり、この他に内部クロックをソフト
とは無関係にカウントするタイマー用カウンタTICがあ
り、このカウンタTICの内容が“0"になるとタイマー割
込がかかる。そしてレジスタECR4にカウンタCORの内容
を設定し、タイマー用レジスタTIR2に固定値K1を設定す
る。このレジスタTIR2もTIR1と同様にソフトで時間をカ
ウントするレジスタである。そしてタイマー用レジスタ
TIR2の内容から“1"を減算し、このレジスタTIR2の内容
が“0"になっているかどうかを判別するという動作を繰
り返し一定時間待つ。一定時間が経過すると#11のステ
ップで入力端子(i3)が“Low"になっているかどうかを
判別し、“Low"になっていれば前述のように、マイコン
(MCO2)から自動焦点調整動作を停止させる信号が入力
しているので#209のステップから始まる自動焦点調整
動作を停止させる動作を行なう。一方、端子(i3)が
“High"なら、#12のステップでフラグFPFが“1"かどう
かを判別する。このフラグFPFは第1回目の測定のよう
にモーター(MO)が停止しているときには“1"になって
いる。従って、フラグFPFが“1"でモーター(MO)が停
止していれば#12のステップから#15のステップに移行
し、#6のステップで固定値Kaが設定されたレジスタTI
R1から“1"を減算して、TIR1の内容が“0"になったかど
うかを判別し“0"でなければ#7のステップに戻り同様
の動作を繰り返す。そしてこの動作が繰り返されている
間に第3図のコンパレータ(AC1)の出力が“High"に反
転すると、制御回路(COC)の端子(φT)から転送パ
ルスが出力され、このパルスは割込端子(it1)に入力
してマイコン(MCO1)は#24のステップからの動作を開
始する。また、#16のステップでレジスタTIR1の内容が
“0"になったことが判別されると#21のステップで端子
(O2)にパルスを出力して前述のように強制的に蓄積動
作を停止させ、フラグTOFを“1"にして、動作を終了
し、端子(it1)への割込信号を待つ。ここで#3のス
テップで蓄積動作を開始させて、#16のステップでレジ
スタTIR1の内容が“0"であることが判別されるまでの時
間は一定時間になっていて蓄積時間はこれ以上は長くな
らないようになっている。
In step # 6, the fixed value Ka is set in the timer register TIR1.
To set. This register TIR1 is a register that counts time by software. In addition to this, there is a timer counter TIC that counts the internal clock regardless of software. When the content of this counter TIC becomes "0", a timer interrupt is applied. . Then, the contents of the counter COR are set in the register ECR4, and the fixed value K1 is set in the timer register TIR2. Similar to TIR1, this register TIR2 is a register that counts time by software. And a timer register
The operation of subtracting "1" from the content of TIR2 and determining whether the content of this register TIR2 is "0" is repeated and waits for a fixed time. After a certain period of time, in step # 11, it is determined whether the input terminal (i3) is "Low". If it is "Low", the automatic focus adjustment operation is performed from the microcomputer (MCO2) as described above. Since the signal for stopping the operation is input, the operation for stopping the automatic focus adjustment operation starting from step # 209 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 FPF is "1" when the motor (MO) is stopped as in the first measurement. Therefore, if the flag FPF is "1" and the motor (MO) is stopped, the process proceeds from step # 12 to step # 15, and the fixed value Ka is set in step # 6.
Subtract "1" from R1 to determine whether the content of TIR1 has become "0". If not "0", return to step # 7 and repeat the same operation. When the output of the comparator (AC1) in Fig. 3 is inverted to "High" while this operation is repeated, a transfer pulse is output from the terminal (φT) of the control circuit (COC), and this pulse is interrupted. Input to the terminal (it1), the microcomputer (MCO1) starts operation from step # 24. Also, if it is determined in step # 16 that the content of register TIR1 has become "0", a pulse will be output to the terminal (O2) in step # 21 to forcibly stop the accumulation operation as described above. Then, the flag TOF is set to "1" to end the operation and wait for the interrupt signal to the pin (it1). Here, the time until the accumulation operation is started in step # 3 and it is determined in step # 16 that the content of the register TIR1 is “0” is a fixed time, and the accumulation time is no more than this. It doesn't grow long.

モーター(MO)が駆動されているときにはフラグFPFは
0になっていて#12のステップから#13のステップに移
行する。この#13のステップではカウンタCORの内容を
レジスタECR5に設定する。そして#14のステップでは#
7のステップでカウンタCORの内容を設定したレジスタE
CR4の内容とこのレジスタECR5の内容とを比較する。#
7と#13のステップの間には一定時間が経過していて、
この間にレンズが移動してなければエンコーダ(ENC)
からはクロックパルスが入力してなく(ECR4)=(ECR
5)になっている。従って、モーター(MO)は駆動され
ていてもレンズは終端位置(無限遠位置又は最近接位
置)に達していてレンズは移動しなくなっていることに
なる。この場合には、フラグLSF(通常の合焦動作中は
“0"、ローコントラスト信号が出力されて、ローコント
ラストでないレンズ位置を走査しているときは“1"とな
っている)の内容を判別して“1"ならローコントラスト
での走査中であり#158のステップに移行し、“0"なら
通常合焦動作中であり#63のステップに移行する。
When the motor (MO) is being driven, the flag FPF is 0 and the step moves from step # 12 to step # 13. In step # 13, the content of the counter COR is set in the register ECR5. And in step # 14 #
Register E that set the contents of counter COR in step 7
Compare the contents of CR4 with the contents of this register ECR5. #
A certain amount of time has passed between steps 7 and # 13,
If the lens has not moved during this time, the encoder (ENC)
No clock pulse is input from (ECR4) = (ECR
5) has been set. Therefore, even if the motor (MO) is driven, the lens has reached the end position (infinity position or closest position) and the lens does not move. In this case, set the content of the flag LSF ("0" during normal focusing operation, "1" when a low contrast signal is output and a lens position that is not low contrast is being scanned). If it is determined to be "1", the low contrast scanning is being performed, and the process proceeds to step # 158. If "0", the normal focusing operation is being performed, and the process proceeds to step # 63.

#5のステップでフラグFLFが“1"であればフラッシュ
光を予備照射するモードであり、このときは#17のステ
ップに移行する。このときはレジスタTIR1に固定値Kfを
設定してレジスタTIR1から“1"を減算し、端子(i3)が
“Low"かどうかを判別して、“High"であればTIR1の内
容が“0"かどうかを判別する。そして“0"でなければ#
18のステップに戻る動作を繰り返し、#20のステップで
TIR1の内容が“0"になると#12のステップに移行して前
述の動作を行なう。この予備照射モードの際には定常光
モードの場合に比較して蓄積時間の制限が非常に短かく
なっている。これは、以下の理由でこのように構成され
ている。予備照射光は被写体である人間がまぶしく感じ
ないように近赤外領域の光を照射している。一方、予備
照射を行なわない場合は定常光で測定されるが、定常光
は一般に白色光である。従って、両方の光を混合して測
定した場合、混合比が判らないとデフォーカス量に対す
る色収差の影響を補正することができなくなる。そこで
予備照射モードの際には、定常光成分ができるだけ測定
されないようにするため、最長蓄積時間をキセノン管
(XE1)の発光時間とほぼ等しくなるようにして、正確
な色収差の補正が行なえるようになっている。また、予
備照射モードの際には測定中はモーター(MO)は駆動さ
れないのでレンズが終端に達したかどうかの終端検知動
作は行なわれない。
If the flag FLF is "1" in step # 5, the flash light is pre-illuminated, and the process proceeds to step # 17. In this case, set a fixed value Kf in the register TIR1 and subtract “1” from the register TIR1 to determine whether the terminal (i3) is “Low”. If it is “High”, the content of TIR1 is “0”. "Determine whether or not. And if not "0"#
Repeat the operation to return to step 18 and repeat step # 20.
When the content of TIR1 becomes "0", the process proceeds to step # 12 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. The preliminary irradiation light irradiates light in the near infrared region so that the human being who is the subject does not feel the glare. 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, in order to avoid measuring the stationary light component as much as possible, the longest storage time is set to be almost equal to the emission time of the xenon tube (XE1) so that correct chromatic aberration can be corrected. It has become. 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 reaches the end is not performed.

制御回路(COC)の端子(φT)から転送パスルが出力
されて端子(it)に割込信号が入力されると#24のステ
ップからの動作を開始する。#24のステップではマイコ
ン(MCO2)でのA−D変換を可能とするために端子(O
8)を“Low"とする。そして端子(it1)への割込を可能
とし端子(O3)を“Low"にしてカウンタCORの内容をレ
ジスタECR2に取り込む。これは測定中にレンズを移動さ
せるときのレンズの移動による誤差の補正用データであ
る。次に、制御回路(COC)から出力される各受光部の
受光量をA−D変換したデータを順次取り込み、すべて
の受光部に対応したA−D変換データを取り込むと#29
のステップに移行する。#29のステップではフラグFLF
が“1"かどうか判別し、“1"ならタイマー(機能につい
ては後述する)による割込を可能として#32のステップ
に移行する。“1"でなければ、フラグTOFが“1"かどう
かを判別する。フラグTOFは、蓄積時間が、制限された
時間までかかったときに#22のステップで“1"となる。
従って、FLFが“0"でTOFが“1"のときは定常光モードで
低輝度であることになりステップ#31でフラグLLFを
“1"にし、それ以外ではステップ#32でフラグLLFを
“0"にし、#33ではフラグTOFを“0"にする。#34では
受光部(FMD)からの出力に基づいて2列の受光部間の
相関度を求め、この相関度からデフォーカス量とデフォ
ーカス方向を算出する。この演算は例えば米国特許第4,
333,007号に提案されているようになされる。この算出
されたデフォーカス量が|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 (it), the operation from step # 24 is started. In step # 24, the terminal (O) is used to enable A-D conversion in the microcomputer (MCO2).
Set 8) to “Low”. Then, it enables the interrupt to the terminal (it1) and sets the terminal (O3) to "Low" to fetch the contents of the counter COR into 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 fetched, and the A / D converted data corresponding to all the light receiving units is fetched # 29
Go to step. Flag FLF in step # 29
Is determined to be "1", and if "1", an interrupt by a timer (function will be described later) is enabled and the process proceeds to step # 32. If not "1", it is determined whether the flag TOF is "1". The flag TOF becomes "1" in step # 22 when the storage time reaches the limited time.
Therefore, when FLF is “0” and TOF is “1”, the brightness is low in the constant light mode, and the flag LLF is set to “1” in step # 31. Otherwise, the flag LLF is set to “1” in step # 32. The flag TOF is set to "0" in # 33. 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 operation is performed, for example, in US Pat.
It is done as proposed in 333,007. The calculated defocus amount is | LD |, and the defocus direction is the front focus when LD> 0 and the rear focus when LD <0.

#35のステップではフラグFLFが“1"かどうかを判別し
て、FLFが“0"で定常光(可視光)で測定を行なったと
きは算出されたデータLDをそのまま正しい値LDtとし、F
LFが“1"なら予備照射のモードでありこのときは、近赤
外光での測定が行なわれているので、可視光での合焦位
置と近赤外光での合焦位置との差即ちIRDだけ補正する
ために、LD−IRDの演算を行ないこの算出値を正しいデ
フォーカス量LDtとする。データIRDはレンズから送られ
てくるデータをそのまま用いるようにしているが、例え
ばレンズには特定波長用の補正用データを記憶してお
き、予備照射用光源の波長のデータを得て、この波長に
対応したデータに補正用データを変換してこの変換され
た補正用データでデフォーカス量を補正するようにして
もよい。
In the step of # 35, it is determined whether 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 F
If the LF is “1”, it is 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. The data IRD uses the data sent from the lens as it is, but for example, the lens stores correction data for a specific wavelength, obtains the wavelength data of the preliminary irradiation light source, and uses this wavelength. 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"かどうかを判別し、“Low"
であれば前述と同様に#210のステップに移行する。一
方、端子(i3)が“High"であれば次に、測定データが
ローコントラストになっているかどうかを判別する。こ
のローコントラストの判別は受光素子列の各受光部で、
隣り合った受光部間の出力の差の絶対値の総和を求め、
この総和が所定値以下のときはローコントラストと判別
すればよい。なお、ローコントラストの際には2列の受
光素子列の光分布の状態を比較することでデフォーカス
量を算出しているので、算出されたデフォーカス量に信
頼性が乏しい。そこでローコントラストが判別されると
#110のステップに移行してローコントラスト用の動作
を行なう。#39のステップでローコントラストでないこ
とが判別されると#40のステップでフラグLCF1が“1"か
どうかを判別する。そして、フラグLCF1が“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)の内部クロックをカウントするモード
(タイマーモード)になっているのでイベントカウント
モード(エンコーダ(ENC)からのクロックパルスをカ
ウントするモード)にして、フラグFPFを“1"、TIFを
“0"として#50のステップに移行して#50からのステッ
プに移行し第1回目の測定値がローコントラストでない
場合と同様の動作を行なう。
In # 38, it is determined whether the terminal (i3) is "Low" and "Low"
If so, the process proceeds to step # 210 as described above. On the other hand, if the terminal (i3) is "High", then it is determined whether the measurement data has low contrast. This low-contrast determination is made by each light-receiving unit of the light-receiving element array.
Find the sum of the absolute values of the output differences between adjacent light receiving parts,
When this sum is less than or equal to a predetermined value, it may be determined that the contrast is low. 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. If the low contrast is determined, the process proceeds to step # 110 and the low contrast operation is performed. If it is determined in step # 39 that the contrast is not low contrast, it is determined in step # 40 whether the flag LCF1 is "1". Then, if the flag LCF1 is "1", the previous measurement value has low contrast, and in this case, it is determined in step # 41 whether the flag FLF is "1". 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 is low contrast, and the contrast is sufficient in this measurement without performing preliminary irradiation.
At this time, the flags LCF1, LCF2, SEF1, SEF2, LSF are set to "0", it is determined whether the flag TIF is "1", and if not "1", 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 step # 43, the lens scans the entire area in low contrast scan mode, and during this period, measurement values other than low contrast are not obtained and measurement is performed with the lens stopped for a certain period of time. Is repeated (hereinafter referred to as the low-con stopped mode). In this case, the counter COR is in the mode (timer mode) for counting the internal clock of the microcomputer (MCO1), so set the event count mode (mode for counting clock pulses from the encoder (ENC)) and set the flag FPF. Is set to "1" and TIF is set to "0", and the process proceeds to step # 50 to proceed to the steps from # 50 to perform the same operation as when the first measurement value is not low contrast.

#40のステップでフラグLCF1が“0"のとき、或いは前述
の#43のステップでフラグTIFが“0"のとき或いは#46
のステップからは#50のステップに移行する。#50のス
テップではデフォーカス量LDtに変換係数KDをかけてレ
ンズの移動量NDを算出する。次に、LIDは合焦とみなし
得る範囲のデータであり、これに変換係数KDをかけて合
焦領域のレンズの移動量IFDを算出する。#52のステッ
プではフラグFPFが“1"かどうかを判別して“1"であれ
ば#75、“0"であれば#53のステップに移行する。従っ
て、モーター(MO)が駆動されていれば#53のステップ
に、モーター(MO)が駆動されてなければ#75のステッ
プに移行する。
When the flag LCF1 is "0" in the step # 40, or when the flag TIF is "0" in the step # 43, or # 46.
From the step of No., it moves 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, the LID is data in a range that can be considered to be in-focus, and the conversion coefficient KD is multiplied to this to calculate the lens movement amount IFD in the in-focus region. In step # 52, it is determined whether the flag FPF is "1". If it is "1", the process proceeds to step # 75. If it is "0", the process proceeds 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の内容を取り込んだレジスタECR1と、蓄積
終了時のカウンタ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 step # 53, the register ECR1 that captures the contents of the counter COR at the start of charge accumulation in the light receiving unit (FMD) and the register ECR2 that captures the contents of the counter COR at the end of accumulation of charges
The difference .tau. Between the contents output of and is calculated to calculate the movement amount .tau. Of the lens during charge accumulation. Then, the contents of the counter COR at this point are set in the register ECR3, the difference t between the contents of the registers ECR2 and ECR3 is obtained, and the movement amount t of the lens during the defocus amount calculation is calculated. The calculated defocus amount is regarded as a value based on the measured value in the middle of the movement amount of the lens during the accumulation time, and the calculated lens movement amount ND is τ / 2 + t from the measurement point. Since it is moving, in step # 56, | ND | − (τ / 2 + t) = NDc is calculated to correct the amount of movement. In step # 57, the corrected movement amount data | NDc | and in-focus area data IFD are compared, and if | NDc | <IFD, it means that the area has entered the in-focus area. Transition to terminal (O
4) Set (O5) to "Low" to stop the motor (MO), set flags IFF and FPF to "1" and return to step # 2 to perform focus detection for confirmation.

#57のステップで|NDc|>IFDであることが判別されると
#61のステップに移行しカウンタCORの内容をレジスタE
CR3に設定し、その内容と、#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, and the contents of the counter COR are set in the register E.
It is set in CR3, and its contents are compared with the contents of register ECR2 in which the contents of counter COR were set at the time of step # 27. 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 rotate the motor (MO). Stop and set flags ENF and FPF to "1"#
Return to step 2 and repeat the measurement.

#62のステップで(ECR2)≠(ECR3)であることが判別
されると#66のステップで補正データNDcが負の値にな
っているかどうかを判別する。そして負の値になってい
れば算出された移動量|ND|よりも補正量(τ/2+t)の
方が大きいことになり、これはレンズが合焦位置を通過
したことになる。従って、この場合には#71のステップ
に移行し端子(O4),(O5)を“Low"としてモーター
(MO)の回転を停止させてフラグSCF,FPFを“1"として
#2のステップに戻り確認のための焦点検出を行なわせ
る。
If it is determined in step # 62 that (ECR2) ≠ (ECR3), 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 step # 71, 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 # 2. Focus detection for confirmation of return is performed.

#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" in step # 68, and if ND <0 (feeding direction), in step # 69. This flag SIF is set to "1" if the lens moving direction at this point is the moving-in direction, and is "0" if it is the moving-out direction. Therefore, when the flag SIF is "0" in the step # 68 and when the flag SIF is "1" in the step # 69, the lens moving direction at this point and the calculated lens moving direction are reversed. As a result, the process proceeds to step # 71, the motor (MO) is stopped, the flags SCF and FPF are set to "1", and the process returns to step # 2 to perform focus detection for confirmation. On the other hand, if the direction is not reversed, counter COR
Set the data NDc calculated in step # 56 to #
Return to step 2 to perform the next measurement.

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

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

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

#39のステップで測定結果がローコントラストであるこ
とが判別されると#110のステップに移行する。#110の
ステップではフラグFPFが“1"かどうかを判別し“1"で
あれば第1回目の測定であり、#111のステップに移行
する。#111のステップではフラグLLFが“1"かどうかを
判別する。このフラグLLFは#29〜#33のステップで説
明したように、被写体輝度が低いときに“1"となってい
るフラグであり、このフラグLLFが“1"なら#112、“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 or not 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". As described in steps # 29 to # 33, this flag LLF is a flag that is “1” when the subject brightness is low. If this flag LLF is “1”, # 112, “0”.
If so, proceed to step # 121.

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

#112のステップで端子(i2)が“High"であることが判
別されると、このときは予備照射用の発光が可能である
ことになり、#114からの予備照射モードの動作に移行
する。#114のステップではフラグFLF,FFF,LCF1を“1"
とし、FPFを“0"とする。フラグFLFは予備照射モードで
あることを示すためのフラグ、FFFは予備照射モードで
第1回目の測定が行なわれるとき“1"となるフラグ、LC
F1はローコントラストであることが判別されるとただち
に“1"とされるフラグである。#115のステップでは端
子(O1)を“High"として予備照射モードでの焦点検出
動作が行なわれる状態とし、(O8)を“High"として予
備照射モードでの動作が行なわれることで、マイコン
(MCO2)によるA−D変換動作を禁止するよう指令する
信号を送る。そして、マイコン(MCO2)からA−D変換
中であることを示す信号が端子(i5)に入力しているか
どうかを判別して、端子(i5)が“High"でA−D変換
中であればA−D変換が終了して(i5)が“Low"になる
のを待って予備照射を行なう焦点検出動作に移行する。
If it is determined in step # 112 that the terminal (i2) is "High", it is possible to emit light for preliminary irradiation at this time, and the operation shifts to the preliminary irradiation mode from step # 114. . In step # 114, set flags FLF, FFF, LCF1 to "1".
And set the FPF to "0". Flag FLF is a flag for indicating the preliminary irradiation mode, FFF is a flag that becomes “1” when the first measurement is performed in the preliminary irradiation mode, LC
F1 is a flag that is immediately set to "1" when it is determined that the contrast is low. In the step of # 115, the terminal (O1) is set to "High" so that the focus detection operation is performed in the preliminary irradiation mode, and (O8) is set to "High" to perform the operation in the preliminary irradiation mode. Send a signal to instruct to prohibit the AD conversion operation by MCO2). Then, it is determined whether or not the signal indicating that the A-D conversion is being performed from the microcomputer (MCO2) is input to the terminal (i5), and if the terminal (i5) is "High" and the A-D conversion is being performed. For example, after the A-D conversion is completed and (i5) becomes "Low", the focus detection operation of performing the preliminary irradiation is started.

#117のステップでは、予備照射を行なって一定時間
(例えば200msec)をカウントするためのタイマー用カ
ウンタTICに一定値T0を設定する。このカウンタTICはマ
イコン(MCO1)内部のクロックパルスに基づいてダウン
カウントを行ない、内容が“0"になるとタイマー割込が
可能であればタイマー割込がかかり、後述する#260の
ステップの動作を行なって元のフローに戻る。#118で
はフラグRSFを“1"にする。このフラグRSFは予備照射を
行なって一定時間の間は“1"となり、一定時間が経過し
てタイマー割込があると#260のステップで“0"とされ
る。そして、このフラグRSFが“1"の間は出力端子(O
7)は“High"となっていてマイコン(MCO2)は露出制御
動作には移行しない。なお、タイマー割込はタイマー割
込が不可の状態でタイマーTICが“0"になると割込動作
は行なわれず、タイマー割込可となると直ちにタイマー
割込がかかりタイマー割込による動作が行なわれる。#
118のステップでフラグRSFが“1"にされると、#2のス
テップに戻り予備照射を行なう焦点検出動作が実行され
る。
In step # 117, a constant value T0 is set in a timer counter TIC for performing a preliminary irradiation and counting a constant time (for example, 200 msec). This counter TIC performs down-counting based on the clock pulse inside the microcomputer (MCO1). When the content becomes "0", the timer interrupt is applied if it is possible, and the operation of step # 260 described later is performed. Go back to the original flow. In # 118, the flag RSF is set to "1". This flag RSF is set to "1" for a certain period of time after pre-irradiation, and is set to "0" in the step of # 260 when a certain period of time has passed and there is a timer interrupt. While this flag RSF is "1", the output terminal (O
7) is "High" and the microcomputer (MCO2) does not shift to exposure control operation. When the timer TIC becomes "0" while the timer interrupt is disabled, the interrupt operation is not performed. When the timer interrupt is enabled, the timer interrupt is immediately performed and the operation by the timer interrupt is performed. #
When the flag RSF is set to "1" in step 118, the process returns to step # 2 and the focus detection operation for performing preliminary irradiation is executed.

#111のステップでフラグLLFが“0"のとき、或いは#11
3のステップでフラグSEF2が“0"のときは#121のステッ
プに移行してローコンスキャンモードの動作を開始す
る。まずフラグLCF1,LCF2,LSFを“1"とし、次に算出さ
れているデフォーカス方向がどちらかを判別し、判別さ
れた方向に応じてフラグSIFを“1"又は“0"にし、レン
ズをその方向に移動させる。そして、警告表示を行なわ
せ、フラグFPFを“0"とし、カウンタCORの内容が“0"に
なったときにかかる割込信号を受付けない状態として#
2のステップに戻り、次の測定を行なわせる。
If the flag LLF is "0" in step # 111, or # 11
If the flag SEF2 is "0" in step 3, the process shifts to step # 121 to start the operation of the low contrast scan mode. 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 set to "1" or "0" depending on the determined direction. Move in that direction. Then, a warning is displayed, the flag FPF is set to "0", and when the contents of the counter COR become "0", the interrupt signal is not accepted.
Return to step 2 and make the next measurement.

#110のステップでフラグFPFが“0"であれば#140のス
テップに移行してフラグFLFが“1"かどうかを判別す
る。フラグFLFが“1"であれば予備照射モードでの焦点
検出結果がローコントラストになっている場合である。
このときは、端子(O1)を“Low"にして#200のステッ
プに移行する。そして#200のステップではフラグFFFが
“1"かどうかを判別して、フラグFFFが“1"ならば予備
照射モードで1回目の焦点検出が行なわれた場合であ
り、このときはフラグFFFを“0"にし、前述の#115のス
テップに戻り2回目の予備照射モードでの動作を行なわ
せる。一方、#200のステップでフラグFFFが“0"であれ
ば予備照射モードで2回目の測定が行なわれたことにな
り、このときは警告表示を行なってタイマー割込を可と
して#211のステップに移行し動作を停止するためのフ
ローに移行する。
If the flag FPF is "0" in step # 110, the process proceeds to step # 140 to determine whether the flag FLF is "1". If the flag FLF is "1", it means that the focus detection result in the preliminary irradiation mode is low contrast.
At this time, the terminal (O1) is set to "Low" and the process proceeds to step # 200. Then, in step # 200, it is determined whether the flag FFF is "1". If the flag FFF is "1", it means that the first focus detection is performed in the preliminary irradiation mode. At this time, the flag FFF is set. The value is set to "0", and the process returns to step # 115 described above to perform the operation in the second preliminary irradiation mode. On the other hand, if the flag FFF is "0" in the step of # 200, it means that the second measurement was performed in the preliminary irradiation mode. At this time, a warning is displayed and the timer interrupt is enabled and the step of # 211 is performed. And shift to the flow for stopping the operation.

#140のステップでフラグFLFが“0"であれば次に#142
のステップでフラグTIFが“1"かどうかを判別する。そ
してフラグTIFが“1"ならばローコン停止モードであり
#2のステップに戻って次の測定を行なわせる。#142
のステップでフラグTIFが“0"ならば次に、フラグSEF2
が“1"かどうかを判別する。そして“1"であればローコ
ンスキャンモードでレンズが全領域を走査してもローコ
ントラストの焦点検出値しか得られなかった場合であ
り、このときは#144からのローコン停止モードの動作
を開始する。
If the flag FLF is "0" in step # 140, then # 142
At step, it is determined whether the flag TIF is "1". 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. # 142
If the flag TIF is "0" at the step of, then the flag SEF2
Determines whether is "1". If the value is "1", the low-contrast focus detection value is obtained even if the lens scans the entire area in the low-con scan mode. In this case, the operation of the low-con stop mode is started from # 144. To do.

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

#143のステップでフラグSEF2が“0"であることが判別
されると次に#150のステップでフラグLCF1が“1"かど
うかを判別する。そして、“1"でないときは、前回まで
の焦点検出値はローコントラストではなく、今回の焦点
検出で突然ローコントラストになった場合である。この
ときは#151のステップに移行し、フラグLCF1を“1"、L
CF2を“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 it is determined in step # 150 whether the flag LCF1 is "1". If it is not "1", it means that the focus detection value up to the previous time is not the low contrast, but the focus detection this time suddenly becomes the low contrast. In this case, the process proceeds to step # 151 and the flag LCF1 is set to "1", L
Set CF2 to "0", set terminals (O4) and (O5) to "Low" to stop the operation of the motor (MO), set flag FPF to "1" and return to # 2 to perform focus detection again. If the flag LCF1 is "1" in step # 150, then it is determined whether the flag LCF2 is "1" in step # 155. If the flag LCF2 is "0", the previous focus detection value suddenly becomes low contrast, and the current focus detection value obtained by performing focus detection again 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の内容をレジスタECR3に設定し
#27のステップでカウンタCORの内容を取り込んだレジ
スタECR2の内容と一致しているかどうかを判別する。そ
して、一致していなければレンズは終端に達していない
ので#3のステップに戻り焦点検出動作を行なう。一
方、レジスタECR2とECR3の内容が一致していればレンズ
は終端に達したことになり、#158のステップでモータ
ー(MO)の駆動を停止する。そして、フラグSEF1が“1"
かどうかを判別して、“1"であればレンズは一方の終端
に達していることになり、従ってレンズは両方の終端に
達して全領域の走査が行なわれたことになる。従ってこ
のときはフラグSEF2を“1"にして、#112のステップに
移行し、フラッシュから予備照射が可能かどうかの確認
を行ない、予備照射が可能であれば予備照射モードに移
行し、予備照射が不可能であればローコン停止モードに
移行する。
When the flag LCF2 is "1" in step # 155, the operation is in the low-con scan mode. In this case, in step # 156, the contents of the counter COR are set in the register ECR3, and in step # 27, it is determined whether the contents of the counter COR match the contents of the fetched register ECR2. If they do not match, the lens has not reached the end, so the process returns to step # 3 to perform the focus detection operation. On the other hand, if the contents of the registers ECR2 and ECR3 match, the lens has reached the end, and the drive of the motor (MO) is stopped at step # 158. Then, the flag SEF1 is "1"
If it is "1", it means that the lens has reached one end, so that the lens has reached both ends and the entire area has been scanned. Therefore, at this time, set the flag SEF2 to "1" and proceed to the step of # 112 to confirm whether or not the preliminary irradiation is possible from the flash. If the preliminary irradiation is possible, the preliminary irradiation mode is entered and the preliminary irradiation is performed. If is not possible, it shifts to the low contrast stop mode.

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

#41のステップでフラグFLFが“1"であれば予備照射モ
ードで測定を行なった結果がローコントラストでない場
合である。このときは#170のステップに移行する。#1
70のステップでは端子(O1)を“Low"にし、#37のステ
ップで求まったデフォーカス量のデータLDtと合焦領域
のデータ及び変換係数KDからレンズの移動量NDと合焦領
域IFDとを算出する。そして#173のステップで|ND|<IF
Dとなっているときは合焦表示を行なって、フラグ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. # 1
In the step 70, the terminal (O1) is set to “Low”, and the lens movement amount ND and the focus area IFD are calculated from the defocus amount data LDt obtained in the step # 37, the focus area data and the conversion coefficient KD. calculate. And in step # 173 | ND | <IF
When it is D, the in-focus display is performed, 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
のステップに移行して合焦近傍のデータLNDに変換係数K
Dを掛けて近傍領域のデータNFDを算出する。そして|ND|
<NFDとなっているかどうかを判別する。|ND|>NFDの場
合1回目の合焦動作で正常な動作が行なわれてないか又
は2回目の焦点検出結果が信頼性に乏しいと考えられ
る。さらには、変換係数のバラツキ等で、1回のレンズ
の移動だけで正確に合焦位置まで移動させることは困難
であり、基本的には合焦動作が行なえないと考えられ
る。そこでこの場合には#201のステップに移行して警
告を行なった後、タイマー割込を可能とし、#211のス
テップに移行して動作を停止させるためのフローに移行
する。
When it is determined that | ND |> IFD in the step of # 173, it shifts to # 180 and sets | ND | to the counter COR and puts it in the event count mode to enable the counter interrupt and disable the timer interrupt. And 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”, it means that the second measurement is performed. At this time, # 178
Go to step and convert the conversion coefficient K
Multiply by D to calculate the data NFD of the neighborhood area. And | ND |
<Determine whether or not it is NFD. In case of | ND |> NFD, it is considered that normal operation is not performed in the first focusing operation, or the second focus detection result is not reliable. 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, the process proceeds to step # 201 to issue a warning, then the timer interrupt is enabled, and the process proceeds to step # 211 to proceed to the flow for stopping the operation.

#179のステップで|ND|<NFDとなっていることが判別さ
れると正常な制御動作が可能であると考えられるので次
に移動方向を判別して、前回と移動方向が反転している
かどうかを判別する。そして反転していることが判別さ
れると|ND|+BLDの演算を行なって移動量データ|ND|を
バックラッシュデータ分だけ補正し、このデータをカウ
ンタCORに設定しなおす。一方反転してなければ#180の
ステップで設定されたデータのままとして、#188に移
行する。そして移動方向を判別してその方向に対応した
信号をフラグSIFに設定してモーター(MO)を判別され
た方向に回転させる。
If it is determined in step # 179 that | ND | <NFD, it is considered that normal control operation is possible. Therefore, determine the moving direction next, and check if the moving direction is reversed from the previous one. Determine whether Then, if it is determined that they are reversed, the calculation of | ND | + BLD is performed to correct the movement amount data | ND | by the 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"になっているかどう
かを判別し、“Low"であればタイマー割込を可として#
209のステップに移行する。一方“High"であれば#196
に移行しカウンタCORの内容をレジスタECR3に設定する
そしてレジスタECR2とECR3の内容が一致しているかどう
かを判別する。そして(ECR2)≠(ECR3)ならECR3の内
容をECR2に設定して#194のステップに戻る。従って、
予備照射モードの際には測定によってデータが得られる
とこのデータに基づいてレンズを駆動するがこの駆動中
は測定動作は行なわれない。そしてレンズ算出された移
動量分だけ移動するとカウンタ割込がかかって後述する
ようにレンズを停止させ1回目であれば2回目の動作に
移行し、2回目であれば合焦表示を行なって動作を停止
する。また、#197のステップでレンズが終端に達した
ことが検知されると端子(O4),(O5)を“Low"として
モーターを停止させる。そしてフラグFFFが“1"かどう
かを判別して、“1"なら1回目の測定なので、フラグFF
Fを“0"として前述の#115のステップに戻り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, determine whether the terminal (i3) is "Low". If it is "Low", enable the timer interrupt #
Go to step 209. On the other hand, if “High”, # 196
Then, the contents of the counter COR are set in the register ECR3 and it is determined whether the contents of the registers ECR2 and ECR3 match. If (ECR2) ≠ (ECR3), set the contents of ECR3 to ECR2 and return to the step of # 194. Therefore,
In the pre-irradiation mode, if data is obtained by measurement, the lens is driven based on this data, but no measurement operation is performed during this driving. When the lens moves by the calculated amount of movement, a counter is interrupted and the lens is stopped as described later. If it is the first time, the operation shifts to the second operation, and if it is the second time, the focus display is performed to operate. To stop. When it is detected that the lens reaches the end in step # 197, the terminals (O4) and (O5) are set to "Low" to stop the motor. Then, determine whether the flag FFF is "1", and if it is "1", it means the first measurement.
F is set to "0" and the process returns to step # 115 described above to perform the measurement in the second preliminary irradiation mode. On the other hand, if it is determined that the flag FFF is “0” in step # 200,
At this time, the lens has reached the end by the second operation. In this case, a warning is displayed and the timer interrupt is enabled, and the process moves to step # 211 to move to the flow for stopping the operation. To do.

カウンタCORの内容が“0"になるとカウンタ割込がかか
り#230のステップからの動作を行なう。#230のステッ
プではフラグTIFが“1"かどうかを判別する。“1"のと
きはローコン停止モードで一定時間が経過し、この間ロ
ーコンの測定値しか得られなかった場合である。このと
きは、割込可能としフラグTIF,SEF1,SEF2,LCF1,LCF2,LS
Fを“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 it is "1", it is the case that the measured value of the low contrast was obtained only during the fixed time in the low contrast stop mode. At this time, it is possible to interrupt and flag TIF, SEF1, SEF2, LCF1, LCF2, LS
F is set to "0", 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)を停止させ割込を可能とする。
そしてフラグFLFが“1"かどうかを判別する。そして
“1"であれば予備照射モードであり#238のステップに
移行する。#238のステップではフラグFFFが“1"かどう
かを判別し“0"であれば予備照射モードでの2回目の合
焦動作が終了したことになり合焦表示を行ない、タイマ
ー割込を可能として#211のステップに移行して動作を
終了する。一方、フラグFFFが“1"なら予備照射モード
で1回目の合焦動作が完了したことになり、フラグFFF
を“0"として#115のステップに戻り2回目の合焦動作
を行なわせる。
When the flag TIF is “0” in step # 230, it means that the movement amount of the lens has moved by the calculated movement amount. In this case, the motor (MO) is stopped to enable an interrupt.
Then, 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 step # 238, it is determined whether or not the flag FFF is "1". If the flag FFF is "0", the second focusing operation in the preliminary irradiation mode has ended, the focusing display is displayed and the timer interrupt is possible. Then, the process proceeds to step # 211 to end the operation. 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.
Is set to "0" and the process returns to step # 115 to perform the second focusing operation.

#235のステップでフラグFLFが“0"であれば予備照射を
行なわず、ローコントラストでない測定値が得られ、算
出された移動量分だけレンズが移動した場合である。こ
のときはフラグIFF,FPFを“1"として#2のステッブに
戻り、確認のための測定を行なわせる。
If the flag FLF is "0" in the step of # 235, the preliminary irradiation is not performed, the 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 the process returns to the step of # 2 to perform the measurement for confirmation.

タイマー割込がかかると#260のステップでフラグRSFを
“0"として割込がかかったときの動作に戻る。なお、タ
イマー割込も他の割込と同様に、一旦その割込がある
と、その割込を可能としない限り以後はその割込は不可
となっている。
When a timer interrupt occurs, the flag RSF is set to "0" in step # 260, and the operation when the interrupt occurs is returned to. As with other interrupts, once the timer interrupt has been interrupted, the interrupt is disabled thereafter unless the interrupt is enabled.

#11,19,38,195のステップで端子(i3)が“Low"になっ
たことが判別されると#209のステップで端子(it1)と
カウンタCORによる割込を禁止しイベントカウントモー
ドにして#213のステップに移行する。一方、#76,90,1
76,203,243のステップからは#211のステッブに移行
し、#211のステップで端子(it1)とカウンタCORによ
る割込を不可能とし端子(i3)が“Low"になるのを待
つ。そして端子(i3)が“Low"になると#213のステッ
プに移行する。#213のステップでは端子(O4),(O
5)を“Low"にしてモーター(MO)を停止させ、次に表
示を消灯させる。そして端子(O1),(O2),(O3),
(O6)を“Low"として自動焦点調整用の回路の動作を停
止させる。そして、RSF、FPF、SIFを除くすべてのフラ
グに“0"を設定して、フラグFPFを“1"にする。次に、
カウンタCORの内容をレジスタECR2に設定し一定時間待
ってからカウンタCORの内容をレジスタECR3に設定す
る。そして(ECR2)=(ECR3)になっているかどうかを
判別して(ECR2)≠(ECR3)ならレジスタECR3の内容を
レジスタECR2に設定して#219のステップに戻る。そし
て(ECR2)=(ECR3)となっていれば、レンズの移動は
完全に停止した状態となっているので、#223のステッ
プに移行する。
# When it is determined that the terminal (i3) becomes "Low" in steps 11, 19, 38, 195, # in step 209, the interrupt by the terminal (it1) and counter COR is disabled and the event count mode is set. Go to step 213. Meanwhile, # 76,90,1
From steps 76, 203, 243, the process moves to the step of # 211, and at the step of # 211, the interrupt by the terminal (it1) and the counter COR is disabled and the terminal (i3) waits for "Low". When the terminal (i3) becomes "Low", the process proceeds to step # 213. In step # 213, terminals (O4), (O4)
Set 5) to "Low" to stop the motor (MO), and then turn off the display. And terminals (O1), (O2), (O3),
Set (O6) to "Low" to stop the operation of the automatic focus adjustment circuit. Then, all flags except RSF, FPF and SIF are set to "0" to set the flag FPF to "1". next,
Set the contents of the counter COR in the register ECR2, wait a fixed time, and then set the contents of the counter COR 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 and the process returns to step # 219. If (ECR2) = (ECR3), the lens movement is in a completely stopped state, and the process proceeds to step # 223.

#223のステップではフラグRSFが“1"かどうか判別し、
“1"であれば予備照射を行なって一定時間(200msec)
が経過してないことになり、一定時間が経過してフラグ
RSFが“0"となるのを待つ。そしてフラグRSFが“0"にな
るか、“0"になっているときは、#224のステップで端
子(O7)を“Low"としてマイコン(MCO2)による露出制
御動作を可能とし、端子(it2)への割込を可能として
マイコン(MCO1)は動作を停止する。
In step # 223, it is judged whether the flag RSF is "1",
If it is "1", pre-irradiation is performed for a fixed time (200 msec)
Has not passed and the flag has passed after a certain period of time.
Wait for RSF to become "0". If the flag RSF becomes “0” or is set to “0”, the terminal (O7) is set to “Low” in step # 224 to enable the exposure control operation by the microcomputer (MCO2) and the terminal (it2 ) And the microcomputer (MCO1) stops operating.

以上の実施例では、予備照射モードでないときに#75の
ステップで合焦状態になっていることが判別されると、
以後はマイコン(MCO2)から自動焦点調整動作を継続す
る信号(端子(i3)への“High"の信号)が入力してい
ても、自動焦点調整動作は行なわれず動作は停止される
ようになっていたが、#76のステップの後に( )内に
示すように、#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 the 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 stops. However, as shown in parentheses after the step of # 76, the process may return to the step of # 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, the flag ENF is set to "1" in step # 89.
In this case, that is, when the lens reaches the terminal position and cannot move, the process may return to 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 if it is modified as described above,
In the pre-irradiation mode, it is limited to two measurements.

効果 以上詳述したように、本発明の焦点検出装置では、発光
手段が650ナノメートル以上の波長の光のみを発光し、
焦点検出用の受光手段は可視光から750ナノメートル程
度の波長まで感度を有している。従って、受光部による
色収差の影響は簡単に補正できる程度に抑えられるとと
もに、被写体である人物がそれほど眩しく感じることも
ない。
Effects As described above in detail, in the focus detection device of the present invention, the light emitting means emits only light having a wavelength of 650 nm or more,
The light receiving means for focus detection has sensitivity from visible light to a wavelength of about 750 nanometers. Therefore, the influence of the chromatic aberration due to the light receiving unit can be suppressed to the extent that it can be easily corrected, and the person who is the subject does not feel so dazzling.

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

第1図は補助光の分光エネルギー分布や焦点検出用受光
部の分光感度等を示すグラフ、第2図はこの発明を適用
したカメラシステムの基本構成を示すブロック図、第3
図はこの発明を適用したカメラシステム全体を示す回路
図、第4図は第3図のフラッシュ用回路(FLC)の具体
例を示す回路図、第5図は第3図のマイコン(MCO2)の
動作を示すフローチャート、第6−1,6−2,6−3図は第
3図のマイコン(MCO1)の動作を示すフローチャートで
ある。 撮影レンズ……1、受光手段……6,7、発光手段……9,1
0,11
FIG. 1 is a graph showing the spectral energy distribution of auxiliary light and the spectral sensitivity of a light receiving section for focus detection, and FIG. 2 is a block diagram showing the basic configuration of a camera system to which the present invention is applied.
FIG. 4 is a circuit diagram showing an entire camera system to which the present invention is applied, FIG. 4 is a circuit diagram showing a concrete example of the flash circuit (FLC) of FIG. 3, and FIG. 5 is a microcomputer (MCO2) of FIG. Flow charts showing the operation, FIGS. 6-1, 6-2, 6-3 are flow charts showing the operation of the microcomputer (MCO1) shown in FIG. Photographing lens …… 1, light receiving means …… 6,7, light emitting means …… 9,1
0,11

───────────────────────────────────────────────────── フロントページの続き 審判の合議体 審判長 中村 友之 審判官 丸山 亮 審判官 小原 博生 (56)参考文献 特開 昭55−111929(JP,A) 特開 昭48−90734(JP,A) 特開 昭48−22805(JP,A) 特開 昭59−193409(JP,A) ─────────────────────────────────────────────────── --Continued from the front page Judgment panel for referees Tomoyuki Nakamura Judge Judge Ryo Maruyama Judge Hiroshi Ohara (56) References JP 55-111929 (JP, A) JP 48-90734 (JP, A) ) JP-A-48-22805 (JP, A) JP-A-59-193409 (JP, A)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】撮影レンズと、上記撮影レンズにより形成
された被写体像を受光する受光手段と、 上記受光手段の受光結果に基づいて上記被写体に関する
上記撮影レンズの焦点検出を行なう演算手段と、 被写体からの光に基づいた上記演算手段の焦点検出演算
に信頼性がない場合に被写体を照明する補助光を発光す
る発光手段と、 を備えた焦点検出装置において、 上記発光手段は650ナノメートル以上の波長の光のみを
発光し、 上記受光手段は可視光の波長域から750ナノメートル程
度の波長まで感度を有することを特徴とする焦点検出装
置。
1. A photographic lens, a light receiving means for receiving a subject image formed by the photographic lens, an arithmetic means for detecting a focus of the photographic lens for the subject based on a light receiving result of the light receiving means, and a subject. In the focus detection device including a light emitting unit that emits auxiliary light that illuminates the subject when the focus detection calculation of the calculation unit based on the light from is not reliable, the light emitting unit is 650 nm or more. A focus detection device, which emits only light of a wavelength, and the light receiving means has sensitivity from a wavelength range of visible light to a wavelength of about 750 nm.
【請求項2】上記発光手段は光源の前に650ナノメート
ルの波長以上の光のみを透過するフィルターを備えてい
ることを特徴とする特許請求の範囲第1項記載の焦点検
出装置。
2. The focus detection device according to claim 1, wherein the light emitting means is provided with a filter which transmits only light having a wavelength of 650 nm or more in front of the light source.
【請求項3】上記受光手段は受光素子の前にフィルター
を備えており受光素子とフィルターとによる相対分布感
度が可視光の波長域から750ナノメートル程度であるこ
とを特徴とする特許請求の範囲第2項記載の焦点検出装
置。
3. The light receiving means is provided with a filter in front of the light receiving element, and the relative distribution sensitivity of the light receiving element and the filter is about 750 nm from the wavelength range of visible light. The focus detection device according to item 2.
JP58154378A 1983-08-24 1983-08-24 Focus detection device Expired - Lifetime JPH0786582B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP58154378A JPH0786582B2 (en) 1983-08-24 1983-08-24 Focus detection device
US06/643,669 US4536072A (en) 1983-08-24 1984-08-22 Automatic focus control system

Applications Claiming Priority (1)

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

Related Child Applications (5)

Application Number Title Priority Date Filing Date
JP58209467A Division JPH061290B2 (en) 1983-11-07 1983-11-07 Focus detection device
JP58210663A Division JPH063492B2 (en) 1983-11-08 1983-11-08 Automatic focus adjustment device
JP58218547A Division JPH068927B2 (en) 1983-11-18 1983-11-18 Focus detection device
JP23229683A Division JPS6046517A (en) 1983-12-08 1983-12-08 Focus information detector
JP24706184A Division JPS60156029A (en) 1984-11-22 1984-11-22 Auto-focusing device of camera

Publications (2)

Publication Number Publication Date
JPS6046513A JPS6046513A (en) 1985-03-13
JPH0786582B2 true JPH0786582B2 (en) 1995-09-20

Family

ID=15582839

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH0786582B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4888609A (en) * 1985-01-17 1989-12-19 Minolta Camera Kabushiki Kaisha Automatic focus adjusting apparatus
US5168299A (en) * 1986-05-16 1992-12-01 Minolta Camera Co., Ltd. Camera with a multi-zone focus detecting device
JPS63246711A (en) * 1986-05-16 1988-10-13 Minolta Camera Co Ltd Focus detector
US5218395A (en) * 1986-05-16 1993-06-08 Minolta Camera Kabushiki Kaisha Camera with a multi-zone focus detecting device
US4910548A (en) * 1986-05-16 1990-03-20 Minolta Camera Kabushiki Kaisha Camera with a multi-zone focus detecting device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4890734A (en) * 1972-03-07 1973-11-27
JPS55111929A (en) * 1979-02-21 1980-08-29 Ricoh Co Ltd Automatic focusing device
JPS59193409A (en) * 1983-04-18 1984-11-02 Matsushita Electric Ind Co Ltd Focusing device

Also Published As

Publication number Publication date
JPS6046513A (en) 1985-03-13

Similar Documents

Publication Publication Date Title
US4537487A (en) Automatic focus control system with backlash correcting arrangement
US4536072A (en) Automatic focus control system
JPS63172133A (en) Depth of field priority controller
JPH0558163B2 (en)
US4737813A (en) Automatic focus control device for use in a camera system
US5845155A (en) Multipoint autofocusing system
JPH0151819B2 (en)
JPH0786582B2 (en) Focus detection device
JPH063492B2 (en) Automatic focus adjustment device
JPH068927B2 (en) Focus detection device
JPH0558173B2 (en)
JPS60107011A (en) Correcting method of defocusing signal of automatic focusing camera
JPH061289B2 (en) Automatic focus adjustment device
JPH061290B2 (en) Focus detection device
JPS6173132A (en) Camera system for executing automatic focus adjustment using auxiliary light
US6282379B1 (en) Autofocus apparatus of a camera
JPS6052833A (en) Flash device for photographing and preliminary irradiation
JP2591086B2 (en) Display device for focus detection
JPS6145233A (en) Automatic focus adjusting device of camera
JP3439256B2 (en) camera
JPS6055319A (en) Electronic flash device
JPH024207A (en) Focus detector
JP3034217B2 (en) Focusing device
JP3445311B2 (en) Automatic focus detection device
JPH03226723A (en) Automatic focusing device for camera