JP2018013602A - Image shake correction device, lens device, imaging device, and imaging system - Google Patents

Image shake correction device, lens device, imaging device, and imaging system Download PDF

Info

Publication number
JP2018013602A
JP2018013602A JP2016142907A JP2016142907A JP2018013602A JP 2018013602 A JP2018013602 A JP 2018013602A JP 2016142907 A JP2016142907 A JP 2016142907A JP 2016142907 A JP2016142907 A JP 2016142907A JP 2018013602 A JP2018013602 A JP 2018013602A
Authority
JP
Japan
Prior art keywords
angular velocity
exposure
reference angular
lens
image blur
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2016142907A
Other languages
Japanese (ja)
Inventor
今田 信司
Shinji Imada
今田  信司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2016142907A priority Critical patent/JP2018013602A/en
Publication of JP2018013602A publication Critical patent/JP2018013602A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image shake correction device that can accurately correct an error in panning.SOLUTION: An image shake correction device comprises: correction means (132) that performs image shake correction; calculation means (124a) that calculates a reference angular velocity during exposure used for a panning shot; and control means (124b) that controls the correction means to perform the panning shot on the basis of the difference between the reference angular velocity during exposure and an angular velocity from an angular velocity sensor. The calculation means calculates the reference angular velocity during exposure according to a reference angular velocity before the start of exposure calculated on the basis of a motion vector and the angular velocity from the angular velocity sensor.SELECTED DRAWING: Figure 1

Description

本発明は、手振れを検出して補正することにより流し撮り撮影を容易に実現可能な撮像装置に関する。   The present invention relates to an imaging apparatus capable of easily realizing panning shots by detecting and correcting camera shake.

カメラに生じる手振れなどの影響により発生する像ブレを補正するには、カメラの振動を検出し、この検出結果に応じて補正レンズや撮像素子を動かすことにより光軸を変化させる。特許文献1には、このような検出情報に基づいて撮影光軸を偏心させる補正光学系を駆動させると共に、補正光学系の位置を検出してフィードバック制御を行うことにより、像ブレを抑制することが可能な防振装置が開示されている。   In order to correct image blur caused by camera shake or the like generated in the camera, camera vibration is detected, and the optical axis is changed by moving the correction lens or the image sensor in accordance with the detection result. In Patent Document 1, the correction optical system that decenters the photographing optical axis is driven based on such detection information, and the position of the correction optical system is detected and feedback control is performed to suppress image blurring. An anti-vibration device is disclosed.

一方、カメラでの撮影方法の一つに流し撮りがある。しかし、流し撮りは、被写体の動きに正確にカメラを追従させるには経験が必要であり、シャッタ速度も遅くなるため、振れが生じやすく、初心者にとっては難しい。そこで特許文献2には、補正光学系を用いて流し撮りを補助する方法が開示されている。具体的には、主被写体の撮像面上の移動速度を検出し、検出した移動速度と撮影者が行う流し撮り角速度との差から、最適な流し撮りを行うための流し撮り基準角速度を算出する。露光中において、算出した流し撮り基準角速度と撮影者が行う流し撮り速度との差、すなわち流し撮り速度誤差(流し撮り誤差)を検出する。その誤差を補正するように光学偏心させることで、撮影者はきれいな流し撮り写真を撮影することができる。   On the other hand, there is a panning shot as one of the shooting methods using a camera. However, panning requires experience to make the camera follow the movement of the subject accurately, and the shutter speed also slows down, so that shake tends to occur and is difficult for beginners. Therefore, Patent Document 2 discloses a method for assisting panning using a correction optical system. Specifically, the moving speed of the main subject on the imaging surface is detected, and the panning reference angular speed for optimal panning is calculated from the difference between the detected moving speed and the panning angular speed performed by the photographer. . During the exposure, a difference between the calculated panning reference angular velocity and the panning speed performed by the photographer, that is, a panning speed error (panning error) is detected. By decentering the optical system so as to correct the error, the photographer can take a beautiful panning shot.

特開平7−218967号公報JP-A-7-218967 特開2007−139952号公報JP 2007-139552 A

ところで、特許文献2に開示されている方法では、撮影者が狙っている主被写体の流し撮り基準角速度が、算出した時点と露光中との間で同じ角速度であることが補正精度を確保する前提条件となっている。しかし、例えば撮影者の前方斜めから正面に移動してくる被写体の場合、主被写体の移動速度は等速であっても、最適な流し撮りを行うための流し撮り基準角速度は等角速度とはならない。この場合、流し撮り基準角速度が、算出した時点と露光中との間で互いに異なるため、流し撮り誤差を高精度に補正することが難しい。   By the way, in the method disclosed in Patent Document 2, it is assumed that correction accuracy is ensured that the panning reference angular velocity of the main subject targeted by the photographer is the same angular velocity between the time of calculation and during exposure. It is a condition. However, for example, in the case of a subject moving from the front obliquely to the front of the photographer, even if the moving speed of the main subject is constant, the panning reference angular velocity for performing the optimum panning is not equal. . In this case, since the panning reference angular velocity is different between the calculated time point and during exposure, it is difficult to correct the panning error with high accuracy.

そこで本発明は、流し撮り誤差を高精度に補正することが可能な像ブレ補正装置、レンズ装置、撮像装置、および、撮像システムを提供する。   Therefore, the present invention provides an image blur correction device, a lens device, an imaging device, and an imaging system that can correct a panning error with high accuracy.

本発明の一側面としての像ブレ補正装置は、像ブレ補正を行う補正手段と、流し撮り撮影に用いられる露光中の基準角速度を算出する算出手段と、前記露光中の基準角速度と角速度センサからの角速度との差に基づいて前記流し撮り撮影を行うように前記補正手段を制御する制御手段とを有し、前記算出手段は、動きベクトルと前記角速度センサからの前記角速度とに基づいて算出された露光開始前の基準角速度に応じて、前記露光中の基準角速度を算出する。   An image blur correction apparatus according to one aspect of the present invention includes: a correction unit that performs image blur correction; a calculation unit that calculates a reference angular velocity during exposure used for panning shooting; and the reference angular velocity and angular velocity sensor during exposure. Control means for controlling the correction means so as to perform the panning shot based on the difference between the angular velocity and the angular velocity, and the calculating means is calculated based on a motion vector and the angular velocity from the angular velocity sensor. The reference angular velocity during the exposure is calculated according to the reference angular velocity before the start of exposure.

本発明の他の側面としてのレンズ装置は、角速度を検出する角速度センサと、前記像ブレ補正装置とを有する。   A lens device according to another aspect of the present invention includes an angular velocity sensor that detects an angular velocity and the image blur correction device.

本発明の他の側面としてのレンズ装置は、撮像装置に着脱可能なレンズ装置であって、角速度を検出する角速度センサと、前記角速度と動きベクトルとに基づいて像ブレ補正を行う補正手段と、露光中の基準角速度と前記角速度との差に基づいて流し撮り撮影を行うように前記補正手段を制御する制御手段と、前記撮像装置と通信する通信手段とを有し、前記通信手段は、前記角速度を前記撮像装置へ送信し、前記露光中の基準角速度を前記撮像装置から受信し、前記露光中の基準角速度は、前記動きベクトルと前記角速度とに基づいて算出された露光開始前の基準角速度に応じて算出される。   A lens apparatus according to another aspect of the present invention is a lens apparatus that can be attached to and detached from an imaging apparatus, an angular velocity sensor that detects an angular velocity, a correction unit that performs image blur correction based on the angular velocity and a motion vector, Control means for controlling the correction means so as to perform panning shooting based on the difference between the reference angular velocity during exposure and the angular velocity, and communication means for communicating with the imaging device, the communication means, An angular velocity is transmitted to the imaging device, a reference angular velocity during exposure is received from the imaging device, and the reference angular velocity during exposure is calculated based on the motion vector and the angular velocity before the start of exposure. Is calculated according to

本発明の他の側面としての撮像装置は、レンズ装置が着脱可能な撮像装置であって、動きベクトルを検出する動きベクトル検出手段と、流し撮り撮影に用いられる露光中の基準角速度を算出する算出手段と、前記レンズ装置と通信する通信手段とを有し、前記通信手段は、角速度センサからの角速度を前記レンズ装置から受信し、前記算出手段は、前記動きベクトルと前記角速度とに基づいて算出された露光開始前の基準角速度に応じて、前記露光中の基準角速度を算出し、前記通信手段は、前記露光中の基準角速度を前記レンズ装置へ送信する。   An imaging apparatus according to another aspect of the present invention is an imaging apparatus in which a lens apparatus is detachable, and includes a motion vector detection unit that detects a motion vector, and a calculation that calculates a reference angular velocity during exposure used for panning shooting. And a communication means for communicating with the lens device, wherein the communication means receives an angular velocity from an angular velocity sensor from the lens device, and the calculating means calculates based on the motion vector and the angular velocity. The reference angular velocity during the exposure is calculated according to the reference angular velocity before the start of exposure, and the communication means transmits the reference angular velocity during the exposure to the lens device.

本発明の他の側面としての撮像システムは、角速度を検出する角速度センサと、動きベクトルを検出する動きベクトル検出手段と、前記像ブレ補正手段とを有する。   An imaging system according to another aspect of the present invention includes an angular velocity sensor that detects an angular velocity, a motion vector detection unit that detects a motion vector, and the image blur correction unit.

本発明の他の目的及び特徴は、以下の実施形態において説明される。   Other objects and features of the invention are described in the following embodiments.

本発明によれば、流し撮り誤差を高精度に補正することが可能な像ブレ補正装置、レンズ装置、撮像装置、および、撮像システムを提供することができる。   According to the present invention, it is possible to provide an image blur correction device, a lens device, an imaging device, and an imaging system that can correct a panning error with high accuracy.

各実施形態におけるカメラシステムのブロック図である。It is a block diagram of the camera system in each embodiment. 各実施形態における流し撮り撮影の説明図である。It is explanatory drawing of panning photographing in each embodiment. 各実施形態における流し撮り撮影の信号波形図である。It is a signal waveform diagram of panning shooting in each embodiment. 各実施形態における流し撮り撮影の説明図である。It is explanatory drawing of panning photographing in each embodiment. 各実施形態における流し撮り撮影の信号波形図である。It is a signal waveform diagram of panning shooting in each embodiment. 各実施形態におけるカメラ本体の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the camera main body in each embodiment. 各実施形態における交換レンズの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the interchangeable lens in each embodiment. 各実施形態におけるシリアル通信割り込み時の交換レンズの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the interchangeable lens at the time of serial communication interruption in each embodiment. 第1の実施形態における像ブレ補正の動作を示すフローチャートである。6 is a flowchart illustrating an image blur correction operation according to the first embodiment. 第2の実施形態における像ブレ補正の動作を示すフローチャートである。12 is a flowchart illustrating an image blur correction operation according to the second embodiment. 第3の実施形態における像ブレ補正の動作を示すフローチャートである。12 is a flowchart illustrating an image blur correction operation according to the third embodiment.

以下、本発明の実施形態について、図面を参照しながら詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

〔第1の実施形態〕
まず、図1を参照して、本発明の第1の実施形態におけるカメラシステム(撮像システム)の構成について説明する。図1は、本実施形態におけるカメラシステム100のブロック図である。カメラシステム100は、カメラ本体111(撮像装置)と、カメラ本体111に着脱可能な交換レンズ112(レンズ装置)とを備えて構成される。ただし本実施形態は、これに限定されるものではなく、撮像装置本体とレンズ装置とが一体的に構成された撮像装置にも適用可能である。
[First Embodiment]
First, the configuration of a camera system (imaging system) in the first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram of a camera system 100 in the present embodiment. The camera system 100 includes a camera body 111 (imaging device) and an interchangeable lens 112 (lens device) that can be attached to and detached from the camera body 111. However, the present embodiment is not limited to this, and can also be applied to an imaging apparatus in which an imaging apparatus main body and a lens apparatus are integrally configured.

被写体からの撮影光束は、交換レンズ112の撮像光学系を介して、撮像部113に結像する。その結像画像は、撮像部113により光電変換され、撮像信号となる。撮像信号は、ゲインコントロール回路(GC)115により増幅され、A/D変換器116に入力され、アナログ画像データからデジタル画像データへ変換される。映像信号処理回路117は、A/D変換器116によりデジタル化された画像データに、フィルタ処理、色変換処理、および、ガンマ処理などの各種信号処理を行う。また映像信号処理回路117は、被写体像の動きベクトルを検出(算出)する動きベクトル検出手段である。映像信号処理回路117により信号処理された画像信号は、バッファメモリ118に格納されて、LCD119(表示部)に表示され、または、着脱可能なメモリカード120(記録部)に記録される。   The imaging light flux from the subject forms an image on the imaging unit 113 via the imaging optical system of the interchangeable lens 112. The formed image is photoelectrically converted by the imaging unit 113 to become an imaging signal. The imaging signal is amplified by a gain control circuit (GC) 115, input to an A / D converter 116, and converted from analog image data to digital image data. The video signal processing circuit 117 performs various signal processing such as filter processing, color conversion processing, and gamma processing on the image data digitized by the A / D converter 116. The video signal processing circuit 117 is a motion vector detection unit that detects (calculates) a motion vector of the subject image. The image signal signal-processed by the video signal processing circuit 117 is stored in the buffer memory 118 and displayed on the LCD 119 (display unit) or recorded on the removable memory card 120 (recording unit).

操作部121は、カメラ本体111の撮影モードの設定や、記録画像ファイルサイズの設定や、撮影時のレリーズを行うためのスイッチ類である。カメラMPU114は、カメラ本体111の各動作を制御すると共に、カメラ本体111のインターフェース回路(IF)122および交換レンズ112のインターフェース回路(IF)123を介して、レンズMPU124と相互に通信する。インターフェース回路122、123はそれぞれ、カメラ本体111と交換レンズ112との間で通信を行う通信手段である。この通信では、カメラ本体111と交換レンズ112との間で様々なデータのやり取りが行われる。   The operation unit 121 is a switch for setting the shooting mode of the camera body 111, setting the recording image file size, and releasing at the time of shooting. The camera MPU 114 controls each operation of the camera body 111 and communicates with the lens MPU 124 via the interface circuit (IF) 122 of the camera body 111 and the interface circuit (IF) 123 of the interchangeable lens 112. The interface circuits 122 and 123 are communication means for performing communication between the camera body 111 and the interchangeable lens 112, respectively. In this communication, various data are exchanged between the camera body 111 and the interchangeable lens 112.

交換レンズ112には、撮像光学系の一部として、フォーカスレンズ125、ズームレンズ126、像ブレ補正レンズ127、および、絞り128が設けられている。フォーカスレンズ125は、レンズMPU124からの制御信号に従い、フォーカス制御回路129およびフォーカスレンズ駆動モータ130を介して、光軸OAに沿った方向(光軸方向)に駆動される。フォーカス制御回路129には、フォーカスレンズ駆動回路に加えて、フォーカスレンズ125の移動に応じたゾーンパターン信号やパルス信号を出力するフォーカスエンコーダなどが含まれている。被写体距離は、フォーカスエンコーダにより検出される。   The interchangeable lens 112 is provided with a focus lens 125, a zoom lens 126, an image blur correction lens 127, and a diaphragm 128 as a part of the imaging optical system. The focus lens 125 is driven in a direction (optical axis direction) along the optical axis OA via the focus control circuit 129 and the focus lens drive motor 130 in accordance with a control signal from the lens MPU 124. In addition to the focus lens drive circuit, the focus control circuit 129 includes a focus encoder that outputs a zone pattern signal and a pulse signal according to the movement of the focus lens 125. The subject distance is detected by a focus encoder.

ズームレンズ126は、撮影者が不図示のズーム操作環を操作することにより、光軸方向に移動する。ズームエンコーダ131は、ズームレンズ126の移動に応じたゾーンパターン信号を出力する。撮影像倍率は、レンズMPU124がフォーカスエンコーダとズームエンコーダ131からの信号を読み取り、被写体距離と焦点距離との組み合わせにより予め記憶されている撮影像倍率データを読み出すことにより得られる。   The zoom lens 126 moves in the optical axis direction when the photographer operates a zoom operation ring (not shown). The zoom encoder 131 outputs a zone pattern signal corresponding to the movement of the zoom lens 126. The photographic image magnification is obtained by the lens MPU 124 reading signals from the focus encoder and zoom encoder 131 and reading out pre-stored photographic image magnification data based on a combination of the subject distance and the focal length.

像ブレ補正レンズ127は、像ブレ補正制御回路132(IS制御回路)、および、リニアモータ133を介して、光軸OAと直交する方向(光軸直交方向)に駆動される。像ブレ補正制御回路132は、像ブレ補正を行う補正手段である。像ブレ補正は、以下のようにして行われる。すなわち、回転振れ(角速度)を検出する角速度センサ135の振れ信号が信号処理回路136により信号処理され、レンズMPU124に入力される。レンズMPU124は、補正レンズ駆動目標信号を算出する。そしてレンズMPU124は、この補正レンズ駆動目標信号と補正レンズエンコーダ134から出力される補正レンズ位置信号との差に応じた駆動信号を像ブレ補正制御回路132に出力する。像ブレ補正は、このように補正レンズエンコーダ134から出力される補正レンズ位置信号を像ブレ補正制御回路132にフィードバックすることにより行われる。本実施形態において、像ブレ補正制御は、カメラ本体111を中心として、上下方向(光軸直交方向)の傾きを検出するためのピッチ軸、左右方向(光軸直交方向)の傾きを検出するためのヨー軸の2軸それぞれにおいて行われる。   The image blur correction lens 127 is driven in a direction (optical axis orthogonal direction) perpendicular to the optical axis OA via the image blur correction control circuit 132 (IS control circuit) and the linear motor 133. The image blur correction control circuit 132 is a correction unit that performs image blur correction. Image blur correction is performed as follows. That is, the shake signal of the angular velocity sensor 135 that detects rotational shake (angular velocity) is processed by the signal processing circuit 136 and input to the lens MPU 124. The lens MPU 124 calculates a corrected lens driving target signal. The lens MPU 124 outputs a drive signal corresponding to the difference between the correction lens drive target signal and the correction lens position signal output from the correction lens encoder 134 to the image blur correction control circuit 132. Image blur correction is performed by feeding back the correction lens position signal output from the correction lens encoder 134 to the image blur correction control circuit 132 in this way. In the present embodiment, the image blur correction control is performed to detect the tilt in the vertical direction (optical axis orthogonal direction) and the horizontal axis (optical axis orthogonal direction) with the camera body 111 as the center. For each of the two yaw axes.

本実施形態のレンズMPU124は、算出手段124aおよび制御手段124bを有する。算出手段124aは、流し撮り撮影に用いられる露光中の基準角速度(流し撮り基準角速度)を算出する。制御手段124bは、露光中の基準角速度と角速度センサからの角速度との差に基づいて流し撮り撮影を行うように像ブレ補正制御回路132を制御する。また算出手段124aは、動きベクトルと角速度センサからの角速度とに基づいて算出された露光開始前の基準角速度(流し撮り基準角速度)に応じて、露光中の基準角速度を算出する。またレンズMPU124は、基準角速度やレンズ変位信号などの情報を記憶するRAM140(記憶手段)を有する。ただし、RAM140はレンズMPU124の内部メモリに限定されるものではなく、レンズMPU124の外部に設けられていてもよい。   The lens MPU 124 of this embodiment includes a calculation unit 124a and a control unit 124b. The calculating unit 124a calculates a reference angular velocity during exposure used for panning shots (a panning reference angular velocity). The control unit 124b controls the image blur correction control circuit 132 so as to perform panning shooting based on the difference between the reference angular velocity during exposure and the angular velocity from the angular velocity sensor. The calculating unit 124a calculates a reference angular velocity during exposure according to a reference angular velocity before starting exposure (a panning reference angular velocity) calculated based on the motion vector and the angular velocity from the angular velocity sensor. The lens MPU 124 includes a RAM 140 (storage unit) that stores information such as a reference angular velocity and a lens displacement signal. However, the RAM 140 is not limited to the internal memory of the lens MPU 124, and may be provided outside the lens MPU 124.

絞り128は、レンズMPU124からの制御信号に従い、絞り制御回路137およびステッピングモータ138を介してその開口径が駆動(制御)される。スイッチ139は、像ブレ補正制御のON/OFFおよび像ブレ補正モードの選択を行うためのスイッチである。本実施形態において、像ブレ補正モードとして、通常の像ブレ補正動作と流し撮り動作モードとのうち一方を選択することができる。   The aperture of the aperture 128 is driven (controlled) through the aperture control circuit 137 and the stepping motor 138 in accordance with a control signal from the lens MPU 124. The switch 139 is a switch for turning on / off image blur correction control and selecting an image blur correction mode. In the present embodiment, one of a normal image blur correction operation and a panning operation mode can be selected as the image blur correction mode.

次に、図2乃至図5を参照して、本実施形態における流し撮り方法について説明する。図2は、撮影者の前を通り過ぎる被写体を流し撮りする際に、被写体とカメラ(カメラシステム100)の動きを図2(a)、(b)の順に時系列で示している。流し撮りの際には、露光期間中も被写体の移動速度Vに合わせるようにカメラを振ることにより、被写体の動きは止め、背景を流した写真が撮影可能となる。しかし、撮影者が不慣れな場合などでは、被写体の中心点C0を狙い、被写体の動きに合わせてカメラを振っているつもりでも、例えば図2(b)の点C1に狙いがずれてしまうことがある。   Next, a panning method according to this embodiment will be described with reference to FIGS. FIG. 2 shows the movement of the subject and the camera (camera system 100) in the order of FIGS. 2A and 2B when the subject passing in front of the photographer is shot. During panning, by shaking the camera so as to match the moving speed V of the subject even during the exposure period, the motion of the subject is stopped, and a photograph with a background can be taken. However, when the photographer is unfamiliar, the aim may be shifted to the point C1 in FIG. 2B, for example, even if the user is aiming at the center point C0 of the subject and shaking the camera according to the movement of the subject. is there.

図3は、前述のように流し撮り撮影で狙いがずれた場合の角速度センサ135の出力波形と、映像信号処理回路117により検出される被写体像の動きベクトルの信号波形である(各波形と時間との関係図)。図3(a)は角速度センサ135の出力波形(角速度)、図3(b)は動きベクトルの信号波形である。図3(a)において、被写体速度が一定であれば、被写体が振れずに追い続ける理想的な流し撮り角速度は、点線で示されるように一定の角速度となる。被写体が振れずに追い続けられていれば、図3(b)の被写体の動きベクトルは「0」となる。ところが、動く被写体を正確に追い続けることは難しく、実際には図3(a)の実線で示される流し撮り時の角速度のように、理想的な流し撮り角速度からずれてしまう。このとき動きベクトルは、図3(b)に示されるように「0」からずれる。   FIG. 3 shows the output waveform of the angular velocity sensor 135 and the signal waveform of the motion vector of the subject image detected by the video signal processing circuit 117 when the aim is shifted in the panning shooting as described above (each waveform and time). Relationship diagram). 3A shows the output waveform (angular velocity) of the angular velocity sensor 135, and FIG. 3B shows the signal waveform of the motion vector. In FIG. 3A, if the subject speed is constant, the ideal panning angular speed at which the subject keeps chasing without shaking becomes a constant angular speed as indicated by a dotted line. If the subject continues to follow without being shaken, the motion vector of the subject in FIG. 3B is “0”. However, it is difficult to keep track of the moving subject accurately, and in actuality, the angular velocity at the time of panning shown by the solid line in FIG. At this time, the motion vector deviates from “0” as shown in FIG.

そこで、理想的な流し撮り角速度からのずれを補正するように、像ブレ補正レンズ127を駆動させれば、被写体の振れを補正することができる。実際の撮影動作としては、露光前に理想的な角速度を算出し、露光中は理想的な流し撮り角速度からのずれを補正するように、像ブレ補正レンズ127を駆動させる動作となる。理想的な流し撮り角速度を算出する方法としては、角速度センサ135の信号と動きベクトルの信号との加算値に基づいて算出する方法がある。   Therefore, if the image blur correction lens 127 is driven so as to correct the deviation from the ideal panning angular velocity, the shake of the subject can be corrected. As an actual photographing operation, an ideal angular velocity is calculated before exposure, and the image blur correction lens 127 is driven so as to correct a deviation from the ideal panning angular velocity during exposure. As a method of calculating the ideal panning angular velocity, there is a method of calculating based on the sum of the angular velocity sensor 135 signal and the motion vector signal.

ここで、撮影者が斜め前方から目の前を通り過ぎる被写体を流し撮り撮影した場合を考える。図4は、このような場合の被写体とカメラの動きを図4(a)、(b)、(c)の順に時系列で示している。このときの理想的な流し撮り角速度をそれぞれW1、W2、W3とすると、被写体が一定速度Vで移動していたとしても一定の角速度にはならない。図5は、流し撮り撮影の際における角速度の時間変化を示す図である。図5において、横軸は時間、縦軸は角速度をそれぞれ示している。図5に示されるように、理想的な流し撮り角速度W1、W2、W3は加速していく。この場合、流し撮り角速度を算出したタイミングと露光のタイミングが大きくずれると、露光中の流し撮り誤差補正の精度が劣化する。これに対応するため、流し撮り角速度の変化を予測して、露光のタイミングでのずれを補正することが考えられる。このとき正確な予測補正するには、確実に加速または減速していることが好ましい条件である。例えば、その予測実施の判定方法として、流し撮り角速度の変化の極性が所定回数連続で同一であるか否かを判定する。   Here, a case is considered where the photographer shoots and shoots a subject passing in front of his / her eyes from diagonally forward. FIG. 4 shows the movement of the subject and the camera in such a case in the order of FIGS. 4 (a), (b), and (c). If the ideal panning angular velocities at this time are W1, W2, and W3, respectively, even if the subject is moving at a constant speed V, the angular speed is not constant. FIG. 5 is a diagram showing a temporal change in angular velocity at the time of panning shooting. In FIG. 5, the horizontal axis represents time, and the vertical axis represents angular velocity. As shown in FIG. 5, ideal panning angular velocities W1, W2, and W3 are accelerated. In this case, if the timing at which the panning angular velocity is calculated and the timing of exposure are greatly deviated, the accuracy of the panning error correction during exposure deteriorates. In order to cope with this, it is conceivable to predict a change in the panning angular velocity and correct the deviation at the timing of exposure. At this time, for accurate prediction correction, it is a preferable condition that the vehicle is reliably accelerated or decelerated. For example, as a method for determining the prediction, it is determined whether or not the polarity of the change in the panning angular velocity is the same for a predetermined number of times.

次に、図6乃至図9を参照して、本実施形態におけるカメラシステム100の撮影動作(流し撮り撮影の動作)について説明する。まず、図6を参照して、カメラ本体111の撮影動作を説明する。図6は、カメラ本体111の撮影動作を示すフローチャートである。   Next, with reference to FIG. 6 to FIG. 9, a shooting operation of the camera system 100 in this embodiment (an operation for panning shooting) will be described. First, the photographing operation of the camera body 111 will be described with reference to FIG. FIG. 6 is a flowchart showing the shooting operation of the camera body 111.

カメラ本体111のメインスイッチがONされると、カメラ本体111は撮影動作を開始する。まずステップS601において、カメラMPU114は、操作部121のレリーズスイッチが半押し(SW1ON)されたか否かを判定する。レリーズスイッチが半押しされた場合、ステップS602へ進む。一方、レリーズスイッチが半押しされていない場合、本フローは終了する。   When the main switch of the camera body 111 is turned on, the camera body 111 starts a shooting operation. First, in step S601, the camera MPU 114 determines whether or not the release switch of the operation unit 121 is half pressed (SW1 ON). If the release switch is pressed halfway, the process proceeds to step S602. On the other hand, if the release switch has not been pressed halfway, this flow ends.

ステップS602において、カメラMPU114は、インターフェース回路122、123を介して、レンズMPU124とステータス通信を行う。ここでは、カメラMPU114は、カメラ本体111の状態(レリーズスイッチの状態SW1ON、撮影モード、シャッタ速度など)を交換レンズ112(レンズMPU124)へ送信する。またカメラMPU114は、交換レンズ112の状態(焦点距離、絞りの状態、フォーカスレンズの駆動状態など)をレンズMPU124から受信する。なお図6には、ステータス通信は主要な個所にのみ記載されているが、カメラ本体111の状態が変化した場合や、カメラ本体111が交換レンズ112の状態を確認したい場合などに随時行われる。   In step S602, the camera MPU 114 performs status communication with the lens MPU 124 via the interface circuits 122 and 123. Here, the camera MPU 114 transmits the state of the camera body 111 (release switch state SW1 ON, shooting mode, shutter speed, etc.) to the interchangeable lens 112 (lens MPU 124). The camera MPU 114 receives the state of the interchangeable lens 112 (focal length, aperture state, focus lens driving state, etc.) from the lens MPU 124. In FIG. 6, the status communication is described only in main parts, but is performed as needed when the state of the camera body 111 changes or when the camera body 111 wants to check the state of the interchangeable lens 112.

続いてステップS603において、レリーズスイッチが半押し(SW1ON)されているため、カメラMPU114は、焦点検出を行い、被写体にピントを合わせるためのフォーカスレンズ駆動量を演算する。続いてステップS604において、カメラMPU114は、フォーカスレンズ駆動量(フォーカスレンズ駆動命令)に関するデータを交換レンズ112へ送信する。このデータは、例えばフォーカスエンコーダの駆動目標パルス量として送信される。続いてステップS605において、フォーカスレンズ駆動が終了すると、カメラMPU114は、再焦点検出を行う。   Subsequently, in step S603, since the release switch is pressed halfway (SW1 ON), the camera MPU 114 performs focus detection and calculates a focus lens drive amount for focusing on the subject. Subsequently, in step S604, the camera MPU 114 transmits data related to the focus lens drive amount (focus lens drive command) to the interchangeable lens 112. This data is transmitted, for example, as a drive target pulse amount of the focus encoder. In step S605, when the focus lens driving is completed, the camera MPU 114 performs refocus detection.

続いてステップS606において、カメラMPU114は、焦点検出の結果に基づいて、合焦深度内であるか(合焦状態であるか)否かを判定する。合焦深度内であればステップS607へ進む。ステップS607において、カメラMPU114は、映像信号処理回路117から輝度情報を取得し、露光時間Tvおよび絞り値(絞り駆動量)を算出する(測光処理)。続いてステップS608において、カメラMPU114は、映像信号処理回路117の画像信号から主被写体を判定する。   Subsequently, in step S606, the camera MPU 114 determines whether it is within the in-focus depth (in-focus state) based on the focus detection result. If it is within the in-focus depth, the process proceeds to step S607. In step S607, the camera MPU 114 acquires luminance information from the video signal processing circuit 117, and calculates an exposure time Tv and an aperture value (aperture drive amount) (photometry processing). In step S608, the camera MPU 114 determines the main subject from the image signal of the video signal processing circuit 117.

続いてステップS609において、カメラMPU114は、主被写体の動きベクトル(動きベクトル情報)を検出する。続いてステップS610において、カメラMPU114は、ステップS609にて検出した主被写体の動きベクトル情報と、レンズMPU124から送信された角速度情報とに基づいて、基準角速度(流し撮り基準角速度)を算出する。角速度情報は、角速度センサ135の出力信号(角速度)に対応する信号である。基準角速度は、主被写体に関して最適な流し撮りを行うための角速度である。続いてステップS611において、カメラMPU114は、ステップS610にて算出された基準角速度をレンズMPU124へ送信する。   Subsequently, in step S609, the camera MPU 114 detects a motion vector (motion vector information) of the main subject. Subsequently, in step S610, the camera MPU 114 calculates a reference angular velocity (a panning reference angular velocity) based on the motion vector information of the main subject detected in step S609 and the angular velocity information transmitted from the lens MPU 124. The angular velocity information is a signal corresponding to the output signal (angular velocity) of the angular velocity sensor 135. The reference angular velocity is an angular velocity for performing optimum panning for the main subject. Subsequently, in step S611, the camera MPU 114 transmits the reference angular velocity calculated in step S610 to the lens MPU 124.

続いてステップS612において、カメラMPU114は、操作部121のレリーズスイッチが全押し(SW2ON)されたか否かを判定する。レリーズスイッチが全押しされた場合、ステップS613へ進む。一方、レリーズスイッチが全押しされていない場合、ステップS601へ戻る。   Subsequently, in step S612, the camera MPU 114 determines whether or not the release switch of the operation unit 121 is fully pressed (SW2 ON). If the release switch is fully pressed, the process proceeds to step S613. On the other hand, if the release switch has not been fully pressed, the process returns to step S601.

ステップS613において、カメラMPU114は、ステップS607にて算出した絞り駆動量(絞り駆動命令)を交換レンズ112へ送信し、絞り128の駆動を行わせる。続いてステップS614において、カメラMPU114は、撮像部113の電荷をリセットし、電子シャッタ(先幕シャッタ)を駆動する。続いてステップS615において、カメラMPU114は、被写体像を撮像部113に露光して電荷を蓄積する。続いてステップS616において、露光時間が経過した場合、カメラMPU114は不図示の後幕シャッタを駆動し、露光を終了する。   In step S613, the camera MPU 114 transmits the aperture driving amount (aperture driving command) calculated in step S607 to the interchangeable lens 112 to drive the aperture 128. Subsequently, in step S614, the camera MPU 114 resets the charge of the imaging unit 113 and drives the electronic shutter (front curtain shutter). Subsequently, in step S615, the camera MPU 114 exposes the subject image to the imaging unit 113 and accumulates charges. Subsequently, in step S616, when the exposure time has elapsed, the camera MPU 114 drives a rear curtain shutter (not shown) and ends the exposure.

続いてステップS617において、カメラMPU114は、撮像部113からの電荷転送(読み出し)を行う。続いてステップS618において、読み出した撮影画像信号は、ゲインコントロール回路115およびA/D変換器116を経てデジタルデータ(撮影画像データ)へ変換され、バッファメモリ118に保存される(画像保存)。続いてステップS619において、カメラMPU114は、絞り開放命令(絞り駆動命令)を交換レンズ112へ送信し、絞り128を開放に戻す。   Subsequently, in step S617, the camera MPU 114 performs charge transfer (reading) from the imaging unit 113. In step S618, the read captured image signal is converted into digital data (captured image data) through the gain control circuit 115 and the A / D converter 116, and stored in the buffer memory 118 (image storage). Subsequently, in step S619, the camera MPU 114 transmits an aperture opening command (aperture driving command) to the interchangeable lens 112, and returns the aperture 128 to the open state.

続いてステップS620において、カメラMPU114(映像信号処理回路117)は、撮影画像信号(撮影画像データ)にガンマ補正や圧縮処理などの画像補正処理を行う。続いてステップS621において、画像補正処理された画像データは、LCD119に表示されるとともにメモリカード120に記録される。これにより、撮影までの一連の動作は終了する。   Subsequently, in step S620, the camera MPU 114 (video signal processing circuit 117) performs image correction processing such as gamma correction and compression processing on the captured image signal (captured image data). In step S621, the image data subjected to the image correction process is displayed on the LCD 119 and recorded on the memory card 120. As a result, a series of operations up to photographing is completed.

次に、図7乃至図9を参照して、流し撮り撮影における交換レンズ112の動作について説明する。図7は、交換レンズ112の動作を示すフローチャートである。交換レンズ112をカメラ本体111に装着すると、カメラ本体111から交換レンズ112へシリアル通信がなされ、図7のステップS701から交換レンズ112の動作が開始する。   Next, the operation of the interchangeable lens 112 in panning shot shooting will be described with reference to FIGS. FIG. 7 is a flowchart showing the operation of the interchangeable lens 112. When the interchangeable lens 112 is attached to the camera body 111, serial communication is performed from the camera body 111 to the interchangeable lens 112, and the operation of the interchangeable lens 112 starts from step S701 in FIG.

まずステップS701において、レンズMPU124は、レンズ制御および像ブレ補正制御のための初期設定を行う。続いてステップS702において、レンズMPU124は、不図示のスイッチ類の状態、および、ズーム位置とフォーカス位置とを検出する。スイッチ類は、例えば、オートフォーカスとマニュアルフォーカスの切り換えスイッチ、および、像ブレ補正機能のON/OFFスイッチなどを含むが、これらに限定されるものではない。   First, in step S701, the lens MPU 124 performs initial settings for lens control and image blur correction control. In step S702, the lens MPU 124 detects the state of switches (not shown), the zoom position, and the focus position. Examples of the switches include, but are not limited to, an auto focus / manual focus changeover switch and an image blur correction function ON / OFF switch.

続いてステップS703において、レンズMPU124は、カメラ本体111(カメラMPU114)からフォーカス駆動命令の通信(フォーカス駆動要求)があったか否かを判定する。レンズMPU124がフォーカス駆動命令を受信した場合(フォーカス駆動要求を受信した場合)、ステップS704へ進む。一方、レンズMPU124がフォーカス駆動命令を受信していない場合(フォーカス駆動要求を受信していない場合)、ステップS705へ進む。   Subsequently, in step S703, the lens MPU 124 determines whether or not there is a focus drive command communication (focus drive request) from the camera body 111 (camera MPU 114). When the lens MPU 124 receives a focus drive command (when a focus drive request is received), the process proceeds to step S704. On the other hand, when the lens MPU 124 has not received the focus drive command (when the focus drive request has not been received), the process proceeds to step S705.

ステップS704において、レンズMPU124は、フォーカスレンズ125の駆動制御を行う。ステップS703におけるフォーカス駆動命令の通信では、カメラ本体111からフォーカスレンズ125の目標駆動量(パルス数)も送信される。このためレンズMPU124は、フォーカス制御回路129のフォーカスエンコーダのパルス数を検出し、目標パルス数だけ駆動するようにフォーカス駆動制御を行う。   In step S <b> 704, the lens MPU 124 performs drive control of the focus lens 125. In the focus drive command communication in step S703, the target drive amount (number of pulses) of the focus lens 125 is also transmitted from the camera body 111. Therefore, the lens MPU 124 detects the number of pulses of the focus encoder of the focus control circuit 129 and performs focus drive control so as to drive the target pulse number.

ステップS705において、レンズMPU124は、カメラ本体111から絞り駆動命令(絞り駆動要求)の通信があったか否かを判定する。レンズMPU124が絞り駆動命令(絞り駆動要求)を受信した場合、ステップS706へ進む。一方、レンズMPU124が絞り駆動命令(絞り駆動要求)を受信していない場合、ステップS707へ進む。   In step S <b> 705, the lens MPU 124 determines whether or not there has been an aperture drive command (aperture drive request) communication from the camera body 111. When the lens MPU 124 receives an aperture drive command (aperture drive request), the process proceeds to step S706. On the other hand, if the lens MPU 124 has not received an aperture drive command (aperture drive request), the process proceeds to step S707.

ステップS706において、レンズMPU124は、絞り128の駆動制御を行う。ステップS705における絞り駆動命令の通信では、カメラ本体111から絞り128の目標駆動量も送信される。このためレンズMPU124は、絞り制御回路137およびステッピングモータ138を介して、絞り128を目標量だけ駆動する。   In step S706, the lens MPU 124 controls the driving of the diaphragm 128. In the communication of the aperture drive command in step S705, the target drive amount of the aperture 128 is also transmitted from the camera body 111. Therefore, the lens MPU 124 drives the diaphragm 128 by a target amount via the diaphragm control circuit 137 and the stepping motor 138.

ステップS707において、レンズMPU124は、カメラ本体111から全駆動停止の命令(交換レンズ112内のアクチュエータの全駆動を停止する命令)を受信したか否かを判定する。カメラ本体111(の操作部121)を介して操作がなされない場合、所定の時間経過後、カメラ本体111から全駆動停止の命令が送信される。レンズMPU124が全駆動停止の命令を受信した場合、ステップS708へ進む。一方、レンズMPU124が全駆動停止の命令を受信していない場合、ステップS702へ戻る。   In step S <b> 707, the lens MPU 124 determines whether an instruction to stop all driving (an instruction to stop all driving of the actuators in the interchangeable lens 112) has been received from the camera body 111. When no operation is performed via the camera body 111 (the operation unit 121 thereof), a command to stop all driving is transmitted from the camera body 111 after a predetermined time has elapsed. When the lens MPU 124 receives a command to stop all driving, the process proceeds to step S708. On the other hand, if the lens MPU 124 has not received a full drive stop command, the process returns to step S702.

ステップS708において、レンズMPU124は、全駆動停止制御を行う。ここでは、レンズMPU124は全てのアクチュエータの駆動を停止し、マイコンをスリープ(停止)状態にする。またレンズMPU124は、像ブレ補正装置への給電も停止する。その後、カメラ本体111(の操作部121)を介して何らかの操作が行われると、カメラ本体111(カメラMPU114)は交換レンズ112(レンズMPU124)に通信信号を送り、スリープ状態を解除する。   In step S708, the lens MPU 124 performs full drive stop control. Here, the lens MPU 124 stops driving all the actuators and puts the microcomputer in a sleep (stopped) state. The lens MPU 124 also stops power supply to the image blur correction device. Thereafter, when any operation is performed via the camera body 111 (the operation unit 121 thereof), the camera body 111 (camera MPU 114) sends a communication signal to the interchangeable lens 112 (lens MPU 124) to cancel the sleep state.

図7のフローチャートに示される各ステップの間に、レンズMPU124は、カメラMPU114からの通信によるシリアル通信割り込みまたは像ブレ補正割り込みの要求を受信する場合がある。このときレンズMPU124は、それらの割り込み処理を行う。シリアル通信割り込みの要求を受信した場合、レンズMPU124は、通信データのデコードを行い、そのデコード結果に応じて、絞り駆動やフォーカスレンズ駆動などのレンズ処理を行う。そして、通信データのデコードにより、SW1ON、SW2ON、シャッタ速度、および、カメラの機種などを判定することができる。像ブレ補正割り込みは、一定周期ごとに発生するタイマー割り込みである。像ブレ補正割り込みの要求を受信した場合、レンズMPU124は、ピッチ方向(縦方向)およびヨー方向(横方向)の像ブレ補正制御を行う。   During each step shown in the flowchart of FIG. 7, the lens MPU 124 may receive a request for serial communication interruption or image blur correction interruption by communication from the camera MPU 114. At this time, the lens MPU 124 performs these interrupt processes. When the serial communication interrupt request is received, the lens MPU 124 decodes the communication data, and performs lens processing such as aperture driving and focus lens driving according to the decoding result. Then, SW1ON, SW2ON, shutter speed, camera model, and the like can be determined by decoding the communication data. The image blur correction interrupt is a timer interrupt that occurs at regular intervals. When the image blur correction interrupt request is received, the lens MPU 124 performs image blur correction control in the pitch direction (vertical direction) and yaw direction (horizontal direction).

まず、図8を参照して、レンズMPU124がシリアル通信割り込みを受信した場合の動作について説明する。図8は、レンズMPU124がシリアル通信割り込みを受信した場合の動作を示すフローチャートである。レンズMPU124は、カメラ本体111(カメラMPU114)からの通信(シリアル通信割り込み)を受信すると、ステップS801から動作を開始する。   First, the operation when the lens MPU 124 receives a serial communication interrupt will be described with reference to FIG. FIG. 8 is a flowchart showing an operation when the lens MPU 124 receives a serial communication interrupt. When the lens MPU 124 receives communication (serial communication interrupt) from the camera body 111 (camera MPU 114), the lens MPU 124 starts its operation from step S801.

まずステップS801において、レンズMPU124は、カメラ本体111からの命令を解析し(コマンド解析を行い)、各命令に応じた処理へ分岐する。   First, in step S801, the lens MPU 124 analyzes a command from the camera body 111 (performs command analysis), and branches to processing corresponding to each command.

ステップS802において、レンズMPU124は、フォーカス駆動命令を受信する。そしてステップS803において、レンズMPU124は、目標駆動パルス数に応じて、フォーカスレンズ駆動モータ130の速度を設定、フォーカスレンズ駆動を開始する。   In step S802, the lens MPU 124 receives a focus drive command. In step S803, the lens MPU 124 sets the speed of the focus lens drive motor 130 in accordance with the target drive pulse number, and starts focus lens drive.

ステップS804において、レンズMPU124は、絞り駆動命令を受信する。そしてステップS805において、レンズMPU124は、カメラ本体111から送信された絞り駆動データに基づいて、絞り128を駆動する。このときレンズMPU124は、ステッピングモータ138の駆動パターンを設定し、設定した駆動パターンを絞り制御回路137を介してステッピングモータ138に出力することにより、絞り128を駆動する。   In step S804, the lens MPU 124 receives an aperture drive command. In step S805, the lens MPU 124 drives the aperture 128 based on the aperture drive data transmitted from the camera body 111. At this time, the lens MPU 124 sets the drive pattern of the stepping motor 138 and outputs the set drive pattern to the stepping motor 138 via the aperture control circuit 137 to drive the aperture 128.

ステップS806において、レンズMPU124は、ステータス通信を受信する。そしてステップS807において、レンズMPU124は、交換レンズ112の焦点距離情報やIS動作状態などをカメラ本体111に送信する。またレンズMPU124は、カメラ本体111のステータス状態(レリーズスイッチの状態、撮影モード、撮像フレームレート、シャッタ速度など)を受信する。   In step S806, the lens MPU 124 receives the status communication. In step S807, the lens MPU 124 transmits the focal length information of the interchangeable lens 112, the IS operation state, and the like to the camera body 111. In addition, the lens MPU 124 receives the status status (release switch status, shooting mode, imaging frame rate, shutter speed, etc.) of the camera body 111.

ステップS808において、レンズMPU124は、流し撮り補正に関する情報送受信命令(流し撮り補正情報通信)を受信する。そしてステップS809において、レンズMPU124は、カメラ本体111から受信した基準角速度(流し撮り基準角速度)をレンズMPU124内のRAM140(記憶手段)に格納する。またレンズMPU124は、その他の流し撮り補正情報の送受信を行う。   In step S808, the lens MPU 124 receives an information transmission / reception command (panning correction information communication) regarding panning correction. In step S809, the lens MPU 124 stores the reference angular velocity (the panning reference angular velocity) received from the camera body 111 in the RAM 140 (storage means) in the lens MPU 124. The lens MPU 124 transmits and receives other panning correction information.

ステップS810において、レンズMPU124は、その他の命令、例えば交換レンズ112のフォーカス敏感度データ通信や光学データ通信などを受信する。そしてステップS811において、レンズMPU124は、それらの処理を行う。   In step S810, the lens MPU 124 receives other commands, such as focus sensitivity data communication or optical data communication of the interchangeable lens 112. In step S811, the lens MPU 124 performs these processes.

次に、図9を参照して、レンズMPU124が像ブレ補正割り込みを受信した場合の動作について説明する。図9は、レンズMPU124が像ブレ補正割り込みを受信した場合の動作(像ブレ補正の動作)を示すフローチャートである。交換レンズ112のメイン動作中に像ブレ補正割り込みが発生すると、レンズMPU124は、図9のステップS901から像ブレ補正制御を開始する。   Next, the operation when the lens MPU 124 receives an image blur correction interrupt will be described with reference to FIG. FIG. 9 is a flowchart illustrating an operation (image blur correction operation) when the lens MPU 124 receives an image blur correction interrupt. When an image blur correction interrupt occurs during the main operation of the interchangeable lens 112, the lens MPU 124 starts image blur correction control from step S901 in FIG.

まずステップS901において、レンズMPU124は、角速度センサ135からの出力信号(角速度)を信号処理回路136で処理して取得された信号をA/D変換する。続いてステップS902において、レンズMPU124は、スイッチ139の状態に基づいて、流し撮りモードであるか、通常防振モードであるかを判定する。通常防振モードである場合、ステップS903へ進む。一方、流し撮りモードである場合、ステップS906へ進む。   First, in step S <b> 901, the lens MPU 124 performs A / D conversion on a signal acquired by processing the output signal (angular velocity) from the angular velocity sensor 135 by the signal processing circuit 136. Subsequently, in step S902, the lens MPU 124 determines whether it is the panning mode or the normal image stabilization mode based on the state of the switch 139. If it is the normal image stabilization mode, the process proceeds to step S903. On the other hand, if it is the panning mode, the process proceeds to step S906.

ステップS903において、レンズMPU124は、信号の低周波成分をカットするため、ハイパスフィルタ演算(HPF演算)を行う。レンズMPU124は、演算開始から所定時間はハイパスフィルタの時定数切り換えを行い、早急に信号が安定するための動作も行う。続いてステップS904において、レンズMPU124は、ハイパスフィルタ演算の結果を入力信号として積分演算を行う。この結果、レンズMPU124は角変位データを取得することができる。続いてステップS905において、レンズMPU124は、ズーム位置およびフォーカス位置に応じた防振敏感度を読み出し、角変位データから像ブレ補正レンズ127の目標駆動量を算出する。   In step S903, the lens MPU 124 performs a high-pass filter calculation (HPF calculation) in order to cut a low-frequency component of the signal. The lens MPU 124 switches the time constant of the high-pass filter for a predetermined time from the start of calculation, and also performs an operation for quickly stabilizing the signal. Subsequently, in step S904, the lens MPU 124 performs integration calculation using the result of the high-pass filter calculation as an input signal. As a result, the lens MPU 124 can acquire angular displacement data. Subsequently, in step S905, the lens MPU 124 reads out the image stabilization sensitivity corresponding to the zoom position and the focus position, and calculates the target drive amount of the image blur correction lens 127 from the angular displacement data.

ステップS906において、流し撮りモードが選択されているため、レンズMPU124は、SW2がONされたか否か、すなわち露光動作を選択されたか否かを判定する。SW2がOFFである場合、ステップS907へ進む。一方、SW2がONされた場合、ステップS913へ進む。   In step S906, since the panning mode is selected, the lens MPU 124 determines whether SW2 is turned on, that is, whether an exposure operation is selected. If SW2 is OFF, the process proceeds to step S907. On the other hand, if SW2 is turned on, the process proceeds to step S913.

ステップS907において、レンズMPU124は、レンズMPU124内のRAM140(記憶手段)に格納されている基準角速度W(n)(流し撮り基準角速度)を読み出す。続いてステップS908において、レンズMPU124は、基準角速度の変化量ΔW(n)を算出する。具体的には、レンズMPU124は、基準角速度の変化量ΔW(n)として、現在の基準角速度W(n)と前回の基準角速度W(n−1)との差(ΔW(n)=W(n)−W(n−1))を算出する。   In step S907, the lens MPU 124 reads a reference angular velocity W (n) (a panning reference angular velocity) stored in the RAM 140 (storage means) in the lens MPU 124. Subsequently, in step S908, the lens MPU 124 calculates the change amount ΔW (n) of the reference angular velocity. Specifically, the lens MPU 124 uses the difference (ΔW (n) = W () between the current reference angular velocity W (n) and the previous reference angular velocity W (n−1) as the change amount ΔW (n) of the reference angular velocity. n) −W (n−1)) is calculated.

続いてステップS909において、レンズMPU124は、過去4回分の変化量ΔW(n)〜ΔW(n−3)が4回とも全て同じ極性(正または負)であるか否かを判定する。全て同じ極性であれば、ステップS910へ進む。一方、少なくとも一つの変化量の極性が異なる場合、ステップS911へ進む。なお本実施形態において、同じ極性か否かを判定する変化量ΔWの数は4(過去4回分)であるが、これに限定されるものではない。複数の変化量ΔW(3以下または5以上の数、すなわち過去3回分以下または過去5回分以上)の極性が全て同一であるか否かを判定してもよい。   Subsequently, in step S909, the lens MPU 124 determines whether or not the past four variations ΔW (n) to ΔW (n−3) are all the same polarity (positive or negative). If all have the same polarity, the process proceeds to step S910. On the other hand, if the polarity of at least one change amount is different, the process proceeds to step S911. In the present embodiment, the number of change amounts ΔW for determining whether or not they have the same polarity is four (for the past four times), but is not limited to this. It may be determined whether or not the polarities of the plurality of change amounts ΔW (numbers of 3 or less or 5 or more, that is, the past 3 times or less or the past 5 times or more) are all the same.

ステップS910において、過去4回分の変化量が4回とも全て同じ極性であるため、速度変化の方向は安定していると考えられる。このためレンズMPU124は、基準角速度の予測補正を行う。具体的には、レンズMPU124は、今回の基準角速度W(n)に、今回の変化量ΔW(n)に所定係数kを乗算した値(k×ΔW(n))を加算することにより、最終的な基準角速度Wref(=W(n)+k×ΔW(n))を算出する。   In step S910, the amount of change in the past four times has the same polarity in all four times, so the speed change direction is considered to be stable. For this reason, the lens MPU 124 performs prediction correction of the reference angular velocity. Specifically, the lens MPU 124 adds the value (k × ΔW (n)) obtained by multiplying the current change amount ΔW (n) by a predetermined coefficient k to the current reference angular velocity W (n), thereby obtaining the final value. A reference angular velocity Wref (= W (n) + k × ΔW (n)) is calculated.

ステップS911において、過去4回分の変化量が4回とも同じ極性ではないため、速度変化の方向は不安定であると考えられる。このような場合、予測補正によりかえって誤差が増大する可能性がある。このためレンズMPU124は、基準角速度の予測補正を行わない。すなわちレンズMPU124は、今回算出された基準角速度W(n)を最終的な基準角速度Wref(=W(n))と設定する。   In step S911, since the amount of change for the past four times is not the same polarity, the speed change direction is considered to be unstable. In such a case, the error may increase due to the prediction correction. Therefore, the lens MPU 124 does not perform the prediction correction of the reference angular velocity. That is, the lens MPU 124 sets the reference angular velocity W (n) calculated this time as the final reference angular velocity Wref (= W (n)).

続いてステップS912において、レンズMPU124は、目標駆動量を0に設定する。これは、SW2ONでない場合には像ブレ補正レンズ127を電気的に中心保持状態にするためである。   Subsequently, in step S912, the lens MPU 124 sets the target drive amount to zero. This is because the image blur correction lens 127 is electrically held at the center when the SW2 is not ON.

ステップS913において、SW2ONであるため、レンズMPU124は、露光中の流し撮り誤差補正を行う。具体的には、レンズMPU124(制御手段124b)は、基準角速度Wrefと角速度センサ135から出力された角速度Waとの差である流し撮り誤差We(=Wref−Wa)を算出する。続いてステップS914において、レンズMPU124(制御手段124b)は、流し撮り誤差Weを積分演算し、角変位データを算出する。これが、流し撮り誤差の角変位データとなる。続いてステップS915において、レンズMPU124(制御手段124b)は、ズーム位置およびフォーカス位置に応じた防振敏感度を読み出し、角変位データから像ブレ補正レンズ127の目標駆動量を算出する。   In step S913, since SW2 is ON, the lens MPU 124 corrects the panning error during exposure. Specifically, the lens MPU 124 (control unit 124b) calculates a panning error We (= Wref−Wa) that is a difference between the reference angular velocity Wref and the angular velocity Wa output from the angular velocity sensor 135. Subsequently, in step S914, the lens MPU 124 (control unit 124b) integrates the panning error We and calculates angular displacement data. This is the angular displacement data of the panning error. Subsequently, in step S915, the lens MPU 124 (control unit 124b) reads out the image stabilization sensitivity corresponding to the zoom position and the focus position, and calculates the target drive amount of the image blur correction lens 127 from the angular displacement data.

続いてステップS916において、レンズMPU124は、像ブレ補正レンズ127の偏心量を検出する補正レンズエンコーダ134の信号(レンズ変位信号)をA/D変換する。そしてレンズMPU124は、A/D変換後のレンズ変位信号をレンズMPU124内のRAM140(記憶手段)に格納する。続いてステップS917において、レンズMPU124は、目標駆動量とレンズ変位信号との差を算出し、フィードバック演算を行う。続いてステップS918において、レンズMPU124は、安定な制御系にするために位相補償演算を行う。続いてステップS919において、レンズMPU124は、ステップS918の演算結果(駆動信号)をPWMとしてレンズMPU124のポートに出力し、像ブレ補正割り込みが終了する。その出力(駆動信号)は、像ブレ補正制御回路132内のドライバー回路に入力され、リニアモータ133により像ブレ補正レンズ127が駆動され、目標駆動量に応じた像ブレが補正が行われる。   Subsequently, in step S916, the lens MPU 124 A / D converts the signal (lens displacement signal) of the correction lens encoder 134 that detects the amount of eccentricity of the image blur correction lens 127. The lens MPU 124 stores the lens displacement signal after A / D conversion in the RAM 140 (storage means) in the lens MPU 124. Subsequently, in step S917, the lens MPU 124 calculates a difference between the target drive amount and the lens displacement signal, and performs a feedback calculation. Subsequently, in step S918, the lens MPU 124 performs a phase compensation calculation in order to obtain a stable control system. Subsequently, in step S919, the lens MPU 124 outputs the calculation result (drive signal) of step S918 as a PWM to the port of the lens MPU 124, and the image blur correction interrupt ends. The output (drive signal) is input to a driver circuit in the image blur correction control circuit 132, the image blur correction lens 127 is driven by the linear motor 133, and the image blur corresponding to the target drive amount is corrected.

以上のように、露光前に基準角速度の変化の極性が所定回数同じであれば、安定して加速または減速していると判定し、基準角速度の予測補正を実施する。露光中は、予測補正された基準角速度と角速度との偏差を補正するように像ブレ補正レンズを駆動することにより、流し撮り誤差が補正されたきれいな流し撮り写真を撮影することができる。   As described above, if the polarity of the change in the reference angular velocity is the same for a predetermined number of times before exposure, it is determined that the vehicle is stably accelerating or decelerating, and the reference angular velocity is predicted and corrected. During the exposure, by driving the image blur correction lens so as to correct the deviation between the predicted reference angular velocity and the angular velocity, it is possible to take a clean panning photograph in which the panning error is corrected.

〔第2の実施形態〕
次に、図10を参照して、本発明の第2の実施形態における像ブレ補正について説明する。図10は、本実施形態における像ブレ補正の動作(レンズMPU124が像ブレ補正割り込みを受信した場合の動作)のフローチャートである。
[Second Embodiment]
Next, image blur correction according to the second embodiment of the present invention will be described with reference to FIG. FIG. 10 is a flowchart of an image blur correction operation (operation when the lens MPU 124 receives an image blur correction interrupt) in the present embodiment.

本実施形態では、基準角速度の予測補正を実施するか否かの判定基準として、動きベクトルを取得するフレームレート(撮像フレームレート)と、基準角速度の変化の極性の連続性との両方を考慮する。具体的には、レンズMPU124は、撮像フレームレートに応じて、同一極性の判定回数を変更し、予測補正を行うか否かを判定する。図10のフローチャートは、図9のステップS909〜S911に代えて、ステップS1009〜S1014を有する点で、図9とは異なる。図10のステップS1001〜S1008、および、ステップS1015〜S1022は、図9のステップS901〜S908、および、ステップS912〜S919とそれぞれ同様であるため、それらの説明は省略する。なお本実施形態において、カメラシステム(撮像装置)の構成は、図1を参照して説明した第1の実施形態のカメラシステム100と同様であるため、その説明は省略する。   In the present embodiment, as a criterion for determining whether or not to perform predictive correction of the reference angular velocity, both the frame rate for acquiring a motion vector (imaging frame rate) and the continuity of the polarity of the change in the reference angular velocity are considered. . Specifically, the lens MPU 124 changes the number of determinations of the same polarity according to the imaging frame rate, and determines whether to perform prediction correction. The flowchart in FIG. 10 differs from FIG. 9 in that steps S1009 to S1014 are provided instead of steps S909 to S911 in FIG. Steps S1001 to S1008 and steps S1015 to S1022 in FIG. 10 are the same as steps S901 to S908 and steps S912 to S919 in FIG. Note that in this embodiment, the configuration of the camera system (imaging device) is the same as that of the camera system 100 of the first embodiment described with reference to FIG.

ステップS1009において、レンズMPU124は、撮像フレームレートFRが所定のフレームレート(例えば30fps)よりも速いか否かを判定する。撮像フレームレートFRが30fpsよりも速い場合、ステップS1010へ進む。一方、撮像フレームレートFRが30fpsよりも速くない場合、ステップS1012へ進む。   In step S1009, the lens MPU 124 determines whether the imaging frame rate FR is faster than a predetermined frame rate (for example, 30 fps). If the imaging frame rate FR is faster than 30 fps, the process proceeds to step S1010. On the other hand, if the imaging frame rate FR is not faster than 30 fps, the process proceeds to step S1012.

ステップS1010において、撮像フレームレートが30fpsよりも速いため、レンズMPU124は、過去4回分の変化量ΔW(n)〜ΔW(n−3)が4回とも全て同じ極性であるか否かを判定する。複数の変化量が全て同じ極性である場合、ステップS1011へ進む。一方、4回の変化量が同じ極性でない場合、ステップS1013へ進む。なお、第1の実施形態と同様に、ステップS1010の極性判定の対象となる複数の変化量の数N1は4回に限定されるものではない。   In step S1010, since the imaging frame rate is faster than 30 fps, the lens MPU 124 determines whether or not the amounts of change ΔW (n) to ΔW (n−3) for the past four times have the same polarity. . If the plurality of change amounts have the same polarity, the process proceeds to step S1011. On the other hand, if the four changes are not the same polarity, the process proceeds to step S1013. As in the first embodiment, the number N1 of the plurality of change amounts to be subjected to polarity determination in step S1010 is not limited to four times.

ステップS1011において、過去4回分の変化量が4回とも全て同じ極性であるため、速度変化の方向は安定していると考えられる。このためレンズMPU124は、基準角速度の予測補正を行う。具体的には、レンズMPU124は、今回の基準角速度W(n)に、今回の変化量ΔW(n)に所定係数k1(第1の係数)を乗算した値(k1×ΔW(n))を加算することにより、最終的な基準角速度Wref(=W(n)+k1×ΔW(n))を算出する。   In step S1011, the amount of change in the past four times is the same polarity in all four times, so the direction of speed change is considered to be stable. For this reason, the lens MPU 124 performs prediction correction of the reference angular velocity. Specifically, the lens MPU 124 multiplies the current reference angular velocity W (n) by a predetermined coefficient k1 (first coefficient) multiplied by the current change amount ΔW (n) (k1 × ΔW (n)). By adding, the final reference angular velocity Wref (= W (n) + k1 × ΔW (n)) is calculated.

ステップS1012において、撮像フレームレートが30fpsよりも速くないため、レンズMPU124は、過去2回分の変化量ΔW(n)〜ΔW(n−1)が2回とも同じ極性であるか否かを判定する。2つの変化量が同じ極性である場合、ステップS1014へ進む。一方、2つの変化量が同じ極性でない場合、ステップS1013へ進む。なお、ステップS1012の極性判定の対象となる複数の変化量の数N2は、ステップS1011の極性判定の対象となる変化量の数N1よりも小さければ(N1>N2)、2つに限定されるものではない。   In step S1012, since the imaging frame rate is not faster than 30 fps, the lens MPU 124 determines whether or not the past two changes ΔW (n) to ΔW (n−1) have the same polarity. . If the two change amounts have the same polarity, the process proceeds to step S1014. On the other hand, if the two variations are not the same polarity, the process proceeds to step S1013. Note that the number N2 of the plurality of change amounts to be subjected to the polarity determination in step S1012 is limited to two if the number N1 of change amounts to be the polarity determination in step S1011 is smaller (N1> N2). It is not a thing.

ステップS1013において、ステップS1010にて過去4回分の変化量が全て同じ極性ではないか、または、ステップS1012にて過去2回分の変化量が同じ極性ではないため、速度変化の方向は不安定であると考えられる。このような場合、予測補正によりかえって誤差が増大する可能性がある。このためレンズMPU124は、基準角速度の予測補正を行わない。すなわちレンズMPU124は、今回算出された基準角速度W(n)を最終的な基準角速度Wref(=W(n))と設定する。   In step S1013, the amount of change in the past four times is not the same polarity in step S1010, or the amount of change in the past two times is not the same polarity in step S1012, so the direction of speed change is unstable. it is conceivable that. In such a case, the error may increase due to the prediction correction. Therefore, the lens MPU 124 does not perform the prediction correction of the reference angular velocity. That is, the lens MPU 124 sets the reference angular velocity W (n) calculated this time as the final reference angular velocity Wref (= W (n)).

ステップS1014において、過去2回分の変化量が2回とも同じ極性であるため、速度変化の方向は安定していると考えられる。このためレンズMPU124は、基準角速度の予測補正を行う。具体的には、レンズMPU124は、今回の基準角速度W(n)に、今回の変化量ΔW(n)に所定係数k2(第2の係数)を乗算した値(k2×ΔW(n))を加算することにより、最終的な基準角速度Wref(=W(n)+k2×ΔW(n))を算出する。   In step S1014, since the amount of change for the past two times has the same polarity, the speed change direction is considered to be stable. For this reason, the lens MPU 124 performs prediction correction of the reference angular velocity. Specifically, the lens MPU 124 multiplies the current reference angular velocity W (n) by a predetermined coefficient k2 (second coefficient) multiplied by the current change amount ΔW (n) (k2 × ΔW (n)). By adding, the final reference angular velocity Wref (= W (n) + k2 × ΔW (n)) is calculated.

本実施形態では、露光前に基準角速度の変化の極性が所定回数同じであれば、基準角速度の予測補正を実施するが、所定回数を撮像フレームレートに応じて変更することで、安定して加速または減速しているかをより正確に判定することができる。すなわち、動きベクトル信号の取得間隔が変わっても、それに応じて判定回数を変更するため、安定した予測補正を行うことが可能となる。露光中は、予測補正された基準角速度と角速度との偏差を補正するように像ブレ補正レンズを駆動することにより、流し撮り誤差が補正されたきれいな流し撮り写真を撮影することができる。   In this embodiment, if the polarity of the change in the reference angular velocity is the same for a predetermined number of times before exposure, the reference angular velocity is predicted and corrected. However, by changing the predetermined number according to the imaging frame rate, stable acceleration is performed. Or it can determine more correctly whether it is decelerating. That is, even if the motion vector signal acquisition interval changes, the number of determinations is changed accordingly, so that stable prediction correction can be performed. During the exposure, by driving the image blur correction lens so as to correct the deviation between the predicted reference angular velocity and the angular velocity, it is possible to take a clean panning photograph in which the panning error is corrected.

〔第3の実施形態〕
次に、図11を参照して、本発明の第3の実施形態における像ブレ補正について説明する。図11は、本実施形態における像ブレ補正の動作(レンズMPU124が像ブレ補正割り込みを受信した場合の動作)のフローチャートである。
[Third Embodiment]
Next, image blur correction according to the third embodiment of the present invention will be described with reference to FIG. FIG. 11 is a flowchart of an image blur correction operation (operation when the lens MPU 124 receives an image blur correction interrupt) in the present embodiment.

本実施形態では、基準角速度が所定角速度Wcよりも大きい場合、基準角速度の予測補正を実施するように動作する。基準角速度が小さい場合、流し撮り成分ではない手振れとの差が少なく、基準角速度の予測に手振れの要素が重畳し予測に誤差が生じる可能性がある。したがって、基準角速度が所定角速度Wcよりも大きい場合、基準角速度の予測補正を実施する。図11のフローチャートにおいて、図9のステップS909に代えて、ステップS1109を有する点で、図9とは異なる。図11のステップS1101〜S1108、および、ステップS1110〜S1119は、図9のステップS901〜S908、および、ステップS912〜S919とそれぞれ同様であるため、それらの説明は省略する。なお本実施形態において、カメラシステム(撮像装置)の構成は、図1を参照して説明した第1の実施形態のカメラシステム100と同様であるため、その説明は省略する。また、本実施形態は、第1の実施形態または第2の実施形態と組み合わせて実施することもできる。   In the present embodiment, when the reference angular velocity is larger than the predetermined angular velocity Wc, the operation is performed so as to perform prediction correction of the reference angular velocity. When the reference angular velocity is small, there is little difference from camera shake that is not a panning component, and there is a possibility that an element of camera shake is superimposed on the prediction of the reference angular velocity and an error occurs in the prediction. Therefore, when the reference angular velocity is larger than the predetermined angular velocity Wc, the prediction correction of the reference angular velocity is performed. 11 differs from FIG. 9 in that step S1109 is provided instead of step S909 in FIG. Steps S1101 to S1108 and steps S1110 to S1119 in FIG. 11 are the same as steps S901 to S908 and steps S912 to S919 in FIG. Note that in this embodiment, the configuration of the camera system (imaging device) is the same as that of the camera system 100 of the first embodiment described with reference to FIG. Moreover, this embodiment can also be implemented in combination with the first embodiment or the second embodiment.

ステップS1109において、レンズMPU124は、基準角速度W(n)が所定角速度Wcよりも大きいか否かを判定する。流し撮り基準角度W(n)が所定角速度Wcよりも大きい場合(W(n)>Wc)、ステップS1110へ進み、レンズMPU124は基準角速度の予測補正を行う。一方、流し撮り基準角度W(n)が所定角速度Wcよりも大きくない場合、ステップS1111へ進み、レンズMPU124は基準角速度の予測補正を行わない。   In step S1109, the lens MPU 124 determines whether or not the reference angular velocity W (n) is greater than the predetermined angular velocity Wc. When the panning reference angle W (n) is larger than the predetermined angular velocity Wc (W (n)> Wc), the process proceeds to step S1110, and the lens MPU 124 performs prediction correction of the reference angular velocity. On the other hand, if the panning reference angle W (n) is not larger than the predetermined angular velocity Wc, the process proceeds to step S1111 and the lens MPU 124 does not perform prediction correction of the reference angular velocity.

以上のように、露光前に基準角速度が所定角速度よりも大きい場合、基準角速度の予測補正を実施する。露光中は、予測補正された基準角速度と角速度との偏差を補正するように像ブレ補正レンズを駆動することにより、流し撮り誤差が補正されたきれいな流し撮り写真を撮影することができる。   As described above, when the reference angular velocity is larger than the predetermined angular velocity before exposure, prediction correction of the reference angular velocity is performed. During the exposure, by driving the image blur correction lens so as to correct the deviation between the predicted reference angular velocity and the angular velocity, it is possible to take a clean panning photograph in which the panning error is corrected.

なお各実施形態では、ライブビュー撮影で被写体像を観察するカメラの例を説明したが、光学ファインダに配置された測光センサにより被写体のベクトル情報を算出することが可能であれば同様の効果を得ることができる。   In each embodiment, an example of a camera that observes a subject image in live view shooting has been described. However, the same effect can be obtained if vector information of a subject can be calculated by a photometric sensor arranged in an optical viewfinder. be able to.

このように各実施形態において、像ブレ補正装置は、像ブレ補正を行う補正手段(像ブレ補正制御回路132)、算出手段124a、および、制御手段124bを有する。算出手段124aは、流し撮り撮影に用いられる露光中の基準角速度(Wref)を算出する。制御手段124bは、露光中の基準角速度(Wref)と角速度センサ135からの角速度(Wa)との差に基づいて流し撮り撮影を行うように補正手段を制御する。また算出手段124aは、動きベクトル検出手段(映像信号処理回路117)により検出された動きベクトルと角速度センサ135からの角速度とに基づいて算出された露光開始前の基準角速度(W(n))に応じて、露光中の基準角速度(Wref)を算出する。   As described above, in each embodiment, the image blur correction apparatus includes a correction unit (image blur correction control circuit 132) that performs image blur correction, a calculation unit 124a, and a control unit 124b. The calculating unit 124a calculates a reference angular velocity (Wref) during exposure used for panning shot shooting. The control unit 124b controls the correction unit to perform panning based on the difference between the reference angular velocity (Wref) during exposure and the angular velocity (Wa) from the angular velocity sensor 135. The calculating unit 124a sets the reference angular velocity (W (n)) before the start of exposure calculated based on the motion vector detected by the motion vector detecting unit (video signal processing circuit 117) and the angular velocity from the angular velocity sensor 135. In response, a reference angular velocity (Wref) during exposure is calculated.

好ましくは、算出手段124aは、露光開始前に連続的に算出された複数の基準角速度の変化量(ΔW(n)〜ΔW(n−3))が同じ極性である場合、この変化量(露光直前の変化量ΔW(n))に基づいて露光中の基準角速度を算出する(S909、S910)。より好ましくは、算出手段124aは、複数の変化量が同じ極性でない場合、露光開始前に連続的に算出された複数の基準角速度のうち最後に算出された基準角速度(W(n))を、露光中の基準角速度(Wref)として設定する(S909、S911)。   Preferably, when the plurality of reference angular velocity change amounts (ΔW (n) to ΔW (n−3)) continuously calculated before the start of exposure have the same polarity, the calculation unit 124a determines this change amount (exposure). A reference angular velocity during exposure is calculated based on the immediately preceding change amount ΔW (n)) (S909, S910). More preferably, the calculation unit 124a calculates a reference angular velocity (W (n)) calculated last among a plurality of reference angular velocities continuously calculated before the start of exposure when the plurality of variations are not of the same polarity. It is set as a reference angular velocity (Wref) during exposure (S909, S911).

好ましくは、算出手段124aは、動きベクトルを取得するフレームレート(駆動フレームレート)に応じて、極性判定に用いられる複数の変化量の数を変更する(S1009、S1010、S1012)。より好ましくは、算出手段124aは、フレームレートが所定のフレームレート(例えば30fps)よりも速い場合、複数の変化量の数を第1の数(例えば4)に設定する。また算出手段124aは、フレームレートが所定のフレームレートよりも遅い場合、複数の変化量の数を第1の数よりも小さい第2の数(例えば2)に設定する(S1009、S1010、S1012)。   Preferably, the calculation unit 124a changes the number of a plurality of change amounts used for polarity determination according to a frame rate (drive frame rate) for acquiring a motion vector (S1009, S1010, S1012). More preferably, when the frame rate is faster than a predetermined frame rate (for example, 30 fps), the calculating unit 124a sets the number of the plurality of change amounts to the first number (for example, 4). In addition, when the frame rate is slower than the predetermined frame rate, the calculation unit 124a sets the number of the plurality of change amounts to a second number (for example, 2) smaller than the first number (S1009, S1010, S1012). .

好ましくは、算出手段124aは、露光開始前の基準角速度(W(n))が所定の角速度(Wc)よりも大きい場合、露光開始前に連続的に算出された複数の基準角速度の変化量(ΔW(n))に基づいて露光中の基準角速度を算出する。より好ましくは、算出手段124aは、露光開始前の基準角速度(W(n))が所定の角速度(Wc)よりも小さい場合、複数の基準角速度のうち最後に算出された基準角速度(W(n))を、前記露光中の基準角速度(Wref)として設定する。   Preferably, when the reference angular velocity (W (n)) before the start of exposure is greater than a predetermined angular velocity (Wc), the calculation unit 124a can calculate a plurality of reference angular velocity changes (B) continuously calculated before the start of exposure ( Based on ΔW (n)), a reference angular velocity during exposure is calculated. More preferably, when the reference angular velocity (W (n)) before the start of exposure is smaller than the predetermined angular velocity (Wc), the calculating unit 124a calculates the last calculated reference angular velocity (W (n )) Is set as the reference angular velocity (Wref) during the exposure.

好ましくは、露光中の基準角速度は、流し撮り撮影の際に動きベクトルと角速度との差が0になる角速度である。また好ましくは、制御手段124bは、露光開始前に像ブレ補正を行わないように補正手段を制御する。   Preferably, the reference angular velocity during exposure is an angular velocity at which the difference between the motion vector and the angular velocity is zero during panning shooting. Preferably, the control unit 124b controls the correction unit so as not to perform image blur correction before the start of exposure.

各実施形態において、露光開始前に算出される流し撮りをしている基準角速度の変化が連続して同じ極性であれば、加速または減速である可能性が高いため、基準角速度の変化を予測補正しやすい。この場合、露光前の基準角速度の変化量から、露光中の基準角速度を予測補正し、露光中は予測補正された基準角速度を用いて、流し撮り誤差補正を行うことにより、高精度の流し撮り補正が可能となる。また、露光前に算出される基準角速度が所定角速度よりも小さい場合、基準角速度の変化も少ないと予想される。この場合、基準角速度の予測補正を行わず、流し撮り誤差補正を行うことで、高精度の流し撮り補正が可能となる。このため各実施形態によれば、流し撮り誤差を高精度に補正することが可能な像ブレ補正装置、レンズ装置、および、撮像装置を提供することができる。   In each embodiment, if the change in the reference angular velocity calculated for the panning shot before the start of exposure is continuously the same polarity, there is a high possibility of acceleration or deceleration, so the change in the reference angular velocity is predicted and corrected. It's easy to do. In this case, the reference angular velocity during exposure is predicted and corrected from the amount of change in the reference angular velocity before exposure, and the panning error is corrected using the reference angular velocity that is predicted and corrected during exposure. Correction is possible. Further, when the reference angular velocity calculated before exposure is smaller than the predetermined angular velocity, it is expected that the change in the reference angular velocity is small. In this case, by performing the panning error correction without performing the prediction correction of the reference angular velocity, it is possible to perform the panning correction with high accuracy. Therefore, according to each embodiment, it is possible to provide an image blur correction device, a lens device, and an imaging device that can correct a panning error with high accuracy.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。   As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary.

各実施形態では、像ブレ補正制御回路132、算出手段124a、および、制御手段124bの全てが交換レンズ112に含まれるものとして説明したが、これらの少なくとも一部がカメラ本体111に含まれるように構成してもよい。例えば、基準角速度を算出する算出手段がカメラ本体111(カメラMPU114)に含まれるように構成することができる。この場合、インターフェース回路122、123(通信手段)を介して、基準角速度を示す情報や角速度センサ135からの振れ信号がカメラ本体111と交換レンズ112との間で送受信される。   In each embodiment, the image blur correction control circuit 132, the calculation unit 124a, and the control unit 124b are all included in the interchangeable lens 112. However, at least a part of them is included in the camera body 111. It may be configured. For example, the camera main body 111 (camera MPU 114) can be configured to include calculation means for calculating the reference angular velocity. In this case, information indicating the reference angular velocity and a shake signal from the angular velocity sensor 135 are transmitted and received between the camera body 111 and the interchangeable lens 112 via the interface circuits 122 and 123 (communication means).

124 レンズCPU
124a 算出手段
124b 制御手段
132 像ブレ補正制御回路(補正手段)
124 Lens CPU
124a calculation means 124b control means 132 image blur correction control circuit (correction means)

Claims (14)

像ブレ補正を行う補正手段と、
流し撮り撮影に用いられる露光中の基準角速度を算出する算出手段と、
前記露光中の基準角速度と角速度センサからの角速度との差に基づいて前記流し撮り撮影を行うように前記補正手段を制御する制御手段と、を有し、
前記算出手段は、動きベクトルと前記角速度センサからの前記角速度とに基づいて算出された露光開始前の基準角速度に応じて、前記露光中の基準角速度を算出する、ことを特徴とする像ブレ補正装置。
Correction means for performing image blur correction;
A calculation means for calculating a reference angular velocity during exposure used for panning shooting;
Control means for controlling the correction means to perform the panning shot based on the difference between the reference angular velocity during the exposure and the angular velocity from the angular velocity sensor;
The calculation means calculates the reference angular velocity during the exposure based on a reference angular velocity before the start of exposure calculated based on a motion vector and the angular velocity from the angular velocity sensor. apparatus.
前記算出手段は、前記露光開始前に連続的に算出された複数の基準角速度の複数の変化量が同じ極性である場合、該変化量に基づいて前記露光中の基準角速度を算出することを特徴とする請求項1に記載の像ブレ補正装置。   The calculation means calculates a reference angular velocity during the exposure based on the change amount when a plurality of change amounts of the reference angular velocity continuously calculated before the start of exposure have the same polarity. The image blur correction device according to claim 1. 前記算出手段は、前記複数の変化量が同じ極性でない場合、露光開始前に連続的に算出された複数の基準角速度のうち最後に算出された基準角速度を、前記露光中の基準角速度として設定することを特徴とする請求項2に記載の像ブレ補正装置。   The calculation means sets, as a reference angular velocity during the exposure, a reference angular velocity calculated last among a plurality of reference angular velocities continuously calculated before the start of exposure when the plurality of changes are not of the same polarity. The image blur correction device according to claim 2. 前記算出手段は、前記動きベクトルを取得するフレームレートに応じて、極性判定に用いられる前記複数の変化量の数を変更することを特徴とする請求項2または3に記載の像ブレ補正装置。   The image blur correction apparatus according to claim 2, wherein the calculation unit changes the number of the plurality of change amounts used for polarity determination according to a frame rate at which the motion vector is acquired. 前記算出手段は、
前記フレームレートが所定のフレームレートよりも速い場合、前記複数の変化量の数を第1の数に設定し、
前記フレームレートが前記所定のフレームレートよりも遅い場合、前記複数の変化量の数を前記第1の数よりも小さい第2の数に設定することを特徴とする請求項4に記載の像ブレ補正装置。
The calculating means includes
When the frame rate is faster than a predetermined frame rate, the number of the plurality of changes is set to a first number,
5. The image blur according to claim 4, wherein when the frame rate is slower than the predetermined frame rate, the number of the plurality of change amounts is set to a second number smaller than the first number. Correction device.
前記算出手段は、前記露光開始前の基準角速度が所定の角速度よりも大きい場合、前記露光開始前に連続的に算出された複数の基準角速度の変化量に基づいて前記露光中の基準角速度を算出することを特徴とする請求項1に記載の像ブレ補正装置。   When the reference angular velocity before the start of exposure is greater than a predetermined angular velocity, the calculating means calculates the reference angular velocity during the exposure based on a plurality of reference angular velocity changes continuously calculated before the start of exposure. The image blur correction device according to claim 1, wherein: 前記算出手段は、前記露光開始前の基準角速度が前記所定の角速度よりも小さい場合、前記複数の基準角速度のうち最後に算出された基準角速度を、前記露光中の基準角速度として設定することを特徴とする請求項6に記載の像ブレ補正装置。   The calculating means sets a reference angular velocity calculated last among the plurality of reference angular velocities as a reference angular velocity during the exposure when a reference angular velocity before the start of exposure is smaller than the predetermined angular velocity. The image blur correction device according to claim 6. 前記露光中の基準角速度は、前記流し撮り撮影の際に前記動きベクトルと前記角速度との差が0になる角速度であることを特徴とする請求項1乃至7のいずれか1項に記載の像ブレ補正装置。   The image according to any one of claims 1 to 7, wherein the reference angular velocity during the exposure is an angular velocity at which a difference between the motion vector and the angular velocity is zero at the time of the panning photographing. Blur correction device. 前記制御手段は、前記露光開始前に前記像ブレ補正を行わないように前記補正手段を制御することを特徴とする請求項1乃至8のいずれか1項に記載の像ブレ補正装置。   The image blur correction apparatus according to claim 1, wherein the control unit controls the correction unit so as not to perform the image blur correction before the exposure is started. 前記制御手段は、
前記露光中の基準角速度と前記角速度センサからの前記角速度との差を積分して角変位データを算出し、
前記角変位データに基づいて前記像ブレ補正を行うように前記補正手段を制御することを特徴とする請求項1乃至9のいずれか1項に記載の像ブレ補正装置。
The control means includes
Integrating the difference between the reference angular velocity during the exposure and the angular velocity from the angular velocity sensor to calculate angular displacement data,
The image blur correction apparatus according to claim 1, wherein the correction unit is controlled to perform the image blur correction based on the angular displacement data.
角速度を検出する角速度センサと、
前記角速度と動きベクトルとに基づいて像ブレ補正を行う補正手段と、
流し撮り撮影に用いられる露光中の基準角速度を算出する算出手段と、
前記露光中の基準角速度と前記前記角速度との差に基づいて前記流し撮り撮影を行うように前記補正手段を制御する制御手段と、を有し、
前記算出手段は、前記動きベクトルと前記角速度とに基づいて算出された露光開始前の基準角速度に応じて、前記露光中の基準角速度を算出する、ことを特徴とするレンズ装置。
An angular velocity sensor for detecting angular velocity;
Correction means for performing image blur correction based on the angular velocity and the motion vector;
A calculation means for calculating a reference angular velocity during exposure used for panning shooting;
Control means for controlling the correction means to perform the panning shot based on the difference between the reference angular velocity during the exposure and the angular velocity;
The lens device according to claim 1, wherein the calculating means calculates a reference angular velocity during the exposure according to a reference angular velocity before the start of exposure calculated based on the motion vector and the angular velocity.
撮像装置に着脱可能なレンズ装置であって、
角速度を検出する角速度センサと、
前記角速度と動きベクトルとに基づいて像ブレ補正を行う補正手段と、
露光中の基準角速度と前記角速度との差に基づいて流し撮り撮影を行うように前記補正手段を制御する制御手段と、
前記撮像装置と通信する通信手段と、を有し、
前記通信手段は、
前記角速度を前記撮像装置へ送信し、
前記露光中の基準角速度を前記撮像装置から受信し、
前記露光中の基準角速度は、前記動きベクトルと前記角速度とに基づいて算出された露光開始前の基準角速度に応じて算出される、ことを特徴とするレンズ装置。
A lens device detachable from an imaging device,
An angular velocity sensor for detecting angular velocity;
Correction means for performing image blur correction based on the angular velocity and the motion vector;
Control means for controlling the correction means to perform panning based on the difference between the reference angular velocity during exposure and the angular velocity;
Communication means for communicating with the imaging device,
The communication means includes
Transmitting the angular velocity to the imaging device;
Receiving a reference angular velocity during the exposure from the imaging device;
The lens apparatus according to claim 1, wherein the reference angular velocity during the exposure is calculated according to a reference angular velocity before the start of exposure calculated based on the motion vector and the angular velocity.
レンズ装置が着脱可能な撮像装置であって、
動きベクトルを検出する動きベクトル検出手段と、
流し撮り撮影に用いられる露光中の基準角速度を算出する算出手段と、
前記レンズ装置と通信する通信手段と、を有し、
前記通信手段は、角速度センサからの角速度を前記レンズ装置から受信し、
前記算出手段は、前記動きベクトルと前記角速度とに基づいて算出された露光開始前の基準角速度に応じて、前記露光中の基準角速度を算出し、
前記通信手段は、前記露光中の基準角速度を前記レンズ装置へ送信する、ことを特徴とする撮像装置。
An imaging device in which a lens device is detachable,
Motion vector detection means for detecting a motion vector;
A calculation means for calculating a reference angular velocity during exposure used for panning shooting;
Communication means for communicating with the lens device,
The communication means receives an angular velocity from an angular velocity sensor from the lens device,
The calculating means calculates a reference angular velocity during the exposure according to a reference angular velocity before the start of exposure calculated based on the motion vector and the angular velocity,
The imaging device, wherein the communication means transmits a reference angular velocity during the exposure to the lens device.
角速度を検出する角速度センサと、
動きベクトルを検出する動きベクトル検出手段と、
前記角速度と前記動きベクトルとに基づいて像ブレ補正を行う補正手段と、
流し撮り撮影に用いられる露光中の基準角速度を算出する算出手段と、
前記露光中の基準角速度と前記角速度との差に基づいて前記流し撮り撮影を行うように前記補正手段を制御する制御手段と、を有し、
前記算出手段は、前記動きベクトルと前記角速度とに基づいて算出された露光開始前の基準角速度に応じて、前記露光中の基準角速度を算出する、ことを特徴とする撮像システム。
An angular velocity sensor for detecting angular velocity;
Motion vector detection means for detecting a motion vector;
Correction means for performing image blur correction based on the angular velocity and the motion vector;
A calculation means for calculating a reference angular velocity during exposure used for panning shooting;
Control means for controlling the correction means to perform the panning shot based on the difference between the reference angular velocity during the exposure and the angular velocity,
The imaging system according to claim 1, wherein the calculating means calculates a reference angular velocity during the exposure according to a reference angular velocity before the start of exposure calculated based on the motion vector and the angular velocity.
JP2016142907A 2016-07-21 2016-07-21 Image shake correction device, lens device, imaging device, and imaging system Pending JP2018013602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016142907A JP2018013602A (en) 2016-07-21 2016-07-21 Image shake correction device, lens device, imaging device, and imaging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016142907A JP2018013602A (en) 2016-07-21 2016-07-21 Image shake correction device, lens device, imaging device, and imaging system

Publications (1)

Publication Number Publication Date
JP2018013602A true JP2018013602A (en) 2018-01-25

Family

ID=61019608

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016142907A Pending JP2018013602A (en) 2016-07-21 2016-07-21 Image shake correction device, lens device, imaging device, and imaging system

Country Status (1)

Country Link
JP (1) JP2018013602A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023007789A1 (en) * 2021-07-28 2023-02-02 ソニーグループ株式会社 Inertial measurement unit, method for operating inertial measurement unit, imaging device, display device, and program
JP7451152B2 (en) 2019-11-26 2024-03-18 キヤノン株式会社 Imaging device, control method and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7451152B2 (en) 2019-11-26 2024-03-18 キヤノン株式会社 Imaging device, control method and computer program
WO2023007789A1 (en) * 2021-07-28 2023-02-02 ソニーグループ株式会社 Inertial measurement unit, method for operating inertial measurement unit, imaging device, display device, and program

Similar Documents

Publication Publication Date Title
JP6711608B2 (en) Control device and lens device
JP6246015B2 (en) Image processing apparatus and control method thereof
KR101951076B1 (en) Image capturing apparatus, control method thereof and computer program therefor
CN107786809B (en) Image pickup and accessory apparatus, communication control method thereof, image pickup system, and storage medium
US9900513B2 (en) Control apparatus, optical apparatus, and lens apparatus
JP7013199B2 (en) Image pickup device and its control method
JP2010271697A (en) Interchangeable lens, camera body, and camera system
JP6809554B2 (en) Lens barrel
JP2015185925A (en) Imaging device and control method thereof
JP6643159B2 (en) Lens device, control device, and control method thereof
JP4957479B2 (en) Camera shake correction control device, camera body including the same, and interchangeable lens
JP2018013602A (en) Image shake correction device, lens device, imaging device, and imaging system
JP5264394B2 (en) Optical equipment
JP2015145901A (en) Imaging apparatus
JP2015197562A (en) Optical equipment, imaging device having optical equipment, and control method for optical equipment
JP7346076B2 (en) Control device, lens device, imaging device, control method, and program
JP2015052735A (en) Lens device, imaging apparatus, imaging system, method for controlling lens device, program, and storage medium
JP2019095630A (en) Optical instrument having image tremor correction device
JP2020148999A (en) Control device, imaging device, lens device, control method, and program
JP6278798B2 (en) Imaging apparatus, control method thereof, and program
JP7119905B2 (en) Arithmetic unit, interchangeable lens, camera body and imaging device
JP7451152B2 (en) Imaging device, control method and computer program
JP2018194770A (en) Camera system, interchangeable and camera
JP2016213648A (en) Imaging apparatus, lens apparatus, control method of imaging apparatus, and control method of lens apparatus
JP5135813B2 (en) Optical system drive device and camera