JP3584258B2 - Camera with shake correction function - Google Patents

Camera with shake correction function Download PDF

Info

Publication number
JP3584258B2
JP3584258B2 JP09265594A JP9265594A JP3584258B2 JP 3584258 B2 JP3584258 B2 JP 3584258B2 JP 09265594 A JP09265594 A JP 09265594A JP 9265594 A JP9265594 A JP 9265594A JP 3584258 B2 JP3584258 B2 JP 3584258B2
Authority
JP
Japan
Prior art keywords
control device
shake correction
microcomputer
camera
shake
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
JP09265594A
Other languages
Japanese (ja)
Other versions
JPH07295009A (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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP09265594A priority Critical patent/JP3584258B2/en
Publication of JPH07295009A publication Critical patent/JPH07295009A/en
Priority to US08/734,314 priority patent/US5682556A/en
Application granted granted Critical
Publication of JP3584258B2 publication Critical patent/JP3584258B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Details Of Cameras Including Film Mechanisms (AREA)
  • Adjustment Of Camera Lenses (AREA)
  • Exposure Control For Cameras (AREA)

Description

【0001】
【産業上の利用分野】
本発明は、振れ補正機能を有するカメラに関するものである。
【0002】
【従来の技術】
従来は、振れ補正機能を有するカメラにおいて、角速度センサ等を用いた振れ検出回路によってカメラに生じた振れを検出し、その検出量に基づき撮影光学系の光軸を変化させることによって振れを補正するようなカメラが提案されている。
【0003】
撮影光学系の光軸を変化させるものとしては、撮影光学系の一部である振れ補正レンズを用い、それをモータ等によって光軸に対して垂直に駆動させることによって光軸を変化させている。モータを用いた場合、モータの回転をギヤ等で減速し回転運動を直線運動に変換し、振れ補正レンズを駆動している。
また、従来は、振れ補正機能を有するカメラにおいて、振れ検出回路からの出力に基づき振れを補正するための振れ補正レンズの駆動速度を算出し、レンズ位置検出回路からの出力に基づき振れ補正レンズの駆動量を算出する。振れ補正レンズを所定の基準位置(以下、リセット位置と呼ぶ。)から光軸が撮影光学系のほぼ中央位置となるように駆動する(以下、センタリング駆動と呼ぶ。)。シャッタを駆動させフィルムに露光する露出処理の直前から、マイコンは、算出した駆動速度、駆動量に基づいてモータ駆動回路を制御し、振れ補正レンズを駆動し、カメラの振れを打ち消すように光軸を変化させる制御(以下、振れ補正制御と呼ぶ。)を開始する。露出処理が完了し振れ補正制御を終了した後、振れ補正レンズをリセット位置に駆動する(以下、リセット駆動と呼ぶ。)。このような一連の処理を行っている。
【0004】
また、カメラの一連の撮影処理を制御するメインマイコンと、振れ検出回路、レンズ位置検出回路、モータ駆動回路を制御し振れ補正制御を実行するサブマイコンとを有し、メインマイコンとサブマイコンとは電気的に接続されており、シリアル通信をすることによって、メインマイコンはサブマイコンを制御している。
【0005】
また、サブマイコンには、サブマイコンに内蔵されたプログラムにそって処理を行っている動作状態と、プログラムの処理が一時停止し、動作状態時に比べ消費電流が非常に小さい待機状態(以下、スタンバイ状態と呼ぶ。)と、プログラムの処理が停止し、内部データが初期化されている停止状態(以下、リセット状態と呼ぶ。)とがある。
【0006】
【発明が解決しようとする課題】
しかしながら、上記のように従来の技術は、メインマイコンがサブマイコンをリセット状態から解除したり、リセット状態に遷移させたりするには、メインマイコンからリセットIC等のデバイスを介してサブマイコンを制御していた。そのため、実装面積が大きくなり、コストが高くなるという問題があった。
【0007】
また、メインマイコンとサブマイコンとはシリアル通信によってデータを転送しているため、シリアル通信エラーとなった場合、振れ検出回路、レンズ位置検出回路、モータ駆動回路が動作したままとなり電源である電池が消耗したり、また不具合の発生や不具合の拡大へとつながるという問題があった。
そこで、本発明はこのような従来の問題点に鑑みてなされたもので、メインマイコンからリセットICを介してサブマイコンを制御するため、実装面積が大きくなることによるコストアップを解決することを目的としている。
【0008】
また、シリアル通信エラーとなった場合、電池が消耗したり、不具合の発生や不具合の拡大を解決することを目的としている。
【0009】
【課題を解決するための手段】
上記目的を達成するために本発明は、
請求項1のカメラに於いては、カメラの一連の撮影露出動作を制御する主制御装置と、カメラの振れを検出する振れ検出装置と、撮影レンズの光軸を変化させるための光軸変化装置と、光軸変化装置を駆動する駆動装置と、振れ検出装置からの出力に基づき駆動装置を制御し、光軸変化装置を駆動することによって、振れ補正を実行する振れ補正制御装置と、を備え、振れ補正制御装置は、少なくとも動作待機している待機状態と、動作している動作状態とを有し、主制御装置と振れ補正制御装置とは電気的に接続されており、主制御装置は振れ補正制御装置を制御し、主制御装置と振れ補正制御装置との間でシリアルデータ転送が行われることによって、振れ補正制御装置の待機状態と動作状態とが切り替えられ、振れ補正制御装置は、電気的に接続されたシリアルデータ転送を行う信号ラインの少なくとも1本の信号によって、待機状態が解除され動作状態となるようにした。
【0010】
請求項2のカメラに於いては、請求項1に加え、振れ補正制御装置は、カメラの撮影処理を実行させるレリーズ釦の半押しスイッチ操作部材の操作に応じた主制御装置と振れ補正制御装置との間のシリアルデータ転送によって、待機状態が解除され動作状態となるようにする。
【0011】
請求項3のカメラに於いては、請求項1に加え、主制御装置は、カメラを撮影可能にするメインスイッチ操作部材の操作に応じて振れ補正制御装置との間でシリアルデータ転送を行なうことによって、振れ補正制御装置の待機状態を解除し動作状態とするようにした。
請求項4のカメラに於いては、請求項1に加え、主制御装置は、カメラの露出処理の終了に応じて振れ補正制御装置との間でシリアルデータ転送を行い、振れ補正制御装置を動作状態から待機状態に遷移させるようにした。
【0012】
請求項5のカメラに於いては、請求項1に加え、主制御装置は、カメラの撮影処理を実行させるレリーズ釦の半押しスイッチ操作部材の操作の解除に応じて、振れ補正制御装置との間でシリアルデータ転送を行い、振れ補正制御装置を動作状態から待機状態に遷移させるようにした
請求項6のカメラに於いては、請求項1に加え、電子閃光装置を備え、電子閃光装置の発光を伴う露出処理を行なう場合には、電子閃光装置が未充電と判定されたとき、主制御装置は振れ補正制御装置へのシリアルデータ転送によって、振れ補正制御装置を動作状態から待機状態に遷移させるようにした。
【0013】
請求項7のカメラに於いては、請求項1に加え、カメラのセルフタイマの計時中にセルフタイマ撮影が解除された際には、主制御装置は、振れ補正制御装置との間でシリアルデータ転送を行なうことによって、振れ補正制御装置を動作状態から待機状態に遷移させるようにした。
請求項8のカメラに於いては、請求項1に加え、主制御装置は、カメラに電源が投入されたことに応じて振れ補正制御装置が光軸変化装置を所定の基準位置に駆動させた後、振れ補正制御装置との間でシリアルデータ転送を行なうことによって、振れ補正制御装置を動作状態から待機状態に遷移させるようにした。
【0014】
請求項9のカメラに於いては、請求項1〜8のいずれか一項に記載の発明に加え、振れ補正制御装置が待機状態から解除されてから所定時間経過しても主制御装置の振れ補正制御装置へのシリアルデータ転送が行われない場合に、振れ補正制御装置は動作状態から待機状態に遷移するようにした。
請求項10のカメラに於いては、請求項1〜8のいずれか一項に記載の発明に加え、振れ補正制御装置が待機状態から解除されてから所定時間経過しても主制御装置の振れ補正制御装置へのシリアルデータ転送が行われない場合に、振れ補正制御装置は振れ検出装置と駆動装置の電源を遮断するようにした。
【0015】
【作用】
本発明において、以下の作用がある。
請求項1のカメラに於いては、主制御装置が、振れ補正制御装置との間でシリアルデータ転送を行なうことによって、振れ補正制御装置の待機状態と動作状態とを切り替えることができるので、振れ補正を行わない場合に待機状態に切り替えれば振れ補正制御装置で消耗する電流が抑えられる。さらに、主制御装置は、電気的に接続されたシリアルデータ転送を行う信号ラインの少なくとも1本の信号によって、振れ補正制御装置の待機状態を解除し動作状態とするので、振れ補正制御装置で消耗する電流が抑えられるとともに、従来通り振れ補正制御装置で振れ補正の制御を行うことができる。
【0017】
請求項2のカメラに於いては、主制御装置は、カメラの撮影処理を実行させるレリーズ釦の半押しスイッチ操作部材の操作に応じて振れ補正制御装置との間でシリアルデータ転送を行なうことによって、振れ補正制御装置の待機状態を解除し動作状態とするので、振れ補正制御装置で消耗される電流が抑えられるとともに、半押しスイッチの操作に応じて振れ補正制御装置を振れ補正の制御可能な状
態にすることができる。
【0018】
請求項3のカメラに於いては、主制御装置は、カメラを撮影可能にするメインスイッチ操作部材の操作に応じて振れ補正制御装置との間でシリアルデータ転送を行なうことによって、振れ補正制御装置の待機状態を解除し動作状態とするので、振れ補正制御装置で消耗される電流が抑えられるとともに、メインスイッチ操作部材の操作に応じて振れ補正制御装置を制御可能な状態にすることができる。
【0019】
請求項4のカメラに於いては、主制御装置は、カメラの露出処理が終了したことに応じて振れ補正制御装置との間でシリアルデータ転送を行なうことによって、振れ補正制御装置を動作状態から待機状態に遷移させるので、露光処理が終了し、振れ補正制御装置の制御が必要でないときには振れ補正制御装置で消耗される電流が抑えられる。
【0020】
請求項5のカメラに於いては、主制御装置は、半押しスイッチ操作部材の操作が解除されたことに応じて、振れ補正制御装置との間でシリアルデータ転送を行なうことによって、振れ補正制御装置を動作状態から待機状態に遷移させるので、振れ補正制御装置の制御が必要でないときには振れ補正制御装置で消耗される電流が抑えられる。
【0021】
請求項6のカメラに於いては、カメラは電子閃光装置を備え、主制御装置は、電子閃光装置の発光を伴う露出処理の場合、電子閃光装置を未充電と判定したとき、振れ補正制御装置との間でシリアルデータ転送を行なうことによって、振れ補正制御装置を動作状態から待機状態に遷移させるので、振れ補正制御装置の制
御が必要でないときには振れ補正制御装置で消耗される電流が抑えられる。
【0022】
請求項7のカメラに於いては、主制御装置は、カメラのセルフタイマの計時中にセルフタイマ撮影が解除されたとき、振れ補正制御装置との間でシリアルデータ転送を行なうことによって、振れ補正制御装置を動作状態から待機状態に遷移させるので、振れ補正制御装置の制御が必要でないときには振れ補正制御装置で消耗される電流が抑えられる。
【0023】
請求項8のカメラに於いては、主制御装置は、カメラに電源が投入されたことに応じて振れ補正制御手段に光軸変化装置を所定の基準位置に駆動させた後、振れ補正制御装置との間でシリアルデータ転送を行なうことによって、振れ補正制御装置を動作状態から待機状態に遷移させるので、振れ補正制御装置の制御が必要でないときには振れ補正制御装置で消耗される電流が抑えられる。
【0024】
請求項9のカメラに於いては、振れ補正制御装置が待機状態から解除されてから所定時間経過しても主制御装置から振れ補正制御装置へシリアルデータ転送が行われない場合に、振れ補正制御装置は、動作状態から待機状態に遷移するので、たとえシリアルデータ転送を行う信号ラインにノイズが乗って振れ補正制御装置が待機状態から動作状態になっても所定時間経過すれば待機状態に遷移する
ので振れ補正制御装置で消耗する電流が抑えられる。
【0025】
請求項10のカメラに於いては、振れ補正制御装置が待機状態から解除されてから所定時間経過しても主制御装置が振れ補正制御装置へシリアルデータ転送が行われない場合に、振れ補正制御装置は、振れ検出装置と駆動装置の電源を遮断するようにしたので、たとえシリアルデータ転送を行う信号ラインにノイズが乗って振れ補正制御装置が待機状態から動作状態になって振れ検出装置と駆動装置
の電源がオンしても、所定時間経過すれば振れ検出装置と駆動装置の電源が遮断され、そこで消耗される電流が抑えられる。
【0026】
【実施例】
図1は本発明の第1実施例の振れ補正機能を有するカメラの構成を示すブロック図である。
撮影レンズは15、16、17、18の4枚のレンズで構成される。そのうち、撮影レンズ17は、前述の光軸変化装置に相当し、振れ補正用にX軸(水平)、Y軸(鉛直)方向に駆動可能な振れ補正レンズ17である。撮影レンズ18は、焦点調節用にZ軸(光軸)方向に駆動可能なフォーカシングレンズ18である。
【0027】
Aマイコン1は、前述の主制御装置に相当し、振れ補正制御以外の撮影処理を実行し、Bマイコン2を制御するメインマイコンで、測光回路3と、測距回路4と、不揮発性メモリ5(以下、EEPROM5と呼ぶ。)と、液晶表示器6(以下、LCD6と呼ぶ。)と、ストロボ回路7と、振れ状態表示器8と、メインスイッチ21と、半押しスイッチ22と、全押しスイッチ23と、モードスイッチ24とが接続されている。
【0028】
測光回路3は、被写界の輝度を測光する。測距回路4は、被写体までの距離を測距する。EEPROM5は、撮影処理に必要な調整データ等ををあらかじめ書き込んでおき、所定の処理が行われるうえで必要な時にAマイコン1が所定データを読み込むようにするためのものである。LCD6は、撮影モード、フィルム枚数、ズーム位置等の撮影情報を表示する。電子閃光装置としてのストロボ回路7は、昇圧部と発光制御部とからなり、充電、発光を制御する。また、その充電が完了しているかを検出することができる。振れ状態表示器8は、カメラの振れ状態を表示する。メインスイッチ21は、カメラの動作を開始させるスイッチで、オン位置とオフ位置を持ち、撮影者がいったんオン位置にセットすると、再度オフ位置に戻されるまでオン位置を保持するものとする。半押しスイッチ22は、レリーズ釦の半押しでオンする。全押しスイッチ23は、レリーズ釦の全押しでオンする。モードスイッチ24は、撮影者がオンするごとに設定されている撮影モード、例えば、ストロボ撮影モード、セルフ撮影モード等をサイクリックに選択することができるものとする。
【0029】
Bマイコン2は、前述の振れ補正制御回路に相当し、振れ補正制御を実行するサブマイコンで、振れ検出回路9、10と、モータ駆動回路11、12と、レンズ位置検出回路19、20とが接続されていて、振れ補正制御を実行する。振れ検出回路9、10は、前述の振れ検出装置に相当する。振れ検出回路9は、カメラの振れによって生じるX軸方向の角速度を検出し、振れ検出回路10は、Y軸方向の角速度を検出する。モータ駆動回路11には、振れ補正レンズ17をX軸方向に駆動するモータ13が、モータ駆動回路12には、振れ補正レンズ17をY軸方向に駆動するモータ14がそれぞれ接続されていて、前述の駆動装置に相当する。モータ13の回転は、振れ補正レンズ駆動メカ系(不図示)により直線運動に変換され、振れ補正レンズ17をX軸方向に駆動する。モータ14の回転は、振れ補正レンズ駆動メカ系(不図示)により直線運動に変換され、振れ補正レンズ17をY軸方向に駆動する。レンズ位置検出回路19、20は、変位検出装置に相当し、レンズ位置検出回路19は振れ補正レンズ17のX軸方向の位置を読み込み、レンズ位置検出回路20は、振れ補正レンズ17のY軸方向の位置を読み込む。振れ検出回路9、10からの出力をBマイコン2がA/D変換することで振れによってカメラに生じた角速度を算出し、振れを補正するための振れ補正レンズ17の制御する目標速度を算出し、レンズ位置検出回路19、20からの出力から振れ補正レンズ17の実際の移動速度が算出される。Bマイコン2は振れ補正レンズ17の目標速度と実際の振れ補正レンズ17の移動速度とから所定の演算によりモータ13、14の駆動量が算出され、モータ駆動回路11、12を通じてモータ13、14が駆動される。このことにより振れ補正レンズ17が適当な速度で駆動され、手振れが補正される。
【0030】
Aマイコン1とBマイコン2とは、以下の制御信号線で接続されていて、Aマイコン1とBマイコン2との間でシリアル通信を行うことによって、Aマイコン1はBマイコン2を制御し、振れ補正制御を実行することができる。
ARDYは、Aマイコン1からBマイコン2への出力信号であり、Aマイコン1からBマイコン2へのデータ転送要求、およびAマイコン1とBマイコン2とのハンドシェークのための信号である。
【0031】
BRDYは、Bマイコン2からAマイコン1への出力信号であり、Bマイコン2からAマイコン1へのデータ転送要求、およびAマイコン1とBマイコン2とのハンドシェークのための信号である。
SCKは、Aマイコン1からBマイコン2への出力信号であり、Aマイコン1とBマイコン2との間のシリアルデータ転送のシリアルクロックである。
【0032】
SOは、Aマイコン1からBマイコン2への出力信号であり、Aマイコン1からBマイコン2へのデータ転送の際、SCK信号に同期してデータを転送するための信号である。 SIは、Bマイコン2からAマイコン1への出力信号であり、Bマイコン2からAマイコン1へのデータ転送の際、SCK信号に同期してデータを転送するための信号である。 RESETは、Aマイコン1からBマイコン2への出力信号であり、Bマイコン2をリセット状態から解除するため、あるいはリセット状態に遷移させるための信号である。 Bマイコン2は、RESET信号がLレベルでリセット状態になり、LレベルからHレベルにすることでリセット状態が解除され動作状態となる。また、Bマイコン2は、ARDY信号をLレベルからHレベルにすることでスタンバイ状態が解除され動作状態となるウェイクアップ機能を備えている。ここで、動作状態とは、マイコンに内蔵されたプログラムにそって処理を行っている状態のことである。スタンバイ状態とは、プログラムの処理が一時停止した待機状態のことで、動作状態時に比べ消費電流が非常に小さい。また、マイコンの内部データ、入出力ポートの状態はスタンバイ状態に遷移する直前の状態を保持している。リセット状態とは、プログラムの処理が停止した停止状態のことで、内部データが初期化されている。
【0033】
Aマイコン1とBマイコン2とは、ワンチップマイクロコンピュータであり、カメラの全シーケンスを制御している。Aマイコン1は、時間を計測する計時タイマ機能、AE演算機能、AF演算機能等を持つものとする。Bマイコン2は、時間を計測する計時タイマ機能、A/D変換機能、振れ補正機能等を持つものとする。
【0034】
以下で説明するフローチャートに示した処理は、Aマイコン1、Bマイコン2に内蔵しているプログラムのうち、本実施例に関わる処理のみを示したものである。
図2は本発明の第1実施例の振れ補正機能を有するカメラのAマイコン1の全体の処理を示すフローチャートである。
【0035】
電源が投入された場合、Aマイコン1はステップS200から処理を開始する。まず、ステップS201でAマイコン1の内部データ、入出力ポートを初期化し、ステップS202に進む。ステップS202で、後述の電源投入処理を実行し、ステップS203に進む。ステップS203で、メインスイッチ21がオンしているか否か判定を行う。オンしていれば、ステップS204に進み、後述のメインスイッチ処理を実行し、ステップS205に進む。オフしていれば、メインスイッチ21がオンされるまで判定を続行する。ステップS205で、半押しスイッチ22がオンしているか否か判定を行う。オンしていれば、ステップS206に進み、後述の撮影処理を実行し、ステップS207に進む。オフしていれば、ステップS207に進む。ステップS207で、メインスイッチ21がオンしているか否か判定を行う。オンしていれば、ステップS205に戻り、再び半押しスイッチ22の判定を行う。オフしていれば、ステップS203に戻る。
【0036】
つまり、メインスイッチ21と半押しスイッチ22の状態を判定し、メインスイッチ21がオンした状態で半押しスイッチ22がオンすれば撮影処理が行われる。
図3は本発明の第1実施例の振れ補正機能を有するカメラのAマイコン1の電源投入時、メインスイッチ21オン時、Aマイコン1とBマイコン2とのシリアル通信エラー時の処理を示すフローチャートである。
【0037】
Aマイコン1に電源が投入された場合、図2のステップS202のAマイコン1電源投入処理を図3のステップS300から開始する。ステップS301で、Bマイコン2のリセット状態を解除するリセット解除処理を行い、ステップS302に進む。ステップS302で、所定時間待機し、ステップS303に進む。ステップS303で、振れ補正レンズ17をリセット位置に駆動する補正レンズリセット命令処理をAマイコン1がBマイコン2にシリアル通信し、ステップS304に進む。ステップS304で、Bマイコン2を動作状態からスタンバイ状態にするスタンバイ遷移命令処理をAマイコン1がBマイコン2にシリアル通信し、ステップS305に進む。ステップS305で、Aマイコン1電源投入処理を終了し、図2のステップS203に進む。つまり、電源が投入されると、Aマイコン1がBマイコン2をリセット状態から解除する。所定の処理が終了した後、Aマイコン1がシリアル通信によってBマイコン2を動作状態からスタンバイ状態にする。
【0038】
これを図14を用いて説明すると、電源が投入されてからタイミングt31までは、Bマイコン2はリセット状態である。タイミングt31でAマイコン1がRESETをLレベルからHレベルにすることで、Bマイコン2はリセット状態が解除される。タイミングt32以降はステップS303のシリアル通信に相当する。
【0039】
メインスイッチ21がオンされた場合、図2のステップS204のAマイコン1メインスイッチ処理を図3のステップS310から開始する。ステップS303から前述の処理と同様の処理を行い、ステップS305で、Aマイコン1メインスイッチ処理を終了し、図2のステップS205に進む。つまり、メインスイッチ21がオンされると、Aマイコン1がシリアル通信によってBマイコン2をスタンバイ状態から解除し動作状態にする。所定の処理が終了した後、Aマイコン1がシリアル通信によってBマイコン2を動作状態からスタンバイ状態にする。
【0040】
これを図12を用いて説明すると、タイミングt1以前は、Bマイコン2はスタンバイ状態である。タイミングt1でAマイコン1がシリアル通信によってARDYをLレベルからHレベルにすることで、Bマイコン2のウェイクアップ機能によってスタンバイ状態が解除され動作状態となる。Aマイコン1とBマイコン2とのシリアル通信についての詳細は後述する。
【0041】
後述のAマイコン1とBマイコン2とのシリアル通信中に通信エラーが発生し、Aマイコン1がその通信エラーを検出した場合、ステップS320からAマイコン1シリアルエラー処理を開始する。ステップS321で、LCD6を点滅表示させ、ステップS322に進む。ステップS322で、Aマイコン1がBマイコン2を強制的にリセット状態にするリセット遷移処理を行い、ステップS323に進む。ステップS323で、所定時間待機し、ステップS301に進む。ステップS301から前述の処理と同様の処理を行い、ステップS305で、Aマイコン1シリアルエラー処理を終了し、図2のステップS203に進む。また、LCD6の点滅は、メインスイッチ21、または半押しスイッチ22が再度オンされるまで継続する(不図示)。
【0042】
つまり、シリアル通信エラーが発生すると、LCD6を点滅表示させ、Aマイコン1がBマイコン2を強制的にリセット状態にする。所定時間後、Aマイコン1がBマイコン2をリセット状態から解除する。所定の処理が終了した後、Aマイコン1がシリアル通信によってBマイコン2を動作状態からスタンバイ状態にする。
【0043】
これを図15を用いて説明すると、タイミングt41までは、Bマイコン2は動作状態、またはスタンバイ状態である。タイミングt41でAマイコン1がRESETをHレベルからLレベルにする(S322の処理に相当する)ことで、Bマイコン2はリセット状態となる。所定時間後、タイミングt42でAマイコン1がRESETをLレベルからHレベルにする(S301の処理に相当する)ことで、Bマイコン2はリセット状態が解除される。タイミングt43以降はステップS303のシリアル通信に相当する。 図4、図5は本発明の振れ補正機能を有するカメラのAマイコン1の撮影処理を示すフローチャートである。メインスイッチ21がオンした状態で半押しスイッチ22がオンされた場合、図2のステップS206のAマイコン1撮影処理を図4のステップS400から開始する。ステップS401で、振れ検出回路9、10の電源をオンし振れによる角速度の検出を開始させる振れ検出回路電源オン命令処理をAマイコン1がBマイコン2にシリアル通信し、ステップS402に進む。このシリアル通信でAマイコン1がARDYをLレベルからHレベルにすることで、Bマイコン2はスタンバイ状態が解除され動作状態となる。ステップS402で、測光回路3を動作させて測光処理を行い、測距回路4を動作させて測距処理を行い、ステップ403に進む。ステップS403で、ステップS402の測光処理、測距処理の結果からAE演算、AF演算、FM演算を行い、ステップS404に進む。ステップS404で、振れ補正制御に必要な測距値、ズーム位置のデータを転送する測距値、ズーム位置データ転送処理をAマイコン1がBマイコン2にシリアル通信し、ステップS405に進む。ステップS405で、ステップS403のAE演算の結果からストロボ発光撮影モードか否か、またはモードスイッチ24によってストロボ発光撮影モードが選択されてる否か判定する。ストロボ発光撮影モードであれば、次のステップS406で、ストロボ回路7の充電が完了しているか否か判定する。ステップS405でストロボ発光撮影モードで、ステップS406でストロボ回路7の充電が完了していなければ、ストロボ回路7を駆動し充電を開始し(不図示)、次のステップS407で、振れ検出回路9、10の電源をオフし振れによる角速度の検出を停止させる振れ検出回路電源オフ命令処理をAマイコン1がBマイコン2にシリアル通信し、次のステップS408で、Bマイコン2を動作状態からスタンバイ状態にするスタンバイ遷移命令処理をAマイコン1がBマイコン2にシリアル通信し、次のステップS409で、図2のステップS207に進む。ステップS405でストロボ発光モードでなければ、またはステップS406でストロボ回路7の充電が完了していれば、ステップS410に進む。つまり、半押しスイッチ22がオンされると、Aマイコン1がシリアル通信によってBマイコン2をスタンバイ状態から動作状態にし、Bマイコン2に振れ検出回路9、10の電源をオンさせる。また、半押しスイッチ22のオン後、ストロボ発光撮影モードと判定されストロボの充電が完了していなければ、Aマイコン1がシリアル通信によってBマイコン2に振れ検出回路9、10の電源をオフさせ、Bマイコン2を動作状態からスタンバイ状態にする。ステップS410で、フォーカシングレンズ18を初期位置からステップS403で求められたAFステップ先に駆動し、ステップS411に進む。ステップS411で、振れ検出回路9、10が検出しBマイコン2で算出された角速度に応じた表示を行うため振れ表示データ要求命令処理をAマイコン1がBマイコン2にシリアル通信し、ステップS412に進む。この時、Bマイコン2からぶれ表示データがAマイコン1へ転送される。ステップS412で、Bマイコン2からAマイコン1に送信された振れ表示データに応じて振れ状態表示器8を駆動し振れ表示を行い、ステップS413に進む。ステップS413で、タイマをスタートさせ、ステップS414に進む。ステップS414で、全押しスイッチ23がオンされているか否か判定する。全押しスイッチ23がオンされていなければ、次のステップS415で、半押しスイッチ22がオンさているか否か判定する。半押しスイッチ22がオンされていなければ、次のステップS416で、タイマがタイムアップしたか否か判定する。
【0044】
ステップS414で全押しスイッチ23がオンされていなく、ステップS415で半押しスイッチ22がオンされていて、ステップS416でタイマがタイムアップしていれば、ステップS411に戻り、Aマイコン1がBマイコン2へ振れ表示データ要求通信処理を行い、振れ表示の更新を行う。ステップS414で全押しスイッチ23がオンされていなく、ステップS415で半押しスイッチ22がオンされていて、ステップS416でタイマがタイムアップしていなければ、ステップS414に戻り、全押しスイッチ23の状態を再判定する。ステップS414で全押しスイッチ23がオンされていなく、ステップS415で半押しスイッチ22がオンされていなければ、次のステップS417で、振れ検出回路9、10の電源をオフし振れによる角速度の検出を停止させる振れ検出回路電源オフ命令処理をAマイコン1がBマイコン2にシリアル通信し、次のステップS418で、Bマイコン2を動作状態からスタンバイ状態にするスタンバイ遷移命令処理をAマイコン1がBマイコン2にシリアル通信し、次のステップS419で、振れ表示を消灯し、S420で図2のステップS207に進む。ステップS414で、全押しスイッチ23がオンされていれば、ステップS420に進む。
【0045】
つまり、半押しスイッチ22がオンされた状態で全押しスイッチ23がオンされれば、以降の撮影処理を続行する。全押しスイッチ23がオフで半押しスイッチ22がオンされたままの状態では、タイマがタイムアップするごとに振れ表示データを受信しそれに応じて振れ表示を更新する。タイマは、振れ表示が頻繁に変化するのを防ぎ、一定時間は振れ表示を継続させるためのものである。また、半押しスイッチ22がオフされれば、Aマイコン1がシリアル通信によってBマイコン2に振れ検出回路9、10の電源をオフさせ、Bマイコン2を動作状態からスタンバイ状態にする。ステップS421で、振れ状態表示器8を駆動し振れ表示を消灯し、図5のステップS501に進む。
【0046】
ステップS501で、モードスイッチ24によってセルフタイマ撮影モードか否か判定する。セルフタイマ撮影モードであれば、次のステップS502で、セルフタイマをスタートし、次のステップS505で、メインスイッチ21がオンされたか否か判定する。ステップS501でセルフタイマ撮影モードで、セルフタイマ計時中にステップS503でメインスイッチ21がオフされれば、次のステップS504で、振れ検出回路9、10の電源をオフし振れによる角速度の検出を停止させる振れ検出回路電源オフ命令処理をAマイコン1がBマイコン2にシリアル通信し、次のステップS506で、Bマイコン2を動作状態からスタンバイ状態にするスタンバイ遷移命令処理をAマイコン1がBマイコン2にシリアル通信し、次のステップS507で、図2のステップS207に進む。 ステップS501でセルフタイマ撮影モードで、ステップS503でメインスイッチ21がオンされていれば、次のステップS504で、セルフタイマがタイムアップしたか否か判定する。セルフタイマがタイムアップしなければ、ステップS503に戻り、メインスイッチ21の状態を再判定する。セルフタイマがタイムアップすれば、ステップS508に進む。ステップS501でセルフタイマ撮影モードでなければ、ステップS508に進む。つまり、セルフタイマの計時中にメインスイッチ21をオフすれば、セルフタイマ撮影をキャンセルすることができる。その場合、Aマイコン1がシリアル通信によってBマイコン2に振れ検出回路9、10の電源をオフさせ、Bマイコン2を動作状態からスタンバイ状態にする。ステップS508で、モータ駆動回路11、12を駆動し振れ補正レンズ17を光軸が撮影光学系の概略中央となる位置になるように駆動する補正レンズセンタリング命令処理をAマイコン1がBマイコン2にシリアル通信し、ステップS509に進む。ステップS509で、角速度検出回路9、10の出力値に応じて振れ補正レンズ17を駆動し振れを打ち消すように光軸を変化させる振れ補正制御を開始させる振れ補正制御開始命令処理をAマイコン1がBマイコン2にシリアル通信し、ステップS510に進む。ステップS510で、Bマイコン2が行う振れ補正の制御が安定するまで所定時間待機し、ステップS511に進む。ステップS511で、ステップS403で求めたAE演算によって求められたEV値に従って所定秒時のシャッタ露出処理を行い、ステップS512に進む。このシャッタ露光処理中にストロボ発光モードの場合にはストロボの発光も行われる。ステップS512で、振れ補正制御を停止させる振れ補正制御停止命令処理をAマイコン1がBマイコン2にシリアル通信し、ステップS513に進む。ステップS513で、振れ検出回路9、10の電源をオフし振れによる角速度の検出を停止させる振れ検出回路電源オフ命令処理をAマイコン1がBマイコン2にシリアル通信し、ステップS514に進む。ステップS514で、モータ駆動回路11、12を駆動し振れ補正レンズ17を所定の初期位置であるリセット位置に駆動する補正レンズリセット命令処理をAマイコン1がBマイコン2にシリアル通信し、ステップS515に進む。ステップS515で、Bマイコン2を動作状態からスタンバイ状態にするスタンバイ遷移命令処理をAマイコン1がBマイコン2にシリアル通信し、ステップS516に進む。ステップS516で、フォーカシングレンズ18を初期位置に駆動し、ステップS517に進む。ステップS517で、露光されたフィルムを1駒巻上げ、ステップS518に進む。ステップS518で、Aマイコン1撮影処理を終了し、図2のステップS207に進む。
【0047】
図6は本発明の振れ補正機能を有するカメラのAマイコン1のBマイコン2とのシリアル通信時の処理を示すフローチャートである。
前述のスタンバイ遷移命令処理、振れ検出回路電源オン命令処理、振れ検出回路電源オフ命令処理、振れ表示データ要求命令処理、振れ補正制御開始命令処理、振れ補正制御停止命令処理、補正レンズセンタリング命令処理、補正レンズリセット命令処理、測距値、ズーム位置データ転送処理の具体的な処理で、Aマイコン1はステップS600から処理を開始する。ステップS601で、Aマイコン1がBマイコン2に1バイト目にコマンドデータ、2バイト目にデータをシリアル通信する送信処理(後述)を行い、ステップS602に進む。ステップS602で、送信処理中に後述する送信エラーとなったか否か判定する。送信エラーでなければ、ステップS603に進む。ステップS603で、タイマをスタートさせ、ステップS604に進む。ステップS604で、BRDYがHレベルかLレベルか判定する。BRDYがLレベルであれば、次のステップS605で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS604に戻り、BRDYの状態を再判定する。BRDYがHレベルであれば、ステップS606に進む。ステップS606で、Aマイコン1がBマイコン2からのデータをシリアル通信する受信処理(後述)を行い、ステップS607に進む。ステップS607で、受信処理中に受信エラーとなったか否か判定する。受信エラーでなければ、ステップS609に進む。ステップS609で、Aマイコン1通信処理を終了し、前記のそれぞれの処理に戻る。ステップS602で送信エラーの場合、ステップS605でタイムアップの場合、ステップS607で受信エラーの場合は、シリアル通信エラーとする。ステップS608に進み、シリアルエラー処理を行う。シリアルエラー処理は、図3のステップS320から開始する。ここで、Bマイコン2は、Aマイコン1からの送信処理(ステップS602)の内容によって処理を実行し、その処理の終了後にBRDYをHレベルにする。ステップS605でBRDYがHレベルにならずタイムアップしたということは、Bマイコン2が何らかの理由で正常に動作しなくなったか、正常にシリアル通信が成立しなかったかである。つまり、Aマイコン1の送信処理中に送信エラーとなった場合、受信処理中に受信エラーとなった場合、送信処理後にBRDYがHレベルにならずタイムアップした場合は、シリアル通信エラーとし、シリアルエラー処理を行う。
【0048】
Aマイコン1の処理に対応するBマイコン2の処理、Aマイコン1がBマイコン2にシリアル転送するデータ、Bマイコン2がAマイコン1にシリアル転送するデータを表1に示す。
【0049】
【表1】

Figure 0003584258
【0050】
ここで、表1にAマイコン1からBマイコン2へ転送される転送データと、その転送されたデータの内容により行われるBマイコン2の処理内容と、その処理後にBマイコン2からAマイコンへ転送させるデータの1例を示している。まず、図6のS601に於けるAマイコン送信処理に於いて、前述のスタンバイ遷移命令処理、振れ検出回路電源オン命令処理、振れ検出回路電源オフ命令処理、振れ表示データ要求命令処理、振れ補正制御開始命令処理、振れ補正制御停止命令処理、補正レンズセンタリング命令処理、補正レンズリセット命令処理、測距値、ズーム位置データ転送処理に対応して、それぞれ0、1、2、3、4、5、6、7、8のデータ(コマンドデータ)がBマイコン2へ転送される。次に、2バイト目の転送データとして、前述のスタンバイ遷移命令処理、振れ検出回路電源オン命令処理、振れ検出回路電源オフ命令処理、振れ表示データ要求命令処理、振れ補正制御開始命令処理、振れ補正制御停止命令処理、補正レンズセンタリング命令処理、補正レンズリセット命令処理の場合には0が、測距値、ズーム位置データ転送処理の場合には、測距値とズーム位置のデータがBマイコン2へ転送される。次に、Bマイコン2は、これから詳細を説明する図7の処理によって、Aマイコンから転送されたこれらのデータの内容により、表1に記載された処理を行い、その処理が終了すると、後述する図7のS725のBマイコン送信処理により表1で示されるデータをAマイコン1へ転送する(この転送されるデータを応答データと呼ぶことにする)。
【0051】
図7は本発明の振れ補正機能を有するカメラのBマイコン2の処理の1例を示すフローチャートである。図2の電源投入処理時、Aマイコン1がRESETをLレベルからHレベルにした場合、Bマイコン2はリセット状態を解除され、ステップS700から処理を開始する。メインスイッチ21がオンされた場合、または半押しスイッチ22がオンされた場合、Aマイコン1がARDYをLレベルからHレベルにすることによってBマイコン2はウェイクアップ機能によりスタンバイ状態を解除され、ステップS740から処理を開始する。Bマイコン2リセット解除処理の場合は、ステップS701で、Bマイコン2の内部を初期化し、ステップS702に進む。Bマイコン2スタンバイ解除処理の場合は、ステップS702に進む。ステップS702で、タイマをスタートし、ステップS703に進む。ステップS703で、ARDYがLレベルかHレベルか判定する。ARDYがLレベルならば、次のステップS704で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS703に戻り、ARDYの状態を再判定する。ARDYがHレベルならば、次のステップS705に進む。ステップS705で、Bマイコン2がAマイコン1から1バイト目にコマンドデータ、2バイト目にデータをシリアル通信する受信処理(後述)を行い、ステップS706に進む。ステップS706で、受信処理中に受信エラーとなったか否か判定する。受信エラーでなければ、ステップS707に進む。
【0052】
ステップS707からステップS724で、受信したコマンドデータを判別し、それに応じた処理を行う。ステップS707で、Aマイコン1からスタンバイ遷移命令処理がシリアル通信され、コマンドデータが0の場合、次のステップS708で、振れ検出回路9、10、モータ駆動回路13、14、レンズ位置検出回路19、20を遮断する回路遮断を行い、ステップS725に進む。ステップS709で、Aマイコン1から振れ検出回路電源オン命令処理がシリアル通信され、コマンドデータが1の場合、次のステップS710で、振れ検出回路9、10の電源をオンし振れによる角速度の検出を開始する振れ検出回路電源オン処理を行い、ステップS725に進む。ステップS711で、Aマイコン1から振れ検出回路電源オフ命令処理がシリアル通信され、コマンドデータが2の場合、次のステップS712で、振れ検出回路9、10の電源をオフし振れによる角速度の検出を停止する振れ検出回路電源オフ処理を行い、ステップS725に進む。ステップS713で、Aマイコン1から振れ表示データ要求命令処理がシリアル通信され、コマンドデータが3の場合、次のステップS714で、振れ検出回路9、10が検出した角速度に応じて振れ状態表示器8を駆動するための表示データを演算する振れ表示データ演算を行い、ステップS725に進む。ステップS715で、Aマイコン1から振れ補正制御開始命令処理がシリアル通信され、コマンドデータが4の場合、次のステップS716で、角速度検出回路9、10の出力値に応じて振れ補正レンズ17を駆動し振れを打ち消すように光軸を変化させる振れ補正制御を開始する振れ補正制御開始処理を行い、ステップS725に進む。ステップS717で、Aマイコン1から振れ補正制御停止命令処理がシリアル通信され、コマンドデータが5の場合、次のステップS718で、振れ補正制御を停止する振れ補正制御停止処理を行い、ステップS725に進む。ステップS719で、Aマイコン1から補正レンズセンタリング命令処理がシリアル送信され、コマンドデータが6の場合、次のステップS720で、モータ駆動回路11、12を駆動し振れ補正レンズ17を光軸が撮影光学系の概略中央となる位置になるように駆動する補正レンズセンタリング処理を行い、ステップS725に進む。ステップS721で、Aマイコン1から補正レンズリセット命令処理がシリアル通信され、コマンドデータが7の場合、次のステップS722で、モータ駆動回路11、12を駆動し振れ補正レンズ17をリセット位置に駆動する補正レンズリセット処理を行い、ステップS725に進む。ステップS723で、Aマイコン1から測距値、ズーム位置データ転送処理がシリアル通信され、コマンドデータが8の場合、次のステップS724で、振れ補正制御に必要な測距値、ズーム位置のデータに基づいて補正レンズのシフト係数を演算する補正レンズシフト係数演算処理を行い、ステップS725に進む。この補正レンズシフト係数演算処理とは、振れ検出回路9、10の出力をA/D変換して得られたカメラの振れによる角速度に対して振れ補正レンズ17を如何なる目標速度でシフトすれば適正に振れが補正できるかの係数で、被写体の距離、或いは、撮影光学系がズーム光学系であった場合にその焦点距離によりこの係数は異なる。補正レンズシフト係数演算処理は、測距値、ズーム位置のデータに基づいてこの適正な振れ補正を行える係数を所定の演算を用いて算出する処理である。ステップS725で、Bマイコン2がAマイコン1にデータをシリアル通信する送信処理(後述)を行い、ステップS726に進む。ステップS726で、送信処理中に送信エラーとなったか否か判定する。送信エラーでなければ、ステップS727に進む。ステップS727で、Bマイコン2がAマイコン1からシリアル通信したコマンドデータが0であるか否か判定する。0でなければ、ステップS728に進む。ステップS728で、Aマイコン1が次のシリアル通信のためにARDYをHレベルにしたか否か判定する。Lレベルのままならば、ARDYがHレベルになるまで判定を繰り返す。Hレベルならば、ステップS705に進み、前述の処理を繰り返す。ステップS704でタイマがタイムアップした場合、ステップ706で受信エラーの場合、ステップS726で送信エラーの場合は、シリアル通信エラーとしてステップS729に進み、振れ検出回路9、10、モータ駆動回路13、14、レンズ位置検出回路19、20を遮断する回路遮断を行い、ステップS730に進む。また、S707、S709、S711、S713、S715、S717、S719、S721、S723で全て否定された場合、つまり、S705で受信したコマンドデータが0〜8でない場合、つまり、あり得ないコマンドであった場合には、同様にステップS729で振れ検出回路9、10、モータ駆動回路13、14、レンズ位置検出回路19、20を遮断する回路遮断を行い、ステップS730に進む。ステップS727で、Bマイコン2がAマイコン1からシリアル通信したコマンドデータが0であれば、ステップS730に進む。
【0053】
ステップS730で、Bマイコン2を動作状態からスタンバイ状態にするスタンバイ遷移処理を行い、ステップS731に進む。ステップS731で、Bマイコン2リセット解除処理、Bマイコン2スタンバイ解除処理を終了する。
つまり、Bマイコン2の送信処理中に送信エラーとなった場合、受信処理中に受信エラーとなった場合、Bマイコン2のリセット状態が解除されたがARDYがHレベルにならずタイムアップした場合、Bマイコン2のスタンバイ状態を解除しようとしたがARDYがHレベルにならずタイムアップした場合、Bマイコン2が受信したコマンドデータが所定の値でなかった場合は、振れ検出回路9、10、モータ駆動回路13、14、レンズ位置検出回路19、20を遮断し、Bマイコン2をスタンバイ状態にする。また、Aマイコンからスタンバイ遷移命令が転送された場合にも、振れ検出回路9、10、モータ駆動回路13、14、レンズ位置検出回路19、20を遮断し、Bマイコン2をスタンバイ状態にする。
【0054】
また、S700から開始されるリセット解除時の処理に於いてS702でスタートされるタイマは、RESETの信号ラインにノイズが乗った場合に、Bマイコンが一旦、リセットされた場合にBマイコン、及び、振れ検出回路9、10、モータ駆動回路13、14、レンズ位置検出回路19、20が動作状態になってしまい、電池を消耗してしまうのを防ぐためのものである。S702でスタートしたタイマがタイムアップする前にAマイコンからシリアル通信がない場合には、S729とS730の処理により振れ検出回路9、10、モータ駆動回路13、14、レンズ位置検出回路19、20を遮断し、Bマイコン2はスタンバイ状態に遷移する。
【0055】
また、S740から開始されるスタンバイ解除時の処理に於いてS702でスタートされるタイマは、ARDYの信号ラインにノイズが乗ったことによりBマイコン2がスタンバイ招待から動作状態に遷移した場合に、Bマイコンが動作状態になってしまい、電池が消耗されてしまうのを防ぐためのものである。S702でスタートしたタイマがタイムアップする前にAマイコンからシリアル通信がない場合には、S729とS730の処理により振れ検出回路9、10、モータ駆動回路13、14、レンズ位置検出回路19、20を遮断し、Bマイコン2はスタンバイ状態に遷移する。
【0056】
図8は本発明の振れ補正機能を有するカメラのAマイコン1のBマイコン2への送信処理を示すフローチャートである。図6のステップS601のAマイコン1送信処理を図8のステップS800から開始する。ステップS801で、タイマをスタートし、ステップS802に進む。ステップS802で、ARDYをLレベルからHレベルにし(図12のタイミングt1)、ステップS803に進む。ステップS803で、BRDYがHレベルかLレベルか判定する。BRDYがLレベルであれば、次のステップS804で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS803に戻り、BRDYの状態を再判定する。BRDYがHレベルであれば(図12のタイミングt2)、ステップS805に進む。ステップS805で、タイマをスタートし、ステップS806に進む。ステップS806でARDYをHレベルからLレベルにし(図12のタイミングt3)、ステップS807に進む。ステップS807で、BRDYがHレベルかLレベルか判定する。BRDYがHレベルであれば、次のステップS808で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS807に戻り、BRDYの状態を再判定する。BRDYがLレベルであれば(図12のタイミングt4)、ステップS809に進む。ステップS809で、Aマイコン1がSCKに同期したSOを出力することによってBマイコン2にコマンドデータがシリアル通信される(図12のタイミングt5からt6、表1のAマイコン1がBマイコン2に転送するデータの1バイト目)。逆に、この時、Bマイコン2がSCKに同期したSOを入力することによってAマイコン1からのコマンドデータをシリアル受信する。次にステップS810に進む。ステップS810で、タイマをスタートし、ステップS811に進む。ステップS811で、ARDYをLレベルからHレベルにし(図12のタイミングt7)、ステップS812に進む。ステップS812で、BRDYがHレベルかLレベルか判定する。BRDY
がLレベルであれば、次のステップS813で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS812に戻り、BRDYの状態を再判定する。BRDYがHレベルであれば(図12のタイミングt8)、ステップS814に進む。ステップS814で、タイマをスタートし、ステップS815に進む。ステップS815で、ARDYをHレベルからLレベルにし(図12のタイミングt9)、ステップS816に進む。ステップS816で、BRDYがHレベルかLレベルか判定する。BRDYがHレベルであれば、次のステップS817で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS816に戻り、BRDYの状態を再判定する。BRDYがLレベルであれば(図12のタイミングt10)、ステップS818に進む。ステップS818で、Aマイコン1がSCKに同期したSOを出力することによってBマイコン2に2バイト目のデータがシリアル通信される(図12のタイミングt11からt12、表1のAマイコン1がBマイコン2に転送するデータの2バイト目)。逆に、この時、Bマイコン2がSCKに同期したSOを入力することによってAマイコン1からの2バイト目のデータをシリアル受信する。次のステップS820に進む。
【0057】
ステップS803でBRDYがLレベルのまま、次のステップS804でタイマがタイムアップした場合、ステップS819に進み、送信エラーとする。ステップS807でBRDYがHレベルのまま、次のステップS808でタイマがタイムアップした場合、ステップS819に進み、送信エラーとする。ステップS812でBRDYがLレベルのまま、次のステップS813でタイマがタイムアップした場合、ステップS819に進み、送信エラーとする。ステップS816でBRDYがHレベルのまま、次のステップS817でタイマがタイムアップした場合、ステップS819に進み、送信エラーとする。次のステップS820で、Aマイコン1送信処理を終了し、図6のステップS602に進む。
【0058】
つまり、Aマイコン1がARDYをLレベルからHレベルにした後、所定のタイマ時間内に後述するBマイコン2の受信処理によってBRDYをLレベルからHレベルにならなかった場合、またはAマイコン1がARDYをHレベルからLレベルにした後、所定のタイマ時間内に後述するBマイコン2受信処理によってBRDYをHレベルからLレベルにならなかった場合、送信エラーとして、前述のシリアルエラー処理を行う。
【0059】
以上のように、タイマはBマイコン2が何らかの理由で正常に動作しなくなったことを検出するためのものである。また、正常にシリアル通信が成立しなかったことを検出するためのものである。
図9は本発明の振れ補正機能を有するカメラのBマイコン2のAマイコン1からの受信処理を示すフローチャートである。図7のステップS705のBマイコン2送信処理を図9のステップS900から開始する。ステップS901で、タイマをスタートし、ステップS902に進む。ステップS902で、BRDYをLレベルからHレベルにし(図12のタイミングt2)、ステップS903に進む。ステップS903で、ARDYがHレベルかLレベルか判定する。ARDYがHレベルであれば、次のステップS904で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS903に戻り、ARDYの状態を再判定する。ARDYがLレベルであれば(図12のタイミングt3)、ステップS905に進む。ステップS905で、Bマイコン2のシリアル受信を許可し、ステップS906に進む。これは、Aマイコン1から送信されるデータを受信することが可能な状態にすることである。ステップS906で、タイマをスタートし、ステップS907に進む。ステップS907で、BRDYをHレベルからLレベルにする(図12のタイミングt4)。このことにより、前述のようにAマイコン1はこのBRDYのLレベルになったことを検出し、コマンドデータのBマイコン2への転送が開始される(図12のタイミングt5、表1のAマイコン1がBマイコン2に転送するデータの1バイト目)。次にステップS908に進む。ステップS908で、コマンドデータのシリアル受信が終了したか否か判定する。シリアル受信が終了していなければ、次のステップS909で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS908に戻り、シリアル受信が終了したか否か再判定する。シリアル受信が終了していれば(図12のタイミングt6)、ステップS910に進む。ステップS910で、受信したデータを所定データにセットし、ステップS911に進む。ステップS911で、タイマをスタートし、ステップS912に進む。ステップS912で、ARDYがHレベルかLレベルか判定する。ARDYがLレベルであれば、次のステップS913で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS912に戻り、ARDYの状態を再判定する。ARDYがHレベルであれば(図12のタイミングt7)、ステップS914に進む。ステップS914で、タイマをスタートし、ステップS915に進む。ステップS915で、BRDYをLレベルからHレベルにし(図12のタイミングt8)、ステップS916に進む。ステップS916で、ARDYがHレベルかLレベルか判定する。ARDYがHレベルであれば、次のステップS917で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS916に戻り、ARDYの状態を再判定する。ARDYがLレベルであれば(図12のタイミングt9)、ステップS918に進む。Bマイコン2のシリアル受信を許可し、ステップS919に進む。これは、Aマイコン1から送信されるデータを受信することが可能な状態にすることである。ステップS919で、タイマをスタートし、ステップS920に進む。ステップS920で、BRDYをHレベルからLレベルにする(図12のタイミングt10)。このことにより、前述のようにAマイコン1はこのBRDYのLレベルになったことを検出し、2バイト目のデータのBマイコン2への転送が行われる(図12のタイミングt11、表1のAマイコン1がBマイコン2に転送するデータの2バイト目)。次にステップS921に進む。ステップS921で、2バイト目のデータのシリアル受信が終了したか否か判定する。シリアル受信が終了していなければ、次のステップS922で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS921に戻り、シリアル受信が終了したか否か再判定する。シリアル受信が終了していれば(図12のタイミングt12)、ステップS923に進む。ステップS923で、受信したデータを所定データにセットし、ステップS925に進む。
【0060】
ステップS903でARDYがHレベルのまま、次のステップS904でタイマがタイムアップした場合、ステップS924に進み、送信エラーとする。ステップS908でシリアル受信が終了しないまま、次のステップS909でタイマがタイムアップした場合、ステップS924に進み、送信エラーとする。ステップS912でARDYがLレベルのまま、次のステップS913でタイマがタイムアップした場合、ステップS924に進み、送信エラーとする。ステップS916でARDYがHレベルのまま、次のステップS917でタイマがタイムアップした場合、ステップS924に進み、送信エラーとする。ステップS921でシリアル受信が終了しないまま、次のステップS922でタイマがタイムアップした場合、ステップS924に進み、送信エラーとする。次のステップS925で、Bマイコン2受信処理を終了し、図7のステップS706に進む。
【0061】
つまり、Bマイコン2がBRDYをLレベルからHレベルにした後、所定のタイマ時間内に前述のAマイコン1受信処理によってARDYをLレベルからHレベルにならなかった場合、またはBマイコン2がBRDYをHレベルからLレベルにした後、所定のタイマ時間内に前述のAマイコン1受信処理によってARDYをHレベルからLレベルにならなかった場合、またはBマイコン2のシリアル受信が所定のタイマ時間内に終了しなかった場合、受信エラーとして、前述のシリアルエラー処理を行う。
【0062】
以上のように、タイマはAマイコン1が何らかの理由で正常に動作しなくなったことを検出するためのものである。また、正常にシリアル通信が成立しなかったことを検出するためのものである。
図10は本発明の振れ補正機能を有するカメラのBマイコン2のAマイコン1への送信処理を示すフローチャートである。図7のステップS725のBマイコン2送信処理を図10のステップS1000から開始する。ステップS1001で、タイマをスタートし、ステップS1002に進む。ステップS1002で、BRDYをLレベルからHレベルにし(図13のタイミングt21)、ステップS1003に進む。ステップS1003で、ARDYがHレベルかLレベルか判定する。ARDYがLレベルであれば、次のステップS1004で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS1003に戻り、ARDYの状態を再判定する。ARDYがHレベルであれば(図13のタイミングt22)、ステップS1005に進む。ステップS1005で、Bマイコン2のシリアル通信を許可し、ステップS1006に進む。これは、Aマイコン1からSCKが入力されると、Bマイコン2がSCKに同期してSIから応答データをAマイコン1に送信することが可能な状態にすることである。
【0063】
ステップS1006で、タイマをスタートし、ステップS1007に進む。
ステップS1007で、BRDYをHレベルからLレベルにし(図13のタイミングt23)、ステップS1008に進む。ステップS1008で、ARDYがHレベルかLレベルか判定する。ARDYがHレベルであれば、次のステップS1009で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS1008に戻り、ARDYの状態を再判定する。ARDYがLレベルであれば(図13のタイミングt24)、ステップS1010に進む。ステップS1010で、タイマをスタートし、Bマイコン2がSCKに同期したSIを出力することによってAマイコン1に応答データがシリアル通信が開始される(図13のタイミングt25、表1のBマイコン2の処理後にAマイコン1に転送するデータ)。逆に、この時、Aマイコン1がSCKに同期したSIを入力することによってBマイコン2からの応答データをシリアル受信する。次にステップS1011に進む。ステップS1011で、応答データのシリアル通信が終了したか否か判定する。シリアル通信が終了していなければ、次のステップS1012で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS1011に戻り、シリアル通信が終了したか否か再判定する。シリアル通信が終了していれば(図13のタイミングt26)、ステップS1014に進む。
【0064】
ステップS1003でARDYがLレベルのまま、次のステップS1004でタイマがタイムアップした場合、ステップS1013に進み、送信エラーとする。ステップS1008でARDYがHレベルのまま、次のステップS1009でタイマがタイムアップした場合、ステップS1013に進み、送信エラーとする。ステップS1011でシリアル通信が終了しないまま、次のステップS1012でタイマがタイムアップした場合、ステップS1013に進み、送信エラーとする。
【0065】
次のステップS1014で、Bマイコン2送信処理を終了し、図7のステップS726に進む。
つまり、Bマイコン2がBRDYをLレベルからHレベルにした後、所定のタイマ時間内に前述のAマイコン1受信処理によってARDYをLレベルからHレベルにならなかった場合、またはBマイコン2がBRDYをHレベルからLレベルにした後、所定のタイマ時間内に前述のAマイコン1受信処理によってARDYをHレベルからLレベルにならなかった場合、またはBマイコン2のシリアル通信が所定のタイマ時間内に終了しなかった場合、送信エラーとして、前述のシリアルエラー処理を行う。
【0066】
以上のように、タイマはBマイコン2が何らかの理由で正常に動作しなくなったことを検出するためのものである。また、正常にシリアル通信が成立しなかったことを検出するためのものである。
図11は本発明の振れ補正機能を有するカメラのAマイコン1のBマイコン2からの受信処理を示すフローチャートである。図6のステップS606のAマイコン1受信処理を図11のステップS1100から開始する。ステップS1101で、タイマをスタートし、ステップS1102に進む。ステップS1102で、ARDYをLレベルからHレベルにし(図13のタイミングt22)、ステップS1103に進む。ステップS1103で、BRDYがHレベルかLレベルか判定する。BRDYがHレベルであれば、次のステップS1104で、タイマがタイムアップしたか否か判定する。タイムアップしていなければ、ステップS1103に戻り、BRDYの状態を再判定する。BRDYがLレベルであれば(図13のタイミングt23)、ステップS1105に進む。ステップS1105で、ARDYをHレベルからLレベルにし(図13のタイミングt24)、ステップS1106に進む。ステップS1106で、Aマイコン1がSCKに同期したSIを入力することによってBマイコン2からの応答データをシリアル受信する(図13のタイミングt25からt26、表1のBマイコン2の処理後にAマイコン1に転送するデータ)。逆に、この時、Bマイコン2がSCKに同期したSIを出力することによってAマイコン1に応答データがシリアル通信される。次にステップS1107に進む。ステップS1107で、シリアル受信が終了した後、受信した応答データが正常か否か判定する。正常な応答データであれば、ステップS1109に進む。ステップS1109で、受信したデータを所定データにセットし、ステップS1110進む。
【0067】
ステップS1103でBRDYがHレベルのまま、次のステップS1104でタイマがタイムアップした場合、ステップS1108に進み、受信エラーとする。ステップS1107で受信した応答データが正常でない場合、つまり、あり得ないデータであった場合には、ステップS1108に進み、受信エラーとする。このあり得ないデータとは、応答データ(Bマイコン2の処理にAマイコン1に転送するデータ)が表1で示されるデータ以外であった場合である。
【0068】
次のステップS1110で、Aマイコン1受信処理を終了し、図6のステップS607に進む。
つまり、Aマイコン1がARDYをLレベルからHレベルにした後、所定のタイマ時間内に前述のBマイコン2送信処理によってBRDYをHレベルからLレベルにならなかった場合、またはAマイコン1が受信した応答データが正常なデータでない場合、受信エラーとして、前述のシリアルエラー処理を行う。
【0069】
以上のように、タイマはAマイコン1が何らかの理由で正常に動作しなくなったことを検出するためのものである。また、正常にシリアル通信が成立しなかったことを検出するためのものである。
【0070】
【発明の効果】
以上のように本発明によれば、以下の効果がある。
請求項1のカメラに於いては、主制御装置と振れ補正制御装置との間でシリアルデータ転送が行われることによって、振れ補正制御装置の待機状態と動作状態とを切り替えることができるので、振れ補正を行わない場合に待機状態に切り替えれば振れ補正制御装置で消耗する電流が抑えられる。さらに、電気的に接続されたシリアルデータ転送を行う信号ラインの少なくとも1本の信号によって、振れ補正制御装置の待機状態が解除され動作状態となるので、振れ補正制御装置で消耗する電流が抑えられるとともに、従来通り振れ補正制御装置で振れ補正の制御を行うことができる。
【0071】
請求項2のカメラに於いては、カメラの撮影処理を実行させるレリーズ釦の半押しスイッチ操作部材の操作に応じて主制御装置と振れ補正制御装置との間でシリアルデータ転送が行われることによって、振れ補正制御装置の待機状態が解除され動作状態となるので、振れ補正制御装置で消耗する電流が抑えられるとともに、半押しスイッチの操作に応じて振れ補正制御装置で振れ補正の制御可能な状
態にすることができる。
【0072】
請求項3のカメラに於いては、カメラを撮影可能にするメインスイッチ操作部材の操作に応じて主制御装置と振れ補正制御装置との間でシリアルデータ転送が行われることによって、振れ補正制御装置の待機状態が解除され動作状態となるので、振れ補正制御装置で消耗する電流が抑えられるとともに、メインスイッチ操作部材の操作に応じて振れ補正制御装置が制御可能な状態にすることができる。
【0073】
請求項4のカメラに於いては、カメラの露出処理が終了したことに応じて主制御装置と振れ補正制御装置との間でシリアルデータ転送が行われることによって、振れ補正制御装置を動作状態から待機状態に遷移させるので、露光処理が終了し、振れ補正制御装置の制御が必要でないときには振れ補正制御装置で消耗する電流が抑えられる。
【0074】
請求項5のカメラに於いては、半押しスイッチ操作部材の操作が解除されたことに応じて、主制御装置と振れ補正制御装置との間でシリアルデータ転送が行われることによって、振れ補正制御装置を動作状態から待機状態に遷移させるので、振れ補正制御装置の制御が必要でないときには振れ補正制御装置で消耗する電流が抑えられる。
【0075】
請求項6のカメラに於いては、さらに電子閃光装置を備え、電子閃光装置の発光を伴う露出処理の場合、電子閃光装置が未充電と判定されたとき、主制御装置と振れ補正制御装置との間でシリアルデータ転送が行われることによって、振れ補正制御装置を動作状態から待機状態に遷移させるので、振れ補正制御装置の制御が必要でないときには振れ補正制御装置で消耗する電流が抑えられる。
【0076】
請求項7のカメラに於いては、カメラのセルフタイマの計時中にセルフタイマ撮影が解除されたとき、主制御装置と振れ補正制御装置との間でシリアルデータ転送が行われることによって、振れ補正制御装置を動作状態から待機状態に遷移させるので、振れ補正制御装置の制御が必要でないときには振れ補正制御装置で消耗する電流が抑えられる。
【0077】
請求項8のカメラに於いては、カメラに電源が投入されたことに応じて振れ補正制御手段が光軸変化装置を所定の基準位置に駆動させた後、主制御装置と振れ補正制御装置との間でシリアルデータ転送が行われることによって、振れ補正制御装置を動作状態から待機状態に遷移させるので、振れ補正制御装置の制御が必要でないときには振れ補正制御装置で消耗する電流が抑えられる。
【0078】
請求項9のカメラに於いては、振れ補正制御装置が待機状態から解除されてから所定時間経過しても主制御装置の振れ補正制御装置へのシリアルデータ転送が行われない場合に、振れ補正制御装置は動作状態から待機状態に遷移するので、たとえシリアルデータ転送を行う信号ラインにノイズが乗って振れ補正制御装置が待機状態から動作状態になっても所定時間経過すれば待機状態に遷移するので振れ補正制御装置で消耗する電流が抑えられる。
【0079】
請求項10のカメラに於いては、振れ補正制御装置が待機状態から解除されてから所定時間経過しても主制御装置の振れ補正制御装置へのシリアルデータ転送が行われない場合に、振れ補正制御装置は振れ検出装置と駆動装置の電源を遮断するようにしたので、たとえシリアルデータ転送を行う信号ラインにノイズが乗って振れ補正制御装置が待機状態から動作状態になって振れ検出装置と駆動装置
の電源がオンしても、所定時間経過すれば振れ検出装置と駆動装置の電源が遮断され、そこで消耗する電流が抑えられる。
【図面の簡単な説明】
【図1】本発明の振れ補正機能を有するカメラの構成を示すブロック図である。
【図2】本発明の振れ補正機能を有するカメラのAマイコンの全体の処理を示すフローチャートである。
【図3】本発明の振れ補正機能を有するカメラのAマイコンの電源投入時、メインスイッチオン時、AマイコンとBマイコンとのシリアル通信エラー時の処理である。
【図4】本発明の振れ補正機能を有するカメラのAマイコンの撮影処理を示すフローチャートである。
【図5】本発明の振れ補正機能を有するカメラの図4のAマイコンの撮影処理に引き続く処理を示すフローチャートである。
【図6】本発明の振れ補正機能を有するカメラのAマイコンのBマイコンとのシリアル通信時の処理を示すフローチャートである。
【図7】本発明の振れ補正機能を有するカメラのBマイコンのAマイコンとのシリアル通信、その他の処理を示すフローチャートである。
【図8】本発明の振れ補正機能を有するカメラのAマイコンのBマイコンへの送信処理を示すフローチャートである。
【図9】本発明の振れ補正機能を有するカメラのBマイコンのAマイコンからの受信処理を示すフローチャートである。
【図10】本発明の振れ補正機能を有するカメラのBマイコンのAマイコンへの送信処理を示すフローチャートである。
【図11】本発明の振れ補正機能を有するカメラのAマイコンのBマイコンからの受信処理を示すフローチャートである。
【図12】本発明のAマイコンからBマイコンへの通信の1例を示すタイミングチャートである。
【図13】本発明のBマイコンからAマイコンへの通信の1例を示すタイミングチャートである。
【図14】本発明の電源投入時のAマイコンの処理の様子を示すタイミングチャートである。
【図15】本発明のAマイコンのシリアルエラー検出時の処理の様子を示すタイミングチャートである。
【符号の説明】
1 …Aマイコン
2 …Bマイコン
3 …測光回路
4 …測距回路
5 …EEPROM
6 …LCD
7 …ストロボ回路
8 …振れ状態表示器
9 …振れ検出回路(X軸方向)
10 …振れ検出回路(Y軸方向)
11 …モータ駆動回路(X軸方向)
12 …モータ駆動回路(Y軸方向)
13 …モータ(X軸方向)
14 …モータ(Y軸方向)
15 …撮影レンズ
16 …撮影レンズ
17 …振れ補正レンズ
18 …フォーカシングレンズ
19 …レンズ位置検出回路(X軸方向)
20 …レンズ位置検出回路(Y軸方向)
21 …メインスイッチ
22 …半押しスイッチ
23 …全押しスイッチ
24 …モードスイッチ[0001]
[Industrial applications]
The present invention relates to a camera having a shake correction function.
[0002]
[Prior art]
Conventionally, in a camera having a shake correction function, a shake detection circuit using an angular velocity sensor or the like detects a shake generated in the camera, and corrects the shake by changing an optical axis of a photographing optical system based on the detected amount. Such a camera has been proposed.
[0003]
In order to change the optical axis of the photographing optical system, a shake correction lens which is a part of the photographing optical system is used, and the optical axis is changed by driving the lens perpendicular to the optical axis by a motor or the like. . When a motor is used, the rotation of the motor is reduced by a gear or the like, and the rotational motion is converted into a linear motion, thereby driving the shake correction lens.
Conventionally, in a camera having a shake correction function, a drive speed of a shake correction lens for correcting shake based on an output from a shake detection circuit is calculated, and the drive speed of the shake correction lens is calculated based on an output from the lens position detection circuit. Calculate the driving amount. The shake correction lens is driven from a predetermined reference position (hereinafter, referred to as a reset position) such that the optical axis is substantially at the center position of the photographing optical system (hereinafter, referred to as centering drive). Immediately before the exposure process for exposing the film by driving the shutter, the microcomputer controls the motor drive circuit based on the calculated drive speed and drive amount, drives the shake correction lens, and cancels the optical axis so as to cancel the camera shake. (Hereinafter, referred to as shake correction control) is started. After the exposure processing is completed and the shake correction control ends, the shake correction lens is driven to a reset position (hereinafter, referred to as reset drive). Such a series of processing is performed.
[0004]
In addition, it has a main microcomputer that controls a series of photographing processes of the camera, and a sub-microcomputer that controls a shake detection circuit, a lens position detection circuit, and a motor drive circuit to execute shake correction control. The main microcomputer controls the sub-microcomputer by being electrically connected and performing serial communication.
[0005]
In addition, the sub-microcomputer has an operation state in which processing is performed according to a program built in the sub-microcomputer, and a standby state in which the processing of the program is temporarily stopped and current consumption is very small compared to the operation state (hereinafter, standby mode). State), and a stopped state (hereinafter, referred to as a reset state) in which the processing of the program is stopped and the internal data is initialized.
[0006]
[Problems to be solved by the invention]
However, as described above, according to the conventional technology, the main microcomputer controls the sub-microcomputer via a device such as a reset IC to release the sub-microcomputer from the reset state or to shift to the reset state. I was Therefore, there has been a problem that the mounting area increases and the cost increases.
[0007]
Also, since the main microcomputer and sub-microcomputer transfer data by serial communication, if a serial communication error occurs, the shake detection circuit, lens position detection circuit, and motor drive circuit remain operating, and the battery that is the power supply There has been a problem that it is worn out and leads to the occurrence of defects and the expansion of defects.
Therefore, the present invention has been made in view of such a conventional problem, and aims at solving a cost increase due to an increase in a mounting area because a main microcomputer controls a sub-microcomputer via a reset IC. And
[0008]
Another object of the present invention is to solve the problem of the battery being exhausted, the occurrence of a failure and the expansion of the failure when a serial communication error occurs.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides
2. A camera according to claim 1, wherein the main control device controls a series of photographing exposure operations of the camera, a shake detecting device for detecting a shake of the camera, and an optical axis changing device for changing an optical axis of the photographing lens. A driving device that drives the optical axis changing device, and a vibration correction control device that controls the driving device based on an output from the shake detecting device and drives the optical axis changing device to perform shake correction. The shake correction control device has at least a standby state in which the operation is on standby, and an operating state in which the main control device and the shake correction control device are electrically connected. By controlling the shake correction control device, serial data transfer is performed between the main control device and the shake correction control device, so that the standby state and the operation state of the shake correction control device are switched.The shake correction control device is released from the standby state and becomes the operation state by at least one signal of the signal line for serial data transfer which is electrically connected.I did it.
[0010]
Claim 2In the camera ofIn addition to claim 1The image stabilization control device operates by releasing the standby state by serial data transfer between the main control device and the image stabilization control device in accordance with the operation of the half-press switch operating member of the release button for executing the photographing process of the camera. State.
[0011]
Claim 3In the camera ofClaim 1In addition, the main controller releases the standby state of the shake correction control device by performing serial data transfer with the shake correction control device in accordance with the operation of the main switch operation member that enables the camera to take an image. State.
Claim 4In the above camera, in addition to the first aspect, the main control device performs serial data transfer with the shake correction control device in response to the end of the exposure processing of the camera, and waits for the shake correction control device from the operating state. Changed to state.
[0012]
Claim 5In the camera of the first aspect, in addition to the first aspect, the main control device serially communicates with the shake correction control device in response to the release of the operation of the half-press switch operating member of the release button for executing the photographing process of the camera. Data transfer is performed, and the shake correction control device is changed from the operation state to the standby state..
Claim 6In the camera of the present invention, in addition to the first aspect, an electronic flash device is provided, and when an exposure process involving light emission of the electronic flash device is performed, when the electronic flash device is determined to be uncharged, the main control device By transferring serial data to the shake correction control device, the shake correction control device is changed from the operating state to the standby state.
[0013]
Claim 7When the self-timer shooting is canceled while the self-timer of the camera is counting, the main control device performs serial data transfer with the shake correction control device. Thus, the shake correction control device is changed from the operation state to the standby state.
Claim 8In the camera described in claim 1, in addition to the claim 1, the main controller controls the shake after the shake correction controller drives the optical axis changing device to a predetermined reference position in response to the power being supplied to the camera. By performing serial data transfer with the correction control device, the shake correction control device is changed from the operating state to the standby state.
[0014]
Claim 9In the camera ofClaims 1 to 8In addition to the invention according to any one of the above, when serial data transfer to the shake correction control device of the main control device is not performed even after a predetermined time has elapsed since the shake correction control device was released from the standby state, The shake correction control device transitions from the operating state to the standby state.
Claim 10In the camera ofClaims 1 to 8In addition to the invention according to any one of the above, when serial data transfer to the shake correction control device of the main control device is not performed even after a predetermined time has elapsed since the shake correction control device was released from the standby state, The shake correction control device cuts off the power supply of the shake detection device and the drive device.
[0015]
[Action]
In the present invention, the following operations are provided.
In the camera according to the first aspect, the main control device can switch between the standby state and the operation state of the shake correction control device by performing serial data transfer with the shake correction control device. By switching to the standby state when the correction is not performed, the current consumed by the shake correction control device can be suppressed.In addition, the main controller releases the standby state of the shake correction controller and sets it to an operation state by at least one signal on the signal line for serial data transfer that is electrically connected. Current, and the shake correction can be controlled by the shake correction control device as before.
[0017]
Claim 2In the camera described above, the main control device performs serial data transfer with the shake correction control device in response to the operation of the half-press switch operating member of the release button for executing the photographing process of the camera. Since the standby state of the control device is released and the operating state is set, the current consumed by the shake correction control device is suppressed, and the shake correction control device can be controlled for shake correction according to the operation of the half-press switch.
Can be in a state.
[0018]
Claim 3In the camera described above, the main control device performs serial data transfer with the shake correction control device in accordance with the operation of the main switch operation member that enables the camera to take a picture, so that the shake correction control device is in a standby state. Is released and the operation state is set, so that the current consumed by the shake correction control device can be suppressed, and the shake correction control device can be brought into a controllable state in accordance with the operation of the main switch operating member.
[0019]
Claim 4In the camera of (1), the main controller shifts the shake correction controller from the operating state to the standby state by performing serial data transfer with the shake correction controller in response to the completion of the exposure processing of the camera. Since the transition is made, the current consumed by the shake correction control device is suppressed when the exposure process ends and the control of the shake correction control device is not necessary.
[0020]
Claim 5In the camera described above, the main control device operates the shake correction control device by performing serial data transfer with the shake correction control device in response to the release of the operation of the half-press switch operating member. Since the transition is made from the state to the standby state, the current consumed by the shake correction control device is suppressed when the control of the shake correction control device is not necessary.
[0021]
Claim 6In the camera of (1), the camera is provided with an electronic flash device, and in the case of an exposure process involving light emission of the electronic flash device, the main control device determines whether the electronic flash device is uncharged. By performing serial data transfer by the controller, the image stabilization control device transitions from the operating state to the standby state.
When control is not required, the current consumed by the shake correction control device is suppressed.
[0022]
Claim 7In the camera of the above, when the self-timer shooting is canceled while the self-timer of the camera is counting, the main control device performs serial data transfer with the shake correction control device to thereby control the shake correction control device. Since the transition is made from the operating state to the standby state, the current consumed by the shake correction control device when the control of the shake correction control device is unnecessary is suppressed.
[0023]
Claim 8In the camera of (1), the main control unit drives the optical axis changing device to the predetermined reference position by the shake correction control means in response to the power being supplied to the camera, and then interlocks with the shake correction control device. Since the serial data transfer is performed to shift the shake correction control device from the operating state to the standby state, the current consumed by the shake correction control device can be suppressed when control of the shake correction control device is not necessary.
[0024]
Claim 9In the case of the camera, when serial data transfer is not performed from the main control device to the shake correction control device even if a predetermined time has elapsed after the shake correction control device is released from the standby state, the shake correction control device Since the transition from the operation state to the standby state is performed, even if noise is present on the signal line for performing serial data transfer and the shake correction control device is switched from the standby state to the operation state, the state transits to the standby state after a predetermined time has elapsed.
Therefore, the current consumed by the shake correction control device can be suppressed.
[0025]
Claim 10In the case of the camera, when the main control device does not perform serial data transfer to the shake correction control device even if a predetermined time has elapsed since the shake correction control device was released from the standby state, the shake correction control device Since the power supply of the shake detection device and the drive device is cut off, even if noise is present on the signal line for serial data transfer, the shake correction control device changes from the standby state to the operation state and the shake detection device and the drive device
Even if the power supply is turned on, the power supply of the shake detection device and the drive device is cut off after a predetermined time, and the current consumed there is suppressed.
[0026]
【Example】
FIG. 1 is a block diagram showing a configuration of a camera having a shake correction function according to a first embodiment of the present invention.
The taking lens is composed of four lenses 15, 16, 17, and 18. The photographing lens 17 corresponds to the optical axis changing device described above, and is a shake correction lens 17 that can be driven in the X-axis (horizontal) and Y-axis (vertical) directions for shake correction. The taking lens 18 is a focusing lens 18 that can be driven in the Z-axis (optical axis) direction for focus adjustment.
[0027]
The A microcomputer 1 corresponds to the above-described main control device, executes a photographing process other than the shake correction control, and controls the B microcomputer 2. The A microcomputer 1 is a main microcomputer, and includes a photometry circuit 3, a distance measurement circuit 4, a nonvolatile memory 5 (Hereinafter referred to as an EEPROM 5), a liquid crystal display 6 (hereinafter referred to as an LCD 6), a strobe circuit 7, a shake state display 8, a main switch 21, a half-press switch 22, and a full-press switch. 23 and a mode switch 24 are connected.
[0028]
The photometric circuit 3 measures the luminance of the object scene. The distance measuring circuit 4 measures the distance to the subject. The EEPROM 5 is for writing adjustment data and the like necessary for the photographing process in advance, so that the A microcomputer 1 reads the predetermined data when necessary after the predetermined process is performed. The LCD 6 displays shooting information such as a shooting mode, the number of films, and a zoom position. A flash circuit 7 as an electronic flash device includes a booster and a light emission controller, and controls charging and light emission. Further, it is possible to detect whether or not the charging is completed. The shake state display 8 displays the shake state of the camera. The main switch 21 is a switch for starting the operation of the camera, and has an ON position and an OFF position. Once the photographer sets the ON position, the main switch 21 holds the ON position until the photographer returns to the OFF position again. The half-press switch 22 is turned on by half-pressing the release button. The full-press switch 23 is turned on by fully pressing the release button. The mode switch 24 can cyclically select a photographing mode set each time the photographer turns on, for example, a strobe photographing mode, a self photographing mode, and the like.
[0029]
The B microcomputer 2 is equivalent to the above-described shake correction control circuit, and is a sub-microcomputer that executes shake correction control, and includes a shake detection circuits 9 and 10, motor drive circuits 11 and 12, and lens position detection circuits 19 and 20. It is connected and executes shake correction control. The shake detection circuits 9 and 10 correspond to the above-described shake detection device. The shake detection circuit 9 detects an angular velocity in the X-axis direction caused by camera shake, and the shake detection circuit 10 detects an angular velocity in the Y-axis direction. The motor drive circuit 11 is connected to a motor 13 for driving the shake correction lens 17 in the X-axis direction, and the motor drive circuit 12 is connected to a motor 14 for driving the shake correction lens 17 in the Y-axis direction. Of the driving device. The rotation of the motor 13 is converted into linear motion by a shake correction lens driving mechanism (not shown), and drives the shake correction lens 17 in the X-axis direction. The rotation of the motor 14 is converted into linear motion by a shake correction lens drive mechanism (not shown), and drives the shake correction lens 17 in the Y-axis direction. The lens position detection circuits 19 and 20 correspond to a displacement detection device. The lens position detection circuit 19 reads the position of the shake correction lens 17 in the X-axis direction, and the lens position detection circuit 20 reads the position of the shake correction lens 17 in the Y-axis direction. Read the position of. The output from the shake detection circuits 9 and 10 is A / D converted by the B microcomputer 2 to calculate the angular velocity generated in the camera due to the shake, and the target speed controlled by the shake correction lens 17 for correcting the shake. The actual moving speed of the shake correction lens 17 is calculated from the outputs from the lens position detection circuits 19 and 20. The B microcomputer 2 calculates the drive amounts of the motors 13 and 14 by a predetermined calculation from the target speed of the shake correction lens 17 and the actual moving speed of the shake correction lens 17, and controls the motors 13 and 14 through the motor drive circuits 11 and 12. Driven. As a result, the shake correction lens 17 is driven at an appropriate speed, and the camera shake is corrected.
[0030]
The A microcomputer 1 and the B microcomputer 2 are connected by the following control signal lines, and the A microcomputer 1 controls the B microcomputer 2 by performing serial communication between the A microcomputer 1 and the B microcomputer 2. The shake correction control can be executed.
ARDY is an output signal from the A microcomputer 1 to the B microcomputer 2, and is a signal for a data transfer request from the A microcomputer 1 to the B microcomputer 2 and a handshake between the A microcomputer 1 and the B microcomputer 2.
[0031]
BRDY is an output signal from the B microcomputer 2 to the A microcomputer 1, a signal for requesting data transfer from the B microcomputer 2 to the A microcomputer 1, and a signal for handshaking between the A microcomputer 1 and the B microcomputer 2.
SCK is an output signal from the A microcomputer 1 to the B microcomputer 2, and is a serial clock for serial data transfer between the A microcomputer 1 and the B microcomputer 2.
[0032]
SO is an output signal from the A microcomputer 1 to the B microcomputer 2, and is a signal for transferring data in synchronization with the SCK signal when transferring data from the A microcomputer 1 to the B microcomputer 2. SI is an output signal from the B microcomputer 2 to the A microcomputer 1, and is a signal for transferring data in synchronization with the SCK signal when transferring data from the B microcomputer 2 to the A microcomputer 1. RESET is an output signal from the microcomputer A 1 to the microcomputer B 2, and is a signal for releasing the microcomputer B 2 from the reset state or transitioning to the reset state. The B microcomputer 2 enters the reset state when the RESET signal is at the L level, and is reset to the operating state when the B signal is changed from the L level to the H level. In addition, the B microcomputer 2 has a wake-up function in which the standby state is released and the operation state is established by changing the ARDY signal from the L level to the H level. Here, the operating state is a state in which processing is performed according to a program built in the microcomputer. The standby state is a standby state in which the processing of the program is temporarily stopped, and consumes much less current than in the operation state. Further, the internal data of the microcomputer and the state of the input / output port retain the state immediately before the transition to the standby state. The reset state is a stopped state in which the processing of the program has been stopped, and the internal data has been initialized.
[0033]
The A microcomputer 1 and the B microcomputer 2 are one-chip microcomputers, and control the entire sequence of the camera. The A microcomputer 1 has a clock timer function for measuring time, an AE calculation function, an AF calculation function, and the like. The B microcomputer 2 has a clock timer function for measuring time, an A / D conversion function, a shake correction function, and the like.
[0034]
The processing shown in the flowchart described below shows only the processing related to the present embodiment among the programs built in the A microcomputer 1 and the B microcomputer 2.
FIG. 2 is a flowchart showing the overall processing of the A microcomputer 1 of the camera having the shake correction function according to the first embodiment of the present invention.
[0035]
When the power is turned on, the microcomputer A starts processing from step S200. First, in step S201, internal data and input / output ports of the microcomputer A are initialized, and the process proceeds to step S202. In step S202, a power-on process described later is executed, and the process proceeds to step S203. In step S203, it is determined whether the main switch 21 is on. If it is turned on, the process proceeds to step S204, executes a main switch process described later, and proceeds to step S205. If it is off, the determination is continued until the main switch 21 is turned on. In step S205, it is determined whether the half-press switch 22 is on. If it is turned on, the process proceeds to step S206, executes a photographing process described later, and proceeds to step S207. If it is off, the process proceeds to step S207. In step S207, it is determined whether the main switch 21 is on. If it is turned on, the process returns to step S205, and the half-press switch 22 is determined again. If it is off, the process returns to step S203.
[0036]
That is, the state of the main switch 21 and the half-press switch 22 is determined, and if the half-press switch 22 is turned on while the main switch 21 is on, the photographing process is performed.
FIG. 3 is a flowchart showing processing when the A microcomputer 1 of the camera having the shake correction function according to the first embodiment of the present invention is turned on, the main switch 21 is turned on, and a serial communication error occurs between the A microcomputer 1 and the B microcomputer 2. It is.
[0037]
When the A microcomputer 1 is powered on, the A microcomputer 1 power on process in step S202 in FIG. 2 is started from step S300 in FIG. In step S301, a reset release process for releasing the reset state of the B microcomputer 2 is performed, and the process proceeds to step S302. In step S302, the process waits for a predetermined time, and proceeds to step S303. In step S303, the microcomputer A serially communicates the correction lens reset command processing for driving the shake correction lens 17 to the reset position with the microcomputer B 2, and the process proceeds to step S304. In step S304, the A microcomputer 1 performs serial communication with the B microcomputer 2 for standby transition instruction processing for changing the B microcomputer 2 from the operating state to the standby state, and the process proceeds to step S305. In step S305, the microcomputer A 1 power-on processing ends, and the process proceeds to step S203 in FIG. That is, when the power is turned on, the microcomputer A releases the microcomputer B from the reset state. After the predetermined processing is completed, the A microcomputer 1 changes the B microcomputer 2 from the operating state to the standby state by serial communication.
[0038]
This will be described with reference to FIG. 14. The microcomputer B is in a reset state from the time when the power is turned on until the timing t31. At timing t31, the microcomputer A changes RESET from the L level to the H level, so that the microcomputer B is released from the reset state. The timing t32 and thereafter correspond to the serial communication in step S303.
[0039]
When the main switch 21 is turned on, the microcomputer A main switch processing of step S204 of FIG. 2 is started from step S310 of FIG. The same processing as the above-described processing is performed from step S303, and in step S305, the A microcomputer 1 main switch processing ends, and the flow advances to step S205 in FIG. That is, when the main switch 21 is turned on, the A microcomputer 1 releases the B microcomputer 2 from the standby state by serial communication and puts the B microcomputer 2 into the operating state. After the predetermined processing is completed, the A microcomputer 1 changes the B microcomputer 2 from the operating state to the standby state by serial communication.
[0040]
This will be described with reference to FIG. 12. Before the timing t1, the B microcomputer 2 is in a standby state. At timing t1, A microcomputer 1 changes ARDY from L level to H level by serial communication, and the wake-up function of B microcomputer 2 cancels the standby state and enters the operating state. Details of the serial communication between the A microcomputer 1 and the B microcomputer 2 will be described later.
[0041]
If a communication error occurs during serial communication between the A microcomputer 1 and the B microcomputer 2 to be described later, and the A microcomputer 1 detects the communication error, the A microcomputer 1 starts serial error processing from step S320. In step S321, the LCD 6 is displayed blinking, and the process proceeds to step S322. In step S322, the microcomputer A performs a reset transition process for forcibly resetting the microcomputer B 2 and the process proceeds to step S323. In step S323, the process waits for a predetermined time, and proceeds to step S301. The same processing as the above-described processing is performed from step S301, and in step S305, the serial error processing of the microcomputer A is terminated, and the process proceeds to step S203 in FIG. The blinking of the LCD 6 continues until the main switch 21 or the half-press switch 22 is turned on again (not shown).
[0042]
That is, when a serial communication error occurs, the LCD 6 flashes and the A microcomputer 1 forcibly resets the B microcomputer 2. After a predetermined time, the microcomputer A releases the microcomputer B from the reset state. After the predetermined processing is completed, the A microcomputer 1 changes the B microcomputer 2 from the operating state to the standby state by serial communication.
[0043]
This will be described with reference to FIG. 15. Until the timing t41, the B microcomputer 2 is in the operating state or the standby state. At the timing t41, the microcomputer A changes the RESET from the H level to the L level (corresponding to the process of S322), so that the microcomputer B is reset. After a predetermined time, the microcomputer A changes RESET from the L level to the H level at timing t42 (corresponding to the processing of S301), so that the reset state of the microcomputer B is released. After timing t43 corresponds to the serial communication in step S303. FIGS. 4 and 5 are flowcharts showing the photographing processing of the A microcomputer 1 of the camera having the shake correction function of the present invention. When the half-push switch 22 is turned on with the main switch 21 turned on, the microcomputer A 1 shooting processing in step S206 in FIG. 2 is started from step S400 in FIG. In step S401, the microcomputer A serially communicates the shake detection circuit power-on command processing for turning on the power of the shake detection circuits 9 and 10 to start detecting the angular velocity due to the shake to the B microcomputer 2, and the process proceeds to step S402. When the microcomputer A changes the level of the signal ARDY from the L level to the H level in this serial communication, the microcomputer B is released from the standby state and enters the operating state. In step S402, the photometric circuit 3 is operated to perform photometric processing, and the distance measuring circuit 4 is operated to perform distance measuring processing. In step S403, AE calculation, AF calculation, and FM calculation are performed based on the results of the photometry processing and the distance measurement processing in step S402, and the process proceeds to step S404. In step S404, the microcomputer A serially communicates the distance measurement value required for the shake correction control, the distance measurement value for transferring the zoom position data, and the zoom position data transfer processing to the B microcomputer 2, and the process proceeds to step S405. In step S405, it is determined based on the result of the AE operation in step S403 whether or not the flash emission shooting mode has been selected or whether the flash emission shooting mode has been selected by the mode switch 24. In the case of the flash emission photographing mode, in the next step S406, it is determined whether or not the charging of the flash circuit 7 is completed. In step S405, in the flash emission shooting mode, if the charging of the flash circuit 7 has not been completed in step S406, the flash circuit 7 is driven to start charging (not shown), and in the next step S407, the shake detection circuit 9, A microcomputer 1 serially communicates a shake detection circuit power-off instruction process to B microcomputer 2 to turn off the power of 10 and stop detection of angular velocity due to shake, and in the next step S408, B microcomputer 2 is changed from the operating state to the standby state. The microcomputer A serially communicates the standby transition instruction processing to be performed to the microcomputer B, and in the next step S409, the process proceeds to step S207 in FIG. If the flash mode is not set in step S405, or if the charging of the flash circuit 7 is completed in step S406, the process proceeds to step S410. That is, when the half-press switch 22 is turned on, the A microcomputer 1 changes the B microcomputer 2 from the standby state to the operating state by serial communication, and causes the B microcomputer 2 to turn on the power of the shake detection circuits 9 and 10. Further, after the half-push switch 22 is turned on, if the strobe light emission photographing mode is determined and the charging of the strobe is not completed, the A microcomputer 1 turns off the power of the shake detection circuits 9 and 10 to the B microcomputer 2 by serial communication, The B microcomputer 2 is changed from the operating state to the standby state. In step S410, the focusing lens 18 is driven from the initial position to the AF step ahead obtained in step S403, and the process proceeds to step S411. In step S411, the microcomputer A serially communicates the shake display data request command processing to the microcomputer B 2 in order to perform a display corresponding to the angular velocity calculated by the microcomputer B 2 detected by the camera shake detecting circuits 9, 10. move on. At this time, the blur display data is transferred from the B microcomputer 2 to the A microcomputer 1. In step S412, the shake state display 8 is driven according to the shake display data transmitted from the B microcomputer 2 to the A microcomputer 1 to perform shake display, and the process proceeds to step S413. In step S413, the timer is started, and the process proceeds to step S414. In step S414, it is determined whether the full-push switch 23 is turned on. If the full-press switch 23 has not been turned on, it is determined in the next step S415 whether the half-press switch 22 has been turned on. If the half-push switch 22 has not been turned on, it is determined in the next step S416 whether or not the timer has expired.
[0044]
If the full-push switch 23 has not been turned on in step S414, the half-push switch 22 has been turned on in step S415, and if the timer has expired in step S416, the process returns to step S411, and the A microcomputer 1 sets the B microcomputer 2 A shake display data request communication process is performed to update the shake display. If the full-press switch 23 has not been turned on in step S414, the half-press switch 22 has been turned on in step S415, and if the timer has not expired in step S416, the process returns to step S414, and the state of the full-press switch 23 is changed. Redetermine. If the full-press switch 23 is not turned on in step S414 and the half-press switch 22 is not turned on in step S415, the power of the shake detection circuits 9 and 10 is turned off in the next step S417 to detect the angular velocity due to the shake. The microcomputer A performs serial communication with the microcomputer B for the shake detection circuit power-off instruction processing to be stopped, and the microcomputer A executes the standby transition instruction processing for changing the microcomputer B from the operating state to the standby state in the next step S418. The serial communication is performed in step S420, and the shake display is turned off in the next step S419, and the process proceeds to step S207 in FIG. If it is determined in step S414 that the full-push switch 23 has been turned on, the process proceeds to step S420.
[0045]
That is, if the full-press switch 23 is turned on while the half-press switch 22 is turned on, the subsequent photographing processing is continued. In a state where the full-press switch 23 is off and the half-press switch 22 is kept on, the shake display data is received every time the timer expires, and the shake display is updated accordingly. The timer is for preventing the shake display from frequently changing and for continuing the shake display for a certain period of time. When the half-push switch 22 is turned off, the microcomputer A turns off the power of the shake detecting circuits 9 and 10 to the microcomputer B 2 via serial communication, and the microcomputer B is changed from the operating state to the standby state. In step S421, the shake state display 8 is driven to turn off the shake display, and the process proceeds to step S501 in FIG.
[0046]
In step S501, the mode switch 24 determines whether the mode is the self-timer shooting mode. If the mode is the self-timer shooting mode, the self-timer is started in the next step S502, and in the next step S505, it is determined whether or not the main switch 21 is turned on. If the main switch 21 is turned off in step S503 in the self-timer photographing mode during self-timer counting in step S501, the power supply of the shake detection circuits 9 and 10 is turned off in the next step S504 to stop detecting the angular velocity due to the shake. The microcomputer A serially communicates the shake detection circuit power-off command processing to the microcomputer B2 to perform a standby transition command processing for changing the microcomputer B2 from the operating state to the standby state in the next step S506. Then, in the next step S507, the process proceeds to step S207 in FIG. If the main switch 21 is turned on in step S503 in the self-timer shooting mode in step S501, it is determined in step S504 whether the self-timer has expired. If the self-timer has not expired, the process returns to step S503, and the state of the main switch 21 is determined again. If the self-timer times out, the process proceeds to step S508. If it is not the self-timer shooting mode in step S501, the process proceeds to step S508. That is, if the main switch 21 is turned off during the time counting by the self-timer, the self-timer shooting can be canceled. In this case, the A microcomputer 1 turns off the power of the shake detecting circuits 9 and 10 to the B microcomputer 2 by serial communication, and changes the B microcomputer 2 from the operating state to the standby state. In step S508, the microcomputer A performs a correction lens centering command process for driving the motor drive circuits 11 and 12 to drive the shake correction lens 17 so that the optical axis is positioned substantially at the center of the photographing optical system. Serial communication is performed, and the process proceeds to step S509. In step S509, the A microcomputer 1 executes a shake correction control start command process for starting the shake correction control for driving the shake correction lens 17 according to the output values of the angular velocity detection circuits 9 and 10 to change the optical axis so as to cancel the shake. Serial communication is performed with the B microcomputer 2, and the process proceeds to step S510. In step S510, the process waits for a predetermined time until the control of the shake correction performed by the B microcomputer 2 is stabilized, and proceeds to step S511. In step S511, a shutter exposure process at a predetermined time is performed according to the EV value obtained by the AE calculation obtained in step S403, and the process proceeds to step S512. In the case of the strobe light emission mode during the shutter exposure processing, the strobe light is also emitted. In step S512, the microcomputer A serially communicates the shake correction control stop command processing for stopping the shake correction control to the microcomputer B 2, and the process proceeds to step S513. In step S513, the microcomputer A serially communicates the shake detection circuit power-off command processing for turning off the power of the shake detection circuits 9, 10 to stop the detection of the angular velocity due to the shake to the microcomputer B 2, and the process proceeds to step S514. In step S514, the microcomputer A serially communicates the correction lens reset command processing for driving the motor drive circuits 11 and 12 to drive the shake correction lens 17 to the reset position, which is a predetermined initial position, with the microcomputer B B2. move on. In step S515, the A microcomputer 1 performs serial communication with the B microcomputer 2 for a standby transition instruction process for changing the B microcomputer 2 from the operating state to the standby state, and proceeds to step S516. In step S516, the focusing lens 18 is driven to the initial position, and the flow advances to step S517. In step S517, the exposed film is wound up by one frame, and the flow advances to step S518. In step S518, the microcomputer A ends the photographing process, and the process proceeds to step S207 in FIG.
[0047]
FIG. 6 is a flowchart showing a process of serial communication between the microcomputer A and the microcomputer B 2 of the camera having the shake correcting function according to the present invention.
The above-described standby transition instruction processing, shake detection circuit power-on instruction processing, shake detection circuit power-off instruction processing, shake display data request instruction processing, shake correction control start instruction processing, shake correction control stop instruction processing, correction lens centering instruction processing, In the specific processing of the correction lens reset command processing, the distance measurement value, and the zoom position data transfer processing, the A microcomputer 1 starts the processing from step S600. In step S601, the microcomputer A performs transmission processing (described later) for serially communicating command data to the first byte and data to the second byte to the microcomputer B 2, and the process proceeds to step S602. In step S602, it is determined whether a transmission error described later has occurred during the transmission process. If there is no transmission error, the process proceeds to step S603. In step S603, the timer is started, and the process proceeds to step S604. In step S604, it is determined whether BRDY is at an H level or an L level. If BRDY is at the L level, it is determined in the next step S605 whether or not the timer has expired. If the time has not elapsed, the process returns to step S604, and the state of BRDY is determined again. If BRDY is at the H level, the process proceeds to step S606. In step S606, the microcomputer A performs a receiving process (described later) for serially communicating data from the microcomputer B 2, and the process proceeds to step S607. In step S607, it is determined whether a reception error has occurred during the reception process. If there is no reception error, the process proceeds to step S609. In step S609, the microcomputer A 1 communication processing ends, and the processing returns to the above-described processing. In the case of a transmission error in step S602, the case of time-up in step S605, and the case of a reception error in step S607, a serial communication error is determined. Proceeding to step S608, serial error processing is performed. The serial error processing starts from step S320 in FIG. Here, the B microcomputer 2 executes a process according to the contents of the transmission process (step S602) from the A microcomputer 1, and sets BRDY to the H level after the completion of the process. The fact that BRDY does not go to the H level and the time is up in step S605 means that the B microcomputer 2 does not operate normally for some reason or the serial communication is not normally established. In other words, if a transmission error occurs during the transmission process of the microcomputer 1, if a reception error occurs during the reception process, or if BRDY does not go to the H level after the transmission process and the time is up, a serial communication error is generated. Perform error handling.
[0048]
Table 1 shows the processing of the B microcomputer 2 corresponding to the processing of the A microcomputer 1, the data that the A microcomputer 1 transfers serially to the B microcomputer 2, and the data that the B microcomputer 2 transfers serially to the A microcomputer 1.
[0049]
[Table 1]
Figure 0003584258
[0050]
Here, Table 1 shows the transfer data transferred from the A microcomputer 1 to the B microcomputer 2, the processing contents of the B microcomputer 2 performed based on the contents of the transferred data, and the transfer from the B microcomputer 2 to the A microcomputer after the processing. An example of data to be performed is shown. First, in the microcomputer A transmission processing in S601 of FIG. 6, the above-mentioned standby transition instruction processing, shake detection circuit power on instruction processing, shake detection circuit power off instruction processing, shake display data request instruction processing, shake correction control In response to the start command processing, the shake correction control stop command processing, the correction lens centering command processing, the correction lens reset command processing, the distance measurement value, and the zoom position data transfer processing, 0, 1, 2, 3, 4, 5,. Data 6, 7 and 8 (command data) are transferred to the B microcomputer 2. Next, as the transfer data of the second byte, the above-described standby transition instruction processing, shake detection circuit power on instruction processing, shake detection circuit power off instruction processing, shake display data request instruction processing, shake correction control start instruction processing, shake correction In the case of the control stop command processing, the correction lens centering command processing, and the correction lens reset command processing, 0 is used. In the case of the distance measurement value and zoom position data transfer processing, the data of the distance measurement value and the zoom position are transmitted to the B microcomputer 2. Will be transferred. Next, the B microcomputer 2 performs the processing described in Table 1 based on the contents of these data transferred from the A microcomputer by the processing of FIG. 7 described in detail below. The data shown in Table 1 is transferred to the A microcomputer 1 by the B microcomputer transmission process of S725 in FIG. 7 (this transferred data is referred to as response data).
[0051]
FIG. 7 is a flowchart showing an example of the processing of the B microcomputer 2 of the camera having the shake correction function of the present invention. At the time of the power-on process shown in FIG. 2, when the microcomputer A changes RESET from L level to H level, the microcomputer B is released from the reset state and starts the process from step S700. When the main switch 21 is turned on or the half-press switch 22 is turned on, the microcomputer A changes the level of ARDY from the L level to the H level, and the microcomputer B is released from the standby state by the wake-up function. The processing is started from S740. In the case of the B microcomputer 2 reset release processing, the inside of the B microcomputer 2 is initialized in step S701, and the process proceeds to step S702. In the case of the B microcomputer 2 standby release processing, the process proceeds to step S702. In step S702, a timer is started, and the process proceeds to step S703. In step S703, it is determined whether ARDY is at L level or H level. If ARDY is at the L level, it is determined in the next step S704 whether or not the timer has expired. If the time has not elapsed, the process returns to step S703, and the state of ARDY is determined again. If ARDY is at the H level, the process proceeds to the next step S705. In step S705, the B microcomputer 2 performs a receiving process (described later) for serially communicating command data in the first byte and data in the second byte from the A microcomputer 1, and proceeds to step S706. In step S706, it is determined whether a reception error has occurred during the reception process. If there is no reception error, the process proceeds to step S707.
[0052]
In steps S707 to S724, the received command data is determined, and processing corresponding to the command data is performed. In step S707, the standby transition instruction process is serially communicated from the microcomputer A, and when the command data is 0, in the next step S708, the shake detection circuits 9, 10, the motor drive circuits 13, 14, the lens position detection circuit 19, The circuit is cut off to shut off the circuit 20, and the process proceeds to step S725. In step S709, the microcomputer 1 communicates serially a command to turn on the shake detection circuit, and if the command data is 1, in step S710, the power of the shake detection circuits 9, 10 is turned on to detect the angular velocity due to the shake. The start of the shake detection circuit power-on process is performed, and the process proceeds to step S725. In step S711, the shake detection circuit power-off command processing is serially communicated from the microcomputer A, and when the command data is 2, in step S712, the power of the shake detection circuits 9, 10 is turned off to detect the angular velocity due to the shake. The power of the shake detection circuit to be stopped is turned off, and the process proceeds to step S725. In step S713, the shake display data request command processing is serially communicated from the microcomputer A, and when the command data is 3, in the next step S714, the shake state display 8 according to the angular velocity detected by the shake detection circuits 9, 10 Is performed to calculate display data for driving the display, and the process proceeds to step S725. In step S715, the shake correction control start command processing is serially communicated from the microcomputer A, and when the command data is 4, the shake correction lens 17 is driven in accordance with the output value of the angular velocity detection circuits 9 and 10 in the next step S716. A shake correction control start process for starting shake correction control for changing the optical axis so as to cancel the shake is performed, and the process proceeds to step S725. In step S717, the shake correction control stop instruction processing is serially communicated from the microcomputer A, and when the command data is 5, the shake correction control stop processing for stopping the shake correction control is performed in the next step S718, and the process proceeds to step S725. . In step S719, the correction lens centering command processing is serially transmitted from the microcomputer A, and when the command data is 6, in the next step S720, the motor drive circuits 11 and 12 are driven to move the vibration correction lens 17 to the A correction lens centering process for driving the lens to be located at a position substantially at the center of the system is performed, and the flow advances to step S725. In step S721, the correction lens reset command process is serially communicated from the microcomputer A, and when the command data is 7, the motor drive circuits 11, 12 are driven to drive the shake correction lens 17 to the reset position in the next step S722. A correction lens reset process is performed, and the process proceeds to step S725. At step S723, the distance measurement value and the zoom position data transfer processing are serially communicated from the microcomputer A. If the command data is 8, the next step S724 is to convert the distance measurement value and the zoom position data necessary for the shake correction control. A correction lens shift coefficient calculation process of calculating a shift coefficient of the correction lens based on the correction coefficient is performed, and the process proceeds to step S725. This correction lens shift coefficient calculation processing means that if the output of the shake detection circuits 9 and 10 is A / D converted, the shake correction lens 17 is shifted at any target speed with respect to the angular velocity due to the camera shake. This coefficient is a coefficient as to whether or not the shake can be corrected. The coefficient differs depending on the distance to the subject or, when the photographing optical system is a zoom optical system, its focal length. The correction lens shift coefficient calculation process is a process of calculating a coefficient capable of performing the appropriate shake correction based on data of the distance measurement value and the zoom position using a predetermined calculation. In step S725, the B microcomputer 2 performs a transmission process (described later) for serially communicating data to the A microcomputer 1, and the process proceeds to step S726. In step S726, it is determined whether a transmission error has occurred during the transmission process. If there is no transmission error, the process proceeds to step S727. In step S727, the B microcomputer 2 determines whether the command data serially transmitted from the A microcomputer 1 is 0. If not 0, the process proceeds to step S728. In step S728, it is determined whether the microcomputer A has set ARDY to the H level for the next serial communication. If the signal remains at the L level, the determination is repeated until ARDY becomes the H level. If it is at the H level, the process proceeds to step S705, and the above-described processing is repeated. If the timer times out in step S704, if a reception error occurs in step 706, or if a transmission error occurs in step S726, the process proceeds to step S729 as a serial communication error, and the shake detection circuits 9, 10, the motor drive circuits 13, 14, Circuit interruption for interrupting the lens position detection circuits 19 and 20 is performed, and the process proceeds to step S730. In addition, when all the results are negative in S707, S709, S711, S713, S715, S717, S719, S721, and S723, that is, when the command data received in S705 is not 0 to 8, it is an impossible command. In this case, similarly, in step S729, the circuit for shutting off the shake detection circuits 9 and 10, the motor drive circuits 13 and 14, and the lens position detection circuits 19 and 20 is cut off, and the process proceeds to step S730. In step S727, if the command data serially communicated by the B microcomputer 2 from the A microcomputer 1 is 0, the process proceeds to step S730.
[0053]
In step S730, a standby transition process for changing the B microcomputer 2 from the operating state to the standby state is performed, and the flow advances to step S731. In step S731, the B microcomputer 2 reset release processing and the B microcomputer 2 standby release processing are terminated.
In other words, when a transmission error occurs during the transmission processing of the B microcomputer 2, when a reception error occurs during the reception processing, or when the reset state of the B microcomputer 2 is released, but ARDY does not go to the H level and the time is up. , When the standby time of the B microcomputer 2 is canceled but ARDY does not go to the H level and the time is up, and when the command data received by the B microcomputer 2 is not a predetermined value, the shake detection circuits 9, 10, The motor drive circuits 13 and 14 and the lens position detection circuits 19 and 20 are shut off, and the B microcomputer 2 is set in a standby state. Also, when the standby transition command is transferred from the microcomputer A, the shake detection circuits 9 and 10, the motor drive circuits 13 and 14, and the lens position detection circuits 19 and 20 are shut off, and the microcomputer B is set to the standby state.
[0054]
The timer started in S702 in the processing at the time of reset release started in S700 is configured such that when noise is present on the RESET signal line, the B microcomputer is once reset and the B microcomputer is reset. This is to prevent the shake detection circuits 9 and 10, the motor drive circuits 13 and 14, and the lens position detection circuits 19 and 20 from operating and consuming the battery. If there is no serial communication from the microcomputer A before the timer started in S702 expires, the shake detection circuits 9 and 10, the motor drive circuits 13 and 14, and the lens position detection circuits 19 and 20 are set in S729 and S730. Shut off, and the B microcomputer 2 transits to the standby state.
[0055]
The timer started in S702 in the process of canceling the standby started in S740 sets the timer B when the microcomputer 2 shifts from the standby invitation to the operating state due to the noise on the ARDY signal line. This is to prevent the microcomputer from operating and the battery from being consumed. If there is no serial communication from the microcomputer A before the timer started in S702 expires, the shake detection circuits 9 and 10, the motor drive circuits 13 and 14, and the lens position detection circuits 19 and 20 are set in S729 and S730. Shut off, and the B microcomputer 2 transits to the standby state.
[0056]
FIG. 8 is a flowchart showing a transmission process of the A microcomputer 1 to the B microcomputer 2 of the camera having the shake correction function of the present invention. The A microcomputer 1 transmission process in step S601 in FIG. 6 starts from step S800 in FIG. In step S801, a timer is started, and the process proceeds to step S802. In step S802, ARDY is changed from L level to H level (timing t1 in FIG. 12), and the process proceeds to step S803. In step S803, it is determined whether BRDY is at an H level or an L level. If BRDY is at the L level, it is determined in the next step S804 whether or not the timer has expired. If the time has not elapsed, the process returns to step S803, and the state of BRDY is determined again. If BRDY is at the H level (timing t2 in FIG. 12), the process proceeds to step S805. In step S805, a timer is started, and the process proceeds to step S806. In step S806, ARDY is changed from H level to L level (timing t3 in FIG. 12), and the process proceeds to step S807. In step S807, it is determined whether BRDY is at an H level or an L level. If BRDY is at the H level, it is determined in the next step S808 whether or not the timer has expired. If the time has not elapsed, the process returns to step S807, and the state of BRDY is determined again. If BRDY is at the L level (timing t4 in FIG. 12), the process proceeds to step S809. In step S809, the command data is serially communicated to the microcomputer B by the microcomputer A 1 outputting SO synchronized with the SCK (from timing t5 to t6 in FIG. 12, the microcomputer A in Table 1 is transferred to the microcomputer B 2). First byte of data to be processed). Conversely, at this time, the B microcomputer 2 serially receives command data from the A microcomputer 1 by inputting SO synchronized with SCK. Next, the process proceeds to step S810. In step S810, a timer is started, and the process proceeds to step S811. In step S811, ARDY is changed from L level to H level (timing t7 in FIG. 12), and the process proceeds to step S812. In step S812, it is determined whether BRDY is at H level or L level. BRDY
Is L level, in the next step S813, it is determined whether or not the timer has expired. If the time has not elapsed, the process returns to step S812, and the BRDY state is determined again. If BRDY is at the H level (timing t8 in FIG. 12), the process proceeds to step S814. In step S814, a timer is started, and the process proceeds to step S815. In step S815, ARDY is changed from H level to L level (timing t9 in FIG. 12), and the process proceeds to step S816. In step S816, it is determined whether BRDY is at an H level or an L level. If BRDY is at the H level, it is determined in the next step S817 whether or not the timer has expired. If the time has not elapsed, the process returns to step S816, and the state of BRDY is determined again. If BRDY is at the L level (timing t10 in FIG. 12), the process proceeds to step S818. In step S818, the A microcomputer 1 outputs SO synchronized with the SCK, so that the second byte of data is serially communicated to the B microcomputer 2 (from timing t11 to t12 in FIG. 12; 2nd byte of data to be transferred to 2). Conversely, at this time, the B microcomputer 2 receives the second byte of data from the A microcomputer 1 serially by inputting SO synchronized with SCK. Proceed to the next step S820.
[0057]
If the timer times out in the next step S804 while BRDY remains at the L level in step S803, the process proceeds to step S819, and a transmission error is determined. If the timer times out in step S808 while BRDY remains at the H level in step S807, the process proceeds to step S819, and a transmission error is determined. If the timer times out in the next step S813 while BRDY remains at the L level in step S812, the process proceeds to step S819, and a transmission error is determined. If the timer times out in the next step S817 while BRDY remains at the H level in step S816, the process proceeds to step S819, and a transmission error is determined. In the next step S820, the A microcomputer 1 transmission process ends, and the process proceeds to step S602 in FIG.
[0058]
That is, after the A microcomputer 1 changes ARDY from the L level to the H level, the BR microcomputer 2 does not change the LDY from the L level to the H level within a predetermined timer time by the reception processing of the B microcomputer 2 described later, or the A microcomputer 1 After changing ARDY from H level to L level, if BRDY does not change from H level to L level by a B microcomputer 2 reception process described later within a predetermined timer time, the above-described serial error process is performed as a transmission error.
[0059]
As described above, the timer is for detecting that the B microcomputer 2 does not operate normally for some reason. It is also for detecting that serial communication has not been normally established.
FIG. 9 is a flowchart showing the reception processing from the A microcomputer 1 of the B microcomputer 2 of the camera having the shake correction function of the present invention. The B microcomputer 2 transmission process in step S705 in FIG. 7 starts from step S900 in FIG. In step S901, a timer is started, and the process proceeds to step S902. In step S902, BRDY is changed from L level to H level (timing t2 in FIG. 12), and the process proceeds to step S903. In step S903, it is determined whether ARDY is at H level or L level. If ARDY is at the H level, it is determined in the next step S904 whether or not the timer has expired. If the time has not elapsed, the process returns to step S903, and the state of ARDY is determined again. If ARDY is at the L level (timing t3 in FIG. 12), the process proceeds to step S905. In step S905, serial reception by the B microcomputer 2 is permitted, and the flow advances to step S906. This is to make it possible to receive data transmitted from the A microcomputer 1. In step S906, a timer is started, and the process proceeds to step S907. In step S907, BRDY is changed from H level to L level (timing t4 in FIG. 12). As a result, as described above, the A microcomputer 1 detects that the BRDY has become L level, and starts transferring command data to the B microcomputer 2 (timing t5 in FIG. 12, A microcomputer in Table 1). 1 is the first byte of data to be transferred to the B microcomputer 2). Next, the process proceeds to step S908. In step S908, it is determined whether the serial reception of the command data has been completed. If the serial reception has not been completed, it is determined in the next step S909 whether or not the timer has expired. If the time has not elapsed, the process returns to step S908, and it is determined again whether the serial reception has been completed. If the serial reception has been completed (timing t6 in FIG. 12), the process proceeds to step S910. In step S910, the received data is set to predetermined data, and the flow advances to step S911. In step S911, a timer is started, and the process proceeds to step S912. In step S912, it is determined whether ARDY is at an H level or an L level. If ARDY is at the L level, it is determined in the next step S913 whether or not the timer has expired. If the time has not elapsed, the process returns to step S912, and the state of ARDY is determined again. If ARDY is at the H level (timing t7 in FIG. 12), the process proceeds to step S914. In step S914, a timer is started, and the process proceeds to step S915. In step S915, BRDY is changed from L level to H level (timing t8 in FIG. 12), and the process proceeds to step S916. In step S916, it is determined whether ARDY is at an H level or an L level. If ARDY is at the H level, it is determined in the next step S917 whether or not the timer has expired. If the time has not elapsed, the process returns to step S916, and the state of ARDY is determined again. If ARDY is at the L level (timing t9 in FIG. 12), the process proceeds to step S918. The serial reception of the B microcomputer 2 is permitted, and the process proceeds to step S919. This is to make it possible to receive data transmitted from the A microcomputer 1. In step S919, the timer is started, and the process proceeds to step S920. In step S920, BRDY is changed from H level to L level (timing t10 in FIG. 12). As a result, the microcomputer A detects that the BRDY has gone to the L level as described above, and transfers the second byte of data to the microcomputer B (timing t11 in FIG. 12; The second byte of data transferred from the A microcomputer 1 to the B microcomputer 2). Next, the process proceeds to step S921. In step S921, it is determined whether the serial reception of the second byte of data has been completed. If the serial reception has not been completed, it is determined in the next step S922 whether or not the timer has expired. If the time has not elapsed, the process returns to step S921, and it is determined again whether or not the serial reception has ended. If the serial reception has been completed (timing t12 in FIG. 12), the process proceeds to step S923. In step S923, the received data is set to predetermined data, and the flow advances to step S925.
[0060]
If the timer times out in step S904 while ARDY remains at the H level in step S903, the process proceeds to step S924, where a transmission error is determined. If the timer has expired in the next step S909 without ending the serial reception in step S908, the process proceeds to step S924, and a transmission error is determined. If the timer times out in the next step S913 while ARDY remains at the L level in step S912, the process proceeds to step S924 and a transmission error is determined. If the timer times out in step S917 while ARDY remains at the H level in step S916, the process proceeds to step S924, and a transmission error is determined. If the timer has expired in the next step S922 without terminating the serial reception in step S921, the process proceeds to step S924, and a transmission error is determined. In the next step S925, the B microcomputer 2 reception processing ends, and the flow advances to step S706 in FIG.
[0061]
That is, after the B microcomputer 2 changes BRDY from the L level to the H level, if the ARDY does not change from the L level to the H level within the predetermined timer time by the reception processing of the A microcomputer 1, or the B microcomputer 2 changes the BRDY Is changed from the H level to the L level, and the ARDY does not change from the H level to the L level by the above-described reception processing of the microcomputer 1 within a predetermined timer time, or the serial reception of the microcomputer B is performed within the predetermined timer time. Otherwise, the above-described serial error processing is performed as a reception error.
[0062]
As described above, the timer is for detecting that the A microcomputer 1 does not operate normally for some reason. It is also for detecting that serial communication has not been normally established.
FIG. 10 is a flowchart showing a transmission process from the B microcomputer 2 to the A microcomputer 1 of the camera having the shake correction function of the present invention. The B microcomputer 2 transmission processing in step S725 in FIG. 7 is started from step S1000 in FIG. In step S1001, a timer is started, and the process proceeds to step S1002. In step S1002, BRDY is changed from L level to H level (timing t21 in FIG. 13), and the process proceeds to step S1003. In step S1003, it is determined whether ARDY is at H level or L level. If ARDY is at the L level, it is determined in the next step S1004 whether or not the timer has expired. If the time has not elapsed, the process returns to step S1003, and the state of ARDY is determined again. If ARDY is at the H level (timing t22 in FIG. 13), the process proceeds to step S1005. In step S1005, serial communication of the B microcomputer 2 is permitted, and the process proceeds to step S1006. In other words, when SCK is input from the microcomputer A, the microcomputer B can transmit response data from the SI to the microcomputer 1 in synchronization with the clock SCK.
[0063]
In step S1006, a timer is started, and the process proceeds to step S1007.
In step S1007, BRDY is changed from H level to L level (timing t23 in FIG. 13), and the process proceeds to step S1008. In step S1008, it is determined whether ARDY is at H level or L level. If ARDY is at the H level, it is determined in the next step S1009 whether or not the timer has expired. If the time has not elapsed, the process returns to step S1008, and the state of ARDY is determined again. If ARDY is at the L level (timing t24 in FIG. 13), the process proceeds to step S1010. In step S1010, a timer is started, and the B microcomputer 2 outputs SI synchronized with SCK, whereby serial communication of response data to the A microcomputer 1 is started (timing t25 in FIG. 13, the B microcomputer 2 in Table 1). Data to be transferred to microcomputer A after processing). Conversely, at this time, the A microcomputer 1 serially receives response data from the B microcomputer 2 by inputting SI synchronized with SCK. Next, the process proceeds to step S1011. In step S1011, it is determined whether the serial communication of the response data has been completed. If the serial communication has not been completed, it is determined in the next step S1012 whether or not the timer has expired. If the time has not elapsed, the process returns to step S1011 to determine again whether or not the serial communication has ended. If the serial communication has been completed (timing t26 in FIG. 13), the process proceeds to step S1014.
[0064]
If the timer times out in the next step S1004 while ARDY remains at the L level in step S1003, the process proceeds to step S1013, where a transmission error is determined. If the timer times out in the next step S1009 while ARDY remains at the H level in step S1008, the process proceeds to step S1013, where a transmission error is determined. If the timer times out in the next step S1012 without terminating the serial communication in step S1011, the process proceeds to step S1013, where a transmission error is determined.
[0065]
In the next step S1014, the B microcomputer 2 transmission processing ends, and the flow advances to step S726 in FIG.
That is, after the B microcomputer 2 changes BRDY from the L level to the H level, if the ARDY does not change from the L level to the H level within the predetermined timer time by the reception processing of the A microcomputer 1, or the B microcomputer 2 changes the BRDY Is changed from the H level to the L level, and if the ARDY does not change from the H level to the L level by the above-described reception processing of the microcomputer 1 within the predetermined timer time, or the serial communication of the microcomputer B within the predetermined timer time. Otherwise, the above-described serial error processing is performed as a transmission error.
[0066]
As described above, the timer is for detecting that the B microcomputer 2 does not operate normally for some reason. It is also for detecting that serial communication has not been normally established.
FIG. 11 is a flowchart showing a receiving process from the A microcomputer 1 to the B microcomputer 2 of the camera having the shake correction function of the present invention. The A microcomputer 1 reception processing in step S606 in FIG. 6 is started from step S1100 in FIG. In step S1101, a timer is started, and the process proceeds to step S1102. In step S1102, ARDY is changed from L level to H level (timing t22 in FIG. 13), and the process proceeds to step S1103. In step S1103, it is determined whether BRDY is at an H level or an L level. If BRDY is at the H level, it is determined in the next step S1104 whether or not the timer has expired. If the time has not elapsed, the process returns to step S1103, and the state of BRDY is determined again. If BRDY is at the L level (timing t23 in FIG. 13), the process proceeds to step S1105. In step S1105, ARDY is changed from H level to L level (timing t24 in FIG. 13), and the process proceeds to step S1106. In step S1106, the A microcomputer 1 serially receives response data from the B microcomputer 2 by inputting the SI synchronized with the SCK (from timing t25 to t26 in FIG. 13, after the processing of the B microcomputer 2 in Table 1, the A microcomputer 1 Data to transfer). Conversely, at this time, the response data is serially communicated to the A microcomputer 1 by the B microcomputer 2 outputting the SI synchronized with the SCK. Next, the process proceeds to step S1107. In step S1107, after the serial reception ends, it is determined whether the received response data is normal. If the response data is normal, the process proceeds to step S1109. In step S1109, the received data is set to predetermined data, and the flow advances to step S1110.
[0067]
If the timer times out in the next step S1104 while BRDY remains at the H level in step S1103, the process proceeds to step S1108, where a reception error is determined. If the response data received in step S1107 is not normal, that is, if it is impossible data, the process proceeds to step S1108, and a reception error is determined. This impossible data is a case where the response data (the data transferred to the A microcomputer 1 in the processing of the B microcomputer 2) is other than the data shown in Table 1.
[0068]
In the next step S1110, the A microcomputer 1 reception processing ends, and the flow advances to step S607 in FIG.
That is, after the A microcomputer 1 changes ARDY from the L level to the H level, if the BRDY does not change from the H level to the L level by the transmission processing of the B microcomputer 2 within a predetermined timer time, or the A microcomputer 1 If the received response data is not normal data, the above-described serial error processing is performed as a reception error.
[0069]
As described above, the timer is for detecting that the A microcomputer 1 does not operate normally for some reason. It is also for detecting that serial communication has not been normally established.
[0070]
【The invention's effect】
As described above, according to the present invention, the following effects can be obtained.
In the camera according to the first aspect, the serial data transfer is performed between the main control device and the shake correction control device, so that the standby state and the operation state of the shake correction control device can be switched. By switching to the standby state when the correction is not performed, the current consumed by the shake correction control device can be suppressed.Furthermore, the standby state of the shake correction control device is released and the operation state is changed to an operation state by at least one signal of the signal line for serial data transfer that is electrically connected, so that the current consumed by the shake correction control device is suppressed. At the same time, the shake correction can be controlled by the shake correction control device as before.
[0071]
Claim 2In the camera described above, the serial data transfer is performed between the main control device and the shake correction control device in accordance with the operation of the half-press switch operating member of the release button for executing the photographing process of the camera, so that the shake correction is performed. Since the standby state of the control device is released and the operation state is set, the current consumed by the shake correction control device is suppressed, and the shake correction control device can control the shake correction according to the operation of the half-press switch.
Can be in a state.
[0072]
Claim 3In the camera of (1), serial data transfer is performed between the main control device and the shake correction control device in accordance with the operation of the main switch operation member that enables the camera to take a picture, so that the shake correction control device is in a standby state. Is released and the operating state is established, so that the current consumed by the shake correction control device can be suppressed, and the shake correction control device can be controlled in accordance with the operation of the main switch operating member.
[0073]
Claim 4In the case of the camera, the serial data transfer is performed between the main control device and the shake correction control device in response to the completion of the exposure processing of the camera, so that the shake correction control device is changed from the operation state to the standby state. Since the transition is made, when the exposure processing is completed and the control of the shake correction control device is not necessary, the current consumed by the shake correction control device is suppressed.
[0074]
Claim 5In the camera described above, when the operation of the half-push switch operating member is released, the serial data transfer is performed between the main control device and the shake correction control device, thereby operating the shake correction control device. Since the transition is made from the state to the standby state, the current consumed by the shake correction control device is suppressed when control of the shake correction control device is not necessary.
[0075]
Claim 6The camera further includes an electronic flash device, and in the case of an exposure process involving emission of the electronic flash device, when the electronic flash device is determined to be uncharged, the electronic flash device is connected between the main control device and the shake correction control device. Since the serial data transfer causes the shake correction control device to transition from the operating state to the standby state, the current consumed by the shake correction control device can be suppressed when control of the shake correction control device is not necessary.
[0076]
Claim 7When the self-timer shooting is canceled while the camera's self-timer is counting, serial data transfer is performed between the main control device and the shake correction control device, so that the shake correction control device Since a transition is made from the operating state to the standby state, the current consumed by the shake correction control device is suppressed when control of the shake correction control device is not necessary.
[0077]
Claim 8In the case of the camera, after the shake correction control means drives the optical axis changing device to a predetermined reference position in response to the power being supplied to the camera, the camera moves between the main control device and the shake correction control device. Since the serial data transfer causes the shake correction control device to transition from the operating state to the standby state, the current consumed by the shake correction control device can be suppressed when control of the shake correction control device is not necessary.
[0078]
Claim 9In the case of the camera described above, when serial data transfer to the shake correction control device of the main control device is not performed even after a predetermined time has elapsed since the shake correction control device was released from the standby state, the shake correction control device Since the transition from the operation state to the standby state is performed, even if noise is present on the signal line for performing serial data transfer and the shake correction control device is changed from the standby state to the operation state, the state shifts to the standby state after a predetermined time elapses. The current consumed by the control device is reduced.
[0079]
Claim 10In the case of the camera described above, when serial data transfer to the shake correction control device of the main control device is not performed even after a predetermined time has elapsed since the shake correction control device was released from the standby state, the shake correction control device Since the power supply of the shake detection device and the drive device is cut off, even if noise is present on the signal line for serial data transfer, the shake correction control device changes from the standby state to the operation state and the shake detection device and the drive device
Even if the power is turned on, the power of the shake detecting device and the driving device is cut off after a predetermined time has elapsed, so that the current consumed there is suppressed.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a camera having a shake correction function according to the present invention.
FIG. 2 is a flowchart showing the overall processing of an A microcomputer of a camera having a shake correction function according to the present invention.
FIG. 3 is a diagram showing processing when a power supply of an A microcomputer of a camera having a shake correction function according to the present invention is turned on, a main switch is turned on, and a serial communication error occurs between an A microcomputer and a B microcomputer.
FIG. 4 is a flowchart illustrating a photographing process of an A microcomputer of a camera having a shake correction function according to the present invention.
5 is a flowchart showing processing subsequent to the photographing processing of the microcomputer A in FIG. 4 of the camera having the shake correction function of the present invention.
FIG. 6 is a flowchart showing processing during serial communication between the microcomputer A and the microcomputer B of the camera having the shake correction function of the present invention.
FIG. 7 is a flowchart showing serial communication between the microcomputer B and the microcomputer A of the camera having the shake correction function of the present invention, and other processing.
FIG. 8 is a flowchart illustrating a transmission process of the microcomputer A to the microcomputer B of the camera having the shake correction function according to the present invention.
FIG. 9 is a flowchart showing reception processing from the microcomputer A of the microcomputer B of the camera having the shake correction function of the present invention.
FIG. 10 is a flowchart illustrating a transmission process from a microcomputer B to a microcomputer A of a camera having a shake correction function according to the present invention.
FIG. 11 is a flowchart showing a reception process from the microcomputer A of the microcomputer A of the camera having the shake correction function of the present invention.
FIG. 12 is a timing chart showing an example of communication from the microcomputer A to the microcomputer B according to the present invention.
FIG. 13 is a timing chart showing an example of communication from the microcomputer B to the microcomputer A according to the present invention.
FIG. 14 is a timing chart showing a state of processing of the microcomputer A when the power is turned on according to the present invention.
FIG. 15 is a timing chart showing a state of processing when the A microcomputer of the present invention detects a serial error.
[Explanation of symbols]
1 ... A microcomputer
2 ... B microcomputer
3. Photometry circuit
4. Distance measuring circuit
5 ... EEPROM
6 LCD
7. Strobe circuit
8 Run-out status indicator
9 ... shake detection circuit (X-axis direction)
10 ... shake detection circuit (Y-axis direction)
11 Motor drive circuit (X-axis direction)
12 Motor drive circuit (Y-axis direction)
13… Motor (X-axis direction)
14. Motor (Y-axis direction)
15 ... photographic lens
16 ... photographic lens
17 ... shake correction lens
18 Focusing lens
19: Lens position detection circuit (X-axis direction)
20… Lens position detection circuit (Y-axis direction)
21… Main switch
22 ... half-press switch
23 ... Full-press switch
24… Mode switch

Claims (10)

カメラの一連の撮影露出動作を制御する主制御装置と、
カメラの振れを検出する振れ検出装置と、
撮影レンズの光軸を変化させるための光軸変化装置と、
前記光軸変化装置を駆動する駆動装置と、
前記振れ検出装置からの出力に基づき前記駆動装置を制御し、前記光軸変化装置を駆動することによって、振れ補正を実行する振れ補正制御装置と、を備え、
前記振れ補正制御装置は、少なくとも動作待機している待機状態と、動作している動作状態とを有し、前記主制御装置と前記振れ補正制御装置とは電気的に接続されており、前記主制御装置は前記振れ補正制御装置を制御し、前記主制御装置と前記振れ補正制御装置との間でシリアルデータ転送が行われることによって、前記振れ補正制御装置の前記待機状態と前記動作状態とが切り替えられ、前記振れ補正制御装置は、前記電気的に接続されたシリアルデータ転送を行う信号ラインの少なくとも1本の信号によって、待機状態が解除され動作状態となることを特徴とする振れ補正機能を有するカメラ。
A main controller for controlling a series of shooting exposure operations of the camera,
A shake detection device that detects camera shake,
An optical axis changing device for changing the optical axis of the taking lens,
A driving device for driving the optical axis changing device,
Controlling the drive device based on the output from the shake detection device, by driving the optical axis changing device, a shake correction control device that performs shake correction,
The shake correction control device has at least a standby state in which the operation is on standby and an operating state in which the shake correction control device is operating, and the main control device and the shake correction control device are electrically connected to each other, The control device controls the shake correction control device, and by performing serial data transfer between the main control device and the shake correction control device, the standby state and the operation state of the shake correction control device are changed. The image stabilization control device is switched, and the image stabilization function is characterized in that a standby state is released and an operation state is established by at least one signal of the signal line for performing serial data transfer electrically connected. Having a camera.
前記振れ補正制御装置は、カメラの撮影処理を実行させるレリーズ釦の半押しスイッチ操作部材の操作に応じた前記主制御装置と前記振れ補正制御装置との間のシリアルデータ転送によって、待機状態が解除され動作状態となることを特徴とする請求項1に記載の振れ補正機能を有するカメラ。The image stabilization control device releases a standby state by serial data transfer between the main control device and the image stabilization control device in accordance with an operation of a half-press switch operating member of a release button for executing a photographing process of a camera. The camera having a shake correction function according to claim 1, wherein the camera is operated. 前記振れ補正制御装置は、カメラを撮影可能にするメインスイッチ操作部材の操作に応じた前記主制御装置と前記振れ補正制御装置との間のシリアルデータ転送によって、待機状態が解除され動作状態となることを特徴とする請求項1に記載の振れ補正機能を有するカメラ。The image stabilization control device is released from a standby state to an operation state by serial data transfer between the main control device and the image stabilization control device in accordance with an operation of a main switch operation member that enables a camera to take a picture. A camera having a shake correction function according to claim 1. 前記主制御装置は、カメラの露出処理の終了に応じて前記振れ補正制御装置との間でシリアルデータ転送を行い、前記振れ補正制御装置を動作状態から待機状態に遷移させることを特徴とする請求項1に記載の振れ補正機能を有するカメラ。The main control device performs serial data transfer with the shake correction control device in response to completion of exposure processing of a camera, and causes the shake correction control device to transition from an operating state to a standby state. Item 2. A camera having a shake correction function according to Item 1. 前記主制御装置は、カメラの撮影処理を実行させるレリーズ釦の半押しスイッチ操作部材の操作の解除に応じて、前記振れ補正制御装置との間でシリアルデータ転送を行い、前記振れ補正制御装置を動作状態から待機状態に遷移させることを特徴とする請求項1に記載の振れ補正機能を有するカメラ。The main control device performs serial data transfer with the shake correction control device in response to the release of the operation of the half-press switch operating member of the release button for executing a photographing process of a camera, and executes the shake correction control device. The camera having a shake correction function according to claim 1, wherein a transition is made from an operation state to a standby state. 電子閃光装置を備え、前記電子閃光装置の発光を伴う露出処理を行なう場合には、前記電子閃光装置が未充電と判定されたとき、前記主制御装置は前記振れ補正制御装置へのシリアルデータ転送によって、前記振れ補正制御装置を動作状態から待機状態に遷移させることを特徴とする請求項1に記載の振れ補正機能を有するカメラ。In the case where an electronic flash device is provided and an exposure process involving light emission of the electronic flash device is performed, when it is determined that the electronic flash device is not charged, the main control device transmits serial data to the shake correction control device. 2. The camera having a shake correction function according to claim 1, wherein the shake correction control device is caused to transition from an operation state to a standby state. カメラのセルフタイマの計時中にセルフタイマ撮影が解除された際には、前記主制御装置は、前記振れ補正制御装置との間でシリアルデータ転送を行なうことによって、前記振れ補正制御装置を動作状態から待機状態に遷移させることを特徴とする請求項1に記載の振れ補正機能を有するカメラ。When the self-timer shooting is released while the camera's self-timer is counting, the main control device performs serial data transfer with the shake correction control device, thereby causing the shake correction control device to operate. The camera having a shake correction function according to claim 1, wherein the camera is shifted from a standby state to a standby state. 前記主制御装置は、カメラに電源が投入されたことに応じて前記振れ補正制御装置が前記光軸変化装置を所定の基準位置に駆動させた後、前記振れ補正制御装置との間でシリアルデータ転送を行なうことによって、前記振れ補正制御装置を動作状態から待機状態に遷移させることを特徴とする請求項1に記載の振れ補正機能を有するカメラ。The main controller is configured to drive the optical axis changing device to a predetermined reference position in response to the power being supplied to a camera, and then to transmit serial data to and from the shake correction controller. 2. The camera having a shake correction function according to claim 1, wherein the camera is shifted from an operation state to a standby state by performing a transfer. 前記振れ補正制御装置が前記待機状態から解除されてから所定時間経過しても前記主制御装置の前記振れ補正制御装置へのシリアルデータ転送が行われない場合に、前記振れ補正制御装置は動作状態から待機状態に遷移することを特徴とする請求項1〜8のいずれか一項に記載の振れ補正機能を有するカメラ。When serial data transfer to the shake correction control device of the main control device is not performed even after a predetermined time has elapsed after the shake correction control device is released from the standby state, the shake correction control device is in an operating state. camera with a vibration correction function according to any one of請Motomeko 1 to 8, characterized in that the transition to the standby state from. 前記振れ補正制御装置が前記待機状態から解除されてから所定時間経過しても前記主制御装置の前記振れ補正制御装置へのシリアルデータ転送が行われない場合に、前記振れ補正制御装置は前記振れ検出装置と前記駆動装置の電源を遮断することを特徴とする請求項1〜8のいずれか一項に記載の振れ補正機能を有するカメラ。If serial data transfer of the main control device to the shake correction control device is not performed within a predetermined time after the shake correction control device is released from the standby state, the shake correction control device sets the shake The camera having a shake correction function according to any one of claims 1 to 8 , wherein a power supply of a detection device and the driving device is cut off.
JP09265594A 1994-04-28 1994-04-28 Camera with shake correction function Expired - Lifetime JP3584258B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP09265594A JP3584258B2 (en) 1994-04-28 1994-04-28 Camera with shake correction function
US08/734,314 US5682556A (en) 1994-04-28 1996-10-21 Camera with vibration correcting function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09265594A JP3584258B2 (en) 1994-04-28 1994-04-28 Camera with shake correction function

Publications (2)

Publication Number Publication Date
JPH07295009A JPH07295009A (en) 1995-11-10
JP3584258B2 true JP3584258B2 (en) 2004-11-04

Family

ID=14060493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09265594A Expired - Lifetime JP3584258B2 (en) 1994-04-28 1994-04-28 Camera with shake correction function

Country Status (1)

Country Link
JP (1) JP3584258B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160070589A (en) * 2014-12-10 2016-06-20 삼성전기주식회사 Optical image stabilizer and method for minimizing power consumption of optical image stabilizer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160070589A (en) * 2014-12-10 2016-06-20 삼성전기주식회사 Optical image stabilizer and method for minimizing power consumption of optical image stabilizer
KR101983179B1 (en) * 2014-12-10 2019-08-28 삼성전기주식회사 Optical image stabilizer and method for minimizing power consumption of optical image stabilizer

Also Published As

Publication number Publication date
JPH07295009A (en) 1995-11-10

Similar Documents

Publication Publication Date Title
US6654554B2 (en) Power controller of a camera having an interchangeable lens
US6766111B2 (en) Camera system having a communication system between a camera body and a photographing lens
JP4785536B2 (en) Imaging device
US20020118963A1 (en) Camera system having a communication system between a camera body and a photographing lens
US5682556A (en) Camera with vibration correcting function
JP3543998B2 (en) Camera and camera control method
JP3584258B2 (en) Camera with shake correction function
JP3513906B2 (en) Camera with shake correction function
US6741808B2 (en) Camera system having a communication system between a camera body and a photographing lens
JP6053859B2 (en) Lens apparatus and photographing system including the same
JPH06148711A (en) Shaking correction camera
JPH07295011A (en) Camera provided with shake correcting function
JPH07294995A (en) Camera provided with shake correcting function
JP2016095529A (en) Adapter, camera system and adapter control program
JP6786288B2 (en) Imaging device, lens device, control method, program, and storage medium
JPH07294982A (en) Photographing device provided with camera shake correcting function
JPH06138529A (en) Camera movement correcting device
JP5866916B2 (en) Adapter, camera system, and adapter control program
JP2003057710A (en) Image shake correcting system
JP2024003331A (en) Control device and control method for optical instrument
JP2024026916A (en) Control apparatus, lens apparatus, image pickup apparatus, control method, and program
JP5929066B2 (en) Adapter, camera system, and adapter control program
JP2002049066A (en) Image blur correcting system, camera system and interchangeable lens
JPH0862655A (en) Camera with shake correcting function
JP2002148668A (en) Vibration controller, camera and camera system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20031216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040216

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: 20040615

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040628

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20070813

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100813

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100813

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130813

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130813

Year of fee payment: 9

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20130813

Year of fee payment: 9

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20130813

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term