JP2888345B2 - camera - Google Patents
cameraInfo
- Publication number
- JP2888345B2 JP2888345B2 JP63198259A JP19825988A JP2888345B2 JP 2888345 B2 JP2888345 B2 JP 2888345B2 JP 63198259 A JP63198259 A JP 63198259A JP 19825988 A JP19825988 A JP 19825988A JP 2888345 B2 JP2888345 B2 JP 2888345B2
- Authority
- JP
- Japan
- Prior art keywords
- switch
- mode
- camera
- bit
- mram
- 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
Links
- 238000000034 method Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 8
- 238000004804 winding Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 238000005375 photometry Methods 0.000 description 5
- 244000145845 chattering Species 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Details Of Cameras Including Film Mechanisms (AREA)
- Automatic Focus Adjustment (AREA)
- Exposure Control For Cameras (AREA)
- Focusing (AREA)
Description
【発明の詳細な説明】 (産業上の利用分野) この発明は、カメラの手動操作部材に対応する動作モ
ードの定義を変更可能なカメラに関する。Description: TECHNICAL FIELD The present invention relates to a camera capable of changing the definition of an operation mode corresponding to a manual operation member of the camera.
(従来の技術) 特開昭57−112724号公報において、常用モード設定可
能なカメラが提案されている。これは、撮影条件設定と
して露出制御モードとしてのシャッタ速度優先、絞り優
先、手動等のモード設定の指定、フィルム感度、シャッ
タ速度、絞り値等の各種条件の組合せ等からなる常用モ
ードを指定できるようにし、通常は任意の撮影条件を設
定して撮影を行うことができるとともに、切換手段によ
り任意に設定された撮影条件から常用モードに切り換え
て撮影を行うことができるようにしたものである。(Prior Art) Japanese Patent Application Laid-Open No. 57-112724 proposes a camera capable of setting a normal mode. This is because, as the shooting condition setting, it is possible to specify a mode such as shutter speed priority, aperture priority, manual mode or the like as an exposure control mode, and a general mode including a combination of various conditions such as film sensitivity, shutter speed, and aperture value. Normally, photographing can be performed by setting arbitrary photographing conditions, and photographing can be performed by switching from the photographing conditions arbitrarily set by the switching means to the normal mode.
(発明が解決しようとする課題) しかし、この従来技術では、常用モードでは、複数の
撮影条件のうち使用するモード、フィルム感度値、シャ
ッタ速度値、絞り値の組合せを決め、切換手段によって
一括して常用モードに切り換えているだけであって、個
々の手動操作部材の動作モードの定義付けまで行うこと
はできなかった。したがって、個々の手動操作部材毎に
その機能を変更することはできず、ユーザの嗜好にかな
った操作機能にすることが困難であった。(Problems to be Solved by the Invention) However, in this conventional technique, in the normal mode, a combination of a mode, a film sensitivity value, a shutter speed value, and an aperture value among a plurality of photographing conditions is determined, and the switching means collectively determines the combination. Thus, the operation mode is simply switched to the normal mode, and it is not possible to define the operation mode of each manual operation member. Therefore, the function cannot be changed for each manual operation member, and it is difficult to make the operation function suitable for the user's preference.
この発明は上記不具合に鑑みてなされたものであっ
て、操作部材の機能をユーザが自由に定義することによ
り、操作部材の動作モードをユーザにとって必要なモー
ドのみにすることができ、操作が簡単かつ短時間で行う
ことができるとともに、ユーザの嗜好にかなった操作機
能にすることが容易なカメラを提供することを目的とす
る。SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problem, and allows the user to freely define the functions of the operation members, so that the operation modes of the operation members can be limited to only those necessary for the user, thereby simplifying the operation. It is another object of the present invention to provide a camera which can be performed in a short time and which can be easily operated to meet user's preference.
(課題を解決するための手段) 本発明によるカメラは、操作者による操作に応じて所
定の動作を指示する手動操作部材と、上記手動操作部材
に対して少なくとも1つの動作内容を定義する定義手段
と、上記定義手段によって定義された動作内容を記憶す
る記憶手段と、 を具備し、上記手動操作部材の操作時に、上記記憶手段
に記憶された上記動作内容に従ってカメラを制御するも
のである。(Means for Solving the Problems) A camera according to the present invention comprises a manual operation member for instructing a predetermined operation in accordance with an operation by an operator, and a definition means for defining at least one operation content for the manual operation member. And storage means for storing the operation content defined by the definition means, wherein the camera is controlled in accordance with the operation content stored in the storage means when the manual operation member is operated.
また、本発明によるカメラは、上記手動操作部材は、
複数設けられており、この複数の手動操作部材のいずれ
にも任意の動作内容が定義されることも特徴とする。Further, in the camera according to the present invention, the manual operation member includes:
A plurality of manual operation members are provided, and an arbitrary operation content is defined for each of the plurality of manual operation members.
(作用) 本発明によれば、カメラの手動操作部材の動作内容を
ユーザが自由に定義することができるので、手動操作部
材の機能をユーザにとって必要な機能のみにすることが
でき、操作が簡単かつ短時間で行うことができるととも
に、ユーザの嗜好にかなった操作機能にすることが容易
なカメラが提供される。(Operation) According to the present invention, the user can freely define the operation content of the manual operation member of the camera, so that the function of the manual operation member can be limited to the function necessary for the user, and the operation is simple. In addition, a camera is provided which can be performed in a short time and which can be easily operated to meet user's preference.
(実施例) 以下図面を参照してこの発明によるカメラの一実施例
を説明する。第1図は一実施例の概略を示す図である。
複数の操作スイッチ1が設けられる。スイッチ定義手段
3を用いて各操作スイッチ1毎の機能を定義し、この定
義内容を定義記憶手段4に記憶しておく。この定義内容
は各スイッチに対する切換設定可能なモードの割当てで
ある。そして、操作スイッチ1が操作されたことをスイ
ッチ入力確認手段2で検知した時に、カメラモード設定
手段5は定義記憶手段4に記憶されている内容に従って
モードを順次切換え、カメラのモードを設定する。(Embodiment) An embodiment of a camera according to the present invention will be described below with reference to the drawings. FIG. 1 is a diagram schematically showing one embodiment.
A plurality of operation switches 1 are provided. The function of each operation switch 1 is defined using the switch definition means 3, and the definition contents are stored in the definition storage means 4. This definition content is an assignment of a switchable mode to each switch. When the switch input confirmation means 2 detects that the operation switch 1 has been operated, the camera mode setting means 5 sequentially switches the modes according to the contents stored in the definition storage means 4, and sets the mode of the camera.
第2図は一実施例の具体的な構成を示すブロック図で
ある。マイクロコンピュータからなるCPU11はカメラ全
体の動作を制御し、リセット回路13からのリセットによ
り動作開始される。リセット回路13は電池挿入時、及び
パワースイッチのオン/オフ切換え時にリセットパルス
を発生する。FIG. 2 is a block diagram showing a specific configuration of one embodiment. The CPU 11 composed of a microcomputer controls the operation of the entire camera, and the operation is started by a reset from the reset circuit 13. The reset circuit 13 generates a reset pulse when a battery is inserted and when a power switch is turned on / off.
E2−PROM15は駒数、カメラ状態データ(巻上げ中、巻
戻し中等)、異常データ(故障箇所)、調整データ(シ
ャッタ制御補正データ、オートフォーカス補正データ、
バッテリチェックデータ等の各カメラ毎のデータ)を記
憶している不揮発性メモリである。このため、交換のた
めに電池が一旦抜かれても、これらのデータは有効であ
る。また、E2−PROM15へのデータ書込み中はリセット回
路13からのリセットパルスの発生は禁止されている。E 2 -PROM15 is the number of frames, the camera status data (in winding, rewinding secondary), abnormal data (fault point), adjustment data (shutter control correction data, auto focus correction data,
This is a non-volatile memory that stores data for each camera such as battery check data. Therefore, even if the battery is removed once for replacement, these data are valid. Further, the generation of the reset pulse from the reset circuit 13 is prohibited during the data writing to the E 2 -PROM 15.
E2−PROM15を読出しモードにすると、まずDXコードが
DX端子16から入力され、シリアルラインを介してCPU11
に入力される。つづいて、E2−PROM15のデータがCPU11
に転送される。When the E 2 -PROM15 the read mode, first DX code
Input from DX terminal 16 and CPU 11 via serial line
Is input to Subsequently, the data of the E 2 -PROM15 is CPU11
Is forwarded to
AF回路(AFIC)17は、例えば位相差方式のセンサであ
り、被写体までの距離データをCPU11に供給する。ま
た、CPU11は測光値が一定値以下の暗い場合には、測距
のための補助光を発生するためにAF回路17の動作に合せ
て補助光ランプ18を点灯する。The AF circuit (AFIC) 17 is, for example, a phase difference sensor, and supplies distance data to the subject to the CPU 11. When the photometric value is darker than a certain value, the CPU 11 turns on the auxiliary light lamp 18 in accordance with the operation of the AF circuit 17 to generate auxiliary light for distance measurement.
E2−PROM15、EXT端子19、AF回路17はCPU11の入出力ポー
トを有効利用するために、同一のシリアルラインに接続
され、CPU11とデータのやりとりをシリアル通信で行な
う。The E 2 -PROM 15, the EXT terminal 19, and the AF circuit 17 are connected to the same serial line in order to effectively use the input / output port of the CPU 11, and exchange data with the CPU 11 by serial communication.
操作スイッチ群(SW)20はカメラの種々の操作スイッ
チからなり、レリーズスイッチ、モード切換えスイッチ
等からなる。LED群21はファインダ内のLEDであり、スト
ロボ発光予告、合焦表示等のLEDからなる。LCD22はカメ
ラの上面の外部表示パネルであり、駒数、カメラモード
等を表示する。The operation switch group (SW) 20 includes various operation switches of the camera, and includes a release switch, a mode switch, and the like. The LED group 21 is an LED in the viewfinder, and includes LEDs for strobe light emission notice, focus indication, and the like. The LCD 22 is an external display panel on the upper surface of the camera, and displays the number of frames, a camera mode, and the like.
インターフェース(IFIC)23はモータドライバIC28や
測光ユニット24との信号の送受、LCD22への電源の供
給、ストロボ35に対するチャージ、及びバッテリチェッ
ク等を行なう。なお、第2図では電源は図示を省略して
いる。また、インターフェース23はCPU11からの命令に
よりシャッタモータ(Ms)25、巻上げモータ(Mw)26、
ズームモータ(Mz)27を選択するデコード機能等も持っ
たインタフェースである。なお、デコード機能は測光ユ
ニット24での平均測光とスポット測光との切換えも含
む。これらのモータ25,26,27はインターフェース23のデ
コード信号によりモータドライバ28を介して駆動され
る。An interface (IFIC) 23 performs transmission and reception of signals with the motor driver IC 28 and the photometry unit 24, supplies power to the LCD 22, charges the strobe 35, checks the battery, and the like. In FIG. 2, the power supply is not shown. Further, the interface 23 is operated by a command from the CPU 11, and a shutter motor (Ms) 25, a winding motor (Mw) 26,
This interface has a decode function for selecting the zoom motor (Mz) 27, and the like. Note that the decoding function also includes switching between average photometry and spot photometry in the photometry unit 24. These motors 25, 26, 27 are driven via a motor driver 28 by a decode signal of the interface 23.
シャッタモータ25は正転時にオートフォーカスのため
のレンズ駆動をし、逆転時にシャッタ駆動する。ここで
は、シャッタはレンズシャッタが採用されているとす
る。オートフォーカシングの際、CPU11はAF回路17で求
めた距離データとE2−PROM15の調整データとの演算によ
り求めた目標位置までモータ25を正転し、フォーカシン
グレンズを駆動する。ここで、フォーカシングレンズの
リセット位置はスイッチ29のオン状態で確認され、レン
ズ位置は、フォーカシングレンズの単位移動量当り1パ
ルス発生されるフォトインタラプタ30のパルス数で確認
される。The shutter motor 25 drives a lens for automatic focusing during normal rotation, and performs shutter driving during reverse rotation. Here, it is assumed that a lens shutter is employed as the shutter. During auto-focusing, CPU 11 will forward the motor 25 to a target position determined by the calculation of the adjustment data of the distance data and the E 2 -PROM15 determined by the AF circuit 17, drives the focusing lens. Here, the reset position of the focusing lens is confirmed by the ON state of the switch 29, and the lens position is confirmed by the number of pulses of the photo-interrupter 30 generated per unit movement amount of the focusing lens.
すなわち、CPU11はフォトインタラプタ30の出力を参
照してモータ25の正転、ブレーキ、オフの制御を行な
い、目標位置にフォーカシングレンズを停止させる。That is, the CPU 11 refers to the output of the photo-interrupter 30 to control the forward rotation, brake, and off of the motor 25, and stops the focusing lens at the target position.
シャッタ制御時のモータ25のリセット位置はスイッチ
31のオン状態で確認され、E2PROM15の調整データにより
デューティ駆動の比率を変化させることにより一定開口
波形が保たれるように制御される。Switch for resetting motor 25 during shutter control
It is confirmed in the ON state of 31 and is controlled so that a constant aperture waveform is maintained by changing the duty driving ratio according to the adjustment data of the E 2 PROM 15.
巻上げモータ26は正転時にフィルム巻上げを、逆転時
にフィルム巻戻しを行なう。フィルムの一駒巻上げ制御
はフォトインタラプタ32のパルス数をカウントすること
により行われる。The winding motor 26 performs film winding during forward rotation, and rewinds film during reverse rotation. The winding control of one frame of the film is performed by counting the number of pulses of the photo interrupter 32.
フォトインタラプタ30,32はそれぞれシャッタモータ2
5、巻上げモータ26が選択された時のみオンとなり、フ
ォトインタラプタ30,32の出力はIFIC23を介してディジ
タル的にノイズを除去してCPU11に入力される。これ
は、フォトインタラプタ30,32の出力を直接CPU11に入力
すると、ノイズによりカウント値に誤差が生じることが
あるからである。Photo interrupters 30 and 32 are shutter motor 2
5. It is turned on only when the hoist motor 26 is selected, and the outputs of the photo interrupters 30 and 32 are input to the CPU 11 after digitally removing noise through the IFIC 23. This is because if the outputs of the photo interrupters 30 and 32 are directly input to the CPU 11, an error may occur in the count value due to noise.
ズームモータ(Mz)27はレンズをズーミングし、ズー
ム位置はズームエンコーダ33により知ることができる。The zoom motor (Mz) 27 zooms the lens, and the zoom position can be known by the zoom encoder 33.
デートモジュール34は日付、時刻等のデータをフィル
ムに写し込むものである。ストロボ35もCPU11に接続さ
れる。The date module 34 prints data such as date and time on a film. The strobe 35 is also connected to the CPU 11.
第3図は操作スイッチ群20の詳細図である。 FIG. 3 is a detailed view of the operation switch group 20.
スイッチ81はレリーズスイッチで、第1レリーズスイ
ッチ811、第2レリーズスイッチ812からなる2段スイッ
チであり、第2レリーズスイッチ812は第1レリーズス
イッチ811がオンした後にオンする構造である。The switch 81 is a release switch, which is a two-stage switch including a first release switch 811 and a second release switch 812. The second release switch 812 is turned on after the first release switch 811 is turned on.
スイッチ82,83,84はそれぞれ第1、第2、第3モード
切換スイッチである。第1、第2、第3モード切換スイ
ッチ82,83,84が後述するモード切換におけるどのモード
を切換えるかを定義する対象となるスイッチである。ス
イッチ85はモード切換スイッチ82〜84を定義するときに
必要なスイッチである。Switches 82, 83 and 84 are first, second and third mode changeover switches, respectively. The first, second, and third mode changeover switches 82, 83, and 84 are switches for defining which mode in the mode changeover to be described later. The switch 85 is necessary when defining the mode changeover switches 82 to 84.
これらのスイッチはすべてCPU11内部でプルアップさ
れていて、オフのとき“H"レベル、オンのとき“L"レベ
ルとなり、立下がりによりオン状態を検出できる。All of these switches are pulled up inside the CPU 11, and when the switch is off, it is at "H" level, when it is on, it is at "L" level.
第4図にカメラの全モードを示す。各モードはCPU11
内のRAM番地MRAMの各ビットに割り当てられていて、MRA
Mの各ビットが“1"のときに、図示されているモードと
なる。全ビットが“0"の場合は、標準モードである。FIG. 4 shows all modes of the camera. Each mode is CPU11
Is assigned to each bit of the RAM address MRAM in
When each bit of M is "1", the mode shown in FIG. If all bits are "0", the mode is the standard mode.
第5図にスイッチ定義の一例を示す。 FIG. 5 shows an example of the switch definition.
CPU11のRAM番地MODE1,MODE2,MODE3がそれぞれ切換え
スイッチ82,83,84を押した時に切換えることができるモ
ードを定義している。A mode in which the RAM addresses MODE1, MODE2, and MODE3 of the CPU 11 can be switched when the changeover switches 82, 83, and 84 are pressed, respectively, is defined.
第5図(a)に示すように、MODE1の内容はビット0,1
のみが“1"なので、スイッチ82を押すたびにMRAM上のビ
ット0,1を順次セット(←“1")する。すなわち、スイ
ッチ82は標準、ストロボオフ、ストロボオンモードを順
次切換える。As shown in FIG. 5 (a), the contents of MODE1 are bits 0,1
Since only "1" is set, each time the switch 82 is pressed, bits 0 and 1 on the MRAM are sequentially set (← "1"). That is, the switch 82 sequentially switches the standard, strobe off, and strobe on modes.
同様に、第5図(b)に示すように、スイッチ83を押
した場合にはビット2,3,4が切換わるため、標準、オー
トズーム1、オートズーム2、無限遠撮影モードを順次
切換える。Similarly, as shown in FIG. 5B, when the switch 83 is pressed, the bits 2, 3, and 4 are switched, so that the standard, auto zoom 1, auto zoom 2, and infinity shooting modes are sequentially switched. .
スイッチ84の場合も、第5図(c)に示すように、標
準、連写、2重露光、セルフタイマモードを順次切換え
る。In the case of the switch 84, as shown in FIG. 5C, the standard, continuous shooting, double exposure, and self-timer modes are sequentially switched.
次に、第6図乃至第11図のフローチャートを参照し
て、この発明によるモード切換手順を詳しく説明する。Next, the mode switching procedure according to the present invention will be described in detail with reference to the flowcharts of FIGS.
第6図は操作スイッチ群20のいずれかのスイッチが押
された時に実行されるサブルーチン「スイッチ入力」の
フローチャートである。FIG. 6 is a flowchart of a subroutine "switch input" executed when any switch of the operation switch group 20 is pressed.
ステップ12でサブルーチン「E2−PROM読出し」(第11
図)を実行する。Subroutine "E 2 -PROM read" in step 12 (11
(Figure).
ステップ14でスイッチ811〜85の状態(レベル)をCPU
11内に取り込む。ステップ16で4ms待機した後、ステッ
プ18でスイッチ811〜85の状態を再度読取る。In step 14, the state (level) of switches 811 to 85 is set to CPU
Capture within 11. After waiting for 4 ms in step 16, the state of the switches 811 to 85 is read again in step 18.
ステップ20でこれらの2度の読取り結果を比較し、両
者が一致すれば次のステップ22に進み、一致しない場合
はスイッチのチャタリング中と判断し、ステップ16に戻
り4ms待機した後に、ステップ18で再度スイッチの状態
を読取る。この4msはチャタリングを取除くための時間
であって、4msでなくてもチャタリングを取るのに充分
な時間であれば値は問わない。In step 20, these two read results are compared. If they match, the process proceeds to the next step 22, otherwise, it is determined that the switch is chattering, and the process returns to step 16 and waits for 4 ms. Read the switch status again. This 4 ms is a time for removing chattering, and the value is not limited to 4 ms as long as it is a time sufficient for removing chattering.
ステップ22でいずれかのスイッチ出力が立下がったか
否か、すなわちいずれかのスイッチがオンされたか否か
を判定する。立下がりが全くない場合は、スイッチ入力
はなかったとしてメインルーチンへ戻る。In step 22, it is determined whether or not any switch output has fallen, that is, whether or not any switch has been turned on. If there is no falling edge, there is no switch input and the process returns to the main routine.
立下りがあった場合は、ステップ24,28,34,38,42でど
のスイッチが押されたかを検出して、検出結果に応じて
以下の各処理を行なってからメインルーチンへ戻る。If there is a fall, it is detected which switch has been pressed in steps 24, 28, 34, 38, and 42, and the following processing is performed according to the detection result, and then the process returns to the main routine.
第1レリーズスイッチ811が押された場合は、ステッ
プ26でサブルーチン「レリーズ処理」(第8図(a),
(b))を実行する。切換えスイッチ82,83,84のいずれ
かが押された場合は、ステップ30,36,40でCPU内の変数M
ODEにそれぞれ1,2,3を設定してから、ステップ32でサブ
ルーチン「モード切換」(第7図(a),(b))を実
行する。定義用スイッチ85が押された場合は、ステップ
44でサブルーチン「スイッチ定義」(第9図)を行な
う。If the first release switch 811 has been pressed, the subroutine "release processing" is executed in step 26 (see FIG. 8 (a),
(B)) is executed. If any of the changeover switches 82, 83, 84 is pressed, the variables M in the CPU are set in steps 30, 36, and 40.
After setting 1, 2, and 3 in the ODE, a subroutine "mode switching" (FIGS. 7A and 7B) is executed in step 32. If the definition switch 85 is pressed, step
At 44, a subroutine "switch definition" (FIG. 9) is performed.
第7図(a),(b)はサブルーチン「モード切換」
のフローチャートである。FIGS. 7A and 7B show a subroutine "mode switching".
It is a flowchart of FIG.
ステップ50,54,58で変数MODEに設定されている値を判
定し、それに応じてステップ52,56,60でCPU11のRAM番地
MODE1,MODE2,MODE3のいずれかの内容をCPU内の変数DEF
に設定する。変数MODEの値が1,2,3のいずれにも該当し
ない場合は、ノイズとしてメインルーチンに戻る。In steps 50, 54, and 58, the value set in the variable MODE is determined, and accordingly, in steps 52, 56, and 60, the RAM address of the CPU 11 is determined.
The contents of MODE1, MODE2, or MODE3 are assigned to the variable DEF in the CPU.
Set to. If the value of the variable MODE does not correspond to any of 1, 2, and 3, the process returns to the main routine as noise.
以下の処理では、変数DEFの各ビットの“0",“1"をLS
B側から判定し、最初の“1"のビットと対応したMRAMの
ビットをDEFのMSB側の次の“1"のビットにシフトし、MR
AMに1つも“1"がなかった場合はDEFの最初の“1"のビ
ットに対応したMRAMのビットに“1"を設定する。すなわ
ち、MODE1などで定義されている“1"のビットの範囲の
みMRAMの内容を順次変化させてモード設定(定義)を行
なう。In the following processing, “0” and “1” of each bit of the variable DEF are LS
Judge from B side, shift the bit of MRAM corresponding to the first “1” bit to the next “1” bit on the MSB side of DEF, MR
If there is no "1" in AM, "1" is set to the bit of MRAM corresponding to the first "1" bit of DEF. In other words, the mode setting (definition) is performed by sequentially changing the contents of the MRAM only in the bit range of "1" defined in MODE1 or the like.
ステップ62で変数Cyfを、ステップ64で変数B,Ffをリ
セット(←“0")する。変数CyfはMRAMの“1"をシフト
するためのフラグ、変数Bはビットを指定する変数、変
数FfはMRAMに“1"を定義したか否かを示すフラグであり
定義したら“1"になる。In step 62, the variable Cyf is reset, and in step 64, the variables B and Ff are reset (← “0”). The variable Cyf is a flag for shifting “1” of the MRAM, the variable B is a variable for specifying a bit, and the variable Ff is a flag indicating whether or not “1” is defined in the MRAM, and becomes “1” when defined. .
ステップ66でCyfが“0"か“1"かを判定する。Cyfが
“1"の場合は、ステップ68でDEFのBビットが“0"か
“1"かを判定する。DEFのBビットが“1"の場合は、ス
テップ70でFfが“0"か“1"かを判定する。Ffが“0"の場
合は、ステップ72でMRAMのBビットに“1"を設定し、ス
テップ74でFfに“1"を設定する。これは、誤って“1"を
2重設定するのを防止するためである。In step 66, it is determined whether Cyf is “0” or “1”. If Cyf is “1”, it is determined in step 68 whether the B bit of DEF is “0” or “1”. If the B bit of DEF is “1”, it is determined in step 70 whether Ff is “0” or “1”. If Ff is "0", "1" is set to the B bit of the MRAM in step 72, and "1" is set to Ff in step 74. This is to prevent double setting of “1” by mistake.
ステップ70でFfが“1"の場合は、ステップ78でMRAMの
Bビットに“0"を設定する。If Ff is "1" at step 70, "0" is set to the B bit of the MRAM at step 78.
ステップ74、あるいはステップ78の次に、ステップ76
でCfyをリセットする。After step 74 or step 78, step 76
To reset Cfy.
ステップ66でCyfが“0"の場合は、ステップ82でDEFの
Bビットが“0"か“1"かを判定する。DEFのBビットが
“1"の場合は、ステップ84でMRAMのBビットが“0"か
“1"かを判定する。MRAMのBビットが“0"の場合は、ス
テップ86でCyfをリをセットする。If Cyf is "0" at step 66, it is determined at step 82 whether the B bit of DEF is "0" or "1". If the B bit of DEF is “1”, it is determined in step 84 whether the B bit of MRAM is “0” or “1”. If the B bit of the MRAM is "0", Cyf is reset in step 86.
ステップ84でMRAMのBビットが“1"の場合は、ステッ
プ88でMRAMのBビットに“0"を設定し、ステップ90でCy
fに“1"を設定する。If the B bit of the MRAM is "1" in step 84, "0" is set in the B bit of the MRAM in step 88, and Cy is set in step 90.
Set f to “1”.
ステップ76、あるいはステップ90の次に、ステップ80
でBを1だけ増加し、ステップ92でBが8以上か否かを
判定する。8以上でない場合はステップ66に戻り、8以
上の場合はステップ94でFfが“0"か“1"かを判定する。
Ffが“1"の場合はそのままメインルーチンに戻り、Ffが
“0"の場合はステップ96でCyfが“0"か“1"かを判定す
る。Cyfが“1"ならばそのままメインルーチンに戻り、C
yfが“0"の場合はステップ98でCyfに“1"を設定し、ス
テップ64に戻る。After step 76 or step 90, step 80
In step 92, B is increased by 1, and in step 92, it is determined whether B is 8 or more. If not, the process returns to step 66. If it is not less than 8, it is determined in step 94 whether Ff is "0" or "1".
If Ff is “1”, the process returns to the main routine. If Ff is “0”, it is determined in step 96 whether Cyf is “0” or “1”. If Cyf is “1”, return to the main routine and return to C
If yf is “0”, Cyf is set to “1” in step 98, and the process returns to step 64.
ステップ96でCyfが“0"の場合とは、MRAMのDEFに対応
するビットが全て“0"であった場合であり、ステップ98
でCyfに“1"を設定しステップ64に戻ると、DEFの最もLS
B側の“1"のビットのMRAMに“1"がセットされる。The case where Cyf is “0” in step 96 is a case where all bits corresponding to DEF of the MRAM are “0”, and step 98
To set Cyf to “1” and return to step 64.
“1” is set to the MRAM of the “1” bit on the B side.
例えば、DEFにMODE2“00011100"が設定された場合、M
RAMの初期値が“xxx010xx"の時は、ステップ92において
B,Cyf,Ff,MRAMは表1のように変化する。For example, if MODE2 “00011100” is set in DEF, M
If the initial value of the RAM is “xxx010xx”, go to step 92
B, Cyf, Ff, and MRAM change as shown in Table 1.
MRAMの初期値が“xxx000xx"の時は、ステップ92にお
いてB,Cyf,Ff,MRAMは表2のように変化する。 When the initial value of the MRAM is “xxx000xx”, B, Cyf, Ff, and MRAM change in step 92 as shown in Table 2.
MRAMの初期値が“xxx100xx"の時は、ステップ92にお
いてB,Cyf,Ff,MRAMは表3のように変化する。 When the initial value of the MRAM is “xxx100xx”, B, Cyf, Ff, and MRAM change in step 92 as shown in Table 3.
第8図(a),(b)はサブルーチン「レリーズ処
理」のフローチャートであり、MRAMの内容がどういう使
い方をされているかを示す一例である。このサブルーチ
ンは第1レリーズスイッチ811が押されると開始され
る。 FIGS. 8A and 8B are flowcharts of a subroutine "release process", which is an example showing how the contents of the MRAM are used. This subroutine is started when the first release switch 811 is pressed.
ステップ100でサブルーチン「測光」を行ない露出条
件を決める。In step 100, a subroutine "photometry" is performed to determine exposure conditions.
ステップ102でMRAMの4ビットのデータに基づいて無
限遠撮影モードか否かを判定する。無限遠撮影モードの
場合は、ステップ104でAFデータを∞とし、無限遠撮影
モードでない場合は、ステップ106でサブルーチン「測
距」を実行し、AFデータを被写体までの距離とする。In step 102, it is determined whether or not the camera is in infinity shooting mode based on the 4-bit data of the MRAM. In the case of the infinity shooting mode, the AF data is set to Δ in step 104, and in the case of not the infinity shooting mode, a subroutine “ranging” is executed in step 106, and the AF data is set to the distance to the subject.
ステップ108,110でMRAMの2,3ビットのデータに基づい
てオートズーム1,オートズーム2モードか否かを判定す
る。オートズーム1モードの場合は、ステップ112で比
率を1(胸像)とし、オートズーム2モードの場合は、
ステップ114で比率を2(全身像)とする。ステップ11
6,118で上記比率が得られるようにズーミングする。At steps 108 and 110, it is determined whether the mode is the auto zoom 1 or the auto zoom 2 mode based on the data of 2 or 3 bits of the MRAM. In the case of the auto zoom 1 mode, the ratio is set to 1 (bust) in step 112, and in the case of the auto zoom 2 mode,
In step 114, the ratio is set to 2 (full body image). Step 11
Zoom at 6,118 to obtain the above ratio.
ステップ120,122でレリーズスイッチ81の状態を判定
する。第1レリーズスイッチ811がオフの場合は、撮影
中断と判定してメインルーチンに戻る。レリーズスイッ
チ811,812がともにオンしている場合は撮影を開始す
る。In steps 120 and 122, the state of the release switch 81 is determined. If the first release switch 811 is off, it is determined that shooting has been interrupted, and the process returns to the main routine. When both the release switches 811, 812 are on, the photographing is started.
ステップ124でMRAMの7ビットのデータに基づいてセ
ルフタイマモードか否かを判定する。セルフタイマモー
ドの場合はステップ126で12sec待機する。In step 124, it is determined whether or not the mode is the self-timer mode based on the 7-bit data of the MRAM. In the case of the self-timer mode, the process waits for 12 seconds in step 126.
ステップ128でAFデータに基づいてサブルーチン「レ
ンズ繰出し」を実行し、ステップ130でサブルーチン
「シャッタ」、すなわち露出を行なう。MRAMの中の0,1
ビットのストロボオフ、ストロボオンモードはこのサブ
ルーチン「シャッタ」内の処理で参照され、ストロボの
発光、非発光を決定する。In step 128, a subroutine "lens extension" is executed based on the AF data, and in step 130, a subroutine "shutter", that is, exposure is performed. 0,1 in MRAM
The strobe off and strobe on modes of the bit are referred to in the processing within this subroutine "shutter" to determine whether or not the strobe emits light.
ステップ132でMRAMの6ビットのデータに基づいて2
重露光モードか否かを判定する。2重露光モードでない
場合はステップ134でサブルーチン「巻上げ」を実行
し、ステップ140へ進む。2重露光モードの場合、1枚
目の撮影後はステップ134のサブルーチン「巻上げ」を
実行せずにステップ140へ進み、2枚目の撮影後はステ
ップ138で2重露光モードを解除してからステップ134の
サブルーチン「巻上げ」を実行する。In step 132, 2 based on the 6-bit data of MRAM
It is determined whether the mode is the double exposure mode. If the mode is not the double exposure mode, the subroutine "winding" is executed in step 134, and the routine proceeds to step 140. In the case of the double exposure mode, after the first image is captured, the process proceeds to step 140 without executing the subroutine "winding" of step 134, and after the second image is captured, the double exposure mode is canceled in step 138, and then The subroutine "winding" of step 134 is executed.
ステップ140ではMRAMの5ビットのデータに基づいて
連写モードか否かを判定する。連写モードの場合はステ
ップ120に戻りレリーズスイッチ81の状態を判定し、第
2レリーズスイッチ812がオフになるまで連写を続け
る。In step 140, it is determined whether the mode is the continuous shooting mode based on the 5-bit data of the MRAM. In the case of the continuous shooting mode, the flow returns to step 120 to determine the state of the release switch 81, and the continuous shooting is continued until the second release switch 812 is turned off.
連写モードでない場合はメインルーチンに戻る。 If the mode is not the continuous shooting mode, the process returns to the main routine.
以上説明したように、全てのモード判断はRAM番地MRA
Mの各ビットのデータを参照することにより実現され
る。As described above, all mode decisions are made at RAM address MRA
This is realized by referring to the data of each bit of M.
第9図はサブルーチン「スイッチ定義」のフローチャ
ートである。FIG. 9 is a flowchart of the subroutine "switch definition".
ステップ150で定義用の変数DEFをリセットし、ステッ
プ152で定義用のビット変数Bに−1を設定する。At step 150, the variable DEF for definition is reset, and at step 152, -1 is set to the bit variable B for definition.
次に、スイッチ入力の場合と同様に、ステップ154〜1
60でチャタリングを除いてスイッチ状態の入力を行な
う。なお、スイッチ85がオフの場合は定義の中断と判断
してメインルーチンに戻る。Next, as in the case of switch input, steps 154-1
At 60, switch state is input except for chattering. If the switch 85 is off, it is determined that the definition is interrupted, and the process returns to the main routine.
ステップ166で第1レリーズスイッチ811の状態を判定
し、オンするたびにステップ168,170でBを7になるま
で1づつ増加する。第2レリーズスイッチ812もオンす
ると、ステップ174で現在のBの値のDEFのビットに“1"
を定義する。これを繰返すことにより、DEFの全ビット
の定義を行なう。At step 166, the state of the first release switch 811 is determined, and each time the switch is turned on, B is increased by one until the value of B becomes 7 at steps 168 and 170. When the second release switch 812 is also turned on, the DEF bit of the current B value is set to “1” in step 174.
Is defined. By repeating this, all bits of DEF are defined.
全ビットの定義終了後に、ステップ178,184,188で切
換えスイッチ82,83,84のいづれかを押すと、今定義され
たDEFの値をステップ180,186,190で各スイッチ用の定義
RAM(MODE1,MODE2,MODE2)に設定した後、ステップ182
でサブルーチン「E2−PROM書込み」を実行し、スイッチ
の定義状態をE2−PROMに記憶する。この後、メインルー
チンに戻る。After all bits have been defined, press one of the changeover switches 82, 83, 84 in steps 178, 184, 188, and the values of the DEF just defined are defined in steps 180, 186, 190 for each switch.
Step 182 after setting to RAM (MODE1, MODE2, MODE2)
In running subroutine "E 2 -PROM write", and stores the definition state of the switch to the E 2 -PROM. Thereafter, the process returns to the main routine.
ここで、定義用のスイッチ85はスイッチではなく、治
具を取りつけた時にショートする様な構造のものでも全
くさしつかえないことは言うまでもない。Here, it is needless to say that the definition switch 85 is not a switch, and may have a structure in which a short circuit occurs when a jig is attached.
第10図はサブルーチン「E2−PROM書込み」、第11図は
サブルーチン「E2−PROM読出し」のフローチャートであ
る。サブルーチン「E2−PROM読出し」はパワースイッチ
のオン時に実行され、E2−PROMの内容をCPUのRAM内に移
すものである。Figure 10 is a subroutine "E 2 -PROM write", FIG. 11 is a flowchart of a subroutine "E 2 -PROM read". Subroutine "E 2 -PROM read" is performed during on of the power switch, but to transfer the contents of the E 2 -PROM in the CPU of RAM.
「E2−PROM書込み」において、ステップ200でRAM番地
MODE1、MODE2、MODE3の内容をシリアルでE2−PROMに転
送し、ステップ202でE2−PROMに書込み信号を供給し、
ステップ204で一定時間待機した後、ステップ206で書込
み信号の発生を停止する。In the "E 2 -PROM writing", RAM address in step 200
MODE1, MODE2, and transferred to E 2 -PROM contents MODE3 serial, supplies a write signal to the E 2 -PROM at step 202,
After waiting for a predetermined time in step 204, generation of the write signal is stopped in step 206.
「E2−PROM読出し」においては、ステップ210でE2−P
ROMの内容をシリアルで読出し、RAM番地MODE1、MODE2,M
ODE3にセットする。In "E 2 -PROM read" is, E 2 -P in step 210
Reads the contents of ROM serially, RAM addresses MODE1, MODE2, M
Set to ODE3.
この発明は種々変形可能であり、切換えスイッチ82,8
3,84は3つ全部設ける必要はなく、例えば切換えスイッ
チ82しかなくてもよい。第12図にそのようなカメラにお
けるスイッチ82の定義用のRAMを示す。この場合はスイ
ッチ82を押すたびに、標準、オートズーム1、セルフタ
イマモードのみが順次切換わる。The present invention can be variously modified, and the changeover switches 82, 8
It is not necessary to provide all three 3,84, and for example, only the changeover switch 82 may be provided. FIG. 12 shows a RAM for defining the switch 82 in such a camera. In this case, each time the switch 82 is pressed, only the standard, auto zoom 1, and self-timer modes are sequentially switched.
また、E2−PROMはCPU内蔵型でももちろん良く、又E2
−PROMにスイッチ定義の内容を書込む手段としてはEXT
端子19を使用してE2−PROMに直接書込む手段を採用して
も良いことはいうまでもない。Also, E 2 -PROM it is of course well CPU embedded, and E 2
EXT is a means to write the contents of the switch definition to PROM.
It goes without saying that means for directly writing to the E 2 -PROM using the terminal 19 may be employed.
(発明の効果) この発明によれば、モード切換えスイッチの定義を自
由に変えられるので数種類のカメラに同じCPUで対応で
き、コストの削減が可能である。また、ユーザがよく使
うモードのみを任意のスイッチに定義することができ、
ユーザ毎に最も操作性のよいカメラを提供できる。(Effects of the Invention) According to the present invention, the definition of the mode changeover switch can be freely changed, so that several types of cameras can be handled by the same CPU, and the cost can be reduced. Also, only the mode frequently used by the user can be defined in any switch,
A camera with the best operability can be provided for each user.
第1図はこの発明による一実施例の概略を示すブロック
図、第2図は一実施例の具体的な構成を示すブロック
図、第3図は操作スイッチ群の詳細図、第4図は全モー
ドを説明する図、第5図(a),(b),(c)はモー
ド定義用のRAMを説明する図、第6図乃至第11図は実施
例の動作を示すフローチャート、第12図は変形例を示す
図である。 1…操作スイッチ、2…スイッチ入力確認手段、3…ス
イッチ定義手段、4…定義記憶手段、5…カメラモード
設定手段。FIG. 1 is a block diagram showing an outline of an embodiment according to the present invention, FIG. 2 is a block diagram showing a specific configuration of the embodiment, FIG. 3 is a detailed view of an operation switch group, and FIG. FIGS. 5 (a), 5 (b) and 5 (c) are diagrams for explaining a mode defining RAM, FIGS. 6 to 11 are flowcharts showing the operation of the embodiment, and FIGS. Is a diagram showing a modification. DESCRIPTION OF SYMBOLS 1 ... Operation switch, 2 ... Switch input confirmation means, 3 ... Switch definition means, 4 ... Definition storage means, 5 ... Camera mode setting means.
Claims (2)
示する手動操作部材と、 上記手動操作部材に対して少なくとも1つの動作内容を
定義する定義手段と、 上記定義手段によって定義された動作内容を記憶する記
憶手段と、 を具備し、 上記手動操作部材の操作時に、上記記憶手段に記憶され
た上記動作内容に従ってカメラを制御することを特徴と
するカメラ。A manual operation member for instructing a predetermined operation in response to an operation by an operator; a definition means for defining at least one operation content for the manual operation member; and an operation defined by the definition means A camera, comprising: storage means for storing contents, wherein the camera is controlled in accordance with the operation content stored in the storage means when the manual operation member is operated.
り、この複数の手動操作部材のいずれにも任意の動作内
容が定義されることを特徴とする請求項1に記載のカメ
ラ。2. The camera according to claim 1, wherein a plurality of said manual operation members are provided, and an arbitrary operation content is defined for each of said plurality of manual operation members.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63198259A JP2888345B2 (en) | 1988-08-09 | 1988-08-09 | camera |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63198259A JP2888345B2 (en) | 1988-08-09 | 1988-08-09 | camera |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0247638A JPH0247638A (en) | 1990-02-16 |
| JP2888345B2 true JP2888345B2 (en) | 1999-05-10 |
Family
ID=16388154
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63198259A Expired - Lifetime JP2888345B2 (en) | 1988-08-09 | 1988-08-09 | camera |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2888345B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5678082A (en) * | 1994-12-09 | 1997-10-14 | Olympus Optical Co., Ltd. | Electrical system apparatus including one-chip microcomputer |
-
1988
- 1988-08-09 JP JP63198259A patent/JP2888345B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0247638A (en) | 1990-02-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4933702A (en) | Camera with night photography apparatus | |
| JPH02141715A (en) | Functional element selecting camera | |
| US5021817A (en) | Automatic focusing camera | |
| JP2888345B2 (en) | camera | |
| US5995761A (en) | Camera having vibration correcting device | |
| US6061523A (en) | Photographic camera and a control method thereof | |
| JP3146931B2 (en) | Auto focus camera | |
| JPH08286253A (en) | camera | |
| JPS63303329A (en) | Switching device for photographing mode of camera | |
| JPH1048733A (en) | Optical device | |
| JP2644252B2 (en) | Auto focus camera | |
| JP2016151714A (en) | Control method for optical device, lens apparatus, imaging apparatus and photography system | |
| JP4337160B2 (en) | camera | |
| JP2000101886A (en) | Camera system and photographing medium unit used for the same | |
| JP4606037B2 (en) | Focus detection element | |
| JP2847703B2 (en) | Focus detection device | |
| JPH07281241A (en) | Camera with shake correction function | |
| JP4827526B2 (en) | Optical equipment | |
| JP3294885B2 (en) | Camera with zoom | |
| JP2005173382A (en) | camera | |
| JPH01187519A (en) | Focus detector | |
| JPH05288977A (en) | Camera with electronic zoom lens with built-in electronic flash | |
| JP2006133476A (en) | Camera system | |
| JPH08292475A (en) | Camera | |
| JPH10186217A (en) | camera |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090219 Year of fee payment: 10 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090219 Year of fee payment: 10 |