JP6645165B2 - Shake state determination device and imaging device - Google Patents

Shake state determination device and imaging device Download PDF

Info

Publication number
JP6645165B2
JP6645165B2 JP2015244621A JP2015244621A JP6645165B2 JP 6645165 B2 JP6645165 B2 JP 6645165B2 JP 2015244621 A JP2015244621 A JP 2015244621A JP 2015244621 A JP2015244621 A JP 2015244621A JP 6645165 B2 JP6645165 B2 JP 6645165B2
Authority
JP
Japan
Prior art keywords
shake
panning
pan
signal
score
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
JP2015244621A
Other languages
Japanese (ja)
Other versions
JP2017111258A (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.)
Ricoh Imaging Co Ltd
Original Assignee
Ricoh Imaging Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Imaging Co Ltd filed Critical Ricoh Imaging Co Ltd
Priority to JP2015244621A priority Critical patent/JP6645165B2/en
Publication of JP2017111258A publication Critical patent/JP2017111258A/en
Application granted granted Critical
Publication of JP6645165B2 publication Critical patent/JP6645165B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、手ぶれ補正機能付き撮像装置において実行される振れ検出処理に関する。   The present invention relates to a shake detection process performed in an image pickup apparatus with a camera shake correction function.

ジャイロ信号にはオフセット電圧などが含まれるため、ジャイロ信号を用いて防振制御を行う場合には、オフセット電圧を含む低周波ノイズを軽減させるためにハイパスフィルタ(HPF)を通してジャイロ信号を用いる。しかし、制御開始の前にパンニングなど大きな振れが検出されると、ハイパスフィルタの過渡応答の影響で、正しいフィルタリングを行うことができず、適切な防振制御ができない。そこで、パンニングが検出される際にジャイロのハイパスフィルタをリセットし、過渡応答を軽減する技術が知られている。例えば、パンニング発生後の過渡応答を抑制する目的で、ハイパスフィルタの出力が閾値以上のときにパンニング開始と判断し、ハイパスフィルタをリセットする構成が開示されている(特許文献1参照)。   Since the gyro signal includes an offset voltage and the like, when performing anti-shake control using the gyro signal, the gyro signal is used through a high-pass filter (HPF) to reduce low-frequency noise including the offset voltage. However, if large shake such as panning is detected before the start of control, correct filtering cannot be performed due to the influence of the transient response of the high-pass filter, and appropriate image stabilization control cannot be performed. Therefore, there is known a technique for resetting a high-pass filter of a gyro when panning is detected to reduce a transient response. For example, for the purpose of suppressing a transient response after occurrence of panning, a configuration is disclosed in which when the output of the high-pass filter is equal to or larger than a threshold, panning is determined to start and the high-pass filter is reset (see Patent Document 1).

特開2007−324929号公報JP 2007-324929 A

特許文献1の制御では、パンニングが終了する正確なタイミングでハイパスフィルタのリセットを完了しなければ、充分な効果を得ることができないが、パンニング終了など振れ状態の変化のタイミングを高精度に検知するのは困難である。   In the control of Patent Literature 1, a sufficient effect cannot be obtained unless the reset of the high-pass filter is completed at an accurate timing at which the panning ends, but the timing of a change in the shake state such as the end of the panning is detected with high accuracy. It is difficult.

本発明は、振れ状態の変化を精度良く検知することを目的とする。   An object of the present invention is to accurately detect a change in a shake state.

本発明の振れ状態判定装置は、振れ信号に対し、所定の周波数成分をカットするフィルタリング手段と、フィルタリング手段によってフィルタリングされた出力の状態に応じた評価を行う振れ信号評価手段と、評価に基づいて振れ状態の変化の有無を判定する判定手段とを備えたことを特徴としている。   A shake state determination device according to the present invention includes: a shaker that filters a shake signal to remove a predetermined frequency component; a shaker signal evaluator that performs an evaluation according to a state of an output filtered by the filterr; A determination unit configured to determine whether or not the shake state has changed.

振れ信号評価手段は、所定のルールに基づき上記出力に対して点数を付ける採点手段を備え、判定手段は、採点手段によって求められた点数に基づいてパンニングの終了を判定する。振れ信号評価手段は、採点手段によって求められた点数に基づいてパンニング開始を判定する判定手段を更に備えることが好ましい。フィルタリング手段は、例えば振れ信号に対する所定のカットオフ周波数を有するハイパスフィルタと、振れ信号に対する所定のカットオフ周波数を有するローパスフィルタである。   The shake signal evaluation unit includes a scoring unit that assigns a score to the output based on a predetermined rule, and the determination unit determines the end of panning based on the score obtained by the scoring unit. It is preferable that the shake signal evaluation means further includes a determination means for determining the start of panning based on the score obtained by the scoring means. The filtering means is, for example, a high-pass filter having a predetermined cut-off frequency for the shake signal and a low-pass filter having a predetermined cut-off frequency for the shake signal.

採点手段は、例えば、フィルタリングされた出力に対し、段階的に設定された閾値と点数の表に基づいて採点を行う。また、採点手段は、フィルタリングされた出力に対し、N次の関数を用いて点数を計算してもよい。   The scoring unit scores, for example, the filtered output based on a table of thresholds and scores set in stages. Further, the scoring means may calculate a score for the filtered output using an N-order function.

採点手段は、例えばヨー方向の振れ信号に対する所定のカットオフ周波数のハイパスフィルタの出力と、ヨー方向の振れ信号に対する所定のカットオフ周波数のローパスフィルタの出力と、ピッチ方向の振れ信号に対する所定のカットオフ周波数のハイパスフィルタの出力と、ピッチ方向の振れ信号に対する所定のカットオフ周波数のローパスフィルタの出力とに点数を付ける。また、採点手段は更に、ロール方向の振れ信号に対する所定のカットオフ周波数のハイパスフィルタの出力と、ロール方向の振れ信号に対する所定のカットオフ周波数のローパスフィルタの出力とに点数を付けてもよい。   The scoring means includes, for example, an output of a high-pass filter having a predetermined cutoff frequency for a yaw direction shake signal, an output of a low-pass filter having a predetermined cutoff frequency for a yaw direction shake signal, and a predetermined cutoff for a pitch direction shake signal. Points are assigned to the output of the high-pass filter of the off-frequency and the output of the low-pass filter of the predetermined cutoff frequency for the shake signal in the pitch direction. Further, the scoring unit may further assign a score to the output of the high-pass filter having a predetermined cutoff frequency for the roll direction shake signal and the output of the low-pass filter having the predetermined cutoff frequency for the roll direction shake signal.

判定手段は、例えばヨー方向、ピッチ方向の点数の合計、もしくは、ヨー方向の点数の合計、もしくは、ピッチ方向の点数の合計と所定の閾値との比較により、パンニング開始と判断する。また、振れ信号評価手段は、パンニング終了と判断されたタイミングで、振れ補正用の制御目標値を算出するために振れ信号に対し施されるハイパスフィルタをリセットすることが好ましい。   The judging means judges that the panning has started by comparing the total score in the yaw direction and the pitch direction, the total score in the yaw direction, or the total score in the pitch direction with a predetermined threshold value. In addition, it is preferable that the shake signal evaluation means resets a high-pass filter applied to the shake signal to calculate a control target value for shake correction at a timing when it is determined that panning has been completed.

判定手段は、例えばヨー方向の点数が所定閾値以上、ピッチ方向の点数が所定閾値以下のときに、ピッチ方向に対して流し撮り状態にあると判断する。また、判定手段は、例えばピッチ方向の点数が閾値以上、ヨー方向の点数が閾値以下のときに、ヨー方向の対して流し撮り状態にあると判断する。   For example, when the score in the yaw direction is equal to or more than a predetermined threshold value and the score in the pitch direction is equal to or less than a predetermined threshold value, the determination unit determines that the camera is in the panning state in the pitch direction. In addition, for example, when the score in the pitch direction is equal to or more than the threshold value and the score in the yaw direction is equal to or less than the threshold value, the determination unit determines that the panning is performed in the yaw direction.

本発明の撮像装置は、上記の何れかに記載の振れ信号評価手段と、振れ信号を検出する振れ検出手段と、振れ信号に基づき振れ補正を行う振れ補正手段とを備えることを特徴としている。   According to another aspect of the invention, there is provided an imaging apparatus including: the shake signal evaluation unit described above; a shake detection unit that detects a shake signal; and a shake correction unit that performs shake correction based on the shake signal.

本発明によれば、振れ状態の変化を精度良く検知することができる。   According to the present invention, it is possible to accurately detect a change in the shake state.

本発明の一実施形態である撮像装置の構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of an imaging device according to an embodiment of the present invention. センサ信号処理部の構成について説明するブロック図である。FIG. 3 is a block diagram illustrating a configuration of a sensor signal processing unit. 第1実施形態のパン開始/終了検出処理のフローチャートである。It is a flowchart of a pan start / end detection process of the first embodiment. パン開始/終了検出処理のステップS201で実行される第1実施形態のスコア計算処理のフローチャートである。It is a flowchart of the score calculation processing of 1st Embodiment performed in step S201 of bread start / end detection processing. 図4のスコア計算処理で用いられるスコア(点数)表を例示したものである。5 illustrates a score (point) table used in the score calculation processing of FIG. 4. 図3のステップS203で実行されるパン開始判定処理のフローチャートである。4 is a flowchart of a pan start determination process executed in step S203 of FIG. 図3のステップS204で実行されるパン終了判定処理のフローチャートである。4 is a flowchart of a pan end determination process executed in step S204 of FIG. 第2実施形態で用いられる流し撮り判定処理のフローチャートである。It is a flowchart of the follow shot determination processing used in the second embodiment. スコアを用いない第3実施形態のパン開始判定処理のフローチャートである。It is a flowchart of the bread start determination processing of 3rd Embodiment which does not use a score. 第4実施形態のパン開始/終了検出処理のフローチャートである。It is a flow chart of bread start / end detection processing of a 4th embodiment. 図10のステップS903で実行されるヨー軸に対する片軸用のパン開始判定処理のフローチャートである。11 is a flowchart of a one-axis pan start determination process for a yaw axis executed in step S903 in FIG. 10. 図10のステップS904で実行されるヨー軸に対する片軸用のパン終了判定処理のフローチャートである。11 is a flowchart of a one-axis pan end determination process for a yaw axis performed in step S904 of FIG. 10. 第5実施形態のパン開始/終了検出処理のフローチャートである。It is a flow chart of bread start / end detection processing of a 5th embodiment. スコアを用いない第6実施形態の流し撮り判定処理のフローチャートである。It is a flowchart of the follow shot determination processing of the sixth embodiment without using a score.

以下、本発明の実施の形態を、図面を参照して説明する。図1は、本発明の一実施形態である撮像装置の構成を示すブロック図である。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration of an imaging device according to an embodiment of the present invention.

本実施形態の撮像装置10は、例えばデジタルカメラである。デジタルカメラ10にはカメラ全体を制御するCPU18が設けられる。電源スイッチSWMAINは、デジタルカメラ10の表面に設けられた電源ボタン(図示せず)の操作によりオン・オフが制御される。電源スイッチSWMAINがオン状態になると、電池14からCPU18に電力が供給され、デジタルカメラ10が作動する。   The imaging device 10 of the present embodiment is, for example, a digital camera. The digital camera 10 is provided with a CPU 18 for controlling the entire camera. ON / OFF of the power switch SWMAIN is controlled by operating a power button (not shown) provided on the surface of the digital camera 10. When the power switch SWMAIN is turned on, power is supplied from the battery 14 to the CPU 18, and the digital camera 10 operates.

測光スイッチSWSはデジタルカメラ10の表面にあるシャッターボタン(図示せず)が半押しされるとオン状態になる。測光スイッチSWSがオン状態になると、CPU18は測光処理および測距処理を実行する。すなわち、CPU18は、測光装置11からの入力に基づいて露光値を演算し、この露光値に基づき撮影に必要となる絞り値、シャッタースピード、および撮像素子20の露光時間を演算する。ここで、CPU18は、ボタン操作によってユーザが選択した露光時間を設定することも可能である。   The photometric switch SWS is turned on when a shutter button (not shown) on the surface of the digital camera 10 is half-pressed. When the photometry switch SWS is turned on, the CPU 18 executes a photometry process and a distance measurement process. That is, the CPU 18 calculates an exposure value based on an input from the photometric device 11, and calculates an aperture value, a shutter speed, and an exposure time of the image sensor 20 required for photographing based on the exposure value. Here, the CPU 18 can also set the exposure time selected by the user by operating the button.

また、CPU18は、測距装置12からの入力に基づいて撮影レンズ16の駆動量を演算し、フォーカス駆動回路21に制御信号を出力する。その結果、フォーカス駆動回路21から撮影レンズ16へ駆動信号が出力される。   Further, the CPU 18 calculates a driving amount of the photographing lens 16 based on an input from the distance measuring device 12 and outputs a control signal to the focus driving circuit 21. As a result, a drive signal is output from the focus drive circuit 21 to the photographing lens 16.

レリーズスイッチSWRはシャッターボタンが全押しされるとオン状態になる。レリーズスイッチSWRがオン状態になると、測光処理で算出した絞り値に応じて絞り駆動機構およびシャッター(いずれも図示せず)の駆動量がCPU18により演算される。そして、演算結果に基づいてCPU18から絞り駆動回路22およびシャッター駆動回路23へ制御信号が出力される。   The release switch SWR is turned on when the shutter button is fully pressed. When the release switch SWR is turned on, the CPU 18 calculates a drive amount of an aperture driving mechanism and a shutter (neither is shown) according to the aperture value calculated in the photometric processing. Then, a control signal is output from the CPU 18 to the aperture drive circuit 22 and the shutter drive circuit 23 based on the calculation result.

さらに、絞り駆動回路22から駆動信号が絞り駆動機構(図示せず)へ出力され、それにより絞り駆動機構が駆動される。絞り駆動機構が駆動されるとその動きは絞り(図示せず)に伝達され、絞りの開口径が所定の大きさに定められる。また、シャッター駆動回路23から駆動信号がシャッターへ出力され、それによりシャッターが所定時間開放される。以上の制御により撮影レンズ16を通過した光が撮像素子20の受光面に入射する。   Further, a drive signal is output from the aperture drive circuit 22 to an aperture drive mechanism (not shown), whereby the aperture drive mechanism is driven. When the aperture driving mechanism is driven, its movement is transmitted to an aperture (not shown), and the aperture diameter of the aperture is determined to a predetermined size. Further, a drive signal is output from the shutter drive circuit 23 to the shutter, whereby the shutter is opened for a predetermined time. With the above control, the light passing through the photographing lens 16 is incident on the light receiving surface of the image sensor 20.

上述の電荷蓄積時間に基づいて撮像素子駆動回路24へ制御信号が出力され、撮像素子駆動回路24から撮像素子20へ駆動信号が出力される。撮像素子20は、受光領域に結像された被写体の光学像を光電変換し、アナログ画像信号を出力する。アナログ画像信号はA/D変換回路25でデジタル画像信号へ変換され、CPU18へ入力される。   A control signal is output to the image sensor drive circuit 24 based on the above-described charge accumulation time, and a drive signal is output from the image sensor drive circuit 24 to the image sensor 20. The image sensor 20 photoelectrically converts the optical image of the subject formed in the light receiving area, and outputs an analog image signal. The analog image signal is converted into a digital image signal by the A / D conversion circuit 25 and input to the CPU 18.

デジタル画像信号には、CPU18の制御に基づいて所定の画像処理が施される。DRAM30には、画像処理の過程において画像データが一時的に格納される。所定の画像処理が施された画像データは、カメラ本体の背面に設けられたモニタ(LCD)31に表示される。EEPROM32には、カメラを動かすための各種プログラム等が格納されている。また、被写体の光量が不十分なときは、CPUからフラッシュ回路33へ駆動信号が出力され、フラッシュ光が供給される。   The digital image signal is subjected to predetermined image processing under the control of the CPU 18. The image data is temporarily stored in the DRAM 30 during the image processing. The image data subjected to the predetermined image processing is displayed on a monitor (LCD) 31 provided on the back of the camera body. The EEPROM 32 stores various programs for moving the camera. When the light amount of the subject is insufficient, a drive signal is output from the CPU to the flash circuit 33, and the flash light is supplied.

また、デジタルカメラ10は、手ぶれ補正機構(振れ補正手段)80を備える。本実施形態の手ぶれ補正機構80は、撮像素子20を移動することで手ぶれを相殺するものであり、例えばデジタルカメラ10のレンズが向けられた方向に対するヨー角速度、ピッチ角速度をジャイロセンサで検出する。各ジャイロセンサは、例えば振れ検出センサ81に設けられ、角速度信号などのジャイロセンサからの信号(ジャイロ信号、あるいは振れ信号)は、後述するセンサ信号処理部82へと入力され、制御目標値が算出されて同値が手ぶれ補正機構80へと出力される。また、CPU18は、センサ信号処理部82からの信号に基づいてカメラのパンニングの開始、パンニングの終了のタイミングを検出する(パン開始/終了検出の処理:後述)。   In addition, the digital camera 10 includes a camera shake correction mechanism (shake correction means) 80. The camera shake correction mechanism 80 according to the present embodiment cancels camera shake by moving the image sensor 20, and detects, for example, a yaw angular velocity and a pitch angular velocity in a direction in which the lens of the digital camera 10 is directed by a gyro sensor. Each gyro sensor is provided in, for example, a shake detection sensor 81, and a signal (gyro signal or shake signal) from the gyro sensor such as an angular velocity signal is input to a sensor signal processing unit 82 described later, and a control target value is calculated. Then, the same value is output to the camera shake correction mechanism 80. In addition, the CPU 18 detects the start and end of panning of the camera based on a signal from the sensor signal processing unit 82 (pan start / end detection processing: described later).

次に、図2を参照して第1実施形態のセンサ信号処理部82の構成について説明する。なお、図2では、代表例として、ヨー角速度信号に対する振れ検出センサ81からの信号処理について説明するが、他の軸周りのセンサ信号に関しても同様である。   Next, the configuration of the sensor signal processing unit 82 of the first embodiment will be described with reference to FIG. In FIG. 2, signal processing from the shake detection sensor 81 for the yaw angular velocity signal is described as a representative example, but the same applies to sensor signals around other axes.

センサ信号処理部82では、まず振れ検出センサ81のジャイロセンサから入力される生の角速度信号(Gyro_YawR)101から、オフセット値(Gyro_Yaw Offset)102が差し引かれる。オフセット値除去後の角速度信号(Gyro_Yaw)103は、低周波ノイズを除去するために、カットオフ周波数fc=α[Hz]のハイパスフィルタ104を通して濾波される(直流成分カット)。ハイパスフィルタ104で濾波された角速度信号は、増幅器105で所定係数倍された後、積分部106で積算され、制御目標値107として計算される。   In the sensor signal processing section 82, first, an offset value (Gyro_Yaw Offset) 102 is subtracted from a raw angular velocity signal (Gyro_YawR) 101 input from the gyro sensor of the shake detection sensor 81. The angular velocity signal (Gyro_Yaw) 103 from which the offset value has been removed is filtered (DC component cut) through a high-pass filter 104 having a cutoff frequency fc = α [Hz] in order to remove low-frequency noise. The angular velocity signal filtered by the high-pass filter 104 is multiplied by a predetermined coefficient by an amplifier 105, integrated by an integration section 106, and calculated as a control target value 107.

また、本実施形態では、オフセット値除去後の角速度信号(Gyro_Yaw)103は、カットオフ周波数fc=β[Hz]のローパスフィルタ(LPF)108を通しても濾波され、低周波成分信号(Gyro_YawLPF)109として計算される。また更に、オフセット値除去後の角速度信号103から低周波成分信号(Gyro_YawLPF)109を差し引いた高周波成分信号(Gyro_YawHPF)110として計算される。   Further, in the present embodiment, the angular velocity signal (Gyro_Yaw) 103 from which the offset value has been removed is also filtered through a low-pass filter (LPF) 108 with a cutoff frequency fc = β [Hz], and becomes a low-frequency component signal (Gyro_YawLPF) 109. Is calculated. Further, it is calculated as a high-frequency component signal (Gyro_YawHPF) 110 obtained by subtracting the low-frequency component signal (Gyro_YawLPF) 109 from the angular velocity signal 103 from which the offset value has been removed.

高周波成分信号(Gyro_YawHPF)110は、オフセット値を除去した角速度信号(Gyro_Yaw)103に対して、ハイパスフィルタ104とは異なるハイパスフィルタを使用して計算しても良いが、本実施形態では、演算処理の効率化などを考慮して、オフセット値を除去した角速度信号(Gyro_Yaw)103から低周波成分信号(Gyro_YawLPF)109を差し引いたものを高周波成分信号(Gyro_YawHPF)110としている。なお、低周波成分信号(Gyro_YawLPF)109、高周波成分信号(Gyro_YawHPF)110は、CPU18へと送信される(図1参照)。なお、ピッチ角など他の軸周りの信号に対するカットオフ周波数fcは、ヨー角に対するものと同じであっても異なっていてもよく、好ましくはパンニング動作に対する各軸周りの角速度信号の応答特性に合わせて決定される。   The high-frequency component signal (Gyro_YawHPF) 110 may be calculated by using a high-pass filter different from the high-pass filter 104 with respect to the angular velocity signal (Gyro_Yaw) 103 from which the offset value has been removed. In consideration of, for example, efficiency improvement, the low-frequency component signal (Gyro_YawLPF) 109 is subtracted from the angular velocity signal (Gyro_Yaw) 103 from which the offset value has been removed to obtain a high-frequency component signal (Gyro_YawHPF) 110. The low-frequency component signal (Gyro_YawLPF) 109 and the high-frequency component signal (Gyro_YawHPF) 110 are transmitted to the CPU 18 (see FIG. 1). The cutoff frequency fc for signals around other axes such as the pitch angle may be the same as or different from that for the yaw angle, and is preferably adjusted to the response characteristic of the angular velocity signal around each axis to the panning operation. Is determined.

次に図3のフローチャートを参照して、第1実施形態におけるパン開始/終了検出処理について説明する。   Next, the pan start / end detection processing in the first embodiment will be described with reference to the flowchart of FIG.

第1実施形態のパン開始/終了検出処理は、基本的にカメラ起動後、カメラ電源オフまで継続して、所定のサンプリング周期で実行される。なお、露光中にパンの状態の判定が変更されると、防振制御が正しく行えない等の懸念がある。そのためレリーズ処理が開始してからレリーズ終了までの期間は、本パンニング開始/終了検出処理を禁止しても良い。   The pan start / end detection processing according to the first embodiment is basically executed at a predetermined sampling cycle after the camera is started and continuously until the camera is turned off. If the determination of the pan state is changed during the exposure, there is a concern that the image stabilization control cannot be performed correctly. Therefore, during the period from the start of the release process to the end of the release, the main panning start / end detection process may be prohibited.

パン開始/終了検出処理が開始すると、ステップS201において、パン開始/終了の判定用のスコア(点数)が計算される。次にステップS202において、現在の状態がパン発生状態であるか否かが判定され、パン発生状態でないと判定されると、ステップS203においてパン開始判定処理が実行され、本パン開始/終了検出処理は終了する。一方、ステップS202において、現在の状態がパン発生状態であると判定されると、ステップS204においてパン終了判定が実行され、本パン開始/終了検出処理は終了する。   When the pan start / end detection process starts, in step S201, a score (point) for judging pan start / end is calculated. Next, in step S202, it is determined whether or not the current state is a panning state. If it is determined that the panning state is not present, a pan start determination process is performed in step S203, and a main pan start / end detection process is performed. Ends. On the other hand, if it is determined in step S202 that the current state is a panning state, a pan end determination is performed in step S204, and the main pan start / end detection processing ends.

次に図4のフローチャートおよび図5のスコア(点数)表を参照して、図3のステップS201において実行される第1実施形態のスコア計算(採点)処理について説明する。なお、以下の説明では、ヨー角、ピッチ角を用いたスコア計算処理について説明するが、ロール角に対するスコアも含めることもできる。   Next, the score calculation (scoring) process of the first embodiment executed in step S201 of FIG. 3 will be described with reference to the flowchart of FIG. 4 and the score (point) table of FIG. In the following description, a score calculation process using a yaw angle and a pitch angle will be described, but a score for a roll angle can also be included.

本実施形態では、パン開始/終了判定を行うために、以下の所定のルールに基づいてスコアを計算する。まず、スコア計算処理(図3、ステップS201)では、ステップS301において、ヨー角に対する低周波成分信号(Gyro_YawLPF)109と高周波成分信号(Gyro_YawHPF)110、図2を参照して説明されたヨー角に対する信号処理と同様の手法によりセンサ信号処理部82において算出されるピッチ角に対する低周波成分信号(Gyro_PitchLPF)とピッチ角の高周波成分信号(Gyro_PitchHPF)について、それぞれのスコアが求められる。   In the present embodiment, in order to perform the pan start / end determination, a score is calculated based on the following predetermined rule. First, in the score calculation process (FIG. 3, step S201), in step S301, the low frequency component signal (Gyro_YawLPF) 109 and the high frequency component signal (Gyro_YawHPF) 110 for the yaw angle, and the yaw angle described with reference to FIG. The scores are obtained for the low frequency component signal (Gyro_PitchLPF) and the high frequency component signal (Gyro_PitchHPF) for the pitch angle calculated by the sensor signal processing unit 82 in the same manner as the signal processing.

信号Gyro_YawLPF、Gyro_YawHPF、Gyro_PitchLPF、Gyro_PitchHPFに対するスコアは、例えば図5に示されるテーブル303、304に基づいて決定される。すなわち、低周波成分信号に対するスコアは、テーブル303の閾値に基づき、例えばローパスフィルタ(LPF)を通した各低周波成分信号Gyro_YawLPF、Gyro_PitchLPFの絶対値ABS(LPF)が100以下ならば50点、100<ABS(LPF)≦150ならば30点、150<ABS(LPF)≦250ならば10点、ABS(LPF)>250ならば0点が付けられる。また、高周波成分信号に対するスコアは、テーブル304の閾値に基づき、例えばハイパスフィルタ(HPF)を通した各高周波成分信号の絶対値ABS(HPF)が50以下ならば30点、50<ABS(HPF)≦100ならば20点、100<ABS(HPF)≦150ならば10点、ABS(HPF)>150ならば0点が付けられる。   The scores for the signals Gyro_YawLPF, Gyro_YawHPF, Gyro_PitchLPF, and Gyro_PitchHPF are determined based on, for example, the tables 303 and 304 shown in FIG. That is, the score for the low-frequency component signal is based on the threshold value of the table 303, for example, 50 points if the absolute value ABS (LPF) of each low-frequency component signal Gyro_YawLPF and Gyro_PitchLPF passed through a low-pass filter (LPF) is 100 or less, 100 If <ABS (LPF) ≦ 150, 30 points are given; if 150 <ABS (LPF) ≦ 250, 10 points; if ABS (LPF)> 250, 0 points are given. The score for the high-frequency component signal is based on the threshold value of the table 304. For example, if the absolute value ABS (HPF) of each high-frequency component signal passed through a high-pass filter (HPF) is 50 or less, 30 points, and 50 <ABS (HPF) If ≤100, 20 points, if 100 <ABS (HPF) ≤150, 10 points, and if ABS (HPF)> 150, 0 points.

次にステップS302において、テーブル303に基づく低周波成分信号Gyro_YawLPFのスコアYawLPFとテーブル304に基づく高周波成分信号Gyro_YawHPFのスコアYawHPFの合計をヨー角のスコアYawとして求めるとともに、テーブル303に基づく低周波成分信号Gyro_PitchLPFのスコアPitchLPFとテーブル304に基づく高周波成分信号Gyro_PitchHPFのスコアPitchHPFの合計をピッチ角のスコアPitchとして求める。そして、スコアYawとスコアPtichの合計を、スコアYPとする。なお、本実施形態では、カメラの保持状態が安定状態に近いほど、高スコアになるように計算が行われる。   Next, in step S302, the sum of the score YawLPF of the low frequency component signal Gyro_YawLPF based on the table 303 and the score YawHPF of the high frequency component signal Gyro_YawHPF based on the table 304 is determined as a yaw angle score Yaw, and the low frequency component signal based on the table 303 is determined. The sum of the score PitchLPF of the Gyro_PitchLPF and the score PitchHPF of the high-frequency component signal Gyro_PitchHPF based on the table 304 is determined as the pitch Pitch of the pitch angle. Then, the sum of the score Yaw and the score Ptich is defined as a score YP. In the present embodiment, the calculation is performed such that the closer the holding state of the camera is to the stable state, the higher the score is.

図6は、図3のステップS203で実行されるパン開始判定処理のフローチャートである。図6を参照して本実施形態のパン開始判定処理について説明する。   FIG. 6 is a flowchart of the pan start determination process executed in step S203 of FIG. With reference to FIG. 6, the bread start determination processing according to the present embodiment will be described.

パン開始判定処理では、まずステップS401において第1閾値を用いてスコアYPの値をチェックする。スコアYPが第1閾値以下であると判定されると、処理はステップS403に進み、パン開始カウンタをインクリメントする。一方、ステップS401でスコアYPが第1閾値より大きいと判定されると、ステップS402において、スコアYawが第2閾値以下、またはスコアPitchが第2閾値以下であるか否かが判定される。スコアYaw、Pitchの何れかが第2閾値以下であれば、処理はステップS403へ進み、パン開始カウンタがインクリメントされる。一方、ステップS402でスコアYaw、スコアPitchが共に第2閾値より大きいと判定されると、次のパン開始判定に備えて、ステップS406においてパン開始カウンタをリセットし、本パン開始判定処理は終了する。   In the pan start determination processing, first, in step S401, the value of the score YP is checked using the first threshold value. If it is determined that the score YP is equal to or less than the first threshold, the process proceeds to step S403, and the pan start counter is incremented. On the other hand, if it is determined in step S401 that the score YP is larger than the first threshold, it is determined in step S402 whether the score Yaw is equal to or smaller than the second threshold or the score Pitch is equal to or smaller than the second threshold. If any of the scores Yaw and Pitch is equal to or less than the second threshold, the process proceeds to step S403, and the pan start counter is incremented. On the other hand, if it is determined in step S402 that both the score Yaw and the score Pitch are greater than the second threshold, the pan start counter is reset in step S406 in preparation for the next pan start determination, and the main pan start determination processing ends. .

また、ステップS403でパン開始カウンタがインクリメントされると、ステップS404でパン開始カウンタが第3閾値以上であるか否かが判定される。パン開始カウンタが第3閾値以上であると判定されると、ステップS405においてカメラの状態判定をパン発生状態へと変更し、次のパン開始判定に備えて、パン開始カウンタをリセットし、本パン開始判定処理は終了する。一方、ステップS404でパン開始カウンタが第3閾値より小さいと判定された場合、本パン開始判定処理は直ちに終了する。   When the pan start counter is incremented in step S403, it is determined in step S404 whether the pan start counter is equal to or greater than a third threshold. If it is determined that the pan start counter is equal to or greater than the third threshold value, the state of the camera is changed to a pan state in step S405, and the pan start counter is reset in preparation for the next pan start determination. The start determination processing ends. On the other hand, when it is determined in step S404 that the pan start counter is smaller than the third threshold value, the main pan start determination processing ends immediately.

図7は、図3のステップS204で実行されるパン終了判定処理のフローチャートである。図7を参照して本実施形態のパン終了判定処理について説明する。   FIG. 7 is a flowchart of the pan end determination process executed in step S204 of FIG. With reference to FIG. 7, a description will be given of the pan end determination processing of the present embodiment.

パン終了判定処理では、まずステップS501において、スコアYPが第4閾値以上であるか否か判定される。スコアYPが第4閾値以上の場合は、ステップS502において、パン終了カウンタをインクリメントする。一方、スコアYPが第4閾値よりも小さいと判定された場合は、ステップS503でパン終了カウンタをリセットし、本パン終了判定処理を終了する。   In the pan end determination processing, first, in step S501, it is determined whether or not the score YP is equal to or greater than a fourth threshold. If the score YP is equal to or larger than the fourth threshold value, the pan end counter is incremented in step S502. On the other hand, if it is determined that the score YP is smaller than the fourth threshold value, the pan end counter is reset in step S503, and the main pan end determination processing ends.

ステップS502で、パン終了カウンタがインクリメントされると、ステップS504において、パン終了カウンタが第5閾値以上か否かが判定される。第5閾値以上であると判定された場合は、ステップS505において、パン終了と判定し、カメラの状態判定を安定状態へと変更し、次のパン終了判定に備えて、パン終了カウンタをリセットする。また、図2のハイパスフィルタ(HPF)104をリセットするのに適正なタイミングであると判断できるので、ステップS506において、ハイパスフィルタ104のリセットを行い、本パン終了判定処理を終了する。なお、ステップS504でパン終了カウンタが第5閾値以下と判定されたときには、本パン終了判定処理は直ちに終了する。   When the pan end counter is incremented in step S502, it is determined in step S504 whether the pan end counter is equal to or greater than a fifth threshold. If it is determined that the value is equal to or larger than the fifth threshold value, in step S505, it is determined that the pan has ended, the state determination of the camera is changed to the stable state, and the pan end counter is reset in preparation for the next pan end determination. . In addition, since it can be determined that the timing is appropriate for resetting the high-pass filter (HPF) 104 in FIG. 2, the high-pass filter 104 is reset in step S506, and the main pan end determination processing ends. When it is determined in step S504 that the pan end counter is equal to or smaller than the fifth threshold value, the main pan end determination process ends immediately.

なお、これらのパン開始/終了の判定には、ヨー角とピッチ角周りの振れ信号を用いたが、ロール角周りの振れ信号を追加して3つ軸の周りの振れ信号に基づき行ってもよい。   In addition, although the shake signal around the yaw angle and the pitch angle is used for the determination of the pan start / end, the shake signal around the roll angle may be added to perform the determination based on the shake signal around the three axes. Good.

以上のように、第1実施形態では、振れ信号を低周波成分と高周波成分に分け、スコア化することで、パンニングの終了を精度良く検知することができる。パンニングの終了に合わせ、正確にフィルタのリセットを行うことができ防振精度が高められる。また、複数の軸周りの信号に対してスコア化し、これらのスコアを組み合わせて利用することで、状態により正確に把握し、より適切な処理が可能となる。更に、本実施形態では、パンニングの開始のタイミングもスコアから判定することで、パンニング開始のタイミングもより正確に判断できる。   As described above, in the first embodiment, the end of panning can be detected with high accuracy by dividing the shake signal into low-frequency components and high-frequency components and converting the score into scores. The filter can be reset accurately at the end of the panning, and the image stabilization accuracy is improved. Also, by making a score for signals around a plurality of axes and using these scores in combination, it is possible to more accurately grasp the condition and perform more appropriate processing. Further, in the present embodiment, the timing of starting panning is also determined from the score, so that the timing of starting panning can be determined more accurately.

なお、第1実施形態において、図4、図5を参照して説明したスコアの計算を別の方法で行うこともできる。例えば、図4、図5では、各軸に対するジャイロ信号の低周波成分と高周波成分の絶対値の大きさに応じて、段階的にスコアを割り当てたが、例えば、ジャイロ信号の低周波成分と高周波成分の絶対値Xを変数とするn次関数などの所定の関数を利用してスコアを求めることもできる。   In the first embodiment, the score calculation described with reference to FIGS. 4 and 5 may be performed by another method. For example, in FIGS. 4 and 5, scores are assigned stepwise according to the magnitudes of the absolute values of the low frequency component and the high frequency component of the gyro signal with respect to each axis. The score can also be obtained by using a predetermined function such as an n-order function using the absolute value X of the component as a variable.

例えばヨー角に関する低周波成分信号Gyro_YawLPFの絶対値をXとして、ヨー角に関する低周波成分信号に対するスコアYawLPFを、a、b、cを2次関数の係数として、
YawLPF = aX2+bX+c
として求める。ただし、Xが所定の閾値以上の時はスコアを0としてもよい。また、このとき同様に、ヨー角の高周波成分信号Gyro_YawHPFの絶対値をXとして、ヨー角に関する高周波成分信号に対するスコアYawHPFを、d、e、fを2次関数の係数として、
YawHPF = dX2+eX+f
として求める。
For example, assuming that the absolute value of the low-frequency component signal Gyro_YawLPF related to the yaw angle is X, the score YawLPF for the low-frequency component signal related to the yaw angle is a, b, and c as coefficients of a quadratic function.
YawLPF = aX 2 + bX + c
Asking. However, when X is equal to or larger than a predetermined threshold, the score may be set to 0. Similarly, at this time, the absolute value of the yaw angle high frequency component signal Gyro_YawHPF is X, the score YawHPF for the yaw angle high frequency component signal is d, e, and f are the coefficients of the quadratic function.
YawHPF = dX 2 + eX + f
Asking.

また、ピッチ角に関する低周波成分信号Gyro_PitchLPF、高周波成分信号Gyro_PitchHPFの絶対値に対しても同様にそれぞれ2次関数を定義し、各々のスコアPitchLPF、PitchHPFを求める。ヨー角、ピッチ角のスコアYaw、Pitchとしては、実施形態と同様に、Yaw = YawLPF + YawHPF、およびPitch = PitchLPF + PitchHPFを用い、スコアYpに関しても、実施形態と同様にスコアYp = スコアYaw+スコアPitchとして求める。   Similarly, quadratic functions are similarly defined for the absolute values of the low frequency component signal Gyro_PitchLPF and the high frequency component signal Gyro_PitchHPF relating to the pitch angle, and the respective scores PitchLPF and PitchHPF are obtained. As in the embodiment, the yaw angle and pitch angle scores Yaw and Pitch are Yaw = YawLPF + YawHPF and Pitch = PitchLPF + PitchHPF. As for the score Yp, the score Yp = score Yaw + score as in the embodiment. Ask as Pitch.

なお、後述する流し撮り判定には、低周波成分信号のスコアと高周波成分のスコアの和ではなく、それらの差を判定に用いた方が高い精度で判定できる可能性があるため、スコアYaw2、Pitch2として、スコアYawLPFとスコアYawHPFの差(YawLPF - YawHPF)および/またはスコアPitchLPFとスコアPitchHPFの差(PitchLPF - PitchHPF)を計算しておくこともできる。   In the panning determination described below, not the sum of the score of the low-frequency component signal and the score of the high-frequency component, there is a possibility that the difference may be determined with higher accuracy by using the difference, the score Yaw2, As Pitch2, the difference between score YawLPF and score YawHPF (YawLPF-YawHPF) and / or the difference between score PitchLPF and score PitchHPF (PitchLPF-PitchHPF) can also be calculated.

次に図8のフローチャートを参照して、流し撮り判定処理を備えた第2実施形態について説明する。なお、第2実施形態は、流し撮り判定処理を備えたことを除き、第1実施形態と同様である。   Next, a second embodiment including a panning determination process will be described with reference to the flowchart in FIG. Note that the second embodiment is the same as the first embodiment except that a panning determination process is provided.

カメラが大きく振れ、大きな振れ信号(ジャイロ信号)が検出されている状況には、被写体を追って、カメラを一方向に一定速度で動かしながら撮影を行なう流し撮りが含まれる。流し撮りにおいて、例えば、ヨー方向にのみカメラを動かす場合、ピッチ方向に対しては防振制御を行うことが好ましい。したがって、ヨー、ピッチの一方向にのみカメラを動かしていると判断される場合には流し撮りと判断して、それに応じた制御をすることが望ましい。なお、この流し撮り検出処理は、第1実施形態で説明をした図3のパン開始/終了検出処理と例えば並行して行われる。   A situation in which the camera shakes greatly and a large shake signal (gyro signal) is detected includes a panning shot in which the camera is moved in one direction at a constant speed following the subject. In panning, for example, when the camera is moved only in the yaw direction, it is preferable to perform image stabilization control in the pitch direction. Therefore, when it is determined that the camera is moved only in one direction of yaw or pitch, it is desirable to determine that the camera is panning and to perform control in accordance with the panning. This panning shooting detection processing is performed, for example, in parallel with the pan start / end detection processing of FIG. 3 described in the first embodiment.

本実施形態の流し撮り判定処理が開始されると、まずステップS701において、スコアYawが第6閾値以下か否かが判定される。なおステップS701の判定に、スコアYawでなく、閾値を変えて上述したスコアYaw2を使用してもよい。   When the panning determination process according to the present embodiment is started, first, in step S701, it is determined whether the score Yaw is equal to or less than a sixth threshold. Note that, instead of the score Yaw, the above-described score Yaw2 with a different threshold value may be used for the determination in step S701.

ステップS701でスコアYawが第6閾値以下である判定されると、ステップS702において、ヨー方向に関するパン開始カウンタYawCをインクリメントする。一方、ステップS701で、スコアYawが第6閾値よりも大きいと判定されると、ステップS703において、ヨー方向に関するパン開始カウンタYawCがリセットされる。   If it is determined in step S701 that the score Yaw is equal to or smaller than the sixth threshold, in step S702, the pan start counter YawC for the yaw direction is incremented. On the other hand, if it is determined in step S701 that the score Yaw is larger than the sixth threshold, the pan start counter YawC in the yaw direction is reset in step S703.

ステップS702、またはステップS703で、ヨー方向に関するパン開始カウンタYawCが操作されると、ステップS704において、スコアPitchが第7閾値以下か否かが判定される。なお、同判定においてステップS701と同様に、上述したスコアPitch2を閾値を変えて使用することもできる。   When the pan start counter YawC in the yaw direction is operated in step S702 or step S703, it is determined in step S704 whether or not the score Pitch is equal to or less than a seventh threshold. Note that, in the same determination, similarly to step S701, the above-described score Pitch2 can be used by changing the threshold value.

ステップS704で、第7閾値以下と判定された場合は、ステップS705でパン開始カウンタPitchCをインクリメントする。一方、ステップS704で第7閾値より大きいと判定された場合は、ステップS706において、パン開始カウンタPitchCがリセットされる。ステップS705、またはステップS706で、ピッチ方向に関するパン開始カウンタPitchCが操作されると、ステップS707において、パン開始カウンタPitchCが第8閾値以下、かつ、パン検出カウンタYawCが第9閾値以上か否かが判定される。   If it is determined in step S704 that the value is equal to or smaller than the seventh threshold value, the pan start counter PitchC is incremented in step S705. On the other hand, if it is determined in step S704 that the value is larger than the seventh threshold value, the pan start counter PitchC is reset in step S706. In step S705 or step S706, when the pan start counter PitchC in the pitch direction is operated, in step S707, it is determined whether the pan start counter PitchC is equal to or less than the eighth threshold and the pan detection counter YawC is equal to or greater than the ninth threshold. Is determined.

ステップS707において、パン開始カウンタPitchCが第8閾値以下、かつ、パン検出カウンタYawCが第9閾値以上ではないと判定されると、ステップS709において、パン開始カウンタYawCが第8閾値以下、かつ、パン開始カウンタPitchCが第9閾値以上か否かが判定される。   If it is determined in step S707 that the pan start counter PitchC is equal to or smaller than the eighth threshold and the pan detection counter YawC is not equal to or larger than the ninth threshold, in step S709, the pan start counter YawC is equal to or smaller than the eighth threshold and It is determined whether the start counter PitchC is equal to or greater than a ninth threshold.

一方、ステップS707において、パン開始カウンタPitchCが第8閾値以下、かつ、パン検出カウンタYawCが第9閾値以上であると判定される場合は、ヨー方向の流し撮りと判断できるので、ステップS708において、カメラの状態判定をヨー方向への流し撮り状態に変更し、その後、ステップS709の判定を実行する。   On the other hand, if it is determined in step S707 that the pan start counter PitchC is equal to or less than the eighth threshold and the pan detection counter YawC is equal to or greater than the ninth threshold, it can be determined that the panning is performed in the yaw direction. The camera state determination is changed to the panning shooting state in the yaw direction, and then the determination in step S709 is executed.

ステップS709において、パン開始カウンタYawCが第8閾値以下、かつ、パン開始カウンタPitchCが第9閾値以上であると判定される場合は、ピッチ方向への流し撮りと判断できるので、ステップS710において、カメラの状態判定をピッチ方向への流し撮り状態に変更し、本流し撮り判定処理は終了する。一方、ステップS709において、パン開始カウンタYawCが第8閾値以下、かつ、パン開始カウンタPitchCが第9閾値以上であると判定されと、本流し撮り判定処理は直ちに終了する。なお、手ぶれ補正機構80(図1参照)は、ヨー方向、ピッチ方向への流し撮り状態の判定に合わせて、流し撮り方向と判定された方向に垂直な方向への振れ補正のみを行う。   If it is determined in step S709 that the pan start counter YawC is equal to or smaller than the eighth threshold and the pan start counter PitchC is equal to or larger than the ninth threshold, it can be determined that the panning is performed in the pitch direction. Is changed to the panning state in the pitch direction, and the main panning determination processing ends. On the other hand, in step S709, when it is determined that the pan start counter YawC is equal to or smaller than the eighth threshold and the pan start counter PitchC is equal to or larger than the ninth threshold, the main shot shooting determination processing is immediately terminated. It should be noted that the camera shake correction mechanism 80 (see FIG. 1) performs only shake correction in a direction perpendicular to the direction determined as the panning shooting direction, in accordance with the determination of the panning shooting state in the yaw direction and the pitch direction.

以上のように、第2実施形態の構成においても、第1実施形態と略同様の効果が得られるとともに、ヨー方向やピッチ方向への流し撮りの有無を判定できるので、その状態に合わせ、流し撮り方向に対応しない方向に関する振れ補正を行うことができ、より状況に適した振れ補正処理が可能となる。   As described above, in the configuration of the second embodiment, substantially the same effects as those of the first embodiment can be obtained, and the presence or absence of the panning in the yaw direction or the pitch direction can be determined. Shake correction can be performed in a direction that does not correspond to the shooting direction, and shake correction processing more suitable for the situation can be performed.

次に図9のフローチャートを参照して、パン開始判定にスコアを用いない第3実施形態について説明する。なお、第3実施形態は、パン開始判定にスコアを用いないことを除き、第1実施形態と同様である。   Next, a third embodiment in which a score is not used for the pan start determination will be described with reference to the flowchart of FIG. The third embodiment is the same as the first embodiment, except that no score is used for the determination of the start of bread.

第3実施形態では、パン開始の判定にはスコアではなく、オフセット除去後の角速度信号(Gyro_Yaw、Gyro_Pitch)103(図2参照)やハイパスフィルタ104を通した角速度信号、低周波成分信号(Gyro_YawLPF、Gyro_PitchLPF)109、高周波成分信号(Gyro_YawHPF、Gyro_PitchHPF)110から判定を行う。   In the third embodiment, the pan start determination is not based on the score, but rather on the angular velocity signal (Gyro_Yaw, Gyro_Pitch) 103 after offset removal (see FIG. 2), the angular velocity signal passed through the high-pass filter 104, and the low-frequency component signal (Gyro_YawLPF, Gyro_PitchLPF) 109 and high-frequency component signals (Gyro_YawHPF, Gyro_PitchHPF) 110 are determined.

第3実施形態のパン開始判定処理では、まずステップS801において、オフセット除去後の角速度信号Gyro_Yawの値をチェックする。角速度信号Gyro_Yawが第10閾値以下であると判定されると、処理ステップS803に進み、パン開始カウンタをインクリメントする。一方、ステップS801で角速度信号Gyro_Yawが第10閾値より大きいと判定されると、ステップS802において、オフセット除去後の角速度信号Gyro_Pitchが第10閾値以下であるか否かが判定される。角速度信号Gyro_Pitchが第10閾値以下であれば、処理はステップS803へ進み、パン開始カウンタをインクリメントする。一方、ステップS802で角速度信号Gyro_Pitchが第10閾値より小さいと判定されると、次のパン開始判定に備えて、パン開始カウンタをリセットし、本パン開始判定処理は終了する。   In the pan start determination processing according to the third embodiment, first, in step S801, the value of the angular velocity signal Gyro_Yaw after offset removal is checked. If it is determined that the angular velocity signal Gyro_Yaw is equal to or less than the tenth threshold value, the process proceeds to processing step S803, and the pan start counter is incremented. On the other hand, if it is determined in step S801 that the angular velocity signal Gyro_Yaw is greater than the tenth threshold, it is determined in step S802 whether the angular velocity signal Gyro_Pitch after offset removal is equal to or less than the tenth threshold. If the angular velocity signal Gyro_Pitch is equal to or smaller than the tenth threshold, the process proceeds to step S803, and the pan start counter is incremented. On the other hand, if it is determined in step S802 that the angular velocity signal Gyro_Pitch is smaller than the tenth threshold value, the pan start counter is reset in preparation for the next pan start determination, and the main pan start determination processing ends.

また、ステップS803でパン開始カウンタがインクリメントされると、ステップS805でパン開始カウンタが第11閾値以上であるか否かが判定される。パン開始カウンタが第11閾値以上であると判定されると、ステップS806においてカメラの状態判定をパン発生状態へと変更し、次のパン開始判定に備えて、パン開始カウンタをリセットし、本パン開始判定処理は終了する。一方、ステップS805でパン開始カウンタが第11閾値より小さいと判定された場合、本パン開始判定処理は直ちに終了する。   When the pan start counter is incremented in step S803, it is determined in step S805 whether the pan start counter is equal to or larger than the eleventh threshold. If it is determined that the pan start counter is equal to or greater than the eleventh threshold value, the state of the camera is changed to a pan state in step S806, and the pan start counter is reset in preparation for the next pan start determination. The start determination processing ends. On the other hand, when it is determined in step S805 that the pan start counter is smaller than the eleventh threshold value, the main pan start determination processing ends immediately.

以上のように、パン開始の判定にはスコアを用いない第3実施形態でも、ハイパスフィルタ104のリセットするタイミング、すなわちパンニングが終了する正確なタイミングは適切に判定することができる。なお、上記説明では、オフセット除去後の角速度信号Gyro_Yaw、Gyro_Pitchの値を参照してパン開始の判定を行ったが、これに替えて、ハイパスフィルタ104を通した角速度信号、低周波成分信号(Gyro_YawLPF、Gyro_PitchLPF)109、高周波成分信号(Gyro_YawHPF、Gyro_PitchHPF)110を用いてもよい。   As described above, even in the third embodiment in which a score is not used to determine the start of panning, the timing for resetting the high-pass filter 104, that is, the accurate timing for ending panning can be appropriately determined. In the above description, the pan start is determined with reference to the values of the angular velocity signals Gyro_Yaw and Gyro_Pitch after offset removal. Instead, the angular velocity signal passed through the high-pass filter 104 and the low-frequency component signal (Gyro_YawLPF) are used. , Gyro_PitchLPF) 109 and high-frequency component signals (Gyro_YawHPF, Gyro_PitchHPF) 110 may be used.

次に、図10〜図12のフローチャートを参照して、第4実施形態の撮像装置について説明する。第4実施形態は、パン発生状態/安定状態をヨー方向、ピッチ方向それぞれについて別々に判定を行うものである。なお、それ以外の構成は第1実施形態と同様であり、その説明を省略する。   Next, an imaging device according to a fourth embodiment will be described with reference to the flowcharts in FIGS. In the fourth embodiment, the pan generation state / stable state is separately determined for each of the yaw direction and the pitch direction. The other configuration is the same as that of the first embodiment, and a description thereof will be omitted.

図10は、第1実施形態の図3のフローチャートに対応する第4実施形態のパン開始/終了検出処理のフローチャートである。第4実施形態のパン開始/終了検出処理も第1実施形態のパン開始/終了検出処理と同様に、カメラ起動後はカメラの電源がオフされるまで継続して、所定のサンプリング周期で実行される。また、露光中にパンの状態の判定が変更されると、防振制御が正しく行えない等の懸念があるため、レリーズ処理が開始してからレリーズ終了までの期間は、本パンニング開始/終了検出処理を禁止しても良い。   FIG. 10 is a flowchart of the pan start / end detection processing of the fourth embodiment corresponding to the flowchart of FIG. 3 of the first embodiment. Similar to the pan start / end detection process of the first embodiment, the pan start / end detection process of the fourth embodiment is executed at a predetermined sampling cycle after the camera is started until the camera is turned off. You. Further, if the determination of the pan state is changed during the exposure, there is a concern that the image stabilization control cannot be performed properly. Therefore, during the period from the start of the release process to the end of the release, the start / end of the main panning is detected. The processing may be prohibited.

パン開始/終了検出処理が開始すると、ステップS901において、パン開始/終了の判定用のスコアが計算される。次にステップS902において、現在の状態がヨー方向に関してパン発生状態にあるか否かが判定される。ステップS902で現在の状態がヨー方向に関してパン発生状態でないと判定されると、ステップS903においてヨー方向に関するパン開始判定が行われる。一方、現在の状態がヨー方向に関してパン発生状態であると判定されると、ステップS904においてヨー方向に関するパン終了判定が行われる。   When the pan start / end detection process starts, in step S901, a score for judging pan start / end is calculated. Next, in step S902, it is determined whether or not the current state is a panning state in the yaw direction. If it is determined in step S902 that the current state is not a panning state in the yaw direction, a pan start determination in the yaw direction is performed in step S903. On the other hand, if it is determined that the current state is a panning state in the yaw direction, a pan end determination in the yaw direction is performed in step S904.

ステップS903、S904においてヨー方向に関するパン開始/終了判定の何れかが実行されると、ステップS905において、現在の状態がピッチ方向に関してパン発生状態にあるか否かが判定される。ステップS905において、現在の状態がピッチ方向に関してパン発生状態でないと判定されると、ステップS906においてピッチ方向に関してパン開始判定が行われる。一方、ステップS905において、現在の状態がピッチ方向に関してパン発生状態であると判定されると、ステップS907においてピッチ方向に関するパン終了判定が行われる。   If any of the pan start / end determinations in the yaw direction is performed in steps S903 and S904, it is determined in step S905 whether the current state is a panning state in the pitch direction. If it is determined in step S905 that the current state is not a panning state in the pitch direction, a pan start determination is performed in the pitch direction in step S906. On the other hand, if it is determined in step S905 that the current state is a panning state in the pitch direction, pan end determination in the pitch direction is performed in step S907.

ステップS906、S907においてピッチ方向に関するパン開始/終了判定の何れかが実行されると、ステップS908において、ヨー方向、ピッチ方向の何れかがパン発生状態にあったか否かが判定される。ヨー方向、ピッチ方向の片軸でもパン発生状態にあれば、ステップS909において、図7で示したパン終了判定処理(図3、ステップS204)を実行する。   If any of the pan start / end determinations in the pitch direction is performed in steps S906 and S907, it is determined in step S908 whether any of the yaw direction and the pitch direction is in a panning state. If panning is occurring in one of the yaw and pitch axes, the pan end determination process (FIG. 3, step S204) shown in FIG. 7 is executed in step S909.

ステップS909のパン終了判定処理において、カメラが安定状態にあると判定されると、カメラの状態判定をヨー軸、ピッチ軸に関して安定状態へと変更する。また、次のパン終了判定に備えて、パン終了カウンタをリセットし、ヨー角速度信号およびピッチ角速度信号に対するそれぞれのハイパスフィルタ(HPF)104をリセットして本パン開始/終了検出処理を終了する。なお、元々その軸に関して安定状態にあれば、その軸に関わるハイパスフィルタ104のリセットを行わないが、パン発生状態だった場合は、その軸に関わるハイパスフィルタ104のリセットを行う。   If it is determined in the pan end determination process in step S909 that the camera is in a stable state, the camera state determination is changed to a stable state with respect to the yaw axis and the pitch axis. Also, in preparation for the next pan end determination, the pan end counter is reset, the high-pass filters (HPF) 104 for the yaw angular velocity signal and the pitch angular velocity signal are reset, and the main pan start / end detection processing ends. Note that if the axis is originally in a stable state, the high-pass filter 104 related to the axis is not reset. However, if a panning state occurs, the high-pass filter 104 related to the axis is reset.

一方、ステップS908で、ヨーおよびピッチの何れの方向に関してもパン発生状態にない場合には、本パン開始/終了検出処理は直ちに終了する。なお、本実施形態では、各軸(ヨー軸、ピッチ軸)それぞれについて、パン開始、パン終了を判定しているが、図7で示した両軸を考慮した安定検出を合わせて行うことが好ましい。   On the other hand, if it is determined in step S908 that the pan has not occurred in any of the yaw and pitch directions, the main pan start / end detection processing ends immediately. In this embodiment, the pan start and the pan end are determined for each of the axes (the yaw axis and the pitch axis). However, it is preferable to perform the stability detection in consideration of both axes shown in FIG. .

図11は、図10のステップS903で実行されるヨー軸に対する片軸用のパン開始判定処理のフローチャートであり、図12は、図10のステップS904で実行されるヨー軸に対する片軸用のパン終了判定処理のフローチャートである。なお、ここではヨー軸に対する処理を代表例として示すが、ピッチ軸に対する処理に関しても同様である。   FIG. 11 is a flowchart of the one-axis pan start determination process for the yaw axis executed in step S903 of FIG. 10. FIG. 12 is a flowchart of the one-axis pan operation for the yaw axis executed in step S904 of FIG. It is a flowchart of an end determination process. Here, the processing for the yaw axis is shown as a representative example, but the same applies to the processing for the pitch axis.

図11の片軸用のパン開始判定処理では、まずステップS1001において第12閾値を用いてスコアYawの値をチェックする。スコアYawが第12閾値以下であると判定されると、処理はステップS1002に進み、パン開始カウンタYawCをインクリメントする。一方、ステップS1001でスコアYawが第12閾値より大きいと判定されると、ステップS1003において、次のパン開始判定に備えて、ヨー軸に対するパン開始カウンタYawCをリセットし、本パン開始判定処理を終了する。   In the pan start determination process for one axis in FIG. 11, first, in step S1001, the value of the score Yaw is checked using the twelfth threshold. If it is determined that the score Yaw is equal to or smaller than the twelfth threshold, the process proceeds to step S1002, and the pan start counter YawC is incremented. On the other hand, if it is determined in step S1001 that the score Yaw is larger than the twelfth threshold, in step S1003, the pan start counter YawC for the yaw axis is reset in preparation for the next pan start determination, and the main pan start determination process ends. I do.

ステップS1002でパン開始カウンタYawCがインクリメントされると、ステップS1004でヨー方向に関するパン開始カウンタYawCが第13閾値以上であるか否かが判定される。パン開始カウンタYawCが第13閾値以上であると判定されると、ステップS1005においてカメラのヨー方向に関する状態判定をパン発生状態へと変更し、次のパン開始判定に備えて、ヨー方向のパン開始カウンタYawCをリセットし、本パン開始判定処理を終了する。   When the pan start counter YawC is incremented in step S1002, it is determined in step S1004 whether the pan start counter YawC for the yaw direction is equal to or greater than a thirteenth threshold. If it is determined that the pan start counter YawC is equal to or larger than the thirteenth threshold, the state determination regarding the yaw direction of the camera is changed to a pan occurrence state in step S1005, and panning in the yaw direction is started in preparation for the next pan start determination. The counter YawC is reset, and the main bread start determination processing ends.

図12の片軸用のパン終了判定処理では、まずステップS1101において、スコアYawが第14閾値以上であるか否か判定される。スコアYawが第14閾値以上の場合は、ステップS1102において、パン終了カウンタYawCをインクリメントする。一方、スコアYawが第14閾値よりも小さいと判定された場合は、ステップS1103でヨー方向に関するパン終了カウンタYawCをリセットし、本パン終了判定処理を終了する。   In the one-axis pan end determination process in FIG. 12, first, in step S1101, it is determined whether the score Yaw is equal to or greater than a fourteenth threshold. If the score Yaw is equal to or larger than the fourteenth threshold, the pan end counter YawC is incremented in step S1102. On the other hand, if it is determined that the score Yaw is smaller than the fourteenth threshold, the pan end counter YawC in the yaw direction is reset in step S1103, and the main pan end determination processing ends.

ステップS1102で、パン終了カウンタYawCがインクリメントされると、ステップS1104において、パン終了カウンタYawCが第15閾値以上か否かが判定される。第15閾値以上であると判定された場合は、ステップS1105において、ヨー方向のパン終了と判定し、カメラのヨー方向に関する状態判定を安定状態へと変更し、次のパン終了判定に備えて、パン終了カウンタをリセットする。また、ハイパスフィルタをリセットするのに適正なタイミングであると判断できるので、ステップS1106において、図2のハイパスフィルタ(HPF)104のリセットを行い、本パン終了判定処理を終了する。なお、ステップS1104でパン終了カウンタが第15閾値以下と判定されたときには、本パン終了判定処理は直ちに終了する。   When the pan end counter YawC is incremented in step S1102, it is determined in step S1104 whether the pan end counter YawC is equal to or greater than a fifteenth threshold. If it is determined that the difference is equal to or larger than the fifteenth threshold, in step S1105, it is determined that the panning in the yaw direction has been completed, and the state determination regarding the yaw direction of the camera is changed to the stable state. Reset the pan end counter. In addition, since it can be determined that the timing is appropriate for resetting the high-pass filter, the high-pass filter (HPF) 104 in FIG. 2 is reset in step S1106, and the main pan end determination process ends. If it is determined in step S1104 that the pan end counter is equal to or smaller than the fifteenth threshold value, the main pan end determination process ends immediately.

以上のように、第4実施形態においても、第1実施形態と略同様の効果を得ることができる。   As described above, in the fourth embodiment, substantially the same effects as in the first embodiment can be obtained.

次に、図13のフローチャートを参照して本発明の第5実施形態のパン開始/終了検出処理について説明する。第5実施形態は、第1実施形態の図3に示されたパン開始/終了検出処理に変更したものに対応し、パン発生状態/安定状態をヨー方向、ピッチ方向それぞれについて別々に判定を行うとともに、流し撮り判定処理を行うものである。なお、それ以外の構成は第1実施形態と同様であり、その説明を省略する。   Next, a pan start / end detection process according to a fifth embodiment of the present invention will be described with reference to the flowchart in FIG. The fifth embodiment corresponds to a modification of the first embodiment in which the pan start / end detection processing shown in FIG. 3 is changed, and separately determines the pan generation state / stable state in each of the yaw direction and the pitch direction. At the same time, the panning determination process is performed. The other configuration is the same as that of the first embodiment, and a description thereof will be omitted.

第5実施形態のパン開始/終了検出処理が開始されると、ステップS1201でスコアの計算が行われ、続いてステップS1202において、カメラのヨー方向に対する状態が判定される。ステップS1202でヨー方向に対する状態が安定状態であると判定された場合は、ステップS1203において、ヨー方向に対するパン開始判定を行うとともに、ステップS1204において、ヨー方向に対する流し撮り判定を行った後、ステップS1209のピッチ判定へと移行する。なお、ステップS1203でパン開始と判定された場合には、ステップS1204をスキップしてステップS1209へジャンプしてもよい。   When the pan start / end detection processing of the fifth embodiment is started, a score is calculated in step S1201, and subsequently, in step S1202, the state of the camera in the yaw direction is determined. If it is determined in step S1202 that the state in the yaw direction is the stable state, then in step S1203, pan start determination in the yaw direction is performed, and in step S1204, panning determination in the yaw direction is performed. It shifts to pitch determination of. If it is determined in step S1203 that panning has started, step S1204 may be skipped and the process may jump to step S1209.

ステップS1202でヨー方向に対する状態が流し撮り状態であると判定された場合は、ステップS1205において、ヨー方向に対するパン開始判定を行うとともに、ステップS1206において、パン終了判定を行った後、ステップS1209のピッチ判定へと移行する。なお、パン終了判定は、カメラが安定している状態を判定するので、流し撮り状態のときも、カメラが安定になったかどうか判定するのが好ましい。また、ステップS1205でパン開始と判定された場合には、ステップS1206をスキップしてステップS1209へジャンプしてもよい。   When it is determined in step S1202 that the state in the yaw direction is the panning state, in step S1205, a pan start determination in the yaw direction is performed, and in step S1206, a pan end determination is performed. Move to judgment. Note that the pan end determination determines whether the camera is stable. Therefore, it is preferable to determine whether the camera has become stable even in the panning state. If it is determined in step S1205 that panning has started, step S1206 may be skipped and the process may jump to step S1209.

また、ステップS1202でヨー方向に対する状態がパン状態であると判定された場合は、ステップS1207において、流し撮り判定を行うとともに、ステップS1208において、パン終了判定を行った後、ステップS1209のピッチ判定へと移行する。なお、ステップS1207で流し撮りと判定された場合は、ステップS1208をスキップしてステップS1209へジャンプしてもよい。   If it is determined in step S1202 that the state in the yaw direction is the panning state, panning determination is performed in step S1207, and pan end determination is performed in step S1208, and then the pitch determination in step S1209 is performed. And migrate. If it is determined in step S1207 that panning is to be performed, step S1208 may be skipped and the process may jump to step S1209.

ステップS1209のピッチ(Pitch)判定では、ステップS1202〜S1208と同様の処理がピッチ方向に関して実行される。ステップS1209の処理が終了すると、ステップS1210において、第4実施形態の図10のステップS908と同様に、安定状態でない軸があるか否か、すなわち、流し撮り、もしくはパン状態である軸があるか否かが判定される。安定状態でない軸が存在する場合は、ステップS1211において、図7に示されたパン終了判定処理を実行し、その後パン開始/終了検出処理を終了する。一方、ステップS1210で、ヨーおよびピッチの何れの方向に関してもパン発生状態あるいは流し撮り状態にない場合には、本パン開始/終了検出処理を直ちに終了する。   In the pitch (Pitch) determination in step S1209, the same processing as in steps S1202 to S1208 is performed in the pitch direction. When the processing in step S1209 ends, in step S1210, as in step S908 in FIG. 10 of the fourth embodiment, whether or not there is an axis that is not in a stable state, that is, whether or not there is an axis that is panning or panning It is determined whether or not. If there is an axis that is not in a stable state, in step S1211, the pan end determination process illustrated in FIG. 7 is performed, and then the pan start / end detection process ends. On the other hand, if it is determined in step S1210 that there is no panning state or panning state in any of the yaw and pitch directions, the main pan start / end detection processing is immediately terminated.

なお図10のパン開始/終了検出処理と同様に、ステップS1211において、カメラが安定状態にあると判定されると、カメラの状態判定をヨー軸、ピッチ軸に関して安定状態へと変更する。また、次のパン終了判定に備えて、パン終了カウンタをリセットし、ヨー角速度信号およびピッチ角速度信号に対するそれぞれのハイパスフィルタ(HPF)104をリセットして本パン開始/終了検出処理を終了する。なお、元々その軸に関して安定状態にあれば、その軸に関わるハイパスフィルタ104のリセットを行わないが、パン発生状態あるいは流し撮り状態だった場合は、その軸に関わるハイパスフィルタ104のリセットを行う。   As in the pan start / end detection processing in FIG. 10, if it is determined in step S1211 that the camera is in a stable state, the camera state determination is changed to a stable state with respect to the yaw axis and the pitch axis. Also, in preparation for the next pan end determination, the pan end counter is reset, the high-pass filters (HPF) 104 for the yaw angular velocity signal and the pitch angular velocity signal are reset, and the main pan start / end detection processing ends. If the axis is originally in a stable state, the high-pass filter 104 related to the axis is not reset. However, if the panning state or the panning state is set, the high-pass filter 104 related to the axis is reset.

以上のように、第5実施形態においても、第1や第4実施形態と同様の効果を得ることができる。   As described above, also in the fifth embodiment, the same effects as in the first and fourth embodiments can be obtained.

次に図14のフローチャートを参照して、スコアを用いない第6実施形態の流し撮り判定処理について説明する。本実施形態では、スコアを使用せずに流し撮り判定を片軸ずつ行う。ここではヨー方向に対して流し撮り判定を行う場合を例に説明する。なお、その他の構成に関しては、第1実施形態と同様であり、その説明は省略する。   Next, a panning determination process according to the sixth embodiment that does not use a score will be described with reference to the flowchart in FIG. In the present embodiment, the panning determination is performed for each axis without using the score. Here, a case where panning determination is performed in the yaw direction will be described as an example. Note that other configurations are the same as those of the first embodiment, and description thereof will be omitted.

第6実施形態の流し撮り判定処理が開始すると、ステップS1301において角速度信号(Gyro_Yaw)103(図2参照))の絶対値が第16閾値以上かどうか判定する。ステップS1301で角速度信号(Gyro_Yaw)が第16閾値以上と判定されると、ステップS1302に進み、第16閾値以下と判定されるとステップS1304において、流し撮りカウンタYawC2をリセットして本流し撮り判定処理を終了する。   When the panning determination process according to the sixth embodiment is started, in step S1301, it is determined whether the absolute value of the angular velocity signal (Gyro_Yaw) 103 (see FIG. 2) is equal to or greater than a sixteenth threshold. If it is determined in step S1301 that the angular velocity signal (Gyro_Yaw) is equal to or larger than the sixteenth threshold, the process proceeds to step S1302. If it is determined that the angular velocity signal is equal to or smaller than the sixteenth threshold, in step S1304, the panning counter YawC2 is reset to perform main panning determination. To end.

ステップS1302では、ヨー方向の状態がパン状態かどうか判定する。パン状態の場合はステップS1303において、角速度信号(Gyro_Yaw)の絶対値が第17閾値以下か否かが判定される。角速度信号(Gyro_Yaw)の絶対値が第17閾値よりも角速度信号(Gyro_Yaw)が大きいと判定された場合は、ヨー方向のパン状態が継続しているとして、ステップS1304において、流し撮りカウンタYawC2をリセットして、本流し撮り判定処理を終了する。   In step S1302, it is determined whether the state in the yaw direction is the pan state. In the case of the panning state, it is determined in step S1303 whether the absolute value of the angular velocity signal (Gyro_Yaw) is equal to or less than a seventeenth threshold. When it is determined that the absolute value of the angular velocity signal (Gyro_Yaw) is larger than the seventeenth threshold value, the panning state in the yaw direction is continued, and the panning counter YawC2 is reset in step S1304. Then, the main shot shooting determination process ends.

一方、ステップS1303で角速度信号(Gyro_Yaw)の絶対値が第17閾値以下と判定された場合、または、ステップS1302において、パン状態でないと判定された場合は、ステップS1305において、流し撮りカウンタYawC2がインクリメントされる。その後ステップS1306において、流し撮りカウンタYawC2が第18閾値以上であるか否かが判定される。流し撮りカウンタYawC2が第18閾値以上である場合は、ステップS1307において、カメラのヨー方向の状態判定を流し撮り状態へ変更し、次の流し撮り検出に備えて、カウンタをリセットして本流し撮り判定処理を終了する。一方、ステップS1306において、流し撮りカウンタYawC2が第18閾値以上である場合は、直ちに本流し撮り判定処理を終了する。   On the other hand, if it is determined in step S1303 that the absolute value of the angular velocity signal (Gyro_Yaw) is equal to or smaller than the seventeenth threshold, or if it is determined in step S1302 that the camera is not in the panning state, the panning counter YawC2 is incremented in step S1305. Is done. Thereafter, in step S1306, it is determined whether or not the panning counter YawC2 is equal to or larger than the eighteenth threshold. If the panning counter YawC2 is equal to or larger than the eighteenth threshold value, in step S1307, the state of the camera in the yaw direction is changed to the panning state, and the counter is reset to prepare for the next panning detection. The determination processing ends. On the other hand, if the panning counter YawC2 is equal to or larger than the eighteenth threshold value in step S1306, the main panning determination process is immediately terminated.

なお、角速度信号(Gyro_Yaw、Gyro_Pitch)などに替えて、ハイパスフィルタ104を通した角速度信号、低周波成分信号(Gyro_YawLPF、Gyro_PitchLPF)109、高周波成分信号(Gyro_YawHPF、Gyro_PitchHPF)110を、各軸の流し撮り判定に用いてもよい。   In addition, instead of the angular velocity signals (Gyro_Yaw, Gyro_Pitch) and the like, the angular velocity signals passed through the high-pass filter 104, the low-frequency component signals (Gyro_YawLPF, Gyro_PitchLPF) 109, and the high-frequency component signals (Gyro_YawHPF, Gyro_PitchHPF) 110 are shot in each axis. It may be used for determination.

以上のように、第6実施形態の構成においても、第1実施形態と同様の効果が得られるとともに、各軸方向の流し撮り状態も検出できるので、より適正な振れ補正制御を行うことができる。   As described above, also in the configuration of the sixth embodiment, the same effect as that of the first embodiment can be obtained, and the panning state in each axial direction can be detected, so that more appropriate shake correction control can be performed. .

なお、本実施形態では撮像素子を移動する形式の手ぶれ補正機構を例に説明を行なったが、レンズシフト方式など他の形式の手ぶれ補正機構であってもよい。また、本実施形態の手ぶれ補正では、ヨー角速度、ピッチ角速度を検出していたが、特にこの2軸に限定されるものではない。また、これらに加えロール角速度を検出する構成でもよく、特殊な用途においては、一軸方向のみの角速度に対応した構成であってもよい。また、本発明に関わる撮像装置の構成は、スマートホンや携帯電話などにも適用できる。更に、振れ状態の変化は、パンニング終了に対応する変化に限定されない。   Note that, in the present embodiment, an example of a camera shake correction mechanism of a type in which the image sensor is moved has been described, but another type of camera shake correction mechanism such as a lens shift method may be used. Further, in the camera shake correction of the present embodiment, the yaw angular velocity and the pitch angular velocity are detected, but the present invention is not particularly limited to these two axes. In addition, a configuration that detects the roll angular velocity may be used. For special applications, a configuration corresponding to the angular velocity in only one axial direction may be used. Further, the configuration of the imaging device according to the present invention can be applied to a smartphone, a mobile phone, and the like. Further, the change in the shake state is not limited to the change corresponding to the end of panning.

また、上述した各実施形態および変形例に記載された各構成は、整合する範囲において各々組み合わせを変えて実施することもできる。   In addition, the configurations described in each of the above-described embodiments and modified examples can be implemented by changing the combinations within a matching range.

10 デジタルカメラ
18 CPU
80 手ぶれ補正機構
81 振れ検出センサ
82 センサ信号処理部
10 Digital camera 18 CPU
80 camera shake correction mechanism 81 shake detection sensor 82 sensor signal processing unit

Claims (10)

振れ信号に対し、所定の周波数成分をカットするフィルタリング手段と、
前記フィルタリング手段によってフィルタリングされた出力の状態に応じた評価を行う振れ信号評価手段と、
前記評価に基づいて振れ状態の変化の有無を判定する判定手段とを備え
前記振れ信号評価手段が振れが小さいほど高い点数を与えるルールに基づき前記出力に対して点数を付ける採点手段を備えるとともに、前記判定手段が前記採点手段によって求められた点数の所定の合計が所定閾値以上のときにパン終了カウンタをインクリメントし、前記パン終了カウンタの値が所定閾値以上のときにパンニングの終了と判定し、
前記採点手段が、ヨー方向の振れ信号に対する所定のカットオフ周波数のハイパスフィルタの出力と、ヨー方向の振れ信号に対する所定のカットオフ周波数のローパスフィルタの出力と、ピッチ方向の振れ信号に対する所定のカットオフ周波数のハイパスフィルタの出力と、ピッチ方向の振れ信号に対する所定のカットオフ周波数のローパスフィルタの出力とに点数を付ける
ことを特徴とする振れ状態判定装置。
Filtering means for cutting a predetermined frequency component from the shake signal;
Shake signal evaluation means for performing an evaluation according to the state of the output filtered by the filtering means,
Determining means for determining the presence or absence of a change in the shake state based on the evaluation ,
The shake signal evaluation means includes a scoring means for scoring the output based on a rule that gives a higher score as the shake is smaller, and the judgment means judges that a predetermined sum of the scores obtained by the scoring means is a predetermined threshold value. The pan end counter is incremented at the time above, and it is determined that the panning has ended when the value of the pan end counter is equal to or more than a predetermined threshold value,
The scoring means includes an output of a high-pass filter having a predetermined cutoff frequency for the yaw direction shake signal, an output of a low-pass filter having a predetermined cutoff frequency for the yaw direction shake signal, and a predetermined cut for the pitch direction shake signal. A shake state determination device , wherein the output of a high-pass filter having an off-frequency and the output of a low-pass filter having a predetermined cutoff frequency with respect to a shake signal in a pitch direction are scored .
振れ信号に対し、所定の周波数成分をカットするフィルタリング手段と、Filtering means for cutting a predetermined frequency component from the shake signal;
前記フィルタリング手段によってフィルタリングされた出力の状態に応じた評価を行う振れ信号評価手段と、Shake signal evaluation means for performing an evaluation according to the state of the output filtered by the filtering means,
前記評価に基づいて振れ状態の変化の有無を判定する判定手段とを備え、Determining means for determining the presence or absence of a change in the shake state based on the evaluation,
前記振れ信号評価手段が、振れが小さいほど高い点数を与えるルールに基づき前記出力に対して点数を付ける採点手段を備えるとともに、前記判定手段が、前記採点手段によって求められた点数の所定の合計が所定閾値以上のときにパン終了カウンタをインクリメントし、前記パン終了カウンタの値が所定閾値以上のときにパンニングの終了と判定し、The shake signal evaluation means includes a scoring means for scoring the output based on a rule that gives a higher score as the shake is smaller, and the determination means determines a predetermined sum of the scores obtained by the scoring means. When the pan end counter is incremented at or above a predetermined threshold, it is determined that panning has ended when the value of the pan end counter is at least a predetermined threshold,
前記採点手段が、フィルタリングされた出力に対し、N次の関数を用いて点数を計算するとともに、前記採点手段が、ロール方向の振れ信号に対する所定のカットオフ周波数のハイパスフィルタの出力と、ロール方向の振れ信号に対する所定のカットオフ周波数のローパスフィルタの出力とに点数を付けるThe scoring means calculates a score for the filtered output using an Nth-order function, and the scoring means outputs an output of a high-pass filter having a predetermined cut-off frequency for a roll direction swing signal, The output of a low-pass filter with a predetermined cutoff frequency for the shake signal
ことを特徴とする振れ状態判定装置。A shake state determination device, characterized in that:
前記採点手段によって求められた点数に基づいてパンニングの開始を判定する判定手段を更に備えることを特徴とする請求項1または2に記載の振れ状態判定装置。 The shake state determination device according to claim 1 or 2, further comprising a determination unit configured to determine a start of panning based on the score obtained by the scoring unit. 前記判定手段が、前記採点手段によって求められた点数の合計が所定閾値以下のときにパン開始カウンタをインクリメントし、前記パン開始カウンタの値が所定閾値以上のときにパンニングの開始を判定することを特徴とする請求項3に記載の振れ状態判定装置。The determining means increments the pan start counter when the total of the scores obtained by the scoring means is equal to or less than a predetermined threshold, and determines the start of panning when the value of the pan start counter is equal to or more than a predetermined threshold. The shake state determination device according to claim 3, wherein: 前記採点手段が、フィルタリングされた出力に対し、段階的に設定された閾値と点数の表に基づいて採点を行うことを特徴とする請求項1〜4の何れか一項に記載の振れ状態判定装置。 5. The shake state determination according to claim 1 , wherein the scoring unit performs scoring on the filtered output based on a table of thresholds and scores set in a stepwise manner. 6. apparatus. 前記所定の合計が、ヨー方向、ピッチ方向の点数の合計、もしくは、ヨー方向の点数の合計、もしくは、ピッチ方向の点数の合計を含むことを特徴とする請求項1〜5の何れか一項に記載の振れ状態判定装置。 Said predetermined sum is the sum of the yaw direction, the pitch direction number, or the sum of the yaw direction of count, or any one of claims 1-5, characterized in that it comprises the sum of the pitch direction scores 3. The shake state determination device according to claim 1. パンニング終了と判断されたタイミングで、振れ補正用の制御目標値を算出するために前記振れ信号に対し施されるハイパスフィルタをリセットすることを特徴とする請求項1〜6の何れか一項に記載の振れ状態判定装置。 At the timing it is judged that the panning completion, the any one of claims 1 to 6, characterized in that resetting the high-pass filter to be applied to the vibration signal to calculate a control target value for the shake correction The shake state determination device according to the above. 前記判定手段が更に、ヨー方向の点数が所定閾値以上、ピッチ方向の点数が所定閾値以下のときに、ピッチ方向に対して流し撮り状態にあると判断することを特徴とする請求項1または請求項6に記載の振れ状態判定装置。 The determining means further yaw direction score is above a predetermined threshold value, when the number of the pitch direction is less than a predetermined threshold value, according to claim 1 or claim, characterized in that it is determined that a state panning the pitch direction Item 7. The shake state determination device according to Item 6 . 前記判定手段が更に、ピッチ方向の点数が閾値以上、ヨー方向の点数が閾値以下のときに、ヨー方向の対して流し撮り状態にあると判断することを特徴とする請求項1または請求項6に記載の振れ状態判定装置。 The determining means further Pitch number is more than the threshold value, when the yaw direction of the points is equal to or lower than a threshold, according to claim 1 or claim, characterized in that it is determined that a state panning against the yaw direction 6 3. The shake state determination device according to claim 1. 請求項1〜9の何れかに記載の振れ状態判定装置と、
前記振れ信号を検出する振れ検出手段と、
前記振れ信号に基づき振れ補正を行う振れ補正手段と
を備えることを特徴とする撮像装置。
A shake state determination device according to any one of claims 1 to 9 ,
Shake detection means for detecting the shake signal,
And a shake correction unit that performs shake correction based on the shake signal.
JP2015244621A 2015-12-15 2015-12-15 Shake state determination device and imaging device Active JP6645165B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015244621A JP6645165B2 (en) 2015-12-15 2015-12-15 Shake state determination device and imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015244621A JP6645165B2 (en) 2015-12-15 2015-12-15 Shake state determination device and imaging device

Publications (2)

Publication Number Publication Date
JP2017111258A JP2017111258A (en) 2017-06-22
JP6645165B2 true JP6645165B2 (en) 2020-02-14

Family

ID=59080707

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015244621A Active JP6645165B2 (en) 2015-12-15 2015-12-15 Shake state determination device and imaging device

Country Status (1)

Country Link
JP (1) JP6645165B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009042544A (en) * 2007-08-09 2009-02-26 Sanyo Electric Co Ltd Vibration prevention control circuit
JP6045154B2 (en) * 2012-02-01 2016-12-14 キヤノン株式会社 Image blur correction apparatus, optical apparatus including the same, image pickup apparatus, and image blur correction apparatus control method
JP6149366B2 (en) * 2012-09-25 2017-06-21 リコーイメージング株式会社 Angular velocity angular position signal calculation device and blur correction device

Also Published As

Publication number Publication date
JP2017111258A (en) 2017-06-22

Similar Documents

Publication Publication Date Title
US9170429B2 (en) Optical apparatus and image capturing apparatus, and method of controlling the same and storage medium
JP6150655B2 (en) Image shake correction apparatus and control method therefor, lens barrel, optical apparatus, and imaging apparatus
EP2698668B1 (en) Imaging device
JP5031690B2 (en) Anti-vibration control device, imaging device, and control method for image stabilization control device
US20160255273A1 (en) Control apparatus, image pickup apparatus, control method, and non-transitory computer-readable storage medium which are capable of performing tilt correction
JP6257207B2 (en) Image shake correction apparatus and control method therefor, lens barrel, and imaging apparatus
JP2010025962A (en) Image stabilization control apparatus and image capturing apparatus
US20150256753A1 (en) Image stabilization apparatus, method of controlling the same, image capturing apparatus, lens apparatus, and storage medium
US20210006721A1 (en) Image blur information acquisition apparatus and method, and storage medium
JP2006215392A (en) Image blur correcting apparatus
JP2012048138A5 (en)
JP2006215393A (en) Image blur correcting apparatus
JP5235542B2 (en) Image blur correction apparatus or lens apparatus including the same, image pickup apparatus, and image blur correction apparatus control method
JP6645165B2 (en) Shake state determination device and imaging device
JP6056366B2 (en) Camera shake correction device and camera
JP6024031B2 (en) Blur correction device and optical apparatus
JP2014206660A (en) Image shake correction device and imaging apparatus
JP5984467B2 (en) Image blur correction device, optical apparatus, imaging device, and image blur correction device control method
US11436707B2 (en) Image stabilization control apparatus, method of controlling image stabilizer, image capturing apparatus, and storage medium
JP2016004243A (en) Image tremor correction device and control method of the same, optical device and imaging device
JP5207861B2 (en) Image shake correction apparatus, image pickup apparatus including the same, optical apparatus, and image shake correction apparatus control method
US20230068428A1 (en) Image stabilization control apparatus and method
JP2017107093A (en) Shake correction control device and imaging device
JP2021026180A (en) Image shake correction device and imaging apparatus
JP5743910B2 (en) Image blur correction apparatus, optical apparatus, and image blur correction method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181009

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190716

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190903

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191029

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191223

R150 Certificate of patent or registration of utility model

Ref document number: 6645165

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250