JP4486482B2 - Camera shake correction apparatus and imaging apparatus - Google Patents

Camera shake correction apparatus and imaging apparatus Download PDF

Info

Publication number
JP4486482B2
JP4486482B2 JP2004341504A JP2004341504A JP4486482B2 JP 4486482 B2 JP4486482 B2 JP 4486482B2 JP 2004341504 A JP2004341504 A JP 2004341504A JP 2004341504 A JP2004341504 A JP 2004341504A JP 4486482 B2 JP4486482 B2 JP 4486482B2
Authority
JP
Japan
Prior art keywords
angular velocity
value
lens
output
subtracting
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
JP2004341504A
Other languages
Japanese (ja)
Other versions
JP2006154014A (en
Inventor
尚 江波戸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2004341504A priority Critical patent/JP4486482B2/en
Priority to US11/268,641 priority patent/US7424212B2/en
Publication of JP2006154014A publication Critical patent/JP2006154014A/en
Priority to US12/222,333 priority patent/US7734162B2/en
Application granted granted Critical
Publication of JP4486482B2 publication Critical patent/JP4486482B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Gyroscopes (AREA)
  • Adjustment Of Camera Lenses (AREA)
  • Studio Devices (AREA)

Description

本発明は、デジタルスチルカメラ、デジタルビデオカメラなどの撮影画像に応じた画像データを得る撮像装置に係り、詳細には、手振れによる撮影画像のぶれを防止する手振れ補正装置及び撮像装置に関する。   The present invention relates to an imaging apparatus that obtains image data corresponding to a captured image, such as a digital still camera or a digital video camera, and more particularly to a camera shake correction apparatus and an imaging apparatus that prevent camera shake caused by camera shake.

デジタルビデオカメラ、デジタルスチルカメラなどは勿論、銀塩写真カメラなどにおいても、所謂手振れによる撮影画像のブレを補正する手振れ補正機能を備えたものがある。   Some digital video cameras, digital still cameras, and the like, as well as silver halide photographic cameras, have a camera shake correction function that corrects blurring of a photographed image caused by so-called camera shake.

このような手振れによる撮影画像のぶれを解消するものとして、撮像素子上に結像された画像の相関を用いて撮像素子からのデータ(画像データ)の読出し位置やメモリ上に展開した画像の読出し位置を制御する電子式ぶれ補正がある。   In order to eliminate such blurring of captured images due to camera shake, the data (image data) read position from the image sensor and the image developed on the memory are read using the correlation of the image formed on the image sensor. There is an electronic blur correction that controls the position.

また、手振れ補正には、装置本体の加速度、角加速度、角速度などを検出するセンサ(例えばジャイロセンサ)を用い、このセンサの出力信号に基づいて、レンズの中玉を、光軸と直交する方向に沿ってシフトし、レンズ内で入射光の傾きをかえることで光軸ズレを補正することで手振れによる光軸の傾きを相殺するように制御する光学式ぶれ補正がある。   For camera shake correction, a sensor (for example, a gyro sensor) that detects the acceleration, angular acceleration, angular velocity, etc. of the apparatus body is used, and based on the output signal of this sensor, the center ball of the lens is in a direction perpendicular to the optical axis. There is an optical blur correction that controls the optical axis to be offset by correcting the optical axis shift by changing the inclination of the incident light within the lens.

ところで、光学式ぶれ補正は、装置全体の回転により発生する振れを角速度センサにより所定のサンプリング間隔で回転速度の時系列情報として検出し、これを累積積算(順次加算)することで、サンプリング周期を時間単位とする積分を行って補正角情報を得るようにしている。また、この積算値を、レンズ位置を指定する情報として駆動回路へ送ることにより、駆動回路が、この積算値に基づいて所定のレンズを移動することにより撮像素子に結像される被写体像の振れ、すなわち、結像位置の変化の発生を抑えるようにしている(例えば、特許文献1、特許文献2参照。)。   By the way, in the optical shake correction, shake generated by the rotation of the entire device is detected as time series information of the rotation speed at a predetermined sampling interval by the angular velocity sensor, and this is accumulated and accumulated (sequential addition), whereby the sampling period is set. Correction angle information is obtained by performing integration in units of time. In addition, by sending this integrated value to the drive circuit as information for designating the lens position, the drive circuit moves a predetermined lens based on the integrated value, and the shake of the subject image formed on the image sensor is determined. That is, the occurrence of a change in the imaging position is suppressed (see, for example, Patent Document 1 and Patent Document 2).

一方、振れ検出に使用する角速度センサは、振動物体の捩れ力を検知する方式が用いられており、このために検出感度が低く、回転速度の時系列情報として抽出するときに、増幅する必要がある。このために、温度特性などによりDCのドリフトやノイズなどの影響を受けて出力変動が生じ易く、このために、振れ補正装置が誤動作しやすくなってしまっている。   On the other hand, the angular velocity sensor used for shake detection uses a method for detecting the torsional force of a vibrating object. For this reason, the detection sensitivity is low, and it is necessary to amplify it when extracting it as time-series information of rotational speed. is there. For this reason, output fluctuations are likely to occur due to the influence of DC drift or noise due to temperature characteristics or the like, and the shake correction device is likely to malfunction.

図15(A)には、角度センサ200A、200Bを用いた一般的な出力回路202を示しており、この出力回路202では、大きな容量のコンデンサ204を用いたHPF206を形成し、角速度センサ200A、200Bの直流成分を遮断して、増幅回路208側で所定のバイアス電圧を与えることにより、ドリフトや直流成分により誤差の発生を抑えた信号(PITCH信号、YAW信号)を出力するようにしている。   FIG. 15A shows a general output circuit 202 using angle sensors 200A and 200B. In this output circuit 202, an HPF 206 using a capacitor 204 having a large capacity is formed, and the angular velocity sensor 200A, By blocking the DC component of 200B and applying a predetermined bias voltage on the amplifier circuit 208 side, a signal (PITCH signal, YAW signal) in which the occurrence of errors due to drift and DC components is suppressed is output.

一方、振れの周波数成分には、1Hz前後の低周波数成分も含まれており、HPF206によって直流成分除去を大きくすると、低周波数の手振れ成分を減衰させてしまうことになり、十分な手振れ補正効果を得ることができなくなってしまう。   On the other hand, the low-frequency component of about 1 Hz is included in the frequency component of the shake, and if the DC component removal is increased by the HPF 206, the low-frequency shake component is attenuated, and a sufficient shake correction effect is obtained. I can't get it.

これを防止するためには、HPF206での時定数を長く(例えば10sec以上)する必要があるが、これを行うとドリフト軽減の効果が低下してしまう。すなわち、角速度センサの出力回路側で低周波数の的確な振れ検出とドリフト軽減を両立させることが困難となっている。   In order to prevent this, it is necessary to lengthen the time constant in the HPF 206 (for example, 10 seconds or more), but if this is done, the effect of mitigating drift will be reduced. That is, it is difficult to achieve both low-frequency accurate shake detection and drift reduction on the output circuit side of the angular velocity sensor.

これを解決する方法として、HPFの時定数を10sec以上として、センサ出力(出力回路の出力)をA/D変換、サンプリングすることにより得られる数値データに対して、長周期の巡回フィルタを用いて、入力変動に追従する基準値を求め、この基準値を入力信号から減算することにより、ドリフト軽減を図るようにしている。   As a method for solving this, a long-period cyclic filter is used for numerical data obtained by A / D converting and sampling the sensor output (output circuit output) by setting the time constant of HPF to 10 seconds or more. The reference value that follows the input fluctuation is obtained, and the reference value is subtracted from the input signal to reduce the drift.

図15(B)は、一般的な巡回フィルタ210の概略構成を示しており、この巡回フィルタ210では、レジスタ212の伝達係数をn、入力信号をSin、出力信号(基準値)Soutとしたときに、基準値Soutを、
Sout=Sin×(1−n)+Sout×n
として、入力信号Sinから基準値Soutとしてドリフト成分を抽出するようにしている。
FIG. 15B shows a schematic configuration of a general cyclic filter 210. In this cyclic filter 210, the transfer coefficient of the register 212 is n, the input signal is Sin, and the output signal (reference value) Sout. To the reference value Sout,
Sout = Sin × (1-n) + Sout × n
As described above, the drift component is extracted as the reference value Sout from the input signal Sin.

しかしながら、このような巡回フィルタを用いたドリフト追従は、入力信号に対して高域通過制限(LPF)特性となってしまう。このために、高周波数の振れに対しては、補正値が減衰してしまう。また、高周波成分が減衰した検出信号は、巡回フィルタの出力である基準値とは逆に周波数が高くなるほど振幅の大きくなるHPF特性を持つことになってしまう。   However, drift tracking using such a recursive filter has a high-pass limit (LPF) characteristic with respect to the input signal. For this reason, the correction value is attenuated for a high-frequency shake. Further, the detection signal with the attenuated high frequency component has an HPF characteristic in which the amplitude increases as the frequency increases, contrary to the reference value that is the output of the cyclic filter.

これにより、検出値を積分して得る補正値のレベルが、周波数によって異なってしまい、特定の周波数の振動に対してしか最適な補正レベルが得られなくなってしまうという問題がある。
特開昭63−8628号公報 特開平8−101418号公報
As a result, the level of the correction value obtained by integrating the detection value differs depending on the frequency, and there is a problem that an optimal correction level can be obtained only for vibrations of a specific frequency.
JP-A 63-8628 JP-A-8-101418

本発明は上記事実に鑑みてなされたものであり、周波数にかかわらず略一定の特性が得られると共に、ドリフトの確実な低減を図り高精度の振れ補正が可能となる手振れ補正装置及び撮像装置を提供することを目的とする。   The present invention has been made in view of the above facts, and provides a camera shake correction apparatus and an imaging apparatus capable of obtaining substantially constant characteristics regardless of frequency and capable of highly accurate shake correction by reliably reducing drift. The purpose is to provide.

上記目的を達成するために本発明は、筐体に収容したレンズを透過して撮像素子に結像された撮影画像に応じた画像データを出力する撮像装置に設けられる手振れ補正装置であって、前記筐体振れにより生じた角速度を検出し、検出した角速度に応じた角速度信号を出力する角速度検出手段と、前記角速度検出手段から出力された前記角速度信号と予め設定された基準値との差分を、前記角速度検出手段から出力された前記角速度信号を補正した角速度信号として出力する減算手段と、前記減算手段から出力される前記補正した角速度信号を所定の時間間隔で時間積分することにより前記振れによる前記レンズの光軸の角度変化に応じた積分値を演算する積分演算手段と、前記積分演算手段から出力される前記積分値に基づいて前記振れによる前記レンズの光軸の傾きを相殺するのに必要な補正角を得るための制御値を設定する制御値設定手段と、前記制御値設定手段によって設定された前記制御値に基づいて前記レンズの光軸を傾けるように駆動するレンズ駆動手段と、前記減算手段から出力される前記補正した角速度信号の正負を判定し、該判定結果に基づいて前記角速度検出手段から出力された前記角速度信号に予め設定されている定数値を加算又は減算して、前記減算手段で用いる新たな基準値を設定する基準値設定手段と、を含むIn order to achieve the above object, the present invention is a camera shake correction device provided in an imaging device that outputs image data corresponding to a captured image formed on an imaging element through a lens housed in a housing, the housing shake by detecting the angular velocity generated in the angular velocity detecting means for outputting an angular velocity signal corresponding to the detected angular velocity, and the angular velocity signal with a preset reference value output from the angular velocity detecting means the difference, and subtracting means for outputting the angular velocity signal output from the angular velocity detecting means as the corrected angular velocity signal, wherein by time integration of the angular velocity signal the corrected output from the subtracting means at predetermined time intervals an integral calculating means for calculating an integral value corresponding to the angular change of the optical axis of the lens by vibration, the vibration on the basis of the integral value outputted from the integral calculation means Control value setting means for setting a control value for obtaining a correction angle necessary for canceling the inclination of the optical axis of the lens, and the control value setting means based on the control value set by the control value setting means. A lens driving unit that drives the optical axis to tilt and a positive / negative sign of the corrected angular velocity signal output from the subtracting unit are determined, and the angular velocity signal output from the angular velocity detecting unit is preliminarily determined based on the determination result. Reference value setting means for adding or subtracting a set constant value to set a new reference value to be used by the subtracting means .

この発明によれば、角速度検出手段から出力される角速度信号から基準値を差し引くことにより補正した角速度信号を出力する。このときに予め定数値を設定しておき、補正した角速度信号の正負を判断し、この判断結果に基づいて、角速度検出手段から出力された角速度信号値に定数値を加減算することにより、基準値を更新する。 According to the present invention, the angular velocity signal corrected by subtracting the reference value from the angular velocity signal outputted from the angular velocity detecting means is outputted. At this time, a constant value is set in advance, whether the corrected angular velocity signal is positive or negative is determined, and based on the determination result, the constant value is added to or subtracted from the angular velocity signal value output from the angular velocity detecting means. Update.

このように更新した基準値を用いることにより、入力される角速度信号から直流成分を的確に抽出した角速度信号を得ることができる。   By using the updated reference value in this way, it is possible to obtain an angular velocity signal obtained by accurately extracting a DC component from the input angular velocity signal.

この角速度信号を用いることにより、適正な振れ補正が可能となり、撮影画像にぶれが生じてしまうのを的確に抑えることができる。   By using this angular velocity signal, it is possible to perform proper shake correction, and it is possible to accurately suppress the occurrence of blurring in the captured image.

このような本発明において、前記基準値設定手段は前記減算手段から出力される前記角速度信号のレベルが前記基準値のレベルよりも大きく、前記補正した角速度信号が正であるときに前記定数値を前記角速度検出手段から出力された角速度信号に加算し、前記減算手段から出力される前記角速度信号のレベルが前記基準値のレベルよりも小さく、前記補正した角速度信号が負であるときに前記定数値を前記角速度検出手段から出力された角速度信号から減算するものであれば良い。 Such Te present invention smell, the reference value setting means, wherein when the level of the angular velocity signal outputted from said subtracting means said much larger than the level of the reference value, the angular velocity signals the correction is positive was added to the angular velocity signal output constant values from said angular velocity detecting means, the level of the angular velocity signal outputted from the subtraction means rather smaller than the level of the reference value, when the angular velocity signal the correction is negative The constant value may be subtracted from the angular velocity signal output from the angular velocity detecting means .

また、本発明の手振れ補正装置は、筐体に収容したレンズを透過して撮像素子に結像された撮影画像に応じた画像データを出力する撮像装置に設けられる手振れ補正装置であって、前記筐体振れにより生じた角速度を検出し、検出した角速度に応じた角速度信号を出力する角速度検出手段と、前記角速度検出手段から出力された前記角速度信号を所定の時間間隔で時間積分することにより前記振れによる前記レンズの光軸の角度変化に応じた積分値を演算する積分演算手段と、前記積分演算手段から出力される前記積分値と予め設定された基準値との差分を、積分演算手段から出力された前記積分値を補正した積分値として出力する減算手段と、前記減算手段から出力される前記補正した積分値に基づいて前記振れによる前記レンズの光軸の傾きを相殺するのに必要な補正角を得るための制御値を設定する制御値設定手段と、前記制御値設定手段によって設定された前記制御値に基づいて前記レンズの光軸を傾けるように駆動するレンズ駆動手段と、前記減算手段から出力される前記補正した積分値の正負を判定し、該判定結果に基づいて前記減算手段で前記積分値からの減算に用いた前記基準値に予め設定している定数値を加算又は減算して、前記減算手段に用いる新たな基準値を設定する基準値設定手段と、を含むFurther, the camera shake correction device of the present invention is a camera shake correction device provided in an imaging device that outputs image data corresponding to a captured image formed on an imaging device through a lens housed in a housing. detecting the angular velocity caused by the deflection of the housing, and the angular velocity detecting means for outputting an angular velocity signal corresponding to the detected angular velocities, to time integration of the angular velocity signal outputted from the angular velocity detecting means at predetermined time intervals wherein the integral calculation means for calculating an integral value corresponding to the angular change of the optical axis of the lens by vibration, the difference between the integral value and the preset reference value outputted from the integral calculation, the integral calculation an optical axis of the lens by a subtracting means for outputting the integral value outputted from the means as a corrected integrated value, the vibration based on the integrated value obtained by the corrected output from the subtraction means Control value setting means for setting a control value for obtaining a correction angle necessary to cancel the tilt, and driving so as to tilt the optical axis of the lens based on the control value set by the control value setting means And determining whether the corrected integrated value output from the subtracting means is positive or negative, and presetting the reference value used for subtraction from the integrated value by the subtracting means based on the determination result. And a reference value setting means for setting a new reference value to be used for the subtraction means .

この発明によれば、角速度検出手段から出力される角速度信号を積分処理することにより得られる積分値(積算値)から、レンズ駆動手段で用いる制御値を設定するときに、積分値から基準値を差し引く。このときに予め定数値を設定しておき、基準値が差し引かれた積分値を積分値と基準値との比較結果として、この比較結果に基づいて、基準値に定数値を加減算することにより、基準値を更新する。 According to the present invention, when setting the control value used in the lens driving means from the integral value (integrated value) obtained by integrating the angular velocity signal output from the angular velocity detecting means, the reference value is obtained from the integral value. Subtract. At this time, a constant value is set in advance, and the integration value obtained by subtracting the reference value is used as a comparison result between the integration value and the reference value. Based on the comparison result, the constant value is added to or subtracted from the reference value. Update the reference value.

このように更新した基準値を用いることにより、積分処理によって得られた積分値から、角速度信号中の直流成分を的確に抽出した積分値を得ることができると共に、高周波数においても積分値を収束させてしまうのを防止することができる。   By using the updated reference value in this way, it is possible to obtain an integrated value that accurately extracts the DC component in the angular velocity signal from the integrated value obtained by the integration process, and to converge the integrated value even at a high frequency. Can be prevented.

したがって、角速度検出手段の検出結果に基づいた適正な振れ補正が可能となり、撮影画像にぶれが生じてしまうのを的確に抑えることができる。   Therefore, it is possible to perform proper shake correction based on the detection result of the angular velocity detection means, and it is possible to accurately suppress the occurrence of blurring in the captured image.

このような本発明において前記基準値設定手段は前記減算手段から出力される前記積分値が正であるときに前記減算手段で用いた前記基準値に前記定数値を加算し、前記減算手段から出力される前記積分値が負であるときに前記減算手段で用いた前記基準値から前記定数値を減算するものであれば良い。 In the present invention, the reference value setting means adds the constant value to the reference value used in the subtraction means when the integral value output from the subtraction means is positive, and the subtraction means What is necessary is just to subtract the said constant value from the said reference value used by the said subtraction means, when the said integrated value output from is negative.

本発明が適用される撮像装置は、筐体に収容したレンズを透過して撮像素子に結像された撮影画像に応じた画像データを出力する撮像装置であって、前記筐体振れにより生じた角速度を検出し、検出した角速度に応じた角速度信号を出力する角速度検出手段と、前記角速度検出手段から出力された前記角速度信号と予め設定された基準値の差分を、前記角速度検出手段から出力された前記角速度信号を補正した角速度信号として出力する減算手段と、前記減算手段から出力される前記補正した角速度信号を所定の時間間隔で時間積分することにより前記振れによる前記レンズの光軸の角度変化に応じた積分値を演算する積分演算手段と、前記積分演算手段から出力された前記積分値に基づいて前記振れによる前記レンズの光軸の傾きを相殺するのに必要な補正角を得るための制御値を設定する制御値設定手段と、前記制御値設定手段によって設定された前記制御値に基づいて前記レンズの光軸を傾けるように駆動するレンズ駆動手段と、前記減算手段から出力された前記補正した角速度信号の正負を判定し、該判定結果に基づいて前記角速度検出手段から出力された前記角速度信号に予め設定されている定数値を加算又は減算して、前記減算手段で用いる新たな基準値を設定する基準値設定手段と、を含むものであれば良い。 An imaging apparatus to which the present invention is applied is an imaging apparatus that outputs image data corresponding to a photographed image formed on an imaging element through a lens housed in a casing, and is generated due to shake of the casing. angular velocity is detected and the angular velocity detecting means for outputting an angular velocity signal corresponding to the detected angular velocity, a difference between the angular velocity signal with a preset reference value output from the angular velocity detecting means, the angular velocity detecting means subtracting means for outputting as an angular velocity signal obtained by correcting the angular velocity signal outputted from the optical axis of the lens by the shake by integrating time an angular velocity signal the corrected output from the subtracting means at predetermined time intervals an integral calculating means for calculating the angle change in accordance with the integral value, the inclination of the optical axis of the lens by shake on the basis of the said integral value outputted from the integral calculation means phase A control value setting means for setting a control value for obtaining a correction angle required to perform the lens driving, and a lens drive for driving the optical axis of the lens to be tilted based on the control value set by the control value setting means And a positive / negative sign of the corrected angular velocity signal output from the subtracting means, and adding or subtracting a preset constant value to the angular velocity signal output from the angular velocity detecting means based on the determination result Any reference value setting means for setting a new reference value used by the subtracting means may be used .

また、本発明が適用される撮像装置は、筐体に収容したレンズを透過して撮像素子に結像された撮影画像に応じた画像データを出力する撮像装置であって、前記筐体振れにより生じた角速度を検出し、検出した角速度に応じた角速度信号を出力する角速度検出手段と、前記角速度検出手段から出力された前記角速度信号を所定の時間間隔で時間積分することにより前記振れによる前記レンズの光軸の角度変化に応じた積分値を演算する積分演算手段と、前記積分演算手段から出力される前記積分値と予め設定された基準値との差分を、積分演算手段から出力された前記積分値を補正した積分値として出力する減算手段と、前記減算手段から出力される前記補正した積分値に基づいて前記振れによる前記レンズの光軸の傾きを相殺するのに必要な補正角を得るための制御値を設定する制御値設定手段と、前記制御値設定手段によって設定された前記制御値に基づいて前記レンズの光軸を傾けるように駆動するレンズ駆動手段と、前記減算手段から出力される前記補正した積分値の正負を判定し、該判定結果に基づいて前記減算手段で前記積分値からの減算に用いた前記基準値に予め設定している定数値を加算又は減算して、前記減算手段に用いる新たな基準値を設定する基準値設定手段と、を含むものであれば良い。 The imaging apparatus to which the present invention is applied is an imaging apparatus that outputs image data corresponding to the captured image formed on the imaging device is transmitted through the lens accommodated in the housing, the deflection of the housing detecting the angular velocity caused by, according to the angular velocity detecting means for outputting an angular velocity signal corresponding to the detected angular velocities, the shake by time integrating the angular velocity signal outputted from the angular velocity detecting means at predetermined time intervals An integral calculation means for calculating an integral value according to a change in the angle of the optical axis of the lens, and a difference between the integral value output from the integral calculation means and a preset reference value is output from the integral calculation means. said subtracting means for outputting the integral value as a corrected integrated value,必to offset the inclination of the optical axis of the lens by said vibration based on the integrated value obtained by the corrected output from the subtraction means Do a control value setting means for setting a control value for obtaining the correction angle, a lens driving means for driving to tilt the optical axis of the lens on the basis of the control value set by said control value setting means, wherein Determine whether the corrected integrated value output from the subtracting means is positive or negative, and add a constant value set in advance to the reference value used for subtraction from the integrated value by the subtracting means based on the determination result or Any reference value setting means for subtracting and setting a new reference value used for the subtracting means may be used .

以上説明したように本発明によれば、角速度検出手段から出力する角速度信号から、簡単な処理でドリフト成分を的確に抽出して、正確な手振れ補正が可能となるようにすることができる。   As described above, according to the present invention, it is possible to accurately extract the drift component from the angular velocity signal output from the angular velocity detecting means with a simple process, and to enable accurate camera shake correction.

これにより、撮像装置によって撮影される撮影画像にぶれ等が生じてしまうのを確実に防止して、高品質の撮影画像がえられるようにすることができるという優れた効果を有する。   Thereby, it has the outstanding effect that it can prevent that a blurring etc. arise in the picked-up image image | photographed with an imaging device, and can obtain a high quality picked-up image.

以下、図面を参照して本発明の実施の形態の一例を詳細に説明する。図1には、本実施の形態に撮像装置として適用したデジタルスチルカメラ(以下、デジタルカメラとする)10の外観の概略構成を示している。   Hereinafter, an example of an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 shows a schematic configuration of an external appearance of a digital still camera (hereinafter referred to as a digital camera) 10 applied as an imaging apparatus to the present embodiment.

このデジタルカメラ10には、被写体像を結像させるためのレンズ12、撮影する被写体の構図を決定するためのファインダ14、撮影時に押下されるレリーズボタン(所謂シャッターボタン)16、電源スイッチ18などを備えている。なお、デジタルカメラ10では、レリーズボタン16が、中間位置まで押下される半押し状態と、中間位置を越えて最終位置まで押下される全押し状態と、の2段階の押下操作が可能となっている。   The digital camera 10 includes a lens 12 for forming a subject image, a finder 14 for determining the composition of the subject to be photographed, a release button (so-called shutter button) 16 pressed during photographing, a power switch 18 and the like. I have. In the digital camera 10, the release button 16 can be pressed in two stages: a half-pressed state where the release button 16 is pressed down to the intermediate position, and a fully-pressed state where the release button 16 is pressed down to the final position beyond the intermediate position. Yes.

デジタルカメラ10の背面には、撮影によって得られたデジタル画像データに応じた被写体像や各種のメニュー画面、メッセージ等の表示に用いる液晶ディスプレイ(以下、LCDとする)20と共に、撮影モード及び撮影モード時のモード(静止画モードと動画モード)に設定するときに操作される撮影スイッチ22、撮影画像をLCD20に表示する再生モードに設定するときに操作される再生スイッチ24、LCD20にメニュー画面を表示したときに操作される十字カーソルボタン26、撮影時に被写体像のズーミング(拡大及び縮小)を行うときに操作されるズームボタン28などが設けられている。   On the back of the digital camera 10, a liquid crystal display (hereinafter referred to as LCD) 20 used for displaying subject images, various menu screens, messages, etc. according to digital image data obtained by photographing, as well as photographing mode and photographing mode Shooting switch 22 that is operated when setting the current mode (still image mode and moving image mode), playback switch 24 that is operated when setting the playback mode for displaying the captured image on the LCD 20, and a menu screen displayed on the LCD 20. There are provided a cross-cursor button 26 that is operated when the camera is operated, a zoom button 28 that is operated when zooming (enlarging and reducing) the subject image during shooting, and the like.

さらに、デジタルカメラ10の底面には、外部装置とUSB(Universal Serial Bus)などの所定のインターフェイス規格で接続可能とするレセプタクル30が設けられている。なお、デジタルカメラ10としては、セルフタイマ機能を用いて画像撮影を行うときの撮影タイミングの到来を点滅間隔によって報知するセルフタイマLED34などが設けられていてもよく、外部から作動用の電力を供給可能とするためのDC端子36などが設けられていてもよい。   Furthermore, a receptacle 30 is provided on the bottom surface of the digital camera 10 so that it can be connected to an external device according to a predetermined interface standard such as USB (Universal Serial Bus). The digital camera 10 may be provided with a self-timer LED 34 or the like for notifying the arrival of the shooting timing when shooting an image using the self-timer function by a blinking interval. A DC terminal 36 or the like may be provided for enabling.

このデジタルカメラ10は、静止画モード(静止画撮影モード)に設定されているときに、レリーズボタン16を半押し状態とすることにより、AE(Automatic Exposure、自動露出)機能が働いて、シャッタースピード、絞り状態などの露出状態が設定され、この後、AF(Auto Focus、自動合焦)機能が働いて合焦制御される。また、デジタルカメラ10は、レリーズボタン16の半押し状態から、続いて全押し状態とすることにより画像露光(画像撮影)が行われる。   When the digital camera 10 is set to a still image mode (still image shooting mode), the release button 16 is half-pressed to operate an AE (Automatic Exposure) function, and a shutter speed. Then, an exposure state such as an aperture state is set, and then an AF (Auto Focus) function is activated to control the focus. Further, the digital camera 10 performs image exposure (image shooting) when the release button 16 is pressed halfway and then fully pressed.

また、デジタルカメラ10は、動画モード(動画撮影モード)が設定されているときに、レリーズボタン16を全押し状態とすることにより動画撮影が開始され、全押し状態から半押し状態に戻した後、さらに全押し状態とすることにより動画撮影が停止される。なお、自導露出機能や合焦制御等は、従来公知の手法が適用可能であり、本実施の形態では詳細な説明を省略する。また、本発明が適用される撮像装置の動作はこれに限るものではない。   The digital camera 10 starts moving image shooting by setting the release button 16 to a fully pressed state when the moving image mode (moving image shooting mode) is set, and after returning from the fully pressed state to the half pressed state. Further, the moving image shooting is stopped by further pressing the button. Note that a conventionally known method can be applied to the self-guided exposure function, the focus control, and the like, and detailed description thereof is omitted in the present embodiment. The operation of the imaging apparatus to which the present invention is applied is not limited to this.

図2には、デジタルカメラ10の要部の概略構成を示している。デジタルカメラ10には、筐体38(図1参照)内に被写体からの光を集光するレンズ12と共に、CCD、CMOSイメージセンサなどを用いた撮像素子40が設けられている。   FIG. 2 shows a schematic configuration of a main part of the digital camera 10. The digital camera 10 is provided with an imaging device 40 using a CCD, a CMOS image sensor, and the like, together with a lens 12 that collects light from a subject, in a housing 38 (see FIG. 1).

レンズ12は、例えば、固定レンズ12A、変倍を行うズームレンズ12B及び、変倍に伴う焦点面の移動補正と共に焦点調節機能を備えたフォーカスレンズ12Cなどを含んで形成されている。なお、図2では、絞及びシャッター等の図示を省略している。 The lens 12 includes, for example, a fixed lens 12A, a zoom lens 12B that performs zooming, and a focus lens 12C that has a focus adjustment function as well as focal plane movement correction accompanying zooming. In FIG. 2, and the like are omitted aperture Ri and shutters.

これにより、デジタルカメラ10では、固定レンズ12Aによって集光された光によって撮像素子40上に被写体像が結像され、撮像素子40から、画素ごとの受光量に応じた電気信号(アナログ画像信号)が出力される。   Thereby, in the digital camera 10, a subject image is formed on the image sensor 40 by the light condensed by the fixed lens 12A, and an electrical signal (analog image signal) corresponding to the amount of light received from the image sensor 40 for each pixel. Is output.

また、デジタルカメラ10には、増幅部42が設けられている。増幅部42は、撮像素子40から出力されるアナログ信号を増幅する。   The digital camera 10 is provided with an amplifying unit 42. The amplifying unit 42 amplifies the analog signal output from the image sensor 40.

さらに、デジタルカメラ10は、図示しないCPU、ROM、RAM、データバス、システムバスなどを含むマイクロコンピュータを備えた画像処理システムICなどを用いて信号処理部44が形成されている。   Further, the digital camera 10 includes a signal processing unit 44 using an image processing system IC including a microcomputer including a CPU, a ROM, a RAM, a data bus, a system bus, and the like (not shown).

この信号処理部44では、増幅部42から入力されるアナログ信号に対して、A/D変換を行うことにより撮影画像(被写体像)に応じたデジタル画像データを生成する。このとき、信号処理部44では、R(赤色)、G(緑色)、B(青色)の信号を例えば12ビットのR、G、B信号に変換する。   The signal processing unit 44 performs A / D conversion on the analog signal input from the amplification unit 42 to generate digital image data corresponding to the photographed image (subject image). At this time, the signal processing unit 44 converts R (red), G (green), and B (blue) signals into, for example, 12-bit R, G, and B signals.

また、信号処理部44では、A/D変換されて生成された画像データに対して光源種に応じたデジタルゲインをかけることでホワイトバランス調整を行うと共に、γ処理、シャープネス処理等を行って例えば8ビットの画像データを生成する。さらに、信号処理部44では、画像データに対してYC信号処理を施して輝度信号Yとクロマ信号Cr、Cb(YC信号)を生成する。   Further, the signal processing unit 44 performs white balance adjustment by applying a digital gain corresponding to the light source type to the image data generated by A / D conversion, and performs γ processing, sharpness processing, and the like, for example. 8-bit image data is generated. Further, the signal processing unit 44 performs YC signal processing on the image data to generate a luminance signal Y and chroma signals Cr and Cb (YC signal).

このYC信号は、図示しない画像バッファに格納され、LCD20に画像を表示するときには、このYC信号を用いることができ、これにより、LCD20にスルー画像の表示が可能となっている。   This YC signal is stored in an image buffer (not shown), and this YC signal can be used when displaying an image on the LCD 20, thereby enabling a through image to be displayed on the LCD 20.

ここで、静止画の撮影が設定され、レリーズボタン16が押下(全押し)されたときには、このYC信号が信号処理部44でJPEGなどの所定の圧縮形式で圧縮処理され、撮影画像の画像ファイルとして出力される。   Here, when still image shooting is set and the release button 16 is pressed (fully pressed), the YC signal is compressed in a predetermined compression format such as JPEG by the signal processing unit 44, and an image file of the shot image is obtained. Is output as

信号処理部44から出力される画像ファイルは、デジタルカメラ10に装着されている記録メディア(例えば、スマートメディア、ICカード、CD−R、CD−RWなど)に記録される。また、信号処理部44から出力される画像ファイルや、記録メディアに記録された画像ファイルは、レセプタクル30を介して、パーソナルコンピュータ(PC)や、TVなどへ出力可能となっている。   The image file output from the signal processing unit 44 is recorded on a recording medium (for example, smart media, IC card, CD-R, CD-RW, etc.) attached to the digital camera 10. The image file output from the signal processing unit 44 and the image file recorded on the recording medium can be output to a personal computer (PC), a TV, or the like via the receptacle 30.

また、動画撮影が設定されているときには、レリーズボタン16が全押しされることにより動画撮影を開始し、レリーズボタン16が半押し状態に戻された後、全押しされるまでの期間、すなわち、動画の撮影を行っている期間において、所定の時間ごと(例えば、1/30secごとなどの予め設定されている時間)に図示しない画像バッファに格納されているYC信号が、所定形式(例えば、Motion JPEG形式など)で圧縮処理され、動画像の画像ファイルとして出力される。   In addition, when moving image shooting is set, the release button 16 is fully pressed to start moving image shooting, and after the release button 16 is returned to the half-pressed state, the period until it is fully pressed, that is, In a period during which a moving image is shot, a YC signal stored in an image buffer (not shown) at a predetermined time (for example, a preset time such as every 1/30 sec) is converted into a predetermined format (for example, Motion JPEG format etc.) and output as a moving image file.

このように構成されているデジタルカメラ10では、電源スイッチ18のオン操作及び撮影スイッチ22が操作されることにより、レンズ12によって被写体が撮像素子40上に結像される。   In the digital camera 10 configured in this way, the subject is imaged on the image sensor 40 by the lens 12 when the power switch 18 is turned on and the photographing switch 22 is operated.

撮像素子40は、結像された被写体像に応じたデータを出力する。このデータは、増幅処理された後に、A/D変換されることにより、画像データとして信号処理部44に読み込まれる。   The image sensor 40 outputs data corresponding to the formed subject image. This data is amplified and then A / D converted to be read into the signal processing unit 44 as image data.

信号処理部44では、この画像データに対して所定の処理を施すことにより、LCD20に表示可能となる。また、レリーズボタン16が操作されて画像撮影が行われることにより、撮影画像の画像ファイルが信号処理部44から出力される。   The signal processing unit 44 can display the image data on the LCD 20 by performing predetermined processing on the image data. Further, when the release button 16 is operated to capture an image, an image file of the captured image is output from the signal processing unit 44.

ところで、デジタルカメラ10では、手振れなどによって筐体38に振動が生じると、被写体に対するレンズ12の光軸に傾きが生じ、撮像素子40上に結像される被写体像の位置にズレが生じる。このようなズレは、撮影画像のぶれとなって撮影画像の品質低下を生じさせてしまう。   By the way, in the digital camera 10, when vibration is generated in the housing 38 due to camera shake or the like, the optical axis of the lens 12 with respect to the subject is tilted, and the position of the subject image formed on the image sensor 40 is displaced. Such a shift causes a blur of the photographed image and causes a deterioration in the quality of the photographed image.

このような撮影画像のぶれを防止するために、デジタルカメラ10には、光学式で手振れ補正を行う振れ補正機能を備えている。ここで、第1及び第2の実施の形態として、デジタルカメラ10に設ける振れ補正機能を説明する。
〔第1の実施の形態〕
図2に示すように、デジタルカメラ10には、振れ補正モジュール50が設けられている。この振れ補正モジュール50は、筐体38(図1参照)が振れるときの角速度を検出する角速度検出手段として設けられているジャイロセンサ52を備えている。
In order to prevent such blurring of the captured image, the digital camera 10 is provided with a shake correction function that performs optical shake correction. Here, as the first and second embodiments, a shake correction function provided in the digital camera 10 will be described.
[First Embodiment]
As shown in FIG. 2, the digital camera 10 is provided with a shake correction module 50. The shake correction module 50 includes a gyro sensor 52 provided as an angular velocity detection unit that detects an angular velocity when the casing 38 (see FIG. 1) swings.

また、振れ補正モジュール50には、補正演算部54、レンズ駆動回路56が設けられ、レンズ12には、レンズ駆動回路56によってレンズ12の光軸と直交する二方向(例えば、光軸水平にしたときには、垂直方向と垂直方向及び光軸のそれぞれと直交する水平方向、以下では、説明を簡略化するために垂直方向及び水平方向をこの二方向とする)にシフトされるシフトレンズ58が設けられている。 In addition, the shake correction module 50 is provided with a correction calculation unit 54 and a lens driving circuit 56. The lens 12 is applied to the lens 12 in two directions orthogonal to the optical axis of the lens 12 (for example, the optical axis is set horizontally). In this case, a shift lens 58 is provided that is shifted in the vertical direction, the vertical direction, and the horizontal direction orthogonal to each of the optical axes (hereinafter, the vertical direction and the horizontal direction are referred to as these two directions for the sake of simplicity). It has been.

図3には、第1の実施の形態に係る振れ補正モジュール50の要部の概略構成を示している。ジャイロセンサ52は、垂直角速度センサ52A及び水平角速度センサ52Bを備えており、垂直角速度センサ52A及び水平角速度センサ52Bは、デジタルカメラ10の水平方向の角速度、水平方向の角速度を検出し、検出した角速度に応じた信号を出力する。なお、角速度センサに換えて、加速度センサや角加速度センサ等を用いてもよい。   FIG. 3 shows a schematic configuration of a main part of the shake correction module 50 according to the first embodiment. The gyro sensor 52 includes a vertical angular velocity sensor 52A and a horizontal angular velocity sensor 52B. The vertical angular velocity sensor 52A and the horizontal angular velocity sensor 52B detect the horizontal angular velocity and the horizontal angular velocity of the digital camera 10, and detect the detected angular velocity. Output a signal according to. In place of the angular velocity sensor, an acceleration sensor, an angular acceleration sensor, or the like may be used.

また、ジャイロセンサ52には、垂直角速度センサ52A、水平角速度センサ52Bのそれぞれから出力する信号から低域の周波数成分を減衰させるHPF60及び、HPF60を通過した信号を増幅する増幅回路(Amp)62が設けられており、これにより、ジャイロセンサ52は、直流成分を抑えた垂直方向及び水平方向に対する角速度信号を出力する。なお、ジャイロセンサ52は、角速度センサの検出信号に応じた角速度信号を出力可能であれば、これに限らず任意の構成を適用することができる。   The gyro sensor 52 includes an HPF 60 that attenuates a low frequency component from signals output from the vertical angular velocity sensor 52A and the horizontal angular velocity sensor 52B, and an amplification circuit (Amp) 62 that amplifies a signal that has passed through the HPF 60. As a result, the gyro sensor 52 outputs an angular velocity signal in the vertical direction and the horizontal direction in which the DC component is suppressed. The gyro sensor 52 is not limited to this, and any configuration can be applied as long as it can output an angular velocity signal corresponding to the detection signal of the angular velocity sensor.

一方、補正演算部54には、ジャイロセンサ52から入力される角速度信号をデジタル信号に変換するA/D変換器64と共に、図示しないマイクロコンピュータによって形成された積分演算部66及び制御電圧変換部68が設けられている。   On the other hand, the correction calculation unit 54 includes an A / D converter 64 that converts an angular velocity signal input from the gyro sensor 52 into a digital signal, and an integration calculation unit 66 and a control voltage conversion unit 68 formed by a microcomputer (not shown). Is provided.

積分演算部66は、予め設定されたサンプリング間隔でA/D変換器64から入力される角速度信号を時間積分する。これにより、光軸の角度に応じた積分値が得られるようにしている。   The integration calculation unit 66 time-integrates the angular velocity signal input from the A / D converter 64 at a preset sampling interval. Thereby, an integral value corresponding to the angle of the optical axis is obtained.

積分演算部66から出力される積分値は、制御電圧変換部68に入力される。この制御電圧変換部68では、積分値に基づいて制御電圧(制御値)を設定し、設定した制御値をレンズ駆動回路56へ出力する。   The integration value output from the integration calculation unit 66 is input to the control voltage conversion unit 68. The control voltage converter 68 sets a control voltage (control value) based on the integral value, and outputs the set control value to the lens drive circuit 56.

レンズ駆動回路56は、この制御値に応じて図示しないアクチュエータを駆動して、シフトレンズ58を垂直方向ないし水平方向へ移動する。   The lens driving circuit 56 drives an actuator (not shown) according to the control value, and moves the shift lens 58 in the vertical direction or the horizontal direction.

これにより、振れ補正モジュール50では、筐体38の振れにより発生するレンズ12の光軸の傾きを、シフトレンズ58の移動によって生じる光軸の傾きによって相殺することにより、撮像素子40に結像される被写体像に、位置ズレが生じないようにしている。   As a result, the shake correction module 50 forms an image on the image sensor 40 by offsetting the tilt of the optical axis of the lens 12 caused by the shake of the housing 38 by the tilt of the optical axis caused by the movement of the shift lens 58. The position of the subject image is not displaced.

一方、ジャイロセンサ52から出力される角速度信号には、ノイズ成分と共に直流成分が含まれており、特に直流成分によって角速度センサ52A、52Bの出力信号が大きくドリフトされていることがあり、このドリフトによって適正な補正が困難となってしまうことがある。   On the other hand, the angular velocity signal output from the gyro sensor 52 includes a DC component as well as a noise component. In particular, the output signals of the angular velocity sensors 52A and 52B may be greatly drifted by the DC component. Proper correction may be difficult.

すなわち、図4(A)に示すように、ジャイロセンサ52から出力される角速度信号にドリフトが生じていないときには、規定の中心値を中心とした所定範囲の振幅(図4では、角速度信号の振幅の上下限を二点鎖線で示す)の信号となっている。   That is, as shown in FIG. 4A, when there is no drift in the angular velocity signal output from the gyro sensor 52, the amplitude within a predetermined range centered on the specified center value (in FIG. 4, the amplitude of the angular velocity signal). The upper and lower limits are indicated by a two-dot chain line).

これに対して、ジャイロセンサ52から出力する角速度信号にドリフト(例えば図4(B)で実線で示す信号)が含まれると、角速度信号の振幅の範囲が変化する。このときに、図4(C)に示すように、固定した中心値を基準にして角速度を積算し、積算結果に基づいて手振れ補正を行ってしまうと、大きな誤差を生じ、撮影画像のぶれを抑えることができなくなる。   On the other hand, if the angular velocity signal output from the gyro sensor 52 includes a drift (for example, a signal indicated by a solid line in FIG. 4B), the amplitude range of the angular velocity signal changes. At this time, as shown in FIG. 4C, if the angular velocities are integrated based on the fixed center value and the camera shake correction is performed based on the integration result, a large error occurs, and the shake of the captured image is reduced. It becomes impossible to suppress.

すなわち、図5に示すように、本来の角速度信号(図5で二点鎖線で示す)に対して、角速度信号にドリフト成分(図5で破線で示す)が含まれることにより、実際にジャイロセンサ52から出力される角速度信号が、図5で実線で示すように、ドリフト成分によって実際の角速度と異なってしまうことになる。   That is, as shown in FIG. 5, a drift component (indicated by a broken line in FIG. 5) is included in the angular velocity signal with respect to the original angular velocity signal (indicated by a two-dot chain line in FIG. 5). As shown by the solid line in FIG. 5, the angular velocity signal output from 52 differs from the actual angular velocity depending on the drift component.

これにより、ジャイロセンサ52から出力される角速度信号に基づいて手振れ補正を行うと、大きな誤差が生じ、さらに、撮影画像のぶれを増長させてしまうことがある。   As a result, when camera shake correction is performed based on the angular velocity signal output from the gyro sensor 52, a large error occurs, and blurring of the captured image may be further increased.

このような誤差の発生を防止するためには、ドリフトに合わせて中心値(以下、基準値とする)を追従させることにより、図4(B)の角速度信号から、図4(A)の角速度信号を抽出して、角速度センサ52A、52Bの出力信号に応じた適正な手振れ補正が可能となる。   In order to prevent such an error from occurring, the angular velocity shown in FIG. 4A is obtained from the angular velocity signal shown in FIG. 4B by causing a center value (hereinafter referred to as a reference value) to follow the drift. By extracting the signal, it is possible to perform an appropriate camera shake correction according to the output signals of the angular velocity sensors 52A and 52B.

これを実行するために、図3に示すように、第1の実施の形態に適用した振れ補正モジュール50には、フィルタ処理部70が設けられている。このフィルタ処理部70は、ハードウェアによって構成してもよく、また、図示しないマイクロコンピュータで実行するソフトウェアで構成することもできる。   In order to execute this, as shown in FIG. 3, the shake correction module 50 applied to the first embodiment is provided with a filter processing unit 70. The filter processing unit 70 may be configured by hardware, or may be configured by software executed by a microcomputer (not shown).

図6(A)には、フィルタ処理部70をハードウェアで構成するときに用いるときの一例とするフィルタ回路72を示している。   FIG. 6A shows a filter circuit 72 as an example when the filter processing unit 70 is configured by hardware.

このフィルタ回路72には、所定の伝達係数nのレジスタ74が設けられており、このレジスタ74に、入力信号として角速度信号が入力されるようになっている。また、伝達係数nは、0<n<1の範囲としている。   The filter circuit 72 is provided with a register 74 having a predetermined transfer coefficient n, and an angular velocity signal is input to the register 74 as an input signal. The transmission coefficient n is in the range of 0 <n <1.

また、フィルタ回路72には、減算器76が設けられており、入力信号からレジスタ74の出力信号の差分信号が検出出力として出力される。フィルタ回路72では、この検出出力が、補正した角速度信号となるようにしている。   Further, the filter circuit 72 is provided with a subtracter 76, and a difference signal between the input signal and the output signal of the register 74 is output as a detection output. In the filter circuit 72, the detected output becomes a corrected angular velocity signal.

フィルタ回路72には、正負判定部78、正負反転制御部80及び加算器82が設けられている。正負判定部78は、減算器76から出力される出力信号(出力信号値)が正であるか負であるかを判定し判定結果を正負反転制御部80へ出力する。   The filter circuit 72 includes a positive / negative determination unit 78, a positive / negative inversion control unit 80, and an adder 82. The positive / negative determination unit 78 determines whether the output signal (output signal value) output from the subtractor 76 is positive or negative, and outputs the determination result to the positive / negative inversion control unit 80.

正負反転制御部80には、予めジャイロセンサ52ごとに設定しているフィルタ係数が定数値として入力されるようになっており、正負反転制御部80では、正負判定部78の判定結果に基づいて、定数値を反転させて加算器82へ出力する。   The positive / negative inversion control unit 80 is inputted with a filter coefficient set in advance for each gyro sensor 52 as a constant value. In the positive / negative inversion control unit 80, based on the determination result of the positive / negative determination unit 78. The constant value is inverted and output to the adder 82.

また、加算器82には、入力信号値が入力され、これにより、入力信号値に定数値が加算されて、レジスタ74に入力される。   Further, an input signal value is input to the adder 82, whereby a constant value is added to the input signal value and input to the register 74.

正負反転制御部80では、正負判定部78で正と判定した信号が入力されることにより、定数値が、入力信号に加算されるようにし、負と判定されたときには、入力信号から定数値を差し引くように定数値の符号を反転させる。   In the positive / negative reversal control unit 80, the signal determined to be positive by the positive / negative determination unit 78 is input so that a constant value is added to the input signal. When it is determined negative, the constant value is determined from the input signal. The sign of the constant value is inverted so as to be subtracted.

すなわち、レジスタ74の出力値が入力信号値より小さいときには、入力信号値に定数値を加算した信号値をレジスタ74に入力し、レジスタ74の出力値が入力信号値より大きくなったときには、入力信号値から定数値を差し引いた信号がレジスタ74に入力されるようにしている。   That is, when the output value of the register 74 is smaller than the input signal value, a signal value obtained by adding a constant value to the input signal value is input to the register 74, and when the output value of the register 74 becomes larger than the input signal value, the input signal A signal obtained by subtracting a constant value from the value is input to the register 74.

これにより、フィルタ回路72では、レジスタ74の出力値が基準値となるようにし、入力信号値から基準値を差し引くことにより、出力信号値として、ドリフト補正を行った角速度信号値を出力するようにしている。   Thereby, the filter circuit 72 outputs the angular velocity signal value subjected to drift correction as the output signal value by subtracting the reference value from the input signal value so that the output value of the register 74 becomes the reference value. ing.

図6(B)には、フィルタ回路72に入力する入力信号例を示し、図6(C)には、図6(B)の入力信号に対する基準値の変化の概略を示している。   FIG. 6B shows an example of an input signal input to the filter circuit 72, and FIG. 6C shows an outline of a change in the reference value with respect to the input signal of FIG. 6B.

図6(B)及び図6(C)に示すように、フィルタ回路72では、入力信号が信号中点よりも大きいときには、基準値が所定の傾斜で徐々に大きく(増加)する。また、入力信号が信号中点よりも下がると、基準値が徐々に小さくなる(減少する)。このときの基準値は、定数値に応じた傾斜で変化する。   As shown in FIGS. 6B and 6C, in the filter circuit 72, when the input signal is larger than the signal midpoint, the reference value gradually increases (increases) with a predetermined slope. Further, when the input signal falls below the signal midpoint, the reference value gradually decreases (decreases). The reference value at this time changes with an inclination corresponding to the constant value.

このような定数値は、デジタルカメラ10ごとに、ジャイロセンサ52から出力する角速度信号からドリフトを的確に除去するように試験を行って決定するようにしている。   Such a constant value is determined for each digital camera 10 by performing a test so as to accurately remove the drift from the angular velocity signal output from the gyro sensor 52.

なお、図7(A)には、一般的な手振れ補正に用いるフィルタ回路の一例とするフィルタ回路84を示している。このフィルタ回路84では、予め設定されたフィルタ係数αと(1−フィルタ係数)を用い、基準値と入力信号値の比較結果を用いずに、入力信号値に基準値を追従させるようにしている。また、図7(B)には、図6(B)と同じ入力信号例を示し、図6(C)に対応する図7(C)には、その入力信号に対する基準値の変化を示している。   Note that FIG. 7A illustrates a filter circuit 84 as an example of a filter circuit used for general camera shake correction. The filter circuit 84 uses a preset filter coefficient α and (1−filter coefficient), and causes the reference value to follow the input signal value without using the comparison result between the reference value and the input signal value. . FIG. 7B shows the same input signal example as FIG. 6B, and FIG. 7C corresponding to FIG. 6C shows the change of the reference value with respect to the input signal. Yes.

ここで、図8(A)から図8(C)には、フィルタ回路72を用いた試験結果を示し、比較例として図9(A)から図9(C)には、フィルタ回路84を用いた同様の試験結果を示している。   8A to 8C show test results using the filter circuit 72. As a comparative example, the filter circuit 84 is used in FIGS. 9A to 9C. Similar test results were shown.

なお、図8及び図9では、BASEで基準値を示し、SIGNALが入力信号、DETECTが出力信号を示しており、横軸が時間、縦軸が電圧となっている。また、図8(A)及び図9(A)が入力信号の周期を32msecとし、図8(B)及び図9(B)が入力信号の周期を64msecとし、図8(C)及び図9(C)が入力信号の周期を128msecとしている。   8 and 9, BASE indicates a reference value, SIGNAL indicates an input signal, DETECT indicates an output signal, the horizontal axis indicates time, and the vertical axis indicates voltage. 8A and 9A set the period of the input signal to 32 msec, FIGS. 8B and 9B set the period of the input signal to 64 msec, and FIG. 8C and FIG. (C) sets the period of the input signal to 128 msec.

図9(A)から図9(C)に示すように、フィルタ回路84を用いた場合、基準値が入力信号に応じて周期的に変化していると共に、入力信号と基準値の間に位相のズレが生じている。このために、入力信号と出力信号の間に位相のズレが生じ、特に、図9(C)に示すように周期が長くなると、この位相のズレも大きくなる。   As shown in FIGS. 9A to 9C, when the filter circuit 84 is used, the reference value periodically changes in accordance with the input signal, and the phase between the input signal and the reference value. There is a gap. For this reason, a phase shift occurs between the input signal and the output signal. In particular, when the cycle becomes longer as shown in FIG. 9C, the phase shift also increases.

すなわち、フィルタ回路84においては、基準値に直流成分のみでなく入力信号の周期に応じた周波数成分も含んでおり、このために、入力信号から基準値を抽出していくと、入力信号と出力信号の誤差が大きくなってしまい、適正な振れ補正が困難となってしまうことになる。 That is, in the filter circuit 84 , the reference value includes not only a DC component but also a frequency component corresponding to the period of the input signal. For this reason, when the reference value is extracted from the input signal, the input signal and the output are output. The error of the signal becomes large, and proper shake correction becomes difficult.

これに対して、図8(A)から図8(C)に示すように、フィルタ回路72では、基準値の変化が少ない。   On the other hand, as shown in FIGS. 8A to 8C, the filter circuit 72 has little change in the reference value.

このために、フィルタ回路72を用いたときには、入力信号と出力信号の間に位相のズレが生じることがない。すなわち、ドリフト成分(直流成分)のみの抽出が可能となる。   For this reason, when the filter circuit 72 is used, there is no phase shift between the input signal and the output signal. That is, only the drift component (DC component) can be extracted.

したがって、ドリフト成分による入力信号のドリフトを抑えた出力信号を得ることが可能となり、ジャイロセンサ52から出力する角速度信号からドリフトを除去して、適正な手振れ補正を行うことが可能となる。   Therefore, it is possible to obtain an output signal in which the drift of the input signal due to the drift component is suppressed, and it is possible to remove the drift from the angular velocity signal output from the gyro sensor 52 and perform an appropriate camera shake correction.

また、フィルタ回路72では、予め設定している定数値の加減算のみの簡単な構成で可能となる。   In addition, the filter circuit 72 can be configured with a simple configuration only by adding and subtracting preset constant values.

一方、ここまでは、フィルタ回路72を用いた例を説明したが、ソフトウェアによる処理を適用することができる。   On the other hand, the example using the filter circuit 72 has been described so far, but processing by software can be applied.

図10には、このときの処理の流れを示している。このフローチャートは、例えば、デジタルカメラ10が撮影モードとなっているときに実行され、最初の初期設定を行う。   FIG. 10 shows the flow of processing at this time. This flowchart is executed, for example, when the digital camera 10 is in the shooting mode, and performs initial initialization.

この初期設定では、ステップ100でジャイロセンサ52から出力する角速度信号(角速度信号値)を入力信号(入力信号値)として読込み、次のステップ102では、読み込んだ入力信号値から基準値の初期値を設定する。 In this initial setting, the angular velocity signal (angular velocity signal value) output from the gyro sensor 52 in step 100 is read as an input signal (input signal value). In the next step 102, the initial value of the reference value is read from the read input signal value. Set.

この後、入力信号値から基準値を差し引いた値を出力信号値(出力信号)として出力する(ステップ104)。なお、この初期設定は省略して、予め設定している値を基準値としてもよい。   Thereafter, a value obtained by subtracting the reference value from the input signal value is output as an output signal value (output signal) (step 104). This initial setting may be omitted, and a preset value may be used as the reference value.

このようにして初期設定が行われると、所定のサンプリング間隔(手振れ補正の制御時間間隔)でステップ106以下を繰返し実行する。このステップ106では、ジャイロセンサ52から出力される入力信号値を読み込み、次のステップ108では、入力信号値と基準値とを比較して、入力信号値が基準値よりも大きいか否かを判断する。   When the initial setting is performed in this way, Step 106 and subsequent steps are repeatedly executed at a predetermined sampling interval (control time interval for camera shake correction). In this step 106, the input signal value output from the gyro sensor 52 is read, and in the next step 108, the input signal value is compared with the reference value to determine whether or not the input signal value is larger than the reference value. To do.

ここで、入力信号が出力信号よりも大きいときには、ステップ108で肯定判定してステップ110へ移行し、予め設定している定数値を加算値に設定する。続いて、ステップ112では、設定した加算値を基準値に加算して、基準値を更新する。   Here, when the input signal is larger than the output signal, an affirmative determination is made at step 108 and the routine proceeds to step 110, where a preset constant value is set as the added value. Subsequently, in step 112, the set addition value is added to the reference value to update the reference value.

この後に、ステップ114へ移行して、入力信号値から基準値を差し引くことにより、出力信号値を算出する。   Thereafter, the process proceeds to step 114, where the output signal value is calculated by subtracting the reference value from the input signal value.

また、入力信号値に対して、基準値が大きいときには、ステップ108で否定判定してステップ116へ移行する。このステップ116では、入力信号値が基準値よりも低いか否かを確認し、肯定判定されることにより、ステップ118へ移行する。   If the reference value is larger than the input signal value, a negative determination is made at step 108 and the routine proceeds to step 116. In this step 116, it is confirmed whether or not the input signal value is lower than the reference value, and if an affirmative determination is made, the process proceeds to step 118.

このステップ118では、定数値を減算値に設定し、次のステップ120では、基準値から定数値を減算することにより、基準値を更新する。   In step 118, the constant value is set as a subtraction value, and in the next step 120, the reference value is updated by subtracting the constant value from the reference value.

この後、ステップ114へ移行して、入力信号値と基準値から出力信号値を算出する。   Thereafter, the process proceeds to step 114, and the output signal value is calculated from the input signal value and the reference value.

さらに、入力信号値と基準信号値が同じときには、ステップ116で否定判定されてステップ114へ移行する。これにより、基準値が更新されず、この基準値を用いた出力信号値の演算を行う。   Further, when the input signal value and the reference signal value are the same, a negative determination is made at step 116 and the routine proceeds to step 114. Thereby, the reference value is not updated, and the output signal value is calculated using this reference value.

このような処理を行うことにより、入力信号からドリフト成分を的確に除去した出力信号を得ることができ、この出力信号を、ジャイロセンサ52で検出する角速度信号として用いることにより、シフトレンズ58を用いた最適な振れ補正を行うことができる。
〔第2の実施の形態〕
次に本発明の第2の実施の形態を説明する。なお、第2の実施の形態の基本的構成は、前記した第1の実施の形態と同じであり、第2の実施の形態において第1の実施の形態と同一の部品には、同一の符号を付与してその説明を省略する。
By performing such processing, it is possible to obtain an output signal from which the drift component has been accurately removed from the input signal. By using this output signal as an angular velocity signal detected by the gyro sensor 52, the shift lens 58 can be used. Optimal shake correction can be performed.
[Second Embodiment]
Next, a second embodiment of the present invention will be described. The basic configuration of the second embodiment is the same as that of the first embodiment described above, and the same reference numerals are used for the same components as those of the first embodiment in the second embodiment. Will be omitted.

図11には、第2の実施の形態に適用した振れ補正モジュール50Aの概略構成を示している。   FIG. 11 shows a schematic configuration of a shake correction module 50A applied to the second embodiment.

この振れ補正モジュール50Aは、補正演算部54AにA/D変換器64、積分処理部66及び制御電圧変換部68に加えて、積分処理部66と制御電圧変換部68の間にフィルタ処理部86を備えている。   In addition to the A / D converter 64, the integration processing unit 66, and the control voltage conversion unit 68, the shake correction module 50A includes a filter processing unit 86 between the integration processing unit 66 and the control voltage conversion unit 68. It has.

フィルタ処理部86では、ジャイロセンサ52から出力される角速度信号を積分処理することにより得られる積分値から、角速度信号に含まれるドリフト成分を除去するようにしており、これにより、振れ補正モジュール50Aでは、ドリフト成分を含まない角速度信号に基づいた適正な振れ補正処理が可能となるようにしている。   The filter processing unit 86 removes a drift component included in the angular velocity signal from the integrated value obtained by integrating the angular velocity signal output from the gyro sensor 52. With this, the shake correction module 50A Thus, an appropriate shake correction process based on the angular velocity signal not including the drift component can be performed.

図12(A)には、フィルタ処理部86に設けるフィルタ回路の一例とするフィルタ回路88を示している。フィルタ回路88は、レジスタ90、減算器92、加算器94と共に正負判定部78Aと正負反転制御部80Aを含んで形成されている。   FIG. 12A shows a filter circuit 88 as an example of a filter circuit provided in the filter processing unit 86. The filter circuit 88 includes a register 90, a subtracter 92, and an adder 94, and a positive / negative determination unit 78A and a positive / negative inversion control unit 80A.

このフィルタ回路88には、入力信号(入力信号値)として、積分処理部66で積分処理することにより得られる積分値である積算値(入力積算値)が入力されるようになっており、この積算値、レジスタ90から出力される基準値が減算されて、シフトレンズ56の駆動するときの制御値(制御電圧)の設定に用いる積算値が出力される。 An integrated value (input integrated value), which is an integrated value obtained by integration processing by the integration processing unit 66, is input to the filter circuit 88 as an input signal (input signal value). and the integrated value is subtracted with the reference value outputted from the register 90, the integrated value used for setting the control value (control voltage) at the time of driving of the shift lens 56 is output.

正負判定部78Aには、減算器92の出力信号値(出力積算値)が入力されるようになっており、フィルタ回路88から出力する出力積算値の符号を判定する。   The output signal value (output integrated value) of the subtractor 92 is input to the positive / negative determining unit 78A, and the sign of the output integrated value output from the filter circuit 88 is determined.

一方、正負反転制御部80Aには、正負判定部78Aの判定結果に応じた信号と共に、加減算に用いる加減算定数として、予め設定されている定数値(補正定数値)が入力されるようになっている。   On the other hand, a constant value (correction constant value) set in advance as an addition / subtraction constant used for addition / subtraction is input to the positive / negative inversion control unit 80A together with a signal corresponding to the determination result of the positive / negative determination unit 78A. Yes.

この正負反転制御部80Aでは、フィルタ回路88から出力する出力積算値が負であるときには、補正定数値を減算に用いるように設定し減算定数値として用いるように設定し、出力積算値が正であるときには、補正定数値を加算定数値として用いるように設定する。   In the positive / negative inversion control unit 80A, when the output integrated value output from the filter circuit 88 is negative, the correction constant value is set to be used for subtraction and set to be used as the subtraction constant value, and the output integrated value is positive. In some cases, the correction constant value is set to be used as the addition constant value.

正負反転制御部80Aで正負の符号が設定された補正定数は、基準値に加算又は減算されてレジスタ90に入力される。これにより、フィルタ回路88では、レジスタ90から出力する基準値が発散するようにしている(以下、発散補正値とする)。 The correction constant for which the positive / negative reversal control unit 80A has a positive / negative sign set is added to or subtracted from the reference value and input to the register 90. As a result, the filter circuit 88 diverges the reference value output from the register 90 (hereinafter referred to as a divergence correction value).

レジスタ90の伝達係数n及び補正定数値は、予め試験等を行うことによりフィルタ回路88から出力される積算値の測定を行って、ジャイロセンサ52によって検出される角速度に対して、シフトレンズ58を適正に移動可能とする値が設定されている。   The transfer coefficient n and the correction constant value of the register 90 are obtained by measuring the integrated value output from the filter circuit 88 by performing a test or the like in advance, and adjusting the shift lens 58 with respect to the angular velocity detected by the gyro sensor 52. A value that enables proper movement is set.

フィルタ回路88では、この補正定数値を用いて、レジスタ90から出力する基準値が発散するようにし、フィルタ回路88から出力する積算値が、高い周波数域で収束してしまうのを防止すると共に、ジャイロセンサ52から出力される角速度信号に含まれるドリフト成分が、シフトレンズ58の駆動するための制御値の設定に用いる積算値に現れることがないようにしている。 The filter circuit 88 uses this correction constant value so that the reference value output from the register 90 diverges and prevents the integrated value output from the filter circuit 88 from converging in a high frequency range. The drift component included in the angular velocity signal output from the gyro sensor 52 is prevented from appearing in the integrated value used for setting the control value for driving the shift lens 58.

図12(B)には、フィルタ回路88に入力する入力信号例(入力積算値の変化例)を示し、図12(C)には、図12(B)の入力信号に対する発散補正値の変化の概略を示している。   FIG. 12B shows an example of an input signal input to the filter circuit 88 (an example of change in the input integrated value), and FIG. 12C shows a change in the divergence correction value with respect to the input signal in FIG. The outline of is shown.

図12(B)及び図12(C)に示すように、フィルタ回路88では、入力信号である入力積算値が信号中点よりも大きいときには、発散補正値が所定の傾斜で徐々に大きく(増加)する。また、入力信号が信号中点よりも下がると、発散補正値が徐々に小さくなる(減少する)。このときの発散補正値は、加減算定数値(補正定数)に応じた傾斜で変化する。   As shown in FIGS. 12B and 12C, in the filter circuit 88, when the input integrated value that is the input signal is larger than the signal midpoint, the divergence correction value gradually increases (increases) with a predetermined slope. ) Further, when the input signal falls below the signal midpoint, the divergence correction value gradually decreases (decreases). The divergence correction value at this time changes with an inclination corresponding to the addition / subtraction constant value (correction constant).

なお、図13(A)には、手振れ補正を行うときの積算値の発散を抑える一般的構成のフィルタ回路の一例とするフィルタ回路96を示している。このフィルタ回路96では、予め設定されたフィルタ係数を用い、レジスタ98から発散補正値を出力するようにしている。このときに、フィルタ回路96では、入力信号と発散補正値の比較結果を用いずに、入力信号に発散補正値を追従させるようにしている。また、図13(B)には、図12(B)と同じ入力信号例を示し、図12(C)に対応する図13(C)には、その入力信号に対する基準値(発散補正値)の変化を示している。   FIG. 13A shows a filter circuit 96 as an example of a filter circuit having a general configuration that suppresses the divergence of the integrated value when performing camera shake correction. The filter circuit 96 outputs a divergence correction value from the register 98 using a preset filter coefficient. At this time, the filter circuit 96 causes the divergence correction value to follow the input signal without using the comparison result between the input signal and the divergence correction value. FIG. 13B shows an example of the same input signal as FIG. 12B. FIG. 13C corresponding to FIG. 12C shows a reference value (divergence correction value) for the input signal. Shows changes.

図12(B)、図12(C)と図13(B)、13(C)を比較することによりわかるように、フィルタ回路88を用いたときにも、前記した第1の実施の形態に適用したフィルタ回路72と同等の効果を得ることができる。したがって、角速度信号の積算値からドリフト成分を除去する振れ補正モジュール50Aにおいても、ジャイロセンサ52を用いた適正な手振れ補正が可能となる。   As can be seen from a comparison between FIGS. 12B and 12C and FIGS. 13B and 13C, the first embodiment described above is also applied when the filter circuit 88 is used. An effect equivalent to that of the applied filter circuit 72 can be obtained. Therefore, even in the shake correction module 50A that removes the drift component from the integrated value of the angular velocity signal, it is possible to perform appropriate hand shake correction using the gyro sensor 52.

また、フィルタ処理部86においても、フィルタ回路88に換えてソフトウェアによる処理を適用することができる。   The filter processing unit 86 can also apply software processing instead of the filter circuit 88.

図14には、このときの処理の流れを示している。このフローチャートは、所定のサンプリング間隔(手振れ補正の制御時間間隔)で実行され、最初のステップ130では、積分処理部66から入力されて減算器92で減算された出力積算値読込み、次のステップ132では、出力積算値が正であるか否かを判断する。 FIG. 14 shows the flow of processing at this time. This flowchart is executed at a predetermined sampling interval (control time interval for camera shake correction). In the first step 130, the output integrated value input from the integration processing unit 66 and subtracted by the subtractor 92 is read, and the next step is executed. In 132, it is determined whether or not the output integrated value is positive.

ここで、出力積算値が正であるときには、ステップ132で肯定判定してステップ134へ移行し、予め設定している補正定数加算値に設定する。続いて、ステップ136では、設定した補正定数値を発散補正値に加算することにより、発散補正値を更新する。 Here, when the output integrated value is positive, an affirmative determination is made at step 132 and the routine proceeds to step 134, where a preset correction constant value is set as the added value . Then, in step 136, the Rukoto to the summing a correction constant value set in the divergence correction value, updates the divergence correction value.

ステップ138では、入力積算値から発散補正値を差し引くことにより、出力積算値を算出する。 In step 138 , the output integrated value is calculated by subtracting the divergence correction value from the input integrated value.

また、出力積算値が正でないときには、ステップ132で否定判定してステップ140へ移行し、出力積算値が負であるか否かを確認し、出力積算値が負であるときには、ステップ140で肯定判定してステップ142へ移行する。 Further, when the output integrated value is not positive, the process proceeds to step 140 makes a negative decision in step 132, the output integrated value to confirm whether the negative, when the output cumulative value is negative, positive in step 140 Determination is made and the routine proceeds to step 142.

このステップ142では、補正定数減算値に設定し、次のステップ144では、発散補正値から補正定数減算することにより発散補正値を更新する。 In step 142, the correction constant value is set as a subtraction value . In the next step 144, the divergence correction value is updated by subtracting the correction constant value from the divergence correction value.

ステップ138では、入力積算値と発散補正値から出力積算値を算出する。 In step 138 , an output integrated value is calculated from the input integrated value and the divergence correction value.

さらに、入力積算値がゼロであるときには、ステップ132及びステップ140で否定判定されてステップ138へ移行する。これにより、発散補正値が更新されず、この発散補正値を用いた出力積算値の算出を行う。   Further, when the integrated input value is zero, a negative determination is made at step 132 and step 140, and the routine proceeds to step 138. Thereby, the divergence correction value is not updated, and the output integrated value is calculated using this divergence correction value.

このような処理を行うことにより、積分処理部66で演算された積算値が発散してしまうのを防止しながら、角速度信号からドリフト成分を的確に除去したのと同等の出力積算値を得ることができ、この出力積算値を用いることにより、シフトレンズ58を用いた最適な振れ補正を行うことができる。   By performing such processing, an integrated output value equivalent to that obtained by accurately removing the drift component from the angular velocity signal is obtained while preventing the integrated value calculated by the integration processing unit 66 from diverging. By using this output integrated value, optimal shake correction using the shift lens 58 can be performed.

なお、以上説明し本実施の形態は、本発明の構成を限定するものではない。例えば、本実施の形態では、デジタルカメラ(デジタルスチルカメラ)10を例に説明したが、本発明は光学式の手振れ補正機能を備えたものであれば、任意の構成のデジタルスチルカメラに適用することができる。   The present embodiment described above does not limit the configuration of the present invention. For example, in the present embodiment, the digital camera (digital still camera) 10 has been described as an example. However, the present invention is applied to a digital still camera having an arbitrary configuration as long as it has an optical camera shake correction function. be able to.

また、本発明は、デジタルスチルカメラに限らず、デジタルビデオカメラなどのレンズによって集光した光を撮像素子に結像することにより、被写体像に応じた画像データを生成する任意の構成の撮像装置に適用することができる。   The present invention is not limited to a digital still camera, and an imaging apparatus having an arbitrary configuration that generates image data corresponding to a subject image by focusing light collected by a lens such as a digital video camera on an imaging device. Can be applied to.

本実施の形態に適用したデジタルカメラの概略外観図である。1 is a schematic external view of a digital camera applied to the present embodiment. デジタルカメラの要部の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the principal part of a digital camera. 第1の実施の形態に適用した振れ補正モージュールの概略構成図である。It is a schematic block diagram of the shake correction module applied to 1st Embodiment. (A)はドリフト成分を含まない角速度信号の振幅範囲の概略を示す線図、(B)はドリフト成分を含んだ角速度信号の振幅範囲の概略を示す線図、(C)はドリフト線分を考慮しないときの角速度信号の振幅範囲の概略を示す線図である。(A) is a diagram showing an outline of an amplitude range of an angular velocity signal not including a drift component, (B) is a diagram showing an outline of an amplitude range of an angular velocity signal including a drift component, and (C) is a diagram showing a drift line segment. It is a diagram which shows the outline of the amplitude range of an angular velocity signal when not considering. ドリフト成分及びドリフト成分を含んだ角速度信号とドリフト成分を含まない角速度信号の概略を示す線図である。It is a diagram which shows the outline of the angular velocity signal which does not contain the drift component and the drift component, and the drift component. (A)は第1の実施の形態に適用したフィルタ回路の概略構成図、(B)は入力信号の一例を示す線図、(C)は(B)の入力信号としたときの(A)に示すフィルタ回路での基準値の変化の概略を示す線図である。(A) is a schematic configuration diagram of a filter circuit applied to the first embodiment, (B) is a diagram showing an example of an input signal, and (C) is an input signal of (B). It is a diagram which shows the outline of the change of the reference value in the filter circuit shown in FIG. (A)は図6(A)の比較例とするフィルタ回路の概略構成図、(B)は入力信号の一例を示す線図、(C)は(B)の入力信号としたときの(A)に示すフィルタ回路での基準値の変化の概略を示す線図である。6A is a schematic configuration diagram of a filter circuit as a comparative example of FIG. 6A, FIG. 6B is a diagram illustrating an example of an input signal, and FIG. It is a diagram which shows the outline of the change of the reference value in the filter circuit shown in FIG. (A)から(C)は図7(A)のフィルタ回路を用いたときの測定結果を示す線図である。(A) to (C) are diagrams showing measurement results when the filter circuit of FIG. 7 (A) is used. (A)から(C)は図8(A)のフィルタ回路を用いたときの測定結果を示す線図である。(A) to (C) are diagrams showing measurement results when the filter circuit of FIG. 8 (A) is used. 第1の実施の形態でフィルタ回路に換えて適用可能な処理の流れ図である。4 is a flowchart of processing applicable in place of a filter circuit in the first embodiment. 第2の実施の形態に適用した振れ補正モジュールの概略構成図である。It is a schematic block diagram of the shake correction module applied to 2nd Embodiment. (A)は第2の実施の形態に適用したフィルタ回路の概略構成図、(B)は入力信号の一例を示す線図、(C)は(B)の入力信号としたときの(A)に示すフィルタ回路での基準値の変化の概略を示す線図である。(A) is a schematic configuration diagram of a filter circuit applied to the second embodiment, (B) is a diagram showing an example of an input signal, and (C) is an input signal of (B). It is a diagram which shows the outline of the change of the reference value in the filter circuit shown in FIG. (A)は図12(A)の比較例とするフィルタ回路の概略構成図、(B)は入力信号の一例を示す線図、(C)は(B)の入力信号としたときの(A)に示すフィルタ回路での基準値の変化の概略を示す線図である。(A) is a schematic configuration diagram of a filter circuit as a comparative example of FIG. 12 (A), (B) is a diagram showing an example of an input signal, and (C) is an input signal of (B) (A It is a diagram which shows the outline of the change of the reference value in the filter circuit shown in FIG. 第2の実施の形態でフィルタ回路に換えて適用可能な処理の流れ図である。It is a flowchart of a process applicable in place of a filter circuit in the second embodiment. (A)は一般的な出力回路を示す要部の概略配線図、(B)は一般的巡回フィルタの一例を示す概略構成図である。(A) is a schematic wiring diagram of the principal part which shows a general output circuit, (B) is a schematic block diagram which shows an example of a general cyclic filter.

符号の説明Explanation of symbols

10 デジタルカメラ
12 レンズ
38 筐体
40 撮像素子
50、50A 振れ補正モジュール(手振れ補正装置)
52 ジャイロセンサ
52A、52B 角速度センサ
54、54A 補正演算部
56 レンズ駆動回路
58 シフトレンズ
64 A/D変換器
66 積分演算部
68 制御電圧変換部
70 フィルタ処理部
72 フィルタ回路
86 フィルタ処理部
88 フィルタ回路
DESCRIPTION OF SYMBOLS 10 Digital camera 12 Lens 38 Case 40 Image pick-up element 50, 50A Shake correction module (camera shake correction apparatus)
52 Gyro sensor 52A, 52B Angular velocity sensor 54, 54A Correction calculation unit 56 Lens drive circuit 58 Shift lens 64 A / D converter 66 Integration calculation unit 68 Control voltage conversion unit 70 Filter processing unit 72 Filter circuit 86 Filter processing unit 88 Filter circuit

Claims (6)

筐体に収容したレンズを透過して撮像素子に結像された撮影画像に応じた画像データを出力する撮像装置に設けられる手振れ補正装置であって、
前記筐体振れにより生じた角速度を検出し、検出した角速度に応じた角速度信号を出力する角速度検出手段と、
前記角速度検出手段から出力された前記角速度信号と予め設定された基準値との差分を、前記角速度検出手段から出力された前記角速度信号を補正した角速度信号として出力する減算手段と、
前記減算手段から出力される前記補正した角速度信号を所定の時間間隔で時間積分することにより前記振れによる前記レンズの光軸の角度変化に応じた積分値を演算する積分演算手段と、
前記積分演算手段から出力される前記積分値に基づいて前記振れによる前記レンズの光軸の傾きを相殺するのに必要な補正角を得るための制御値を設定する制御値設定手段と、
前記制御値設定手段によって設定された前記制御値に基づいて前記レンズの光軸を傾けるように駆動するレンズ駆動手段と、
前記減算手段から出力される前記補正した角速度信号の正負を判定し、該判定結果に基づいて前記角速度検出手段から出力された前記角速度信号に予め設定されている定数値を加算又は減算して、前記減算手段で用いる新たな基準値を設定する基準値設定手段と、
を含む手振れ補正装置。
A camera shake correction device provided in an imaging device that outputs image data corresponding to a captured image formed on an imaging device through a lens housed in a housing,
And angular velocity detecting means for the casing shake by detecting the angular velocity generated, and outputs an angular velocity signal according to the detected angular velocities,
Subtracting means in which the difference between the preset reference value and the angular velocity signal outputted from the angular velocity detecting means, and outputs the angular velocity signal output from the angular velocity detecting means as the corrected angular velocity signals,
An integral calculating means for calculating an integral value corresponding to the angular change of the optical axis of the lens by the shake by integrating time an angular velocity signal the corrected output from the subtracting means at predetermined time intervals,
A control value setting means for setting a control value for obtaining the correction angle required to offset the inclination of the optical axis of the lens by said vibration based on said integral value outputted from the integral calculation means,
Lens driving means for driving the optical axis of the lens to tilt based on the control value set by the control value setting means;
Determine the sign of the corrected angular velocity signal output from the subtracting means, add or subtract a preset constant value to the angular velocity signal output from the angular velocity detection means based on the determination result, Reference value setting means for setting a new reference value used in the subtracting means;
A camera shake correction device including
前記基準値設定手段は
前記減算手段から出力される前記角速度信号のレベルが前記基準値のレベルよりも大きく、前記補正した角速度信号が正であるときに前記定数値を前記角速度検出手段から出力された角速度信号に加算し、
前記減算手段から出力される前記角速度信号のレベルが前記基準値のレベルよりも小さく、前記補正した角速度信号が負であるときに前記定数値を前記角速度検出手段から出力された角速度信号から減算する、
ことを特徴とする請求項1に記載の手振れ補正装置。
The reference value setting means includes
The level of the angular velocity signal outputted from the subtraction means much larger than the level of the reference value, adds the constant value when the angular velocity signal the correction is positive on the angular velocity signal outputted from the angular velocity detecting means And
The level of the angular velocity signal outputted from the subtraction means rather smaller than the level of said reference value, said subtracting the constant value when the corrected angular velocity signal is negative from an angular velocity signal output from the angular velocity detecting means To
The camera shake correction apparatus according to claim 1.
筐体に収容したレンズを透過して撮像素子に結像された撮影画像に応じた画像データを出力する撮像装置に設けられる手振れ補正装置であって、
前記筐体振れにより生じた角速度を検出し、検出した角速度に応じた角速度信号を出力する角速度検出手段と、
前記角速度検出手段から出力された前記角速度信号を所定の時間間隔で時間積分することにより前記振れによる前記レンズの光軸の角度変化に応じた積分値を演算する積分演算手段と、
前記積分演算手段から出力される前記積分値と予め設定された基準値との差分を、積分演算手段から出力された前記積分値を補正した積分値として出力する減算手段と、
前記減算手段から出力される前記補正した積分値に基づいて前記振れによる前記レンズの光軸の傾きを相殺するのに必要な補正角を得るための制御値を設定する制御値設定手段と、
前記制御値設定手段によって設定された前記制御値に基づいて前記レンズの光軸を傾けるように駆動するレンズ駆動手段と、
前記減算手段から出力される前記補正した積分値の正負を判定し、該判定結果に基づいて前記減算手段で前記積分値からの減算に用いた前記基準値に予め設定している定数値を加算又は減算して、前記減算手段に用いる新たな基準値を設定する基準値設定手段と、
を含む手振れ補正装置。
A camera shake correction device provided in an imaging device that outputs image data corresponding to a captured image formed on an imaging element through a lens housed in a housing,
And angular velocity detecting means for the casing shake by detecting the angular velocity generated, and outputs an angular velocity signal according to the detected angular velocities,
An integral calculating means for calculating an integral value corresponding to the angular change of the optical axis of the lens by the shake by integrating the angular velocity detecting the angular velocity signal outputted from the means at predetermined time intervals time,
A subtracting means for outputting a difference between the integral value output from the integral calculating means and a preset reference value as an integrated value obtained by correcting the integral value output from the integral calculating means ;
Control value setting means for setting a control value for obtaining a correction angle required to cancel out the inclination of the optical axis of the lens due to the shake based on the corrected integrated value output from the subtracting means ;
Lens driving means for driving the optical axis of the lens to tilt based on the control value set by the control value setting means;
Determines whether the corrected integrated value output from the subtracting means is positive or negative, and adds a preset constant value to the reference value used for subtracting from the integrated value by the subtracting means based on the determination result Alternatively, a reference value setting means for subtracting and setting a new reference value used for the subtraction means,
A camera shake correction device including
前記基準値設定手段は
前記減算手段から出力される前記積分値が正であるときに前記減算手段で用いた前記基準値に前記定数値を加算し、
前記減算手段から出力される前記積分値が負であるときに前記減算手段で用いた前記基準値から前記定数値を減算する、
ことを特徴とする請求項3に記載の手振れ補正装置。
The reference value setting means includes
Said constant value is added to the reference value used in the subtraction means when said integral value outputted from said subtracting means is positive,
Wherein subtracting the constant value from the reference value used by the subtraction means when said integral value outputted from said subtraction means is negative,
The camera shake correction apparatus according to claim 3.
筐体に収容したレンズを透過して撮像素子に結像された撮影画像に応じた画像データを出力する撮像装置であって、
前記筐体振れにより生じた角速度を検出し、検出した角速度に応じた角速度信号を出力する角速度検出手段と、
前記角速度検出手段から出力された前記角速度信号と予め設定された基準値の差分を、前記角速度検出手段から出力された前記角速度信号を補正した角速度信号として出力する減算手段と、
前記減算手段から出力される前記補正した角速度信号を所定の時間間隔で時間積分することにより前記振れによる前記レンズの光軸の角度変化に応じた積分値を演算する積分演算手段と、
前記積分演算手段から出力された前記積分値に基づいて前記振れによる前記レンズの光軸の傾きを相殺するのに必要な補正角を得るための制御値を設定する制御値設定手段と、
前記制御値設定手段によって設定された前記制御値に基づいて前記レンズの光軸を傾けるように駆動するレンズ駆動手段と、
前記減算手段から出力された前記補正した角速度信号の正負を判定し、該判定結果に基づいて前記角速度検出手段から出力された前記角速度信号に予め設定されている定数値を加算又は減算して、前記減算手段で用いる新たな基準値を設定する基準値設定手段と、
を含む撮像装置。
An imaging device that outputs image data corresponding to a captured image formed on an imaging element through a lens housed in a housing,
And angular velocity detecting means for the casing shake by detecting the angular velocity generated, and outputs an angular velocity signal according to the detected angular velocities,
Subtracting means in which the difference between the preset reference value and the angular velocity signal outputted from the angular velocity detecting means, and outputs the angular velocity signal output from the angular velocity detecting means as the corrected angular velocity signals,
An integral calculating means for calculating an integral value corresponding to the angular change of the optical axis of the lens by the shake by integrating time an angular velocity signal the corrected output from the subtracting means at predetermined time intervals,
A control value setting means for setting a control value for obtaining the correction angle required to offset the inclination of the optical axis of the lens by said vibration based on said integral value outputted from the integral calculation means,
Lens driving means for driving the optical axis of the lens to tilt based on the control value set by the control value setting means;
Determine the sign of the corrected angular velocity signal output from the subtracting means, add or subtract a preset constant value to the angular velocity signal output from the angular velocity detection means based on the determination result, Reference value setting means for setting a new reference value used in the subtracting means;
An imaging apparatus including:
筐体に収容したレンズを透過して撮像素子に結像された撮影画像に応じた画像データを出力する撮像装置であって、
前記筐体振れにより生じた角速度を検出し、検出した角速度に応じた角速度信号を出力する角速度検出手段と、
前記角速度検出手段から出力された前記角速度信号を所定の時間間隔で時間積分することにより前記振れによる前記レンズの光軸の角度変化に応じた積分値を演算する積分演算手段と、
前記積分演算手段から出力される前記積分値と予め設定された基準値との差分を、積分演算手段から出力された前記積分値を補正した積分値として出力する減算手段と、
前記減算手段から出力される前記補正した積分値に基づいて前記振れによる前記レンズの光軸の傾きを相殺するのに必要な補正角を得るための制御値を設定する制御値設定手段と、
前記制御値設定手段によって設定された前記制御値に基づいて前記レンズの光軸を傾けるように駆動するレンズ駆動手段と、
前記減算手段から出力される前記補正した積分値の正負を判定し、該判定結果に基づいて前記減算手段で前記積分値からの減算に用いた前記基準値に予め設定している定数値を加算又は減算して、前記減算手段に用いる新たな基準値を設定する基準値設定手段と、
を含む撮像装置。
An imaging device that outputs image data corresponding to a captured image that is transmitted through a lens housed in a housing and imaged on an imaging device,
And angular velocity detecting means for the casing shake by detecting the angular velocity generated, and outputs an angular velocity signal according to the detected angular velocities,
An integral calculating means for calculating an integral value corresponding to the angular change of the optical axis of the lens by the shake by integrating the angular velocity detecting the angular velocity signal outputted from the means at predetermined time intervals time,
A subtracting means for outputting a difference between the integral value output from the integral calculating means and a preset reference value as an integrated value obtained by correcting the integral value output from the integral calculating means ;
Control value setting means for setting a control value for obtaining a correction angle required to cancel out the inclination of the optical axis of the lens due to the shake based on the corrected integrated value output from the subtracting means ;
Lens driving means for driving the optical axis of the lens to tilt based on the control value set by the control value setting means;
Determines whether the corrected integrated value output from the subtracting means is positive or negative, and adds a preset constant value to the reference value used for subtracting from the integrated value by the subtracting means based on the determination result Alternatively, a reference value setting means for subtracting and setting a new reference value used for the subtraction means,
An imaging apparatus including:
JP2004341504A 2004-11-12 2004-11-26 Camera shake correction apparatus and imaging apparatus Active JP4486482B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2004341504A JP4486482B2 (en) 2004-11-26 2004-11-26 Camera shake correction apparatus and imaging apparatus
US11/268,641 US7424212B2 (en) 2004-11-12 2005-11-08 Camera shaking correcting method, camera shaking correcting device, and image pickup device
US12/222,333 US7734162B2 (en) 2004-11-12 2008-08-07 Camera shaking correcting device, and image pickup device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004341504A JP4486482B2 (en) 2004-11-26 2004-11-26 Camera shake correction apparatus and imaging apparatus

Publications (2)

Publication Number Publication Date
JP2006154014A JP2006154014A (en) 2006-06-15
JP4486482B2 true JP4486482B2 (en) 2010-06-23

Family

ID=36632436

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004341504A Active JP4486482B2 (en) 2004-11-12 2004-11-26 Camera shake correction apparatus and imaging apparatus

Country Status (1)

Country Link
JP (1) JP4486482B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5277538B2 (en) * 2006-12-12 2013-08-28 株式会社リコー Imaging device
JP2010258494A (en) * 2009-04-21 2010-11-11 Sanyo Electric Co Ltd Antivibration control circuit
JP5460170B2 (en) * 2009-08-03 2014-04-02 キヤノン株式会社 Imaging apparatus and control method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07253604A (en) * 1994-03-15 1995-10-03 Olympus Optical Co Ltd Vibration detecting device
JPH08178664A (en) * 1994-12-21 1996-07-12 Olympus Optical Co Ltd Vibration detecting device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07253604A (en) * 1994-03-15 1995-10-03 Olympus Optical Co Ltd Vibration detecting device
JPH08178664A (en) * 1994-12-21 1996-07-12 Olympus Optical Co Ltd Vibration detecting device

Also Published As

Publication number Publication date
JP2006154014A (en) 2006-06-15

Similar Documents

Publication Publication Date Title
US7424212B2 (en) Camera shaking correcting method, camera shaking correcting device, and image pickup device
TWI386040B (en) Image pickup apparatus equipped with function of detecting image shaking
JP4165568B2 (en) Image capturing apparatus, image capturing apparatus control method, control program, and recording medium
JP5409342B2 (en) Imaging apparatus and control method thereof
CN109417593B (en) Imaging device, operation method, image processing device, and image processing method
JP4640068B2 (en) Imaging method and imaging apparatus
US7095001B2 (en) Image sensing apparatus and method performing blur correction using electrical coordinate conversion
JP6932531B2 (en) Image blur correction device, image pickup device, control method of image pickup device
JP2006129175A (en) Imaging device
KR101721226B1 (en) digital image signal processing apparatus and method for controlling the same
JP2012078495A (en) Imaging device, shake correction device, and shake correction method
JP2009008936A (en) Imaging device
JP4486482B2 (en) Camera shake correction apparatus and imaging apparatus
JP4844220B2 (en) Exposure compensation device, photographing device, exposure value setting device, exposure compensation value calculation method, and control program
JP6602954B2 (en) Focus position detection apparatus and focus position detection method
JP2005303933A (en) Imaging pickup device
US7545408B2 (en) Image pickup apparatus and image pickup method
JP5179859B2 (en) Imaging apparatus and imaging method
JP4905048B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND CONTROL PROGRAM
JP4802113B2 (en) Automatic focusing device and photographing device
JP5182395B2 (en) Imaging apparatus, imaging method, and imaging program
JP2002330335A (en) Still picture image pickup device
JP2001157106A (en) Solid-state image pickup device
JP2006139095A (en) Hand-shake compensation method, hand-shake compensation device and imaging apparatus
KR20070032216A (en) Imaging method and imaging apparatus

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20070221

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070302

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091208

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100203

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100326

R150 Certificate of patent or registration of utility model

Ref document number: 4486482

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130402

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130402

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140402

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250