JPH0456932A - E2prom built-in camera - Google Patents

E2prom built-in camera

Info

Publication number
JPH0456932A
JPH0456932A JP2169304A JP16930490A JPH0456932A JP H0456932 A JPH0456932 A JP H0456932A JP 2169304 A JP2169304 A JP 2169304A JP 16930490 A JP16930490 A JP 16930490A JP H0456932 A JPH0456932 A JP H0456932A
Authority
JP
Japan
Prior art keywords
switch
timer
camera
c0unt
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2169304A
Other languages
Japanese (ja)
Inventor
Hidekazu Nakajima
中島 英和
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP2169304A priority Critical patent/JPH0456932A/en
Priority to US07/721,246 priority patent/US5200774A/en
Publication of JPH0456932A publication Critical patent/JPH0456932A/en
Pending legal-status Critical Current

Links

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Exposure Control For Cameras (AREA)
  • Details Of Cameras Including Film Mechanisms (AREA)
  • Control By Computers (AREA)

Abstract

PURPOSE:To prevent the malfunction of a camera occurring due to erroneous data from an E<2>PROM by checking whether or not the E<2>PROM is working normally by performing the write and readout of the same data when a power source is loaded. CONSTITUTION:When a power source battery is loaded, a CPU executes routine of RESET. Firstly, the initial reset of a register, etc., is performed, and the version No. of software for operation is written on the E<2>PROM 19 after the initial reset is completed. Thence, the version No. written in from the E<2>PROM 19 is read out, and it is discriminated whether or not the data from the E<2>PROM 19 is correct. When it is incorrect, photographing is prohibited, and when it is correct, it is discriminated whether or not a main switch SM is turned on, and the camera can be started up if the switch SM is turned on. Thereby, it is possible to prevent the malfunction of the camera occurring due to the erroneous data from the E<2>PROM.

Description

【発明の詳細な説明】 り策上り皿月会遺 この発明はカメラに関し、特にCPUとは別体にE2P
ROMを有するカメラ、に関するものである。
[Detailed Description of the Invention] This invention relates to a camera, in particular an E2P system separate from a CPU.
This invention relates to a camera having a ROM.

従来の技酒 近年、カメラ全体を制復11するマイクロコンビスタ(
以下rCPUJ )内のE2PROMに駆動用ソフトの
バージョンMO,当を記録しているしのが知られている
In recent years, microcomvista (which controls the entire camera) has been introduced.
It is known that the version of the driving software is recorded in the E2PROM in the rCPUJ (rCPUJ).

また、カメラ内に2個のCPUを存し、相互にデータ交
信を行うようにしtこカメラにおいて、電源の立ち上が
り時に一方のCPUから誤ったデータの受信を防ぐため
空データを他方のCPUから送信するものも知られてい
る。
In addition, in order to prevent the reception of incorrect data from one CPU when the power is turned on, empty data is sent from the other CPU when the power is turned on. It is also known that

更に、特開昭60−31122号公報には、メイン電源
装着時、バックアップ電源電圧をチエツクするとと6に
、ISOデータ記憶用の回路よりデータを読みだし、そ
の内容をチエツクすることが開示されている。
Furthermore, Japanese Patent Application Laid-Open No. 60-31122 discloses that when the main power supply is installed and the backup power supply voltage is checked, data is read from the ISO data storage circuit and its contents are checked. There is.

明が解決しようとする課題 前記E2PROMをCPUに内蔵するものに関してはC
PUとE”FROMの電源装着時の立ち上がり特性が同
じになるため問題はないが、CPUとE2PROMが別
体である場合、電源装着時E2PROMが完全に立ち上
がっていないと(正當に動作できる状態でないと)E2
PROMから読み比すデータが誤データとなり、カメラ
が正常に動作しないと言った不具合が生じる。
The problem that Akira is trying to solve Regarding the above-mentioned E2PROM built into the CPU, C
There is no problem because the startup characteristics of the PU and E"FROM when the power supply is installed are the same, but if the CPU and the E2PROM are separate units, the E2PROM must be completely started up when the power supply is installed (it is not in a state where it can operate properly). and) E2
The data read and compared from the PROM becomes erroneous data, causing problems such as the camera not operating properly.

また、特開昭60−31122号公報では、バックアッ
プ電源装着時に記憶回路からデータを読みだしそのデー
タのチエツクを行ってはいるが、読み出しのみであり書
き込みが正常の行われているか否かのチエツクを行うも
のではない。
Furthermore, in Japanese Patent Application Laid-Open No. 60-31122, data is read from a storage circuit and checked when a backup power supply is installed, but it is only a read and only a check is made to see if writing is being performed normally. It is not intended to be carried out.

課 を解2するための十丁 本発明は、上記課題を達成するためにカメラ全体を制御
する制御回路と、所定のデータを記憶し?cE2PRO
Mとを備えたカメラにおいて、上記制御回路は電源装着
時、前記E2PROMに前記データを書込む書込み手段
と、前記E2PROMに書き込まれた前記データを読み
出す読み出し手段と、前記読み比されたデータが前記書
き込まれたデータと一致するか否かを判別する判別手段
とを有するように構成した。
In order to achieve the above-mentioned problems, the present invention includes a control circuit that controls the entire camera and stores predetermined data. cE2PRO
In the camera equipped with M, when the power supply is attached, the control circuit includes a writing means for writing the data into the E2PROM, a reading means for reading the data written in the E2PROM, and a reading means for reading out the data written in the E2PROM, and a means for reading out the data written in the E2PROM. and a determining means for determining whether or not the data matches the written data.

作用 このような構成によれば、電源装着時にE2PROMが
正常に動作する状態であるか否かを同データの書き込み
と読み呂しを行うことによりチエツクするようにしたの
で、E2PROMからの誤ったデータによるカメラの誤
動作を防ぐことができる。
According to this configuration, since it is checked whether the E2PROM is in a normal operating state when the power supply is attached by writing and reading the same data, it is possible to prevent erroneous data from the E2PROM. This can prevent camera malfunctions due to

1思想 以下、本発明の実施例について図面に基づいて説明する
DESCRIPTION OF THE PREFERRED EMBODIMENTS Below, embodiments of the present invention will be described based on the drawings.

第1図及び第2図は本発明にかかるカメラをそれぞれ撮
影者から見て左前方及び左後方から俯敞した図である。
FIGS. 1 and 2 are views of the camera according to the present invention viewed from the front left and rear left, respectively, as seen from the photographer's perspective.

第1図中(1〉は撮影を行う際には、特殊な場合を除き
必ず持つと考えられるグリップ部である。グリップ部(
1)には撮影者がグリップ部を持っていることを検知す
るためのグリップスイッチボタン(2)が設けられてい
る0図中(3)はグリップ部(1)の上部に設けられt
こレリーズボタンで、1段押して測距値、測光値をロッ
クし、2段押しで露出動作を開始する。(4)はカメラ
を起動するためのメインスイッチ、(5)はフラッシュ
部である。
In Figure 1, (1>) is the grip part that is considered to be held at all times when taking pictures, except in special cases.Grip part (
1) is provided with a grip switch button (2) for detecting that the photographer is holding the grip part. (3) in the figure is provided on the top of the grip part (1).
Press the release button one step to lock the distance measurement and light metering values, and press the second step to start the exposure operation. (4) is a main switch for starting the camera, and (5) is a flash section.

第2図中(6)はファインダー、(7)は接眼検知のた
めの例えばLEDからなる発光素子、(8)は発光素子
(7)により発光された光を受光するための例えばSP
Cからなる受光素子である第3図は本発明の具体的な構
成を示すブロック図である。第3図中、cpu <マイ
クロコンピュタ)(10)は本発明のカメラ全体の制御
を行うとともに、APZの演算をも行う、測距部(11
)は前記被写体距離りを求め、そのデータを前記CPU
(to)に出力する。焦点距離可変部(12)はCPU
(10)内で演算されたAPZの演算結果の焦点距離f
になるようにズームレンズ用モータを駆動する。焦点距
離検出部(13)は、前記焦点距離可変部(12)が焦
点距離を変化している際に、コード板等によって現時点
での焦点距離を検出しその値をCPU(10)に出力す
る。フラッシュ(14)は内部に発光用のコンデンサを
有し、CPU(10)からの充電信号によりコンデンサ
の充電を行うとともに充電完了信号をCPU(10)に
出力する。測光部(15)は被写体節度を測光し、その
データをCPU(10)に出力する。露出制御部(16
)はCPU(10)からの制御信号によりレリーズ動作
及びフィルムの巻上げを行う、接眼検知部(17)は第
2図の発光素子(7)と該発光素子(7)にから放射さ
れtこ光の反射光を検出する受光素子(8)とを含むも
のである。接眼検知部(17)は撮影者がファインダー
(6)を覗いたときに前記発光素子(7)から放射され
た光が撮影者によって反射され、所定の範囲の反射光レ
ベルで前記受光素子(8)によって検知されるように構
成されている。計時部(18)は所定のスイッチ(動作
)が操作されなくなってから所定時間経過した場合にカ
メラの動作を停止するAPO(Au t 。
In Fig. 2, (6) is a finder, (7) is a light emitting element such as an LED for detecting eye contact, and (8) is an SP for receiving light emitted by the light emitting element (7).
FIG. 3 is a block diagram showing a specific configuration of the present invention. In FIG. 3, a CPU (microcomputer) (10) controls the entire camera of the present invention, and also performs APZ calculations, and a distance measuring unit (11).
) calculates the subject distance and sends the data to the CPU.
Output to (to). The focal length variable section (12) is a CPU
Focal length f of the APZ calculation result calculated in (10)
Drive the zoom lens motor so that A focal length detection section (13) detects the current focal length using a code board or the like when the focal length variable section (12) is changing the focal length, and outputs the value to the CPU (10). . The flash (14) has a capacitor for light emission inside, charges the capacitor in response to a charging signal from the CPU (10), and outputs a charging completion signal to the CPU (10). The photometry section (15) measures the subject moderation and outputs the data to the CPU (10). Exposure control section (16
) performs the release operation and film winding based on control signals from the CPU (10).The eyepiece detection unit (17) detects the light emitted from the light emitting element (7) shown in Fig. 2 and the light emitted from the light emitting element (7). and a light-receiving element (8) that detects the reflected light. The eye proximity detection unit (17) detects the light emitted from the light emitting element (7) when the photographer looks through the finder (6), and detects the light emitted from the light receiving element (8) at a reflected light level within a predetermined range. ) is configured to be detected by The timer unit (18) is an APO (Au t ) that stops the operation of the camera when a predetermined period of time has elapsed since a predetermined switch (operation) was no longer operated.

Power  0ff)機能のためのものである。This is for the Power 0ff) function.

また、(19)はカメラの動作用ソフトのバージョンN
O0等が記録されたE”PROMである。
In addition, (19) is version N of the camera operation software.
This is an E''PROM in which O0 etc. are recorded.

次にスイッチ類について説明する。メインスイッチ(S
M)はカメラの起動用スイッチである。
Next, the switches will be explained. Main switch (S
M) is a switch for starting the camera.

グリップスイッチ(SG)は第1図に示すグリップスイ
ッチ(2〉が押されるとONするスイッチで撮影者がグ
リップを握り撮影動作を開始したことを検知する。ロッ
クスイッチ(Sl)は、測距値、測光値及び撮影倍率を
ロックする。ロックスイッチ(Sl)は第1図に示され
ているレリーズボタン(3)を1段押し下げるCとによ
りONする。露出制御スイッチ(S2)は前記レリーズ
ボタン(3)を2段押し下げることによりONL、レリ
ーズ動作を行う。フラッシュ発光スイッチ(SF)はフ
ラッシュ撮影を行う場合にONされるスイッチである。
The grip switch (SG) is a switch that turns ON when the grip switch (2> shown in Figure 1 is pressed) and detects when the photographer grips the grip and starts shooting.The lock switch (Sl) detects the distance measurement value. , locks the photometric value and photographing magnification.The lock switch (Sl) is turned on by pressing down the release button (3) one step shown in FIG. 3) The ONL and release operations are performed by pressing down two steps.The flash emission switch (SF) is a switch that is turned on when performing flash photography.

また、前記CPUには電源が装着されたときにタイマ、
レジスタ等をリセットするためのリセット端子(RES
)が設けられている。
In addition, when the CPU is equipped with a power supply, a timer,
Reset terminal (RES) for resetting registers, etc.
) is provided.

次に第1図のCPU(10)内で行われる処理について
第4図〜第9図のフローチャートのに基づいて説明する
Next, the processing performed within the CPU (10) in FIG. 1 will be explained based on the flowcharts in FIGS. 4 to 9.

電源電池が装着されるとCPU(10)は第4図に示す
r RE S E T’ Jのルーチンを実行する。ま
ずステップ(#1)でタイマ、レジスタ等の初期リセッ
トを行う、初期リセットが終了するとステップ(#2)
においてE2PROMに動作用ソフトのバージョンNO
1を書き込む0次に、ステップ(井3)においてE2P
ROM (19)からステップ(#2)で書き込んだバ
ージョンNO,を読みだし、ステップ(#4) でE2
pRoM(19)からのデータが正しいか否かを判別す
る。データが正しくない場合は撮影不可とする。データ
が正しい場合はステップ(#5)においてメインスイッ
チ(SM)がONであるか否かを判別しスイッチ(SM
)がONになるとカメラを起動し第5図のrMA I 
NJルーチンに移行する。
When the power supply battery is installed, the CPU (10) executes the routine rRESET'J shown in FIG. First, perform initial reset of timers, registers, etc. in step (#1). Once the initial reset is completed, proceed to step (#2).
Insert the operating software version number into the E2PROM.
0 to write 1 Next, in step (I3) E2P
Read the version number written in step (#2) from ROM (19), and read E2 in step (#4).
Determine whether the data from pRoM (19) is correct. If the data is incorrect, photography will not be allowed. If the data is correct, it is determined in step (#5) whether the main switch (SM) is ON or not, and the switch (SM)
) turns ON, the camera is activated and the rMA I shown in Figure 5 is turned on.
Move to NJ routine.

第5図のrMA I NJルーチンについて説明する。The rMA I NJ routine in FIG. 5 will be explained.

まずステップ(#6)においてグリップスイッチ(SG
)がONであるか否かを判別する。スイッチ(SG)が
ONになるのを待って後述するステップ(#7)のrA
PZJのサブルーチンに移行する。ステップ(#8)で
はスイッチ(SllがONか否かを判別し、スイッチ(
Sl)がOFFであれば上記ステップ(#6)〜(#7
)までの動作を繰り返す、スイッチ(Sl)がONであ
わば後述するステップ(#9)のrsI  ONJのサ
ブルーチンに移行する。rsl  ONJのサブルーチ
ンの後ステップ(# 10)においてメインスイッチ(
SM)がONか否かを判別しOFFであれば撮影動作を
終了する。スイッチ(SM)がONであればステップ(
# 11)でタイマ1に所定値T1をセットし、スター
トさせる0次にステップ(#12)でタイマlがカウン
トアツプしたか否かを判別する。このタイマ1は先に説
明したAPO用のタイマである。タイマlがカウントア
ツプしていなければステップ(#6)に戻り上記の動作
を繰り返す、カウントアンプすれば表示等を消してスイ
ッチ(SG)またはスイッチ(Sl)が再度ONされる
までスタンバイ状態となる。
First, in step (#6), the grip switch (SG
) is ON. Wait for the switch (SG) to turn on and then perform rA in step (#7), which will be described later.
Move to the PZJ subroutine. In step (#8), it is determined whether the switch (Sll) is ON or not, and the switch (
SL) is OFF, the above steps (#6) to (#7
), and when the switch (Sl) is turned on, the process moves to the rsI ONJ subroutine of step (#9), which will be described later. After the rsl ONJ subroutine, in step (#10), the main switch (
It is determined whether SM) is ON or not, and if it is OFF, the photographing operation is ended. If the switch (SM) is ON, step (
In step #11), a predetermined value T1 is set in timer 1, and it is started.In step #12, it is determined whether or not timer 1 has counted up. This timer 1 is the APO timer described earlier. If the timer l has not counted up, return to step (#6) and repeat the above operation.If the timer has counted up, the display etc. will be turned off and the unit will be in standby mode until the switch (SG) or switch (Sl) is turned on again. .

次にrAPZJのサブルーチンを第6図に示すフローチ
ャートにより説明する。グリップスイッチ(SG)が押
されこのルーチンに移行すると、まずステップ(# 1
3)において接眼検知用に用いられるCPU(10)内
のレジスタC0UNTを0にリセットし、ステップ(4
t 14)でタイマ2をスタートさせる。このタイマ2
は所定時間毎に割り込みがかかるようにセットされtζ
タイマで、所定時間経過するとCPUは割り込み処理と
して、第7図のrlNTJのルーチンを実行する。第7
図において、ステップ(#41)でグリップスイッチ(
SG)がONであるか否かを判別し、OFF、即ち撮影
者がグリップをつかんでいない場合(多くの場合、撮影
意志のない場合)はステップ(#42)に移行し、レジ
スタC0UNT= 0としてリターンする。なお、ステ
ップ(#6)とステップ(41t41)とにおいて同じ
判別を行っているが、これは、そのステップ間において
グリップ部(1)を離すか、またはグリップスイッチボ
タン(2)のみを離すことがあるからである。スイッチ
(SG)がONであれば(即ち撮影しようとしている場
合)ステップ(#43)に移行して、第2図のファイン
ダー(6)近傍に設けられた発光素子(例えばLED)
(7)を発光させる0発光素子(7)は消費電力節約の
ためパルス的に発光させる。そして、その反射光をSP
C等の受光素子(8)により受光してステップ(#44
)で反射光レベルが所定値以上であるか否かを判別する
。ここで所定値とはファインダー(6)と撮影者(主に
撮影者の目)との距離が数mm(例えば5mm)である
ときの反射光レベルの値であり、この所定値以上であれ
ば撮影者がファインダー(6)を覗いている状態である
と判別し、所定値未満であればファインダー(6)を覗
いていないと判別する基準値である。
Next, the subroutine of rAPZJ will be explained with reference to the flowchart shown in FIG. When the grip switch (SG) is pressed and the routine shifts to this routine, step (#1
In step (3), the register C0UNT in the CPU (10) used for eye proximity detection is reset to 0, and in step (4)
At t14), timer 2 is started. This timer 2
is set so that an interrupt occurs every predetermined time, and tζ
When a predetermined time has elapsed by the timer, the CPU executes the rlNTJ routine shown in FIG. 7 as an interrupt process. 7th
In the figure, the grip switch (
SG) is ON or not, and if it is OFF, that is, the photographer is not holding the grip (in most cases, there is no intention to photograph), the process moves to step (#42), and register C0UNT = 0. Return as. Note that the same determination is made in step (#6) and step (41t41), but this is because it is not possible to release the grip part (1) or only release the grip switch button (2) between the steps. Because there is. If the switch (SG) is ON (that is, when you are about to take a picture), the process moves to step (#43) and the light emitting element (for example, LED) provided near the viewfinder (6) in Fig. 2 is activated.
The zero light emitting element (7) that emits light emits light in a pulsed manner to save power consumption. Then, the reflected light is SP
The light is received by the light receiving element (8) such as C, and the step (#44
), it is determined whether the reflected light level is equal to or higher than a predetermined value. Here, the predetermined value is the value of the reflected light level when the distance between the finder (6) and the photographer (mainly the photographer's eyes) is several mm (for example, 5 mm), and if it is greater than this predetermined value, This is a reference value that determines that the photographer is looking through the finder (6), and if it is less than a predetermined value, it is determined that the photographer is not looking through the finder (6).

前記反射光レベルが所定値以上であればステップ(#4
5)に移行し、レジスタC0UNTの内容をC0UNT
+ 1にする(COUNT=COUNT+1)1次にス
テップ(#45)で求めたレジスタC0UNTの内容が
2以上であるか否かを判別する。C0UNT≧2であれ
ばステップ(#47)でC0UNT=2としてリターン
し、C0UNT〈2であればステップ(#45)で求め
たレジスタC0UNTの内容のままでリターンする。即
ち、撮影者が撮影動作を行うために第1図のグリップ部
をもち、第2図のファインダー(6)を覗いたときには
第6図のステップ(# 13)よりレジスタC0UNT
の内容は0であるので最初の発光素子(7)の発光に起
因する反射光レベルが所定値以上であってもステップ1
45)でC0UNT= 1としてINTルーチン(接眼
検知ルーチン)を抜ける0次のタイマ割り込みがかかり
、発光素子(7)の発光を行っても反射光レベルが所定
値以上のままであればC0UNT=2となり、第6図の
ステップ($14)の判別によってAPZの動作に移行
する。このように最初の発光素子(7)の発光による反
射光のレベル検知によってAPZの動作に移行しないの
はノイズ対策のtこめであるとともに、これによってフ
レーミング中にズーム動作が開始されるのを防ぐためで
ある。ステップ(#44)で反射光レベルが所定値未満
であればステップ(#48)に移行し、レジスタC0U
NTの内容をC0UNT−1にする(COUNT=CO
UNT−1)、次にステップ(#49)においてステッ
プ(#48)で求めたレジスタC0UNTの内容が0以
下であるか否かを判別し、0以下であればステップ(#
50)でC0UNT=Oとし、0より太きければステッ
プ(#48)で求めtこレジスタC0UNTの内容のま
までリターンする1次に、このステップ(#44)  
(148)  (#49)  (#:50)の処理を実
際の撮影動作に即して説明する。撮影前でファインダー
(6)を覗いていない状態では、レジスタC0UNTの
内容が0であるのでAPZの起動は行われないが、AP
Zの動作中にファインダー(6)から目を遠ざけた場合
、ステップ(#44)の反射光のレベル判別で所定値以
下となる。
If the reflected light level is above a predetermined value, step (#4
5) and set the contents of register C0UNT to C0UNT.
+ Set to 1 (COUNT=COUNT+1) First, it is determined whether the contents of the register C0UNT obtained in step (#45) are 2 or more. If C0UNT≧2, the process returns in step (#47) with C0UNT=2, and if C0UNT<2, the process returns with the contents of the register C0UNT obtained in step (#45) unchanged. That is, when a photographer holds the grip shown in Figure 1 to perform a photographing operation and looks into the viewfinder (6) shown in Figure 2, the register C0UNT is set from step (#13) in Figure 6.
Since the content of is 0, step 1 is executed even if the reflected light level caused by the light emission of the first light emitting element (7) is higher than the predetermined value.
45), the 0th order timer interrupt exits the INT routine (eyepiece detection routine) with C0UNT = 1, and if the reflected light level remains above the predetermined value even after the light emitting element (7) emits light, C0UNT = 2. Then, the process moves to the APZ operation according to the determination in step ($14) in FIG. In this way, not transitioning to APZ operation by detecting the level of reflected light from the light emitted by the first light emitting element (7) is a measure to prevent noise, and also prevents the zoom operation from starting during framing. It's for a reason. If the reflected light level is less than the predetermined value in step (#44), the process moves to step (#48), and the register C0U
Set the contents of NT to C0UNT-1 (COUNT=CO
UNT-1), then in step (#49) it is determined whether the contents of the register C0UNT obtained in step (#48) is less than or equal to 0, and if it is less than or equal to 0, the process is executed in step (#49).
50), set C0UNT=O, and if it is thicker than 0, calculate it in step (#48) and return with the contents of register C0UNT.1st Next, in this step (#44)
(148) (#49) The processing of (#:50) will be explained based on an actual photographing operation. Before shooting, when you are not looking through the viewfinder (6), the contents of register C0UNT are 0, so APZ will not start, but APZ will not start.
If the eye is moved away from the finder (6) during the Z operation, the reflected light level will be determined to be below a predetermined value in step (#44).

しかし、反射光レベルの値が所定値以下であってもAP
Zの動作は停止せず、次の発光素子(7)の発光による
反射光レベルも所定値以下となっtことき初めてAPZ
の動作を停止する。これらステップ(#45)〜(#4
7)の場合と同様ノイズ対策のためである。
However, even if the reflected light level is below a predetermined value, the AP
The operation of Z does not stop, and the reflected light level due to light emission from the next light emitting element (7) also falls below the predetermined value, and APZ is activated for the first time.
stop working. These steps (#45) to (#4
As in case 7), this is for noise countermeasures.

第6図のフローチャートに戻って、ステップ(#15)
でレジスタC0UNTの内容が2であるか否かを判別す
る。C0UNT=2 (即ちファインダー(6)を覗い
ていると判定)となるのを待つてステップ(# 16)
に移行する。ステップ(#16)ではタイマ3をリセッ
トスタートさせろく時刻1=0)、このタイマ3及び上
述のタイマ2はいずれもCPU内に内蔵されたものを使
用することができる0次に測距部(11)及び−測光部
(15〉により公知の測距及び測光の動作を行う。ステ
ップ(118)でフォーカシング即ち焦点調節を行って
ステップ(#19)で被写体距離D1を求める。
Returning to the flowchart in Figure 6, step (#15)
It is determined whether the contents of register C0UNT are 2 or not. Wait until C0UNT=2 (that is, it is determined that you are looking into the finder (6)) and proceed to step (#16).
to move to. In step (#16), the timer 3 is reset and started (time 1 = 0). This timer 3 and the above-mentioned timer 2 are both built-in units of the CPU. 11) and - Photometering section (15>) performs known distance measurement and photometry operations. In step (118), focusing is performed, and in step (#19), the subject distance D1 is determined.

次にステップ(、# 16)でスタートさせたタイマ3
のカウント動作が所定時間(本実施例の場合は0゜5秒
)経過しているか否かをステップ(#20)で判別する
。0.5秒以内であればステップ(#17)に移行して
ステップ(# 17)〜(#19)の動作を繰り返し、
0.5秒経過するとステップ(#21)で次の所定時間
(本実施例の場合は1秒)経過しているか否かを判別す
る。即ち1秒経過していない(0,5≦t <1 )場
合はステップく#22)において被写体距離D□の変化
が所定値以内であるか否かを判別する。所定値以内でな
ければ、撮影者が被写体(構図)を決めている途中であ
ると判断してステップ(# 17)に移行し、ステップ
(# 17)〜(#21)の動作を繰り返す、被写体距
離DTの変化が所定値以内で被写体(構図)が決まった
と判断するか、またはステップ(#21)においてタイ
マ3のカウント動作が1秒を経過するとステップ(#2
3)以降のズーム動作を開始する以上のタイマ3関連の
動作をまとめると接眼を検知してから0.5秒以内はズ
ーム動作を禁止し。
Next, timer 3 started in step (, #16)
It is determined in step (#20) whether or not a predetermined period of time (0.5 seconds in this embodiment) has elapsed since the counting operation. If it is within 0.5 seconds, move to step (#17) and repeat steps (#17) to (#19),
When 0.5 seconds have elapsed, it is determined in step (#21) whether or not the next predetermined time (1 second in this embodiment) has elapsed. That is, if one second has not elapsed (0,5≦t<1), it is determined in step #22) whether the change in the subject distance D□ is within a predetermined value. If it is not within the predetermined value, it is determined that the photographer is in the process of deciding on the subject (composition), moves to step (#17), and repeats steps (#17) to (#21). If the change in distance DT is within a predetermined value and it is determined that the subject (composition) has been decided, or if the count operation of timer 3 exceeds 1 second in step (#21), step (#2
3) Starting subsequent zoom operations To summarize the operations related to timer 3 above, zoom operations are prohibited within 0.5 seconds after eye contact is detected.

0.5〜1秒間では被写体距離り、が安定時のみズーム
動作に移行し、1秒以上であれば被写体距離DTに関わ
らずズーム動作に移行するということになる。尚、ステ
ップ($ 16)〜(#22)においてタイマ3を動作
させているのは、フレーミング中にズーム動作が開始さ
れるのを防ぐこと及びノイズ対策のためである。
For 0.5 to 1 second, the zoom operation is performed only when the subject distance DT is stable, and for 1 second or more, the zoom operation is performed regardless of the subject distance DT. Note that the reason why the timer 3 is operated in steps ($16) to (#22) is to prevent the zoom operation from being started during framing and to take measures against noise.

ズーム動作に移行すると、まずステップ(#23)にお
いてステップ(118)で求めた被写体距離D□とAP
Zのプログラムラインとによって求まる所定の撮影倍率
β1に対応する焦点距離f□を算出する。
When moving to zoom operation, first, in step (#23), the subject distance D□ and AP obtained in step (118) are
A focal length f□ corresponding to a predetermined imaging magnification β1 determined by the Z program line is calculated.

flが求まるとステップ(#24)でC0UNTOであ
るか否かを判別する。C0UNT=0、即ち撮影者がフ
ァインダー(6)を覗いていないと判断した場合は、ズ
ーム中であればズーム動作をストップしリターンする。
When fl is determined, it is determined in step (#24) whether or not it is C0UNTO. If C0UNT=0, that is, if it is determined that the photographer is not looking into the finder (6), then if zooming is in progress, the zoom operation is stopped and the process returns.

C0UNT≠0であればステップ(#26)でメインス
イッチ(SM)がONであるか否かを判別し、メインス
イッチがOFFであればステップ(#27)に移行して
ズーム中であればズーム動作を停止してリターンするこ
のようにステップ(#24)においてC0UNT=0か
否かを判別するのは、次のような理由によるものである
。即ち、第7図のrlNTJルーチンを抜けてC0UN
T=2となり、ステップ(#16)〜(、#23)を実
行している間であっても、それと併行してC0UNT=
2とした先の割り込みに続く所定時間毎の割り込みが停
止することなく行われている。従ってステップ(#24
)においては、以降所定時間毎の割り込みによって、C
0UNT=Oとなっているか否かを判断する必要がある
If C0UNT≠0, it is determined in step (#26) whether the main switch (SM) is ON or not, and if the main switch is OFF, the process moves to step (#27), and if it is zooming, it is zoomed. The reason why it is determined whether C0UNT=0 or not in step (#24) where the operation is stopped and returned is as follows. That is, after exiting the rlNTJ routine in FIG.
Even while T=2 and steps (#16) to (, #23) are being executed, C0UNT=
Interruptions at predetermined time intervals following the previous interrupt set to 2 are being performed without stopping. Therefore step (#24
), the C
It is necessary to determine whether 0UNT=O.

また、ステップ(# 16)〜(#23)が実行せれて
いる時、他の所定時間毎の割り込みによってステップ(
#44)がN(反射光レベル所定値未満)と判断される
場合がある。先の割り込み処理によってC0UNT=2
と設定されているので、ステップ(148)ではC0U
NT= 1となり、ステップ(#49HCおいてNと判
断してcOUNT= 1のままリターンする。この特売
の割り込み処理によってステップ(# 16)〜(#2
3)が実行され、ステップ(#24)に達するとステッ
プ(#24)ではC0UNT、=Oでないと判断して、
反射光レベルが所定値未満であっても次のステップ(#
26)に進むことになる。しかしながら、C0UNT1
の内容でリターンした後、次に続く所定時間毎の割り込
みによってステップ(#48)でC0UNT=0となり
ステップ149)  (4t50)を経てリターンする
。従って、先の割り込みによってステップ(#24)へ
進んでいる場合であっても、スイッチ(Sl)がONさ
れるのを待つためにステップ(#39)でステップ(#
24)に戻った後、再びステップ(#24)におt、I
TCOUNT=0か否かの判別が行われる。C0UNT
=Oとなっtこ結果、ステップ(#25)を経た後リタ
ーンされるので誤動作は生じない。
Also, when steps (#16) to (#23) are being executed, step (
#44) may be determined to be N (reflected light level less than a predetermined value). C0UNT=2 due to the previous interrupt processing
Therefore, in step (148) C0U
NT = 1, judges N at step (#49HC), and returns with cCOUNT = 1. Through this special sale interrupt processing, steps (#16) to (#2
3) is executed and when step (#24) is reached, step (#24) determines that C0UNT is not =O,
Even if the reflected light level is less than the specified value, the next step (#
26). However, C0UNT1
After returning with the contents of , C0UNT becomes 0 in step (#48) due to subsequent interruptions at predetermined time intervals, and the process returns via step 149) (4t50). Therefore, even if the process has proceeded to step (#24) due to the previous interrupt, step (#39) is executed in order to wait for the switch (Sl) to be turned on.
After returning to step 24), go to step (#24) again.
A determination is made as to whether TCOUNT=0 or not. C0UNT
=O, and as a result, the process returns after passing through step (#25), so no malfunction occurs.

スイッチ(SM)がONであればステップく#28)で
スイッチ(Sl)がONであるか否かを判別する。スイ
ッチ(S l )がONでない(OFFであれば現在の
焦点側M t Nを第3図の焦点距離検出部(13)に
よって求め、ステップ<#23>で求めた焦点距離f□
と等しいか否かを判別する。
If the switch (SM) is ON, it is determined in step #28) whether the switch (Sl) is ON. If the switch (S l ) is not ON (if it is OFF, the current focus side M t N is determined by the focal length detection unit (13) in FIG. 3, and the focal length f□ determined in step <#23> is
Determine whether it is equal to or not.

等しくなければ焦点距離f□となるようにズーム動作を
スタートして、ステップ(#24)に戻り上記のステッ
プ(#24)〜(#30)の動作を繰り返す、ステップ
(128)においてスイッチ(Sl)がQNであれば後
述のrsl  ONJルーチンに移行する。ステップ(
#30)でf N= f 0であればステップ(#32
)でズーム動作をストップする。
If not, the zoom operation is started so that the focal length becomes f ) is QN, the process moves to the rsl ONJ routine described later. Step (
#30) If f N = f 0, step (#32
) to stop zooming.

ズーム駆動前にfh”fvであればズーム駆動の必要が
ないとしてズーム動作は行わない。
If fh"fv before the zoom drive, it is assumed that there is no need for the zoom drive and the zoom operation is not performed.

ズーム動作を停止した後、ステップ($33)において
フラッシュ(14)の充電を行う、第8図にフラッシュ
の充電ルーチンを示す、まず、ステップ(#51)にお
いてフラッシュ発光スイッチ(SF)がONであるか否
かを判別する。スイッチ(SF)がOFFであれば充電
は行わずリターンする。スイッチ(SF)がONであれ
ばステップく#52)で充電用のコンデンサが充電完了
しているか否かを判別する。充電が完了していればその
ままリターンする。充電が完了していなければ、ステッ
プ(#53)において充電用のタイマをスタトさせる。
After stopping the zoom operation, the flash (14) is charged in step ($33). Figure 8 shows the flash charging routine. First, in step (#51), the flash light emission switch (SF) is turned on. Determine whether it exists or not. If the switch (SF) is OFF, the battery returns without charging. If the switch (SF) is ON, it is determined in step #52) whether or not the charging capacitor has been fully charged. If charging is complete, it will return immediately. If charging is not completed, a charging timer is started in step (#53).

この充電用タイマは所定期間(例えば250m5)充電
を行うようにする、所謂間欠充電のすこめのちのである
。充電用タイマをスタートさせた後ステップ(#54)
で充電をスタートするステップ(#55)で充電用タイ
マがカウントアンプしたか否かを判別し、充電用タイマ
がカウントアツプすると充電をストップしてリターンす
る。
This charging timer is used to perform so-called intermittent charging, in which charging is performed for a predetermined period (for example, 250 m5). Step after starting the charging timer (#54)
In the step (#55) of starting charging, it is determined whether or not the charging timer has counted up, and when the charging timer counts up, charging is stopped and the process returns.

第6図に戻り、充電中にフレーミング(構図)が変更さ
れた場合のために再度ステップ(#’34)〜($36
)において測距、測光、フォーカシング及び被写体距離
D□の演算を行う、ステップ(#36)の被写体距離D
1の演算の結果、被写体距離D1の変化が前回の被写体
距離D1に比べ所定値以内であるか否かを判別し、所定
値以内でなければフレーミング(構図)変更されたとし
てステップ(#23)に戻り、上記ステップ(#23)
〜(# 36)の動作を繰り返す。被写体距離DTの変
化が所定値以内であればフレーミング(構図)は変更さ
れていないとしてステップ(138)でAPO用のタイ
マ1に所定値T2をセットし、スタートさせるステップ
(#39)でタイマ1がカウントアンプしたと判別され
るまで上記ステップ124)〜(#39)の動作を繰り
返す、タイマ1がカウントアツプすれば測距値、測光値
等のデータをクリアしC01JNT=0、即ち撮影者が
ファインダーから目を離すのを待ってMEINルーチン
に移行する。
Returning to Figure 6, repeat the steps (#'34) to ($36) in case the framing (composition) is changed during charging.
) to perform distance measurement, photometry, focusing, and calculation of the subject distance D□ in step (#36).
As a result of calculation 1, it is determined whether the change in subject distance D1 is within a predetermined value compared to the previous subject distance D1, and if it is not within a predetermined value, it is determined that the framing (composition) has been changed (step #23). Return to the above step (#23)
Repeat the operations from ~(#36). If the change in subject distance DT is within a predetermined value, it is assumed that the framing (composition) has not been changed, and a predetermined value T2 is set in APO timer 1 in step (138), and timer 1 is set in step (#39) to start. The operations of steps 124) to (#39) are repeated until it is determined that the timer 1 has counted up. When timer 1 counts up, the data such as distance measurement value and photometry value are cleared and C01JNT = 0, that is, the photographer Wait until you take your eyes off the viewfinder and move on to the MEIN routine.

以上のように本実施例ではAPZの動作時、ズーム動作
完了後フレーミング(構図)が固定されている間にフラ
ッシュの充電を行うようにしているので、例え充電が完
了していない状態でスイッチ(Sl)、(S2〉が押さ
れ露出動作に移行したとして6フレーミング中に充電し
た分tどは露出動作までの時間(所謂、未充電ロックの
時間)が短くなる。
As described above, in this embodiment, when the APZ is operating, the flash is charged while the framing (composition) is fixed after the completion of the zoom operation, so even if charging is not completed, the flash can be charged by switching ( S1), (S2> is pressed and the exposure operation is started, and the time until the exposure operation (so-called uncharged lock time) is shortened by the amount charged during 6 frames.

さらに、APZの動作中にAPO用のタイマ1を動作さ
せることにより、APZ動作中ズーム駆動が不要の場合
(被写体が固定されている場合)、所定時間経過すると
APZの動作を停止しているこれによって不要な測距動
作を省き、無駄な電力の消費を防ぐことができる。
Furthermore, by operating timer 1 for APO during APZ operation, if zoom drive is not required during APZ operation (when the subject is fixed), APZ operation can be stopped after a predetermined period of time. This eliminates unnecessary distance measurement operations and prevents unnecessary power consumption.

面、このAPZのAPO中は接眼検知動作を続けており
、−旦撮影者がファインダーから目を離し、再度ファイ
ンダーを覗(と撮影動作を再開する。
On the other hand, during the APO of this APZ, the eye proximity detection operation continues, and once the photographer takes his eyes off the finder, he looks through the finder again (and the shooting operation resumes).

次に第9図により、スイッチ(Sl)がONされた場合
のrs2  ONJルーチンについて説明する。まず、
ステップ($62)においてレジスタC0UNTの内容
が0であるか否かを判別する。
Next, the rs2 ONJ routine when the switch (Sl) is turned on will be explained with reference to FIG. first,
In step ($62), it is determined whether the contents of register C0UNT are 0 or not.

C0UNT≠O1即ち撮影者がファインダーを覗いてい
る場合はステップ(#63)において現在の焦点距離f
、を検出する。現在の焦点路HE r sがステップ(
#23)において求められた焦点距離f’rと等しいか
否かをステップ(#64)で判別し、f、=f□でなけ
れば焦点距離がf□となるようにズム動作をスタートさ
せる。あるいは、ズーム動作中にスイッチ(Sl)がO
Nされた場合は、焦点距離がfNとなるまでズーム動作
を継続する。
C0UNT≠O1, that is, if the photographer is looking through the finder, the current focal length f is determined in step (#63).
, to detect. The current focal path HE r s is a step (
It is determined in step (#64) whether or not the focal length is equal to the focal length f'r obtained in step #23), and if f is not equal to f□, a rhythm operation is started so that the focal length becomes f□. Alternatively, the switch (Sl) may be turned off during zoom operation.
If N is selected, the zoom operation continues until the focal length reaches fN.

f H= f□となるとステップ(#66)においてズ
ーム動作をストップし、ステップ(4t67)に移行す
る。
When fH=f□, the zoom operation is stopped in step (#66) and the process moves to step (4t67).

一方、ステップ(、# 62 )においてC0UNTO
であれば、現在の焦点距離でズーム動作をストップし、
ステップ(#67)に移行する。ステップ(’$67)
では、確認のtcめの測距、測光を行い、ステップ(1
68)で再度フォーカシングを行う。
On the other hand, in step (, #62) C0UNTO
If so, stop the zoom operation at the current focal length,
The process moves to step (#67). Step ('$67)
Now, perform distance measurement and photometry for the tcth time for confirmation, and proceed to step (1).
Focusing is performed again in step 68).

次に、ステップ(#69)において露出制御スイッチ(
S2)がONであるか否かを判別する。スイッチ(S2
)がONであれば、ステップ(#74)で露出制御を行
い、ステップ(#75)でフィルムを巻き上げてリター
ンする。スイッチ(S2)がOFFであればステップ(
#70)でスイッチ(Sl)がONであるか否かを判別
し、OFFであればリターンする。スイッチ(Sl)が
ONのままであればステップ(#71)でメインスイッ
チ(SM)がONであるか否かを判別する。スイッチ(
SM)がOFFであれば撮影動作を終了する。
Next, in step (#69) the exposure control switch (
It is determined whether or not S2) is ON. Switch (S2
) is ON, exposure control is performed in step (#74), the film is wound up in step (#75), and the process returns. If the switch (S2) is OFF, step (
In #70), it is determined whether the switch (Sl) is ON or not, and if it is OFF, the process returns. If the switch (Sl) remains ON, it is determined in step (#71) whether the main switch (SM) is ON. switch(
SM) is OFF, the photographing operation ends.

スイッチ(SM)がONのままであればステップ(4t
72)でタイマ1に所定値T3をセットし、スタートさ
せる。次にステップ(#74)において、タイマ1がカ
ウントアツプしたか否かを判別し、カウント動作中であ
ればステップ(#69)に移行し、上記のステップ($
69)〜ステップ(#75)の動作を繰り返す、タイマ
1がカウントアツプすればスタンバイ状態となり、再度
スイッチ(Sl)がONされるのを待つ。
If the switch (SM) remains ON, step (4t)
72), the timer 1 is set to a predetermined value T3 and started. Next, in step (#74), it is determined whether or not timer 1 has counted up, and if it is in the counting operation, the process moves to step (#69), and the above step ($
69) to step (#75) are repeated. When the timer 1 counts up, it becomes a standby state and waits for the switch (Sl) to be turned on again.

上記のように本実施例では、APO用タイマをスイッチ
(Sl)がONされている時も動作させているので、長
時間のフォーカスロックによる無駄な電力の消費を防止
することができる。
As described above, in this embodiment, the APO timer is operated even when the switch (Sl) is turned on, so that wasteful power consumption due to long-term focus lock can be prevented.

第1O図はAPz動作を優先させるか閃光撮影装置の充
電を優先させるかを切り換える場合のフローチャートで
ある。
FIG. 1O is a flowchart for switching between giving priority to APz operation and charging the flash photography device.

まず、APOタイマ1に所定値T2をセントしスタート
させる。これはAPZ動作を所定時間内だけ行わせるよ
うにし、無駄な電力の消費を防ぐためである0次に、第
6図の場合と同様撮影者がファインダーを覗きC0UN
T=2となるとステップ(#84)で測光を行う、測光
の結果低輝度であるか否かがステップ(#85)で判別
される。低輝度でなければステップ(#89)に移行す
る。低輝度であればステップ(#86)でフラッシュ発
光用スイッチ(SF)がONであるか否かを判別する。
First, a predetermined value T2 is sent to the APO timer 1 and started. This is to ensure that the APZ operation is performed only within a predetermined period of time and to prevent unnecessary power consumption. Next, as in the case of Figure 6, the photographer looks through the viewfinder and
When T=2, photometry is performed in step (#84), and it is determined in step (#85) whether or not the photometry results in low luminance. If the brightness is not low, the process moves to step (#89). If the brightness is low, it is determined in step (#86) whether the flash light emission switch (SF) is ON.

スイッチ(SF)がONでなければフラッシュ発光を行
わないとしてステップ(#89)に移行する。スイッチ
(SF)がONであればステップ187)でフラッシュ
発光用のコンデンサの充電が発光可能電圧に達している
かか否かを判別し、発光可能電圧に達していればステッ
プ(#89)に移行する1発光可能電圧に達していなけ
ればステップ(#88)で充電をスタートし、ステップ
(#84)に戻る。充電中に低輝度でなくなる、スイッ
チ(SF)がOFFとなる、充電が発光可能電圧となる
、のいずれかになるとステップ(#89)に移行する。
If the switch (SF) is not ON, the flash light emission is not performed and the process moves to step (#89). If the switch (SF) is ON, it is determined in step 187) whether the charge of the capacitor for flash emission has reached the voltage that allows light emission, and if the voltage that allows light emission has been reached, the process moves to step (#89). If the voltage that enables one light emission has not been reached, charging is started in step (#88), and the process returns to step (#84). When the brightness is no longer low during charging, the switch (SF) is turned off, or the charging voltage reaches a voltage that allows light emission, the process moves to step (#89).

ステップ(#89)では充電中であれば充電をストップ
しステップ190)でタイマ3をリセットすスタートさ
せる6次にステップ(#91)において測距動作を行い
、以下ステップ(#92)〜ステップ(# 106)は
第6図のステップ(#I8)〜ステップ($32)と同
様の動作を行う、ステップ1106)でAPZ動作の完
了後再度測光を行い低輝度判別、スイッチ(SF)の判
別を行う(ステップ(# 107)〜ステップ(#10
9))、ステップ(# 112)に移行する0次に、ス
テップ(#110)でフラッシュの充電が完了している
か否かを判別し、充電が完了していなければステップ(
#111)で充電レベルが発光可能電圧に達しているか
否かを判別する6発光可能電圧に達していなければステ
ップ(#84)に戻り、発光可能電圧に達していればス
テップ(#112)で充電完了状態となるように充電を
スタートさせる。
In step (#89), charging is stopped if charging is in progress, and in step 190), timer 3 is reset and started.6 Next, in step (#91), distance measurement operation is performed, and the following steps (#92) to ( #106) performs the same operation as step (#I8) to step ($32) in Figure 6. In step 1106), after the APZ operation is completed, photometry is performed again to determine low brightness and switch (SF). Perform (Step (#107) ~ Step (#10)
9)), proceed to step (#112) Next, in step (#110) it is determined whether or not charging of the flash is completed, and if charging is not completed, proceed to step (#112).
In step #111), determine whether the charge level has reached the voltage that allows light emission.6 If the voltage that allows light emission has not been reached, return to step (#84); if the voltage that allows light emission has been reached, proceed to step (#112). Start charging until the charging is completed.

ステップ(#113)で充電をストップしtこ後、ステ
ップ(#114)で測距動作を行う、以下のステップは
第6図のステップ135)と同じであるので説明は省略
する。
After charging is stopped in step (#113), a distance measuring operation is performed in step (#114).The following steps are the same as step 135) in FIG. 6, so a description thereof will be omitted.

以上第10図の場合、フラッシュ発光が必要な場合は、
まず発光可能電圧まで充電優先とする。但し、充電中6
測光は行いフラッシュが不要になれば充電をストップさ
せる。即ち発光可能電圧をまず確保しておいてAPZ動
作を行うようにしているのでレリーズボタンを押されて
6未充電ロツクがかかることはない、そしてズーム動作
を行わないとき充電完了レベルまで充電を行う。
In the case of Figure 10 above, if flash emission is required,
First, priority is given to charging up to a voltage that allows light emission. However, while charging 6
It measures the light and stops charging when the flash is no longer needed. In other words, since the voltage that enables light emission is secured first and the APZ operation is performed, the 6 uncharged lock will not be activated when the release button is pressed, and the battery will be charged to the fully charged level when the zoom operation is not performed. .

第11図及び第12図は接眼検知をより精度よく行うた
めのフローチャート及びタイムチャートである。第6図
及び第7図での説明では接眼検知のタイミングはタイマ
2により一定間隔で行っているが、第11図では反射光
レベルが所定値以上であれば発光間隔を短くしている。
FIG. 11 and FIG. 12 are a flow chart and a time chart for performing eye contact detection with higher accuracy. In the explanation with reference to FIGS. 6 and 7, the timing of eye proximity detection is performed at regular intervals by the timer 2, but in FIG. 11, the light emission interval is shortened if the reflected light level is above a predetermined value.

第11図を実際の動作に即して説明する。FIG. 11 will be explained based on actual operation.

まず撮影者がグリップスイッチ(SG)を保持していな
い場合はステップ(# 122)でC0UNTOとし、
ステップ(# 123)で発光素子く7)が時間t1間
隔で発光するようにリセットしてリターンする。
First, if the photographer does not hold the grip switch (SG), set it to C0UNTO in step (#122),
In step (#123), the light emitting element 7) is reset to emit light at intervals of time t1, and the process returns.

スイッチ(SG)がONであればステップ(#124)
で発光素子(7)による発光を行う、ステップ(#12
5)で受光素子く8)による受光レベル(反射光レベル
)が所定値以上あればステップ(#126)でレジスタ
C0UNTの内容をC0UNT十1とし、ステップ(#
 127)でC0UNT≧4であるか否かを判別する。
If the switch (SG) is ON, step (#124)
Step (#12) in which the light emitting element (7) emits light.
If the light reception level (reflected light level) by the light receiving element 8) is equal to or higher than the predetermined value in step 5), the contents of the register C0UNT are set to C0UNT11 in step (#126), and the process is performed in step (#126).
127), it is determined whether C0UNT≧4.

第7図のステップ(#46)ではC0UNT≧′2であ
るか否かの判別を行い、反射光レベルが2回所定値以上
であればAPZ動作に移行しているが、第11図では4
回所定値以上であればAPZ動作に移行するようにして
いる。
In step (#46) of FIG. 7, it is determined whether or not C0UNT≧'2, and if the reflected light level is twice a predetermined value or higher, the APZ operation is started; however, in FIG.
If the number of times exceeds a predetermined value, the system shifts to APZ operation.

ステップ(#127)でC0UNT≧4でなければステ
ップ(# 134)でC0UNT二2であるか否かを判
別する0反射光レベルが所定値以上であると1度検知し
たときはC0UNT= 1であるのでステップ(#13
6)に移行する。ステップ(# 136)ではタイマ2
による割り込みタイミングを時間t3(t l> t 
3)にセットしリターンする。t3の経過後再度割り込
みがかかり、今回も反射光レベルが所定レベル以上であ
ればC0LINT=2となりステップ(# 127)及
びステップ(#134)の判別によりステップ(# 1
35)に移行する。ステップ(#135)では、タイマ
20時間をtz(t、<t2<t3)にセットする。
If C0UNT≧4 in step (#127), it is determined in step (#134) whether or not C0UNT22.If it is detected that the 0 reflected light level is equal to or higher than a predetermined value, C0UNT=1. Step (#13)
6). In step (#136), timer 2
The interrupt timing due to time t3 (t l > t
3) and return. After t3 has elapsed, an interrupt is generated again, and this time too, if the reflected light level is above the predetermined level, C0LINT=2 and step (#1) is executed based on the determination in step (#127) and step (#134).
35). In step (#135), a timer 20 hours is set to tz (t, <t2<t3).

上記のようにタイマ2による割り込みタイミングを3段
階に切り換えているのは以下の理由からである。撮影者
がグリップ部を保持した状態でファインダーを覗いてい
ない場合、またはグリップ部を保持していてもファイン
ダーを覗いていない場合は消費電力を少なくするため比
較的長い発光間隔(tl)で発光を行い、1度所定値以
上の反射光を受光するとノイズ対策のため発光間隔を短
くする(ti+>、この場合のノイズとはカメラ内部の
ノイズ、あるいは螢光灯によるノイズ等である。螢光灯
は50Hzまたは60Hzで点灯してるため時間t3は
螢光灯の周波数(周期)よりも短くなるように設定しで
ある0時間t3が経通後割り込みがかかり再度所定値以
上の反射光を受光すれば上記ノイズによるものではない
として発光間隔をt2に切り換える。
The reason why the interrupt timing by timer 2 is switched to three stages as described above is as follows. If the photographer is holding the grip and not looking through the viewfinder, or if the photographer is holding the grip but not looking through the viewfinder, the camera will fire at relatively long flash intervals (tl) to reduce power consumption. Once a reflected light of a predetermined value or more is received, the emission interval is shortened to prevent noise (ti+>, noise in this case is noise inside the camera, noise from the fluorescent lamp, etc. Fluorescent lamp. Since the lamp is lit at 50Hz or 60Hz, time t3 is set to be shorter than the frequency (period) of the fluorescent lamp, and after 0 time t3 passes, an interrupt occurs and the reflected light exceeding the predetermined value is received again. In this case, the light emission interval is switched to t2, assuming that the noise is not caused by the above noise.

第11図に戻り、4回続けて所定値以上の反射光を受光
するとステップ(# 126)でC0UNT=4となり
ステップ(#127)の判別でステップ(#128)に
移行する。ステップ(#128)ではC0UNT=4と
してステップ(# 129)で接眼用のフラグが1であ
るか否かを判別する。最初の接眼検知時はフラグは0と
しているのでステップ(@ 130)に移行しフラグを
1にセットする。その後ステップ(# 131 )でタ
イマ2の時間を12にセットしてリターンする1次回の
検知時ではフラグが1−であるのでステップ(#129
)の判別でステップ($ 132)に移行してフラグを
0にし、さらにタイマ2にt3をセットしてリターンす
る。
Returning to FIG. 11, when reflected light of a predetermined value or more is received four times in a row, C0UNT=4 in step (#126), and the process moves to step (#128) based on the determination in step (#127). In step (#128), C0UNT is set to 4, and in step (#129) it is determined whether the ocular flag is 1 or not. Since the flag is set to 0 at the time of the first eye proximity detection, the process moves to step (@130) and the flag is set to 1. After that, in step (#131), set the timer 2 time to 12 and return.Since the flag is 1- at the time of the first detection, step (#129)
), the process moves to step ($132), sets the flag to 0, sets timer 2 to t3, and returns.

方、ステップ(# 125)で反射光が所定レベル未満
であると判別されたときは、第7図と同様レジスタC0
UNTの内容をC0UNT−1とし、その結果C0UN
T≦2であるか否かを判別するC0UNT≦2でなけれ
ばステップ(# 141)でタイマ2にt、をセットし
リターンする。C0UNT≦2であればステップ(#1
39)でC0UNTOとし、さらにステップ(# 14
0)でタイマ2にt、にリセットしてリターンする。
On the other hand, when it is determined in step (#125) that the reflected light is less than the predetermined level, register C0 is set as in FIG.
Let the content of UNT be C0UNT-1, and the result is C0UN
It is determined whether T≦2. If C0UNT≦2, t is set in timer 2 in step (#141) and the process returns. If C0UNT≦2, step (#1
39) to C0UNTO, and then step (#14)
0), resets timer 2 to t, and returns.

第12図に示すように、反射光が所定レベル以上になる
まではt1間隔で発光素子(7)を発光し1度所定レベ
ル以上の反射光を受光すると、t3と12間隔の発光を
交互に行う、その結果4回続けて反射光レベルが所定値
以上であれば確実に撮影者がファインダーを覗いている
としてAPZ動作の移行する。APZ動作及び撮影動作
中も発光素子く7〉による発光をtl、t2間隔で交互
に行い、2回続けて所定値以上の反射光を受光しなけれ
ば撮影者がファインダーから目を離しtことしてAPZ
動作を停止する。
As shown in FIG. 12, the light emitting element (7) emits light at intervals of t1 until the reflected light reaches a predetermined level or higher, and once the reflected light of a predetermined level or higher is received, the light emits at intervals of t3 and 12 alternately. As a result, if the reflected light level is equal to or higher than a predetermined value four times in a row, it is determined that the photographer is definitely looking through the finder and the APZ operation shifts. During the APZ operation and shooting operation, the light emitting element 7) emits light alternately at intervals of tl and t2, and if reflected light exceeding a predetermined value is not received twice in a row, the photographer takes his eyes off the viewfinder. APZ
Stop operation.

尚、第11図では2回続けて所定値以上の反射光を受光
しなかった場合APZ動作を停止しているが、APZ開
始時と同様4回判別を行いAPZ動作を停止するように
してもよい。
In addition, in Fig. 11, the APZ operation is stopped if the reflected light exceeding the predetermined value is not received twice in a row, but even if the APZ operation is stopped after making the determination four times as in the case of starting the APZ. good.

片所久刀浬 以上説明しtコように、本発明によれば電源装着時にE
2PROMが正常に動作する状態であるか否かをチエツ
クする際に、同一データの書き込み及び読み呂しを行う
ので、読み出しデータのみでチエツクするのに比べE2
PROMに正しくデータが書き込まれているか否かのチ
エツクも行え、E2PROMからの誤っtこデータによ
るカメラの誤動作を防ぐことができる。
As explained above, according to the present invention, when the power supply is installed,
When checking whether the 2PROM is in a normal operating state, the same data is written and read, so the E2
It is also possible to check whether data has been correctly written to the PROM, thereby preventing camera malfunctions due to erroneous data from the E2PROM.

1表丁急日1 omote express day

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

第1図は本発明に係るカメラを左前方から俯轍した外観
斜視図、第2図は本発明に係るカメラを左後方から俯轍
しt(外観斜視図、第3図は本発明の実施例の要部を示
すブロック図、第4図は本発明の実施例におけるCPL
Iのリセット動作を示す明の実施例におけるAPZの動
作を示すフローチャート、第7図は接眼検知の動作を示
すフローチャート、第8図は本発明に係る閃光撮影装置
の充電動作を示すフローチャート、第9図はレリーズ動
作を示すフローチャート、第10図は本発明の実施例に
おけるAPZ動作の別実施例を示すフローチャート、第
11図は接眼検知動作の別実施例を示すフローチャート
、第12図は接眼検知動作のタイムチャートである。 (1)−−−グリップ部 <2)−−−グリップスイッチボタン (3)−m−レリーズボタン (4)−m−メインスイ
ッチ(lO) (SM)− (SG)− (Sl)− (S2)− (SF)− フラッシュ   (6)−−−ファインダ発光素子  
  (8)−−一受光素子CPU    ’  (11
)−一一測距部焦点距離可変部 焦点距離検出部 測光部     (16)−m−露出制御部接眼検知部
  (1B)−一一計時部 2PROM メインスイッチ 一グリップスイッチ ロックスイッチ 露出制御用スイッチ フラッシュ発光用スイッチ !s7  図 第2図
Fig. 1 is an external perspective view of the camera according to the present invention viewed from the front left; Fig. 2 is an external perspective view of the camera according to the present invention viewed from the left rear; A block diagram showing the main parts of the example, FIG. 4 is a CPL in an embodiment of the present invention.
7 is a flowchart showing the operation of eye proximity detection, FIG. 8 is a flowchart showing the charging operation of the flash photography device according to the present invention, and FIG. 10 is a flowchart showing another embodiment of the APZ operation in the embodiment of the present invention. FIG. 11 is a flowchart showing another embodiment of the eye proximity detection operation. FIG. 12 is a flowchart showing another embodiment of the eye proximity detection operation. This is a time chart. (1)---Grip part<2)---Grip switch button (3)-m-Release button (4)-m-Main switch (lO) (SM)- (SG)- (Sl)- (S2 )- (SF)- Flash (6)---Finder light emitting element
(8) ---One light receiving element CPU' (11
) - 11 Distance measurement section Focal length variable section Focal length detection section Photometry section (16) - m - Exposure control section Eyepiece detection section (1B) - 11 Time measurement section 2PROM Main switch - Grip switch Lock switch Exposure control switch Flash Light emitting switch! s7 Figure 2

Claims (1)

【特許請求の範囲】 カメラ全体を制御する制御回路と、所定のデータを記憶
したE^2PROMとを備えたカメラであって、 上記制御回路は電源装着時、前記E^2PROMに前記
データを書込む書込み手段と、 前記E^2PROMに書き込まれた前記データを読み出
す読み出し手段と、 前記読み出されたデータが前記書き込まれたデータと一
致するか否かを判別する判別手段とを有うすることを特
徴とするE^2PROM内蔵カメラ。
[Scope of Claims] A camera comprising a control circuit that controls the entire camera and an E^2PROM that stores predetermined data, wherein the control circuit writes the data to the E^2PROM when a power supply is installed. a reading means for reading the data written in the E^2PROM; and a determining means for determining whether the read data matches the written data. A camera with a built-in E^2PROM.
JP2169304A 1990-06-26 1990-06-26 E2prom built-in camera Pending JPH0456932A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2169304A JPH0456932A (en) 1990-06-26 1990-06-26 E2prom built-in camera
US07/721,246 US5200774A (en) 1990-06-26 1991-06-26 Camera with auto program zoom control and eye sensing control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2169304A JPH0456932A (en) 1990-06-26 1990-06-26 E2prom built-in camera

Publications (1)

Publication Number Publication Date
JPH0456932A true JPH0456932A (en) 1992-02-24

Family

ID=15884049

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2169304A Pending JPH0456932A (en) 1990-06-26 1990-06-26 E2prom built-in camera

Country Status (1)

Country Link
JP (1) JPH0456932A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100247285B1 (en) * 1997-11-03 2000-04-01 유무성 Apparatus for removing false operation using power swith in camera method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100247285B1 (en) * 1997-11-03 2000-04-01 유무성 Apparatus for removing false operation using power swith in camera method

Similar Documents

Publication Publication Date Title
JPS63138886A (en) Still camera system
US5200774A (en) Camera with auto program zoom control and eye sensing control
US5038165A (en) Camera with built-in self-timer
US6345152B1 (en) Camera with blur reducing function
JP2001005060A (en) Camera for both silver halide photography and electronic imaging
EP0440212B1 (en) Image-shake preventing device
JP3055215B2 (en) Camera system and flash capable of wireless flash photography
JPH0456932A (en) E2prom built-in camera
JP2903657B2 (en) Camera with detection function
JPH0593945A (en) camera
JPH0456929A (en) Camera with automatic programmed zooming function
JP4315511B2 (en) Camera release control device
JPH0456928A (en) Camera with automatic programmed zooming function
JP3008524B2 (en) camera
JP3007656B2 (en) Auto focus shooting device
JPH11174543A (en) Camera system
JP3212724B2 (en) Camera with print size setting
JP2911953B2 (en) Auto exposure camera
JPH0651387A (en) camera
JPH0980498A (en) Camera film feeder
JP2749286B2 (en) Auto focus camera
JP2001083597A (en) Camera used both for silver salt photographing and electronic image pickup
JP2001066657A (en) Camera with shake reducing function
JPH04344623A (en) Camera with flash control function
JP2000214521A (en) Camera