JPH02189530A - Camera equipped with resetting function for control means - Google Patents

Camera equipped with resetting function for control means

Info

Publication number
JPH02189530A
JPH02189530A JP1010434A JP1043489A JPH02189530A JP H02189530 A JPH02189530 A JP H02189530A JP 1010434 A JP1010434 A JP 1010434A JP 1043489 A JP1043489 A JP 1043489A JP H02189530 A JPH02189530 A JP H02189530A
Authority
JP
Japan
Prior art keywords
cpu
reset
sub
signal
camera
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.)
Granted
Application number
JP1010434A
Other languages
Japanese (ja)
Other versions
JP2575055B2 (en
Inventor
Takao Umetsu
梅津 隆夫
Yutaka Yoshida
豊 吉田
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.)
Fujinon Corp
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
Fuji Photo Optical 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 Fuji Photo Film Co Ltd, Fuji Photo Optical Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP1010434A priority Critical patent/JP2575055B2/en
Publication of JPH02189530A publication Critical patent/JPH02189530A/en
Application granted granted Critical
Publication of JP2575055B2 publication Critical patent/JP2575055B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To operate a camera normally by outputting a reset signal from one CPU to the other CPU when the power source is turned on in the case of runaway of one CPU. CONSTITUTION:A reset circuit is connected to a sub-CPU 4 and when the reset circuit resets the sub-CPU 4 in the case of applying the power source 34, the sub-CPU 4 outputs the reset signal to the main CPU 2 to be reset. Further, when a specific response signal to a monitoring signal for handling the un expected runaway of one of the CPUs 2 and 4 is not inputted to one CPU, the CPU outputs the reset signal to the other CPU. Consequently, the CPU which is abnormal can be reset.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、カメラに搭載されて該カメラの動作制御や
情報の処理を司るCPUを適宜にリセットしてカメラを
正常に作動させることができるようにした制御手段のリ
セット機能を備えたカメラに関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention enables the camera to operate normally by appropriately resetting the CPU that is installed in the camera and controls the camera's operation and processes information. The present invention relates to a camera having a reset function of a control means as described above.

〔従来の技術〕[Conventional technology]

写真撮影を手軽に行なえるようにするために。 To make photography easier.

自動露出機能やオートフォーカス機能、自動フィルム給
送機能、ストロボ自動発光機能などが備えられたカメラ
、特にコンパクトカメラが普及している。また、撮影日
時などをフィルムのコマに写し込むデート機能が備えら
れている。
Cameras, especially compact cameras, that are equipped with automatic exposure functions, autofocus functions, automatic film feeding functions, automatic flash firing functions, etc. are becoming popular. It also has a date function that imprints the shooting date and time onto the film frames.

この種のカメラには、自動露出回路やオートフォーカス
回路、フィルム給送手段、シャッター駆動手段、ストロ
ボ回路などが適宜なシーケンスに従って作動するようこ
れらの動作制御を司るメインCPUと、デート機能を制
御するために時計回路を有するとともに、当該日付をフ
ィルム写し込み用やモニター用の液晶表示手段に表示さ
せるサブCPUとの2つのCPUが搭載されている。
This type of camera has a main CPU that controls the operations of the automatic exposure circuit, autofocus circuit, film feeding means, shutter drive means, strobe circuit, etc. so that they operate according to an appropriate sequence, and a main CPU that controls the date function. In addition to having a clock circuit for this purpose, the camera is equipped with two CPUs, including a sub-CPU that displays the date on a liquid crystal display means for imprinting the film and for monitoring.

これら2つのCPUは情報線で接続されているが、従来
では、メインCI’Uでカメラの動作制御を担当し、サ
ブCPUでデート機能を担当してカメラのレリーズ動作
に連動してメインCPUから出力される信号に基づきサ
ブCPUで日付の写し込みが行なわれる。メインCPU
とサブCPUのそれぞれは独立して動作しており、一方
に誤動作が生じても対処する手段は設けられていない。
These two CPUs are connected by an information line, but in the past, the main CI'U was in charge of controlling camera operations, the sub CPU was in charge of the date function, and the data was sent from the main CPU in conjunction with the camera's release operation. The date is imprinted by the sub CPU based on the output signal. Main CPU
The sub-CPUs and sub-CPUs operate independently, and there is no means for dealing with malfunctions in one of them.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、カメラの動作においては、フィルム給送
用モータや撮影レンズのズーム邸動用モータからノイズ
が発生し、その他静電気、ストロボノイズ、外部ノイズ
などを受ける。これらのノイズがCPUに影響すると、
該CPUが暴走するおそれがある。特に、メインCPU
が暴走する場合にはフィルム撮影枚数の情報処理や自動
露出、オートフォーカスなどの情報処理などが影響され
て1例えばフィルム枚数がまだ十分残っているのにも拘
らずこれを巻き戻してしまったり、レーリズボタンが押
し込まれたにも拘らずレリーズされないなどの不都合が
生じるおそれがある。
However, during camera operation, noise is generated from the film feeding motor and the zoom motor of the photographic lens, and the camera is also subject to static electricity, strobe noise, external noise, and the like. When these noises affect the CPU,
There is a risk that the CPU will run out of control. In particular, the main CPU
When the camera goes out of control, the information processing of the number of film shots, automatic exposure, autofocus, etc. will be affected.1 For example, the camera may end up rewinding the film even though there is still enough film remaining. There is a risk that an inconvenience may occur, such as the release button not being released even though it is pressed.

このような場合には、CPUをリセットして暴走を停止
する必要があるが、従来では特別なリセット手段を有し
ていないため、暴走が生じた場合には電源電池を一度抜
き取ってCPUの動作を停止させ、その後改めて電源電
池を装填して電源を投入するようにしている。
In such a case, it is necessary to reset the CPU to stop the runaway, but conventional methods do not have a special reset means, so if a runaway occurs, the power battery must be removed and the CPU can be stopped. After that, the power supply battery is loaded and the power is turned on again.

このため、CPUのリセットのためのボタンなどをカメ
ラに設けることが考えられるが、撮影者が不用意に当該
ボタンを操作してしまうと1例えばフィルム枚数などの
情報が消去され、フィルムを装填したときのようにファ
ースト・フレーム・セットを行なうなどしてしまう。こ
のため、撮影者が容易にリセット操作できるようにして
おくことは好ましくない。
For this reason, it is conceivable to provide the camera with a button for resetting the CPU, but if the photographer carelessly operates the button, information such as the number of film sheets will be erased, and the number of films loaded will be lost. I end up doing something like doing a first frame set like I used to do. For this reason, it is not preferable to allow the photographer to perform a reset operation easily.

そこで、この発明は、メインCPUとサブCPUとを連
繋させて事前にCPUの異常を発見することにより異常
が生じているCPUをリセットさせることができるよう
にした制御手段のリセット機能を備えたカメラを提供す
ることを目的としている。
Therefore, the present invention provides a camera equipped with a reset function of the control means, which allows a main CPU and a sub-CPU to be connected to each other, and by discovering an abnormality in the CPU in advance, a CPU in which an abnormality has occurred can be reset. is intended to provide.

〔問題点を解決するための手段〕[Means for solving problems]

上記の目的を達成するため、この発明に係る制御手段の
リセット機能を備えたカメラは、電源投入時のリセット
機能として、カメラの動作制御を担うメインCP Uと
デート機能を担うサブCP Uとを備えたカメラにおい
て、前記サブCPUにリセット回路を接続し、電源投入
時に該リセット回路によってサブCPUがリセットされ
ると、該サブCPUから前記メインCPUにリセット信
号を出力し、これにより上記メインCPUがリセットさ
れることを特徴とし、また、CPUが不意に暴走してし
まう場合に対処するためとして、前記サブCPUとメイ
ンCPUの少なくともいずれか一方から他方に対して所
定時間ごとに監視信号を出力し、該監視信号に対する所
定の応答信号が、E記一方のCPUに入力されない場合
には、上記一方のCPUから他方のCPUにリセット信
号を出力することにより、該他方のCPUがリセットさ
れるようにしたことを特徴し、さらに、所定の動作をカ
メラに行なわせようとする場合に正常に作動するように
、カメラに所定の動作をさせるための割込み制御要求が
なされた場合に、前記サブCPUとメインCPUの少な
くともいずれか一方から他方に対して監視信号を出力し
、該監視信号に対する所定の応答信号が上記一方のCP
Uに入力されない場合には、上記一方のCPUから他方
のCPUにリセット信号を出力することにより、該他方
のCPUがリセットされるようにしたことを特徴として
いる。
In order to achieve the above object, the camera equipped with the reset function of the control means according to the present invention has a main CPU responsible for controlling the operation of the camera and a sub CPU responsible for the date function as a reset function when the power is turned on. In the camera equipped with the above-mentioned camera, a reset circuit is connected to the sub-CPU, and when the sub-CPU is reset by the reset circuit when the power is turned on, a reset signal is output from the sub-CPU to the main CPU. In addition, in order to cope with the case where the CPU unexpectedly goes out of control, a monitoring signal is output from at least one of the sub CPU and the main CPU to the other at predetermined time intervals. , when a predetermined response signal to the monitoring signal is not input to one of the CPUs in E, the other CPU is reset by outputting a reset signal from the one CPU to the other CPU. Further, when an interrupt control request is made to cause the camera to perform a predetermined operation, the sub-CPU and A monitoring signal is output from at least one of the main CPUs to the other, and a predetermined response signal in response to the monitoring signal is sent to the one of the main CPUs.
The feature is that when the signal is not input to U, the one CPU outputs a reset signal to the other CPU, thereby resetting the other CPU.

〔実施例〕〔Example〕

以下、図示した実施例に基づいて、この発明に係る制御
手段のリセット機能を備えたカメラを具体的に説明する
DESCRIPTION OF THE PREFERRED EMBODIMENTS A camera equipped with a reset function of a control means according to the present invention will be specifically described below based on the illustrated embodiment.

第1図はこのカメラの制御機構を示す概略のブロック図
で、このカメラはメインCPU2とサブCPU4との2
つのCPUを中心に構成されている。メインCPU2は
カメラ本体側に配置され、サブCPU4はカメラの裏蓋
に配置されたものである。
FIG. 1 is a schematic block diagram showing the control mechanism of this camera, which consists of a main CPU 2 and a sub CPU 4.
It is mainly composed of two CPUs. The main CPU 2 is placed on the side of the camera body, and the sub CPU 4 is placed on the back cover of the camera.

メインCPU2は、第1図に示すように、各種の作動ス
イッチ6、オートフォーカス(AF)回路8、自動露出
(AE)回路10.レンズ駆動手段12、シャッター駆
動手段14、フィルム給送手段16、ストロボ回路18
、ズーム駆動手段20などと信号の授受を行なって必要
な情報の交換が行なわれる。
As shown in FIG. 1, the main CPU 2 includes various operating switches 6, an autofocus (AF) circuit 8, an autoexposure (AE) circuit 10. Lens driving means 12, shutter driving means 14, film feeding means 16, strobe circuit 18
, the zoom driving means 20, etc., and necessary information is exchanged.

作動スイッチ6には、シャッターボタンやズームスイッ
チなどがある。AF回路8は、被写体までの距離を測定
して得られた測距データをメインCPU2との間で授受
する。AE回路10は、被写体輝度を測定して得られた
測光データをメインCPU2との間で授受する。レンズ
U動手段12は、AF回路8で得られた測距データに基
づいて、レリーズ時に撮影レンズを合焦位置まで駆動さ
せるものである。シャッター駆動手段14は、AE回路
10で得られた測光データに基づいて、レリーズ時に絞
りやシャッター速度などを制御する。フィルム給送手段
16は、フィルムが装填されたときに最初のコマまでフ
ィルムを送り、レリーズ後に次の撮影に備えてフィルム
を1コマ巻き上げ、全てのコマの撮影が終了したフィル
ムを巻き戻したりするものである。ストロボ回路18は
ストロボを発光させるもので、AE回路10で得られた
測光データにより輝度が不足した場合などもストロボが
発光する。ズーム駆動手段20は、ズーム機構を備えた
カメラで撮影倍率を変更するために撮影レンズを光軸に
沿って進退させるものである。
The operation switch 6 includes a shutter button, a zoom switch, and the like. The AF circuit 8 exchanges distance measurement data obtained by measuring the distance to the subject with the main CPU 2. The AE circuit 10 exchanges photometric data obtained by measuring subject brightness with the main CPU 2. The lens U moving means 12 drives the photographing lens to the in-focus position at the time of release based on distance measurement data obtained by the AF circuit 8. The shutter driving means 14 controls the aperture, shutter speed, etc. at the time of release based on the photometric data obtained by the AE circuit 10. The film feeding means 16 feeds the film to the first frame when the film is loaded, winds the film one frame after release in preparation for the next shooting, and rewinds the film after all frames have been shot. It is something. The strobe circuit 18 causes the strobe to emit light, and the strobe also emits light when the brightness is insufficient based on the photometric data obtained by the AE circuit 10. The zoom driving means 20 moves the photographing lens forward and backward along the optical axis in order to change the photographing magnification in a camera equipped with a zoom mechanism.

そして、例えば撮影を行なうためにシャッターボタンを
押し込むと、はぼ半分まで押し込まれた時点で第1段ス
イッチがONとなり、AF回路8で測距され、AE回路
lOで測光されて測距データや測光データが取得される
。さらに、シャッターボタンが押し込まれると第2段ス
イッチがONされてレンズ駆動手段12により撮影レン
ズが駆動されて合焦し、シャッター開動回路14により
シャッターがレリーズされてフィルムに露光される。レ
リーズ後にはフィルム給送手段16によりフィルムが巻
き上げられる。
For example, when the shutter button is pushed in to take a picture, the first stage switch is turned on when it is pushed in about half way, the AF circuit 8 measures the distance, the AE circuit 10 measures the light, and the distance measurement data and Photometric data is acquired. Furthermore, when the shutter button is pressed, the second stage switch is turned on, the photographing lens is driven by the lens driving means 12 to focus, and the shutter opening circuit 14 releases the shutter to expose the film. After the release, the film is wound up by the film feeding means 16.

サブCPU4は、各種のモードセットスイッチ22の操
作により送出された情報を受けて処理し、該処理された
情報をシリアル転送線25を介してメインCPU2にシ
リアル信号によって提供する。
The sub CPU 4 receives and processes information sent by operating various mode set switches 22, and provides the processed information to the main CPU 2 via a serial transfer line 25 in the form of a serial signal.

各種のモードには、自動撮影モード、セルフ撮影モード
、ストロボ撮影モードなどがある。また、メインCPU
2で処理された情報をシリアル転送線25を介してシリ
アル信号によって受けてこれを処理するとともに保存す
る。すなわち、メインCPU2では情報の保存が行なわ
れず、その保存はサブCPU4によって行なねれる。さ
らに、サブCPU4には、時計回路が設けられており日
付や時間が記憶され、必要に応じてフィルムに日付など
を写し込む指令を送出する。また、サブCPU4には液
晶表示手段(LCD)24が接続されており、サブCP
U4によってこのLCD24が駆動される。このLCD
24によって表示される情報には。
Various modes include automatic shooting mode, self-shooting mode, and strobe shooting mode. Also, the main CPU
The information processed in step 2 is received as a serial signal via a serial transfer line 25, and is processed and stored. That is, the main CPU 2 does not save information, and the sub CPU 4 does not save the information. Furthermore, the sub-CPU 4 is provided with a clock circuit, which stores the date and time, and sends a command to imprint the date on the film as necessary. Further, a liquid crystal display means (LCD) 24 is connected to the sub CPU 4.
This LCD 24 is driven by U4. This LCD
In the information displayed by 24.

フィルム枚数情報(撮影済み枚数あるいは残存枚数) 
、 24aやフィルム給送情報24b、日付・時間情報
24c、ストロボ発光情!1I24d 、ストロボ非発
光情報24e、日中シンクロ°(強制ストロボ発光)情
報24f、セルフ撮影情報24g、遠景・夜景撮影情報
24h、近接撮影情報241、バッテリー残量情報24
j、日付・時間写し込み情報24になどがある。
Film number information (number of shots taken or remaining number)
, 24a, film feed information 24b, date/time information 24c, strobe light! 1I24d, strobe non-flash information 24e, daytime sync ° (forced strobe flash) information 24f, self-shooting information 24g, distant view/night view shooting information 24h, close-up shooting information 241, remaining battery level information 24
j, date/time imprint information 24, etc.

そして、サブCPU4のリセット信号出力ポートがメイ
ンCPU2のリセットポート2aにメインリセット情報
線26で接続され、サブCPU4のサブリセットポート
4aがサブリセット情報線28によってメインCPU2
のリセット信号出力ポートに接続されて、メインCPU
2あるいはサブCPU4から送出されるリセット信号に
よりそれぞれがリセットされるようにしである。
The reset signal output port of the sub CPU 4 is connected to the reset port 2a of the main CPU 2 by a main reset information line 26, and the sub reset port 4a of the sub CPU 4 is connected to the main CPU 2 by a sub reset information line 28.
connected to the reset signal output port of the main CPU
Each of them is reset by a reset signal sent from the CPU 2 or the sub CPU 4.

次に、第2図および第3図に基づいて、電源投入時のリ
セット機能について説明する。第2図に示すように、サ
ブCPU4のサブリセットポート4aにはリセット回路
30の出力信号が入力されている。なお、メインCPU
2からサブリセットポート4aにリセット信号を入力す
る情報1s28は省略しである。リセット回路30には
メインスイッチ32を介して電源電池34が接続され、
またこの電源電池34はメインCPU2とサブCPU4
の電源とじである。
Next, the reset function when the power is turned on will be explained based on FIGS. 2 and 3. As shown in FIG. 2, the output signal of the reset circuit 30 is input to the sub-reset port 4a of the sub-CPU 4. In addition, the main CPU
Information 1s28 for inputting a reset signal from 2 to the sub-reset port 4a is omitted. A power supply battery 34 is connected to the reset circuit 30 via a main switch 32.
In addition, this power supply battery 34 is used for the main CPU 2 and sub CPU 4.
The power supply is closed.

そして、電源電池34を装填してメインスイッチ32を
ONすルト(ステップ301)、I10ポートが初期セ
ットされる(ステップ302)。
Then, the power supply battery 34 is loaded and the main switch 32 is turned on (step 301), and the I10 port is initially set (step 302).

サブCPU4が初期セットされると、そのOAポート4
bからリセット信号が出力され(ステップ303 ) 
、メインCPU2のリセットポート2aにこのリセット
信号が入力される。メインCPU2のリセット後の初期
処理の中には、リセット信号を出力するプログラムが組
み込まれており、リセットが行われた後は、サブCPU
4のIAポート4Cに対してリセット完了信号を出力す
る。そして、サブCPU4はステップ304でこのリセ
ット完了信号を有無を判断し、リセット完了信号が入力
された場合には、ステップ305で通常の処理を行なう
プログラムを実行することになる。
When the sub CPU 4 is initialized, its OA port 4
A reset signal is output from b (step 303).
, this reset signal is input to the reset port 2a of the main CPU 2. A program that outputs a reset signal is included in the initial processing after the main CPU 2 is reset, and after the reset is performed, the sub CPU
A reset completion signal is output to IA port 4C of No.4. Then, in step 304, the sub CPU 4 determines whether or not this reset completion signal is received. If the reset completion signal is input, the sub CPU 4 executes a program that performs normal processing in step 305.

リセット完了信号がサブCPU4に入力されない場合に
は、所定の時間ステップ304の判定を繰返しくステッ
プ306 ) 、所定の時間が経過した場合には、ステ
ップ303に戻って再度メインCPU2に対してリセッ
ト信号を出力することになる。
If the reset completion signal is not input to the sub CPU 4, the determination in step 304 is repeated for a predetermined time (step 306); if the predetermined time has elapsed, the process returns to step 303 and the reset signal is sent to the main CPU 2 again. will be output.

なお、メインCPU2からリセット完了信号が得られな
い場合には、メインCPU2に異常がある場合であって
適切な写真撮影が行なわれないから、メインCPU2、
サブCPU4のいずれも通常のプログラムは実行されな
い。
Note that if the reset completion signal is not obtained from the main CPU 2, there is an abnormality in the main CPU 2, and appropriate photography will not be performed.
None of the sub CPUs 4 execute normal programs.

次に、第4図および第5図に基づいて、CPUが不意に
暴走した場合にリセットをかけるために所定時間ごとの
監視について説明する。第4図に示すように、サブCP
U4のサブリセットポート4aにはリセット回路30の
出力信号力でダイオード36を介して入力されている。
Next, based on FIGS. 4 and 5, a description will be given of monitoring at predetermined time intervals in order to reset the CPU when it suddenly goes out of control. As shown in Figure 4, sub CP
The output signal strength of the reset circuit 30 is input to the sub-reset port 4a of U4 via a diode 36.

メインCPU2からサブリセットポート4aには情報線
28によって、ダイオード38を介してリセット信号を
入力する。リセット回路30にはメインスイッチ32を
介して電源電池34が接続され、またこの電源電池34
はメインCPU2とサブCPU4の電源としである。
A reset signal is input from the main CPU 2 to the sub-reset port 4a via an information line 28 and a diode 38. A power battery 34 is connected to the reset circuit 30 via a main switch 32, and this power battery 34
is used as a power source for the main CPU 2 and sub CPU 4.

サブCPU4が通常のプログラムを実行している場合に
所定の時間が経過すると、割込み制御が行なわれる(ス
テップ501)。これによりサブCPU4からメインC
PU2にアクセスされ(ステップ502 ) 、メイン
CPU2から応答信号を要求する。これらの情報の授受
はシリアルデータ転送を利余売ることができる。
When the sub CPU 4 is executing a normal program and a predetermined time has elapsed, interrupt control is performed (step 501). As a result, from sub CPU4 to main C
The CPU 2 is accessed (step 502), and a response signal is requested from the main CPU 2. The exchange of these information can benefit serial data transfer.

ステップ503ではこの応答信号の有無を判断し、該応
答信号がサブCPU4に入力された場合には通常のプロ
グラムを実行することになる(ステップ506 ) 。
In step 503, the presence or absence of this response signal is determined, and if the response signal is input to the sub CPU 4, a normal program is executed (step 506).

メインCPU2からの応答信号がない場合には。When there is no response signal from the main CPU2.

所定時間の経過を待って(ステップ504 ) 、サブ
CPU4からメインCPU2に対してリセット信号を出
力することになる(ステップ505)。すなわち、所定
の応答信号がメインCPU2からサブCPU4に入力さ
れない場合には、メインCPU2が暴走して所定の演算
処理が行なわれていない状態にあると考えられるから、
リセット信号を出力して(ステップ505)メインCP
U2の暴走を抑止するのである。
After waiting for the elapse of a predetermined time (step 504), the sub CPU 4 outputs a reset signal to the main CPU 2 (step 505). In other words, if a predetermined response signal is not input from the main CPU 2 to the sub CPU 4, it is considered that the main CPU 2 has gone out of control and is not performing the predetermined arithmetic processing.
Main CP outputs a reset signal (step 505)
This will prevent U2 from going out of control.

なお、この実施例ではサブCPU4からメインCPU2
にアクセスする場合について説明したが、メインCPU
2においても同様にプログラムしておくことにより、サ
ブCPU4の状態を監視することができる。
In addition, in this embodiment, from the sub CPU 4 to the main CPU 2
Although we explained the case when accessing the main CPU
2, the status of the sub CPU 4 can be monitored by programming in the same way.

次に、第6a図および第6b図に基づいて、カメラに所
定の動作を行なわせる場合に必要に応じてメインCPU
2をリセットするための監視について説明する。
Next, based on FIGS. 6a and 6b, the main CPU
The monitoring for resetting 2 will be explained.

ストロボ撮影モードやセルフ撮影モード、]]中シンク
ロモードなどのモードセットスイッチ22が操作される
と2割込み制御処理が開始される(ステップ601 )
 、まず、サブCPU4からメインCP U 2にアク
セスされる(ステップ602)。
When the mode set switch 22 for flash photography mode, self-photography mode, ]] middle synchronization mode, etc. is operated, 2-interrupt control processing is started (step 601).
, First, the main CPU 2 is accessed from the sub CPU 4 (step 602).

メインCPU2では、サブCPU4からのアクセスによ
り割込み制御処理が開始され(ステップ611 ) 、
正常な動作状態にあればこれに対する応答信号を出力し
て(ステップ612)割込み制御に対する割込み処理を
行う(ステップ613)。なお、この場合のメインCP
U2とサブCPU4との間の情報の授受はシリアル信号
によって行なわれる。
In the main CPU 2, interrupt control processing is started by access from the sub CPU 4 (step 611).
If it is in a normal operating state, it outputs a response signal in response (step 612) and performs interrupt processing for interrupt control (step 613). In addition, the main CP in this case
Information is exchanged between U2 and sub CPU 4 using serial signals.

他方、サブCPU4ではメインCPU2からの上記応答
信号の有無を判断しくステップ603)、該信号がサブ
CPU4に入力された場合には割込み制御のプログラム
を実行することになる(ステップ606)。
On the other hand, the sub CPU 4 determines whether or not there is the response signal from the main CPU 2 (step 603), and if the signal is input to the sub CPU 4, an interrupt control program is executed (step 606).

メインCPU2からの応答信号がない場合には。When there is no response signal from the main CPU2.

所定時間の経過を待って(ステップ604 ) 、サブ
CPU4からメインCPU2に対してリセット信号を出
力することになる(ステップ605)。すなわち、所定
の応答信号がメインCI) U 2からサブCPU4に
入力されない場合には、メインCP U2が暴走して所
定の演算処理が行なわれていない状態にあると考えられ
るから、リセット信号を出力して(ステップ505)メ
インCPU2の暴走を抑止するのである。そして、ステ
ップ606で操作されたモードセットスイッチ22に従
って、例えばセルフタイマーモードがセットされた場合
には、セルフ撮影の処理の終了後に通常のプログラムに
戻る(ステップ607)。
After waiting for a predetermined time to elapse (step 604), the sub CPU 4 outputs a reset signal to the main CPU 2 (step 605). In other words, if the predetermined response signal is not input from the main CI U2 to the sub CPU 4, it is considered that the main CPU U2 has gone out of control and is not performing the predetermined arithmetic processing, so a reset signal is output. (step 505) to prevent the main CPU 2 from running out of control. If, for example, the self-timer mode is set according to the mode set switch 22 operated in step 606, the program returns to the normal program after the self-photographing process is completed (step 607).

なお、この実施例ではサブCP U 4からメインCP
U2にアクセスする場合について説明したが、メインC
PU2においても同様にプログラムしておくことにより
、サブCPU4の状態を監視することができる。この場
合には、メインCPU2に関連してシャッターボタンや
ズームスイッチなどの作動スイッチ6が操作された場合
に監視信号を出力するようにする。
In addition, in this embodiment, from the sub CPU U4 to the main CPU
We explained the case of accessing U2, but main C
By programming the PU2 in the same way, the status of the sub CPU4 can be monitored. In this case, a monitoring signal is output when an operating switch 6 such as a shutter button or a zoom switch is operated in connection with the main CPU 2.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明に係る制御手段のリセッ
ト機能を備えたカメラによれば、電源を投入したときに
一方のCPUから他方のCPUにリセット信号を出力す
るようにしたから、当該他方のCPUが確実にリセット
されカメラを正常に作動させることができる。
As explained above, according to the camera equipped with the reset function of the control means according to the present invention, when the power is turned on, one CPU outputs a reset signal to the other CPU. The CPU is reliably reset and the camera can operate normally.

また、所定時間ごとに一方のCPUで他方のCPUを監
視するようにしたから、当該他方のCPUが外部ノイズ
などの影響を受けて暴走している場合には、この他方の
CPUをリセットして正常に作動するよう復帰させられ
る。しかも、いずれのCPUからも相互に監視するよう
にしておけば、いずれが暴走した場合でも速やかに正常
のプログラムに復帰させられる。なお、一方のCPUか
ら他方のCPUに対してリセット信号を出力した後に、
該一方のCPUが記憶しているカメラの状態に関する情
報を他方のCPUに提供するようにすれば、該他方のC
PUを暴走直前の状態に復帰させられる。
Also, since one CPU monitors the other CPU at predetermined intervals, if the other CPU is out of control due to the influence of external noise, the other CPU can be reset. It will be restored to normal operation. Moreover, if both CPUs mutually monitor each other, even if one of them goes out of control, the normal program can be quickly restored. Note that after outputting a reset signal from one CPU to the other CPU,
If one CPU provides the other CPU with the information regarding the camera status stored in the memory, the other CPU can
The PU can be returned to the state immediately before the runaway.

また、各種のモードセントスイッチや作動スイッチが操
作された場合に一方のCP tJで他方のCPUを監視
して当該他方のCPUが暴走して異常があればリセット
するようにしたから、モードセットスイッチや作動スイ
ッチが操作された場合には確実に当該モードで撮影を行
なうことができる。
In addition, when various mode set switches and activation switches are operated, one CP tJ monitors the other CPU, and if the other CPU goes out of control and there is an abnormality, it is reset, so the mode set switch When the mode or activation switch is operated, photography can be reliably performed in that mode.

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

図面はこの発明に係る制御手段のリセット機能を備えた
カメラの好ましい実施例を示すもので、第1図はこのカ
メラの制御機構を示す概略のブロック図である。 第2図および第3図は、電源投入時のリセット機能を説
明するための図で、第2図は概略の回路図、第3図はフ
ローチャートである。 第4図および第5図は、所定時間ごとにCPUの暴走を
監視して異常がある場合にリセットするリセット機能を
説明するための図で、第4図は概略の回路図、第5図は
フローチャートである。 第6a図および第6b図は、カメラを所定に動作させよ
うとモードセットスイッチなどが操作されて割込み制御
要求があった場合のリセット機能を説明するための図で
、第6a図はサブCPU4による処理のフローチャート
、第6b図はメインCPU2による処理のフローチャー
トである。 2・・・メインCPU 2a・・・メインリセットポート 4・・・サブCPU 4a・・・サブリセットポート 6・・・作動スイッチ 22・・・モードセットスイッチ 24・・・L CD       30・・・リセット
回路32・・・メインスイッチ  34・・・電源電池
第2 づプCPU−84 第 図 第6a図
The drawings show a preferred embodiment of a camera having a reset function of the control means according to the present invention, and FIG. 1 is a schematic block diagram showing the control mechanism of this camera. 2 and 3 are diagrams for explaining the reset function when the power is turned on, with FIG. 2 being a schematic circuit diagram and FIG. 3 being a flowchart. 4 and 5 are diagrams for explaining a reset function that monitors CPU runaway at predetermined time intervals and resets the CPU when an abnormality occurs. FIG. 4 is a schematic circuit diagram, and FIG. It is a flowchart. 6a and 6b are diagrams for explaining the reset function when an interrupt control request is made by operating the mode set switch etc. in order to operate the camera in a predetermined manner. Flowchart of Processing FIG. 6b is a flowchart of processing by the main CPU 2. 2...Main CPU 2a...Main reset port 4...Sub CPU 4a...Sub reset port 6...Activation switch 22...Mode set switch 24...L CD 30...Reset Circuit 32... Main switch 34... Power supply battery 2nd CPU-84 Figure 6a

Claims (3)

【特許請求の範囲】[Claims] (1)カメラの動作制御を担うメインCPUとデート機
能を担うサブCPUとを備えたカメラにおいて、 前記サブCPUにリセット回路を接続し、 電源投入時に該リセット回路によってサブCPUがリセ
ットされると、該サブCPUから前記メインCPUにリ
セット信号を出力し、これにより上記メインCPUがリ
セットされることを特徴とする制御手段のリセット機能
を備えたカメラ。
(1) In a camera equipped with a main CPU that controls camera operations and a sub CPU that performs a date function, a reset circuit is connected to the sub CPU, and when the sub CPU is reset by the reset circuit when the power is turned on, A camera having a reset function of a control means, characterized in that the sub CPU outputs a reset signal to the main CPU, thereby resetting the main CPU.
(2)カメラの動作制御を担うメインCPUとデート機
能を担うサブCPUとを備えたカメラにおいて、 前記サブCPUとメインCPUの少なくと もいずれか一方から他方に対して所定時間ごとに監視信
号を出力し、該監視信号に対する所定の応答信号が上記
一方のCPUに入力されない場合には、上記一方のCP
Uから他方のCPUにリセット信号を出力することによ
り、該他方のCPUがリセットされるようにしたことを
特徴とする制御手段のリセット機能を備えたカメラ。
(2) In a camera equipped with a main CPU that controls camera operations and a sub CPU that performs a date function, at least one of the sub CPU and the main CPU outputs a monitoring signal to the other at predetermined intervals. , if a predetermined response signal to the monitoring signal is not input to the one CPU, the one CPU
A camera equipped with a reset function of a control means, characterized in that the other CPU is reset by outputting a reset signal from the U to the other CPU.
(3)カメラの動作制御を担うメインCPUとデート機
能を担うサブCPUとを備えたカメラにおいて、 カメラに所定の動作をさせるための割込み 制御要求がなされた場合に、前記サブCPUとメインC
PUの少なくともいずれか一方から他方に対して監視信
号を出力し、該監視信号に対する所定の応答信号が上記
一方のCPUに入力されない場合には、上記一方のCP
Uから他方のCPUにリセット信号を出力することによ
り、該他方のCPUがリセットされるようにしたことを
特徴とする制御手段のリセット機能を備えたカメラ。
(3) In a camera equipped with a main CPU that controls camera operations and a sub CPU that performs a date function, when an interrupt control request is made to cause the camera to perform a predetermined operation, the sub CPU and main CPU
At least one of the PUs outputs a monitoring signal to the other CPU, and if a predetermined response signal to the monitoring signal is not input to the one CPU, the one CPU
A camera equipped with a reset function of a control means, characterized in that the other CPU is reset by outputting a reset signal from the U to the other CPU.
JP1010434A 1989-01-19 1989-01-19 Camera with reset function of control means Expired - Fee Related JP2575055B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1010434A JP2575055B2 (en) 1989-01-19 1989-01-19 Camera with reset function of control means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1010434A JP2575055B2 (en) 1989-01-19 1989-01-19 Camera with reset function of control means

Publications (2)

Publication Number Publication Date
JPH02189530A true JPH02189530A (en) 1990-07-25
JP2575055B2 JP2575055B2 (en) 1997-01-22

Family

ID=11750053

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1010434A Expired - Fee Related JP2575055B2 (en) 1989-01-19 1989-01-19 Camera with reset function of control means

Country Status (1)

Country Link
JP (1) JP2575055B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002200234A (en) * 2001-01-09 2002-07-16 Sankyo Kk Game machine
KR100509365B1 (en) * 1997-12-29 2005-11-16 삼성테크윈 주식회사 Digital Still Camera with Multiple Central Processing Units and Its Control Method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60116067A (en) * 1983-11-28 1985-06-22 Canon Inc Controlling device
JPS6191711A (en) * 1984-10-11 1986-05-09 Matsushita Refrig Co Resetting device of microcomputer
JPS61276001A (en) * 1985-05-31 1986-12-06 Toshiba Corp Control device of electronic equipment
JPS62232628A (en) * 1986-04-02 1987-10-13 Minolta Camera Co Ltd Camera provided with plural microcomputers
JPS6327140A (en) * 1986-07-21 1988-02-04 Sony Corp Checking device for equipment mounted with microcomputer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60116067A (en) * 1983-11-28 1985-06-22 Canon Inc Controlling device
JPS6191711A (en) * 1984-10-11 1986-05-09 Matsushita Refrig Co Resetting device of microcomputer
JPS61276001A (en) * 1985-05-31 1986-12-06 Toshiba Corp Control device of electronic equipment
JPS62232628A (en) * 1986-04-02 1987-10-13 Minolta Camera Co Ltd Camera provided with plural microcomputers
JPS6327140A (en) * 1986-07-21 1988-02-04 Sony Corp Checking device for equipment mounted with microcomputer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100509365B1 (en) * 1997-12-29 2005-11-16 삼성테크윈 주식회사 Digital Still Camera with Multiple Central Processing Units and Its Control Method
JP2002200234A (en) * 2001-01-09 2002-07-16 Sankyo Kk Game machine

Also Published As

Publication number Publication date
JP2575055B2 (en) 1997-01-22

Similar Documents

Publication Publication Date Title
US4853731A (en) Autofocus camera having automatic focus adjustment apparatus
JPH02189530A (en) Camera equipped with resetting function for control means
JP5478866B2 (en) Imaging apparatus, control method thereof, and program
JPH0442136A (en) Camera with consecutive photography mode
JPH01180532A (en) Camera
JP2575055C (en)
JP2575056B2 (en) Camera having information signal confirmation means
JP3272477B2 (en) Camera with zoom device during step exposure
JP2654781B2 (en) camera
JP2546213B2 (en) Red-eye prevention control device
JP3046637U (en) Multi-exposure display device for camera
JP2605012B2 (en) Camera control device
JPH0235429A (en) Display controller for electronically controlled camera
JPH11190880A (en) Self-checking enabling camera
JP2761889B2 (en) Camera with strobe
JP3061752B2 (en) camera
JP2615801B2 (en) Camera operation control device
JP3157255B2 (en) Camera film feeder
JP2013029695A (en) Imaging apparatus and control method thereof
JPH11190878A (en) Camera controlling method
JP2000105397A (en) Camera
JPH05232560A (en) Camera
JPH0490527A (en) Camera
JPH01314226A (en) Camera with zooming device
JPH0973120A (en) Film driving device for camera

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees