JP2003008976A - Digital still camera - Google Patents

Digital still camera

Info

Publication number
JP2003008976A
JP2003008976A JP2001194781A JP2001194781A JP2003008976A JP 2003008976 A JP2003008976 A JP 2003008976A JP 2001194781 A JP2001194781 A JP 2001194781A JP 2001194781 A JP2001194781 A JP 2001194781A JP 2003008976 A JP2003008976 A JP 2003008976A
Authority
JP
Japan
Prior art keywords
circuit
cpu
output
reset
still 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.)
Pending
Application number
JP2001194781A
Other languages
Japanese (ja)
Inventor
Masahiro Tokita
雅弘 時田
Munetoshi Matsushita
宗敏 松下
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.)
Hitachi Consumer Electronics Co Ltd
Japan Display Inc
Original Assignee
Hitachi Device Engineering Co Ltd
Hitachi Consumer Electronics 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 Hitachi Device Engineering Co Ltd, Hitachi Consumer Electronics Co Ltd filed Critical Hitachi Device Engineering Co Ltd
Priority to JP2001194781A priority Critical patent/JP2003008976A/en
Publication of JP2003008976A publication Critical patent/JP2003008976A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cameras In General (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a digital device the operation of which is controlled by a controller and the interruption of power of which is made by the controller and which is reset by method causing no sense of incongruity to a user. SOLUTION: A discrimination device monitors selection of an OFF operation by a switch and a normal operation/abnormity operation of the controller and when the switch is turned off for a period in a hang-up state so, the controller is reset.

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は、CPUが暴走して
ハングアップ状態に陥ったときのリセット方法に係わ
り、特に、デジタルスチルカメラ等の操作スイッチ数が
少ない電子機器に適用して有効な技術に関する。 【0002】 【従来の技術】近年、デジタルスチルカメラなどの携帯
機器、あるいは情報機器等においては、高度の処理を必
要とする製品が増えつつあり、そして、これら製品の中
核となる中央処理装置(以下、CPUと称する。)も高
性能化されている。 【0003】その反面、CPUのプログラム処理は複雑
化しており、また、製品の商品化までの時間が短いこと
もあいまって、ハングアップ等の“バグ”が発生する可
能性を秘めたまま製品の発売に到るケースも少なくな
い。そのため、前記した製品では、この対策として、C
PUをリセットするためのCPUリセット手段を備える
のが普通である。 【0004】前記したようなCPUリセット手段の1つ
に、専用のリセットスイッチを設け、ハングアップ等の
異常状態に陥ったときに、使用者が当該専用のリセット
スイッチを押圧することによりCPUのリセットを行う
方法が知られている。 【0005】また、他の手段として、電源スイッチ以外
の複数のスイッチを同時に押圧することによりCPUの
リセットを行う方法や、電源スイッチと他のスイッチと
を同時に押圧し、一定の時間2つのスイッチが押圧され
ることによりCPUをリセットする方法が知られてい
る。 【0006】また、カウンタ回路を備えておき、CPU
が正常動作時にはカウンタを定期的にリセットし、CP
Uが異常となった場合にはリセット動作が行われないた
め一定のカウンタ数を越えることで、異常状態を察知す
る所謂ウォッチドッグタイマーが知られている。 【0007】 【発明が解決しようとする課題】しかしながら、CPU
リセット手段として、専用のスイッチを設ける方法にお
いては、専用のスイッチを設けることで必然的に製品の
コストアップの要因となり、また外観上のデザインが損
なわれる、あるいは簡単に押圧できないような工夫も必
要となるという問題点があった。 【0008】また、CPUリセット手段として、複数の
スイッチを同時に押圧する方法によれば、前記した問題
点は解決することはできるが、例えば、ワープロ等のキ
ー入力において2個のキーを同時押圧することは一般的
に行われているため、2個のスイッチを同時に押圧して
CPUをリセットすることは誤操作を招きやすい。 【0009】そのため、CPUリセット手段として、複
数のスイッチを同時に押圧する方法は、操作スイッチが
3個以上備える製品でないとその適用は難しいという問
題点があった。 【0010】さらに、リセットを必要とするか否かの判
断は使用者の判断に任されており、使用者の誤判断によ
り強制リセットに陥り、処理中のデータが失われてしま
うという問題点もあった。 【0011】さらに、ウォッチドッグタイマーによるリ
セットは自動回復を目的としたリセット手段である。そ
のため、ウォッチドッグタイマーリセットは常時動作す
ることを前提とした監視カメラのような製品には適して
いるが、一般消費者が利用する製品には不適切である。 【0012】本発明は、前記従来技術の問題点を解決す
るためになされたものであり、本発明の目的は、CPU
のリセット方法において、利用者が自然な動作によりC
PUをリセットとすることが可能となる技術を提供する
ことにある。 【0013】また、本発明の他の目的は、CPUのリセ
ット方法において、正常中に誤って、リセットスイッチ
を押圧した場合にも、処理中のデータが破壊されるのを
防止することが可能となる技術を提供することにある。
本発明の前記ならびにその他の目的と新規な特徴は、本
明細書の記述及び添付図面によって明らかにする。 【0014】 【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば、
下記のとおりである。 【0015】制御装置により機器の動作が制御され、電
源のOFFも制御装置により行われるデジタル機器にお
いて、スイッチによるOFF動作の選択と、制御装置の
正常動作/異常動作を判定装置により監視しており、制
御装置がハングアップの状態で、一定期間スイッチがO
FFであったならば、制御装置をリセットする。 【0016】 【発明の実施の形態】以下、本発明実施の形態を図面を
参照して説明する。なお、発明の実施の形態を説明する
ための全図において、同一機能を有するものは同一符号
を付け、その繰り返しの説明は省略する。 【0017】図1は、本発明の実施の形態であるデジタ
ルスチルカメラの概略ブロック図である。100はデジ
タルスチルカメラである。101はレンズで、レンズ1
01を通して被写体画像が入力する。レンズ101を通
して入力した被写体画像は、CCD固体撮像素子102
により光電変換され、アナログ電気信号となる。アナロ
グ電気信号はアナログデジタル変換回路103にてデジ
タル信号に変換される。デジタル信号はデジタルシグナ
ルプロセッサ104にてホワイトバランス等の画像処理
が行われ、デジタル画像が作成される。 【0018】このデジタル画像を画像圧縮回路(JPE
G)105にてデータ量を圧縮してJPEG画像とし
て、スマートメディアやコンパクトフラッシュ(商標
名、以下同じ)といった記録メディア106に保存す
る。保存されたJPEG画像は上記記録メディア106
をデジタルスチルカメラ100から取り出し、パソコン
等を用いて読み出し、表示・印刷等行う。または、記録
メディア106はデジタルスチルカメラ100に内蔵し
た状態で、USB等の通信方法を用いてデータ転送され
パソコン等に取り込まれる。107はUSBインターフ
ェイスである。 【0019】108はモータで、レンズ101のズーム
レンズ、フォーカスレンズ等を駆動する。109はモニ
タで、撮影画像や再生画像などの確認が行える。また、
使用者はキー110を操作してデジタルスチルカメラ1
00を操作する。10は中央演算処理装置(以下CP
U)で、使用者によるキー操作を監視して、デジタルス
チルカメラ100の動作を制御する。 【0020】111は電源回路である。図1では、結線
を省略したが、各回路には必要な電圧が電源回路111
から供給されている。デジタルスチルカメラ100は、
電源として電池112を用いている。電池112として
は、アルカリ電池といった1次電池とリチウムイオン電
池などの2次電池が用いられる。電源回路111は待機
中はOFF状態にあり、使用者の操作によりON状態に
なると、電源回路で生成した電圧を各ブロックへ供給し
て、CPU10をはじめシステムが起動するようになっ
ている。撮影を終了しOFF操作すると、CPU10が
これを認識しCPU10が電源回路111をOFFす
る。 【0021】なお、撮影直後等、画像データが記録メデ
ィア106に保存される以前にOFF操作が行われた場
合には、画像データが記録メディア106に保存される
のを待ってから、CPU10は電源回路111をOFF
する。 【0022】図2は、デジタルスチルカメラの電源関連
のブロック図である。10は中央演算処理装置(CP
U)でデジタルスチルカメラの動作を制御する。12は
モードダイヤルである。デジタルスチルカメラの使用者
は、モードダイヤル12を操作(回転)することで、デ
ジタルスチルカメラの動作モードを設定する。13は分
圧抵抗回路である。モードダイヤル12と分圧抵抗回路
13とは電気的に接続されており、特定の電圧がモード
ダイヤル12に入力している。CPU10はアナログデ
ジタル変換回路入力部(以後AD変換入力)ADCを有
しており、モードダイヤル12により選択された電圧値
はAD変換入力ADCに入力する。CPU10はAD変
換入力ADCに入力した電圧値を参照することで、使用
者の設定した動作モードを検知する。 【0023】次に、モードダイヤル12がOFFから撮
影に切り換わった場合を用いて、起動動作について説明
する。図2において、14はON/OFF検知回路であ
る。ON/OFF検知回路14はモードダイヤル12か
らの出力電圧を監視している。15はフリップフロップ
回路で電源回路111をON/OFFする信号を出力す
る。分圧抵抗回路13、ON/OFF検知回路14、フ
リップフロップ回路15、電源回路111には、直接電
池112から電圧VBが供給されている。これらの回路
は電源回路111を起動するために必要な回路であり、
そのため、常時電源より電圧が供給されている必要があ
る。 【0024】モードダイアル12がOFFから撮影に回
転すると、ON/OFF検知回路14は分圧抵抗回路1
3からの電圧の変化により、ONされたと検知して、出
力aを1とする。フリップフロップ回路15のセット端
子Sに1がセットされるため、出力Qは1を出力する。
電源回路111はON/OFF入力が1になると、ON
状態となり、電源回路111から電源電圧VDDが出力
する。電源電圧VDDが出力するとCPU10および、
その他の周辺回路に電源電圧VDDが供給されることと
なり、デジタルスチルカメラ100が起動する。 【0025】CPU10は一定の起動動作終了後、モー
ドダイアル12からの電圧を、AD変換入力ADCにて
参照し、撮影モードであることを認識して撮影状態に入
る。 【0026】次に終了動作について説明する。モードダ
イアル12がOFFに設定されると、CPU10はAD
変換入力ADCにて電圧の変化を検知して、OFFモー
ドであることを認識して所定の終了処理を行う。その
後、汎用ポートPO1を1にして、フリップフロップ回
路15のリセット端子Rをリセットし、フリップフロッ
プ回路15の出力Qを0として電源回路111をOFF
状態にする。これにより、電源電圧VDDの出力が遮断
されCPU10および、その他の周辺回路の動作が終了
する。 【0027】なお、CPU10の汎用ポートPO2は、
キースキャンに使用されている。デジタルスチルカメラ
10では、ズームキーやマクロ切り換え、ストロボ設定
など多くのスイッチが必要であり、CPU10の汎用ポ
ートが不足する場合に、キースキャン方式によるスイッ
チ検出が行われている。キースキャン信号は一定の間隔
毎、CPU10から信号が出力されている。また、キー
スキャン信号はCPU10がプログラミングにより形成
出力する信号である。 【0028】図2に示す回路では、なんらかの理由でC
PU10がハングアップしてしまうと、モードダイアル
12をOFFにしても、電源回路111をOFFできな
くなるといった不具合が発生する。すなわちモードダイ
アル12からOFFモードを示す電圧がAD変換入力A
DCに入力しても、CPU10はハングアップしている
ため、OFFモードあることを認識することができず、
汎用ポートPO1から電源回路111をOFFにする信
号を出力することができない。こうなると、ハングアッ
プ状態から抜け出るためには、電池112をデジタルス
チルカメラ100から抜き取るか、電池112の消耗を
待つしか手段がなくなる。 【0029】図3に、CPU10のハングアップ対策し
た回路を示す。20はハングアップ対処回路で判定回路
21とOR回路22とからなる。判定回路21にはON
/OFF検知回路14の出力bとキースキャン出力が入
力している。判定回路21はON/OFF検知回路14
の出力bがOFFを示す1で、一定期間キースキャン信
号が入力しない場合に、判定出力をOR回路22に出力
する。判定出力が1の場合、OR回路22からフリップ
フロップ回路15のリセット端子Rに1がセットされる
ため、出力Qは0を出力する。電源回路111はON/
OFF入力が0になると、OFF状態となり電源が切ら
れ、CPU10および、その他周辺回路がOFF状態と
なる。 【0030】なお、正常動作時にはCPU10の汎用ポ
ートPO1の出力は、OR回路22の一方の入力に接続
されており、CPU10により電源回路111をOFF
することも可能である。 【0031】図4に、判定回路21の概略回路図と、タ
イミングチャートを示す。23はフリップフロップ回路
である。デジタルスチルカメラがON状態(モードダイ
アルがOFF以外の位置)にあるとき、ON/OFF検
知回路14の出力bより0が出力するため、フリップフ
ロップ回路23の負論理セット端子/Sがセットされ、
出力Qは1となり、ダイオード25は非導通となる。一
方ダイオード24は導通状態となるため、ON/OFF
検知回路14の出力bが0の場合、判定出力は常に0と
なる。 【0032】次に正常終了時の動作を説明する。時刻t
1でモードダイアルがOFFに操作され、ON/OFF
検出回路14の出力bが0から1に変化すると、ダイオ
ード24は非導通となり、また、ダイオード25も非導
通であるため、コンデンサ27は抵抗26により充電さ
れ充電電圧は徐々に上がっていく。なお、コンデンサ2
7と抵抗26による時定数はキースキャン周期Tより十
分長く設定される。そのため、キースキャンの1周期程
度の期間では、充電される電圧は判定出力がハイレベル
にならないように設定されている。例えばキースキャン
周期Tを10msで行っているとすると充電時定数は1
00ms程度とする。 【0033】t1後、最初のキースキャンパルスが入力
する時刻t2において、フリップフロップ回路23はク
ロック端子CKにキースキャンパルスの立ち上がりエッ
ジが入力する。クロック端子CKの入力が0から1に変
化すると、データ端子DはGNDに接続されているた
め、フリップフロップ回路23はデータ端子Dの値を保
持し出力Qは0となる。 【0034】出力Qが0になると、ダイオード25は導
通してコンデンサ27は瞬時に放電する。時刻t1から
t2までの時間は前述したように、キースキャン周期T
よりも短いため、充電電圧は低く、時刻t1からt2ま
での間、判定出力の値は0である。以後フリップフロッ
プ回路23はキースキャンパルスの立ち上がりエッジの
度に0がラッチされ、出力Qは0を保持する。よってダ
イオード25は導通し続け判定出力は0のままである。
すなわち、正常動作時は判定回路21の出力は0である
ため、電源回路111をOFFとする制御はCPU10
の汎用ポートPO1による本来の制御に委ねられてい
る。 【0035】次にハングアップ時の動作について説明す
る。前述した正常時と同様に、時刻t1でモードダイア
ルがOFFに操作され、ON/OFF検出回路14の出
力bが0から1に変化すると、時刻t1よりコンデンサ
27の充電が開始される。しかし既にCPU10はハン
グアップしているため、汎用ポートPO2からのキース
キャン出力は0または1で停止している。そのため、フ
リップフロップ回路23のクロック端子CKに入力する
値が変化しないため、フリップフロップ回路23の出力
Qは1のまま変化しない。従ってコンデンサ27に充電
される電圧は上昇し続け、判定出力はいずれ0から1に
変化する。すなわち、ハングアップ時は判定回路から1
が出力することで、電源回路111はOFFすることが
可能である。 【0036】ハングアップ状態の判別にキースキャンパ
ルスを用いたものを説明したが、CPU10から出力す
る周期性のあるパルス状の信号で、CPU10のハング
アップ時に出力が停止するものであれば、ハングアップ
状態の判別に利用可能である。もちろん、CPU10の
ハングアップを監視する単独の回路からの出力であって
も利用可能である。 【0037】また、図4の判定回路ではフリップフロッ
プ回路を用いたが、判定回路としてはフリップフロップ
回路に限定されるものではない。図5に示す整流化回路
のように、キースキャン出力中はハイレベルを出力し、
キースキャン停止中はGNDレベルを出力する回路を用
いいることも可能である。 【0038】図5において、28はコンデンサでキース
キャン信号の交流成分が通過する。29、30はダイオ
ードで整流作用を有する。31は充電用コンデンサで、
32は放電用抵抗である。 【0039】図6に本発明の実施の形態であるデジタル
スチルカメラ100の外形を示す。モードダイアル12
は使用者の操作し易い位置に設けられている。従来よ
り、使用者は動作に異常を感じると、電源をOFFしよ
うとすることが自然である。しかしながら、デジタル機
器では電源スイッチをOFFにした場合でも、電源回路
をOFFにするのは制御回路である場合が多い。その場
合に制御回路がハングアップして、使用者が異常を感じ
電源スイッチをOFFしたとしても、制御回路はハング
アップしており、電源回路をOFFできない状態が生じ
る。そのため、デジタル機器ではリセットスイッチを別
に設けており、制御回路のハングアップを対処してい
る。しかしながら、家電品ではリセットスイッチを操作
することになじみがないため、電源スイッチをOFFと
することで制御回路のリセットが行われる本発明が有効
である。 【0040】図7に、家電品に本発明を適用した実施の
形態として電話機を示す。図7において、200は電話
機である。電話機200は画像入力装置の機能を備えて
おり、レンズ101、撮像素子102、デジタルシグナ
ルプロセッサ104を備えている。また、モニタ109
により画像表示可能である。また、必要に応じて記録メ
ディア106に画像情報等を記録できる。211は通信
制御回路である。通信制御回路211には通信回線22
0が接続している。通信制御回路211では通信回線2
20毎の規定に従い必要な制御が行われる。 【0041】電話機200には、電源回路111と電池
112が備えられている。電池112は停電時のバック
アップ用等に用いられる。そのため、家庭用電源を切っ
たとしてもバックアップ用電池により、電話機200内
のデータの多くは保存される。そのため、制御回路21
0がハングアップした場合には外部からリセットする必
要が生じる。 【0042】212は送受話器で、213はフック検出
回路である。フック検出回路213はオンフックの状態
であるか、オフフックの状態であるかを検出する。制御
回路210がハングアップした場合などには、オンフッ
クの状態が一定期間以上であることを検出して、制御回
路210をリセットする。なお、判定回路等は前述の回
路を利用することが可能である。 【0043】使用者はモニタ109に映し出された映像
が静止したり等して、電話機200に不具合が発生した
場合に、受話器をフック部に置きオンフックの状態とし
たり、音声に問題がなければ、一定時間通話しその後オ
ンフックの状態として通話を終了することが自然であ
る。そのため、電話機200の動作終了を意味するオン
フックの状態と制御回路のリセットが連動しており、リ
セット操作が確実に行え、使用者がリセット操作を忘れ
た場合に発生するであろう故障等を防止することが可能
となる。 【0044】 【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば、下
記の通りである。 【0045】本発明によれば、電源を切るという使用者
の自然な行動により、制御回路のリセットが行われ、リ
セットボタンを押す等のリセット方式に比べて、使用者
に違和感を感じさせないリセット方法を実現可能であ
る。 【0046】本発明によれば、電源を切る行為がリセッ
トする行為と連動しており、電源を切ることにより予想
される機器の動作終了が確実に行われ、ハングアップに
よる機器の異常動作及び、発熱等による故障を防止でき
る。
Description: BACKGROUND OF THE INVENTION [0001] 1. Field of the Invention [0002] The present invention relates to a reset method when a CPU goes out of control and falls into a hang-up state, and in particular, the number of operation switches of a digital still camera or the like is reduced. The present invention relates to a technology effective when applied to a small number of electronic devices. 2. Description of the Related Art In recent years, portable devices such as digital still cameras, information devices, and the like have been increasing in number of products requiring advanced processing. Hereinafter, the CPU will be referred to as “CPU”). On the other hand, the program processing of the CPU is complicated, and the time required for commercialization of the product is short, so that there is a possibility that a “bug” such as a hang-up may occur. In many cases, it will be released. Therefore, in the above products, C
It is common to provide a CPU reset means for resetting the PU. A dedicated reset switch is provided as one of the CPU reset means as described above. When an abnormal state such as a hang-up occurs, the user presses the dedicated reset switch to reset the CPU. There is a known way to do this. Further, as another means, a method of resetting the CPU by simultaneously pressing a plurality of switches other than the power switch, or a method of simultaneously pressing the power switch and another switch and setting two switches for a certain period of time. There is known a method of resetting a CPU when pressed. A counter circuit is provided, and a CPU is provided.
Resets the counter periodically when the
When U becomes abnormal, a reset operation is not performed, and a so-called watchdog timer that detects an abnormal state by exceeding a certain counter number is known. [0007] However, the CPU
In the method of providing a dedicated switch as a resetting means, providing a dedicated switch inevitably causes an increase in the cost of the product, and also requires a device that impairs the appearance design or cannot be easily pressed. There was a problem that becomes. According to a method of simultaneously pressing a plurality of switches as the CPU reset means, the above-mentioned problem can be solved. However, for example, two keys are simultaneously pressed in a key input of a word processor or the like. Since the operation is generally performed, resetting the CPU by simultaneously pressing two switches easily causes an erroneous operation. For this reason, the method of simultaneously pressing a plurality of switches as the CPU reset means has a problem that its application is difficult unless the product has three or more operation switches. Further, the determination as to whether or not a reset is required is left to the judgment of the user. For this reason, the user is forced to reset due to an erroneous judgment, and the data being processed is lost. there were. Further, reset by the watchdog timer is reset means for automatic recovery. Therefore, the watchdog timer reset is suitable for a product such as a surveillance camera which is assumed to operate constantly, but is not suitable for a product used by general consumers. The present invention has been made to solve the above-mentioned problems of the prior art, and an object of the present invention is to provide a CPU.
In the reset method of the above, the user operates the C
An object of the present invention is to provide a technology that enables a PU to be reset. Another object of the present invention is to provide a method for resetting a CPU, which can prevent the data being processed from being destroyed even if the reset switch is pressed by mistake during normal operation. It is to provide a new technology.
The above and other objects and novel features of the present invention will become apparent from the description of the present specification and the accompanying drawings. Means for Solving the Problems Of the inventions disclosed in the present application, the outline of a representative one will be briefly described.
It is as follows. In a digital device in which the operation of the device is controlled by the control device and the power is turned off by the control device, the selection of the OFF operation by the switch and the normal operation / abnormal operation of the control device are monitored by the determination device. When the control device is in the hang-up state and the switch is
If it is FF, reset the control device. Embodiments of the present invention will be described below with reference to the drawings. In all the drawings for describing the embodiments of the present invention, components having the same functions are denoted by the same reference numerals, and their repeated description will be omitted. FIG. 1 is a schematic block diagram of a digital still camera according to an embodiment of the present invention. 100 is a digital still camera. 101 is a lens, lens 1
01, a subject image is input. A subject image input through the lens 101 is input to a CCD solid-state imaging device 102.
Is converted into an analog electric signal. The analog electric signal is converted into a digital signal by the analog-to-digital conversion circuit 103. The digital signal is subjected to image processing such as white balance by the digital signal processor 104, and a digital image is created. This digital image is converted into an image compression circuit (JPE).
G) At 105, the data amount is compressed and stored as a JPEG image in a recording medium 106 such as a smart media or a compact flash (trade name, the same applies hereinafter). The stored JPEG image is stored in the recording medium 106.
Is taken out of the digital still camera 100, read out using a personal computer or the like, and displayed and printed. Alternatively, in a state where the recording medium 106 is built in the digital still camera 100, data is transferred using a communication method such as USB and is taken into a personal computer or the like. 107 is a USB interface. Reference numeral 108 denotes a motor for driving a zoom lens, a focus lens, and the like of the lens 101. Reference numeral 109 denotes a monitor which can check a captured image, a reproduced image, and the like. Also,
The user operates the key 110 to operate the digital still camera 1.
Operate 00. 10 is a central processing unit (hereinafter referred to as CP
In U), the operation of the digital still camera 100 is controlled by monitoring the key operation by the user. Reference numeral 111 denotes a power supply circuit. Although the connection is omitted in FIG. 1, the necessary voltage is applied to each circuit.
Supplied from The digital still camera 100
The battery 112 is used as a power supply. As the battery 112, a primary battery such as an alkaline battery and a secondary battery such as a lithium ion battery are used. The power supply circuit 111 is in an OFF state during standby, and when turned on by a user operation, supplies a voltage generated by the power supply circuit to each block, and the system including the CPU 10 starts up. When the photographing is ended and the OFF operation is performed, the CPU 10 recognizes this and turns off the power supply circuit 111. If an OFF operation is performed before the image data is stored in the recording medium 106, such as immediately after photographing, the CPU 10 waits for the image data to be stored in the recording medium 106 before the CPU 10 Turn off circuit 111
I do. FIG. 2 is a block diagram related to the power supply of the digital still camera. 10 is a central processing unit (CP
U) controls the operation of the digital still camera. Reference numeral 12 denotes a mode dial. The user of the digital still camera operates (rotates) the mode dial 12 to set the operation mode of the digital still camera. Reference numeral 13 denotes a voltage dividing resistor circuit. The mode dial 12 and the voltage dividing resistance circuit 13 are electrically connected, and a specific voltage is input to the mode dial 12. The CPU 10 has an analog-to-digital conversion circuit input unit (hereinafter, AD conversion input) ADC, and inputs the voltage value selected by the mode dial 12 to the AD conversion input ADC. The CPU 10 detects the operation mode set by the user by referring to the voltage value input to the AD conversion input ADC. Next, the starting operation will be described using the case where the mode dial 12 is switched from OFF to photographing. In FIG. 2, reference numeral 14 denotes an ON / OFF detection circuit. The ON / OFF detection circuit 14 monitors the output voltage from the mode dial 12. A flip-flop circuit 15 outputs a signal for turning on / off the power supply circuit 111. The voltage VB is directly supplied from the battery 112 to the voltage dividing resistance circuit 13, the ON / OFF detection circuit 14, the flip-flop circuit 15, and the power supply circuit 111. These circuits are necessary to activate the power supply circuit 111,
Therefore, it is necessary that the voltage is always supplied from the power supply. When the mode dial 12 is turned from OFF to photographing, the ON / OFF detection circuit 14
It is detected that the switch has been turned on based on the change in the voltage from 3 and the output a is set to 1. Since 1 is set to the set terminal S of the flip-flop circuit 15, the output Q outputs 1.
When the ON / OFF input becomes 1, the power supply circuit 111 is turned ON.
In this state, the power supply circuit 111 outputs the power supply voltage VDD. When the power supply voltage VDD is output, the CPU 10 and
The power supply voltage VDD is supplied to the other peripheral circuits, and the digital still camera 100 starts. After a certain start-up operation, the CPU 10 refers to the voltage from the mode dial 12 with the AD conversion input ADC, recognizes that the mode is the shooting mode, and enters a shooting state. Next, the termination operation will be described. When the mode dial 12 is set to OFF, the CPU 10
A change in voltage is detected by the conversion input ADC, and a predetermined end process is performed by recognizing that the mode is the OFF mode. Thereafter, the general-purpose port PO1 is set to 1, the reset terminal R of the flip-flop circuit 15 is reset, the output Q of the flip-flop circuit 15 is set to 0, and the power supply circuit 111 is turned off.
State. As a result, the output of the power supply voltage VDD is cut off, and the operation of the CPU 10 and other peripheral circuits ends. The general-purpose port PO2 of the CPU 10
Used for key scan. The digital still camera 10 requires many switches such as a zoom key, macro switching, and strobe setting. When the general-purpose port of the CPU 10 is insufficient, switch detection is performed by a key scan method. The key scan signal is output from the CPU 10 at regular intervals. The key scan signal is a signal formed and output by the CPU 10 through programming. In the circuit shown in FIG. 2, for some reason C
If the PU 10 hangs up, a problem occurs that the power supply circuit 111 cannot be turned off even if the mode dial 12 is turned off. That is, the voltage indicating the OFF mode is supplied from the mode dial 12 to the AD conversion input A.
Even if input to DC, the CPU 10 is hung up, and cannot recognize that there is the OFF mode.
A signal for turning off the power supply circuit 111 cannot be output from the general-purpose port PO1. In this case, the only way to escape from the hang-up state is to remove the battery 112 from the digital still camera 100 or wait until the battery 112 is exhausted. FIG. 3 shows a circuit for preventing hang-up of the CPU 10. Reference numeral 20 denotes a hang-up countermeasure circuit which includes a determination circuit 21 and an OR circuit 22. ON for the judgment circuit 21
The output b of the / OFF detection circuit 14 and the key scan output are input. The judgment circuit 21 is an ON / OFF detection circuit 14
When the output b is 1 indicating OFF and the key scan signal is not input for a certain period, the determination output is output to the OR circuit 22. When the determination output is 1, 1 is set from the OR circuit 22 to the reset terminal R of the flip-flop circuit 15, and thus the output Q outputs 0. The power supply circuit 111 is ON /
When the OFF input becomes 0, the power is turned off and the CPU 10 and other peripheral circuits are turned off. During normal operation, the output of the general-purpose port PO1 of the CPU 10 is connected to one input of the OR circuit 22, and the power supply circuit 111 is turned off by the CPU 10.
It is also possible. FIG. 4 shows a schematic circuit diagram of the determination circuit 21 and a timing chart. 23 is a flip-flop circuit. When the digital still camera is in the ON state (the position of the mode dial is other than OFF), since 0 is output from the output b of the ON / OFF detection circuit 14, the negative logic set terminal / S of the flip-flop circuit 23 is set,
The output Q becomes 1, and the diode 25 becomes non-conductive. On the other hand, since the diode 24 is in a conductive state, it is ON / OFF.
When the output b of the detection circuit 14 is 0, the judgment output is always 0. Next, the operation at the time of normal termination will be described. Time t
The mode dial is turned off by 1 and turned on / off.
When the output b of the detection circuit 14 changes from 0 to 1, the diode 24 is turned off and the diode 25 is also turned off, so that the capacitor 27 is charged by the resistor 26 and the charging voltage is gradually increased. Note that the capacitor 2
The time constant of the resistor 7 and the resistor 26 is set sufficiently longer than the key scan period T. For this reason, the charging voltage is set so that the determination output does not become high level during about one cycle of the key scan. For example, if the key scan cycle T is performed at 10 ms, the charging time constant is 1
It is about 00 ms. At time t2 when the first key scan pulse is input after t1, the flip-flop circuit 23 inputs the rising edge of the key scan pulse to the clock terminal CK. When the input of the clock terminal CK changes from 0 to 1, the data terminal D is connected to GND, so that the flip-flop circuit 23 holds the value of the data terminal D and the output Q becomes 0. When the output Q becomes 0, the diode 25 conducts and the capacitor 27 discharges instantaneously. As described above, the time from time t1 to t2 is the key scan period T
Therefore, the charging voltage is low, and the value of the determination output is 0 from time t1 to t2. Thereafter, the flip-flop circuit 23 latches 0 at each rising edge of the key scan pulse, and the output Q holds 0. Therefore, the diode 25 continues to conduct and the determination output remains 0.
That is, since the output of the determination circuit 21 is 0 during normal operation, the control for turning off the power supply circuit 111 is performed by the CPU 10.
Of the general control by the general-purpose port PO1. Next, the operation at the time of a hang-up will be described. When the mode dial is turned off at time t1 and the output b of the ON / OFF detection circuit 14 changes from 0 to 1 at the time t1, charging of the capacitor 27 starts at time t1. However, since the CPU 10 has already hung up, the key scan output from the general-purpose port PO2 has stopped at 0 or 1. Therefore, the value input to the clock terminal CK of the flip-flop circuit 23 does not change, so that the output Q of the flip-flop circuit 23 does not change to 1. Therefore, the voltage charged in the capacitor 27 continues to increase, and the judgment output eventually changes from 0 to 1. That is, at the time of hang-up, 1
Output, the power supply circuit 111 can be turned off. Although a description has been given of the case where a key scan pulse is used to determine the hang-up state, if a periodic pulse-like signal output from the CPU 10 and the output is stopped when the CPU 10 hangs up, the hang-up state is detected. It can be used to determine the up state. Of course, even an output from a single circuit that monitors the hang-up of the CPU 10 can be used. Although the flip-flop circuit is used in the determination circuit of FIG. 4, the determination circuit is not limited to the flip-flop circuit. As in the rectifying circuit shown in FIG. 5, a high level is output during key scan output,
While the key scan is stopped, a circuit that outputs a GND level can be used. In FIG. 5, reference numeral 28 denotes a capacitor through which the AC component of the key scan signal passes. 29 and 30 are diodes having a rectifying function. 31 is a charging capacitor
32 is a discharge resistor. FIG. 6 shows an outer shape of a digital still camera 100 according to an embodiment of the present invention. Mode dial 12
Are provided at positions where the user can easily operate. Conventionally, it is natural for a user to turn off the power when he or she feels an abnormality in the operation. However, in a digital device, even when the power switch is turned off, the control circuit often turns off the power circuit. In this case, even if the control circuit hangs up and the user feels an abnormality and turns off the power switch, the control circuit hangs up and the power supply circuit cannot be turned off. Therefore, a reset switch is separately provided in the digital device to deal with a hang-up of the control circuit. However, since the operation of the reset switch is not familiar to home appliances, the present invention in which the control circuit is reset by turning off the power switch is effective. FIG. 7 shows a telephone as an embodiment in which the present invention is applied to home electric appliances. In FIG. 7, reference numeral 200 denotes a telephone. The telephone 200 has a function of an image input device, and includes a lens 101, an image sensor 102, and a digital signal processor 104. Also, the monitor 109
Can display an image. Further, image information and the like can be recorded on the recording medium 106 as needed. 211 is a communication control circuit. The communication control circuit 211 includes a communication line 22
0 is connected. In the communication control circuit 211, the communication line 2
Necessary control is performed according to the rules for each 20. The telephone 200 includes a power supply circuit 111 and a battery 112. The battery 112 is used for backup at the time of a power failure. Therefore, even if the home power supply is turned off, much of the data in telephone 200 is stored by the backup battery. Therefore, the control circuit 21
If 0 hangs up, an external reset is required. Reference numeral 212 denotes a handset, and reference numeral 213 denotes a hook detection circuit. The hook detection circuit 213 detects whether the hook is on-hook or off-hook. When the control circuit 210 hangs up, for example, it is detected that the on-hook state is longer than a predetermined period, and the control circuit 210 is reset. Note that the above-described circuit can be used as the determination circuit and the like. When a problem occurs in the telephone 200 due to the image displayed on the monitor 109 being frozen or the like, the user puts the receiver on the hook and puts the telephone in the on-hook state. It is natural to talk for a certain period of time and then end the call in an on-hook state. Therefore, the on-hook state, which means the end of the operation of the telephone 200, and the reset of the control circuit are linked, and the reset operation can be performed reliably, preventing a failure that would occur if the user forgets the reset operation. It is possible to do. The effects obtained by typical aspects of the invention disclosed in the present application will be briefly described as follows. According to the present invention, the control circuit is reset by the natural action of the user to turn off the power, and a reset method that does not make the user feel uncomfortable as compared with a reset method such as pressing a reset button. Is feasible. According to the present invention, the act of turning off the power is linked with the act of resetting, so that the operation of the device expected to be terminated by turning off the power is reliably performed, and the abnormal operation of the device due to a hang-up, Failure due to heat generation or the like can be prevented.

【図面の簡単な説明】 【図1】本発明の実施の形態であるデジタルスチルカメ
ラの概略構成を示すブロック図である。 【図2】本発明の実施の形態であるデジタルスチルカメ
ラの電源部を示すブロック図である。 【図3】本発明の実施の形態であるデジタルスチルカメ
ラの電源部を示すブロック図である。 【図4】本発明の実施の形態であるデジタルスチルカメ
ラの判定回路を示す概略回路図とタイミングチャートで
ある。 【図5】本発明の実施の形態であるデジタルスチルカメ
ラの判定回路を示す概略回路図である。 【図6】本発明の実施の形態であるデジタルスチルカメ
ラの外形を示す概略斜視図である。 【図7】本発明の実施の形態である電話機の外形を示す
概略構成を示すブロック図である。 【符号の説明】 10…CPU、12…モードダイアル、13…分圧抵抗
回路、14…ON/OFF検出回路、15…フリップフ
ロップ回路、20…ハングアップ対処回路、21…判定
回路、22…OR回路、23…フリップフロップ回路、
24、25…ダイオード、26…抵抗、27、28…コ
ンデンサ、29、30…ダイオード、31…コンデン
サ、32…抵抗、33…AND回路、100…デジタル
スチルカメラ、101…レンズ、102…CCD固体撮
像素子、103…AD変換回路、104…デジタルシグ
ナルプロセッサ、105…JPEG変換回路、106…
記録メディア、107…USBインタフェース、108
…モータ、109…モニタ、110…キー、111…電
源回路、112…電池、200…電話機、210…制御
回路、211…通信制御回路、212…送受話器、21
3…フック検出回路、220…通信回線、
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a schematic configuration of a digital still camera according to an embodiment of the present invention. FIG. 2 is a block diagram showing a power supply unit of the digital still camera according to the embodiment of the present invention. FIG. 3 is a block diagram showing a power supply unit of the digital still camera according to the embodiment of the present invention. FIG. 4 is a schematic circuit diagram and a timing chart showing a determination circuit of the digital still camera according to the embodiment of the present invention. FIG. 5 is a schematic circuit diagram showing a determination circuit of the digital still camera according to the embodiment of the present invention. FIG. 6 is a schematic perspective view showing an outer shape of a digital still camera according to an embodiment of the present invention. FIG. 7 is a block diagram showing a schematic configuration showing an outer shape of the telephone according to the embodiment of the present invention. [Description of Signs] 10 CPU, 12 mode dial, 13 voltage dividing resistor circuit, 14 ON / OFF detection circuit, 15 flip-flop circuit, 20 hang-up handling circuit, 21 determination circuit, 22 OR Circuit, 23 ... flip-flop circuit,
24, 25 ... diode, 26 ... resistor, 27, 28 ... capacitor, 29, 30 ... diode, 31 ... capacitor, 32 ... resistor, 33 ... AND circuit, 100 ... digital still camera, 101 ... lens, 102 ... CCD solid state imaging Element, 103 AD conversion circuit, 104 Digital signal processor, 105 JPEG conversion circuit, 106
Recording media 107 USB interface 108
... Motor, 109 ... Monitor, 110 ... Key, 111 ... Power circuit, 112 ... Battery, 200 ... Telephone, 210 ... Control circuit, 211 ... Communication control circuit, 212 ... Handset, 21
3: hook detection circuit, 220: communication line,

Claims (1)

【特許請求の範囲】 【請求項1】制御装置と、画像入力回路と、上記制御装
置からの信号により出力が停止する電源回路と、電源O
FFを選択するスイッチと、上記制御装置が出力する一
定周期のパルス信号を入力する判定装置とを有してお
り、上記判定装置は上記スイッチがOFFを選択した状
態で、上記パルス信号の入力が一定期間停止したら、制
御装置をリセットする信号を出力することを特徴とする
デジタルスチルカメラ。
1. A control device, an image input circuit, a power supply circuit whose output is stopped by a signal from the control device, and a power supply O
A switch for selecting an FF, and a determination device for inputting a pulse signal of a constant cycle output by the control device, wherein the determination device determines that the input of the pulse signal is in a state where the switch is selected to be OFF. A digital still camera, which outputs a signal for resetting a control device after stopping for a certain period of time.
JP2001194781A 2001-06-27 2001-06-27 Digital still camera Pending JP2003008976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001194781A JP2003008976A (en) 2001-06-27 2001-06-27 Digital still camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001194781A JP2003008976A (en) 2001-06-27 2001-06-27 Digital still camera

Publications (1)

Publication Number Publication Date
JP2003008976A true JP2003008976A (en) 2003-01-10

Family

ID=19032860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001194781A Pending JP2003008976A (en) 2001-06-27 2001-06-27 Digital still camera

Country Status (1)

Country Link
JP (1) JP2003008976A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009072892A (en) * 2007-09-24 2009-04-09 Hitachi Koki Co Ltd Power tool

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009072892A (en) * 2007-09-24 2009-04-09 Hitachi Koki Co Ltd Power tool

Similar Documents

Publication Publication Date Title
KR20010025054A (en) Method and apparatus to control the behavior of a digital camera by detecting connectivity to a universal serial bus
CN102236407A (en) Method for controlling state of mobile terminal and mobile terminal
US11736790B2 (en) Electronic device and control method
US20090237034A1 (en) Battery operated device having power saving mode
CN104536551A (en) Method and device for clearing away information on complementary metal oxide semiconductor (CMOS)
JP2018207427A (en) Imaging apparatus
JP2003008976A (en) Digital still camera
JP2940969B2 (en) Telephone line powered telephone
JP2015007961A (en) Electronic apparatus and imaging apparatus
JP4733524B2 (en) Image photographing device and release device
US20130233341A1 (en) Image capturing device and vibration dust removal method thereof
WO2020166106A1 (en) Image-capturing device
US8230130B2 (en) Input device
US20130194441A1 (en) Electronic device and imaging apparatus
JP2012048681A (en) Display terminal and control program
US20190097276A1 (en) Charging device and electronic device
JPH1195875A (en) Reset method for cpu
JP4291712B2 (en) Battery level detection method
JP6442963B2 (en) Information processing device
US10440210B2 (en) Communication apparatus, method of controlling communication apparatus, and storage medium
JP3066246B2 (en) Battery display device for electrical equipment
CN210042060U (en) Camera detection circuit and mobile terminal equipment
JP2006085248A (en) Portable apparatus having host function
JP2009177612A (en) Electronic device, camera, and activation control method and activation control program, for electronic device
KR100693106B1 (en) Power saving method and system of portable imaging apparatus