JPH03248133A - Controller for camera - Google Patents

Controller for camera

Info

Publication number
JPH03248133A
JPH03248133A JP2045167A JP4516790A JPH03248133A JP H03248133 A JPH03248133 A JP H03248133A JP 2045167 A JP2045167 A JP 2045167A JP 4516790 A JP4516790 A JP 4516790A JP H03248133 A JPH03248133 A JP H03248133A
Authority
JP
Japan
Prior art keywords
data
cpu
camera
housed
storage means
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
JP2045167A
Other languages
Japanese (ja)
Inventor
Keiji Himuro
圭二 日室
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2045167A priority Critical patent/JPH03248133A/en
Publication of JPH03248133A publication Critical patent/JPH03248133A/en
Pending legal-status Critical Current

Links

Landscapes

  • Exposure Control For Cameras (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PURPOSE:To surely carry out adjustment by using a part of storage means as an erroneous data detecting part and using previously prepared adjusting data when erroneous data is detected. CONSTITUTION:A CPU 1 carries out sequence control such as motor control, flush control and each kind of display control, arithmetic operations, A/D conversion and time-counting. A parity bit as the erroneous data detecting part 4a is housed in a part of E<2>PROM 4 and default data as the adjusting data is housed in another address of the E<2> PROM 4 or the ROM as a storage element in the CPU 1. Furthermore, switching data as a program switching part 4b is housed in another address of the E<2>PROM 4, and plural programs corresponding to each kind of control mode is housed in the CPU 1. Namely, the previously prepared adjusting data is used when the erroneous data is detected by the erroneous data detecting part 4a of the storage means 4. Thus, the adjustment can be surely carried out and reliability can be improved.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、電源を切っても記憶を保持できる記憶手段を
備えたカメラの制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a camera control device equipped with a storage means that can retain memory even when the power is turned off.

(従来の技術) 近年、カメラの制御装置には、半固定抵抗に変わる調整
用素子として電源を切っても記憶を保持できる記憶手段
、例えばEEPROM(E”FROM)が用いられるよ
うになってきた。
(Prior art) In recent years, memory means that can retain memory even when the power is turned off, such as EEPROM (E"FROM), have come to be used as adjustment elements in place of semi-fixed resistors in camera control devices. .

特開昭58−152226号公報には、複数のアクセサ
リに異なる内容のデータが格納されたE2FROMを内
蔵させ、そのデータによりカメラ本体側のプログラムソ
フトのアクセス番地を変えるようにした構成を示されて
いる。
JP-A-58-152226 discloses a configuration in which a plurality of accessories are equipped with E2FROMs that store data of different contents, and the access address of the program software on the camera body side is changed according to the data. There is.

特開昭62−217499号公報には、カメラの自動焦
点制御用のE”FROMに誤り訂正符号の検査ビット(
パリティビット: Par4ty Bit)を含んだデ
ータを格納し、誤りを検出した時にはデータ訂正回路に
よってデータを訂正し、正確なデータにして出力する構
成が示されている。
Japanese Patent Application Laid-open No. 62-217499 discloses that an error correction code check bit (
A configuration is shown in which data including a parity bit (Par4ty Bit) is stored, and when an error is detected, the data is corrected by a data correction circuit and output as accurate data.

(発明が解決しようとする課題) 上記の従来技術のE”FROMに基づく制御において、
おおまかな調整値が目視できる半固定抵抗に比べて調整
値が目視できず、また調整値が含まれているか否かも一
見しただけでは判別できない。このためカメラが全く動
作しなくなるおそれがある。
(Problem to be solved by the invention) In the control based on the above-mentioned prior art E"FROM,
Compared to a semi-fixed resistor where the rough adjustment value can be seen visually, the adjustment value cannot be seen visually, and whether or not the adjustment value is included cannot be determined just by looking at it. Therefore, there is a possibility that the camera will not work at all.

さらにE”FROMは電気的記憶素子であるため、静電
気によるデータ破壊、あるいはシリアル通信ラインへの
ノイズ混入による書込み、読出しの誤りが発生する可能
性があるという問題があった。
Furthermore, since the E''FROM is an electrical storage element, there is a problem that data may be destroyed due to static electricity or errors may occur in writing or reading due to noise entering the serial communication line.

またカメラの各種制御に係るプログラムを格納している
CPU(中央演算部)は、国内用カメラ。
In addition, the CPU (central processing unit) that stores programs related to various controls of the camera is for domestic use.

海外用カメラ、あるいは自社ブランド用カメラ。Cameras for overseas use or cameras for our own brand.

OEM用カメラなどに対応してプログラム内容の変更が
なされ、それに伴って、カバー類、スイッチなどの構成
部品の取換え、及び増減が必要であり、作業工程数、製
造コストを増加させるという問題があった。
Program contents are changed to accommodate OEM cameras, etc., and as a result, it is necessary to replace and increase/decrease components such as covers and switches, which increases the number of work steps and manufacturing costs. there were.

本発明は、誤りデータが存在しても確実に調整がなされ
るカメラの制御装置を提供することを第1の目的とし、
また構成部品の汎用化が図れるようにしたカメラの制御
装置を提供することを第2の目的とする。
A first object of the present invention is to provide a camera control device that can reliably make adjustments even if erroneous data exists,
A second object of the present invention is to provide a camera control device in which component parts can be made more general.

(課題を解決するための手段) 上記の第1の目的を達成するため、請求項(1)記載の
中央演算部と、電源を切っても記憶を保持できる記憶手
段とを有するカメラの制御装置において、前記記憶手段
の一部をデータ誤り検出部として使用し、誤りデータ検
出時には予め用意された調整データを用いるように構成
したことを特徴とし、また第2の目的を達成するため、
請求項(2)記載の中央演算部と、電源を切っても記憶
を保持できる記憶手段とを有するカメラの制御装置にお
いて、前記記憶手段の一部をプログラム切換部として使
用し、予め用意された複数のプログラムから任意のプロ
グラムを選択できるように構成したことを特徴とする。
(Means for Solving the Problem) In order to achieve the above first object, a camera control device has a central processing unit according to claim (1) and a storage means that can retain memory even when the power is turned off. In order to achieve the second object, a part of the storage means is used as a data error detection section, and adjustment data prepared in advance is used when detecting error data.
In the camera control device according to claim (2), which has a central processing unit and a storage means that can retain the memory even when the power is turned off, a part of the storage means is used as a program switching section, The present invention is characterized in that it is configured so that any program can be selected from a plurality of programs.

(作 用) 請求項(1)記載の手段によれば、記憶手段の一部をデ
ータ誤り検出部として使用し、誤りデータ検出時には中
央演算部あるいは記憶手段の別番地に予め用意された調
整データを用いることにより。
(Function) According to the means described in claim (1), a part of the storage means is used as a data error detection section, and when error data is detected, adjustment data prepared in advance in the central processing section or at a different address of the storage means is used. By using.

調整が確実になされ5また請求項(2)記載の手段によ
れば、予め用意された複数のプログラムをプログラム切
換用データによって選択できるため。
The adjustment can be made reliably, and according to the means recited in claim (2), a plurality of programs prepared in advance can be selected using the program switching data.

中央演算部などの構成部品を交換することなく、多種の
カメラ毎に必要とされる制御モードへの対応が容易にで
きる。
It is possible to easily adapt to the control modes required for each type of camera without replacing components such as the central processing unit.

(実施例) 以下、本発明の実施例を図面に基づいて説明する。(Example) Embodiments of the present invention will be described below based on the drawings.

第1図は本発明の一実施例の構成図であり、1は制御用
のCPU(中央演算部)、2はCPUIのSPC端子に
接続されて充電スタート・ストップの制御がなされるフ
ラッシュユニット、3はコンデンサCと分圧抵抗rlt
r2により構成され、がつCPUIのA/D(アナログ
/デジタル)変換ポートであるROK端子とフラッシュ
ユニット2に接続された充電部、4はCPUIとシリア
ル通信により結ばれて電源が切れても記憶内容が保持さ
れる記録素子であるE”PROM、5はCPUIのCO
M@子、SEG端子に接続されてモード表示、フィルム
カウント表示などを行う表示用素子であるLCD(液晶
表示体)、6は抵抗r、〜r5からなるLCD5用の分
圧レベル作成回路である。
FIG. 1 is a configuration diagram of an embodiment of the present invention, in which 1 is a CPU (central processing unit) for control, 2 is a flash unit connected to the SPC terminal of the CPUI to control charging start and stop; 3 is capacitor C and voltage dividing resistor rlt
R2 consists of ROK terminal, which is the A/D (analog/digital) conversion port of Gatsu CPUI, and the charging part is connected to the flash unit 2. 4 is connected to the CPU through serial communication and is stored even when the power is turned off. E”PROM is a recording element that holds the contents, and 5 is the CO of the CPUI.
M @ child, LCD (liquid crystal display) which is a display element that is connected to the SEG terminal and performs mode display, film count display, etc. 6 is a divided voltage level creation circuit for LCD 5 consisting of resistors r, ~ r5 .

第1図において、CPUIは、モータ制御、フラッシュ
制御、各種表示制御などのシーケンスコントロールと、
演算、A/D変換1時間測定などを行っている。E2F
ROM4の一部にはデータ誤り検出部4aとしてのパリ
ティピット(” P arityBit”以下、パリテ
ィという)が格納され、またE2FROM4.あるいは
CPUI内の記憶素子であるROMの別番地には予めデ
フオールドデータが調整データとして格納されている。
In FIG. 1, the CPUI controls sequence controls such as motor control, flash control, and various display controls.
Performs calculations, A/D conversion, and 1-hour measurements. E2F
A parity bit (hereinafter referred to as "parity") serving as a data error detection section 4a is stored in a part of the ROM4, and the E2FROM4. Alternatively, default data is stored in advance as adjustment data in a separate address of a ROM, which is a storage element within the CPUI.

さらにE”PROM4の他の別番地にはプログラム切換
部4bとしての切換用データが格納され、またCPUI
にはカメラの各種制御モードに対応した複数のプログラ
ムが格納されている。
Furthermore, data for switching as the program switching section 4b is stored in another address of the E"PROM 4, and the CPU
contains multiple programs that correspond to various control modes of the camera.

またフラッシュユニット2の充電部3は、cPUlのR
OK端子のA/D変換データが充電完了レベルデータ以
上であれば充電を停止するようになっている。
Furthermore, the charging section 3 of the flash unit 2 is connected to the R of cPUl.
If the A/D conversion data of the OK terminal is equal to or higher than the charging completion level data, charging is stopped.

本実施例の動作を第2図、第3図、第4図のフローチャ
ートを参照して説明する。
The operation of this embodiment will be explained with reference to the flowcharts of FIGS. 2, 3, and 4.

第2図において、CPUIに電源が入ると、リセットス
タートして初期設定がなされ(Sl−1)、E”PRO
M4のデータ誤り検出部4aのパリティ設定番地の内容
を読み出す(Sl−2)。パリティ内容が正しい時には
(SL−3のYES)、E”PROM4内のデータが信
頼できると判断してE”PROM4内のデータをCPU
I内の記憶素子であるRAMに転送する(Sl−4)。
In Figure 2, when the power is turned on to the CPU, a reset is started, initial settings are made (Sl-1), and the E"PRO
The contents of the parity setting address of the data error detection unit 4a of M4 are read out (Sl-2). When the parity contents are correct (YES in SL-3), it is determined that the data in E"PROM4 is reliable, and the data in E"PROM4 is sent to the CPU.
The data is transferred to RAM, which is a storage element in I (Sl-4).

一方、パリティ内容が誤りの時には(Sl−3のNo)
、未調整またはデータが破壊されているなどと判断し、
例えば、データが未調整である場合には、E”PROM
4内の別番地に格納されているデフオールドデータを調
整データとしてCPUIの前記RAMへ転送しくS L
−6)、また明らかに間違ったデータである場合には、
CPUIのROMに格納されているデフオールドデータ
を調整データとしてCPUIの前記RAMへ転送する(
SL−5)、次に、CPUIはE”PROM4内のプロ
グラム切換部4bのプログラム判定番地の内容を読み出
しく5L−7)、読み出されたデータによってCPUI
はプログラム切換部4bのプログラム切換フラグ(本実
施例では国内用カメラのプログラム、あるいは海外用カ
メラのプログラムの選択)の選択をしくS 1−8)、
国内用カメラであれば国内判別フラグのセット(S L
−9)、あるいは海外用カメラであれば国内判別フラグ
のリセットを行い(S 1−10)、CPUIは操作待
ち状態となる。
On the other hand, when the parity content is incorrect (No of Sl-3)
, it is determined that the data has not been adjusted or the data has been destroyed,
For example, if the data is unadjusted, E”PROM
S L
-6), or if the data is clearly incorrect,
Transfer the default data stored in the ROM of the CPUI to the RAM of the CPUI as adjustment data (
SL-5), Next, the CPU reads the contents of the program judgment address of the program switching section 4b in the E''PROM4 (5L-7), and the CPU
selects the program switching flag of the program switching section 4b (in this embodiment, the program for the domestic camera or the program for the overseas camera) is selected (S1-8);
If the camera is for domestic use, a set of domestic identification flags (S L
-9), or if the camera is for overseas use, the domestic discrimination flag is reset (S1-10), and the CPU enters an operation waiting state.

第3図はフラッシュ充電制御に係るフローチャートであ
り、まずストロボ充電を行う前に、CPU1は、充電ス
トップレベルとして前記ステップ(Sl−4)〜(S 
L−6)でRAMに転送されたE2PR○M4の転送デ
ータを設定する(S2−1)。次に充電部3での充電を
スタートさせ(S2−2)、CPU1のROK端子に入
力される充電分圧レベルをA/D変換することで(S2
−3)、繰り返しチエツクし、充電レベルが前記ステッ
プ(S2−1)で定められた充電ストップレベル以上に
なった時(S2−4のYES)、 CP U 1は充電
部3での充電を停止させる(S 2−5)。
FIG. 3 is a flowchart related to flash charging control. First, before performing strobe charging, the CPU 1 sets the charging stop level to the steps (Sl-4) to (Sl-4) to (S1-4).
The transfer data of E2PR○M4 transferred to the RAM in step L-6) is set (S2-1). Next, charging in the charging section 3 is started (S2-2), and the charging partial voltage level input to the ROK terminal of the CPU 1 is A/D converted (S2-2).
-3) Check repeatedly, and when the charge level becomes equal to or higher than the charge stop level determined in the step (S2-1) (YES in S2-4), the CPU 1 stops charging in the charging unit 3. (S2-5).

ところで、従来装置において、E”PROM4にデータ
が書き込まれていない状態(末FAM)、あるいは間違
ったデータが書き込まれた状態で充電動作を行わせると
、充電レベルが上昇し過ぎてフラッシュユニット2を破
壊させることがあったが、本実施例では前記調整データ
に基づいて充電がストップするので、フラッシュユニッ
ト2の破壊のおそれはなくなる。
By the way, in the conventional device, if a charging operation is performed in a state where no data has been written to the E"PROM 4 (final FAM) or a state where incorrect data has been written, the charge level will rise too much and the flash unit 2 will be damaged. However, in this embodiment, charging is stopped based on the adjustment data, so there is no risk of the flash unit 2 being destroyed.

また製造ライン内で調整データを解析することにより、
デフオールドデータの精度を上げることができ、より無
調整化が図れる。
In addition, by analyzing adjustment data within the production line,
The accuracy of the default data can be increased, making it possible to eliminate the need for adjustments.

第4図はプログラム切換制御に係るフローチャートであ
り、このプログラム切換は1国内用カメラと海外用カメ
ラ、あるいは自社ブランド用カメラとOEM用カメラな
どに対応するためカメラに対してマイナーチェンジを行
う際に用いられる。
Figure 4 is a flowchart related to program switching control, and this program switching is used when making minor changes to a camera to accommodate a domestic camera and an overseas camera, or a proprietary brand camera and an OEM camera. It will be done.

例えば、第5図(a)、 (b)に示すLCD5からな
る表示部の平面図のように、第5図(a)の国内用カメ
ラには表示部7に表示されるように、夜景モード8.セ
ルフタイマモード9.連写モード1o、多重露出モード
11を設け、また第5図(b)の海外用カメラには表示
部7に表示されるように、夜景モード8とセルフタイマ
モード9のみを設けようとする場合、まず前記ステップ
(S 1−8)のプログラム切換部4bにおける設定フ
ラグを用い1国内用カメラのプログラムか否かの選択を
しくS3−1)、上記のような国内用モードのセット(
S3−2)、あるいは海外用モードのセット(S3−3
)を行う。
For example, as shown in the plan view of the display section consisting of the LCD 5 shown in FIGS. 5(a) and 5(b), the domestic camera shown in FIG. 8. Self-timer mode9. When providing continuous shooting mode 1o and multiple exposure mode 11, and also providing only night view mode 8 and self-timer mode 9 as displayed on display section 7 for the overseas camera shown in FIG. First, use the setting flag in the program switching unit 4b in step (S1-8) to select whether or not the program is for a domestic camera (S3-1), and set the domestic mode as described above (S3-1).
S3-2) or overseas mode set (S3-3
)I do.

このように国内用カメラと海外用カメラなどの各種モー
ドに対応するプログラムの変更は、CPU1.LCD5
.その他の構成部品を共通に使用したままで、E2FR
OM4のプログラム切換部4bによって可能になるため
、構成部品の大幅な交換を必要としない。従って、コス
トアップを最小限にとどめることができる。
In this way, the programs corresponding to various modes such as domestic cameras and overseas cameras can be changed using the CPU 1. LCD5
.. E2FR while using other components in common.
Since this is made possible by the program switching unit 4b of the OM4, there is no need for major replacement of component parts. Therefore, cost increases can be kept to a minimum.

(発明の効果) 本発明の請求項(1)記載の構成によれば、記憶手段の
データ誤り検出部により、誤りデータ検出時には予め用
意された調整データが用いられるため、確実に調整がな
され、信頼性の高いカメラの制御装置を提供でき、また
請求項(2)記載の構成によれば、記憶手段のプログラ
ム切換部により、予め用意された複数のプログラムから
任意のプログラムを選択できるため、構成部品の交換を
おさえて異なるモードを有するカメラに容易に対応でき
る汎用性のあるカメラの制御装置を提供できる。
(Effects of the Invention) According to the configuration described in claim (1) of the present invention, since the data error detection section of the storage means uses the adjustment data prepared in advance when detecting error data, the adjustment is reliably performed. A highly reliable camera control device can be provided, and according to the configuration described in claim (2), an arbitrary program can be selected from a plurality of programs prepared in advance by the program switching section of the storage means. It is possible to provide a versatile camera control device that can easily accommodate cameras with different modes without replacing parts.

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

第1図は本発明のカメラの制御装置の一実施例を示す構
成図、第2図、第3図、第4図は本実施例の動作を説明
するためのフローチャート、第5図(a)、 (b)は
表示部の平面図である・1 ・・・中央演算部(CPU
)、 2・・・フラッシュユニット、 3 ・・・充電
部、 4 ・・・記憶素子(E”FROM)、4a−デ
ータ誤り検呂部、4b・・・プログラム切換部、5 ・
・・液晶表示体(L CD)、  6  ・・・分圧レ
ベル作成回路、 7・・・表示部。 第2区
FIG. 1 is a block diagram showing an embodiment of the camera control device of the present invention, FIGS. 2, 3, and 4 are flowcharts for explaining the operation of this embodiment, and FIG. 5(a) , (b) is a plan view of the display unit.1...Central processing unit (CPU
), 2...Flash unit, 3...Charging unit, 4...Storage element (E"FROM), 4a-Data error checking unit, 4b...Program switching unit, 5.
...Liquid crystal display (LCD), 6...Partial pressure level creation circuit, 7...Display unit. 2nd ward

Claims (2)

【特許請求の範囲】[Claims] (1)中央演算部と、電源を切っても記憶を保持できる
記憶手段とを有するカメラの制御装置において、前記記
憶手段の一部をデータ誤り検出部として使用し、誤りデ
ータ検出時には予め用意された調整データを用いるよう
に構成したことを特徴とするカメラの制御装置。
(1) In a camera control device that has a central processing section and a storage means that can retain memory even when the power is turned off, a part of the storage means is used as a data error detection section, and when error data is detected, a A camera control device characterized in that the camera control device is configured to use adjusted adjustment data.
(2)中央演算部と、電源を切っても記憶を保持できる
記憶手段とを有するカメラの制御装置において、前記記
憶手段の一部をプログラム切換部として使用し、予め用
意された複数のプログラムから任意のプログラムを選択
できるように構成したことを特徴とするカメラの制御装
置。
(2) In a camera control device that has a central processing unit and a storage unit that can retain memory even when the power is turned off, a part of the storage unit is used as a program switching unit to select from a plurality of programs prepared in advance. A camera control device characterized in that it is configured so that any program can be selected.
JP2045167A 1990-02-26 1990-02-26 Controller for camera Pending JPH03248133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2045167A JPH03248133A (en) 1990-02-26 1990-02-26 Controller for camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2045167A JPH03248133A (en) 1990-02-26 1990-02-26 Controller for camera

Publications (1)

Publication Number Publication Date
JPH03248133A true JPH03248133A (en) 1991-11-06

Family

ID=12711710

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2045167A Pending JPH03248133A (en) 1990-02-26 1990-02-26 Controller for camera

Country Status (1)

Country Link
JP (1) JPH03248133A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016110503A (en) * 2014-12-09 2016-06-20 株式会社デンソー Micro controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016110503A (en) * 2014-12-09 2016-06-20 株式会社デンソー Micro controller

Similar Documents

Publication Publication Date Title
JPH06324787A (en) Coordinate detector for touch panel
KR19990017606A (en) Charging and discharging method of an electronic device having a smart battery
JP2530717B2 (en) Battery voltage determination circuit
JP2003035574A (en) Responsive sensor and application measurement system
US8224599B2 (en) System and method for automatic voltage range measurement
US5321663A (en) Memory card and method and apparatus for checking backup voltage of memory card
JPH03248133A (en) Controller for camera
KR0163896B1 (en) Power supply device
US6339264B1 (en) Apparatus and method for forecasting output voltage of a battery of a digital camera
JP2007192642A (en) Device for inspecting thermistor
US11637443B2 (en) Backup power supply for electronic system and operation method thereof
JPH0455836A (en) Camera rpovided with e2prom
JP2873034B2 (en) Camera data processing device
JP2005174233A (en) Data rewriting device
JP3771451B2 (en) Secondary battery unit and remaining capacity display device
JPH03147161A (en) Portable semiconductor memory device
JP2998047B2 (en) Image forming device
JP4288876B2 (en) Memory backup battery abnormality detection apparatus and abnormality detection method therefor
JP3396627B2 (en) Low voltage detection circuit
KR100236217B1 (en) Reference value automatic compensation method for digital multimeter
JPH04218A (en) Power supply control system
JPS62228173A (en) Battery voltage detection circuit
JP2023121064A (en) Identification circuit and identification method
JP2009014565A (en) Electronic device and its control method
CN116207382A (en) Voltage threshold configuration method, battery unit, system and storage medium