JPH0269727A - Power failure detection method - Google Patents

Power failure detection method

Info

Publication number
JPH0269727A
JPH0269727A JP63221343A JP22134388A JPH0269727A JP H0269727 A JPH0269727 A JP H0269727A JP 63221343 A JP63221343 A JP 63221343A JP 22134388 A JP22134388 A JP 22134388A JP H0269727 A JPH0269727 A JP H0269727A
Authority
JP
Japan
Prior art keywords
battery
power
voltage
power supply
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
JP63221343A
Other languages
Japanese (ja)
Other versions
JP2802628B2 (en
Inventor
Yuji Eiki
栄木 裕二
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP63221343A priority Critical patent/JP2802628B2/en
Publication of JPH0269727A publication Critical patent/JPH0269727A/en
Application granted granted Critical
Publication of JP2802628B2 publication Critical patent/JP2802628B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)
  • Exposure Control For Cameras (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は電源断検出方式に関するものである。[Detailed description of the invention] (Industrial application field) The present invention relates to a power failure detection method.

(従来の技術〕 第3図は従来の電池電源を用いたカメラの電池装填部を
示す一部切欠分解平面図、第4図は従来のカメラと外部
電源との接続を示す一部切欠分解平面図であり、第3図
中、1はカメラ本体、2は電池、3は電池蓋、4は電池
2が本体1から抜脱されたことを検出する電池蓋開検出
スイッチであり、第4図中、5は外部電源からACアダ
プタ6を介して本体1に電源を供給する電池2と同形状
の器具である。
(Prior art) Fig. 3 is a partially cutaway exploded plan view showing the battery loading section of a camera using a conventional battery power source, and Fig. 4 is a partially cutaway exploded plan view showing the connection between the conventional camera and an external power source. 3, 1 is the camera body, 2 is the battery, 3 is the battery cover, 4 is a battery cover open detection switch that detects when the battery 2 is removed from the main body 1, and FIG. Inside, 5 is a device having the same shape as a battery 2 that supplies power to the main body 1 from an external power source via an AC adapter 6.

次に電池電源を用いる装置、例えばカメラについて第3
図、第4図を用いて説明する。
Next, we will discuss the third issue regarding devices that use battery power, such as cameras.
This will be explained using FIG.

従来、電池で駆動される装置、例えばカメラのように、
動作中急に電池を抜脱されて電源断をされると支障をき
たす装置においては、撮影動作後、例えば撮影枚数を消
去および読出し自在の不揮発性記憶素子(E” F  
ROM)に書き込むことが必要な場合、前記の電池を抜
脱するために電池蓋3が開けられるのを電池蓋開検出ス
イッチ4で検出して、直ちに現在の状態(撮影枚数)を
E”FROMに書き込み、次に電池2が投入された際に
はその続きを支障なく行えるように備える装置が知られ
ている。また第4図に示すように電池2の代りに、電池
と同一形状の器具5を用いて例えばACアダプタ6のよ
うな外部電源装置から電源供給を受けるように構成され
、前記と同様に、電池形状器具5を抜脱されて電源断を
された場合も電池蓋3が開けられるのを前記と同様に検
出スイッチ4で検出して、前記電池2の場合と同様に処
置して支障なく続行できる装置が知られている。例えば
、実開昭62−201861号公報には、電池収納室近
傍に電池飛び出し阻止部材を追加して電池を抜き取る時
間を長くするカメラ装置が示されている。
Traditionally, battery-powered devices, such as cameras,
For devices that can cause problems if the battery is suddenly removed and the power is cut off during operation, a non-volatile memory element (E" F
When it is necessary to write to the E"FROM), the battery cover opening detection switch 4 detects that the battery cover 3 is opened to remove the battery, and the current state (number of shots) is immediately written to the E"FROM. A device is known in which the device is equipped so that the next time the battery 2 is inserted, the continuation can be carried out without any trouble.Furthermore, as shown in Fig. 4, instead of the battery 2, a device having the same shape as the battery is used. 5 is configured to receive power supply from an external power supply device such as an AC adapter 6. Similarly to the above, even if the battery-shaped device 5 is removed and the power is turned off, the battery cover 3 can be opened. There is a device known that can detect the battery with the detection switch 4 in the same manner as described above, take the same measures as in the case of the battery 2, and continue without any trouble. A camera device is shown in which a battery ejecting prevention member is added near the battery storage chamber to lengthen the time it takes to remove the battery.

(発明が解決しようとする課題〕 以上のように、従来例においては、第4図に示すように
、電池2の代りに、電池形状器具5を用いて外部電源か
ら電源供給を受ける際に、コンセントの抜脱や、ACア
ダプタ6と電池形状器具5との間の接続コード7が切断
した場合には、電池蓋3の電池蓋開検出スイッチ4が作
動しないため、カメラ1の現在の状態をE2FROMに
書き込むことがなく、誤差が生じ、再度電源投入される
際の動作に支障をきたすという問題点かあった。
(Problems to be Solved by the Invention) As described above, in the conventional example, as shown in FIG. If the outlet is unplugged or the connection cord 7 between the AC adapter 6 and the battery-shaped device 5 is disconnected, the battery cover open detection switch 4 of the battery cover 3 will not operate, so the current state of the camera 1 will not be activated. There was a problem that no writing was done to the E2FROM, which caused errors and hindered operation when the power was turned on again.

この発明は上記のような従来例の問題点を解消するため
になされたもので、電池蓋開検出スイッチ4が作動しな
いようなACアダプタ6側でのACコンセント6bの抜
脱やコード7等の切断による電源断においても支障なく
動作できる装置を得ることを目的とする。
This invention has been made in order to solve the problems of the conventional example as described above. It is an object of the present invention to obtain a device that can operate without any trouble even when the power is cut off due to disconnection.

〔課題を解決するための手段〕[Means to solve the problem]

このため、この発明においては、電池電源を用いる装置
において、前記装置が前記電池と同一形状器具を介して
、外部から電源を供給されて動作するに際し、前記電源
断のとき電源を供給する電源供給手段と、電源電圧を一
定時間間隔で常時監視し前記電圧の低下を検出する電圧
検出手段とを設けて、外部電源断を予測することにより
、前記目的を達成しようとするものである。
Therefore, in the present invention, in a device using a battery power supply, when the device is operated by being supplied with power from an external source via a device having the same shape as the battery, a power supply is provided that supplies power when the power is cut off. The above object is achieved by predicting an external power outage by providing means and a voltage detecting means for constantly monitoring the power supply voltage at regular time intervals and detecting a drop in the voltage.

〔作用〕[Effect]

この発明における電源断検出方式は、電源断のとき、電
源供給手段によって電源を供給し、電圧検出手段により
電源電圧を一定時間間隔で常時監視し、電圧の降下を検
出して、外部電源断を予測する。
In the power failure detection method of the present invention, when a power failure occurs, the power supply means supplies power, the voltage detection means constantly monitors the power supply voltage at fixed time intervals, detects a voltage drop, and detects an external power failure. Predict.

〔実施例〕〔Example〕

以下この発明の一実施例を図面に基づいて説明する。 An embodiment of the present invention will be described below based on the drawings.

第1図はこの発明の一実施例である電源断検出方式を示
す構成図、第2図はこの一実施例の動作を制御するフロ
ーチャートであり、各図中、前記従来例におけると同一
または相当構成要素は同一符号で表わし、重複説明は省
略する。
FIG. 1 is a block diagram showing a power failure detection system according to an embodiment of the present invention, and FIG. 2 is a flowchart for controlling the operation of this embodiment. Components are represented by the same reference numerals, and duplicate explanations will be omitted.

又、第1図中、8はこの発明の一実施例であるカメラの
制御装置であり、一定周期、例えば数m5ecごとに電
源電圧が抵抗10.11により分割された電圧をA/D
変換器8aでA/D変換し、読み込み、電源電圧を常時
監視している。次に9は電池蓋開検出スイッチ、12は
電源断の場合、電源供給手段(L)である充電した電荷
によって電源を供給するコンデンサであり、その容量は
概略下記(1)式で求められる。
Further, in FIG. 1, 8 is a camera control device which is an embodiment of the present invention, and the power supply voltage is divided by a resistor 10.
The converter 8a performs A/D conversion, reads data, and constantly monitors the power supply voltage. Next, 9 is a battery cover open detection switch, and 12 is a power supply means (L) that supplies power by charged charges when the power is cut off, and its capacity is approximately determined by the following equation (1).

前記(1)式中、電源監視の間隔をtlee、カメラに
の動作中の七〇。での平均電流の最大値を■、カメラが
動作し続けられる最低電源電圧をVMin、ACアダプ
タ6から電池形状器具5へ供給される電圧をvInとし
ている。13はダイオード、14はフィルム給送装置、
15はシャッタ、16は測光装置、17は電源電圧の低
下を検出すると現在の状態、例えば撮影枚数が書き込ま
れ、次の電源投入に備える22F  ROM、18は操
作スイッチ、19は電源レギュレータであり、電圧検出
手段(M)は制御装置8.電池蓋開検出スイッチ9.抵
抗to、ttより構成され、前述のように、制御装置8
で電源電圧を一定時間間隔で常時監視し電源電圧の降下
を検出する手段である。
In the above formula (1), the power supply monitoring interval is tlee, and the interval during camera operation is 70. The maximum value of the average current at is denoted by {circle around (2)}, the minimum power supply voltage at which the camera can continue to operate is denoted by VMin, and the voltage supplied from the AC adapter 6 to the battery-shaped device 5 is denoted by vIn. 13 is a diode, 14 is a film feeding device,
15 is a shutter, 16 is a photometer, 17 is a 22F ROM in which the current state, for example, the number of shots is written when a drop in power supply voltage is detected, in preparation for the next power-on, 18 is an operation switch, and 19 is a power regulator. The voltage detection means (M) is the control device 8. Battery cover open detection switch9. It is composed of resistors to and tt, and as described above, the control device 8
This is a means of constantly monitoring the power supply voltage at regular intervals and detecting a drop in the power supply voltage.

尚、制御装置8は電池蓋開検出スイッチ9が動作すると
電池あるいは電池形状器具5が間もなく抜脱されるもの
と判断し、E2P  ROM17に現在の状態を書き込
むことは前記従来例で記述したとおりであるが、このE
’FROMの書き替えは通常数十m5ecを要するので
、電池蓋、電池蓋開検出スイッチ9および電池または電
池形状器具5の機構および配置は、電池蓋開検出スイッ
チが作動してから電池又は電池形状器具5が抜脱される
まで数十m5ec以上は必ず必要であるように構成され
ている。
It should be noted that when the battery cover open detection switch 9 is operated, the control device 8 determines that the battery or the battery-shaped device 5 will be removed soon, and writes the current state to the E2P ROM 17, as described in the conventional example. There is, but this E
'Rewriting FROM usually requires several tens of m5ec, so the mechanism and arrangement of the battery cover, battery cover open detection switch 9, and battery or battery shape device 5 should be changed after the battery cover open detection switch is activated. The structure is such that it always takes several tens of m5ec or more until the instrument 5 is removed.

次にこの一実施例の動作を第1図を用いて説明する。Next, the operation of this embodiment will be explained using FIG.

第1図において、電池電源を用いる装置、例えばカメラ
ににおいて、電池と同一形状器具5を介して、外部から
の電源であるACアダプタ6から電源を供給されて動作
する場合、制御装置8は一定時間間隔即ち一定周期、例
えば数m5ecごとに電源電圧を抵抗10.11により
分割した分割電圧をA/D変換器8aでA/D変換し、
読みこむことにより、常時監視している(電圧検出手段
(M))。
In FIG. 1, when a device using a battery power source, such as a camera, is operated by being supplied with power from an AC adapter 6, which is an external power source, through a device 5 having the same shape as the battery, the control device 8 is kept constant. A/D converter 8a converts the divided voltage obtained by dividing the power supply voltage by resistor 10.11 at time intervals, that is, at fixed cycles, for example, every few m5ec,
It is constantly monitored by reading it (voltage detection means (M)).

このように、監視中、ACアダプタ6と電池形状器具と
の間の接続コード7が急に切断されるか、又はコンセン
ト6bが急に抜脱された場合、即ち電源断の場合、電源
供給手段(L)であるコンデンサ12は充電された電荷
によってカメラにに電源を供給するので、カメラにはし
ばらく正常に動作を続ける。この間に前記電圧検出手段
(M)により電源電圧の低下を検出すると、制御装置8
は外部電源断を予測して、E2FROM17に現在の状
態例えば撮影枚数を書き込み、次の電源投入に備える。
In this way, during monitoring, if the connection cord 7 between the AC adapter 6 and the battery-shaped appliance is suddenly cut, or if the outlet 6b is suddenly pulled out, that is, if the power is cut off, the power supply means Since the capacitor 12 (L) supplies power to the camera using the charged electric charge, the camera continues to operate normally for a while. During this time, if the voltage detection means (M) detects a drop in the power supply voltage, the control device 8
predicts that the external power will be turned off, writes the current state, for example, the number of images to be taken, in the E2FROM 17, and prepares for the next power-on.

この場合、コンデンサ12の容量は前記のような値に構
成されているので、電圧検出手段(M)によって電源降
下が検出されてから現在状態をE2F  ROM17に
書き込む時間数+m5ecを保持することができる。
In this case, since the capacitance of the capacitor 12 is configured to the above-mentioned value, it is possible to hold the number of hours + m5ec for writing the current state into the E2F ROM 17 after the voltage detection means (M) detects a power drop. .

次にこの一実施例の動作を電圧検出手段を中心にして第
2図のフローチャートを用いて更に説明する。
Next, the operation of this embodiment will be further explained with reference to the flowchart of FIG. 2, focusing on the voltage detection means.

第2図において、スタートし、ステップ2aで抵抗10
.11により分割され入力された電源電圧をA/D変換
器8a(第1図)でA/D変換する、次にステップ2b
で数m5ec毎に前記A/D変換され入力された電圧を
読み込む、続けて、該電圧は標準電圧より低下したかを
判定しくステップ2c)、低下しておれば現在の状態を
E”P  ROM17(第1図)に書き込む(ステップ
2d)。低下していなければステップ2Cに戻る。ステ
ップ2dによりステップ2eに進み、電圧は回復したか
どうかを判定し、回復していればステップ2bに戻り、
回復していなければステップ2fに進み、電源0FFL
、なかを判定し電源0FFL/ていれば終了し、電源O
FFしていなければステップ2eに戻る。
In Figure 2, start and step 2a resistor 10
.. The input power supply voltage divided by 11 is A/D converted by the A/D converter 8a (Fig. 1), and then step 2b
The A/D converted and input voltage is read every few m5ec, and then it is determined whether the voltage has decreased below the standard voltage (Step 2c). If it has decreased, the current state is stored in the E"P ROM 17. (Fig. 1) (step 2d). If it has not decreased, return to step 2C. Step 2d advances to step 2e, determines whether the voltage has recovered, and if it has recovered, returns to step 2b,
If it has not recovered, proceed to step 2f and turn the power to 0FFL.
, and if the power is OFFFFL/, it ends and the power is OFF.
If it is not FF, return to step 2e.

(発明の効果) 以上説明したように、この発明によれば、電池電源を用
いる装置において、前記装置が前記電池と同一形状器具
を介して、外部から電源を供給されて動作するに際し、
電源断の場合、電源を供給する電源供給手段と、電源電
圧を一定時間間隔で常時監視し前記電圧の降下を検出す
る電圧検出手段を設けて、前記外部電源断を予測するの
で、電池蓋開検出スイッチ9が作動しないような5例え
ばACアダプタ6側でのACコンセント6bの抜脱やコ
ード7等の切断による電源断においても支障なく動作で
きる装置を得ることができる。
(Effects of the Invention) As explained above, according to the present invention, in a device using a battery power source, when the device operates by being supplied with power from the outside via a device having the same shape as the battery,
In the case of a power outage, a power supply means for supplying power and a voltage detection means for constantly monitoring the power supply voltage at regular time intervals and detecting a drop in the voltage are provided to predict the external power outage, so it is not necessary to open the battery cover. It is possible to obtain a device that can operate without any trouble even when the power is cut off due to disconnection of the AC outlet 6b on the side of the AC adapter 6 or disconnection of the cord 7, etc., when the detection switch 9 does not operate.

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

第1図はこの発明の一実施例である電源断検出方式を示
す構成図、第2図はこの一実施例の動作を制御するフロ
ーチャート、第3図は従来の電池電源を用いたカメラの
電池装填部を示す一部切欠分解平面図、第4図は従来の
カメラと外部電源の接続を示す一部切欠分解平面図であ
る。 1、に−・−カメラ 2−−−−−電池 4.9−−一電池蓋開検出スイッチ 5−−−−一電池形状器具 8−−−−−制御装置 10.11・−・−抵抗 !2・舛・・・コンデンサ 17・−−−−−E’F  ROM L・−・−電源供給手段 M −−−−−電圧検出手段
Fig. 1 is a block diagram showing a power failure detection method according to an embodiment of the present invention, Fig. 2 is a flowchart for controlling the operation of this embodiment, and Fig. 3 is a battery of a camera using a conventional battery power source. FIG. 4 is a partially cutaway exploded plan view showing the loading section, and FIG. 4 is a partially cutaway exploded plan view showing the connection between a conventional camera and an external power source. 1.---Camera 2---Battery 4.9---One battery cover open detection switch 5---One battery shaped device 8---Control device 10.11---Resistance ! 2. Capacitor 17 --- E'F ROM L --- Power supply means M --- Voltage detection means

Claims (1)

【特許請求の範囲】[Claims]  電池電源を用いる装置において、前記装置が、前記電
池と同一形状部を有する器具を介し、外部から電源を供
給されて動作するに際し、前記電源断のとき電源を供給
する電源供給手段と、電源電圧を一定時間間隔で常時監
視し前記電圧の降下を検出する電圧検出手段とを設けて
、前記外部電源断を予測することを特徴とする電源断検
出方式。
In a device using a battery as a power source, when the device operates by being supplied with power from an external source via a device having the same shape as the battery, a power supply means for supplying power when the power is cut off, and a power supply voltage and a voltage detection means for constantly monitoring the voltage at regular time intervals and detecting a drop in the voltage, thereby predicting a power outage of the external power supply.
JP63221343A 1988-09-06 1988-09-06 Power loss detection method Expired - Fee Related JP2802628B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63221343A JP2802628B2 (en) 1988-09-06 1988-09-06 Power loss detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63221343A JP2802628B2 (en) 1988-09-06 1988-09-06 Power loss detection method

Publications (2)

Publication Number Publication Date
JPH0269727A true JPH0269727A (en) 1990-03-08
JP2802628B2 JP2802628B2 (en) 1998-09-24

Family

ID=16765316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63221343A Expired - Fee Related JP2802628B2 (en) 1988-09-06 1988-09-06 Power loss detection method

Country Status (1)

Country Link
JP (1) JP2802628B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7764478B2 (en) * 2007-08-10 2010-07-27 Canon Kabushiki Kaisha Power supply control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7764478B2 (en) * 2007-08-10 2010-07-27 Canon Kabushiki Kaisha Power supply control system
US7936545B2 (en) * 2007-08-10 2011-05-03 Canon Kabushiki Kaisha Power supply control system

Also Published As

Publication number Publication date
JP2802628B2 (en) 1998-09-24

Similar Documents

Publication Publication Date Title
US4662736A (en) Power supply system for memory unit of camera
US6236226B1 (en) Test method and system for uninterruptible power supply
EP0505951B1 (en) Microcomputer power failure control circuit
US5321663A (en) Memory card and method and apparatus for checking backup voltage of memory card
JP3891184B2 (en) Portable imaging device and power supply switching control method
JPH05111170A (en) Battery driven electronic appliance
JPH0269727A (en) Power failure detection method
JP3215150B2 (en) Power switch circuit
JP2807793B2 (en) Power system
JPS63175911A (en) Memory module
JP4700865B2 (en) Recording device
JP2002270248A (en) Battery voltage detecting device and method
EP0426764A1 (en) Computer memory backup system
US20090059455A1 (en) Method and apparatus for power interruption protection
JPH04279876A (en) Device for incorporating secondary battery packs into electronic devices
JP2005185073A (en) Power supply interruption protection device and electronic camera device
JP2001025161A (en) Power supply circuit
KR930003568B1 (en) Charge start control method
JP3532614B2 (en) Memory packs and electronics
JP4003023B2 (en) Camera with battery check function
JP3849141B2 (en) Power supply for portable equipment
JPH08314584A (en) Microcomputer power source circuit
JP3499456B2 (en) Battery level detection device for electronic equipment
KR19990065341A (en) Video data storage device in case of power failure
JPH04326489A (en) Ic memory card

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees