JP4111649B2 - Digital camera - Google Patents

Digital camera Download PDF

Info

Publication number
JP4111649B2
JP4111649B2 JP2000017632A JP2000017632A JP4111649B2 JP 4111649 B2 JP4111649 B2 JP 4111649B2 JP 2000017632 A JP2000017632 A JP 2000017632A JP 2000017632 A JP2000017632 A JP 2000017632A JP 4111649 B2 JP4111649 B2 JP 4111649B2
Authority
JP
Japan
Prior art keywords
program
mode
instruction
computer
digital 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.)
Expired - Lifetime
Application number
JP2000017632A
Other languages
Japanese (ja)
Other versions
JP2001209545A (en
Inventor
章弘 石井
嘉洋 石川
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.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2000017632A priority Critical patent/JP4111649B2/en
Publication of JP2001209545A publication Critical patent/JP2001209545A/en
Application granted granted Critical
Publication of JP4111649B2 publication Critical patent/JP4111649B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、電子機器の起動処理方法、電子機器及びデジタルカメラに係わり、特に、起動時に複数のプログラムを読み込んで実行する電子機器の起動処理方法、電子機器及びデジタルカメラに関する。
【0002】
【従来の技術】
例えば、デジタルカメラ、ビデオカメラ、及び半導体メモリを媒体とする音声記録再生装置などの電子機器は、電子機器を構成する各部を制御するための複数のプログラムにより統合的に制御されている。このような電子機器では、電源オン時や再起動時に、メモリなどに記憶された全てのプログラムを読み込み、指示された動作モードに必要なプログラムを実行するように構成されている。
【0003】
【発明が解決しようとする課題】
上述したような電子機器では、電源を入れてから動き出すまでの時間が長いと、実際の性能に係わらず、性能の悪いものとしてユーザにより判断されてしまう。例えば、デジタルカメラでは、高解像度で多数の撮影モードがあるなどのように機能が充実したものであっても、電源を入れてからすぐに撮影ができないと、シャッタチャンスを逃してしまい、使い勝手が悪い、性能の悪いものと判断されてしまう。
【0004】
そのため、従来より電源をオンしてから撮影可能になるまでの時間(以下、立ち上げ時間と称す。)が短い電子機器が望まれている。
【0005】
立ち上げ時間をより短くするために、電子機器の初期設定に必要な処理をできるだけ少なくして立ち上げ時間をより短くすることが有効である。しかしながら、電子機器の初期設定に必要な処理を減らすのには限界があり、より一層立ち上げ時間の短い電子機器とするのは難しい、という難点がある。
【0006】
以上のことから本発明は、電源をオンしてから撮影可能になるまでの立ち上げ時間が短い電子機器及びデジタルカメラを提供することを目的とする。
【0007】
【課題を解決するための手段】
上記目的を達成すべく、請求項1に記載のデジタルカメラは、レンズ群により結像された画像を画像読取素子により読み取って画像を記録する記録モードと、記録した画像を再生する再生モードと、を含む複数のモードが選択可能なデジタルカメラであって、前記複数のモードの各々に対応した処理をコンピュータに実行させるための前記複数のモード毎のプログラム、及び前記複数のモードのいずれのモードが現在設定されているかをコンピュータに判定させるためのモード判定プログラムを含み、かつ前記複数のモードの各々に対応した処理をコンピュータに実行させる際に前記複数のモードの各々で共通して必要となる最小限のプログラムを記憶した記憶手段と、電源がオンされたときに、前記最小限のプログラムを前記記憶手段から読み込んで実行した後、前記最小限のプログラムに含まれる前記モード判定プログラムを実行して判定したモードに対応した処理を実行するためのプログラムを前記記憶手段から読み込んで実行するコンピュータと、を備えている
【0008】
すなわち、請求項1に記載の発明では、デジタルカメラの電源がオンされたときに、コンピュータがモード判定プログラムを含む必要最小限のプログラムを記憶手段から読み込んで実行した後、モード判定プログラムにより判定されたモードに必要なプログラムを記憶手段から読み込んで実行するため、全てのプログラムを読み込んでから実行する場合に比較して読み込み対象のプログラムの数が少なく、短い時間で所望の動作モードを立ち上げることができるので、より短い立ち上げ時間で撮影が可能となる
【0009】
また、必要最小限のプログラムは、少なくともデジタルカメラのモードの判定をするために必要なモード判定プログラムであり、請求項2に記載したように、少なくとも電源の電力量を確認する電源判定プログラムと、記憶手段の空き容量を確認する記憶容量確認プログラムとを含んでいてもよい。
【0010】
さらに、請求項に記載したように、前記コンピュータは、前記モード判定プログラムを実行して判定したモードに応じた処理を実行した後のアイドルタイム時に、読み込まれていない残りのプログラムを前記記憶手段から読み込むように構成することにより、例えば、撮影モードから再生モードに切り換えられた場合などのように、動作モードが切り換えられたときにプログラムの読み込みのためにユーザが待機する必要がなくなり、直ちに別の動作モードに移行できる。
【0011】
さらに、請求項3の発明は、請求項1または請求項2に記載のデジタルカメラにおいて、前記コンピュータは、各々独立してプログラムの読込及び実行を行う複数の命令実行部を備え、複数のプログラムの読み込みと実行、複数のプログラムの読み込み、及び、複数のプログラムの実行のいずれかを前記複数の命令実行部で並列して行うようにしたものである。
【0012】
すなわち、プログラムを実行しながら次のプログラムの読み込みを行ったり、複数のプログラムを並列して読み込んだり、読み込んだ複数のプログラムを並列して実行することにより、プログラムの読み込みと実行に掛かる全体の時間が短くなるので、より短い時間で所望の動作モードを立ち上げることができる。このような並列処理は、例えば、請求項4の発明のように、複数の命令実行部を有するCPUから構成した起動制御手段や、複数のCPUで構成した起動制御手段等で行うことができる。
【0015】
このような電子機器としては、デジタルカメラの他に、例えば、ビデオカメラ、半導体メモリを媒体とする音声記録再生装置等の記録系と再生系とを備えた装置や、GPSと電子手帳を組み合せたような携帯情報端末等のように、別々のプログラムにより制御される切り換え可能な複数の動作モードを有した電子機器が好適である。
【0023】
【発明の実施の形態】
以下、図面を参照して本発明の第1の実施の形態を詳細に説明する。本発明が適用されたデジタルカメラ10は、図1(A)、図1(B)及び図2に示すように、筐体の外部側には、シャッタボタン12、液晶表示パネル13、ズームレンズ14、ファインダー15、ストロボ16、ストロボボタン17、十字ボタン19、ディスプレイ46、モードダイヤル47、レンズカバー61、筐体の内部には、図3に示すように、撮像デバイス30、メモリーカードドライブ20、これらの駆動を制御する制御部22等が設けられている。
【0024】
ズームレンズ14は、ズームレンズ群55(図3参照;詳細は図示せず)及びフォーカレンズ群53(図3参照;詳細は図示せず)から構成され、夫々モータにより位置が制御される。ズームレンズ群55は鏡筒内部に取り付けられており、鏡筒を構成する回転筒(図示せず)の回転により鏡筒の伸縮と共に移動する。この回転筒はDCモータ70の駆動により回転するように構成されており、DCモータ70は制御部22により駆動が制御される。
【0025】
フォーカレンズ群53はフォーカレンズ枠に取り付けられ、フォーカレンズ枠はズームレンズ群55の1部のレンズを保持するレンズ枠に取り付けられている。このフォーカレンズ枠は、ステッピングモータ72の駆動により光軸方向に沿って移動するように構成されており、ステッピングモータ72は制御部22により駆動が制御される。
【0026】
このズームレンズ14は、電源のオフ時には、筐体の内部に沈胴しており、前面が開閉可能なレンズカバー61によって覆われている。レンズカバー61は、レンズカバー用モータ74により開閉状態が決定され、レンズカバー用モータ74は制御部22によって駆動が制御される。すなわち、撮影モード時にはレンズカバー61が開状態となるようにレンズカバー用モータ74が制御部22によって駆動され、再生モード又は待機モード時には、ズームレンズ14がデジタルカメラ10の内部に格納されてからレンズカバー61が閉状態となるようにレンズカバー用モータ74が制御部22によって駆動される。
【0027】
筐体内部の撮像デバイス30は、CCDなどの撮像素子により構成され、露光制御値に応じて入射する光の光量に対応した電荷を蓄積し、蓄積された電荷、すなわち画像信号を、アナログ信号処理部36に出力する。
【0028】
アナログ信号処理部36は、入力された画像信号に所定のアナログ信号処理(例えばノイズ低減処理)を施し、A/D変換部38へ出力する。A/D変換部38は、入力されたアナログ信号をデジタル信号に変換してデジタル信号処理部40に出力する。デジタル信号処理部40は、入力されたデジタル信号に所定のデジタル信号処理(例えばシェーディング補正処理)を施し、画像データとしてメモリ42に出力する。
【0029】
メモリ42は、デジタル信号処理部40から出力された画像データを保存する。このとき、スマートメディアやフロッピィディスクなどのメモリーカードに書き込み指示があれば、保存した画像データを圧縮伸張部44で圧縮して書き込む。なお、圧縮伸張部44で圧縮せずに書き込むようにも設定できる。
【0030】
また、ディスプレイ46は液晶により構成されており、画像表示指示がある場合に、メモリ42に保存された画像データや、メモリーカードから読み込んだ画像データを画像として表示したり、各種機能選択画面を表示する。液晶表示パネル13は、動作モード、画質、バッテリー量、ストロボの発光/非発光、撮影可能枚数等デジタルカメラの現在の設定を表示する。
【0031】
十字ボタン19は、ディスプレイ46が各種項目選択画面のときにディスプレイ46に表示されたボタンを選択したり、カーソルを動かすためのボタンである。また、ストロボボタン17はストロボを強制発光するときに強制発光指示を出したり、ストロボを発光禁止するときに発光禁止指示を出すボタンである。
【0032】
モードダイヤル47は、デジタルカメラの動作モードを選択するダイヤルであり、例えば、オート撮影モード、マニュアル撮影モード、セルフタイマー撮影モード、再生モード、パソコンに接続して画像を出力するPCモード及び各種機能の初期条件を設定するセットアップ項目設定モードのうちのいずれか1つを選択する。
【0033】
モードダイヤル47によりマニュアル撮影モードが選択されると、ディスプレイ46には、例えば、ホワイトバランス、明るさ露出補正、ストロボの明るさ露出補正、連写等の項目が表示される。これらの項目が十字ボタン19により選択されて、選択項目の内容変更が行われた後、図示しない実行ボタンにより確定される。
【0034】
また、オートダイヤル47によりマニュアル撮影モードが選択されると、ディスプレイ46には、風景モード、記念撮影モード、ポートレートモード、夜景モード、及び、逆光モード等の撮影目的に応じて予め設定が決められたモードや、プログラムモード、絞り優先モード及びシャッター優先モード等の設定事項優先モード等の項目が表示される。これらの項目のうちの1つが十字ボタン19により選択されて図示しない実行ボタンにより確定される。
【0035】
また、制御部22は、図3に示すように、コンパイラによりスケジューリングされた2つの所定ビット長の命令を並列に実行することができるRISC型のCPU22a、ROM22b及びRAM22cから構成され、バス88を介してシャッタボタン12、ストロボボタン17、メモリーカードドライブ20、駆動回路24、測距部32、測光部34、メモリ42、圧縮伸張部44、ディスプレイ46、モードダイヤル47、十字ボタン19、及び、操作ボタン48等が接続されている。
【0036】
CPU22aは、命令キュー、命令キューの命令を順にデコードする命令デコーダ、及び、それぞれ独立して処理を行う第1命令実行部23aと第2命令実行部23bとの2つの命令実行部を備えており、第1命令実行部23aはロード、ストア及び論理演算のいずれか1つの処理を行い、また、第2命令実行部23bは積和演算、算術演算及び論理演算のいずれか1つの処理を行う構成である。
【0037】
このCPU22aでは、プログラムのロード命令と実行命令を命令キューにセットし、命令デコーダが命令キューにセットされた命令を順にデコードする。デコードされた命令は、順に第1命令実行部23a及び第2命令実行部23bに振り分けて出力されるが、ロード命令は第1命令実行部23aに出され、プログラムの実行命令は第2命令実行部23bに出力される。なお、全てのプログラムのロードが終了した場合、第1命令実行部23aにもプログラムの実行命令が出力される。
【0038】
第1命令実行部23aにロード命令が出力されると、第1命令実行部23aはROMからプログラムをロードする。また、第2命令実行部23bにプログラムの実行命令が出力されると、第2命令実行部23bは、第1命令実行部23aがロードしたプログラムを実行する。
【0039】
ロードするプログラムが複数ある場合、第1命令実行部23aは、始めのプログラムのロードが終了した後、次にロード命令が出されたプログラムをROMからロードする。第2命令実行部23bも同様に、始めのプログラムの実行が終了した後、次に第1命令実行部23aによりロードされたプログラムを実行する。このようにして第1命令実行部23aと第2命令実行部23bとにより並列してプログラムのロードと実行処理を行う。
【0040】
なお、このような処理を行うCPUとして、例えば、M32Rx/D(商品名;三菱電機株式会社製)等のような32ビットのマイクロコンピュータが好適である。
【0041】
RAM22cには、バス88を介して入力された電源94の電圧値が一時的に記憶される。ROM22bには、モードダイヤル47により選択された動作モードを判定するモード判定プログラム、選択された動作モードに応じた処理を行う各種のプログラム、ストロボ撮影時の処理を行うプログラム、制御部22に接続された上述の各種構成要素を制御するプログラム、及びRAM22cに記憶された電圧値に基づいて、電源の電力量の判断を行うプログラム等の各種プログラムが記憶されている。
【0042】
CPU22aは、デジタルカメラの立ち上げ時にROM22bから読み出した各種プログラムに基づいて、各部品の制御を行う。ここで、CPU22aによる立ち上げ時の処理について、図4〜図6のフローチャートを参照して説明する。なお、このデジタルカメラは、モードダイヤルによって、オート撮影モード、マニュアル撮影モード、セルフタイマー撮影モード、再生モード、セットアップ項目設定モードのいずれかが選択された状態で電源がオンされる。
【0043】
まず、図4のステップ200では電源がオンになったかを判断し、電源がオンになるとステップ202においてイニシャライズした後、次のステップ204に移行する。ステップ204では、動作モードの判定に必要な最小限のプログラムのロード命令と実行命令を命令キューに格納する。これによって最小限のプログラムがロードされて実行される。なお、最小限のプログラムは、全ての動作モードにおいて共通して必要となるプログラムであり、例えば、モード判定プログラム、電源の電力量の判断を行うプログラム、メモリの空き容量を確認するプログラム、及びディスプレイと接続されているか否かを判定するプログラムが含まれている。
【0044】
次のステップ206では、モード判定プログラムにより判定したモードが撮影モード(風景モード、記念撮影モード、ポートレートモード、夜景モード、逆光モード、プログラムモード、絞り優先モード及びシャッター優先モードなどのオート撮影モード、マニュアル撮影モード、セルフタイマー撮影モードのいずれか)であるかを判断する。
【0045】
ステップ206で、判定したモードが撮影モードである場合は、ステップ208に移行して撮影モード用のセットアップ処理を行う。これにより、起動処理終了する。一方、ステップ206で、判定したモードが撮影モードでない場合、ステップ210に移行して再生モード用及び待機モード用のセットアップ処理を行う。これにより、起動処理が終了する。
【0046】
次のステップ212では、動作指示があるかを判断し、動作指示がある場合は、ステップ214に移行して動作指示に対応するプログラムの実行指令を出す。また、動作指示がない場合、すなわち、アイドル状態の場合は、ステップ216に移行して最後に動作指示が出されてから一定時間が経過したかを判断する。一定時間が経過していないと判断された場合は、ステップ212に戻り上述した処理を繰り返す。
【0047】
また、一定時間が経過した判断された場合は、デジタルカメラはアイドル状態となって所定時間経過しているので、ステップ218に移行して、残りの動作モードに必要なプログラムのロード命令を出力する。なお、この時、動作指示が出力されると、ロードを中断して動作指示に応じたプログラムを実行する。
【0048】
次のステップ220では、全ての動作モードのプログラムのロードが終了したかを判断し、終了していない場合は、ステップ216に戻り、上述した処理を繰り返す。全ての動作モードのプログラムのロードが終了した場合は、本ルーチンを終了する。
【0049】
次に、ステップ208の撮影モード用のセットアップ処理の詳細について、図5のフローチャートを参照して説明する。
【0050】
まず、ステップ300では、モータ駆動プログラムを読み込むためのロード命令と、ロードしたプログラムを実行するための命令を命令キューにセットする。この命令は、命令デコーダにより順にデコードされ、第1命令実行部23aには、ロード命令、第2命令実行部23bには実行命令が振り分けられる。これにより、第1命令実行部23aがモータ駆動プログラムをROM22bからロードし、第1命令実行部23aがロードしたモータ駆動プログラムに基づいて第2命令実行部23bがレンズカバー用モータ74を駆動してレンズカバー61を開状態にした後、DCモータ70及びステッピングモータ72の駆動を制御してズームレンズ群及びフォーカスレンズ群を初期設定位置に移動させる。
【0051】
次のステップ302では、メディア情報の確認プログラムを読み込むためのロード命令と、ロードしたプログラムを実行するための命令をキューにセットする。この命令も命令デコーダにより順にデコードされ、第1命令実行部23aには、ロード命令、第2命令実行部23bには実行命令が振り分けられる。これにより、第1命令実行部23aのモータ駆動プログラムのロードが終了後、第2命令実行部23bによるモータ駆動プログラムの実行中であっても、第1命令実行部23aはメディア情報の確認プログラムをROM22bからロードする。
【0052】
したがって、第2命令実行部23bは、モータ駆動プログラムの実行を終了後、直ちに、第1命令実行部23aがロードしたメディア情報の確認プログラムに基づいてスマートメディアが挿入されているか否かの判断を行うことができると共に、スマートメディアが挿入されている場合、画像データが有るかの判断を行うと共に、空き容量はどれくらいかなどのスマートメディアの内容確認処理を実行することができる。
【0053】
次のステップ304では、ディスプレイ46の表示指示があるかを判断し、ディスプレイ46の表示指示がある場合は、ステップ306に移行してディスプレイ表示処理プログラムを読み込むためのロード命令と、ロードしたプログラムを実行するための命令を命令キューにセットする。この命令も命令デコーダにより順にデコードされ、第1命令実行部23aには、ロード命令、第2命令実行部23bには実行命令が振り分けられる。これにより、ディスプレイ46がオンされ、例えば、マニュアル撮影モードであればマニュアル選択画面、オート撮影モードであれば撮影モード選択画面等のように選択された動作モードに対応した画面を表示する。また、ステップ304においてディスプレイ46の表示指示がないと判断した場合は、ステップ308に移行する。
【0054】
ステップ408では、ストロボ制御プログラムを読み込むためのロード命令、ロードしたプログラムを実行するための命令を命令キューにセットする。この命令も命令デコーダにより順にデコードされ、第1命令実行部23aには、ロード命令、第2命令実行部23bには実行命令が振り分けられる。これにより、ストロボ制御プログラムが第1命令実行部23aによりロードされる。次のステップ310ではロードされたストロボ制御プログラムに基づいて第2命令実行部23bがストロボの使用可能性があるかを判断する。
【0055】
この判断は、ストロボ16がポップアップされている場合や、ストロボボタン17によりストロボ16の強制発光が指示されている場合のようにカメラの設定状態から判断したり、内蔵する時計が示す時間により判断したり、CCDに入射する光量値から検知した外部の明るさに基づいて行うことができる。
【0056】
例えば、ストロボ16がポップアップされている場合、ストロボボタン17によりストロボ16の強制発光が指示されている場合、内蔵する時計が示す時間が夜間を示す時間範囲内である場合、及び、外部の明るさが予め設定した一定値よりも低い場合を、ストロボの使用可能性がありと判断する。
【0057】
ストロボの使用可能性があると判断した場合、ステップ312に移行してストロボの急速充電処理を行い、ステップ314に移行する。また、ステップ310において、ストロボの使用可能性がないと判断した場合、ステップ318に移行して、ストロボの低速充電処理を行い、ステップ314に移行する。
【0058】
ステップ314では、モードダイヤル47の位置に基づいて、設定された撮影モードが、マニュアル撮影モード、オート撮影モード、セルフタイマー撮影モードのうちのどのモードが選択されているかを判断する。オート撮影モードが選択さている場合は、さらに、風景モード、記念撮影モード、ポートレートモード、夜景モード、逆光モード、プログラムモード、絞り優先モード及びシャッター優先モードのうちのどのモードが選択されているかを判断する。
【0059】
次のステップ316では、選択された撮影モードに必要な各種プログラムを読み込むためのロード命令と、ロードしたプログラムを実行するための命令を命令キューにセットする。この命令も命令デコーダにより順にデコードされ、第1命令実行部23aには、ロード命令、第2命令実行部23bには実行命令が振り分けられる。
【0060】
これにより、第1命令実行部23aが選択された動作モードに必要なプログラムをROM22bからロードし、第1命令実行部23aがロードしたプログラムに基づいて第2命令実行部23bが処理する。この処理も第2命令実行部23bが実行中であっても、第1命令実行部23aが次のプログラムをロードするというように、並列処理を行う。
【0061】
例えば、ステップ314でプログラムモードが選択されていると判断した場合、ステップ316では、測距部32により測定された被写体との距離に基づいてオートフォーカス(AF)制御値を定めて駆動回路24に出力するフォーカス制御プログラム、測光部34で測定された測光値に基づいて露光制御値、例えば、絞り値(絞りの開口量)やシャッタスピード、ストロボ16により発光させるか否か等を定めて駆動回路24に出力する露光制御プログラム等、各種プログラムを順に実行するための命令をキューにセットする。
【0062】
これにより、第1命令実行部23aがROM22bからフォーカス制御プログラム、露光制御プログラム等を順にロードし、第1命令実行部23aがロードした順に第2命令実行部23bがプログラムを実行する。
【0063】
これにより、駆動回路24が、フォーカス制御プログラムにより得られたAF制御値に基づいてステッピングモータ72を駆動して、フォーカスレンズ53を移動させ、自動的に焦点調整を行うと共に、シャッタボタン12の押圧により露光制御プログラムによって得られた露光制御値に基づいてシャッタ26や絞り28、ストロボ16、撮像デバイス30を駆動して、ズームレンズ群及びフォーカスレンズ53を透過した被写体像を撮影する。
【0064】
なお、選択された動作モードに必要な全てのプログラムをロードした後、第2命令実行部23bによる処理が終了しておらず、未実行のロード済みプログラムが1つ以上あれば、第1命令実行部23aもロードしたプログラムを実行する。
【0065】
これにより、選択された撮影モードに応じたセットアップ処理が終了し、本ルーチンが終了する。
【0066】
また、図4のステップ210の再生モード用及び待機モード用のセットアップ処理について、図6のフローチャートを参照して詳細に説明する。
【0067】
まず、ステップ400では、ディスプレイ表示処理プログラムを読み込むためのロード命令と、ロードしたプログラムを実行するための命令を命令キューにセットする。この命令も命令デコーダにより順にデコードされ、第1命令実行部23aには、ロード命令、第2命令実行部23bには実行命令が振り分けられる。これにより、ディスプレイ46がオンされ、例えば、再生モードであればメモリーカードに記録された画像の選択用画面、セットアップ項目設定モードであれば選択項目などのように選択された動作モードに対応した画面を表示する。
【0068】
次のステップ402では、メディア情報の確認プログラムを読み込むためのロード命令と、ロードしたプログラムを実行するための命令をキューにセットする。この命令も命令デコーダにより順にデコードされ、第1命令実行部23aには、ロード命令、第2命令実行部23bには実行命令が振り分けられる。これにより、第1命令実行部23aのディスプレイ表示処理プログラムのロードが終了後、第2命令実行部23bによるディスプレイ表示処理の実行中であっても、第1命令実行部23aはメディア情報の確認プログラムをROM22bからロードする。
【0069】
したがって、第2命令実行部23bは、ディスプレイ表示処理プログラムの実行を終了後、直ちに、第1命令実行部23aがロードしたメディア情報の確認プログラムに基づいてスマートメディアが挿入されているか否かの判断を行うことができると共に、スマートメディアが挿入されている場合、画像データが有るかの判断を行うと共に、空き容量はどれくらいかなどのスマートメディアの内容確認処理を実行することができる。
【0070】
次のステップ404では、モードダイヤル47の位置に基づいて、設定されたモードが再生モードかを判断する。再生モードであると判断された場合、ステップ406において、再生モードに必要な各種プログラムを読み込むためのロード命令と、ロードしたプログラムを実行するための命令を命令キューにセットする。この命令も命令デコーダにより順にデコードされ、第1命令実行部23aには、ロード命令、第2命令実行部23bには実行命令が振り分けられる。
【0071】
一方、ステップ404において、再生モードでないと判断された場合はセットアップ項目設定モードであるので、ステップ408に移行して、セットアップ項目設定モードに必要な各種プログラムを読み込むためのロード命令と、ロードしたプログラムを実行するための命令を命令キューにセットする。この命令も命令デコーダにより順にデコードされ、第1命令実行部23aには、ロード命令、第2命令実行部23bには実行命令が振り分けられる。
【0072】
この場合も、第1命令実行部23aが選択された動作モードに必要なプログラムをROM22bからロードし、第1命令実行部23aがロードしたプログラムに基づいて第2命令実行部23bが処理する。この処理も第2命令実行部23bが実行中であっても、第1命令実行部23aが次のプログラムをロードするというように、並列処理を行う。
【0073】
なお、選択された動作モードに必要な全てのプログラムをロードした後、第2命令実行部23bによる処理が終了しておらず、未実行のロード済みプログラムが1つ以上あれば、上記と同様に第1命令実行部23aもロードしたプログラムを実行する。
【0074】
これにより、選択された動作モードに応じたセットアップ処理が終了し、本ルーチンが終了する。
【0075】
このように、本実施の形態のデジタルカメラでは、起動処理時に必要最小限のプログラムのみを読み込んで実行する為、電源をオン等により起動指示が出されてから撮影可能になるまでの時間や、起動指示が出されてから再生可能になるまでの時間が短くなる。
【0076】
なお、本実施の形態のデジタルカメラは、システム起動中にモードダイヤル47や十字ボタン19によりモード変更指示があると、変更された動作モードに必要なプログラムを読み込むためのロード命令と、ロードしたプログラムを実行するための命令を命令キューをセットして、変更された動作モードとなるようにシステムの起動処理を行う。
【0077】
また、システム起動中は、モードダイヤル47や十字ボタン19によりモード変更指示があっても変更指示を無視し、システム起動処理後に、変更された動作モードに必要なプログラムを読み込むためのロード命令と、ロードしたプログラムを実行するための命令を命令キューをセットして、変更された動作モードとなるようにシステムの起動処理を行うように構成できる。
【0078】
さらに、本実施の形態のデジタルカメラは、アイドルタイム時に、選択されていない動作モードに必要なプログラム読み込む構成であるが、動作モードが変更される度に選択された動作モードに必要なプログラムをロードして実行する構成とすることもできる。
【0079】
なお、本実施の形態では、電源がオフからオンにしたときの起動処理について述べたが、もちろんこの場合に限らず、電源を入れたまま待機状態となるスタンバイモードから撮影可能なモードや再生モードにモード変更移行する場合の起動処理にも本発明を適用することができる。
【0080】
さらに、上記実施の形態では、レンズカバー用モータ74等の駆動手段により開閉するレンズカバー61が設けられたデジタルカメラ10について説明したが、本発明は、駆動手段により開閉するレンズカバーが設けられていないデジタルカメラにも適用することが可能である。
【0081】
また、上記実施の形態では、第1命令実行部23a及び第2命令実行部23bの一方が読み込んだプログラムを他方が実行する構成としたが、本発明では、プログラムの読み込みと実行とが並列に行われればよく、例えば、第1命令実行部23a及び第2命令実行部23bがそれぞれ別々のプログラムを読み込み、該読み込んだプログラムを実行するように構成することもできる。
【0082】
さらに、CPU22aが第1命令実行部23a及び第2命令実行部23bの2つの命令実行部を備える構成としたが、2つに限らず、3つ以上の命令実行部を備える構成とすることもできる。また、1つの命令実行部を有するCPUを複数設け、個々のCPUごとに独立してプログラムの読み込みと実行とを並列して行うように構成することもできる。
【0083】
また、本実施の形態では、本発明をデジタルカメラに適用した場合について説明したが、本発明はデジタルカメラに限らず、例えば、ビデオカメラ、デジタルビデオカメラ、半導体メモリを媒体とする音声記録再生装置等の記録系と再生系の切り替えを行う電子機器や、GPSと電子手帳を組み合せたような携帯情報端末などのような少なくとも2つの異なる機能を切り換えて使用する電子機器等に適用することができる。
【0084】
【発明の効果】
以上のことから請求項1〜請求項3の電子機器の起動処理方法によれば、全てのプログラムを読み込んでから実行する場合に比較して、短い時間で所望の動作モードを立ち上げることができる、という効果がある。また、短い時間で所望の動作モードを立ち上げることができるので、シャッターチャンスを逃すことなく撮影を行える、という効果も得られる。
【0085】
請求項3の電子機器の起動処理方法によれば、上記請求項1の効果に加えて、動作モードが切り換えられたときにプログラムの読み込みのためにユーザが待機する必要がなくなり、直ちに別の動作モードに移行できる、という効果が得られる。
【0086】
さらに、請求項4の電子機器の起動処理方法によれば、上記請求項1から請求項3の効果に加えて、プログラムの読み込みと実行に掛かる時間が短くなり、より短い時間で所望の動作モードを立ち上げることができる、という効果が得られる。
【0087】
また、請求項5の電子機器によれば、短い時間で所望の動作モードを立ち上げることができる、という効果が得られる。
【0088】
また、請求項6から請求項9のデジタルカメラによれば、短い時間で所望の動作モードを立ち上げることができる、という効果が得られる。
【0089】
さらに、請求項10のデジタルカメラによれば、動作モードが切り換えられたときにその動作モードに必要なプログラムの読み込み時間がなくなり、直ちに別の動作モードに移行できる、という効果が得られる。
【図面の簡単な説明】
【図1】図1(A)は本発明の第1の実施の形態のデジタルカメラの正面側の外観を示す斜視図であり、図1(B)は本発明の第1の実施の形態のデジタルカメラの電源オフ時のレンズが格納された状態での外観を示す正面図である。
【図2】図1に示したデジタルカメラの裏面側の外観を示す斜視図である。
【図3】第1の実施の形態のデジタルカメラのブロック図である。
【図4】CPUによる立ち上げ時の処理の制御ルーチンである。
【図5】図4における撮影モード用のセットアップ処理の制御ルーチンである。
【図6】図4における再生モード用及び待機モード用のセットアップ処理の制御ルーチンである。
【符号の説明】
10 デジタルカメラ
12 シャッタボタン
13 液晶表示パネル
14 ズームレンズ
15 ファインダー
16 ストロボ
17 ストロボボタン
19 十字ボタン
20 メモリーカードドライブ
22 制御部
22a CPU
22b ROM
22c RAM
23a 第1命令実行部
23b 第2命令実行部
24 駆動回路
30 撮像デバイス
32 測距部
34 測光部
36 アナログ信号処理部
38 A/D変換部
40 デジタル信号処理部
42 メモリ
44 圧縮伸張部
46 ディスプレイ
47 モードダイヤル
48 操作ボタン
55 フォーカレンズ群
61 レンズカバー
70 DCモータ
72 ステッピングモータ
74 レンズカバー用モータ
88 バス
94 電源
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electronic device activation processing method, an electronic device, and a digital camera, and more particularly to an electronic device activation processing method, an electronic device, and a digital camera that read and execute a plurality of programs at the time of activation.
[0002]
[Prior art]
For example, electronic devices such as a digital camera, a video camera, and an audio recording / reproducing apparatus using a semiconductor memory as a medium are controlled in an integrated manner by a plurality of programs for controlling each unit constituting the electronic device. Such an electronic device is configured to read all programs stored in a memory or the like and execute a program necessary for an instructed operation mode when the power is turned on or restarted.
[0003]
[Problems to be solved by the invention]
In the electronic device as described above, if the time from when the power is turned on until it starts moving is long, the user determines that the performance is poor regardless of the actual performance. For example, even if the digital camera has many functions such as high resolution and many shooting modes, if you cannot take a picture immediately after turning on the power, you will miss a photo opportunity and it will be easy to use. It will be judged as bad and poor performance.
[0004]
For this reason, there has been a demand for an electronic device that has a short time (hereinafter referred to as start-up time) from when the power is turned on until it can be photographed.
[0005]
In order to shorten the start-up time, it is effective to shorten the start-up time by reducing the number of processes necessary for the initial setting of the electronic device as much as possible. However, there is a limit in reducing the processing required for the initial setting of the electronic device, and there is a problem that it is difficult to make the electronic device with a shorter startup time.
[0006]
In light of the above, an object of the present invention is to provide an electronic device and a digital camera that have a short start-up time from when the power is turned on to when shooting is possible.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, Digital camera Is A digital camera capable of selecting a plurality of modes including a recording mode for reading an image formed by a lens group by an image reading element and recording the image, and a reproduction mode for reproducing the recorded image. A program for each of the plurality of modes for causing the computer to execute processing corresponding to each of the modes, and a mode determination program for causing the computer to determine which mode of the plurality of modes is currently set. And storage means for storing a minimum program that is commonly required in each of the plurality of modes when the computer executes processing corresponding to each of the plurality of modes, and when the power is turned on. After the minimum program is read from the storage means and executed, before being included in the minimum program And a, and a computer for executing read from said storing means a program for executing a process corresponding to the mode determined by executing the mode determination program .
[0008]
That is, in the invention according to claim 1, When the digital camera is turned on In addition, Computer After reading the minimum necessary program including the mode determination program from the storage means and executing it, the program necessary for the mode determined by the mode determination program is read from the storage means and executed. Compared to execution, the number of programs to be read is small, and a desired operation mode can be launched in a short time. So you can shoot with shorter start-up time .
[0009]
The minimum necessary program is a mode determination program necessary for determining at least the mode of the digital camera, and the power source for confirming at least the power amount of the power source according to claim 2. Judgment Check the program and storage capacity Memory And a capacity confirmation program.
[0010]
And claims 5 As described in The computer reads the remaining program that has not been read from the storage means during the idle time after executing the process according to the mode determined by executing the mode determination program. By configuring For example, when switching from shooting mode to playback mode, When the operation mode is switched, the user does not have to wait for the program to be read, and the operation mode can be immediately shifted to another operation mode.
[0011]
Further, the invention of claim 3 is the invention of claim 1. Or claim 2 Described in Digital camera In The computer includes a plurality of instruction execution units that each independently read and execute a program, and the plurality of programs are read and executed, a plurality of programs are read, and a plurality of programs are executed. In parallel in the instruction execution unit It is what I did.
[0012]
In other words, the entire time taken to load and execute a program by reading the next program while executing the program, reading a plurality of programs in parallel, or executing a plurality of read programs in parallel. Therefore, a desired operation mode can be started up in a shorter time. Such parallel processing is For example, as in the invention of claim 4, the activation control means constituted by a CPU having a plurality of instruction execution units, the activation control means constituted by a plurality of CPUs, etc. It can be carried out.
[0015]
As such an electronic device , De Digital camera Besides, for example Control by separate programs, such as devices equipped with recording and playback systems such as audio recording and playback devices using video cameras and semiconductor memories as media, and portable information terminals that combine GPS and electronic notebooks An electronic device having a plurality of switchable operation modes is preferable.
[0023]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a first embodiment of the present invention will be described in detail with reference to the drawings. As shown in FIGS. 1A, 1B, and 2, the digital camera 10 to which the present invention is applied has a shutter button 12, a liquid crystal display panel 13, and a zoom lens 14 on the outside of the housing. , Finder 15, strobe 16, strobe button 17, cross button 19, display 46, mode dial 47, lens cover 61, inside the housing, as shown in FIG. 3, the imaging device 30, memory card drive 20, these The control part 22 etc. which control the drive of this are provided.
[0024]
The zoom lens 14 includes a zoom lens group 55 (see FIG. 3; details are not shown) and a focus lens group 53 (see FIG. 3; details are not shown), and their positions are controlled by motors. The zoom lens group 55 is attached to the inside of the lens barrel, and moves together with the expansion and contraction of the lens barrel by the rotation of a rotating cylinder (not shown) constituting the lens barrel. The rotating cylinder is configured to rotate by driving of the DC motor 70, and the driving of the DC motor 70 is controlled by the control unit 22.
[0025]
The focus lens group 53 is attached to a focus lens frame, and the focus lens frame is attached to a lens frame that holds a part of the lens of the zoom lens group 55. The focus lens frame is configured to move along the optical axis direction by driving of the stepping motor 72, and the driving of the stepping motor 72 is controlled by the control unit 22.
[0026]
The zoom lens 14 is retracted inside the housing when the power is turned off, and the front surface is covered with a lens cover 61 that can be opened and closed. The lens cover 61 is opened and closed by a lens cover motor 74, and the driving of the lens cover motor 74 is controlled by the control unit 22. That is, the lens cover motor 74 is driven by the control unit 22 so that the lens cover 61 is opened in the shooting mode, and in the playback mode or standby mode, the zoom lens 14 is stored in the digital camera 10 and then the lens. The lens cover motor 74 is driven by the controller 22 so that the cover 61 is closed.
[0027]
The imaging device 30 inside the housing is configured by an imaging element such as a CCD, accumulates charges corresponding to the amount of incident light according to the exposure control value, and performs analog signal processing on the accumulated charges, that is, image signals. To the unit 36.
[0028]
The analog signal processing unit 36 performs predetermined analog signal processing (for example, noise reduction processing) on the input image signal and outputs it to the A / D conversion unit 38. The A / D converter 38 converts the input analog signal into a digital signal and outputs it to the digital signal processor 40. The digital signal processing unit 40 performs predetermined digital signal processing (for example, shading correction processing) on the input digital signal and outputs it to the memory 42 as image data.
[0029]
The memory 42 stores the image data output from the digital signal processing unit 40. At this time, if there is a write instruction to a memory card such as a smart media or a floppy disk, the stored image data is compressed and written by the compression / decompression unit 44. It can be set so that the compression / decompression unit 44 writes without compression.
[0030]
The display 46 is composed of a liquid crystal, and when there is an image display instruction, the image data stored in the memory 42 or the image data read from the memory card is displayed as an image, or various function selection screens are displayed. To do. The liquid crystal display panel 13 displays the current settings of the digital camera such as the operation mode, image quality, battery capacity, strobe light emission / non-light emission, and the number of images that can be taken.
[0031]
The cross button 19 is a button for selecting a button displayed on the display 46 or moving a cursor when the display 46 is a various item selection screen. The strobe button 17 is a button for issuing a forced light emission instruction when the flash is forcedly emitted, or a light emission prohibition instruction when the flash is prohibited.
[0032]
The mode dial 47 is a dial for selecting an operation mode of the digital camera, and includes, for example, an auto shooting mode, a manual shooting mode, a self-timer shooting mode, a playback mode, a PC mode for connecting to a personal computer and outputting an image, and various functions. Select one of the setup item setting modes for setting the initial conditions.
[0033]
When the manual shooting mode is selected by the mode dial 47, items such as white balance, brightness exposure correction, strobe brightness exposure correction, and continuous shooting are displayed on the display 46, for example. These items are selected by the cross button 19, the contents of the selected item are changed, and then confirmed by an execution button (not shown).
[0034]
When the manual shooting mode is selected by the auto dial 47, the display 46 is set in advance according to the shooting purpose such as the landscape mode, the commemorative shooting mode, the portrait mode, the night view mode, and the backlight mode. Items such as the setting mode, the program mode, the aperture priority mode, the shutter priority mode, and the like. One of these items is selected by the cross button 19 and confirmed by an execution button (not shown).
[0035]
Further, as shown in FIG. 3, the control unit 22 includes a RISC type CPU 22a, a ROM 22b, and a RAM 22c that can execute two instructions of a predetermined bit length scheduled by the compiler in parallel. Shutter button 12, strobe button 17, memory card drive 20, drive circuit 24, distance measuring unit 32, photometric unit 34, memory 42, compression / decompression unit 44, display 46, mode dial 47, cross button 19, and operation buttons 48 etc. are connected.
[0036]
The CPU 22a includes an instruction queue, an instruction decoder that sequentially decodes instructions in the instruction queue, and two instruction execution units, a first instruction execution unit 23a and a second instruction execution unit 23b, which perform processing independently of each other. The first instruction execution unit 23a performs any one process of load, store, and logical operation, and the second instruction execution unit 23b performs any one process of product-sum operation, arithmetic operation, and logical operation. It is.
[0037]
In the CPU 22a, a program load instruction and an execution instruction are set in an instruction queue, and an instruction decoder sequentially decodes the instructions set in the instruction queue. The decoded instructions are sequentially output to the first instruction execution unit 23a and the second instruction execution unit 23b, but the load instruction is output to the first instruction execution unit 23a, and the execution instruction of the program is executed by the second instruction. Is output to the unit 23b. When all the programs have been loaded, the program execution instruction is also output to the first instruction execution unit 23a.
[0038]
When a load instruction is output to the first instruction execution unit 23a, the first instruction execution unit 23a loads a program from the ROM. When the program execution instruction is output to the second instruction execution unit 23b, the second instruction execution unit 23b executes the program loaded by the first instruction execution unit 23a.
[0039]
When there are a plurality of programs to be loaded, the first instruction execution unit 23a loads the program from which the load instruction is issued next from the ROM after the loading of the first program is completed. Similarly, after the execution of the first program is completed, the second instruction execution unit 23b next executes the program loaded by the first instruction execution unit 23a. In this way, the first instruction execution unit 23a and the second instruction execution unit 23b perform program loading and execution processing in parallel.
[0040]
As a CPU for performing such processing, for example, a 32-bit microcomputer such as M32Rx / D (trade name; manufactured by Mitsubishi Electric Corporation) is suitable.
[0041]
The voltage value of the power supply 94 input via the bus 88 is temporarily stored in the RAM 22c. The ROM 22b is connected to a mode determination program for determining the operation mode selected by the mode dial 47, various programs for performing processing according to the selected operation mode, a program for performing processing at strobe shooting, and the control unit 22. Various programs such as a program for controlling the above-described various components and a program for determining the amount of power of the power source based on the voltage value stored in the RAM 22c are stored.
[0042]
The CPU 22a controls each component based on various programs read from the ROM 22b when starting up the digital camera. Here, the process at the time of start-up by the CPU 22a will be described with reference to the flowcharts of FIGS. The digital camera is turned on in a state where any one of an auto shooting mode, a manual shooting mode, a self-timer shooting mode, a playback mode, and a setup item setting mode is selected by a mode dial.
[0043]
First, in step 200 of FIG. 4, it is determined whether the power is turned on. When the power is turned on, initialization is performed in step 202, and then the process proceeds to the next step 204. In step 204, the minimum program load instruction and execution instruction necessary for determining the operation mode are stored in the instruction queue. As a result, a minimum program is loaded and executed. Note that the minimum program is a program that is commonly required in all operation modes. For example, a mode determination program, a program for determining the amount of power of a power supply, a program for checking an available memory capacity, and a display A program for determining whether or not connected to is included.
[0044]
In the next step 206, the mode determined by the mode determination program is a shooting mode (automatic shooting mode such as landscape mode, commemorative shooting mode, portrait mode, night view mode, backlight mode, program mode, aperture priority mode and shutter priority mode, It is determined whether the manual shooting mode or the self-timer shooting mode).
[0045]
If the determined mode is the shooting mode in step 206, the process proceeds to step 208 to perform the shooting mode setup process. This completes the activation process. On the other hand, if it is determined in step 206 that the determined mode is not the shooting mode, the process proceeds to step 210 to perform setup processing for playback mode and standby mode. As a result, the activation process ends.
[0046]
In the next step 212, it is determined whether or not there is an operation instruction. If there is an operation instruction, the process proceeds to step 214 to issue a program execution command corresponding to the operation instruction. When there is no operation instruction, that is, in the idle state, the process proceeds to step 216, and it is determined whether a fixed time has elapsed since the last operation instruction was issued. If it is determined that the predetermined time has not elapsed, the process returns to step 212 and the above-described processing is repeated.
[0047]
If it is determined that a predetermined time has elapsed, the digital camera has been in an idle state and a predetermined time has elapsed, so the process proceeds to step 218 to output a program load instruction necessary for the remaining operation modes. . At this time, when an operation instruction is output, loading is interrupted and a program corresponding to the operation instruction is executed.
[0048]
In the next step 220, it is determined whether or not the loading of the programs in all operation modes has been completed. If not, the process returns to step 216 to repeat the above-described processing. When loading of the program in all operation modes is completed, this routine is terminated.
[0049]
Next, details of the setup process for the shooting mode in step 208 will be described with reference to the flowchart of FIG.
[0050]
First, in step 300, a load instruction for reading a motor drive program and an instruction for executing the loaded program are set in the instruction queue. The instructions are sequentially decoded by an instruction decoder, and a load instruction is distributed to the first instruction execution unit 23a and an execution instruction is distributed to the second instruction execution unit 23b. Thus, the first command execution unit 23a loads the motor drive program from the ROM 22b, and the second command execution unit 23b drives the lens cover motor 74 based on the motor drive program loaded by the first command execution unit 23a. After opening the lens cover 61, the driving of the DC motor 70 and the stepping motor 72 is controlled to move the zoom lens group and the focus lens group to the initial setting positions.
[0051]
In the next step 302, a load instruction for reading the media information confirmation program and an instruction for executing the loaded program are set in the queue. This instruction is also sequentially decoded by the instruction decoder, and the load instruction is distributed to the first instruction execution unit 23a, and the execution instruction is distributed to the second instruction execution unit 23b. As a result, even after the motor instruction program is loaded by the second instruction execution unit 23b after the motor instruction program has been loaded by the first instruction execution unit 23a, the first instruction execution unit 23a executes the media information confirmation program. Load from ROM 22b.
[0052]
Therefore, the second command execution unit 23b immediately determines whether smart media is inserted based on the media information confirmation program loaded by the first command execution unit 23a after the execution of the motor drive program. In addition, when smart media is inserted, it is possible to determine whether there is image data and to perform smart media content confirmation processing such as how much free space is available.
[0053]
In the next step 304, it is determined whether or not there is a display instruction on the display 46. If there is a display instruction on the display 46, the process proceeds to step 306 and a load instruction for reading the display display processing program and the loaded program are executed. An instruction to be executed is set in the instruction queue. This instruction is also sequentially decoded by the instruction decoder, and the load instruction is distributed to the first instruction execution unit 23a, and the execution instruction is distributed to the second instruction execution unit 23b. As a result, the display 46 is turned on to display a screen corresponding to the selected operation mode, such as a manual selection screen in the manual shooting mode, a shooting mode selection screen in the auto shooting mode, and the like. On the other hand, if it is determined in step 304 that there is no display instruction on the display 46, the process proceeds to step 308.
[0054]
In step 408, a load instruction for reading the strobe control program and an instruction for executing the loaded program are set in the instruction queue. This instruction is also sequentially decoded by the instruction decoder, and the load instruction is distributed to the first instruction execution unit 23a, and the execution instruction is distributed to the second instruction execution unit 23b. As a result, the strobe control program is loaded by the first instruction execution unit 23a. In the next step 310, the second command execution unit 23b determines whether there is a possibility of using the strobe based on the loaded strobe control program.
[0055]
This determination is made based on the setting state of the camera, such as when the strobe 16 is popped up or when the strobe button 17 instructs the flash 16 to emit light, or based on the time indicated by the built-in clock. Or based on the external brightness detected from the light quantity value incident on the CCD.
[0056]
For example, when the strobe 16 is popped up, when the strobe button 17 instructs the flash 16 to emit light, when the time indicated by the built-in clock is within the time range indicating nighttime, and external brightness Is lower than a predetermined value, it is determined that the strobe may be used.
[0057]
If it is determined that there is a possibility of using the strobe, the process proceeds to step 312 to perform a rapid charge process of the strobe, and then proceeds to step 314. If it is determined in step 310 that the strobe is not usable, the process proceeds to step 318 to perform a low-speed charging process for the strobe, and the process proceeds to step 314.
[0058]
In step 314, based on the position of the mode dial 47, it is determined which of the manual shooting mode, auto shooting mode, and self-timer shooting mode is selected as the set shooting mode. When the auto shooting mode is selected, it also indicates which of the landscape mode, commemorative shooting mode, portrait mode, night view mode, backlight mode, program mode, aperture priority mode, and shutter priority mode is selected. to decide.
[0059]
In the next step 316, a load instruction for reading various programs necessary for the selected photographing mode and an instruction for executing the loaded program are set in the instruction queue. This instruction is also sequentially decoded by the instruction decoder, and the load instruction is distributed to the first instruction execution unit 23a, and the execution instruction is distributed to the second instruction execution unit 23b.
[0060]
As a result, the first instruction execution unit 23a loads the program necessary for the selected operation mode from the ROM 22b, and the second instruction execution unit 23b processes based on the program loaded by the first instruction execution unit 23a. This processing is also performed in parallel so that the first instruction execution unit 23a loads the next program even when the second instruction execution unit 23b is executing.
[0061]
For example, if it is determined in step 314 that the program mode is selected, in step 316, an autofocus (AF) control value is determined based on the distance to the subject measured by the distance measuring unit 32, and the drive circuit 24 is set. Based on the focus control program to be output and the photometric value measured by the photometric unit 34, an exposure control value, for example, an aperture value (aperture aperture), shutter speed, and whether or not to emit light by the strobe 16 are determined. A command for sequentially executing various programs such as an exposure control program to be output to 24 is set in the queue.
[0062]
As a result, the first command execution unit 23a loads the focus control program, the exposure control program, and the like in order from the ROM 22b, and the second command execution unit 23b executes the program in the order in which the first command execution unit 23a loads.
[0063]
As a result, the drive circuit 24 drives the stepping motor 72 based on the AF control value obtained by the focus control program, moves the focus lens 53, automatically adjusts the focus, and presses the shutter button 12. Based on the exposure control value obtained by the exposure control program, the shutter 26, aperture 28, strobe 16, and imaging device 30 are driven to photograph the subject image that has passed through the zoom lens group and the focus lens 53.
[0064]
After all the programs necessary for the selected operation mode are loaded, if the processing by the second instruction execution unit 23b is not completed and there is one or more unexecuted loaded programs, the first instruction is executed. The unit 23a also executes the loaded program.
[0065]
Thereby, the setup process corresponding to the selected photographing mode is finished, and this routine is finished.
[0066]
Further, the setup process for the reproduction mode and the standby mode in step 210 of FIG. 4 will be described in detail with reference to the flowchart of FIG.
[0067]
First, in step 400, a load instruction for reading the display display processing program and an instruction for executing the loaded program are set in the instruction queue. This instruction is also sequentially decoded by the instruction decoder, and the load instruction is distributed to the first instruction execution unit 23a, and the execution instruction is distributed to the second instruction execution unit 23b. Thereby, the display 46 is turned on. For example, a screen corresponding to the selected operation mode such as a screen for selecting an image recorded on the memory card in the playback mode or a selection item in the setup item setting mode. Is displayed.
[0068]
In the next step 402, a load instruction for reading the media information confirmation program and an instruction for executing the loaded program are set in the queue. This instruction is also sequentially decoded by the instruction decoder, and the load instruction is distributed to the first instruction execution unit 23a, and the execution instruction is distributed to the second instruction execution unit 23b. As a result, even after the display display processing program of the first command execution unit 23a is loaded, the first command execution unit 23a can execute the media information confirmation program even when the display display process is being executed by the second command execution unit 23b. Is loaded from the ROM 22b.
[0069]
Therefore, the second command execution unit 23b immediately determines whether smart media is inserted based on the media information confirmation program loaded by the first command execution unit 23a immediately after the execution of the display display processing program. When smart media is inserted, it is determined whether there is image data, and smart media content confirmation processing such as how much free space is available can be executed.
[0070]
In the next step 404, based on the position of the mode dial 47, it is determined whether the set mode is the playback mode. If it is determined that the playback mode is selected, in step 406, a load instruction for reading various programs necessary for the playback mode and an instruction for executing the loaded program are set in the instruction queue. This instruction is also sequentially decoded by the instruction decoder, and the load instruction is distributed to the first instruction execution unit 23a, and the execution instruction is distributed to the second instruction execution unit 23b.
[0071]
On the other hand, if it is determined in step 404 that the mode is not the playback mode, the setup item setting mode is set. Therefore, the process proceeds to step 408 and a load instruction for reading various programs necessary for the setup item setting mode and the loaded program are set. An instruction for executing is set in the instruction queue. This instruction is also sequentially decoded by the instruction decoder, and the load instruction is distributed to the first instruction execution unit 23a, and the execution instruction is distributed to the second instruction execution unit 23b.
[0072]
Also in this case, the first instruction execution unit 23a loads the program necessary for the selected operation mode from the ROM 22b, and the second instruction execution unit 23b processes based on the program loaded by the first instruction execution unit 23a. This processing is also performed in parallel so that the first instruction execution unit 23a loads the next program even when the second instruction execution unit 23b is executing.
[0073]
After loading all the programs necessary for the selected operation mode, if the processing by the second instruction execution unit 23b is not completed and there is one or more unexecuted loaded programs, the same as above The first instruction execution unit 23a also executes the loaded program.
[0074]
As a result, the setup process corresponding to the selected operation mode ends, and this routine ends.
[0075]
In this way, in the digital camera of the present embodiment, only the minimum necessary program is read and executed during the startup process, so the time from when the startup instruction is issued by turning on the power etc. until shooting is possible, The time from when the start instruction is issued until playback is possible is shortened.
[0076]
Note that the digital camera according to the present embodiment, when a mode change instruction is given by the mode dial 47 or the cross button 19 during system startup, a load command for reading a program necessary for the changed operation mode, and the loaded program The instruction queue is set with an instruction to execute the system, and the system startup process is performed so that the changed operation mode is set.
[0077]
Further, during system activation, even if there is a mode change instruction by the mode dial 47 or the cross button 19, the change instruction is ignored, and after the system activation process, a load instruction for reading a program necessary for the changed operation mode; An instruction for executing the loaded program can be set in the instruction queue, and the system activation process can be performed so that the changed operation mode is set.
[0078]
Furthermore, the digital camera according to the present embodiment is configured to read a program necessary for an unselected operation mode at the idle time, but loads a program necessary for the selected operation mode every time the operation mode is changed. It can also be set as the structure to execute.
[0079]
In this embodiment, the startup process when the power is turned on is described. However, of course, the present invention is not limited to this, and the shooting mode or the playback mode from the standby mode in which the power is on can be taken. The present invention can also be applied to the start-up process when shifting to a mode change.
[0080]
Further, in the above embodiment, the digital camera 10 provided with the lens cover 61 that is opened and closed by the driving means such as the lens cover motor 74 has been described. However, the present invention is provided with the lens cover that is opened and closed by the driving means. It can also be applied to digital cameras that are not available.
[0081]
In the above embodiment, the program read by one of the first instruction execution unit 23a and the second instruction execution unit 23b is executed by the other. However, in the present invention, reading and execution of the program are performed in parallel. For example, the first instruction execution unit 23a and the second instruction execution unit 23b may read different programs and execute the read programs.
[0082]
Furthermore, although the CPU 22a is configured to include two instruction execution units, the first instruction execution unit 23a and the second instruction execution unit 23b, the configuration is not limited to two, and may be configured to include three or more instruction execution units. it can. It is also possible to provide a plurality of CPUs having one instruction execution unit and to read and execute a program in parallel for each CPU independently.
[0083]
In the present embodiment, the case where the present invention is applied to a digital camera has been described. However, the present invention is not limited to a digital camera. For example, a video camera, a digital video camera, and an audio recording / reproducing apparatus using a semiconductor memory as a medium. It can be applied to electronic devices that switch between at least two different functions, such as electronic devices that switch between a recording system and a reproduction system, such as portable information terminals that combine GPS and electronic notebooks, etc. .
[0084]
【The invention's effect】
As described above, according to the electronic apparatus activation processing method of the first to third aspects, a desired operation mode can be started up in a shorter time than when all the programs are read and executed. There is an effect that. In addition, since a desired operation mode can be started up in a short time, there is also an effect that shooting can be performed without missing a photo opportunity.
[0085]
According to the electronic apparatus activation processing method of claim 3, in addition to the effect of claim 1, when the operation mode is switched, the user does not have to wait for the program to be read. The effect that it can transfer to a mode is acquired.
[0086]
Furthermore, according to the electronic device activation processing method of claim 4, in addition to the effects of claims 1 to 3, the time required for reading and executing the program is shortened, and the desired operation mode can be achieved in a shorter time. The effect that can be launched.
[0087]
Further, according to the electronic device of the fifth aspect, it is possible to obtain an effect that a desired operation mode can be started up in a short time.
[0088]
Further, according to the digital camera of the sixth aspect to the ninth aspect, it is possible to obtain an effect that a desired operation mode can be started up in a short time.
[0089]
Further, according to the digital camera of the tenth aspect, when the operation mode is switched, there is an effect that the program reading time necessary for the operation mode is eliminated and the operation mode can be immediately shifted to another operation mode.
[Brief description of the drawings]
FIG. 1A is a perspective view showing an external appearance of a front side of a digital camera according to a first embodiment of the present invention, and FIG. 1B is a diagram of the first embodiment of the present invention. It is a front view which shows the external appearance in the state in which the lens at the time of power-off of a digital camera was stored.
FIG. 2 is a perspective view showing an appearance of the back side of the digital camera shown in FIG.
FIG. 3 is a block diagram of the digital camera according to the first embodiment.
FIG. 4 is a control routine for processing at startup by a CPU.
5 is a control routine of a setup process for the shooting mode in FIG. 4;
6 is a control routine for a setup process for a reproduction mode and a standby mode in FIG. 4;
[Explanation of symbols]
10 Digital camera
12 Shutter button
13 LCD panel
14 Zoom lens
15 Finder
16 Strobe
17 Strobe button
19 Cross button
20 Memory card drive
22 Control unit
22a CPU
22b ROM
22c RAM
23a First instruction execution unit
23b Second instruction execution unit
24 Drive circuit
30 Imaging device
32 Ranging section
34 Metering section
36 Analog signal processor
38 A / D converter
40 Digital signal processor
42 memory
44 Compression / decompression unit
46 display
47 Mode Dial
48 Operation buttons
55 Focus Lens Group
61 Lens cover
70 DC motor
72 Stepping motor
74 Lens cover motor
88 bus
94 Power supply

Claims (5)

レンズ群により結像された画像を画像読取素子により読み取って画像を記録する記録モードと、記録した画像を再生する再生モードと、を含む複数のモードが選択可能なデジタルカメラであって、
前記複数のモードの各々に対応した処理をコンピュータに実行させるための前記複数のモード毎のプログラム、及び前記複数のモードのいずれのモードが現在設定されているかをコンピュータに判定させるためのモード判定プログラムを含み、かつ前記複数のモードの各々に対応した処理をコンピュータに実行させる際に前記複数のモードの各々で共通して必要となる最小限のプログラムを記憶した記憶手段と、
電源がオンされたときに、前記最小限のプログラムを前記記憶手段から読み込んで実行した後、前記最小限のプログラムに含まれる前記モード判定プログラムを実行して判定したモードに対応した処理を実行するためのプログラムを前記記憶手段から読み込んで実行するコンピュータと、
を備えたデジタルカメラ
A digital camera capable of selecting a plurality of modes including a recording mode for reading an image formed by a lens group by an image reading element and recording the image, and a reproduction mode for reproducing the recorded image,
A program for each of the plurality of modes for causing the computer to execute processing corresponding to each of the plurality of modes, and a mode determination program for causing the computer to determine which mode of the plurality of modes is currently set. Storage means for storing a minimum program that is commonly required in each of the plurality of modes when the computer executes a process corresponding to each of the plurality of modes,
When the power is turned on, the minimum program is read from the storage means and executed, and then the mode determination program included in the minimum program is executed to execute processing corresponding to the determined mode. A computer for reading and executing a program for storing from the storage means;
Digital camera equipped with .
記最小限のプログラムは、コンピュータに電源の電力量を確認させるための電源判定プログラム及びコンピュータに前記記憶手段の空き容量を確認させるための記憶容量確認プログラムを含む請求項1に記載のデジタルカメラBefore SL minimal programs, digital claim 1 including the storage capacity confirmation program for confirming the free capacity of the storage unit to the power supply judging program and a computer for confirming the amount of power supply to the computer Camera . 前記コンピュータは、
各々独立してプログラムの読込及び実行を行う複数の命令実行部を備え、複数のプログラムの読み込みと実行、複数のプログラムの読み込み、及び、複数のプログラムの実行のいずれかを前記複数の命令実行部で並列して行う請求項1又は請求項2に記載のデジタルカメラ
The computer
A plurality of instruction execution units that each independently read and execute a program, and the plurality of instruction execution units perform any one of reading and executing a plurality of programs, reading a plurality of programs, and executing a plurality of programs in digital camera according to claim 1 or claim 2 carried out in parallel.
前記コンピュータは、The computer
前記複数の命令実行部を有するCPUから構成されている請求項3に記載のデジタルカメラ。The digital camera according to claim 3, comprising a CPU having the plurality of instruction execution units.
前記コンピュータは、
前記モード判定プログラムを実行して判定したモードに応じた処理を実行した後のアイドルタイム時に、読み込まれていない残りのプログラムを前記記憶手段から読み込む請求項1〜請求項4のいずれか1項に記載のデジタルカメラ
The computer
The remaining program that has not been read is read from the storage unit at an idle time after executing processing according to the mode determined by executing the mode determination program. The digital camera described .
JP2000017632A 2000-01-26 2000-01-26 Digital camera Expired - Lifetime JP4111649B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000017632A JP4111649B2 (en) 2000-01-26 2000-01-26 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000017632A JP4111649B2 (en) 2000-01-26 2000-01-26 Digital camera

Publications (2)

Publication Number Publication Date
JP2001209545A JP2001209545A (en) 2001-08-03
JP4111649B2 true JP4111649B2 (en) 2008-07-02

Family

ID=18544603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000017632A Expired - Lifetime JP4111649B2 (en) 2000-01-26 2000-01-26 Digital camera

Country Status (1)

Country Link
JP (1) JP4111649B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10341500B2 (en) 2016-12-14 2019-07-02 Canon Kabushiki Kaisha Information processing apparatus and image reading apparatus

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4436583B2 (en) 2001-12-19 2010-03-24 富士フイルム株式会社 Digital camera
US7764320B1 (en) * 2002-12-02 2010-07-27 Symbol Technologies, Inc. Portable imaging system for multimode camera with different focal length lens and fixed or moveable image sensors
JP4501682B2 (en) * 2004-12-28 2010-07-14 ソニー株式会社 Electronic device, control method thereof, and program
JP4324116B2 (en) 2005-02-17 2009-09-02 キヤノン株式会社 Image processing apparatus, control method therefor, program, and storage medium
JP4817706B2 (en) * 2005-04-21 2011-11-16 キヤノン株式会社 Imaging device
JP4776967B2 (en) * 2005-04-18 2011-09-21 キヤノン株式会社 RECORDING / REPRODUCING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP4130453B2 (en) 2005-07-28 2008-08-06 京セラ株式会社 Wireless communication device
JP4935107B2 (en) * 2006-02-20 2012-05-23 富士ゼロックス株式会社 Information processing device
US8018503B2 (en) * 2007-02-19 2011-09-13 Nikon Corporation Imaging apparatus with multiple timing-adjusting parts
JP2007310409A (en) * 2007-07-03 2007-11-29 Casio Comput Co Ltd Camera device and program
JP2009060196A (en) * 2007-08-30 2009-03-19 Elmo Co Ltd Video camera
JP5141425B2 (en) * 2008-07-29 2013-02-13 富士通株式会社 Data processing apparatus and data processing program
JP5050023B2 (en) * 2009-09-17 2012-10-17 富士フイルム株式会社 Digital camera
JP5370062B2 (en) * 2009-10-09 2013-12-18 日本電気株式会社 Starter, start method and start program for device attachment mechanism
JP5652212B2 (en) * 2011-01-11 2015-01-14 株式会社ニコン Electronic equipment, electronic camera
JP5484541B2 (en) * 2012-10-09 2014-05-07 キヤノン株式会社 Image processing apparatus, method for starting image processing apparatus, and program
JP2014120065A (en) * 2012-12-18 2014-06-30 Canon Electronics Inc Peripheral device, control method of peripheral device and program
JP5762580B2 (en) * 2014-01-17 2015-08-12 キヤノン株式会社 Image processing apparatus, method for starting image processing apparatus, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10341500B2 (en) 2016-12-14 2019-07-02 Canon Kabushiki Kaisha Information processing apparatus and image reading apparatus

Also Published As

Publication number Publication date
JP2001209545A (en) 2001-08-03

Similar Documents

Publication Publication Date Title
JP4111649B2 (en) Digital camera
JP4164202B2 (en) Electronic device, driving method of electronic device, and computer-readable storage medium
TWI241135B (en) Camera, starting method of camera and program
US7113204B2 (en) Image sensing apparatus, control method of image sensing apparatus, and computer program product
JP2002344794A (en) Digital camera
JP2003244588A (en) Image processing equipment, image processing method and program
US7301575B2 (en) Camera and control method therefor
JP5021980B2 (en) Imaging device and method for starting imaging device
US20040032490A1 (en) Image sensing apparatus, image sensing method, program, and storage medium
JP4261815B2 (en) Imaging device
JP4785664B2 (en) Imaging device
JP2006270426A (en) Imaging apparatus, its control method, and computer program
JP4981478B2 (en) Imaging device
JP2006203689A (en) Imaging apparatus and control method thereof, program, and storage medium
JP2002101330A (en) Digital image pickup device
JP2002199328A (en) Imaging unit, imaging method, storage medium and integration circuit
JP2001111955A (en) Image pickup device and its control method
JP4041717B2 (en) Imaging device
US8514324B2 (en) Image input apparatus, a method of controlling thereof and a computer-readable storage medium
JP5323825B2 (en) Recording apparatus and starting method of recording apparatus
JP2000165706A (en) Image pickup device, image pickup controlling method and storage medium
JP2003224809A (en) Data recording apparatus
JP2001145002A (en) Electronic camera and image display method
JP3513182B2 (en) Imaging system
JP2002107596A (en) Stroboscopic device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050829

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080220

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080401

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080408

R150 Certificate of patent or registration of utility model

Ref document number: 4111649

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110418

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120418

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130418

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130418

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140418

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term