Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7259115B2 - LENS UNIT, CONTROL METHOD AND CONTROL PROGRAM THEREOF - Google Patents
[go: Go Back, main page]

JP7259115B2 - LENS UNIT, CONTROL METHOD AND CONTROL PROGRAM THEREOF - Google Patents

LENS UNIT, CONTROL METHOD AND CONTROL PROGRAM THEREOF Download PDF

Info

Publication number
JP7259115B2
JP7259115B2 JP2022065202A JP2022065202A JP7259115B2 JP 7259115 B2 JP7259115 B2 JP 7259115B2 JP 2022065202 A JP2022065202 A JP 2022065202A JP 2022065202 A JP2022065202 A JP 2022065202A JP 7259115 B2 JP7259115 B2 JP 7259115B2
Authority
JP
Japan
Prior art keywords
correction
shake
lens
correction mode
detection result
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.)
Active
Application number
JP2022065202A
Other languages
Japanese (ja)
Other versions
JP2022095861A (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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2017079687A external-priority patent/JP7080588B2/en
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2022065202A priority Critical patent/JP7259115B2/en
Publication of JP2022095861A publication Critical patent/JP2022095861A/en
Application granted granted Critical
Publication of JP7259115B2 publication Critical patent/JP7259115B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Structure And Mechanism Of Cameras (AREA)
  • Adjustment Of Camera Lenses (AREA)
  • Studio Devices (AREA)

Description

本発明は、レンズユニット、その制御方法および制御プログラムに関する。 The present invention relates to a lens unit, its control method and control program.

一般に、像振れ補正機能を備える撮像装置においては、振れ検出部として、例えば、ジャイロセンサを有しており、振れ検出部で検出した撮像装置の振れに基づいて結像面における像振れ補正を行っている。 In general, an image pickup apparatus having an image blur correction function has, for example, a gyro sensor as a shake detection section, and performs image shake correction on an imaging plane based on the shake of the image pickup apparatus detected by the shake detection section. ing.

ところで、像振れ補正が不要な状態(例えば、撮像装置が三脚に固定されている状態)において、振れ検出部がノイズなどに反応してしまい、像振れ補正が行われることがある。このような場合には、不自然な画像が撮像される恐れがある。 By the way, in a state where image blur correction is unnecessary (for example, in a state where the imaging device is fixed to a tripod), the shake detection unit may react to noise or the like, and image blur correction may be performed. In such a case, an unnatural image may be picked up.

このため、従来の撮像装置において、像振れ補正が必要であるか否かを判定して、像振れ補正が不要であると判定すると像振れ補正を禁止するようにした撮像装置がある。例えば、振れ検出部によって検出した撮像装置の振れ量と所定の閾値とを比較して、その比較結果に応じて像振れ補正が必要であるか否かを判定するようにした撮像装置がある(特許文献1参照)。 For this reason, there is a conventional imaging apparatus that determines whether or not image blur correction is necessary, and prohibits image blur correction if it is determined that image blur correction is unnecessary. For example, there is an imaging device that compares the amount of shake of the imaging device detected by a shake detection unit with a predetermined threshold value, and determines whether or not image shake correction is necessary according to the comparison result ( See Patent Document 1).

特開2010-147761号公報JP 2010-147761 A

ところが、上述の特許文献1に記載の撮像装置において、撮像装置本体および交換レンズの双方に像振れ補正機能が備えられていると、像振れ補正が必要であるか否かの判定結果が撮像装置本体と交換レンズとにおいて異なることがある。このような場合には、像振れ補正が必要であると判定した側においてのみ像振れ補正が行われることになる。つまり、撮像装置本体と交換レンズの双方に振れ補正機能が備えられた撮像装置においては、双方の像振れ補正を組み合わせる像振れ補正が前提となっている。このため、いずれか一方でのみ像振れ補正が行われると、不自然な画像が撮像される恐れがある。 However, in the image pickup apparatus described in Patent Document 1 above, if both the image pickup apparatus body and the interchangeable lens are provided with an image blur correction function, the determination result as to whether or not the image shake correction is necessary is determined by the image pickup apparatus. There may be differences between the main body and the interchangeable lens. In such a case, image blur correction is performed only on the side determined to require image blur correction. In other words, in an image pickup apparatus in which both the image pickup apparatus main body and the interchangeable lens have shake correction functions, it is assumed that image shake correction is performed by combining both image shake corrections. Therefore, if image blur correction is performed only on one of them, an unnatural image may be captured.

そこで、本発明の目的は、撮像装置本体および交換レンズに像振れ補正機能が備えられている場合に、不自然な画像の撮像を防止することのできるレンズユニット、その制御方法、および制御プログラムを提供することにある。 SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a lens unit, a control method thereof, and a control program that can prevent unnatural image pickup when an image pickup apparatus body and an interchangeable lens are provided with an image blur correction function. to provide.

上記の目的を達成するため、本発明によるレンズユニットは、撮像装置に装着可能なレンズユニットであって、撮影レンズと、前記レンズユニットの振れを検出して第1の検出結果を得る第1の検出手段と、前記第1の検出結果に基づいて前記撮影レンズを駆動制御して像振れ補正を行う第1の像振れ補正手段と、複数の補正モードの中から、前記第1の像振れ補正手段の補正モードを設定する設定手段と、前記撮像装置と通信を行う通信手段と、を備え、前記撮像装置が、第2の振れ検出センサと、前記第2の振れ検出センサの検出結果に基づいて像振れ補正を行う第2の像振れ補正手段と、前記第2の振れ検出センサの検出結果に基づいて前記第2の像振れ補正手段の補正モードを選択する選択手段と、を備える場合、前記通信手段は、前記撮像装置から、前記選択手段により選択された補正モードを示す情報を受信し、前記設定手段は、前記第1の検出結果と、前記選択手段により選択された補正モードとに基づいて前記第1の像振れ補正手段の補正モードを設定することを特徴とする。 In order to achieve the above object, the lens unit according to the present invention is a lens unit that can be attached to an image pickup apparatus, and comprises a photographing lens and a first detection result for detecting vibration of the lens unit. detection means; first image blur correction means for performing image blur correction by driving and controlling the photographing lens based on the first detection result; and the first image blur correction selected from a plurality of correction modes. and a communication means for communicating with the imaging device, wherein the imaging device receives a second shake detection sensor and a detection result of the second shake detection sensor. and a selection means for selecting a correction mode of the second image blur correction means based on the detection result of the second blur detection sensor, The communication means receives information indicating the correction mode selected by the selection means from the imaging device, and the setting means selects the first detection result and the correction mode selected by the selection means. The correction mode of the first image blur correction means is set based on the above.

本発明によれば、撮像装置本体およびレンズユニットにそれぞれ像振れ補正機能が備えられている場合に、相互に像振れ補正機能の動作を参照するようにしたので、不自然な画像の撮像を防止することができる。 According to the present invention, when the imaging apparatus main body and the lens unit each have an image blur correction function, the operation of the image blur correction function is mutually referred to, thereby preventing unnatural image pickup. can do.

本発明の第1の実施形態による撮像装置の一例についてその構成を示すブロック図である。1 is a block diagram showing the configuration of an example of an imaging device according to a first embodiment of the present invention; FIG. 図1に示す振れ検出部による振動量の検出の一例を説明するための図である。2 is a diagram for explaining an example of vibration amount detection by a shake detection unit shown in FIG. 1; FIG. 図1に示すカメラ本体で行われる処理を説明するためのフローチャートである。2 is a flowchart for explaining processing performed by the camera body shown in FIG. 1; 図1に示すレンズユニットで行われる処理を説明するためのフローチャートである。2 is a flowchart for explaining processing performed in the lens unit shown in FIG. 1; 図3に示す三脚検知タイマ割込処理1を説明するためのフローチャートである。FIG. 4 is a flowchart for explaining tripod detection timer interrupt processing 1 shown in FIG. 3 ; FIG. 図3に示す三脚検知タイマ割込処理2を説明するためのフローチャートである。FIG. 4 is a flowchart for explaining tripod detection timer interrupt processing 2 shown in FIG. 3 ; FIG. 図3に示すジャイロ読み出しタイマ割込処理を説明するためのフローチャートである。FIG. 4 is a flowchart for explaining gyro readout timer interrupt processing shown in FIG. 3; FIG. 図4に示す三脚検知タイマ割込処理3を説明するためのフローチャートである。5 is a flowchart for explaining tripod detection timer interrupt processing 3 shown in FIG. 4; 本発明の第2の実施形態によるカメラにおいてカメラ本体で行われる三脚検知タイマ割込処理1を説明するためのフローチャートである。9 is a flowchart for explaining tripod detection timer interrupt processing 1 performed in the camera body of the camera according to the second embodiment of the present invention; 本発明の第2の実施形態によるカメラにおいてレンズユニットで行われる三脚検知タイマ割込処理3を説明するためのフローチャートである。10 is a flowchart for explaining tripod detection timer interrupt processing 3 performed by the lens unit in the camera according to the second embodiment of the present invention; 本発明の第3の実施形態によるカメラにおいてカメラ本体で行われる処理を説明するためのフローチャートである。FIG. 11 is a flow chart for explaining processing performed in a camera body in a camera according to a third embodiment of the present invention; FIG. 本発明の第3の実施形態によるカメラにおいてレンズユニットで行われる処理を説明するためのフローチャートである。FIG. 11 is a flow chart for explaining processing performed by a lens unit in a camera according to a third embodiment of the present invention; FIG. 図11に示す三脚検知タイマ割込処理1を説明するためのフローチャートである。12 is a flowchart for explaining tripod detection timer interrupt processing 1 shown in FIG. 11; 図12に示す三脚検知タイマ割込処理3を説明するためのフローチャートである。13 is a flowchart for explaining tripod detection timer interrupt processing 3 shown in FIG. 12; 本発明の第4の実施形態によるカメラの一例についてその構成を示すブロック図である。FIG. 12 is a block diagram showing the configuration of an example of a camera according to a fourth embodiment of the present invention; FIG. 図15に示すカメラ本体で行われる処理を説明するためのフローチャートである。FIG. 16 is a flowchart for explaining processing performed by the camera body shown in FIG. 15; FIG. 図15に示すレンズユニットで行われる処理を説明するためのフローチャートである。FIG. 16 is a flowchart for explaining processing performed by the lens unit shown in FIG. 15; FIG. 図16に示す振れ補正モード判定タイマ割込処理1を説明するためのフローチャートである。FIG. 17 is a flowchart for explaining shake correction mode determination timer interrupt processing 1 shown in FIG. 16; FIG. 図16に示す振れ補正モード判定タイマ割込処理2を説明するためのフローチャートである。FIG. 17 is a flowchart for explaining shake correction mode determination timer interrupt processing 2 shown in FIG. 16; FIG. 図17に示す振れ補正モード判定タイマ割込処理3を説明するためのフローチャートである。FIG. 18 is a flowchart for explaining shake correction mode determination timer interrupt processing 3 shown in FIG. 17; FIG. 本発明の第5の実施形態によるカメラにおいてカメラ本体で行われる振れ補正モード判定タイマ割込処理1を説明するためのフローチャートである。FIG. 16 is a flowchart for explaining shake correction mode determination timer interrupt processing 1 performed in the camera body in the camera according to the fifth embodiment of the present invention; FIG. 本発明の第5の実施形態によるカメラにおいてレンズユニットで行われる振れ補正モード判定タイマ割込処理3を説明するためのフローチャートである。FIG. 16 is a flow chart for explaining shake correction mode determination timer interrupt processing 3 performed in the lens unit in the camera according to the fifth embodiment of the present invention; FIG. 本発明の第6の実施形態によるカメラにおいてカメラ本体で行われる処理を説明するためのフローチャートである。FIG. 16 is a flow chart for explaining processing performed in a camera body in a camera according to a sixth embodiment of the present invention; FIG. 本発明の第6の実施形態によるカメラにおいてレンズユニットで行われる処理を説明するためのフローチャートである。FIG. 16 is a flow chart for explaining processing performed by a lens unit in a camera according to a sixth embodiment of the present invention; FIG. 図23に示す振れ補正モード判定タイマ割込処理1を説明するためのフローチャートである。FIG. 24 is a flowchart for explaining shake correction mode determination timer interrupt processing 1 shown in FIG. 23; FIG. 図24に示す振れ補正モード判定タイマ割込処理3を説明するためのフローチャートである。FIG. 25 is a flowchart for explaining shake correction mode determination timer interrupt processing 3 shown in FIG. 24; FIG. 本発明の第7の実施形態によるカメラにおいてカメラ本体で行われる振れ補正モード判定タイマ割込処理1を説明するためのフローチャートである。FIG. 20 is a flowchart for explaining shake correction mode determination timer interrupt processing 1 performed by the camera body in the camera according to the seventh embodiment of the present invention; FIG. 本発明の第7の実施形態によるカメラにおいてレンズユニットで行われる振れ補正モード判定タイマ割込処理3を説明するためのフローチャートである。FIG. 21 is a flowchart for explaining shake correction mode determination timer interrupt processing 3 performed in the lens unit in the camera according to the seventh embodiment of the present invention; FIG. 図28に示す振れ補正部モード操作部入力反映処理を説明するためのフローチャートである。FIG. 29 is a flowchart for explaining shake correction section mode operation section input reflecting processing shown in FIG. 28; FIG.

以下に、本発明の実施の形態による撮像装置の一例について図面を参照して説明する。 An example of an imaging device according to an embodiment of the present invention will be described below with reference to the drawings.

[第1の実施形態]
図1は、本発明の第1の実施形態による撮像装置の一例についてその構成を示すブロック図である。
[First Embodiment]
FIG. 1 is a block diagram showing the configuration of an example of an imaging device according to the first embodiment of the present invention.

図示の撮像装置は、例えば、デジタルカメラ(以下単にカメラと呼ぶ)であり、カメラ本体(撮像装置本体)100およびレンズユニット200を有している。そして、レンズユニット200はカメラ本体100に着脱可能である。つまり、レンズユニット200は交換可能なレンズユニットである。 The illustrated imaging device is, for example, a digital camera (hereinafter simply referred to as a camera) and has a camera body (imaging device body) 100 and a lens unit 200 . The lens unit 200 is attachable to and detachable from the camera body 100 . That is, the lens unit 200 is a replaceable lens unit.

レンズユニット200はレンズマウント102および202によってカメラ本体100に装着される。カメラ本体100には、CMOSイメージセンサなどの撮像素子121が備えられており、レンズユニット200およびシャッター144を介して撮像素子121に光学像(被写体像)が結像する。なお、レンズユニット200には、撮影レンズ210および絞り211が備えられている。 Lens unit 200 is attached to camera body 100 by lens mounts 102 and 202 . The camera body 100 is provided with an imaging element 121 such as a CMOS image sensor, and an optical image (object image) is formed on the imaging element 121 via the lens unit 200 and the shutter 144 . Note that the lens unit 200 is provided with a photographing lens 210 and a diaphragm 211 .

撮像素子121は光学像に応じた電気信号(アナログ信号)を出力する。A/D変換部122は撮像素子121の出力であるアナログ信号をA/D変換によってデジタル信号に変換する。そして、当該デジタル信号は、システム制御部120の制御下でメモリ制御部124によって画像データとしてメモリ127に格納される。 The imaging device 121 outputs an electrical signal (analog signal) corresponding to the optical image. The A/D converter 122 converts the analog signal output from the imaging element 121 into a digital signal by A/D conversion. Then, the digital signal is stored in the memory 127 as image data by the memory control section 124 under the control of the system control section 120 .

画像処理部123は、A/D変換部122の出力であるデジタル信号或いはメモリ制御部124によってメモリ127から読み出された画像データに対して所定の画素補間処理又は色変換処理などの画像処理を施す。なお、画像処理部123には、適応離散コサイン変換(ADCT)などによって画像データを圧縮伸長する圧縮・伸長回路が備えられている。 The image processing unit 123 performs image processing such as predetermined pixel interpolation processing or color conversion processing on the digital signal output from the A/D conversion unit 122 or the image data read from the memory 127 by the memory control unit 124 . Apply. The image processing unit 123 includes a compression/expansion circuit that compresses and expands image data by adaptive discrete cosine transform (ADCT) or the like.

画像処理部123はメモリ127に格納された画像データを読み込んで圧縮処理又は伸長処理を行って、処理後の画像データをメモリ127に書き込む。さらに、画像処理部123は、システム制御部120の制御下で振れ検出部151によって検出されたカメラの振れ量に応じて像振れを電子的に補正する。 The image processing unit 123 reads the image data stored in the memory 127 , performs compression processing or decompression processing, and writes the processed image data to the memory 127 . Further, the image processing unit 123 electronically corrects image blur according to the amount of camera shake detected by the shake detection unit 151 under the control of the system control unit 120 .

画像演算部129は、画像データにおけるコントラスト値を求めて、コントラスト値に応じて画像データの合焦状態を判定する。さらに、画像演算部129はメモリ127に格納された画像データと撮像素子121で得られた画像データとの相関値を求めて、これら画像データにおける最も相関の高い領域を探索する。 The image calculation unit 129 obtains the contrast value in the image data and determines the focused state of the image data according to the contrast value. Furthermore, the image calculation unit 129 obtains a correlation value between the image data stored in the memory 127 and the image data obtained by the image pickup device 121, and searches for a region with the highest correlation in these image data.

メモリ制御部124は、A/D変換部122、画像処理部123、表示部110、および外部着脱メモリ部130とメモリ127と間における画像データの送受を制御する。なお、A/D変換部122の出力であるデジタル信号は画像処理部123およびメモリ制御部124を介して、或いは直接メモリ制御部124を介してメモリ127に書き込まれる。 Memory control unit 124 controls transmission and reception of image data between A/D conversion unit 122 , image processing unit 123 , display unit 110 , external removable memory unit 130 and memory 127 . The digital signal output from the A/D converter 122 is written in the memory 127 via the image processor 123 and memory controller 124 or directly via the memory controller 124 .

表示部110は液晶パネル表示部およびバックライト照明部を有しており、撮像素子121の出力に応じた画像データによる画像を逐次リアルタイムにスルー画像として表示する。これによって、ユーザは所謂ライブビュー撮影を行うことができる。ライブビュー撮影の際には、AF対象である被写体の位置をユーザが認識できるように、表示部110には、AF領域を示すAF枠が画像に重畳して表示される。この際、表示部110にタッチパネルが備えられていると、ユーザはAF対象の被写体の位置を指定するタッチAFを行うことができる。 The display unit 110 has a liquid crystal panel display unit and a backlight illumination unit, and sequentially displays images based on image data according to the output of the imaging device 121 as through images in real time. This allows the user to perform so-called live view photography. During live view shooting, an AF frame indicating an AF area is superimposed on the image and displayed on the display unit 110 so that the user can recognize the position of the subject for AF. At this time, if the display unit 110 is provided with a touch panel, the user can perform touch AF for designating the position of the subject for AF.

システム制御部120はカメラ全体の制御を司る。なお、システム制御部120はレンズユニット200の制御も行う。 A system control unit 120 controls the entire camera. Note that the system control unit 120 also controls the lens unit 200 .

メモリ127には、撮影の結果得られた静止画像および動画像が格納されるとともに、再生用表示のための画像データが格納される。メモリ127は所定枚数の静止画像および動画像を格納するための十分な記憶量を備えている。なお、メモリ127にはシステム制御部120のプログラムスタック領域、ステータス記憶領域、演算用領域、ワーク用領域、および画像表示データ用領域が確保されている。各種演算は、メモリ127の演算用領域を用いてシステム制御部120によって行われる。 The memory 127 stores still images and moving images obtained as a result of photographing, as well as image data for reproduction display. The memory 127 has a sufficient storage capacity for storing a predetermined number of still images and moving images. The memory 127 has a program stack area, a status storage area, an arithmetic area, a work area, and an image display data area for the system control unit 120 . Various calculations are performed by the system control unit 120 using the calculation area of the memory 127 .

不揮発性メモリ128は電気的に消去・記録可能なメモリであり、例えば、フラッシュメモリ又はEEPROMが用いられる。不揮発性メモリ128には、撮影状態が保存されるとともに、カメラを制御するプログラムが格納される。 The non-volatile memory 128 is an electrically erasable/recordable memory, such as flash memory or EEPROM. A non-volatile memory 128 stores a program for controlling the camera as well as saving the photographing state.

外部着脱メモリ部130はコンパクトフラッシュ(登録商標)又はSDカードなどの記録媒体を備えており、カメラ本体100に着脱可能である。そして、外部着脱メモリ部130には画像ファイルが記録される。 The external removable memory section 130 includes a recording medium such as a compact flash (registered trademark) or an SD card, and is removable from the camera body 100 . An image file is recorded in the external removable memory unit 130 .

電源部131は、電池、電池検出回路、DC-DCコンバータ、および通電するブロックを切り替えるスイッチ回路などを備えている。そして、電源部131は電池の装着の有無、電池の種類、および電池残量の検出を行う。また、電源部131は当該検出結果およびシステム制御部120の指示に基づいてDC-DCコンバータを制御して、必要な電圧を必要な期間、各ブロック部に供給する。 The power supply unit 131 includes a battery, a battery detection circuit, a DC-DC converter, a switch circuit for switching blocks to be energized, and the like. The power supply unit 131 detects whether or not a battery is attached, the type of battery, and the remaining battery level. Also, the power supply unit 131 controls the DC-DC converter based on the detection result and an instruction from the system control unit 120 to supply necessary voltage to each block unit for a necessary period.

シャッター制御部141は、システム制御部120の制御下で、測光部142で得られた測光結果に基づいて、絞り211を制御するレンズ制御部203と連携しつつシャッター144を制御する。 Under the control of the system control unit 120 , the shutter control unit 141 controls the shutter 144 in cooperation with the lens control unit 203 that controls the diaphragm 211 based on the photometry result obtained by the photometry unit 142 .

測光部142はAE(自動露出)処理を行うためのブロックである。測光部142には、レンズ210に入射した光学像が絞り211、レンズマウント202および102、および測光用レンズ(図示せず)を介して入射する。そして、測光部142は光学像に基づいてその露出状態を測定して測光結果を得る。 A photometry unit 142 is a block for performing AE (automatic exposure) processing. An optical image that has entered the lens 210 enters the photometry unit 142 via a diaphragm 211, lens mounts 202 and 102, and a photometry lens (not shown). Then, the photometry unit 142 measures the exposure state based on the optical image to obtain a photometry result.

測距部143はAF処理を行うためのブロックである。測距部143には、レンズ210に入射した光学像が絞り211、レンズマウント202および102、測距用ミラー(図示せず)を介して入射する。そして、測距部143は光学像に応じてその合焦状態を測定して測距結果を得る。 A distance measuring unit 143 is a block for performing AF processing. The optical image incident on the lens 210 enters the distance measuring unit 143 via the diaphragm 211, the lens mounts 202 and 102, and the distance measuring mirror (not shown). Then, the distance measuring unit 143 measures the focused state according to the optical image and obtains the distance measurement result.

なお、ライブビュー撮影の際には、システム制御部120は画像演算部129で求められたコントラスト値に応じて画像データの合焦状態を測定する。 During live view shooting, the system control unit 120 measures the focused state of image data according to the contrast value obtained by the image calculation unit 129 .

シャッター144は撮像素子121の前段に配置され、非撮影の際には撮像素子121を遮光する。撮影の際には、システム制御部120の制御下で、シャッター制御部141はシャッター144を開いて光学像を撮像素子121に結像する。 A shutter 144 is arranged in front of the image sensor 121 and shields the image sensor 121 from light during non-shooting. When photographing, under the control of the system control unit 120 , the shutter control unit 141 opens the shutter 144 to form an optical image on the image sensor 121 .

操作部132はユーザによって操作され、システム制御部120に対して各種の動作指示を与える。操作部132には、例えば、スイッチおよびダイヤル、視線検知によるポインティング、および音声認識装置などが備えられている。なお、操作部132にはこれらスイッチおよびダイヤル、視線検知によるポインティング、および音声認識装置のうち少なくとも1つが備えられていればよい。振れ検出部151は、例えば、ジャイロセンサであり、カメラの振動量を検出する。 The operation unit 132 is operated by the user and gives various operation instructions to the system control unit 120 . The operation unit 132 includes, for example, switches and dials, pointing by line-of-sight detection, a voice recognition device, and the like. Note that the operation unit 132 may be provided with at least one of these switches and dials, pointing by line-of-sight detection, and a voice recognition device. The shake detection unit 151 is, for example, a gyro sensor, and detects the amount of vibration of the camera.

図2は、図1に示す振れ検出部による振動量の検出の一例を説明するための図である。 FIG. 2 is a diagram for explaining an example of vibration amount detection by a shake detection unit shown in FIG.

振れ検出部151は、カメラ本体100におけるピッチ(Pitch)方向、ヨー(Yaw方向)、およびロール(Roll)方向の3軸方向においてその振動および振動量を検出する。 The shake detection unit 151 detects the vibration and vibration amount in three axial directions of the pitch direction, yaw direction, and roll direction in the camera body 100 .

再び図1を参照して、カメラ本体100にはレンズマウント102が備えられ、レンズユニット200にはレンズマウント202が備えられている。レンズマウント102および202によって、レンズユニット200がカメラ本体100に接続される。この際、コネクタ101および201によってカメラ本体100がレンズユニット200に電気的に接続される。システム制御部120は、コネクタ101および201を介して、レンズユニット200の装着を検出し、レンズ制御部203と通信を行う。 Referring to FIG. 1 again, the camera body 100 is provided with a lens mount 102 and the lens unit 200 is provided with a lens mount 202 . Lens mounts 102 and 202 connect lens unit 200 to camera body 100 . At this time, the camera body 100 is electrically connected to the lens unit 200 by the connectors 101 and 201 . The system controller 120 detects attachment of the lens unit 200 via the connectors 101 and 201 and communicates with the lens controller 203 .

前述のように、レンズユニット200には撮影レンズ210および絞り211が備えられている。レンズ制御部203はレンズユニット200全体を制御する。レンズ制御部203には、動作用の定数、変数、およびプログラムなどを記憶するメモリが備えられている。さらに、レンズ制御部203には、レンズユニット200固有の番号などの識別情報、管理情報、開放絞り値および最小絞り値、焦点距離などの機能情報、現在および過去の各設定値などを保持する不揮発メモリが備えられている。 As described above, the lens unit 200 is equipped with the photographing lens 210 and the diaphragm 211 . A lens control unit 203 controls the entire lens unit 200 . The lens control unit 203 is provided with a memory that stores constants, variables, programs, and the like for operation. Further, the lens control unit 203 has a non-volatile memory that holds identification information such as a number unique to the lens unit 200, management information, functional information such as the maximum aperture value and minimum aperture value, focal length, and current and past setting values. memory is provided.

レンズ制御部203は、測距部143又は画像処理部123よって測定された測距結果に基づいて撮影レンズ210のフォーカシングを制御する。これによって、撮像素子121に入射する光学像の結像位置が変更されてAF動作が行われる。なお、レンズ制御部203は絞り211の制御、撮影レンズ210のズーミングを制御する。 A lens control unit 203 controls focusing of the photographing lens 210 based on the distance measurement result measured by the distance measurement unit 143 or the image processing unit 123 . As a result, the imaging position of the optical image incident on the image sensor 121 is changed, and the AF operation is performed. Note that the lens control unit 203 controls the diaphragm 211 and the zooming of the photographing lens 210 .

レンズ駆動部204は、レンズ制御部203の制御下で撮影レンズ210および絞り211を駆動制御する。例えば、レンズ駆動部204は、レンズ制御部203から送られるフォーカシング制御信号、ズーミング制御信号、および像振れ補正制御信号に基づいて撮影レンズ210を駆動する。さらに、レンズ駆動部204は、レンズ制御部203から送られる絞り制御信号に応じて絞り211を駆動する。 A lens driving unit 204 drives and controls a photographing lens 210 and a diaphragm 211 under the control of the lens control unit 203 . For example, the lens driving unit 204 drives the photographing lens 210 based on the focusing control signal, zooming control signal, and image blur correction control signal sent from the lens control unit 203 . Further, the lens driving section 204 drives the diaphragm 211 according to the diaphragm control signal sent from the lens control section 203 .

なお、レンズ駆動部204にはフォーカシング制御機構、ズーミング制御機構、像振れ補正制御機構、および絞り制御機構が備えられている。 Note that the lens driving unit 204 includes a focusing control mechanism, a zooming control mechanism, an image blur correction control mechanism, and an aperture control mechanism.

振れ検出部205は、例えば、ジャイロセンサであり、レンズユニット200の振動量を検出する。振れ検出部205は、図2に示すPitch方向、Yaw方向、およびRoll方向のうち、Pitch方向およびYaw方向の2軸方向の振動および振動量を検出する。 A shake detection unit 205 is, for example, a gyro sensor, and detects the amount of vibration of the lens unit 200 . The shake detection unit 205 detects the vibration and the amount of vibration in two axial directions of the Pitch direction and the Yaw direction among the Pitch direction, the Yaw direction, and the Roll direction shown in FIG.

図1に示すカメラにおいて、レンズ制御部203は振れ検出部205で検出された振れ量に応じて撮影レンズ210を制御して光学的な振れ補正を行う。また、画像処理部123は、システム制御部120の制御下で、振れ検出部151で検出された振れ量に応じて画像を補正する電子的に振れ補正を行う。 In the camera shown in FIG. 1, the lens control unit 203 controls the photographing lens 210 according to the shake amount detected by the shake detection unit 205 to perform optical shake correction. Further, under the control of the system control unit 120 , the image processing unit 123 electronically corrects the image according to the amount of shake detected by the shake detection unit 151 .

図3は、図1に示すカメラ本体で行われる処理を説明するためのフローチャートである。なお、図示のフローチャートに係る処理は、システム制御部120の制御下で行われる。 FIG. 3 is a flowchart for explaining processing performed by the camera body shown in FIG. Note that the processing related to the illustrated flowchart is performed under the control of the system control unit 120 .

操作部132の操作に応じてカメラ本体処理が開始されると、システム制御部120はレンズユニット200がカメラ本体100に装着されているか否かを判定する(ステップS300)。レンズユニット200が装着されていないと(ステップS300において、NO)、システム制御部120は待機する。 When the camera body processing is started in response to the operation of the operation section 132, the system control section 120 determines whether or not the lens unit 200 is attached to the camera body 100 (step S300). If lens unit 200 is not attached (NO in step S300), system control unit 120 waits.

レンズユニット200が装着されると(ステップS300において、YES)、システム制御部120はレンズ制御部203と通信を開始する(ステップS301:レンズ通信)。そして、システム制御部120はレンズ制御部203からレンズユニット200の種別を判定するためのレンズ情報(ID)を取得する(ステップS302)。ここでは、レンズ情報として、例えば、レンズIDおよびレンズ固有の光学的補正値情報を取得する。 When the lens unit 200 is attached (YES in step S300), the system control section 120 starts communication with the lens control section 203 (step S301: lens communication). Then, the system control unit 120 acquires lens information (ID) for determining the type of the lens unit 200 from the lens control unit 203 (step S302). Here, as the lens information, for example, the lens ID and optical correction value information specific to the lens are acquired.

続いて、システム制御部120はレンズ情報に基づいてレンズユニット200が三脚検知の結果を通信可能なレンズユニットであるか否かを判定する(ステップS303)。なお、三脚検知とは、カメラ本体100およびレンズユニット200における振れ量が振れ補正が不要である程度に小さいか否かを検知することをいう。例えば、カメラが三脚に固定されている場合には、振れ補正が不要な程度まで振れ量が小さくなる。 Subsequently, based on the lens information, the system control unit 120 determines whether or not the lens unit 200 is a lens unit capable of communicating the tripod detection result (step S303). It should be noted that tripod detection means detecting whether or not the amount of shake in camera body 100 and lens unit 200 is small enough to eliminate the need for shake correction. For example, when the camera is fixed to a tripod, the shake amount is reduced to the extent that shake correction is unnecessary.

三脚検知判定結果の通信が可能であると(ステップS303において、YES)、システム制御部120は後述する第1の三脚検知タイマ割込処理(三脚検知タイマ割込処理1)を開始する(ステップS304)。以後、三脚検知タイマ割込処理1は所定の時間毎に繰り返される。 If the tripod detection determination result can be communicated (YES in step S303), the system control unit 120 starts first tripod detection timer interrupt processing (tripod detection timer interrupt processing 1) described later (step S304). ). Thereafter, the tripod detection timer interrupt process 1 is repeated at predetermined time intervals.

三脚検知判定結果の通信が可能でないと(ステップS303において、NO)、システム制御部120は後述する第2の三脚検知タイマ割込処理(三脚検知タイマ割込処理2)を開始する(ステップS305)。以後、三脚検知タイマ割込処理2は所定の時間毎に繰り返される。 If communication of the tripod detection determination result is not possible (NO in step S303), the system control unit 120 starts second tripod detection timer interrupt processing (tripod detection timer interrupt processing 2) described later (step S305). . Thereafter, the tripod detection timer interrupt process 2 is repeated at predetermined time intervals.

ステップS304又はS305の処理の後、システム制御部120は後述するジャイロ読み出しタイマ割込処理を開始する(ステップS306)。以後、ジャイロ読み出しタイマ割込処理は所定の時間毎に繰り返される。そして、システム制御部120はカメラ本体処理を終了する。 After the process of step S304 or S305, the system control unit 120 starts gyro readout timer interrupt process (step S306). Thereafter, the gyro readout timer interrupt process is repeated at predetermined time intervals. Then, the system control unit 120 ends the camera body processing.

図4は、図1に示すレンズユニットで行われる処理を説明するためのフローチャートである。なお、図示のフローチャートに係る処理は、レンズ制御部203の制御下で行われる。 FIG. 4 is a flow chart for explaining the processing performed by the lens unit shown in FIG. Note that the processing related to the illustrated flowchart is performed under the control of the lens control unit 203 .

レンズユニット200がカメラ本体100に装着されてレンズ通信が開始すると、レンズ制御部203はシステム制御部120にレンズ情報を送信する(ステップS401)。続いて、レンズ制御部203は後述する第3の三脚検知タイマ割込処理(三脚検知タイマ割込処理3)を開始する(ステップS402)。以後、三脚検知タイマ割込処理3は所定の時間毎に繰り返される。 When the lens unit 200 is attached to the camera body 100 and lens communication starts, the lens control unit 203 transmits lens information to the system control unit 120 (step S401). Subsequently, the lens control unit 203 starts third tripod detection timer interruption processing (tripod detection timer interruption processing 3) described later (step S402). Thereafter, the tripod detection timer interrupt process 3 is repeated at predetermined time intervals.

次に、レンズ制御部203は後述するジャイロ読み出しタイマ割込処理を開始する(ステップS403)。以後、ジャイロ読み出しタイマ割込処理は所定の時間毎に繰り返される。そして、レンズ制御部203はレンズユニット処理を終了する。 Next, the lens control unit 203 starts gyro readout timer interrupt processing, which will be described later (step S403). Thereafter, the gyro readout timer interrupt process is repeated at predetermined time intervals. Then, the lens control unit 203 ends the lens unit processing.

図5は、図3に示す三脚検知タイマ割込処理1を説明するためのフローチャートである。 FIG. 5 is a flowchart for explaining tripod detection timer interrupt processing 1 shown in FIG.

三脚検知タイマ割込処理1を開始すると、システム制御部120はレンズ制御部203に対して、レンズユニット200における三脚検知判定結果を送るように要求する(ステップS501)。これによって、システム制御部120はレンズ制御部203からレンズユニット200における三脚検知判定結果を受信する(ステップS502)。 When the tripod detection timer interrupt process 1 is started, the system control unit 120 requests the lens control unit 203 to send the tripod detection determination result in the lens unit 200 (step S501). Accordingly, the system control unit 120 receives the tripod detection determination result in the lens unit 200 from the lens control unit 203 (step S502).

システム制御部120は、当該三脚検知判定結果が「三脚なし」であるか否かを判定する(ステップS503)。ここで、「三脚なし」とは、振れ量が大きく手振れ補正が必要な状態をいい、「三脚あり」とは、振れ量が十分に小さく手振れ補正が不要な状態をいう。つまり、「三脚なし」とは、振れ量が所定の閾値よりも大きく手振れ補正が必要な状態をいい、「三脚あり」とは、振れ量が所定の閾値未満であり手振れ補正が不要な状態をいう。 The system control unit 120 determines whether or not the tripod detection determination result is "no tripod" (step S503). Here, "without a tripod" refers to a state in which the amount of shake is large and camera shake correction is required, and "with a tripod" refers to a state in which the amount of shake is sufficiently small and camera shake correction is unnecessary. In other words, "without a tripod" means that the amount of shake is greater than a predetermined threshold and requires image stabilization, and "with a tripod" means that the amount of shake is less than the predetermined threshold and does not require image stabilization. say.

「三脚なし」であると(ステップS503において、YES)、システム制御部120はカメラ本体100における振れ補正機能をオンとする(ステップS504)。一方、「三脚あり」であると(ステップS503において、NO)、システム制御部120はカメラ本体100における振れ補正機能をオフとする(ステップS505)。 If "without tripod" (YES in step S503), system control unit 120 turns on the shake correction function in camera body 100 (step S504). On the other hand, if "with a tripod" (NO in step S503), the system control unit 120 turns off the shake correction function in the camera body 100 (step S505).

ステップS504又はS505の処理の後、システム制御部120は三脚検知タイマ割込処理1を終了する。 After the process of step S504 or S505, the system control unit 120 ends the tripod detection timer interrupt process 1. FIG.

図6は、図3に示す三脚検知タイマ割込処理2を説明するためのフローチャートである。 FIG. 6 is a flowchart for explaining tripod detection timer interrupt processing 2 shown in FIG.

三脚検知タイマ割込処理2を開始すると、システム制御部120は振れ検出部151において検出された振れ量データ(ジャイロデータ)の数が所定のサンプル数(例えば、500サンプル)以上であるか否かを判定する(ステップS601)。 When the tripod detection timer interrupt process 2 is started, the system control unit 120 determines whether or not the number of shake amount data (gyro data) detected by the shake detection unit 151 is equal to or greater than a predetermined number of samples (eg, 500 samples). is determined (step S601).

所定のサンプル数以上取得済でないと(ステップS601において、NO)、システム制御部120は三脚検知タイマ割込処理2を終了する。一方、所定のサンプル数以上取得済であると(ステップS601において、YES)、システム制御部120は振れ検出部151によって検出した振れ量データにおいて直近の所定数のサンプル(例えば、500サンプル)を調べる。そして、システム制御部120は当該サンプルにおいて振れ量が予め設定された閾値を超えるサンプルが存在するか否かを判定する(ステップS602)。 If the predetermined number of samples or more have not been obtained (NO in step S601), the system control unit 120 terminates the tripod detection timer interrupt process 2. FIG. On the other hand, if the predetermined number or more of samples have been obtained (YES in step S601), the system control unit 120 checks the most recent predetermined number of samples (eg, 500 samples) in the shake amount data detected by the shake detection unit 151. . Then, the system control unit 120 determines whether or not there is a sample in which the shake amount exceeds a preset threshold (step S602).

予め設定された閾値を超えるサンプルが存在すると(ステップS602において、YES)、システム制御部120は「三脚なし」と判定してカメラ本体100における振れ補正機能をオンとする(ステップS603)。そして、システム制御部120は三脚検知タイマ割込処理2を終了する。 If there are samples exceeding the preset threshold (YES in step S602), the system control unit 120 determines that there is no tripod and turns on the shake correction function in the camera body 100 (step S603). Then, the system control unit 120 terminates the tripod detection timer interrupt process 2 .

予め設定された閾値を超えるサンプルが存在しないと(ステップS602において、NO)、システム制御部120は「三脚あり」と判定してカメラ本体100における振れ補正機能をオフとする(ステップS604)。そして、システム制御部120は三脚検知タイマ割込処理2を終了する。 If there are no samples exceeding the preset threshold (NO in step S602), the system control unit 120 determines that "a tripod is present" and turns off the shake correction function in the camera body 100 (step S604). Then, the system control unit 120 terminates the tripod detection timer interrupt process 2 .

図7は、図3に示すジャイロ読み出しタイマ割込処理を説明するためのフローチャートである。なお、図4に示すジャイロ読み出しタイマ割込処理も図7に示すフローチャートに応じてレンズ制御部203が行う。 FIG. 7 is a flowchart for explaining the gyro readout timer interrupt process shown in FIG. Note that the gyro read timer interrupt processing shown in FIG. 4 is also performed by the lens control unit 203 according to the flowchart shown in FIG.

ジャイロ読み出しタイマ割込処理を開始すると、システム制御部120は振れ検出部151で検出されたジャイロデータを取得する(ステップS701)。そして、システム制御部120はジャイロ読み出しタイマ割込処理を終了する。なお、レンズユニット200においては、レンズ制御部203が振れ検出部205で検出されたジャイロデータを取得することになる。 When the gyro readout timer interrupt process is started, the system control unit 120 acquires gyro data detected by the shake detection unit 151 (step S701). Then, the system control unit 120 terminates the gyro readout timer interrupt processing. In the lens unit 200, the lens control section 203 acquires the gyro data detected by the shake detection section 205. FIG.

図8は、図4に示す三脚検知タイマ割込処理3を説明するためのフローチャートである。 FIG. 8 is a flowchart for explaining tripod detection timer interrupt processing 3 shown in FIG.

三脚検知タイマ割込処理3を開始すると、レンズ制御部203は振れ検出部205において検出された振れ量データ(ジャイロデータ)の数が所定のサンプル数(例えば、500サンプル)以上であるか否かを判定する(ステップS801)。 When the tripod detection timer interrupt process 3 is started, the lens control unit 203 determines whether or not the number of shake amount data (gyro data) detected by the shake detection unit 205 is equal to or greater than a predetermined number of samples (eg, 500 samples). is determined (step S801).

所定のサンプル数以上取得済でないと(ステップS801において、NO)、レンズ制御部203は三脚検知タイマ割込処理3を終了する。一方、所定のサンプル数以上取得済であると(ステップS801において、YES)、レンズ制御部203は振れ検出部205によって検出した振れ量データにおいて直近の所定数のサンプル(例えば、500サンプル)を調べる。そして、レンズ制御部203は当該サンプルにおいて振れ量が予め設定された閾値を超えるサンプルが存在するか否かを判定する(ステップS802)。 If the predetermined number of samples or more have not been obtained (NO in step S801), the lens control unit 203 terminates the tripod detection timer interrupt process 3. FIG. On the other hand, if a predetermined number or more of samples have been obtained (YES in step S801), the lens control unit 203 checks the latest predetermined number of samples (eg, 500 samples) in the shake amount data detected by the shake detection unit 205. . Then, the lens control unit 203 determines whether or not there is a sample in which the shake amount exceeds a preset threshold (step S802).

予め設定された閾値を超えるサンプルが存在すると(ステップS802において、YES)、レンズ制御部203は「三脚なし」と判定してレンズユニット200における振れ補正機能をオンとする(ステップS803)。予め設定された閾値を超えるサンプルが存在しないと(ステップS802において、NO)、レンズ制御部203は「三脚あり」と判定してレンズユニット200における振れ補正機能をオフとする(ステップS804)。 If there are samples exceeding the preset threshold (YES in step S802), the lens control unit 203 determines that "no tripod" and turns on the shake correction function in the lens unit 200 (step S803). If there are no samples exceeding the preset threshold (NO in step S802), the lens control unit 203 determines that "a tripod is present" and turns off the shake correction function in the lens unit 200 (step S804).

ステップS803又はS804の処理の後、レンズ制御部203はシステム制御部120から三脚検知判定結果を送信する旨の要求があったか否かを判定する(ステップS805)。送信要求があった場合には(ステップS805において、YES)、レンズ制御部203はシステム制御部120に三脚検知判定結果を送る(ステップS806)。そして、レンズ制御部203は三脚検知タイマ割込処理3を終了する。 After the process of step S803 or S804, the lens control unit 203 determines whether or not there is a request from the system control unit 120 to transmit the tripod detection determination result (step S805). If there is a transmission request (YES in step S805), the lens control unit 203 sends the tripod detection determination result to the system control unit 120 (step S806). Then, the lens control unit 203 ends the tripod detection timer interrupt process 3 .

一方、三脚検知判定結果を送信する旨の要求がないと(ステップS805において、NO)、レンズ制御部203は三脚検知タイマ割込処理3を終了する。 On the other hand, if there is no request to transmit the tripod detection determination result (NO in step S805), the lens control unit 203 terminates the tripod detection timer interrupt process 3. FIG.

このように、本発明の第1の実施形態では、レンズユニット200における三脚検知判定結果を優先し、かめら本体100において振れ補正を行うか否かの判定結果をレンズユニット200における判定結果と一致させる。これによって、カメラ本体100およびレンズユニット200とのいずれか一方のみで振れ補正機能がオンとなって、不自然な画像が撮影されることを防止することができる。 Thus, in the first embodiment of the present invention, the tripod detection determination result in the lens unit 200 is prioritized, and the determination result of whether or not to perform shake correction in the camera body 100 matches the determination result in the lens unit 200. Let As a result, it is possible to prevent an unnatural image from being captured by turning on the shake correction function of only one of the camera body 100 and the lens unit 200 .

なお、上述の第1の実施形態では、レンズユニット200における三脚検知判定結果を優先するようにしたが、カメラ本体100における三脚検知判定結果を優先するようにしてもよい。 In the first embodiment described above, the tripod detection determination result of the lens unit 200 is prioritized, but the tripod detection determination result of the camera body 100 may be prioritized.

[第2の実施形態]
続いて、本発明の第2の実施形態によるカメラの一例について説明する。なお、第2の実施形態によるカメラの構成は図1に示すカメラと同様である。また、第2の実施形態におけるカメラ本体処理、レンズユニット処理、三脚検知タイマ割込処理2、およびジャイロセンサ読み出しタイマ割込処理は図3、図4、図6、および図7に示す処理と同様である。
[Second embodiment]
Next, an example of a camera according to a second embodiment of the invention will be described. The configuration of the camera according to the second embodiment is the same as that of the camera shown in FIG. Also, camera body processing, lens unit processing, tripod detection timer interrupt processing 2, and gyro sensor readout timer interrupt processing in the second embodiment are the same as the processing shown in FIGS. is.

図9は、本発明の第2の実施形態によるカメラにおいてカメラ本体で行われる三脚検知タイマ割込処理1を説明するためのフローチャートである。 FIG. 9 is a flowchart for explaining tripod detection timer interrupt processing 1 performed in the camera body of the camera according to the second embodiment of the present invention.

三脚検知タイマ割込処理1を開始すると、システム制御部120は振れ検出部151において検出された振れ量データ(ジャイロデータ)の数が所定のサンプル数(例えば、500サンプル)以上であるか否かを判定する(ステップS901)。 When the tripod detection timer interrupt process 1 is started, the system control unit 120 determines whether or not the number of shake amount data (gyro data) detected by the shake detection unit 151 is equal to or greater than a predetermined number of samples (eg, 500 samples). is determined (step S901).

所定のサンプル数以上取得済でないと(ステップS901において、NO)、システム制御部120は三脚検知タイマ割込処理1を終了する。一方、所定のサンプル数以上取得済であると(ステップS901において、YES)、システム制御部120は振れ検出部151によって検出した振れ量データにおいて直近の所定数のサンプル(例えば、500サンプル)を調べる。そして、システム制御部120は当該サンプルにおいて振れ量が予め設定された閾値を超えるサンプルが存在するか否かを判定する(ステップS902)。 If the predetermined number of samples or more have not been acquired (NO in step S901), the system control unit 120 terminates the tripod detection timer interrupt process 1. FIG. On the other hand, if the predetermined number or more of samples have been obtained (YES in step S901), the system control unit 120 checks the most recent predetermined number of samples (eg, 500 samples) in the shake amount data detected by the shake detection unit 151. . Then, the system control unit 120 determines whether or not there is a sample in which the shake amount exceeds a preset threshold (step S902).

振れ量が予め設定された閾値を超えるサンプルが存在すると(ステップS902において、YES)、システム制御部120は「三脚なし」と判定する(ステップS903)。一方、振れ量が予め設定された閾値を超えるサンプルが存在しないと(ステップS902において、NO)、システム制御部120は「三脚あり」と判定する(ステップS904)。 If there is a sample whose shake amount exceeds the preset threshold value (YES in step S902), the system control unit 120 determines that "no tripod" (step S903). On the other hand, if there is no sample whose shake amount exceeds the preset threshold value (NO in step S902), the system control unit 120 determines that "a tripod is present" (step S904).

ステップS903又はS904の処理の後、システム制御部120は、カメラ本体100における三脚検知判定結果が前回レンズユニット200に送信した判定結果と同一であるか否かを判定する(ステップS905)。三脚検知判定結果が同一でないと(ステップS905において、NO)、システム制御部120はレンズ制御部203に、カメラ本体100における三脚検知判定結果を送信する(ステップS906)。なお、カメラ本体100における三脚検知判定結果が未だレンズユニット200に送信されていない場合にも、システム制御部120はステップS906の処理を行う。 After the process of step S903 or S904, the system control unit 120 determines whether or not the tripod detection determination result in the camera body 100 is the same as the determination result previously transmitted to the lens unit 200 (step S905). If the tripod detection determination results are not the same (NO in step S905), the system control unit 120 transmits the tripod detection determination result in the camera body 100 to the lens control unit 203 (step S906). The system control unit 120 performs the processing of step S906 even when the tripod detection determination result in the camera body 100 has not yet been transmitted to the lens unit 200 .

続いて、システム制御部120はレンズユニット200から最後に受信した三脚検知の判定結果を調べる。そして、システム制御部120はカメラ本体100における三脚検知の判定結果が「三脚なし」で、かつレンズユニット200における三脚検知判定結果が「三脚なし」であるか否かを判定する(ステップS907)。なお、三脚検知判定結果が同一であると(ステップS905において、YES)、システム制御部120はステップS907の処理に進む。 Subsequently, the system control unit 120 checks the tripod detection determination result received last from the lens unit 200 . Then, the system control unit 120 determines whether the tripod detection determination result in the camera body 100 is "no tripod" and whether the tripod detection determination result in the lens unit 200 is "no tripod" (step S907). Note that if the tripod detection determination results are the same (YES in step S905), the system control unit 120 proceeds to the process of step S907.

カメラ本体100およびレンズユニット200における三脚検知判定結果がともに「三脚なし」であると(ステップS907において、YES)、システム制御部120はカメラ本体100における振れ補正機能をオンとする(ステップS908)。そして、システム制御部120は三脚検知タイマ割込処理1を終了する。 If the tripod detection determination results for both the camera body 100 and the lens unit 200 are "no tripod" (YES in step S907), the system control unit 120 turns on the shake correction function in the camera body 100 (step S908). Then, the system control unit 120 terminates the tripod detection timer interrupt process 1 .

カメラ本体100およびレンズユニット200の少なくとも一方における三脚検知判定結果がともに「三脚あり」であると(ステップS907において、NO)、システム制御部120はカメラ本体100における振れ補正機能をオフとする(ステップS909)。そして、システム制御部120は三脚検知タイマ割込処理1を終了する。 If the tripod detection determination results for at least one of the camera body 100 and the lens unit 200 are both "tripod present" (NO in step S907), the system control unit 120 turns off the shake correction function in the camera body 100 (step S909). Then, the system control unit 120 terminates the tripod detection timer interrupt process 1 .

図10は、本発明の第2の実施形態によるカメラにおいてレンズユニット行われる三脚検知タイマ割込処理3を説明するためのフローチャートである。 FIG. 10 is a flowchart for explaining tripod detection timer interrupt processing 3 performed by the lens unit in the camera according to the second embodiment of the present invention.

三脚検知タイマ割込処理3を開始すると、レンズ制御部203は振れ検出部205において検出された振れ量データ(ジャイロデータ)の数が所定のサンプル数(例えば、500サンプル)以上であるか否かを判定する(ステップS1001)。 When the tripod detection timer interrupt process 3 is started, the lens control unit 203 determines whether or not the number of shake amount data (gyro data) detected by the shake detection unit 205 is equal to or greater than a predetermined number of samples (eg, 500 samples). is determined (step S1001).

所定のサンプル数以上取得済でないと(ステップS1001において、NO)、レンズ制御部203は三脚検知タイマ割込処理3を終了する。一方、所定のサンプル数以上取得済であると(ステップS1001において、YES)、レンズ制御部203は振れ検出部205によって検出した振れ量データにおいて直近の所定数のサンプル(例えば、500サンプル)を調べる。そして、レンズ制御部203は当該サンプルにおいて振れ量が予め設定された閾値を超えるサンプルが存在するか否かを判定する(ステップS1002)。 If the predetermined number of samples or more have not been obtained (NO in step S1001), the lens control unit 203 terminates the tripod detection timer interrupt process 3. FIG. On the other hand, if a predetermined number or more of samples have been obtained (YES in step S1001), the lens control unit 203 checks the most recent predetermined number of samples (eg, 500 samples) in the shake amount data detected by the shake detection unit 205. . Then, the lens control unit 203 determines whether or not there is a sample in which the shake amount exceeds a preset threshold (step S1002).

振れ量が予め設定された閾値を超えるサンプルが存在すると(ステップS1002において、YES)、レンズ制御部203は「三脚なし」と判定する(ステップS1003)。一方、振れ量が予め設定された閾値を超えるサンプルが存在しないと(ステップS1002において、NO)、レンズ制御部203は「三脚あり」と判定する(ステップS1004)。 If there is a sample whose shake amount exceeds the preset threshold value (YES in step S1002), the lens control unit 203 determines "no tripod" (step S1003). On the other hand, if there is no sample whose shake amount exceeds the preset threshold value (NO in step S1002), the lens control unit 203 determines that "there is a tripod" (step S1004).

ステップS1003又はS1004の処理の後、レンズ制御部203は、レンズユニット200における三脚検知判定結果が前回カメラ本体100に送信した判定結果と同一であるか否かを判定する(ステップS1005)。三脚検知判定結果が同一でないと(ステップS1005において、NO)、レンズ制御部203はシステム制御部120に、レンズユニット200における三脚検知判定結果を送信する(ステップS1006)。なお、レンズユニット200における三脚検知判定結果が未だカメラ本体100に送信されていない場合にも、レンズ制御部203はステップS1006の処理を行う。 After the processing in step S1003 or S1004, the lens control unit 203 determines whether or not the tripod detection determination result in the lens unit 200 is the same as the determination result previously transmitted to the camera body 100 (step S1005). If the tripod detection determination results are not the same (NO in step S1005), the lens control unit 203 transmits the tripod detection determination result in the lens unit 200 to the system control unit 120 (step S1006). The lens control unit 203 performs the processing of step S1006 even when the tripod detection determination result in the lens unit 200 has not yet been transmitted to the camera body 100 .

続いて、レンズ制御部203はカメラ本体100から最後に受信した三脚検知の判定結果を調べる。そして、レンズ制御部203はレンズユニット200における三脚検知判定結果が「三脚なし」で、かつカメラ本体100における三脚検知判定結果が「三脚なし」であるか否かを判定する(ステップS1007)。なお、三脚検知判定結果が同一であると(ステップS1005において、YES)、レンズ制御部203はステップS1007の処理に進む。 Subsequently, the lens control unit 203 checks the tripod detection determination result received last from the camera body 100 . Then, the lens control unit 203 determines whether the tripod detection determination result in the lens unit 200 is "no tripod" and whether the tripod detection determination result in the camera body 100 is "no tripod" (step S1007). Note that if the tripod detection determination results are the same (YES in step S1005), the lens control unit 203 proceeds to the process of step S1007.

レンズユニット200およびカメラ本体100における三脚検知判定結果がともに「三脚なし」であると(ステップS1007において、YES)、レンズ制御部203はレンズユニット200における振れ補正機能をオンとする(ステップS1008)。そして、レンズ制御部203は三脚検知タイマ割込処理3を終了する。 If the tripod detection determination results for both the lens unit 200 and the camera body 100 are "no tripod" (YES in step S1007), the lens control unit 203 turns on the shake correction function in the lens unit 200 (step S1008). Then, the lens control unit 203 ends the tripod detection timer interrupt process 3 .

レンズユニット200およびカメラ本体100の少なくとも一方における三脚検知判定結果がともに「三脚あり」であると(ステップS1007において、NO)、レンズ制御部203はレンズユニット200における振れ補正機能をオフとする(ステップS1009)。そして、システム制御部120は三脚検知タイマ割込処理3を終了する。 If the tripod detection determination results for at least one of the lens unit 200 and camera body 100 are both "tripod present" (NO in step S1007), the lens control unit 203 turns off the shake correction function in the lens unit 200 (step S1009). Then, the system control unit 120 terminates the tripod detection timer interrupt process 3 .

このように、本発明の第2の実施形態では、かめら本体100およびレンズユニット200の少なくとも一方における振れ量が閾値以下である場合には、カメラ本体100およびレンズユニット200ともに振れ補正を行わないようにする。これによって、振れ量が十分に小さい場合に、いずれか一方の検出振れ量が誤ったとしても、当該いずれか一方の振れ補正機能がオンとなって不自然な画像が撮影される事態を防止することができる。 As described above, in the second embodiment of the present invention, when the amount of shake in at least one of the camera body 100 and the lens unit 200 is equal to or less than the threshold, neither the camera body 100 nor the lens unit 200 performs shake correction. make it As a result, when the shake amount is sufficiently small, even if one of the detected shake amounts is incorrect, the shake correction function of one of the shake correction functions is turned on to prevent an unnatural image from being captured. be able to.

さらに、第2の実施形態では、システム制御部120およびレンズ制御部203は三脚検知判定結果が前回の判定結果と異なる場合にのみその判定結果を送受する。これによって、カメラ本体100とレンズユニット20との間の通信頻度を低減することができる。 Furthermore, in the second embodiment, the system control unit 120 and the lens control unit 203 transmit and receive the determination result only when the tripod detection determination result differs from the previous determination result. As a result, the frequency of communication between the camera body 100 and the lens unit 20 can be reduced.

[第3の実施形態]
次に、本発明の第3の実施形態によるカメラの一例について説明する。なお、第3の実施形態によるカメラの構成は図1に示すカメラと同様である。
[Third embodiment]
Next, an example of a camera according to a third embodiment of the invention will be described. The configuration of the camera according to the third embodiment is the same as that of the camera shown in FIG.

図11は、本発明の第3の実施形態によるカメラにおいてカメラ本体で行われる処理を説明するためのフローチャートである。なお、図11において、図3に示すフローチャートと同一のステップについては同一の参照符号を付して説明を省略する。 FIG. 11 is a flow chart for explaining the processing performed by the camera body in the camera according to the third embodiment of the present invention. In FIG. 11, the same steps as those in the flowchart shown in FIG. 3 are given the same reference numerals, and description thereof will be omitted.

ステップS303において、三脚検知判定結果の通信が可能であると(ステップS303において、YES)、システム制御部120はレンズ制御部203から振れ検出部(ジャイロ)205による検知結果の信頼性に関する情報(信頼性情報)を受信する(ステップS1104)。ここでは、信頼性情報として、例えば、振れ検出部205による検知結果のS/N比に関する情報を受信する。 In step S303, if the tripod detection determination result can be communicated (YES in step S303), the system control unit 120 receives information (reliability information) regarding the reliability of the detection result by the shake detection unit (gyro) 205 from the lens control unit 203. information) is received (step S1104). Here, as the reliability information, for example, information about the S/N ratio of the detection result by the shake detection unit 205 is received.

続いて、システム制御部120は、レンズ制御部203に振れ検出部151による検知結果の信頼性に関する情報(信頼性情報)を送る(ステップS1105)。ここでは、信頼性情報として、例えば、振れ検出部151による検知結果のS/N比に関する情報を送る。そして、システム制御部120は後述する三脚検知タイマ割込処理1を開始する。以後、この三脚検知タイマ割込処理1は所定の時間毎に繰り返される。その後、システム制御部120はステップS306の処理に進む。 Subsequently, the system control unit 120 sends information (reliability information) regarding the reliability of the detection result by the shake detection unit 151 to the lens control unit 203 (step S1105). Here, as the reliability information, for example, information about the S/N ratio of the detection result by the shake detection unit 151 is sent. Then, the system control unit 120 starts tripod detection timer interrupt processing 1, which will be described later. Thereafter, this tripod detection timer interrupt process 1 is repeated at predetermined time intervals. After that, the system control unit 120 proceeds to the process of step S306.

図12は、本発明の第3の実施形態によるカメラにおいてレンズユニットで行われる処理を説明するためのフローチャートである。なお、図12において、図4に示すフローチャートと同一のステップについては同一の参照符号を付して説明を省略する。 FIG. 12 is a flowchart for explaining the processing performed by the lens unit in the camera according to the third embodiment of the invention. 12, the same steps as in the flowchart shown in FIG. 4 are denoted by the same reference numerals, and description thereof will be omitted.

ステップS401の処理に続いて、レンズ制御部203は、システム制御部120に振れ検出部205による検知結果に係る信頼性情報を送る(ステップS1202)。そして、レンズ制御部203は、システム制御部120から振れ検出部151による検知結果に係る信頼性情報を受信する(ステップS1203)。 Following the processing of step S401, the lens control unit 203 sends reliability information related to the detection result of the shake detection unit 205 to the system control unit 120 (step S1202). Then, the lens control unit 203 receives reliability information related to the detection result by the shake detection unit 151 from the system control unit 120 (step S1203).

続いて、レンズ制御部302は、後述する三脚検知タイマ割込処理3を有効にする(ステップS1204)。以後、この三脚検知タイマ割込処理3は所定の時間毎に繰り返される。その後、レンズ制御部203はステップS403の処理に進む。 Subsequently, the lens control unit 302 enables tripod detection timer interrupt processing 3, which will be described later (step S1204). Thereafter, this tripod detection timer interrupt process 3 is repeated at predetermined time intervals. After that, the lens control unit 203 proceeds to the process of step S403.

図13は、図11に示す三脚検知タイマ割込処理1を説明するためのフローチャートである。なお、図13において、図9に示すフローチャートと同一のステップについては同一の参照符号を付して説明を省略する。 FIG. 13 is a flowchart for explaining tripod detection timer interrupt processing 1 shown in FIG. 13, the same steps as in the flowchart shown in FIG. 9 are denoted by the same reference numerals, and description thereof will be omitted.

三脚検知タイマ割込処理1を開始すると、システム制御部120は、信頼性情報に基づいて振れ検出部151の信頼性が振れ検出部205の信頼性よりも高いか否かを判定する(ステップS1301)。振れ検出部151の信頼性が振れ検出部205の信頼性より高いと(ステップS1301において、YES)、システム制御部120はステップS901の処理に進む。 When the tripod detection timer interrupt process 1 is started, the system control unit 120 determines whether or not the reliability of the shake detection unit 151 is higher than the reliability of the shake detection unit 205 based on the reliability information (step S1301). ). If the reliability of shake detection unit 151 is higher than that of shake detection unit 205 (YES in step S1301), system control unit 120 proceeds to the process of step S901.

図13においては、ステップS903の処理の後ステップS908の処理が行われる。また、ステップS904の処理の後ステップS909の処理が行われる。そして、ステップS908又はS909の処理の後、システム制御部120はステップS905の処理を行う。三脚検知判定結果が同一でないと(ステップS905において、NO)、システム制御部120はステップS906の処理を行って、三脚検知タイマ割込処理1を終了する。三脚検知判定結果が同一であると(ステップS905において、YES)、システム制御部120は三脚検知タイマ割込処理1を終了する。 In FIG. 13, the process of step S908 is performed after the process of step S903. Moreover, the process of step S909 is performed after the process of step S904. After the process of step S908 or S909, the system control unit 120 performs the process of step S905. If the tripod detection determination results are not the same (NO in step S905), the system control unit 120 performs the processing of step S906 and terminates the tripod detection timer interrupt processing 1. FIG. If the tripod detection determination results are the same (YES in step S905), system control unit 120 terminates tripod detection timer interrupt process 1. FIG.

振れ検出部151の信頼性が振れ検出部205の信頼性以下であると(ステップS1301において、NO)、システム制御部120はレンズユニット200から最後に受信した三脚検知判定結果を調べる。そして、システム制御部120は当該三脚検知判定結果が「三脚なし」であるか否かを判定する(ステップS1302)。 If the reliability of the shake detection unit 151 is lower than or equal to the reliability of the shake detection unit 205 (NO in step S1301), the system control unit 120 checks the tripod detection determination result received last from the lens unit 200. FIG. Then, the system control unit 120 determines whether or not the tripod detection determination result is "no tripod" (step S1302).

三脚検知判定結果が「三脚なし」であると(ステップS1302において、YES)、システム制御部120はカメラ本体100の振れ補正機能をオンとする(ステップS1303)。そして、システム制御部120は三脚検知タイマ割込処理1を終了する。 If the tripod detection determination result is "no tripod" (YES in step S1302), the system control unit 120 turns on the shake correction function of the camera body 100 (step S1303). Then, the system control unit 120 terminates the tripod detection timer interrupt process 1 .

一方、三脚検知判定結果が「三脚あり」であると(ステップS1302において、NO)、システム制御部120はカメラ本体100の振れ補正機能をオフとする(ステップS1304)。そして、システム制御部120は三脚検知タイマ割込処理1を終了する。 On the other hand, if the tripod detection determination result is "with a tripod" (NO in step S1302), the system control unit 120 turns off the shake correction function of the camera body 100 (step S1304). Then, the system control unit 120 terminates the tripod detection timer interrupt process 1 .

図14は、図12に示す三脚検知タイマ割込処理3を説明するためのフローチャートである。なお、図14において、図10に示すフローチャートと同一のステップについては同一の参照符号を付して説明を省略する。 FIG. 14 is a flowchart for explaining tripod detection timer interrupt processing 3 shown in FIG. 14, the same steps as in the flowchart shown in FIG. 10 are denoted by the same reference numerals, and descriptions thereof are omitted.

三脚検知タイマ割込処理3を開始すると、レンズ制御部203は、信頼性情報に基づいて振れ検出部151の信頼性が振れ検出部205の信頼性よりも高いか否かを判定する(ステップS1401)。振れ検出部151の信頼性が振れ検出部205の信頼性より高くないと(ステップS1401において、NO)、レンズ制御部203はステップS1001の処理に進む。 When the tripod detection timer interrupt process 3 is started, the lens control unit 203 determines whether or not the reliability of the shake detection unit 151 is higher than the reliability of the shake detection unit 205 based on the reliability information (step S1401). ). If the reliability of the shake detection unit 151 is not higher than that of the shake detection unit 205 (NO in step S1401), the lens control unit 203 proceeds to the process of step S1001.

図14においては、ステップS1003の処理の後ステップS1008の処理が行われる。また、ステップS1004の処理の後ステップS1009の処理が行われる。そして、ステップS1008又はS1009の処理の後、レンズ制御部203はステップS1005の処理を行う。三脚検知判定結果が同一でないと(ステップS1005において、NO)、レンズ制御部203はステップS1006の処理を行って、三脚検知タイマ割込処理3を終了する。三脚検知判定結果が同一であると(ステップS1005において、YES)、レンズ制御部203は三脚検知タイマ割込処理3を終了する。 In FIG. 14, the process of step S1008 is performed after the process of step S1003. Moreover, the process of step S1009 is performed after the process of step S1004. After the process of step S1008 or S1009, the lens control unit 203 performs the process of step S1005. If the tripod detection determination results are not the same (NO in step S1005), the lens control unit 203 performs the process of step S1006 and ends the tripod detection timer interrupt process 3. FIG. If the tripod detection determination results are the same (YES in step S1005), the lens control unit 203 terminates the tripod detection timer interrupt process 3. FIG.

振れ検出部151の信頼性が振れ検出部205の信頼性より高いと(ステップS1401において、YES)、レンズ制御部203はカメラ本体100から最後に受信した三脚検知判定結果を調べる。そして、レンズ制御部203は当該三脚検知判定結果が「三脚なし」であるか否かを判定する(ステップS1402)。 If the reliability of the shake detection unit 151 is higher than that of the shake detection unit 205 (YES in step S1401), the lens control unit 203 checks the tripod detection determination result received last from the camera body 100. FIG. Then, the lens control unit 203 determines whether or not the tripod detection determination result is "no tripod" (step S1402).

三脚検知判定結果が「三脚なし」であると(ステップS1402において、YES)、レンズ制御部203はレンズユニット200の振れ補正機能をオンとする(ステップS1403)。そして、レンズ制御部203は三脚検知タイマ割込処理3を終了する。 If the tripod detection determination result is "no tripod" (YES in step S1402), the lens control unit 203 turns on the shake correction function of the lens unit 200 (step S1403). Then, the lens control unit 203 ends the tripod detection timer interrupt process 3 .

一方、三脚検知判定結果が「三脚あり」であると(ステップS1402において、NO)、レンズ制御部203はレンズユニット200の振れ補正機能をオフとする(ステップS1404)。そして、レンズ制御部203は三脚検知タイマ割込処理3を終了する。 On the other hand, if the tripod detection determination result is "with tripod" (NO in step S1402), the lens control unit 203 turns off the shake correction function of the lens unit 200 (step S1404). Then, the lens control unit 203 ends the tripod detection timer interrupt process 3 .

このように、本発明の第3の実施形態では、振れ検出部151および振れ検出部205に係る信頼性情報に基づいて、いずれか一方の検知結果を用いて振れ補正を行うか否かを決定する。これによって、カメラ本体100およびレンズユニット200とのいずれか一方のみで振れ補正機能がオンとなって、不自然な画像が撮影されることを防止することができる。 As described above, in the third embodiment of the present invention, whether or not to perform shake correction is determined using the detection result of one of the shake detection units 151 and 205 based on the reliability information of the shake detection unit 151 and the shake detection unit 205. do. As a result, it is possible to prevent an unnatural image from being captured by turning on the shake correction function of only one of the camera body 100 and the lens unit 200 .

なお、上述の第1乃至第3の実施形態では、三脚を用いているか否かを検知する三脚検知を例に挙げて説明したが、カメラ本体100およびレンズユニット200の振れ量が十分に小さい状態であるか否かを判定するようにすればよい。 In the first to third embodiments described above, tripod detection for detecting whether or not a tripod is used has been described as an example. It suffices to determine whether or not.

上述の第1乃至3の実施形態においては、三脚検知判定に伴う処理について説明したが、撮像装置本体と交換レンズとにおいて判定結果が異なる場合に不具合が生じるのは三脚検知判定の判定結果には限らない。以下では、三脚検知判定に伴う処理に代わって振れ補正モード判定に伴う処理について説明する。 In the above-described first to third embodiments, the processing associated with the tripod detection determination has been described. Not exclusively. In the following, processing associated with shake correction mode determination will be described instead of processing associated with tripod detection determination.

[第4の実施形態]
次に、本発明の第4の実施形態によるカメラの一例について説明する。
[Fourth embodiment]
Next, an example of a camera according to a fourth embodiment of the invention will be described.

図15は、本発明の第4の実施形態によるカメラの一例についてその構成を示すブロック図である。なお、図15において、図1に示すカメラと同一のブロックについては同一の参照番号を付して説明を省略する。 FIG. 15 is a block diagram showing the configuration of an example of a camera according to the fourth embodiment of the invention. In FIG. 15, the same reference numerals are given to the same blocks as those of the camera shown in FIG. 1, and the description thereof will be omitted.

図示のカメラにおいては、レンズユニット200に振れ補正モード操作部206が備えられている。カメラ本体100に備えられた画像処理部123は、後述する複数の振れ補正モードのうち設定された振れ補正モードに応じた振れ補正処理を行う。さらに、レンズユニット200に備えられたレンズ駆動部204は、レンズ制御部203の制御下で複数の振れ補正モードのうち設定された振れ補正モードに応じて振れ補正制御機構を駆動する。 In the illustrated camera, the lens unit 200 is provided with a shake correction mode operation section 206 . An image processing unit 123 provided in the camera body 100 performs shake correction processing according to a set shake correction mode among a plurality of shake correction modes described later. Further, the lens driving unit 204 provided in the lens unit 200 drives the shake correction control mechanism under the control of the lens control unit 203 according to the shake correction mode set among the plurality of shake correction modes.

振れ補正モード操作部206は、例えば、メカスイッチであり、ユーザは、振れ補正モード操作部206を操作することによって、レンズ駆動部204における振れ補正モードをユーザ選択の振れ補正モードに固定するか又は振れ補正モードの選択を自動判定によって行うかを設定することができる。なお、振れ補正モード操作部206によって振れ補正モードが固定されない場合には、レンズ制御部203はレンズ駆動部204の振れ補正モードを判定して当該判定結果に応じて振れ補正モードを設定する。 The shake correction mode operation unit 206 is, for example, a mechanical switch, and the user operates the shake correction mode operation unit 206 to fix the shake correction mode in the lens driving unit 204 to the user-selected shake correction mode, or It is possible to set whether to select the shake correction mode by automatic determination. When the shake correction mode is not fixed by the shake correction mode operation unit 206, the lens control unit 203 determines the shake correction mode of the lens driving unit 204 and sets the shake correction mode according to the determination result.

ここで、複数の振れ補正モードとして、例えば、通常モード、流し撮りモード、三脚モード、露光中のみ補正モード、および振れ補正オフモードがある。 Here, the plurality of shake correction modes include, for example, a normal mode, a panning mode, a tripod mode, a correction mode only during exposure, and a shake correction off mode.

通常モードは、カメラを手持ちして撮影する場合に適した振れ補正モードであり、当該通常モードにおいては、ユーザがカメラを手持ちしている場合(つまり、把持している場合)に生じる手振れに特化して振れ補正が行われる。 The normal mode is a shake correction mode suitable for shooting while holding the camera in hand. image stabilization is performed.

流し撮りモードは、所謂流し撮りに適した振れ補正モードであり、ユーザが被写体を追うようにしてカメラを振っている場合には、カメラを振っている方向における振れ補正のみがオフとされる。 The panning mode is a shake correction mode suitable for so-called panning, and when the user is shaking the camera to follow the subject, only the shake correction in the direction in which the camera is being shaken is turned off.

三脚モードは、カメラを三脚などに固定して撮影を行う際に適した振れ補正モードであり、このモードでは振れ量が十分小さい場合に不要な振れ補正が行われることを防止するため、振れ補正が禁止される。代わりに、三脚モードでは、カメラを三脚に固定した際に影響を受けやすいレリーズの振動による振れに特化して振れ補正が行われる。 Tripod mode is a shake correction mode suitable for shooting with the camera fixed to a tripod. is prohibited. Instead, in tripod mode, shake correction is performed specifically for shake caused by release vibration, which is easily affected when the camera is fixed on a tripod.

露光中のみ補正モードは、素早く動く被写体をファインダーで追う場合などに適した振れ補正モードであり、このモードでは露光中のみ振れ補正が行われ、それ以外の時には振れ補正がオフとされる。これによって、振れ補正に起因してファインダー像の追従性が損なわれることを防止する。 The only correction mode during exposure is a vibration correction mode that is suitable for tracking a fast-moving subject through the viewfinder. This prevents the followability of the finder image from being impaired due to shake correction.

なお、振れ補正オフモードは、振れ量に拘わらず振れ補正を禁止するモードである。また、レンズ駆動部204および画像処理部123は、上述の振れ補正モード以外の振れ補正モードによる駆動および処理を行うようにしてもよい。 Note that the shake correction off mode is a mode in which shake correction is prohibited regardless of the amount of shake. Also, the lens driving unit 204 and the image processing unit 123 may perform driving and processing in a shake correction mode other than the shake correction mode described above.

図16は、図15に示すカメラ本体で行われる処理を説明するためのフローチャートである。なお、図示のフローチャートに係る処理は、システム制御部120の制御下で行われる。また、図16に示すステップS1600~1602の処理はそれぞれ図3に示すステップS300~302の処理と同様であるので、説明を省略する。 FIG. 16 is a flowchart for explaining the processing performed by the camera body shown in FIG. 15; Note that the processing related to the illustrated flowchart is performed under the control of the system control unit 120 . Also, the processing of steps S1600 to 1602 shown in FIG. 16 is the same as the processing of steps S300 to 302 shown in FIG. 3, respectively, so the description thereof is omitted.

ステップS1602の処理の後、システム制御部120はレンズ情報に基づいてレンズユニット200が振れ補正モードの判定結果を通信可能なレンズユニットであるか否かを判定する(ステップS1603)。振れ補正モードの判定結果の通信が可能であると(ステップS1603において、YES)、システム制御部120は後述する第1の振れ補正モード判定タイマ割込処理(振れ補正モード判定タイマ割込処理1)を開始する(ステップS1604)。以後、振れ補正モード判定タイマ割込処理1は所定の時間毎に繰り返される。 After the processing of step S1602, the system control unit 120 determines whether or not the lens unit 200 is a lens unit capable of communicating the determination result of the shake correction mode based on the lens information (step S1603). If the determination result of the shake correction mode can be communicated (YES in step S1603), the system control unit 120 performs first shake correction mode determination timer interrupt processing (shake correction mode determination timer interrupt processing 1) described later. is started (step S1604). Thereafter, shake correction mode determination timer interrupt processing 1 is repeated at predetermined time intervals.

振れ補正モード判定結果の通信が可能でないと(ステップS1603において、NO)、システム制御部120は後述する第2の振れ補正モード判定タイマ割込処理(振れ補正モード判定タイマ割込処理2)を開始する(ステップS1605)。以後、振れ補正モード判定タイマ割込処理2は所定の時間毎に繰り返される。 If the shake correction mode determination result cannot be communicated (NO in step S1603), the system control unit 120 starts second shake correction mode determination timer interrupt processing (shake correction mode determination timer interrupt processing 2), which will be described later. (step S1605). After that, the shake correction mode determination timer interrupt process 2 is repeated at predetermined time intervals.

ステップS1604又はS1605の処理の後、システム制御部120は、ステップS1606においてジャイロ読み出しタイマ割込処理を開始する。なお、ステップS1606の処理は図3に示すステップS306の処理と同様であるので、説明を省略する。 After the processing of step S1604 or S1605, the system control unit 120 starts gyro readout timer interrupt processing in step S1606. Note that the processing of step S1606 is the same as the processing of step S306 shown in FIG. 3, so the description is omitted.

ステップS1606の後、システム制御部120は、ステップS1604又はS1605において設定された振れ補正モードに応じて画像処理部123による振れ補正を行う。そして、システム制御部120はカメラ本体処理を終了する。 After step S1606, the system control unit 120 performs shake correction by the image processing unit 123 according to the shake correction mode set in step S1604 or S1605. Then, the system control unit 120 ends the camera body processing.

図17は、図15に示すレンズユニットで行われる処理を説明するためのフローチャートである。なお、図示のフローチャートに係る処理は、レンズ制御部203の制御下で行われる。また、図17に示すS1701の処理は、図4に示すS401の処理と同様であるので説明を省略する。 FIG. 17 is a flowchart for explaining the processing performed by the lens unit shown in FIG. 15; Note that the processing related to the illustrated flowchart is performed under the control of the lens control unit 203 . Further, the processing of S1701 shown in FIG. 17 is the same as the processing of S401 shown in FIG. 4, so the explanation is omitted.

ステップS1701の処理の後、レンズ制御部203は後述する第3の振れ補正モード判定タイマ割込処理(振れ補正モード判定タイマ割込処理3)を開始する(ステップS1702)。以後、振れ補正モード判定タイマ割込処理3は所定の時間毎に繰り返される。 After the process of step S1701, the lens control unit 203 starts a third shake correction mode determination timer interrupt process (shake correction mode determination timer interrupt process 3) (step S1702). Thereafter, the shake correction mode determination timer interrupt process 3 is repeated at predetermined time intervals.

次に、レンズ制御部203は、ステップS1703において図4で説明したステップS403と同様にジャイロ読み出しタイマ割込処理を開始する。そして、レンズ制御部203は、ステップS1702で設定した振れ補正モードに応じて、レンズ駆動部204による振れ補正を実行する。その後、レンズ制御部203はレンズユニット処理を終了する。 Next, in step S1703, the lens control unit 203 starts gyro read timer interrupt processing in the same manner as in step S403 described with reference to FIG. Then, the lens control unit 203 executes shake correction by the lens driving unit 204 according to the shake correction mode set in step S1702. After that, the lens control unit 203 ends the lens unit processing.

図18は、図16に示す振れ補正モード判定タイマ割込処理1を説明するためのフローチャートである。 FIG. 18 is a flowchart for explaining shake correction mode determination timer interrupt processing 1 shown in FIG.

振れ補正モード判定タイマ割込処理1を開始すると、システム制御部120はレンズ制御部203に、レンズユニット200における振れ補正モードの判定結果を送るように要求する(ステップS1801)。これによって、システム制御部120はレンズ制御部203からレンズユニット200における振れ補正モード判定結果を受信する(ステップS1802)。 When the shake correction mode determination timer interrupt process 1 is started, the system control unit 120 requests the lens control unit 203 to send the determination result of the shake correction mode in the lens unit 200 (step S1801). Accordingly, the system control unit 120 receives the shake correction mode determination result in the lens unit 200 from the lens control unit 203 (step S1802).

続いて、システム制御部120は、画像処理部123の振れ補正モードを、レンズユニット200から受信した振れ補正モードの判定結果と同一のモードに設定する(ステップS1803)。そして、システム制御部120は振れ補正モード判定タイマ割込処理1を終了する。 Subsequently, the system control unit 120 sets the shake correction mode of the image processing unit 123 to the same mode as the determination result of the shake correction mode received from the lens unit 200 (step S1803). Then, the system control unit 120 terminates the shake correction mode determination timer interrupt process 1 .

図19は、図15に示す振れ補正モード判定タイマ割込処理2を説明するためのフローチャートである。 FIG. 19 is a flowchart for explaining shake correction mode determination timer interrupt processing 2 shown in FIG.

振れ補正モード判定タイマ割込処理2を開始すると、システム制御部120は、ステップS1901およびS1902の処理を行う。ステップS1901およびS1902の処理は、図6に示すステップS601およびS602と同様の処理である。 When the shake correction mode determination timer interrupt process 2 is started, the system control unit 120 performs the processes of steps S1901 and S1902. The processing of steps S1901 and S1902 is the same processing as steps S601 and S602 shown in FIG.

所定のサンプル数以上取得済でないと(ステップS1901において、NO)、システム制御部120は振れ補正モード判定タイマ割込処理2を終了する。 If the predetermined number of samples or more have not been acquired (NO in step S1901), system control unit 120 terminates shake correction mode determination timer interrupt processing 2. FIG.

ステップS1902において、予め設定された閾値を超えるサンプルが存在すると(ステップS1902において、YES)、システム制御部120は、直近の所定時間分における振れ量データを調べて、一方向への振れ量が全て所定値以上(所定量以上)であるか否かを判定する(ステップS1903)。全て所定値以上でないと(ステップS1903において、NO)、システム制御部120はカメラ本体100における振れ補正モードを「通常モード」に設定する(ステップS1904)。つまり、システム制御部120は画像処理部123による振れ補正を「通常モード」とする。そして、システム制御部120は振れ補正モード判定タイマ割込処理2を終了する。 In step S1902, if there is a sample that exceeds the preset threshold (YES in step S1902), system control unit 120 examines shake amount data for the most recent predetermined time period, and checks that all shake amounts in one direction are present. It is determined whether or not it is a predetermined value or more (a predetermined amount or more) (step S1903). If all are not equal to or greater than the predetermined value (NO in step S1903), the system control unit 120 sets the shake correction mode in the camera body 100 to "normal mode" (step S1904). That is, the system control unit 120 sets the shake correction by the image processing unit 123 to the "normal mode". Then, the system control unit 120 terminates the shake correction mode determination timer interrupt process 2 .

全て所定値以上であると(ステップS1903において、YES)、システム制御部120はカメラ本体100における振れ補正モードを「流し撮りモード」に設定する(ステップS1905)。つまり、システム制御部120は画像処理部123による振れ補正を「流し撮りモード」とする。そして、システム制御部120は振れ補正モード判定タイマ割込処理2を終了する。 If all are equal to or greater than the predetermined value (YES in step S1903), the system control unit 120 sets the shake correction mode in the camera body 100 to "panning mode" (step S1905). That is, the system control unit 120 sets the shake correction by the image processing unit 123 to the "panning mode". Then, the system control unit 120 terminates the shake correction mode determination timer interrupt process 2 .

ステップS1902において、予め設定された閾値を超えるサンプルが存在しないと(ステップS1902において、NO)、システム制御部120は、カメラ本体100における振れ補正モードを「三脚モード」に設定する。つまり、システム制御部120は画像処理部123による振れ補正を「三脚モード」とする。そして、システム制御部120は振れ補正モード判定タイマ割込処理2を終了する。 In step S1902, if there are no samples exceeding the preset threshold (NO in step S1902), system control unit 120 sets the shake correction mode in camera body 100 to "tripod mode." That is, the system control unit 120 sets the shake correction by the image processing unit 123 to the “tripod mode”. Then, the system control unit 120 terminates the shake correction mode determination timer interrupt process 2 .

図20は、図17に示す振れ補正モード判定タイマ割込処理3を説明するためのフローチャートである。 FIG. 20 is a flowchart for explaining shake correction mode determination timer interrupt processing 3 shown in FIG.

振れ補正モード判定タイマ割込処理3を開始すると、レンズ制御部203はステップS2001およびS2002の処理を行う。ステップS2001およびS2002の処理は、図8に示すS801およびS802と同様の処理である。 When the shake correction mode determination timer interrupt process 3 is started, the lens control unit 203 performs the processes of steps S2001 and S2002. The processing of steps S2001 and S2002 is the same processing as S801 and S802 shown in FIG.

ステップS2001において、所定のサンプル数以上取得済でないと(ステップS2001において、NO)、レンズ制御部203は振れ補正モード判定タイマ割込処理3を終了する。ステップS2002において、予め設定された閾値を超えるサンプルが存在すると(ステップS2002において、YES)、レンズ制御部203は、直近の所定時間分の振れ量データを調べて、一方向への振れ量が全て所定値以上となっている否かを判定する(ステップS2003)。全て所定値以上でないと(ステップS2003において、NO)、レンズ制御部203はレンズユニット200における振れ補正モードを「通常モード」とする(ステップS2004)。つまり、レンズ制御部203は、レンズ駆動部204による振れ補正を「通常モード」とする。 In step S2001, if a predetermined number of samples or more have not been obtained (NO in step S2001), the lens control unit 203 ends shake correction mode determination timer interrupt processing 3. FIG. In step S2002, if there is a sample that exceeds the preset threshold (YES in step S2002), the lens control unit 203 checks shake amount data for the most recent predetermined time period, and checks that all shake amounts in one direction are present. It is determined whether or not it is equal to or greater than a predetermined value (step S2003). If all values are not equal to or greater than the predetermined value (NO in step S2003), the lens control unit 203 sets the shake correction mode in the lens unit 200 to "normal mode" (step S2004). That is, the lens control unit 203 sets the shake correction by the lens driving unit 204 to the “normal mode”.

一方、全て所定値以上であると(ステップS2003において、YES)、レンズ制御部203はレンズユニット200における振れ補正モードを「流し撮りモード」とする(ステップS2005)。つまり、レンズ制御部203は、レンズ駆動部204による振れ補正を「流し撮りモード」とする。 On the other hand, if all are equal to or greater than the predetermined value (YES in step S2003), the lens control unit 203 sets the shake correction mode in the lens unit 200 to the "panning mode" (step S2005). That is, the lens control unit 203 sets the shake correction by the lens driving unit 204 to the "panning mode".

ステップS2002において、予め設定された閾値を超えるサンプルが存在しないと(ステップS2002において、NO)、レンズ制御部203は、レンズユニット200における振れ補正モードを「三脚モード」とする(ステップS2006)。つまり、レンズ制御部203はレンズ駆動部204による振れ補正を「三脚モード」とする。 In step S2002, if there is no sample exceeding the preset threshold (NO in step S2002), the lens control unit 203 sets the shake correction mode in the lens unit 200 to "tripod mode" (step S2006). That is, the lens control unit 203 sets the shake correction by the lens driving unit 204 to the “tripod mode”.

ステップS2004、2005、又は2006の処理の後、レンズ制御部203はシステム制御部120から振れ補正モードの判定結果について送信要求があるか否かを判定する(ステップS2007)。送信要求がある場合には(ステップS2007において、YES)、レンズ制御部203はシステム制御部120に振れ補正モードの判定結果をする(ステップS2008)。そして、レンズ制御部203は振れ補正モード判定タイマ割込処理3を終了する。送信要求がない場合には(ステップS2007において、NO)、レンズ制御部203は振れ補正モード判定タイマ割込処理3を終了する。 After the processing in steps S2004, 2005, or 2006, the lens control unit 203 determines whether or not there is a request from the system control unit 120 to transmit the determination result of the shake correction mode (step S2007). If there is a transmission request (YES in step S2007), the lens control unit 203 notifies the system control unit 120 of the shake correction mode determination result (step S2008). Then, the lens control unit 203 terminates the shake correction mode determination timer interruption process 3 . If there is no transmission request (NO in step S2007), the lens control unit 203 terminates shake correction mode determination timer interrupt processing 3. FIG.

このように、本発明の第4の実施形態では、レンズユニット200における振れ補正モードを優先して、カメラ本体100における振れ補正モードをレンズユニット200における振れ補正モードと一致させる。これによって、振れ補正モードの判定結果を通信可能なレンズユニット200がカメラ本体100に装着された場合には、カメラ本体100とレンズユニット200との振れ補正モードが同一となって、不自然な画像又は映像が生成されることを防ぐことができる。 As described above, in the fourth embodiment of the present invention, the shake correction mode of the lens unit 200 is prioritized, and the shake correction mode of the camera body 100 and the shake correction mode of the lens unit 200 are matched. As a result, when the lens unit 200 capable of communicating the determination result of the shake correction mode is attached to the camera body 100, the shake correction modes of the camera body 100 and the lens unit 200 become the same, resulting in an unnatural image. Or it can prevent the video from being generated.

なお、第4の実施形態では、レンズユニット200における振れ補正モードを優先してカメラ本体100とレンズユニット200との振れ補正モードを一致させるようにしたが、カメラ本体100における振れ補正モードの判定結果を優先するようにしてもよい。 In the fourth embodiment, the camera body 100 and the lens unit 200 are made to match each other by giving priority to the shake correction mode in the lens unit 200. may be given priority.

[第5の実施形態]
続いて、本発明の第5の実施形態によるカメラの一例について説明する。なお、第5の実施形態によるカメラの構成は図15に示すカメラと同様である。また、第5の実施形態におけるカメラ本体処理、レンズユニット処理、振れ補正モード判定タイマ割込処理2、およびジャイロセンサ読み出しタイマ割込処理は、図16、図17、図19、および図7に示す処理と同様である。
[Fifth Embodiment]
Next, an example of a camera according to a fifth embodiment of the invention will be described. The configuration of the camera according to the fifth embodiment is the same as that of the camera shown in FIG. 16, 17, 19, and 7 show camera body processing, lens unit processing, shake correction mode determination timer interrupt processing 2, and gyro sensor readout timer interrupt processing in the fifth embodiment. Similar to processing.

図21は、本発明の第5の実施形態によるカメラにおいてカメラ本体で行われる振れ補正モード判定タイマ割込処理1を説明するためのフローチャートである。 FIG. 21 is a flow chart for explaining shake correction mode determination timer interrupt processing 1 performed in the camera body in the camera according to the fifth embodiment of the present invention.

振れ補正モード判定タイマ割込処理1を開始すると、システム制御部120はステップS2101~S2106の処理を行う。ステップS2101~S2106の処理は、図9に示すS901~S906と同様の処理である。 When the shake correction mode determination timer interrupt process 1 is started, the system control unit 120 performs the processes of steps S2101 to S2106. The processing of steps S2101 to S2106 is the same as that of steps S901 to S906 shown in FIG.

ステップS2015において、判定結果が前回と同一である場合(ステップS2105において、YES)又はステップS2106の処理の後、システム制御部120はステップS2107の処理に進む。 In step S2015, if the determination result is the same as the previous time (YES in step S2105), or after the process of step S2106, system control unit 120 proceeds to the process of step S2107.

ステップS2107においては、システム制御部120は、カメラ本体100における三脚検知の判定結果とレンズユニット200から最後に受信した振れ補正モードの判定結果を参照する。そして、システム制御部120はカメラ本体100における三脚検知の判定結果が「三脚あり」又はレンズユニット200における振れ補正モード判定結果が「三脚モード」であるか否かを判定する。 In step S<b>2107 , the system control unit 120 refers to the determination result of the tripod detection in the camera body 100 and the determination result of the shake correction mode last received from the lens unit 200 . Then, the system control unit 120 determines whether the determination result of the tripod detection in the camera body 100 is "tripod present" or the shake correction mode determination result in the lens unit 200 is "tripod mode".

三脚検知の判定結果が「三脚あり」又は最後に受信した振れ補正モードの判定結果が「三脚モード」でない場合には(ステップS2107において、NO)、システム制御部120はステップS2108の処理に進む。ステップS2108において、システム制御部120は、画像処理部123における振れ補正モードを、レンズユニット200から最後に受信した振れ補正モードの判定結果と同一のモードに設定する。そして、システム制御部120は、振れ補正モード判定タイマ割込処理1を終了する。 If the determination result of tripod detection is “tripod present” or the determination result of the shake correction mode received last is not “tripod mode” (NO in step S2107), system control unit 120 proceeds to the processing of step S2108. In step S<b>2108 , the system control unit 120 sets the shake correction mode in the image processing unit 123 to the same mode as the shake correction mode determination result received last from the lens unit 200 . Then, the system control unit 120 terminates the shake correction mode determination timer interrupt process 1 .

一方、三脚検知の判定結果が「三脚あり」又は振れ補正モードの判定結果が「三脚モード」であると(ステップS2107において、YES)、システム制御部120は画像処理部123における振れ補正モードを「三脚モード」に設定する(ステップS2109)。そして、システム制御部120は、振れ補正モード判定タイマ割込処理1を終了する。 On the other hand, if the determination result of the tripod detection is "tripod present" or the determination result of the shake correction mode is "tripod mode" (YES in step S2107), the system control unit 120 sets the shake correction mode in the image processing unit 123 to " tripod mode” (step S2109). Then, the system control unit 120 terminates the shake correction mode determination timer interrupt process 1 .

図22は、本発明の第5の実施形態によるカメラにおいてレンズユニット行われる振れ補正モード判定タイマ割込処理3を説明するためのフローチャートである。なお、図22に示すステップS2201~2206の処理は、図20に示すステップS2001~2006と同様の処理である。 FIG. 22 is a flowchart for explaining shake correction mode determination timer interrupt processing 3 performed by the lens unit in the camera according to the fifth embodiment of the present invention. 22 are the same as steps S2001 to S2006 shown in FIG.

ステップS2204、S2205、又はS2206の処理の後、レンズ制御部203は、レンズユニット200における振れ補正モードの判定結果が前回カメラ本体100に送信した判定結果と同一であるか否かを判定する(ステップS2207)。判定結果が異なる場合には(ステップS2207において、NO)、レンズ制御部203はレンズユニット200における振れ補正モードの判定結果をシステム制御部120に送信する(ステップS2208)。 After the processing of step S2204, S2205, or S2206, the lens control unit 203 determines whether or not the determination result of the shake correction mode in the lens unit 200 is the same as the determination result previously transmitted to the camera body 100 (step S2207). If the determination result is different (NO in step S2207), the lens control unit 203 transmits the determination result of the shake correction mode in the lens unit 200 to the system control unit 120 (step S2208).

判定結果が同一の場合(ステップS2207において、YES)、レンズ制御部203はカメラ本体100から最後に受信した三脚検知の判定結果が「三脚あり」であるか否かを調べる(ステップS2209)。なお、ステップS2208の処理の後、レンズ制御部203はステップS2209の処理に進む。 If the determination result is the same (YES in step S2207), the lens control unit 203 checks whether or not the last tripod detection determination result received from the camera body 100 is "tripod present" (step S2209). Note that after the process of step S2208, the lens control unit 203 proceeds to the process of step S2209.

「三脚あり」の場合(ステップS2209において、YES)、レンズ制御部203は、レンズ駆動部204における振れ補正モードを「三脚モード」に設定する(ステップS2210)。そして、レンズ制御部203は振れ補正モード判定タイマ割込処理3を終了する。「三脚なし」の場合(ステップS2209において、NO)、レンズ制御部203は振れ補正モード判定タイマ割込処理3を終了する。 If "with tripod" (YES in step S2209), the lens control unit 203 sets the shake correction mode in the lens driving unit 204 to "tripod mode" (step S2210). Then, the lens control unit 203 terminates the shake correction mode determination timer interruption process 3 . In the case of “no tripod” (NO in step S2209), the lens control unit 203 ends shake correction mode determination timer interrupt processing 3. FIG.

このように、本発明の第5の実施形態では、振れ検出部151および振れ検出部205の少なくとも一方において振れ検出量が閾値以下である場合には、カメラ本体100およびレンズユニット200の振れ補正モードを「三脚モード」に設定する。これによって、振れ量が十分に小さいにも拘わらず、振れ検出部151と振れ検出部205のいずれか一方がレンズ駆動による振動の干渉などによって誤って大きな振れ量を検出したとしても「三脚モード」が解除される事態を防ぐことができる。 Thus, in the fifth embodiment of the present invention, when the shake detection amount in at least one of the shake detection unit 151 and the shake detection unit 205 is equal to or less than the threshold value, the shake correction mode of the camera body 100 and the lens unit 200 is set. to “Tripod Mode”. As a result, even if one of the shake detection unit 151 and the shake detection unit 205 erroneously detects a large amount of shake due to interference of vibration caused by driving the lens, even though the amount of shake is sufficiently small, the "tripod mode" is set. can be prevented from being released.

また、第5の実施形態では、システム制御部120およびレンズ制御部203は振れ補正モードの判定結果が前回の判定と異なる場合にのみ、振れ補正モードおよび三脚検知の判定結果を通信する。これによって、システム制御部120およびレンズ制御部203の間における通信の頻度を削減することができる。 Further, in the fifth embodiment, the system control unit 120 and the lens control unit 203 communicate the determination result of the shake correction mode and the tripod detection only when the determination result of the shake correction mode is different from the previous determination. Thereby, the frequency of communication between the system control unit 120 and the lens control unit 203 can be reduced.

なお、第5の実施形態において、「三脚検知」とは、カメラ本体100およびレンズユニット200の振れ量が十分小さい状態であるか否かの判定であって、カメラが三脚に固定されているか否かの判定には限定されない。 In the fifth embodiment, "tripod detection" refers to the determination of whether or not the camera body 100 and the lens unit 200 are in a state where the amount of shake is sufficiently small, and whether or not the camera is fixed to a tripod. It is not limited to the determination of whether

[第6の実施形態]
次に、本発明の第6の実施形態によるカメラの一例について説明する。なお、第6の実施形態によるカメラの構成は図15に示すカメラと同様である。
[Sixth Embodiment]
Next, an example of a camera according to a sixth embodiment of the invention will be described. The configuration of the camera according to the sixth embodiment is the same as that of the camera shown in FIG.

図23は、本発明の第6の実施形態によるカメラにおいてカメラ本体で行われる処理を説明するためのフローチャートである。 FIG. 23 is a flow chart for explaining the processing performed by the camera body in the camera according to the sixth embodiment of the present invention.

なお、図23では、図16に示すステップS1603およびステップS1604に対応するステップS2303およびステップS2306との間でステップS2304およびステップS2305の処理が行われる。そして、図示のステップS2300~S2303およびS2307~S2309の処理は図16に示すステップS1600~S1603およびS1605~S1607と同様の処理である。 23, steps S2304 and S2305 are performed between steps S2303 and S2306 corresponding to steps S1603 and S1604 shown in FIG. The processes of steps S2300 to S2303 and S2307 to S2309 shown in the figure are the same as steps S1600 to S1603 and S1605 to S1607 shown in FIG.

振れ補正モードの判定結果の通信が可能であると(ステップS2303において、YES)、システム制御部120はレンズ制御部203から振れ検出部(ジャイロ)205による検知結果の信頼性に関する情報(信頼性情報)を受信する(ステップS2304)。ここでは、信頼性情報として、例えば、振れ検出部205による検知結果のS/N比に関する情報が用いられる。 If the determination result of the shake correction mode can be communicated (YES in step S2303), the system control unit 120 receives information (reliability information) regarding the reliability of the detection result by the shake detection unit (gyro) 205 from the lens control unit 203. ) is received (step S2304). Here, as the reliability information, for example, information about the S/N ratio of the detection result by the shake detection unit 205 is used.

続いて、システム制御部120は、レンズ制御部203に振れ検出部151による検知結果の信頼性に関する情報(信頼性情報)を送る(ステップS2305)。ここでは、信頼性情報として、例えば、振れ検出部151による検知結果のS/N比に関する情報を送る。そして、システム制御部120は後述する振れ補正モード判定タイマ割込処理1を開始する(ステップS2306)。振れ補正モードの判定結果の通信が可能でないと(ステップS2303において、NO)、システム制御部120は後述する振れ補正モード判定タイマ割込処理2を開始する(ステップS2307)。 Subsequently, the system control unit 120 sends information (reliability information) regarding the reliability of the detection result by the shake detection unit 151 to the lens control unit 203 (step S2305). Here, as the reliability information, for example, information about the S/N ratio of the detection result by the shake detection unit 151 is sent. Then, the system control unit 120 starts shake correction mode determination timer interrupt processing 1, which will be described later (step S2306). If the determination result of the shake correction mode cannot be communicated (NO in step S2303), the system control unit 120 starts shake correction mode determination timer interrupt processing 2 (step S2307).

図24は、本発明の第6の実施形態によるカメラにおいてレンズユニットで行われる処理を説明するためのフローチャートである。なお、図24では、図17に示すステップS7701およびステップS1702に対応するステップS2401およびステップS2404の間においてステップS2402およびS2403の処理が行われる。そして、図示のステップS2401、S2405、およびS2406の処理は、図17に示すステップS1701、S1703、およびS1704と同様の処理である。 FIG. 24 is a flow chart for explaining the processing performed by the lens unit in the camera according to the sixth embodiment of the present invention. 24, steps S2402 and S2403 are performed between steps S2401 and S2404 corresponding to steps S7701 and S1702 shown in FIG. The processing of steps S2401, S2405, and S2406 shown in the figure is the same processing as steps S1701, S1703, and S1704 shown in FIG.

ステップS2401の処理の後、レンズ制御部203は、レンズユニット200に備えられた振れ検出部205の出力データの信頼性に関する情報を、システム制御部120に送信する(ステップS2402)。例えば、振れ検出部205のS/N比に関する情報を送信する。 After the process of step S2401, the lens control unit 203 transmits information regarding the reliability of the output data of the shake detection unit 205 provided in the lens unit 200 to the system control unit 120 (step S2402). For example, information about the S/N ratio of the shake detection unit 205 is transmitted.

続いて、レンズ制御部203は、カメラ本体100に備えられた振れ検出部151の出力データの信頼性に関する情報を、システム制御部120から受信する(ステップS2403)。例えば、振れ検出部151のS/N比に関する情報を受信する。そして、レンズ制御部203は、後述する振れ補正モード判定タイマ割込処理3をスタートする(ステップS2404)。 Subsequently, the lens control unit 203 receives from the system control unit 120 information regarding the reliability of the output data of the shake detection unit 151 provided in the camera body 100 (step S2403). For example, it receives information about the S/N ratio of the shake detection unit 151 . Then, the lens control unit 203 starts shake correction mode determination timer interrupt processing 3, which will be described later (step S2404).

図25は、図23に示す振れ補正モード判定タイマ割込処理1を説明するためのフローチャートである。なお、図示のフローチャートにおいて、ステップS2501の処理は図13に示すステップS1301と同様の処理である。また、ステップS2503およびS2504の処理は図9に示すステップS901およびS902と同様の処理である。 FIG. 25 is a flowchart for explaining shake correction mode determination timer interrupt processing 1 shown in FIG. Note that in the illustrated flowchart, the processing of step S2501 is the same as that of step S1301 shown in FIG. The processing of steps S2503 and S2504 is the same as that of steps S901 and S902 shown in FIG.

ステップS2501において、振れ検出部151の信頼性が振れ検出部205の信頼性より高くないと(ステップS2501において、NO)、システム制御部120はステップS2502の処理に進む。ステップS2502において、システム制御部120は画像処理部123における振れ補正モードを、レンズユニット200から最後に受信した振れ補正モードの判定結果と同一のモードに設定する。そして、システム制御部120は振れ補正モード判定タイマ割込処理1を終了する。 In step S2501, if the reliability of shake detection section 151 is not higher than that of shake detection section 205 (NO in step S2501), system control section 120 proceeds to the process of step S2502. In step S<b>2502 , the system control unit 120 sets the shake correction mode in the image processing unit 123 to the same mode as the shake correction mode determination result received last from the lens unit 200 . Then, the system control unit 120 terminates the shake correction mode determination timer interrupt process 1 .

ステップS2503において、所定のサンプル数以上取得済でないと(ステップS2503において、NO)、システム制御部120は、振れ補正モード判定タイマ割込処理1を終了する。予め設定された閾値を超えるサンプルが存在すると(ステップS2504において、YES)、システム制御部120は、直近の所定時間分の振れ量データを調べて、一方向への振れ量が全て所定値以上となっているか否かを判定する(ステップS2505)。 In step S2503, if a predetermined number of samples or more have not been acquired (NO in step S2503), system control unit 120 terminates shake correction mode determination timer interrupt processing 1. FIG. If there is a sample that exceeds the preset threshold value (YES in step S2504), system control unit 120 checks shake amount data for the most recent predetermined time period, and determines that all shake amounts in one direction are equal to or greater than a predetermined value. It is determined whether or not (step S2505).

全て所定値以上でないと(ステップS2505において、NO)、システム制御部120はカメラ本体100における振れ補正モードの判定結果を「通常モード」とする。そして、システム制御部120は画像処理部123における振れ補正モードを「通常モード」に設定する(ステップS2506)。 If all values are not equal to or greater than the predetermined value (NO in step S2505), the system control unit 120 sets the determination result of the shake correction mode in the camera body 100 to "normal mode". Then, the system control unit 120 sets the shake correction mode in the image processing unit 123 to "normal mode" (step S2506).

全て所定値以上であると(ステップS2505において、YES)、システム制御部120はカメラ本体100における振れ補正モードの判定結果を「流し撮りモード」とする。そして、システム制御部120は画像処理部123における振れ補正モードを「流し撮りモード」に設定する(ステップS2507)。 If all are equal to or greater than the predetermined value (YES in step S2505), the system control unit 120 sets the determination result of the shake correction mode in the camera body 100 to "panning mode". Then, the system control unit 120 sets the shake correction mode in the image processing unit 123 to the "panning mode" (step S2507).

ステップS2504において、予め設定された閾値を超えるサンプルが存在しないと(ステップS2504において、NO)、システム制御部120は、カメラ本体100における振れ補正モードの判定結果を「三脚モード」とする。そして、システム制御部120は画像処理部123における振れ補正モードを「三脚モード」に設定する(ステップS2508)。 In step S2504, if there is no sample exceeding the preset threshold (NO in step S2504), system control unit 120 determines the shake correction mode of camera body 100 as "tripod mode". Then, the system control unit 120 sets the shake correction mode in the image processing unit 123 to the "tripod mode" (step S2508).

ステップS2506、S2507、又はS2508の処理の後、システム制御部120は、カメラ本体100における振れ補正モードの判定結果が前回レンズユニット200に送信した判定結果と同一であるか否かを判定する(ステップS2509)。 After the processing of steps S2506, S2507, or S2508, the system control unit 120 determines whether or not the determination result of the shake correction mode in the camera body 100 is the same as the determination result previously transmitted to the lens unit 200 (step S2509).

判定結果が異なる場合(ステップS2509において、NO)、システム制御部120は、カメラ本体100における振れ補正モードの判定結果をレンズ制御部203に送信する(ステップS2510)。そして、システム制御部120は振れ補正モード判定タイマ割込処理1を終了する。判定結果が同一であると(ステップS2509において、YES)、システム制御部120は振れ補正モード判定タイマ割込処理1を終了する。 If the determination result is different (NO in step S2509), the system control unit 120 transmits the determination result of the shake correction mode in the camera body 100 to the lens control unit 203 (step S2510). Then, the system control unit 120 terminates the shake correction mode determination timer interrupt process 1 . If the determination result is the same (YES to step S2509), system control unit 120 terminates shake correction mode determination timer interrupt process 1. FIG.

図26は、図24に示す振れ補正モード判定タイマ割込処理3を説明するためのフローチャートである。なお、図示のフローチャートにおいて、ステップS2601の処理は図14に示すステップS1401と同様の処理である。また、ステップS2603~S2610の処理は図22に示すステップステップS2201~2208と同様の処理である。S1001およびS1002と同様の処理である。 FIG. 26 is a flowchart for explaining shake correction mode determination timer interrupt processing 3 shown in FIG. Note that in the illustrated flowchart, the processing of step S2601 is the same as that of step S1401 shown in FIG. Also, the processing of steps S2603 to S2610 is the same as that of steps S2201 to S2208 shown in FIG. This is the same processing as S1001 and S1002.

ステップS2601において、振れ検出部151の信頼性が振れ検出部205の信頼性より高いと(ステップS2501において、YES)、レンズ制御部203はステップS2602の処理に進む。ステップS2602において、レンズ制御部203はレンズ駆動部204における振れ補正モードを、カメラ本体100から最後に受信した振れ補正モードの判定結果と同一のモードに設定する。そして、レンズ制御部203は振れ補正モード判定タイマ割込処理3を終了する。 If the reliability of the shake detection unit 151 is higher than that of the shake detection unit 205 in step S2601 (YES in step S2501), the lens control unit 203 proceeds to the process of step S2602. In step S 2602 , the lens control unit 203 sets the shake correction mode in the lens drive unit 204 to the same mode as the determination result of the shake correction mode last received from the camera body 100 . Then, the lens control unit 203 terminates the shake correction mode determination timer interruption process 3 .

なお、ステップS2610の処理の後、レンズ制御部203は振れ補正モード判定タイマ割込処理3を終了する。また、判定結果が同一であると(ステップS2609において、YES)、レンズ制御部203は振れ補正モード判定タイマ割込処理3を終了する。 Note that after the process of step S2610, the lens control unit 203 terminates the shake correction mode determination timer interrupt process 3. FIG. If the determination results are the same (YES in step S2609), the lens control unit 203 terminates shake correction mode determination timer interrupt processing 3. FIG.

このように、本発明の第6の実施形態では、システム制御部120およびレンズ制御部203は、振れ検出部151および振れ検出部205の信頼性に関する情報を送受する。これによって、信頼性が高い振れ検出部の出力を用いて、カメラ本体100およびレンズユニット200の振れ補正モードを判定することができる。 Thus, in the sixth embodiment of the present invention, the system controller 120 and the lens controller 203 transmit and receive information regarding the reliability of the shake detectors 151 and 205 . This makes it possible to determine the shake correction mode of the camera body 100 and the lens unit 200 using the highly reliable output of the shake detection section.

なお、第6の実施形態では、振れ検出部の信頼性に関する情報として、S/N比に関する情報を用いたが、その他の情報を用いるようにしてもよい。例えば、振れ検出部151および振れ検出部205の温度に関する情報を用いるようにしてもよい。 In the sixth embodiment, information on the S/N ratio is used as information on the reliability of the shake detection unit, but other information may be used. For example, information about the temperature of the shake detection unit 151 and the shake detection unit 205 may be used.

[第7の実施形態]
次に、本発明の第7の実施形態によるカメラの一例について説明する。なお、第7の実施形態によるカメラの構成は図15に示すカメラと同様である。なお、第7の実施形態によるカメラにおいてカメラ本体で行われる処理およびレンズユニットで行われる処理は、図23および図24で説明した処理と同様である。また、その他の処理は第4の実施形態で説明した処理と同様である。
[Seventh Embodiment]
Next, an example of a camera according to the seventh embodiment of the invention will be described. The configuration of the camera according to the seventh embodiment is the same as that of the camera shown in FIG. The processing performed by the camera body and the processing performed by the lens unit in the camera according to the seventh embodiment are the same as the processing described with reference to FIGS. 23 and 24. FIG. Other processes are the same as those described in the fourth embodiment.

図27は、本発明の第7の実施形態によるカメラにおいてカメラ本体で行われる振れ補正モード判定タイマ割込処理1を説明するためのフローチャートである。 FIG. 27 is a flow chart for explaining shake correction mode determination timer interrupt processing 1 performed in the camera body in the camera according to the seventh embodiment of the present invention.

振れ補正モード判定タイマ割込処理1を開始すると、システム制御部120は、レンズユニット200における振れ補正モードが、振れ補正モード操作部206によって指定されているか否かを判定する(ステップ2701)。振れ補正モードが指定されている場合には(ステップS2701において、YES)、システム制御部120は、画像処理部123における振れ補正モードを、レンズユニット200から最後に受信した振れ補正モードの判定結果と同一のモードに設定する(ステップS2702)。そして、システム制御部120は振れ補正モード判定タイマ割込処理1を終了する。 When the shake correction mode determination timer interrupt process 1 is started, the system control unit 120 determines whether or not the shake correction mode in the lens unit 200 is specified by the shake correction mode operation unit 206 (step 2701). If the shake correction mode is specified (YES in step S2701), system control unit 120 sets the shake correction mode in image processing unit 123 to the shake correction mode determination result received last from lens unit 200. The same mode is set (step S2702). Then, the system control unit 120 terminates the shake correction mode determination timer interrupt process 1 .

振れ補正モードが指定されていない場合には(ステップS2701において、NO)、レンズ制御部203はステップS2703の処理に進む。なお、図27に示すステップS2703~S2712の処理は、図25に示すステップS2501~2510と同様の処理であるので、ここでは説明を省略する。 If the shake correction mode has not been designated (NO in step S2701), the lens control unit 203 proceeds to the processing of step S2703. Note that the processing of steps S2703 to S2712 shown in FIG. 27 is the same as the processing of steps S2501 to S2510 shown in FIG. 25, so description thereof will be omitted here.

図28は、本発明の第7の実施形態によるカメラにおいてレンズユニットで行われる振れ補正モード判定タイマ割込処理3を説明するためのフローチャートである。 FIG. 28 is a flowchart for explaining shake correction mode determination timer interrupt processing 3 performed in the lens unit in the camera according to the seventh embodiment of the present invention.

振れ補正モード判定タイマ割込処理3を開始すると、レンズ制御部203は、後述する振れ補正部モード操作部入力反映処理を行う(ステップS2801)。その後、レンズ制御部203は、レンズユニット200における振れ補正モードが振れ補正モード操作部206によって指定されているか否かを判定する(ステップS2802)。指定されている場合には(ステップS2802において、YES)、レンズ制御部203は振れ補正モード判定タイマ割込処理3を終了する。 When shake correction mode determination timer interrupt processing 3 is started, the lens control unit 203 performs shake correction unit mode operation unit input reflection processing (step S2801). After that, the lens control unit 203 determines whether or not the shake correction mode in the lens unit 200 has been designated by the shake correction mode operation unit 206 (step S2802). If designated (YES in step S2802), the lens control unit 203 terminates shake correction mode determination timer interrupt processing 3. FIG.

一方、指定されていない場合には(ステップS2802において、NO)、レンズ制御部203はステップS2803の処理に進む。なお、図28に示すステップS2803~S2812の処理は、図26に示すステップS2601~2610と同様の処理であるので、ここでは説明を省略する。 On the other hand, if not specified (NO in step S2802), the lens control unit 203 proceeds to the process of step S2803. Note that the processing of steps S2803 to S2812 shown in FIG. 28 is the same as the processing of steps S2601 to S2610 shown in FIG. 26, so description thereof will be omitted here.

図29は、図28に示す振れ補正部モード操作部入力反映処理を説明するためのフローチャートである。 FIG. 29 is a flowchart for explaining shake correction section mode operation section input reflection processing shown in FIG.

振れ補正モード操作部入力反映処理を開始すると、レンズ制御部203は、振れ補正モード操作部206によって振れ補正オフが指定されているか否かを判定する(ステップS2901)。振れ補正オフが指定されていないと(ステップS2901において、NO)、レンズ制御部203は、振れ補正モード操作部206によって「流し撮りモード」が指定補正モードとして指定されているか否かを判定する(ステップS2902)。 When the shake correction mode operation unit input reflection process is started, the lens control unit 203 determines whether shake correction OFF is specified by the shake correction mode operation unit 206 (step S2901). If shake correction OFF is not designated (NO in step S2901), the lens control unit 203 determines whether or not the "following shot mode" is designated as the designated correction mode by the shake correction mode operation unit 206 ( step S2902).

「流し撮りモード」が指定されていないと(ステップS2902において、NO)、レンズ制御部203は、振れ補正モード操作部206によって「露光中のみ補正モード」が指定されているか否かを判定する(ステップS2903)。「露光中のみ補正モード」が指定されていないと(ステップS2903において、NO)、レンズ制御部203は振れ補正モード操作部206による振れ補正モードの指定はないとして振れ補正モード操作部入力反映処理を終了する。 If the "panning mode" is not specified (NO in step S2902), the lens control unit 203 determines whether or not the "correction mode only during exposure" is specified by the shake correction mode operation unit 206 ( step S2903). If the “correction mode only during exposure” is not specified (NO in step S2903), the lens control unit 203 assumes that the shake correction mode operation unit 206 has not specified a shake correction mode, and performs shake correction mode operation unit input reflection processing. finish.

振れ補正オフが指定されている場合には(ステップS2901において、YES)、レンズ制御部203は、レンズユニット200における振れ補正モードの判定結果を「振れ補正オフモード」とする。そして、レンズ制御部203はレンズ駆動部204における振れ補正モードを「振れ補正オフモード」に設定する(ステップS2904)。 If shake correction OFF is specified (YES in step S2901), the lens control unit 203 sets the determination result of the shake correction mode in the lens unit 200 to "shake correction OFF mode". Then, the lens control unit 203 sets the shake correction mode in the lens driving unit 204 to the "shake correction OFF mode" (step S2904).

「流し撮りモード」が指定されている場合には(ステップS2902において、YES)、レンズ制御部203は、レンズユニット200における振れ補正モードの判定結果を「流し撮りモード」とする。そして、レンズ制御部203はレンズ駆動部204における振れ補正モードを「流し撮りモード」に設定する(ステップS2905)。 If the "following mode" is specified (YES in step S2902), the lens control unit 203 sets the determination result of the shake correction mode in the lens unit 200 to the "following mode". Then, the lens control unit 203 sets the shake correction mode in the lens driving unit 204 to the "panning mode" (step S2905).

「露光中のみ補正モード」が指定されている場合には(ステップS2903において、YES)、レンズ制御部203は、レンズユニット200における振れ補正モードの判定結果を「露光中のみ補正モード」とする。そして、レンズ制御部203はレンズ駆動部204における振れ補正モードを「露光中のみ補正モード」に設定する(ステップS2906)。 If the “correction mode only during exposure” is specified (YES in step S2903), the lens control unit 203 sets the determination result of the blur correction mode in the lens unit 200 to “correction mode only during exposure”. Then, the lens control unit 203 sets the shake correction mode in the lens driving unit 204 to "correction mode only during exposure" (step S2906).

ステップS2904、S2905、又はS2906の処理の後、レンズ制御部203は、レンズユニット200における振れ補正モードの判定結果をシステム制御部120に送信する(ステップS2907)。そして、レンズ制御部203は、振れ補正モード操作部206によって、レンズユニット200における振れ補正モードが指定された旨をシステム制御部120に通知する(ステップS2908)。その後、レンズ制御部203は振れ補正モード操作部入力反映処理を終了する。 After the process of step S2904, S2905, or S2906, the lens control unit 203 transmits the determination result of the blur correction mode in the lens unit 200 to the system control unit 120 (step S2907). Then, the lens control unit 203 notifies the system control unit 120 that the shake correction mode for the lens unit 200 has been designated by the shake correction mode operation unit 206 (step S2908). After that, the lens control unit 203 ends the shake correction mode operation unit input reflection processing.

このように、本発明の第7の実施形態では、レンズユニット200において振れ補正モードが指定されると、当該指定された振れ補正モードを優先して、カメラ本体100とレンズユニット200の振れ補正モード一致させる。これによって、カメラ本体100およびレンズユニット200ともに、ユーザによって指定された振れ補正モードで振れ補正を行うことができる。 Thus, in the seventh embodiment of the present invention, when the shake correction mode is designated in the lens unit 200, the designated shake correction mode is given priority, and the camera body 100 and the lens unit 200 are set to the shake correction mode. match. As a result, both the camera body 100 and the lens unit 200 can perform shake correction in the shake correction mode specified by the user.

また、第7の実施形態では、レンズユニット200が振れ補正モード操作部206を備えるようにしたが、カメラ本体100が振れ補正モード操作部を備えるようにしてもよい。この場合、カメラ本体100で振れ補正モードが指定されると、レンズ制御部203は、カメラ本体100で指定された振れ補正モードを優先して、カメラ本体100とレンズユニット200の振れ補正モードを一致させる。 Further, in the seventh embodiment, the lens unit 200 is provided with the shake correction mode operation section 206, but the camera body 100 may be provided with the shake correction mode operation section. In this case, when the camera body 100 designates the shake correction mode, the lens control unit 203 gives priority to the shake correction mode designated by the camera body 100, and matches the shake correction modes of the camera body 100 and the lens unit 200. Let

上記の7つの実施形態では、カメラ本体の振れ補正として、画像を補正する電子的な振れ補正を行う例について説明したが、例えば、撮像素子を光軸に交差する方向に移動させる光学的な振れ補正を行うようにしてもよい。 In the above seven embodiments, an example of performing electronic shake correction for correcting an image has been described as shake correction of the camera body. You may make it correct|amend.

以上、本発明について実施の形態に基づいて説明したが、本発明は、これらの実施の形態に限定されるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。 Although the present invention has been described above based on the embodiments, the present invention is not limited to these embodiments, and various forms without departing from the scope of the present invention are also included in the present invention. .

例えば、上記の実施の形態の機能を制御方法として、この制御方法をカメラ本体(撮像装置本体)又はレンズユニットに実行させるようにすればよい。また、上述の実施の形態の機能を有するプログラムを制御プログラムとして、当該制御プログラムをカメラ本体又はレンズユニットが備えるコンピュータに実行させるようにしてもよい。なお、制御プログラムは、例えば、コンピュータに読み取り可能な記録媒体に記録される。 For example, the functions of the above embodiments may be used as a control method, and this control method may be executed by the camera body (imaging device body) or lens unit. Alternatively, a program having the functions of the above-described embodiments may be used as a control program, and the control program may be executed by a computer provided in the camera body or the lens unit. Note that the control program is recorded in, for example, a computer-readable recording medium.

[その他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other embodiments]
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus reads and executes the program. It can also be realized by processing to It can also be implemented by a circuit (for example, ASIC) that implements one or more functions.

100 カメラ本体(撮像装置本体)
120 システム制御部
123 画像処理部
151 振れ検出部
200 レンズユニット
203 レンズ制御部
204 レンズ駆動部
205 振れ検出部
100 camera body (imaging device body)
120 system control unit 123 image processing unit 151 shake detection unit 200 lens unit 203 lens control unit 204 lens drive unit 205 shake detection unit

Claims (15)

撮像装置に装着可能なレンズユニットであって、
撮影レンズと、
前記レンズユニットの振れを検出して第1の検出結果を得る第1の検出手段と、
前記第1の検出結果に基づいて前記撮影レンズを駆動制御して像振れ補正を行う第1の像振れ補正手段と、
複数の補正モードの中から、前記第1の像振れ補正手段の補正モードを設定する設定手段と、
前記撮像装置と通信を行う通信手段と、を備え、
前記撮像装置が、第2の振れ検出センサと、前記第2の振れ検出センサの検出結果に基づいて像振れ補正を行う第2の像振れ補正手段と、前記第2の振れ検出センサの検出結果に基づいて前記第2の像振れ補正手段の補正モードを選択する選択手段と、を備える場合、
前記通信手段は、前記撮像装置から、前記選択手段により選択された補正モードを示す情報を受信し、
前記設定手段は、前記第1の検出結果と、前記選択手段により選択された補正モードとに基づいて前記第1の像振れ補正手段の補正モードを設定することを特徴とするレンズユニット。
A lens unit attachable to an imaging device,
a photographic lens and
a first detection means for detecting a shake of the lens unit to obtain a first detection result;
first image blur correction means for performing image blur correction by driving and controlling the photographing lens based on the first detection result;
setting means for setting a correction mode of the first image blur correction means from among a plurality of correction modes;
and a communication means for communicating with the imaging device,
The imaging device includes a second shake detection sensor, second image shake correction means for performing image shake correction based on the detection result of the second shake detection sensor, and the detection result of the second shake detection sensor. and selection means for selecting the correction mode of the second image blur correction means based on
The communication means receives information indicating the correction mode selected by the selection means from the imaging device,
The lens unit, wherein the setting means sets the correction mode of the first image blur correction means based on the first detection result and the correction mode selected by the selection means.
前記設定手段は、前記通信手段により前記選択された補正モードを示す情報を受信した場合には、前記選択された補正モードに基づいて前記第1の像振れ補正手段の補正モードを設定することを特徴とする請求項1に記載のレンズユニット。 When the information indicating the selected correction mode is received by the communication means, the setting means sets the correction mode of the first image blur correction means based on the selected correction mode. 2. The lens unit according to claim 1, characterized in that: 撮像装置に装着可能なレンズユニットであって、
撮影レンズと、
前記レンズユニットの振れを検出して第1の検出結果を得る第1の検出手段と、
前記第1の検出結果に基づいて前記撮影レンズを駆動制御して像振れ補正を行う第1の像振れ補正手段と、
複数の補正モードの中から、前記第1の像振れ補正手段の補正モードを設定する設定手段と、
前記撮像装置と通信を行う通信手段と、を備え、
前記撮像装置が、第2の振れ検出センサと、前記第2の振れ検出センサの検出結果に基づいて像振れ補正を行う第2の像振れ補正手段と、前記第2の振れ検出センサの検出結果に基づいて前記第2の像振れ補正手段の補正モードを選択する選択手段と、を備える場合、
前記設定手段は、前記通信手段を介して前記撮像装置から前記第2の振れ検出センサによる検出結果に関する信頼性を示す第2の信頼性情報を受信し、前記第2の信頼性情報が示す信頼性が前記第1の検出結果に関する信頼性よりも高い場合に、前記選択手段により選択されている補正モードに基づいて前記第1の像振れ補正手段の補正モードを設定することを特徴とするレンズユニット。
A lens unit attachable to an imaging device,
a photographic lens and
a first detection means for detecting a shake of the lens unit to obtain a first detection result;
first image blur correction means for performing image blur correction by driving and controlling the photographing lens based on the first detection result;
setting means for setting a correction mode of the first image blur correction means from among a plurality of correction modes;
and a communication means for communicating with the imaging device,
The imaging device includes a second shake detection sensor, second image shake correction means for performing image shake correction based on the detection result of the second shake detection sensor, and the detection result of the second shake detection sensor. and selection means for selecting the correction mode of the second image blur correction means based on
The setting means receives second reliability information indicating reliability of a detection result by the second shake detection sensor from the imaging device via the communication means, and sets the reliability indicated by the second reliability information. and setting the correction mode of the first image blur correction means based on the correction mode selected by the selection means when the reliability is higher than the reliability of the first detection result. lens unit.
前記設定手段は、前記第2の信頼性情報が示す信頼性が前記第1の検出結果に関する信頼性よりも高い場合に、前記選択手段により前記第2の像振れ補正手段による補正を行うモードが選択されていることを示していると、前記第1の像振れ補正手段による補正を行うモードを前記第1の像振れ補正手段の補正モードとして設定することを特徴とする請求項3に記載のレンズユニット。 When the reliability indicated by the second reliability information is higher than the reliability of the first detection result, the setting means selects a mode for performing correction by the second image blur correction means by the selection means. 4. A mode according to claim 3, wherein when it indicates that it is selected, the mode for performing correction by said first image blur correction means is set as the correction mode of said first image blur correction means. lens unit. 前記第1の検出結果に関する信頼性が前記第2の信頼性情報が示す信頼性よりも高い場合、前記設定手段は、前記第1の検出結果に基づく補正モードの選択を行うことを特徴とする請求項3又は4に記載のレンズユニット。 When the reliability of the first detection result is higher than the reliability indicated by the second reliability information, the setting means selects a correction mode based on the first detection result. The lens unit according to claim 3 or 4. 前記第1の検出結果に関する信頼性が前記第2の信頼性情報が示す信頼性よりも高い場合、前記通信手段により、前記第1の検出結果に基づいて選択された補正モードを示す情報を前記撮像装置に送信することを特徴とする請求項5に記載のレンズユニット。 When the reliability of the first detection result is higher than the reliability indicated by the second reliability information, the communication means transmits information indicating the correction mode selected based on the first detection result. 6. The lens unit according to claim 5, which transmits to an imaging device. 前記設定手段は、前記第1の検出結果に基づく補正モードの選択を所定の時間毎に行い、選択した補正モードを前記第1の像振れ補正手段の補正モードとして設定することが可能であることを特徴とする請求項1乃至6のいずれか1項に記載のレンズユニット。 The setting means is capable of selecting a correction mode based on the first detection result at predetermined time intervals and setting the selected correction mode as the correction mode of the first image blur correction means. 7. The lens unit according to any one of claims 1 to 6, characterized by: 前記通信手段は、前記設定手段による今回の選択結果が、前回の選択結果と異なる場合に前記今回の選択結果を前記撮像装置へ送信することを特徴とする請求項7に記載のレンズユニット。 8. The lens unit according to claim 7, wherein the communication means transmits the current selection result to the imaging device when the current selection result by the setting means is different from the previous selection result. 前記通信手段は、前記撮像装置に前記レンズユニットの種別を示す情報を送信した後で、前記第1の像振れ補正手段の補正モードを示す情報を前記撮像装置に送信することを特徴とする請求項1乃至8のいずれか1項に記載のレンズユニット。 wherein said communication means transmits information indicating a correction mode of said first image blur correction means to said imaging apparatus after transmitting information indicating a type of said lens unit to said imaging apparatus; Item 9. The lens unit according to any one of Items 1 to 8. 前記複数の補正モードは、前記第1の検出結果に基づく像振れ補正を実行する補正モードと、前記第1の検出結果に基づく像振れ補正を停止する補正モードと、を少なくとも含み、
前記設定手段は、前記第1の検出結果に基づいて前記補正モードを選択する場合、前記第1の検出結果が所定の閾値を超えると、前記第1の像振れ補正手段による補正を実行する補正モードを選択することを特徴とする請求項2乃至9のいずれか1項に記載のレンズユニット。
The plurality of correction modes include at least a correction mode for performing image blur correction based on the first detection result and a correction mode for stopping image blur correction based on the first detection result;
When the correction mode is selected based on the first detection result, the setting means performs correction by the first image blur correction means when the first detection result exceeds a predetermined threshold. 10. The lens unit according to any one of claims 2 to 9, wherein a mode is selected.
前記複数の補正モードのうちの1つを指定補正モードとしてユーザが指定可能な指定手段が備えられ、
前記指定手段によって前記指定補正モードが指定されると、前記通信手段は前記撮像装置へ前記指定補正モードを示す情報を送ることを特徴とする請求項1乃至10のいずれか1項に記載のレンズユニット。
a designation means for allowing a user to designate one of the plurality of correction modes as a designated correction mode;
11. The lens according to any one of claims 1 to 10, wherein when the specified correction mode is specified by the specifying means, the communication means sends information indicating the specified correction mode to the imaging device. unit.
撮影レンズを備える、撮像装置に装着可能なレンズユニットの制御方法であって、
前記レンズユニットの振れを検出して第1の検出結果を得る第1の検出ステップと、 前記第1の検出結果に基づいて前記撮影レンズを駆動制御して像振れ補正を行う第1の像振れ補正ステップと、
複数の補正モードの中から、前記第1の像振れ補正ステップの補正モードを設定する設定ステップと、
前記撮像装置と通信を行う通信ステップと、を備え、
前記撮像装置が、第2の振れ検出センサと、前記第2の振れ検出センサの検出結果に基づいて像振れ補正を行う第2の像振れ補正手段と、前記第2の振れ検出センサの検出結果に基づいて前記第2の像振れ補正手段の補正モードを選択する選択手段と、を備える場合、
前記通信ステップでは、前記撮像装置から、前記選択手段により選択された補正モードを示す情報を受信し、
前記設定ステップでは、前記第1の検出結果と、前記選択手段により選択された補正モードとに基づいて前記第1の像振れ補正ステップの補正モードを設定することを特徴とする制御方法。
A control method for a lens unit that can be attached to an imaging device and that includes a photographic lens,
a first detection step of detecting vibration of the lens unit to obtain a first detection result; and a first image blur correction step of driving and controlling the photographing lens based on the first detection result to correct image blur. a correction step;
a setting step of setting a correction mode for the first image blur correction step from among a plurality of correction modes;
and a communication step of communicating with the imaging device,
The imaging device includes a second shake detection sensor, second image shake correction means for performing image shake correction based on the detection result of the second shake detection sensor, and the detection result of the second shake detection sensor. and selection means for selecting the correction mode of the second image blur correction means based on
In the communicating step, information indicating the correction mode selected by the selection means is received from the imaging device;
The control method, wherein, in the setting step, a correction mode for the first image blur correction step is set based on the first detection result and the correction mode selected by the selection means.
撮影レンズを備える、撮像装置に装着可能なレンズユニットの制御方法であって、
前記レンズユニットの振れを検出して第1の検出結果を得る第1の検出ステップと、 前記第1の検出結果に基づいて前記撮影レンズを駆動制御して像振れ補正を行う第1の像振れ補正ステップと、
複数の補正モードの中から、前記第1の像振れ補正ステップの補正モードを設定する設定ステップと、
前記撮像装置と通信を行う通信ステップと、を備え、
前記撮像装置が、第2の振れ検出センサと、前記第2の振れ検出センサの検出結果に基づいて像振れ補正を行う第2の像振れ補正手段と、前記第2の振れ検出センサの検出結果に基づいて前記第2の像振れ補正手段の補正モードを選択する選択手段と、を備え、前記通信ステップにおいて前記撮像装置から前記第2の振れ検出センサによる検出結果に関する信頼性を示す第2の信頼性情報を受信し、前記第2の信頼性情報が示す信頼性が前記第1の検出結果に関する信頼性よりも高い場合、前記設定ステップでは、前記選択手段により選択されている補正モードに基づいて前記第1の像振れ補正ステップの補正モード設定することを特徴とする制御方法。
A control method for a lens unit that can be attached to an imaging device and that includes a photographic lens,
a first detection step of detecting vibration of the lens unit to obtain a first detection result; and a first image blur correction step of driving and controlling the photographing lens based on the first detection result to correct image blur. a correction step;
a setting step of setting a correction mode for the first image blur correction step from among a plurality of correction modes;
and a communication step of communicating with the imaging device,
The imaging device includes a second shake detection sensor, second image shake correction means for performing image shake correction based on the detection result of the second shake detection sensor, and the detection result of the second shake detection sensor. and a selection means for selecting a correction mode of the second image blur correction means based on the second selection means indicating the reliability of the detection result by the second shake detection sensor from the imaging device in the communication step. Reliability information is received, and if the reliability indicated by the second reliability information is higher than the reliability of the first detection result, in the setting step, the correction mode selected by the selection means is selected. and setting the correction mode of the first image blur correction step based on the above.
撮影レンズを備える、撮像装置に装着可能なレンズユニットに適用される制御プログラムであって、前記レンズユニットが備えるコンピュータに、
前記レンズユニットの振れを検出して第1の検出結果を得る第1の検出ステップと、 前記第1の検出結果に基づいて前記撮影レンズを駆動制御して像振れ補正を行う第1の像振れ補正ステップと、
複数の補正モードの中から、前記第1の像振れ補正ステップの補正モードを設定する設定ステップと、
前記撮像装置と通信を行う通信ステップと、を実行させ、
前記撮像装置が、第2の振れ検出センサと、前記第2の振れ検出センサの検出結果に基づいて像振れ補正を行う第2の像振れ補正手段と、前記第2の振れ検出センサの検出結果に基づいて前記第2の像振れ補正手段の補正モードを選択する選択手段と、を備える場合、
前記通信ステップでは、前記撮像装置から、前記選択手段により選択された補正モードを示す情報を受信し、
前記設定ステップでは、前記第1の検出結果と、前記選択手段により選択された補正モードとに基づいて前記第1の像振れ補正ステップの補正モードを設定することを特徴とする制御プログラム。
A control program that is applied to a lens unit that includes a photographing lens and that can be attached to an imaging device, wherein a computer included in the lens unit includes:
a first detection step of detecting vibration of the lens unit to obtain a first detection result; and a first image blur correction step of driving and controlling the photographing lens based on the first detection result to correct image blur. a correction step;
a setting step of setting a correction mode for the first image blur correction step from among a plurality of correction modes;
a communication step of communicating with the imaging device;
The imaging device includes a second shake detection sensor, second image shake correction means for performing image shake correction based on the detection result of the second shake detection sensor, and the detection result of the second shake detection sensor. and selection means for selecting the correction mode of the second image blur correction means based on
In the communicating step, information indicating the correction mode selected by the selection means is received from the imaging device;
The control program, wherein in the setting step, the correction mode of the first image blur correction step is set based on the first detection result and the correction mode selected by the selection means.
撮影レンズを備える、撮像装置に装着可能なレンズユニットに適用される制御プログラムであって、前記レンズユニットが備えるコンピュータに、
前記レンズユニットの振れを検出して第1の検出結果を得る第1の検出ステップと、 前記第1の検出結果に基づいて前記撮影レンズを駆動制御して像振れ補正を行う第1の像振れ補正ステップと、
複数の補正モードの中から、前記第1の像振れ補正ステップの補正モードを設定する設定ステップと、
前記撮像装置と通信を行う通信ステップと、を実行させ、
前記撮像装置が、第2の振れ検出センサと、前記第2の振れ検出センサの検出結果に基づいて像振れ補正を行う第2の像振れ補正手段と、前記第2の振れ検出センサの検出結果に基づいて前記第2の像振れ補正手段の補正モードを選択する選択手段と、を備え、前記通信ステップにおいて前記撮像装置から前記第2の振れ検出センサによる検出結果に関する信頼性を示す第2の信頼性情報を受信し、前記第2の信頼性情報が示す信頼性が前記第1の検出結果に関する信頼性よりも高い場合、前記設定ステップでは、前記選択手段により選択されている補正モードに基づいて前記第1の像振れ補正ステップの補正モード設定することを特徴とする制御プログラム。
A control program that is applied to a lens unit that includes a photographing lens and that can be attached to an imaging device, wherein a computer included in the lens unit includes:
a first detection step of detecting vibration of the lens unit to obtain a first detection result; and a first image blur correction step of driving and controlling the photographing lens based on the first detection result to correct image blur. a correction step;
a setting step of setting a correction mode for the first image blur correction step from among a plurality of correction modes;
a communication step of communicating with the imaging device;
The imaging device includes a second shake detection sensor, second image shake correction means for performing image shake correction based on the detection result of the second shake detection sensor, and the detection result of the second shake detection sensor. and a selection means for selecting a correction mode of the second image blur correction means based on the second selection means indicating the reliability of the detection result by the second shake detection sensor from the imaging device in the communication step. Reliability information is received, and if the reliability indicated by the second reliability information is higher than the reliability of the first detection result, in the setting step, the correction mode selected by the selection means is selected. a control program for setting the correction mode of the first image blur correction step based on the above.
JP2022065202A 2017-04-13 2022-04-11 LENS UNIT, CONTROL METHOD AND CONTROL PROGRAM THEREOF Active JP7259115B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022065202A JP7259115B2 (en) 2017-04-13 2022-04-11 LENS UNIT, CONTROL METHOD AND CONTROL PROGRAM THEREOF

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017079687A JP7080588B2 (en) 2017-04-13 2017-04-13 Image pickup device and lens unit, and their control method and control program.
JP2022065202A JP7259115B2 (en) 2017-04-13 2022-04-11 LENS UNIT, CONTROL METHOD AND CONTROL PROGRAM THEREOF

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017079687A Division JP7080588B2 (en) 2017-04-13 2017-04-13 Image pickup device and lens unit, and their control method and control program.

Publications (2)

Publication Number Publication Date
JP2022095861A JP2022095861A (en) 2022-06-28
JP7259115B2 true JP7259115B2 (en) 2023-04-17

Family

ID=87884924

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022065202A Active JP7259115B2 (en) 2017-04-13 2022-04-11 LENS UNIT, CONTROL METHOD AND CONTROL PROGRAM THEREOF

Country Status (1)

Country Link
JP (1) JP7259115B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006126668A (en) 2004-10-29 2006-05-18 Canon Inc Camera system
JP2011209451A (en) 2010-03-29 2011-10-20 Nikon Corp Camera system, interchangeable lens and camera body
JP2014209705A (en) 2013-03-26 2014-11-06 パナソニック株式会社 Imaging device, camera body, and method for controlling imaging device
JP2015141391A (en) 2014-01-30 2015-08-03 オリンパス株式会社 camera system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10319463A (en) * 1997-05-21 1998-12-04 Canon Inc Optical equipment and camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006126668A (en) 2004-10-29 2006-05-18 Canon Inc Camera system
JP2011209451A (en) 2010-03-29 2011-10-20 Nikon Corp Camera system, interchangeable lens and camera body
JP2014209705A (en) 2013-03-26 2014-11-06 パナソニック株式会社 Imaging device, camera body, and method for controlling imaging device
JP2015141391A (en) 2014-01-30 2015-08-03 オリンパス株式会社 camera system

Also Published As

Publication number Publication date
JP2022095861A (en) 2022-06-28

Similar Documents

Publication Publication Date Title
JP6405243B2 (en) Focus detection apparatus and control method thereof
US8525921B2 (en) Image capturing apparatus and control method therefor
JP2007282188A (en) Subject tracking device, subject tracking method, subject tracking program, and optical device
US20180176454A1 (en) Focus adjustment apparatus, imaging apparatus, focus adjustment method, and recording medium storing a focus adjustment program thereon
CN102761691B (en) Picture pick-up device and control method thereof
US9602716B2 (en) Focus-detection device, method for controlling the same, and image capture apparatus
US11350036B2 (en) Image pickup apparatus and lens device that have image blur correction function
JP2000196953A (en) Camera system
JP5709629B2 (en) Imaging apparatus and control method
JP2005045552A (en) Imaging apparatus and method
JP2021056532A (en) Imaging device and control method therefor
JP7259115B2 (en) LENS UNIT, CONTROL METHOD AND CONTROL PROGRAM THEREOF
JP5548490B2 (en) Imaging device
JP7080588B2 (en) Image pickup device and lens unit, and their control method and control program.
JP2014203050A (en) Image capturing device and control method therefor
JP2014006477A (en) Imaging apparatus, lens device and method for controlling imaging apparatus
JP2016099416A (en) Imaging device
JP5062095B2 (en) Imaging device
JP6597233B2 (en) TRACKING DEVICE AND IMAGING DEVICE
JP6942535B2 (en) Imaging device and its control method, lens device and its control method, imaging system
JP2008187332A (en) Image tracking device and imaging device
JP2017021177A (en) Range-finding point upon lens vignetting, range-finding area transition method
JP5911530B2 (en) Imaging device
JP6222170B2 (en) Imaging device
JP4200678B2 (en) Camera with focus adjustment device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220509

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220523

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230405

R151 Written notification of patent or utility model registration

Ref document number: 7259115

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151