JP2014228311A - Sensor output processing device - Google Patents

Sensor output processing device Download PDF

Info

Publication number
JP2014228311A
JP2014228311A JP2013106402A JP2013106402A JP2014228311A JP 2014228311 A JP2014228311 A JP 2014228311A JP 2013106402 A JP2013106402 A JP 2013106402A JP 2013106402 A JP2013106402 A JP 2013106402A JP 2014228311 A JP2014228311 A JP 2014228311A
Authority
JP
Japan
Prior art keywords
temperature
sensor
pass filter
camera shake
output
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.)
Granted
Application number
JP2013106402A
Other languages
Japanese (ja)
Other versions
JP6212949B2 (en
Inventor
上中 行夫
Yukio Uenaka
行夫 上中
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 JP2013106402A priority Critical patent/JP6212949B2/en
Publication of JP2014228311A publication Critical patent/JP2014228311A/en
Application granted granted Critical
Publication of JP6212949B2 publication Critical patent/JP6212949B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Gyroscopes (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain high-accuracy output at a normally used room temperature for sensor output including a temperature drift, and to sufficiently prevent the effect of the temperature drift in an environment off a normally used room temperature environment.SOLUTION: Static outputs VVX, VVY of gyroscopes 23X, 23Y at a temperature Tadj during adjustment before shipment are recorded in memory as offset values. Sensor outputs VX, VY having VVX, VVY respectively subtracted therefrom are inputted to high-pass filter units 35X, 35Y. Determination is made as to whether a temperature T detected by a temperature sensor 26 and a temperature difference ΔT=|T-Tadj| of the adjustment-time temperature Tadj are greater than a prescribed value or not. If the ΔT is within the prescribed value, the high-pass filter is turned off; and if the ΔT is greater than the prescribed value, the high-pass filter is turned on.

Description

本発明は、温度に依存するセンサ出力の処理方法に関し、特にジャイロセンサ出力の温度補正に関する。   The present invention relates to a sensor output processing method depending on temperature, and more particularly to temperature correction of a gyro sensor output.

手ブレ補正機能を備えたカメラでは、例えばジャイロセンサを用いてカメラの揺れを検知し、揺れによる像ブレを相殺するように、光学的あるいは電子的に補正を施している。しかし、ジャイロセンサの出力(角速度)には、一般に温度ドリフト(オフセット)が存在するため、ジャイロセンサの出力をそのまま使用すると、不適切な手ブレ補正が行われる。そのためジャイロセンサの出力は、ハイパスフィルタを通してオフセットを除去した後に利用される(特許文献1参照)。   In a camera having a camera shake correction function, for example, a gyro sensor is used to detect camera shake, and correction is performed optically or electronically so as to cancel image shake caused by the shake. However, since there is generally a temperature drift (offset) in the output (angular velocity) of the gyro sensor, improper camera shake correction is performed if the output of the gyro sensor is used as it is. Therefore, the output of the gyro sensor is used after removing the offset through a high-pass filter (see Patent Document 1).

特開2006−214799号公報JP 2006-214799 A

しかし、ハイパスフィルタを通すとカットオフ周波数以下のセンサ信号もカットオフされてしまうので高い精度の信号が得られない。   However, if a high-pass filter is used, a sensor signal having a cutoff frequency or lower is also cut off, so that a highly accurate signal cannot be obtained.

本発明は、温度ドリフトを含むセンサ出力に対し、通常使用される常温下において高い精度の出力を得るとともに、通常使用される常温環境下からずれた環境では温度ドリフトの影響を十分に防止することを課題としている。
することを課題としている。
The present invention obtains high-accuracy output at normal room temperature for sensor output including temperature drift, and sufficiently prevents the influence of temperature drift in an environment deviated from the normal room temperature environment. Is an issue.
The challenge is to do.

本発明のセンサ出力処理装置は、温度ドリフトを含むセンサ出力を処理するセンサ出力処理装置であって、温度センサと、所定温度におけるセンサの出力のオフセット値を記録したメモリと、センサからの出力をオフセット値で補正するオフセット処理手段と、センサからの出力を濾波するハイパスフィルタと、温度センサによる検出温度と所定温度とを比較する温度比較手段と、所定温度と検出温度の温度差に応じてハイパスフィルタを制御するフィルタ制御手段とを備えたことを特徴としている。   The sensor output processing device of the present invention is a sensor output processing device that processes sensor output including temperature drift, and includes a temperature sensor, a memory that records an offset value of the sensor output at a predetermined temperature, and an output from the sensor. Offset processing means for correcting with an offset value, high-pass filter for filtering the output from the sensor, temperature comparison means for comparing the temperature detected by the temperature sensor with a predetermined temperature, and high-pass according to the temperature difference between the predetermined temperature and the detected temperature And a filter control means for controlling the filter.

フィルタ制御手段は、少なくとも温度差に応じ、ハイパスフィルタの使用または不使用の選択、あるいはハイパスフィルタの時定数の変更の何れか一方、または両方の制御を行うことが好ましい。また時定数は温度差が大きい程小さく設定されることが好ましい。上記センサは、例えば手ブレ補正に用いられる角速度センサである。   It is preferable that the filter control means controls at least one of selection of use or non-use of the high-pass filter and change of the time constant of the high-pass filter according to at least the temperature difference. The time constant is preferably set smaller as the temperature difference is larger. The sensor is an angular velocity sensor used for camera shake correction, for example.

本発明のカメラは上記センサ出力装置を備えたことを特徴としている。   The camera of the present invention includes the above sensor output device.

本発明のセンサ出力処理方法は、温度ドリフトを含むセンサ出力を処理するセンサ出力処理方法であって、所定温度におけるセンサの出力のオフセット値を記録し、センサからの出力をオフセット値で補正し、センサからの出力をハイパスフィルタで濾波し、温度センサでの検出温度と所定温度とを比較し、所定温度と検出温度の温度差に応じてハイパスフィルタを制御することを特徴としている。   The sensor output processing method of the present invention is a sensor output processing method for processing a sensor output including a temperature drift, records an offset value of the sensor output at a predetermined temperature, corrects the output from the sensor with the offset value, The output from the sensor is filtered by a high-pass filter, the temperature detected by the temperature sensor is compared with a predetermined temperature, and the high-pass filter is controlled according to the temperature difference between the predetermined temperature and the detected temperature.

本発明によれば、温度ドリフトを含むセンサ出力に対し、通常使用される常温下において高い精度の出力を得るとともに、通常使用される常温環境下からずれた環境では温度ドリフトの影響を十分に防止することができる。   According to the present invention, a highly accurate output is obtained at a normal room temperature for sensor output including temperature drift, and the influence of the temperature drift is sufficiently prevented in an environment deviated from a normal room temperature environment. can do.

本実施形態のカメラの構成を模式的に示すブロック図である。It is a block diagram which shows typically the structure of the camera of this embodiment. 手ブレによるカメラの動きとX、Y軸の関係を模式的に示す斜視図である。It is a perspective view which shows typically the motion of the camera by camera shake, and the relationship between a X and Y axis. カメラ本体、補正レンズ、およびX、Y軸の関係を示す正面図である。It is a front view which shows the relationship between a camera main body, a correction lens, and X and Y axes. レンズCPUにおいて実行される手ブレ補正制御のブロック図である。It is a block diagram of camera shake correction control executed in the lens CPU. カメラCPUで実行されるメインプログラムのフローチャートである。It is a flowchart of the main program performed with camera CPU. 温度チェック処理のフローチャートである。It is a flowchart of a temperature check process. レンズCPUで実行されるメインプログラムのフローチャートである。It is a flowchart of the main program performed with lens CPU. レンズCPUで実行される1mSタイマ割り込み処理のフローチャートである。It is a flowchart of a 1 mS timer interrupt process executed by the lens CPU. レンズCPUで実行される中心駆動処理のフローチャートである。It is a flowchart of the center drive process performed by lens CPU. レンズCPUで実行される現在位置保持駆動処理のフローチャートである。It is a flowchart of the current position holding drive process executed by the lens CPU. 同一搖動における複数の異なる温度での角速度センサの出力を例示するグラフと、それらをハイパスフィルタで処理したとグラフである。It is the graph which illustrated the output of the angular velocity sensor in the several different temperature in the same peristaltic, and processed them with the high-pass filter. ハイパスフィルタの周波数特性を示すグラフである。It is a graph which shows the frequency characteristic of a high pass filter. 温度Tと角速度センサの静止時出力(オフセット値)の関係を模式的に示すグラフである。It is a graph which shows typically the relation between temperature T and an output (offset value) at the time of an angular velocity sensor at rest. 角速度センサ静止時出力を第1実施形態のハイパスフィルタで処理したときの様子を模式的に示すグラフである。It is a graph which shows typically a mode when the output at the time of angular velocity sensor stationary is processed with the high pass filter of a 1st embodiment. 第1実施形態で適用されるハイパスフィルタの周波数特性とフィルタ処理を行わないときの特性と比較するグラフである。It is a graph compared with the characteristic when not performing the frequency characteristic of the high pass filter applied in 1st Embodiment, and filter processing. 手ブレ補正駆動処理のフローチャートである。It is a flowchart of camera shake correction drive processing. 第1実施形態のハイパスフィルタ処理のフローチャートである。It is a flowchart of the high pass filter process of 1st Embodiment. 第1実施形態におけるデジタルハイパスフィルタの計算のブロック図である。It is a block diagram of the calculation of the digital high pass filter in 1st Embodiment. 第2実施形態のハイパスフィルタの周波数特性を模式的に示すグラフである。It is a graph which shows typically the frequency characteristic of the high pass filter of a 2nd embodiment. 第2実施形態のハイパスフィルタ処理のフローチャートである。It is a flowchart of the high-pass filter process of 2nd Embodiment. 第2実施形態におけるデジタルハイパスフィルタの計算のブロック図である。It is a block diagram of the calculation of the digital high pass filter in 2nd Embodiment. 初期オフセット値の大小とハイパスフィルタによるオフセット値の収束の関係を示す模式的なグラフである。It is a schematic graph which shows the relationship between the magnitude of an initial offset value, and the convergence of the offset value by a high pass filter. ハイパスフィルタの時定数の大小とハイパスフィルタによるオフセット値の収束に掛かる時間との関係を模式的に示すグラフである。It is a graph which shows typically the relationship between the magnitude of the time constant of a high pass filter, and the time concerning convergence of the offset value by a high pass filter. 第3実施形態における温度差ΔTとハイパスフィルタの時定数の関係を示す模式的なグラフである。It is a typical graph which shows the relationship between temperature difference (DELTA) T and the time constant of a high-pass filter in 3rd Embodiment. 第3実施形態の温度チェック処理のフローチャートである。It is a flowchart of the temperature check process of 3rd Embodiment. 第3実施形態におけるデジタルハイパスフィルタの計算のブロック図である。It is a block diagram of the calculation of the digital high-pass filter in 3rd Embodiment.

以下、本発明の実施の形態を、図面を参照して説明する。図1は、本発明の第1実施形態であるセンサ出力処理装置が適用された手ブレ補正機能付きカメラの構成を示すブロック図である。なお、本図には、発明に係る構成のみが模式的に示される。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a camera with a camera shake correction function to which the sensor output processing apparatus according to the first embodiment of the present invention is applied. In addition, only the structure which concerns on this invention is typically shown by this figure.

本実施形態のカメラ10は、例えばカメラ本体11に鏡筒12を着脱可能なデジタル一眼レフカメラである。また本実施形態では、鏡筒12内に手ブレ補正機構13が設けられる。すなわち、ブレ補正用の補正レンズ14を備えた手ブレ補正機構13は、撮像レンズ15A、15Bの間に配置される。撮像レンズ15Aから入射した光は、光軸Lに沿って補正レンズ14、撮像レンズ15Bを介してカメラ本体11の撮像素子16へと導かれる。   The camera 10 of the present embodiment is a digital single-lens reflex camera in which a lens barrel 12 can be attached to and detached from a camera body 11, for example. In the present embodiment, a camera shake correction mechanism 13 is provided in the lens barrel 12. That is, the camera shake correction mechanism 13 including the correction lens 14 for shake correction is arranged between the imaging lenses 15A and 15B. Light incident from the imaging lens 15A is guided along the optical axis L to the imaging element 16 of the camera body 11 via the correction lens 14 and the imaging lens 15B.

カメラ本体11および鏡筒12内にはそれぞれカメラCPU17、レンズCPU18が設けられる。カメラCPU17には、メインスイッチ19、測光スイッチ20、レリーズスイッチ21が接続されており、電源ラインおよびグランドとともに、レンズマウント(図示せず)の複数の電極を通して、レンズCPU18に接続される。なお、カメラCPU17は、カメラ全体の様々な制御を行うもので、この他にも図示しない様々なデバイスに接続される。   A camera CPU 17 and a lens CPU 18 are provided in the camera body 11 and the lens barrel 12, respectively. The camera CPU 17 is connected to a main switch 19, a photometric switch 20, and a release switch 21, and is connected to the lens CPU 18 through a plurality of electrodes of a lens mount (not shown) together with a power supply line and a ground. The camera CPU 17 performs various controls of the entire camera, and is connected to various other devices not shown.

鏡筒12には、手ブレ補正制御のオン/オフを設定する手ブレ補正スイッチ22が設けられ、手ブレ補正スイッチ22はレンズCPU18に接続される。鏡筒12内には、光軸Lに垂直なカメラの横軸、縦軸に沿ったY、X軸周りの回転角速度を検出する角速度センサ23X、23Yが設けられる。各角速度センサ23X、23Yで検出された信号は、レンズCPU18へ入力され、手ブレ補正制御がオンのとき、レンズCPU18は角速度センサ23X、23Yで検出された各軸周りの角速度、および焦点距離などのレンズ情報に基づき、手ブレを相殺するために補正レンズ14が移動すべきX、Y軸方向の目標位置を算出する。   The lens barrel 12 is provided with a camera shake correction switch 22 for setting on / off of camera shake correction control. The camera shake correction switch 22 is connected to the lens CPU 18. In the lens barrel 12, angular velocity sensors 23X and 23Y for detecting rotational angular velocities around the horizontal axis and the vertical axis of the camera perpendicular to the optical axis L and Y and X are provided. Signals detected by the angular velocity sensors 23X and 23Y are input to the lens CPU 18, and when camera shake correction control is on, the lens CPU 18 detects the angular velocity around each axis detected by the angular velocity sensors 23X and 23Y, the focal length, and the like. Based on the lens information, a target position in the X and Y axis directions to which the correction lens 14 should move in order to cancel camera shake is calculated.

補正レンズ14は、例えば補正レンズ14を保持する可動部に設けられるコイル(図示せず)と鏡筒12の固定部に設けられるヨークとの間の電磁相互作用により駆動され、コイルへの電流供給はX方向駆動制御部24XおよびY方向駆動制御部24Yによって制御される。補正レンズ14を保持する可動部には、例えばホール素子などを用いた位置センサ25X、25Yが設けられ、補正レンズ14の位置が検出される。検出された補正レンズ14の位置は、レンズCPU18へとフィードバックされ、レンズCPU18は、角速度センサ23X、23Yの信号に基づき算出された補正レンズ14の目標位置と位置センサ25X、25Yから得られた現補正レンズ14の位置とからコイルへの電流供給量を算出し、X方向駆動制御部24XおよびY方向駆動制御部24Yへと出力する。   The correction lens 14 is driven, for example, by electromagnetic interaction between a coil (not shown) provided in a movable part that holds the correction lens 14 and a yoke provided in a fixed part of the lens barrel 12 to supply current to the coil. Are controlled by the X direction drive control unit 24X and the Y direction drive control unit 24Y. The movable part that holds the correction lens 14 is provided with position sensors 25X and 25Y using, for example, a Hall element, and the position of the correction lens 14 is detected. The detected position of the correction lens 14 is fed back to the lens CPU 18, and the lens CPU 18 obtains the target position of the correction lens 14 calculated based on the signals of the angular velocity sensors 23X and 23Y and the current position sensor 25X and 25Y. The amount of current supplied to the coil is calculated from the position of the correction lens 14 and output to the X direction drive control unit 24X and the Y direction drive control unit 24Y.

また、鏡筒12には温度センサ26が設けられ、検出信号はレンズCPU18に入力される。レンズCPU18の通信ポートと、カメラCPU17の通信ポートは、レンズマウントの電極を通して接続され、両者の間では後述するようにデータ通信が行われる。   The lens barrel 12 is provided with a temperature sensor 26, and a detection signal is input to the lens CPU 18. The communication port of the lens CPU 18 and the communication port of the camera CPU 17 are connected through an electrode of the lens mount, and data communication is performed between them as will be described later.

次に図2〜図4を参照して、本実施形態における手ブレ補正について説明する。図2は、手ブレによるカメラの動きとX、Y軸の関係を模式的に示す斜視図であり、図3は、カメラ本体11、補正レンズ14、X、Y軸の関係を示す正面図である。   Next, camera shake correction according to the present embodiment will be described with reference to FIGS. FIG. 2 is a perspective view schematically showing the relationship between camera movement due to camera shake and the X and Y axes, and FIG. 3 is a front view showing the relationship between the camera body 11, the correction lens 14, and the X and Y axes. is there.

図2に示されるように、カメラでの撮影においては、垂直軸(Y軸)周りの回転(ヨー)により横方向(X軸方向)へ移動する像ブレが発生し、水平軸周りの回転(ピッチ)により縦方向(Y軸方向)へ移動する像ブレが発生する。したがって、Y軸周りの回転運動を検出することでX軸方向の像ブレを相殺するための補正レンズ14のX軸方向へのシフト量が決定し、X軸周りの回転運動を検出することでY軸方向の像ブレを相殺するための補正レンズ14のY軸方向へのシフト量が決定する。   As shown in FIG. 2, in shooting with a camera, image blur that moves in the horizontal direction (X-axis direction) occurs due to rotation (yaw) around the vertical axis (Y-axis), and rotation around the horizontal axis ( The image blur that moves in the vertical direction (Y-axis direction) occurs depending on the pitch. Therefore, the amount of shift in the X-axis direction of the correction lens 14 for canceling image blur in the X-axis direction is determined by detecting the rotational motion around the Y-axis, and the rotational motion around the X-axis is detected. A shift amount in the Y-axis direction of the correction lens 14 for canceling image blur in the Y-axis direction is determined.

図4は、レンズCPU18において実行される手ブレ補正制御のブロック図であり、手ブレ補正は例えば所定時間(例えば1mS)間隔の割り込み処理として実行される。   FIG. 4 is a block diagram of camera shake correction control executed by the lens CPU 18. The camera shake correction is executed as an interrupt process at intervals of a predetermined time (for example, 1 mS), for example.

角速度センサ23X、23Yの各ジャイロで得られたY軸周り、X軸周りのアナログ角速度信号は、レンズCPU18のA/Dポート(A/D1、A/D2)に入力され、A/D演算部33X、33Yにおいてデジタル角速度信号VX、VYに変換される。角速度信号VX、VYは、それぞれ加え合わせ点34X、34Yにおいて、メモリに記録されている所与のオフセット値VVX、VVY(後述)が引かれ、ハイパスフィルタ(HPF)部35X、35Yに入力される。オフセット処理されたY軸、X軸周りの角速度信号(VX−VVX,VY−VVY)は、それぞれハイパスフィルタ(HPF)部35X、35Yにおいて、制御部39からの切替制御値(tt)に基づきフィルタ処理が施された後、角速度演算部36X、36Yへ入力される。   Analog angular velocity signals around the Y axis and X axis obtained by the gyros of the angular velocity sensors 23X and 23Y are input to the A / D ports (A / D1, A / D2) of the lens CPU 18, and the A / D calculation unit 33X and 33Y are converted into digital angular velocity signals VX and VY. The angular velocity signals VX and VY are respectively input to high-pass filter (HPF) units 35X and 35Y by subtracting given offset values VVX and VVY (described later) recorded in the memory at the addition points 34X and 34Y, respectively. . The angular velocity signals (VX-VVX, VY-VVY) around the Y-axis and X-axis that have been subjected to the offset processing are filtered based on the switching control value (tt) from the control unit 39 in the high-pass filter (HPF) units 35X and 35Y, respectively. After the processing, it is input to the angular velocity calculation units 36X and 36Y.

Y軸、X軸周りの角速度(VX−VVX,VY−VVY)は、角度演算部36X、36Yにおいて積分され、Y軸、X軸周りの回転角度(ヨー角θX、ピッチ角θY)が算出される。レンズ駆動位置計算部37X、37Yでは、ヨー角、ピッチ角、およびメモリに保存された焦点距離fなどのレンズ情報38に基づいて、像ブレを相殺するためのX方向、Y方向における補正レンズ14の駆動位置が算出される。   The angular velocities (VX-VVX, VY-VVY) around the Y-axis and X-axis are integrated by the angle calculators 36X and 36Y, and the rotation angles (yaw angle θX, pitch angle θY) around the Y-axis and X-axis are calculated. The In the lens drive position calculation units 37X and 37Y, the correction lens 14 in the X direction and the Y direction for canceling image blur based on the lens information 38 such as the yaw angle, the pitch angle, and the focal length f stored in the memory. Is calculated.

ポート4から入力される手ブレ補正スイッチ22がオン状態の時には、制御部39はレンズ駆動位置計算部37X、37Yにおいて算出されたX軸方向への駆動位置X、Y軸方向への駆動位置Yを補正レンズ14の目標位置とし、駆動位置X、駆動位置Yと補正レンズ14の現在位置X、現在位置Yの偏差を算出し、これらに対して例えばPID演算などの処理を自動制御演算部40X、40Yにおいて施す。自動制御演算部40X、40Yからの出力は、ポート1、ポート2を通してX方向駆動制御部24X、Y方向駆動制御部24Yへ出力され、手ブレ補正機構13に設けられたX方向コイル41X、Y方向コイル41Yへ供給される電流が制御される。   When the camera shake correction switch 22 input from the port 4 is in the ON state, the control unit 39 drives the drive position X in the X axis direction and the drive position Y in the Y axis direction calculated by the lens drive position calculation units 37X and 37Y. Is the target position of the correction lens 14, the drive position X, the drive position Y and the current position X of the correction lens 14, and the deviation of the current position Y are calculated. , 40Y. Outputs from the automatic control calculation units 40X and 40Y are output to the X direction drive control unit 24X and the Y direction drive control unit 24Y through the ports 1 and 2, and the X direction coils 41X and Y provided in the camera shake correction mechanism 13 are output. The current supplied to the direction coil 41Y is controlled.

手ブレ補正機構13の可動部の位置、すなわち補正レンズ14の現在のX軸、Y軸方向の位置は、ホールセンサ(位置センサ)25X、25Yからの信号に基づきX方向駆動制御部24X、Y方向駆動制御部24Yにおいて算出され、現在のX位置信号、Y位置信号としてA/Dポート(A/D3、A/D4)を通してレンズCPU18に入力され、A/D演算部43X、43Yにおいてデジタル信号としての現在位置X、現在位置Yへ変換され、フィードバックされる。これにより、手ブレ補正スイッチ22がオンされているときには、角速度センサ23X、23Yの出力に基づいて補正レンズ14の目標とする駆動位置が算出され、この目標値に基づき補正レンズ14がX軸、Y軸方向に移動される。   The position of the movable portion of the camera shake correction mechanism 13, that is, the current position of the correction lens 14 in the X-axis and Y-axis directions is determined based on signals from the hall sensors (position sensors) 25X and 25Y. The direction drive control unit 24Y calculates the current X position signal and Y position signal through the A / D port (A / D3, A / D4) and inputs them to the lens CPU 18, and the A / D calculation units 43X and 43Y receive digital signals. As current position X and current position Y, and fed back. Thus, when the camera shake correction switch 22 is turned on, the target drive position of the correction lens 14 is calculated based on the outputs of the angular velocity sensors 23X and 23Y, and the correction lens 14 is set to the X axis, based on the target value. It is moved in the Y-axis direction.

なお、レンズCPU18は、手ブレ補正スイッチ22のオン/オフ状態に基づいて、図示しないロック機構を制御し、手ブレ補正機構(手ブレ補正レンズ)のロック状態のオン/オフを制御する。   The lens CPU 18 controls a lock mechanism (not shown) based on the on / off state of the camera shake correction switch 22 and controls on / off of the lock state of the camera shake correction mechanism (camera shake correction lens).

次に図1、図4、図5、図6を参照して、カメラCPU17およびレンズCPU18で実行されるメインフローについて説明する。図5、図6のフローは、カメラ本体11に設けられたメインスイッチ19がオンされると開始される。なお、ここでは鏡筒12がカメラ本体11に装着されていることを前提としている。   Next, the main flow executed by the camera CPU 17 and the lens CPU 18 will be described with reference to FIGS. 1, 4, 5, and 6. The flow in FIGS. 5 and 6 is started when the main switch 19 provided in the camera body 11 is turned on. Here, it is assumed that the lens barrel 12 is attached to the camera body 11.

図5は、カメラCPU17側のフローチャートである。ステップS100では、後述する温度センサ26からの信号に基づき、角速度センサ23X、23Y周辺の現在の雰囲気温度のチェック処理(温度チェック処理)が行われ、ステップS101ではレリーズスイッチ21がオンされているか否かが判定される。   FIG. 5 is a flowchart on the camera CPU 17 side. In step S100, a check process (temperature check process) of the current ambient temperature around the angular velocity sensors 23X and 23Y is performed based on a signal from a temperature sensor 26 described later. In step S101, whether the release switch 21 is turned on. Is determined.

レリーズスイッチ21がオンされていない場合には、ステップS102においてレンズCPU18との通信を開始し、レンズCPU18に対してロック初期化処理を要求する。一方、レリーズスイッチ21がオンされている場合(ダイレクトレリーズ時)には、ステップS132においてレンズCPU18との通信を開始し、第2レリーズ処理(レリーズ2)を実行することをレンズCPU18に通知し、後述するステップS122以下のレリーズ処理へとジャンプする。   If the release switch 21 is not turned on, communication with the lens CPU 18 is started in step S102, and a lock initialization process is requested to the lens CPU 18. On the other hand, when the release switch 21 is turned on (during direct release), communication with the lens CPU 18 is started in step S132, and the lens CPU 18 is notified to execute the second release process (release 2). The process jumps to a release process in step S122 and later described later.

ステップS104では、測光スイッチ20がオンされているか否か判定され、この処理は測光スイッチ20がオンされるまで繰り返される。測光スイッチ20がオンされていると判定されると、ステップS106において、レンズCPU18との通信を開始し、スルー画像の表示が行われることをレンズCPU18に通知する。   In step S104, it is determined whether or not the photometric switch 20 is turned on, and this process is repeated until the photometric switch 20 is turned on. If it is determined that the photometric switch 20 is turned on, in step S106, communication with the lens CPU 18 is started, and the lens CPU 18 is notified that a through image is displayed.

ステップS108〜S116では、スルー画像の撮影および表示が行われる。すなわち、ステップS108ではAE処理、ステップS110ではAF処理が行われ、ステップS112ではステップS110で設定されたフォーカス位置、ステップS108で決定された露出の下、撮像素子(CCD)16における電荷蓄積が開始される。そしてステップS114では撮像素子(CCD)16に蓄積された画素信号の例えばフィールド読出しが行われ、画像信号として出力される。ステップS116では、出力された画像信号がモニタ(図示せず)に出力されスルー画像が表示される。   In steps S108 to S116, a through image is captured and displayed. That is, in step S108, AE processing is performed, and in step S110, AF processing is performed. In step S112, charge accumulation in the image pickup device (CCD) 16 starts under the focus position set in step S110 and the exposure determined in step S108. Is done. In step S114, for example, field reading of the pixel signal accumulated in the image sensor (CCD) 16 is performed and output as an image signal. In step S116, the output image signal is output to a monitor (not shown) and a through image is displayed.

次にステップS118では、レリーズスイッチ21がオンされているか否かが再び判定される。レリーズスイッチ21がオンされていない場合、処理はステップS130へジャンプする。一方、レリーズスイッチ21がオンされている場合には、ステップS120においてレンズCPU18との通信を開始し、第1レリーズ処理(レリーズ1)を実行することをレンズCPU18に通知する。そして、ステップS122〜S128において、静止画の撮影が実行される。すなわち、ステップS122ではステップS110で設定されたフォーカス位置、ステップS108で決定された露出の下、撮像素子(CCD)16における電荷蓄積が開始され、ステップS124において撮像素子(CCD)16に蓄積された電荷の例えば全画素読出しが行われる。ステップS126では、出力された画像信号がステップS126において不揮発性の映像メモリ(図示せず)に保存され、ステップS128においてその画像がモニタ(図示せず)に表示される。   Next, in step S118, it is determined again whether or not the release switch 21 is turned on. If the release switch 21 is not turned on, the process jumps to step S130. On the other hand, if the release switch 21 is turned on, communication with the lens CPU 18 is started in step S120, and the lens CPU 18 is notified that the first release process (release 1) is to be executed. In steps S122 to S128, still image shooting is executed. That is, in step S122, charge accumulation in the image sensor (CCD) 16 is started under the focus position set in step S110 and the exposure determined in step S108, and the charge is accumulated in the image sensor (CCD) 16 in step S124. For example, all pixels are read out of electric charges. In step S126, the output image signal is stored in a non-volatile video memory (not shown) in step S126, and the image is displayed on a monitor (not shown) in step S128.

次にステップS130では、測光スイッチ20がオンされているか否かが判定される。測光スイッチ20がオンされていると判定されれば処理はステップS106へ戻り、オンされていないと判定されるとステップS102に戻り同様の処理が繰り返される。なお以上の処理はカメラ本体11のメインスイッチ19がオフされるまで、あるいはカメラがスリープモードへ移行するまで繰り返される。   Next, in step S130, it is determined whether or not the photometric switch 20 is turned on. If it is determined that the photometric switch 20 is turned on, the process returns to step S106. If it is determined that the photometric switch 20 is not turned on, the process returns to step S102 and the same process is repeated. The above processing is repeated until the main switch 19 of the camera body 11 is turned off or until the camera shifts to the sleep mode.

次に図6を参照して、図5のステップS100で実行される温度チェック処理について説明する。   Next, the temperature check process executed in step S100 of FIG. 5 will be described with reference to FIG.

温度チェック処理では、まずステップS200において温度センサ26からの入力が現在の温度(検出温度)Tとして設定される。ステップS202では、検出温度Tとメモリに記録された所定温度Tadjの温度差ΔT(=|T−Tadj|)が算出され、ステップS204において温度差ΔTが、所定値よりも大きいか否かが判定される。温度差ΔTが所定値よりも大きくないと判定されたときにはステップS206において切替制御値tt=0に設定され、大きいと判定されたときにはステップS208において切替制御値tt=1に設定される。また、本実施形態の温度チェック処理では、ステップS210において、後述するハイパスフィルタ処理において用いられる変数subおよび変数addの初期値が0に設定され、本処理は終了する。   In the temperature check process, first, the input from the temperature sensor 26 is set as the current temperature (detected temperature) T in step S200. In step S202, a temperature difference ΔT (= | T−Tadj |) between the detected temperature T and the predetermined temperature Tadj recorded in the memory is calculated. In step S204, it is determined whether or not the temperature difference ΔT is larger than the predetermined value. Is done. When it is determined that the temperature difference ΔT is not greater than the predetermined value, the switching control value tt = 0 is set in step S206, and when it is determined that the temperature difference ΔT is large, the switching control value tt = 1 is set in step S208. In the temperature check process of the present embodiment, in step S210, initial values of a variable sub and a variable add used in a high-pass filter process described later are set to 0, and the process ends.

次に図7のフローチャートを参照して、レンズCPU18のメインフローについて説明する。ステップS300、S302ではステータスレジスタの初期化が行われる。ここでは、ステップS300において手ブレ補正制御の状態(手ブレ補正ステータス)を示すフラグSRが初期化され、ステップS302においてレリーズの状態(レリーズステータス)を示すフラグRLSが初期化される。すなわち、SR=RLS=0に設定される。フラグSRは3つの状態を取り、SR=0は初期化動作が実行されたことを示し(図5ステップS102に対応するロック初期化処理終了時にSR=0とされる)、SR=1は手ブレ補正がオフ状態であること、SR=2は手ブレ補正がオン状態であることを示す。また、フラグRLSは2つの状態を取り、RLS=0はスルー画像が表示されている状態を示し、RLS=1はレリーズ動作中であることを示す。   Next, the main flow of the lens CPU 18 will be described with reference to the flowchart of FIG. In steps S300 and S302, the status register is initialized. Here, in step S300, the flag SR indicating the state of camera shake correction control (camera shake correction status) is initialized, and in step S302, the flag RLS indicating the release state (release status) is initialized. That is, SR = RLS = 0 is set. The flag SR has three states, and SR = 0 indicates that the initialization operation has been executed (SR = 0 is set at the end of the lock initialization process corresponding to step S102 in FIG. 5). The camera shake correction is in an off state, and SR = 2 indicates that camera shake correction is in an on state. The flag RLS takes two states, RLS = 0 indicates a state where a through image is displayed, and RLS = 1 indicates that a release operation is being performed.

フラグSR、RLSの初期化が完了すると、ステップS304で、カメラCPU17から通信要求があったか否かが判定され、この判定はカメラCPU17から通信要求があるまで繰り返される。レンズCPU18においてカメラCPU17から通信要求が検出されると、ステップS306、S308、S310、S312において、カメラCPU17からの通信がロック初期化要求(補正レンズ14のロック作動要求)か、カメラ本体11においてスルー画像の表示を行うことを通知するものなのか、カメラ本体11において第1レリーズ(レリーズ1)動作を行うことを通知するものなのか、あるいは第2レリーズ(レリーズ2)動作を行うことを通知するものかなのかがそれぞれ判定される。   When the initialization of the flags SR and RLS is completed, it is determined in step S304 whether or not there has been a communication request from the camera CPU 17, and this determination is repeated until there is a communication request from the camera CPU 17. When the lens CPU 18 detects a communication request from the camera CPU 17, in steps S 306, S 308, S 310, and S 312, the communication from the camera CPU 17 is a lock initialization request (locking operation request for the correction lens 14) or the camera body 11 is through. Whether to notify that an image is to be displayed, to notify that the camera body 11 performs the first release (release 1) operation, or to perform the second release (release 2) operation. Each thing is judged.

ロック初期化要求の場合には、ステップS314においてロック初期化動作が実行される。ロック初期化動作では、補正レンズ14を光軸に一致させる中心駆動処理を実行した後、図示しないロック機構を用いて補正レンズ14の位置をロック状態とする。そして電磁アクチュエータを構成するコイル41X、41Yへの電力供給を停止するとともに補正レンズ14の駆動を停止し、手ブレ補正ステータスを示すフラグSRを、ロック初期動作が実行されたことを示す「0」に設定する(SR=0)。なお中心駆動処理の詳細については後述する。   In the case of a lock initialization request, a lock initialization operation is executed in step S314. In the lock initialization operation, after performing a center driving process for causing the correction lens 14 to coincide with the optical axis, the position of the correction lens 14 is locked using a lock mechanism (not shown). Then, power supply to the coils 41X and 41Y constituting the electromagnetic actuator is stopped and the driving of the correction lens 14 is stopped, and a flag SR indicating a camera shake correction status is “0” indicating that the lock initial operation has been executed. (SR = 0). Details of the center driving process will be described later.

一方ステップS308において、カメラCPU17からの通信がスルー画像の表示を通知するものであると判定された場合には、ステップS316において、レリーズステータスを示すフラグRLSが、スルー画像表示中であることを示す「0」に設定される(RLS=0)。またステップS310において、カメラCPU17からの通信が、第1レリーズ(レリーズ1)動作を行うことを通知するものであると判定された場合には、ステップS318においてレリーズステータスを示すフラグRLSが、レリーズ動作中であることを示す「1」に設定される(RLS=1)。そしてステップS312において、カメラCPU17からの通信が、第2レリーズ(レリーズ2)動作を行うことを通知するものであると判定された場合には、ステップS320において手ブレ補正ステータスを示すフラグSRが、手ブレ補正がオフ状態であることを示す「1」に設定されるとともに、レリーズステータスを示すフラグRLSが、レリーズ動作中であることを示す「1」に設定される(RLS=1)。なおレンズCPU18の電源がオンである間、ステップS304〜S312の処理が繰り返される。   On the other hand, if it is determined in step S308 that the communication from the camera CPU 17 notifies the display of the through image, in step S316, the flag RLS indicating the release status indicates that the through image is being displayed. Set to “0” (RLS = 0). If it is determined in step S310 that the communication from the camera CPU 17 is to notify that the first release (release 1) operation is to be performed, a release status flag RLS is displayed in step S318. It is set to “1” indicating that it is in the middle (RLS = 1). If it is determined in step S312 that the communication from the camera CPU 17 notifies that the second release (release 2) operation is performed, the flag SR indicating the camera shake correction status is determined in step S320. The camera shake correction is set to “1” indicating the off state, and the flag RLS indicating the release status is set to “1” indicating that the release operation is being performed (RLS = 1). Note that while the lens CPU 18 is powered on, the processes in steps S304 to S312 are repeated.

またレンズCPU18では、1msの周期で図8のフローチャートに示されるタイマ割り込みが発生する。以下図2、図4、図8を参照して、本実施形態の1msタイマ割り込み処理について説明する。   The lens CPU 18 generates a timer interrupt shown in the flowchart of FIG. Hereinafter, the 1 ms timer interrupt processing of the present embodiment will be described with reference to FIG. 2, FIG. 4, and FIG.

1msタイマ割り込み処理では、まずステップS400において、フラグRLS=1であるか否か、すなわち現ステータスがレリーズ動作中であるか否かが判定される。RLS≠1、すなわちレリーズ動作中でなければ、ステップS402において、手ブレ補正スイッチ22のオン/オフ状態が検知され、同スイッチがオン状態であるか否かが判定される。   In the 1 ms timer interrupt process, first, in step S400, it is determined whether or not the flag RLS = 1, that is, whether or not the current status is a release operation. If RLS ≠ 1, that is, if the release operation is not in progress, the on / off state of the camera shake correction switch 22 is detected in step S402, and it is determined whether or not the switch is on.

手ブレ補正スイッチ22がオフ状態であれば、ステップS404において、フラグSR=1、あるいはSR=0であるか否か、すなわち現ステータスが、手ブレ補正オフの状態、あるいはロック初期化動作済みの状態であるか否かが判定される。SR≠1かつSR≠0のとき、すなわち現ステータスが手ブレ補正オン状態のときには、ステップS406において、後述する後述する中心駆動処理(図9)を実行し、ステップS408において手ブレ補正レンズ14をロック状態にする。   If the camera shake correction switch 22 is in the OFF state, whether or not the flag SR = 1 or SR = 0 in step S404, that is, whether the current status is the camera shake correction OFF state or the lock initialization operation has been completed. It is determined whether or not it is in a state. When SR ≠ 1 and SR ≠ 0, that is, when the current status is the camera shake correction ON state, a later-described center drive process (FIG. 9) described later is executed in step S406, and the camera shake correction lens 14 is moved in step S408. Set to locked state.

ステップS410では、手ブレ補正ステータスを示すフラグSRを手ブレ補正がオフであることを示す「1」に設定する(SR=1)。そして、ステップS412において、手ブレ補正機構13(図4)のコイルへの電力供給を停止して手ブレ補正の駆動をオフし、現在のタイマ割り込み処理を終了する。一方、ステップS404においてSR=1またはSR=0であるとき、本タイマ割り込み処理は直ちに終了する。   In step S410, the flag SR indicating the camera shake correction status is set to “1” indicating that the camera shake correction is off (SR = 1). In step S412, the power supply to the coil of the camera shake correction mechanism 13 (FIG. 4) is stopped, the camera shake correction drive is turned off, and the current timer interrupt process ends. On the other hand, when SR = 1 or SR = 0 in step S404, the timer interrupt process is immediately terminated.

一方、ステップS402において、手ブレ補正スイッチ22がオン状態であると判定されると、ステップS414において、手ブレ補正ステータスを示すフラグSR=2であるか否かが判定される。SR=2の場合、手ブレ補正が既に実行されていることを示すので、処理はステップS422へとジャンプし、後述する手ブレ補正駆動処理(図16)を継続して本タイマ割り込み処理を終了する。またSR≠2のときには、手ブレ補正駆動処理はオフ状態にあり、補正レンズ14はロック状態にあるので、ステップS416において補正レンズ14の中心駆動処理(図9参照)を行い、ステップS418で補正レンズ14をロック解除状態とする。そしてステップS420において手ブレ補正ステータスのフラグSRを「2」(手ブレ補正オン)に設定した後、ステップS422において手ブレ補正駆動処理(図16)を開始して本タイマ割り込み処理を終了する。   On the other hand, if it is determined in step S402 that the camera shake correction switch 22 is on, it is determined in step S414 whether or not the flag SR = 2 indicating the camera shake correction status is set. If SR = 2, it indicates that camera shake correction has already been executed. Therefore, the process jumps to step S422, and the camera shake correction drive process (FIG. 16) described later is continued to end this timer interrupt process. To do. When SR ≠ 2, the camera shake correction drive process is in the off state and the correction lens 14 is in the locked state. Therefore, the center drive process (see FIG. 9) of the correction lens 14 is performed in step S416, and the correction is performed in step S418. The lens 14 is brought into the unlocked state. Then, after setting the camera shake correction status flag SR to “2” (camera shake correction on) in step S420, the camera shake correction drive process (FIG. 16) is started in step S422, and this timer interrupt process is ended.

また、ステップS400においてレリーズステータスのフラグRLS=1のとき、すなわちレリーズ動作中と判定された場合には、ステップS423において手ブレ補正スイッチ22のオン/オフ状態が検知され、同スイッチがオン状態であるか否かが判定される。手ブレ補正スイッチ22がオフ状態の場合、ステップS424においてSR=1(手ブレ補正ステータスがオフ)であるか否かが判定され、SR=1、すなわち手ブレ補正ステータスがオフ状態のときには、ステップS427において、後述する現在位置保持駆動処理(図10)を実行し、本タイマ割り込み処理は終了する。また、SR≠1、すなわち手ブレ補正ステータスがオン状態のままであると判定されると、ステップS428において手ブレ補正ステータスのフラグSRが、オフを示す値「1」に変更され、ステップS430において手ブレ補正駆動をオフにし、本タイマ割り込み処理は終了する。   When the release status flag RLS = 1 in step S400, that is, when it is determined that the release operation is being performed, the on / off state of the camera shake correction switch 22 is detected in step S423, and the switch is in the on state. It is determined whether or not there is. If the camera shake correction switch 22 is in the OFF state, it is determined in step S424 whether SR = 1 (the camera shake correction status is OFF). If SR = 1, that is, if the camera shake correction status is in the OFF state, step S424 is performed. In S427, a current position holding drive process (FIG. 10) described later is executed, and this timer interrupt process ends. If SR ≠ 1, that is, if it is determined that the camera shake correction status remains on, the camera shake correction status flag SR is changed to “1” indicating OFF in step S428, and in step S430. The camera shake correction drive is turned off, and this timer interrupt process is terminated.

一方、ステップS423において手ブレ補正スイッチ22がオンされていると判定されると、ステップS425においてSR=2(手ブレ補正ステータスがオン)であるか否かが判定される。SR=2であれば、ステップS422において手ブレ補正駆動処理(図16)が継続され、本タイマ割り込み処理は終了する。一方、SR≠2、すなわち手ブレ補正ステータスがオフ状態であると判定されると、ステップS427において、後述する現在位置保持駆動処理(図10)が行われ、本タイマ割り込み処理は終了する。   On the other hand, if it is determined in step S423 that the camera shake correction switch 22 is on, it is determined in step S425 whether SR = 2 (camera shake correction status is on). If SR = 2, the camera shake correction drive process (FIG. 16) is continued in step S422, and the timer interrupt process is terminated. On the other hand, if it is determined that SR ≠ 2, that is, that the camera shake correction status is in the OFF state, a current position holding drive process (FIG. 10) described later is performed in step S427, and this timer interrupt process ends.

次に図9のフローチャートを参照して図8のステップS406、S416における中心駆動処理について説明する。中心駆動処理では、ステップS500において、ホールセンサ25X、25Y(図4)の出力に基づき補正レンズ14の現在の位置情報を検出し、ステップS502において制御部39における補正レンズ14の目標位置である駆動位置(X,Y)を光軸および手ブレ補正レンズ14の可動範囲の中心に対応する(0,0)に設定する。その後ステップS504、S506において、自動制御のための演算を、現在位置および目標位置に基づき行い、その演算結果に基づき手ブレ補正機構13を駆動して、補正レンズ14を中心位置(0,0)へと移動する。   Next, the center drive process in steps S406 and S416 in FIG. 8 will be described with reference to the flowchart in FIG. In the center driving process, in step S500, the current position information of the correction lens 14 is detected based on the outputs of the hall sensors 25X and 25Y (FIG. 4). In step S502, the driving that is the target position of the correction lens 14 in the control unit 39 is detected. The position (X, Y) is set to (0, 0) corresponding to the optical axis and the center of the movable range of the camera shake correction lens 14. Thereafter, in steps S504 and S506, calculation for automatic control is performed based on the current position and the target position, and based on the calculation result, the camera shake correction mechanism 13 is driven to move the correction lens 14 to the center position (0, 0). Move to.

次に図10のフローチャートを参照して図8のステップS427で実行される現在位置保持駆動処理について説明する。現在位置保持駆動処理は、手ブレ補正スイッチ22がオフかつ手ブレ補正ステータスがオフ(SR=1)の状態、または、手ブレ補正スイッチ22がオンかつ手ブレ補正ステータスがオフ(SR≠2)の状態(手ブレ補正が実行されていない状態)において、レリーズ操作が行われた場合に実行される。   Next, the current position holding drive process executed in step S427 of FIG. 8 will be described with reference to the flowchart of FIG. In the current position holding drive process, the camera shake correction switch 22 is turned off and the camera shake correction status is turned off (SR = 1), or the camera shake correction switch 22 is turned on and the camera shake correction status is turned off (SR ≠ 2). This is executed when a release operation is performed in the state (state where camera shake correction is not executed).

したがって本実施形態では、補正レンズ14のロック状態を手ブレ補正の実際の設定に合わせることなく、補正レンズ14の位置を、手ブレ補正機構13を用いて現在の位置に電磁的にロックして撮影を行う。すなわちステップS700では、ホールセンサ25X、25Yの信号に基づき補正レンズ14の現在位置X、Yを取得し、ステップS702において制御部39で設定される駆動位置X、Yを現在位置X、Yに設定する。ステップS704では、設定された駆動位置X、Yに基づき自動制御計算がなされ、ステップS706ではそれに基づき手ブレ補正機構13が駆動される。すなわち、補正レンズ14が現在の位置に電磁的にロックされる。なお、本実施形態ではレリーズスイッチ21がオンされたときに本処理が実行される構成とされるが、レリーズボタンが半押しされ測光スイッチがオンされたときに同処理を行うことも可能である。また、ロック状態の変更は、レリーズ動作終了後に実行される。   Therefore, in this embodiment, the position of the correction lens 14 is electromagnetically locked to the current position using the camera shake correction mechanism 13 without matching the lock state of the correction lens 14 with the actual setting of camera shake correction. Take a picture. That is, in step S700, the current positions X and Y of the correction lens 14 are acquired based on the signals from the hall sensors 25X and 25Y, and the drive positions X and Y set by the control unit 39 in step S702 are set to the current positions X and Y. To do. In step S704, automatic control calculation is performed based on the set drive positions X and Y. In step S706, the camera shake correction mechanism 13 is driven based on the calculation. That is, the correction lens 14 is electromagnetically locked at the current position. In the present embodiment, this processing is executed when the release switch 21 is turned on, but it is also possible to perform this processing when the release button is pressed halfway and the photometry switch is turned on. . The lock state is changed after the release operation is completed.

次に図1、図4、図11〜図16を参照して、図8のステップS422において実行される手ブレ補正駆動処理について説明する。   Next, the camera shake correction drive process executed in step S422 in FIG. 8 will be described with reference to FIGS.

図11(a)は、角速度(ジャイロ)センサ(23X、23Y)に温度T0、T1、T2、T3において同一の搖動を与えたときの出力例を示すグラフである。横軸は時間、縦軸は角速度センサからの出力であり、ハイパスフィルタ(HPF)部35X、35Yへの入力Vinに対応する(以下、角速度センサ23X、23Yの出力VX、VYをVinで代表する)。   FIG. 11A is a graph showing an output example when the same peristalsis is given to the angular velocity (gyro) sensors (23X, 23Y) at temperatures T0, T1, T2, and T3. The horizontal axis represents time, and the vertical axis represents the output from the angular velocity sensor, corresponding to the input Vin to the high-pass filter (HPF) sections 35X and 35Y (hereinafter, the outputs VX and VY of the angular velocity sensors 23X and 23Y are represented by Vin. ).

角速度センサからの出力Vinには、図11(a)に示されるように温度ドリフトが存在し、温度に依存するオフセット値Vs(T)が含まれる。そのため角速度センサからの出力をそのまま積分して振れ角度を求め手ブレ補正を行うと、補正レンズ14の位置がずれ、適正な補正が行えない。そこで、従来から出力Viのオフセット値Vs(T)をハイパスフィルタ(35X、35Y)部で除去し、その出力Voutを角度演算部36X、36Yにおいて積分することにより温度ドリフトの影響を排除している。すなわちハイパスフィルタを通すと、図11(b)に示されるように、出力VoutからはオフセットVs(T)が除去され、静止時出力は0となる。しかし、ハイパスフィルタは、図12に示されるように特定のカットオフ周波数f0以下の帯域の角速度変動も濾波してしまうため、例えば、カットオフ周波数f0よりも小さい周波数faの手ブレの検出精度は低下してしまう。   The output Vin from the angular velocity sensor has a temperature drift as shown in FIG. 11A and includes an offset value Vs (T) depending on the temperature. Therefore, if the shake angle is obtained by integrating the output from the angular velocity sensor as it is and the camera shake correction is performed, the position of the correction lens 14 is shifted and proper correction cannot be performed. Therefore, conventionally, the offset value Vs (T) of the output Vi is removed by the high-pass filter (35X, 35Y) unit, and the output Vout is integrated by the angle calculation units 36X, 36Y to eliminate the influence of temperature drift. . That is, when the high-pass filter is passed, as shown in FIG. 11B, the offset Vs (T) is removed from the output Vout, and the stationary output becomes zero. However, as shown in FIG. 12, the high-pass filter also filters angular velocity fluctuations in a band below a specific cutoff frequency f0, so that, for example, the detection accuracy of camera shake at a frequency fa smaller than the cutoff frequency f0 is It will decline.

そのため本実施形態の手ブレ補正駆動処理では、以下に説明するように、出力Vinからオフセット値を直接引くことで、ハイパスフィルタによる低周波手ブレ成分の検出精度の低下を防止、または低減する。   Therefore, in the camera shake correction driving process of the present embodiment, as described below, the offset value is directly subtracted from the output Vin, thereby preventing or reducing the decrease in detection accuracy of the low-frequency camera shake component by the high-pass filter.

図13は、角速度(ジャイロ)センサ23X、23Yが静止しているときの出力(静止出力)、すなわち出力Vinのオフセット値Vs(T)の温度変化を例示するグラフである。なお、横軸は温度T、縦軸は出力Vs(T)である。図13に例示されるように、オフセット値Vs(T)は温度Tに応じて異なる値をとるため、本実施形態では、出荷前の調整時に、例えばカメラの使用が予想される一般的な温度範囲における所定温度(例えば使用される頻度最も高いと予想される温度)Tadjにおいて、オフセット値(静止出力)Vs(T)を計測し、その時のオフセット値VV(VVX,VVY)をメモリに予め記録しておく。オフセット値VVは個々の角速度センサでばらつきがあるため、角速度センサ23X、23YそれぞれVVX、VVYを持つ。   FIG. 13 is a graph illustrating the temperature change of the output (static output) when the angular velocity (gyro) sensors 23X and 23Y are stationary, that is, the offset value Vs (T) of the output Vin. The horizontal axis is the temperature T, and the vertical axis is the output Vs (T). As illustrated in FIG. 13, the offset value Vs (T) varies depending on the temperature T. In this embodiment, for example, a general temperature at which the camera is expected to be used at the time of adjustment before shipment. An offset value (static output) Vs (T) is measured at a predetermined temperature in the range (for example, a temperature expected to be used most frequently) Tadj, and the offset value VV (VVX, VVY) at that time is recorded in the memory in advance. Keep it. Since the offset value VV varies among individual angular velocity sensors, the angular velocity sensors 23X and 23Y have VVX and VVY, respectively.

手ブレ補正駆動時の温度が、調整時温度Tadjに等しいとき、あるいは略等しいときには、ハイパスフィルタを用いなくとも、出力Viからオフセット値VVを差し引くことでオフセットによるずれは防止できる。このため第1実施形態では、検出温度が調整時温度Tadjの近傍にあるときには、ハイパスフィルタの使用を停止し、温度Tadjとの温度差が大きいときには、温度ドリフトの影響が大きくなるので、ハイパスフィルタを使用してこれを除去する。すなわち、角速度センサが静止した状態におけるハイパスフィルタ(HPF)部35X、35Yからの出力は、図14に示されるように、温度Tadjを中心とする所定領域Bでは、ハイパスフィルタは使用されずVi−VVの値がそのまま出力され、その両側の領域A、Bではハイパスフィルタが使用され、低周波成分が除去された信号が出力される。   When the temperature at the time of camera shake correction driving is equal to or substantially equal to the adjustment temperature Tadj, it is possible to prevent a deviation due to the offset by subtracting the offset value VV from the output Vi without using a high-pass filter. For this reason, in the first embodiment, when the detected temperature is in the vicinity of the adjustment temperature Tadj, the use of the high-pass filter is stopped, and when the temperature difference from the temperature Tadj is large, the influence of the temperature drift becomes large. Use to remove this. That is, the output from the high-pass filter (HPF) units 35X and 35Y when the angular velocity sensor is stationary is not used in the predetermined region B centered on the temperature Tadj, as shown in FIG. The value of VV is output as it is, and in the regions A and B on both sides thereof, a high-pass filter is used and a signal from which low frequency components have been removed is output.

よって、第1実施形態では、温度Tadjの近傍の領域Bでは、ハイパスフィルタのカットオフ周波数よりも低い周波数の角速度信号が除去されることがないので、低周波の手ブレに対応する補正も行うことができ、センサの温度ドリフトによるズレもオフセット値VVの除去により除去、あるいは低減される。なお、図15に、ハイパスフィルタを使用する場合(領域A、C)と、使用しない場合(領域B)のハイパスフィルタ(HPF)部35X、35Yの周波数特性を例示する(横軸は周波数f、縦軸はゲインである)。   Therefore, in the first embodiment, in the region B in the vicinity of the temperature Tadj, an angular velocity signal having a frequency lower than the cutoff frequency of the high-pass filter is not removed, so that correction corresponding to low-frequency camera shake is also performed. The deviation due to the temperature drift of the sensor can be removed or reduced by removing the offset value VV. 15 illustrates frequency characteristics of the high-pass filter (HPF) units 35X and 35Y when the high-pass filter is used (regions A and C) and when not used (region B) (the horizontal axis indicates the frequency f, The vertical axis is the gain).

次に図16のフローチャートを参照して、図8のステップS422において実行される本実施形態の手ブレ補正駆動処理について詳述する。   Next, with reference to the flowchart of FIG. 16, the camera shake correction drive process of this embodiment executed in step S422 of FIG. 8 will be described in detail.

レンズCPU18の手ブレ補正駆動処理では、まずステップS800において、角速度センサ(ジャイロ)23X、23YからのY軸、X軸周りのアナログの角速度信号をデジタル信号VX、VYに変換する。ステップS802では、角速度信号VX、VYから、メモリに記録されている所与のオフセット値VVが引かれ、角速度信号(VX−VVX,VY−VVY)とされる(加え合わせ点34X、34Y)。   In the camera shake correction drive processing of the lens CPU 18, first, in step S800, analog angular velocity signals around the Y axis and X axis from the angular velocity sensors (gyro) 23X and 23Y are converted into digital signals VX and VY. In step S802, a given offset value VV recorded in the memory is subtracted from the angular velocity signals VX, VY to obtain angular velocity signals (VX-VVX, VY-VVY) (addition points 34X, 34Y).

ステップS804において、角速度信号(VX−VVX,VY−VVY)は、制御部39からの切替制御値(tt)に基づき(図4、図6ステップS206、S208参照)、後述するハイパスフィルタ処理(HPF計算)が施される(ハイパスフィルタ(HPF)部35X、35Y)。ハイパスフィルタ処理が施された角速度信号は、ステップS806において積分され、Y軸、X軸周りの回転角に対応する角度信号が算出される(角度演算部36X、36Y)。   In step S804, the angular velocity signals (VX-VVX, VY-VVY) are based on the switching control value (tt) from the control unit 39 (see steps S206 and S208 in FIGS. 4 and 6), and a high-pass filter process (HPF) described later. (Calculation) (high pass filter (HPF) units 35X, 35Y). The angular velocity signal subjected to the high-pass filter processing is integrated in step S806, and angle signals corresponding to the rotation angles around the Y axis and the X axis are calculated (angle calculation units 36X and 36Y).

ステップS808では、ステップS806において計算された回転角とレンズの焦点距離fなどから駆動位置X、Yが計算される(レンズ駆動位置計算部37X、37Y;制御部39)。ステップS810では、ホールセンサ25X、25Yの信号に基づき補正レンズ14の現在位置を取得し(X、Y方向駆動制御部24X、24Y)、ステップS812の自動制御計算において、駆動位置X、Yとフィードバックされる現在位置の偏差から操作量が計算される(自動制御演算部40X、40Y)。そしてステップS814において操作量に基づきX、Y方向コイル41X、41Yに電力が供給され、手ブレ補正機構13が駆動され(X、Y方向駆動制御部24X、24Y)、本手ブレ補正駆動処理は終了する。   In step S808, drive positions X and Y are calculated from the rotation angle calculated in step S806 and the focal length f of the lens (lens drive position calculation units 37X and 37Y; control unit 39). In step S810, the current position of the correction lens 14 is acquired based on the signals from the hall sensors 25X and 25Y (X and Y direction drive control units 24X and 24Y), and feedback with the drive positions X and Y in the automatic control calculation in step S812. The operation amount is calculated from the deviation of the current position (automatic control calculation units 40X and 40Y). In step S814, power is supplied to the X and Y direction coils 41X and 41Y based on the operation amount, and the camera shake correction mechanism 13 is driven (X and Y direction drive control units 24X and 24Y). finish.

次に図17のフローチャートおよび図18のブロック図を参照して、図16のステップS804のハイパスフィルタ処理(HPF計算)について説明する。   Next, the high-pass filter process (HPF calculation) in step S804 in FIG. 16 will be described with reference to the flowchart in FIG. 17 and the block diagram in FIG.

レンズCPU18のハイパスフィルタ処理(HPF計算)では、まずステップS900において図6の温度チェック処理で設定された切替制御値ttが0であるか否かが判定される。tt=0、すなわち検出温度Tと調整時温度Tadjの差の絶対値ΔTが所定値以下で、現在の温度が図14の領域Bにあるときには、本ハイパスフィルタ処理(HPF計算)は直ちに終了し、tt≠0、すなわち検出温度Tと調整時温度Tadjの差の絶対値ΔTが所定値よりも大きく、現在の温度が図14の領域AまたはCにあるときには、ステップS902において所定の時定数でのデジタルハイパスフィルタの計算が実行され、本処理は終了する。なお、ΔTの閾値に用いられる所定値は、領域BにおけるVin−VVを積分して得られる角度が、実用上手ブレ補正に問題を起こさない範囲の値に設定される。   In the high-pass filter process (HPF calculation) of the lens CPU 18, it is first determined in step S900 whether or not the switching control value tt set in the temperature check process of FIG. When tt = 0, that is, when the absolute value ΔT of the difference between the detected temperature T and the adjustment temperature Tadj is equal to or smaller than a predetermined value and the current temperature is in the region B in FIG. 14, the high-pass filter processing (HPF calculation) is immediately terminated. Tt ≠ 0, that is, when the absolute value ΔT of the difference between the detected temperature T and the adjustment temperature Tadj is larger than a predetermined value and the current temperature is in the region A or C in FIG. 14, a predetermined time constant is set in step S902. The digital high-pass filter is calculated, and the process ends. Note that the predetermined value used for the threshold value ΔT is set to a value within a range where the angle obtained by integrating Vin−VV in the region B does not cause a problem in camera shake correction in practice.

図18は、上記デジタルフィルタの構成を示すブロック図であり、図18において変数addは、過去所定ステップ数分のVoutの積算値を表し、subは最新のaddを、所定ステップ数に対応する時定数で割った値(移動平均)を表す。スイッチSWは、tt=1でオン状態、tt=0でオフ状態をとり、オン状態では、subの値がVinから減算されてVoutとされる。なお、積算されるステップ数は時定数に対応して設定される。   FIG. 18 is a block diagram showing the configuration of the digital filter. In FIG. 18, the variable add represents the integrated value of Vout for the past predetermined number of steps, and sub represents the latest add corresponding to the predetermined number of steps. It represents the value (moving average) divided by a constant. The switch SW is turned on when tt = 1, and is turned off when tt = 0. In the on state, the value of sub is subtracted from Vin to Vout. The number of steps to be integrated is set corresponding to the time constant.

以上のように第1実施形態によれば、所定温度(調整時温度)における角速度センサ出力のオフセット値とその所定温度(調整時温度)を予め記録し、角速度センサの出力から記録されたオフセット値を引くとともに、現在の温度が所定温度(調整時温度)に近いときにはハイパスフィルタの使用を停止し、温度差が大きいときにハイパスフィルタを使用するようにすることで、通常使用される常温下ではハイパスフィルタの影響を受けない高精度な手ブレ補正が可能となり、かつ通常使用される常温環境下からずれた環境では、ハイパスフィルタにより角速度センサの温度ドリフトの影響を防止できる。   As described above, according to the first embodiment, the offset value of the angular velocity sensor output at the predetermined temperature (adjustment temperature) and the predetermined temperature (adjustment temperature) are recorded in advance, and the offset value recorded from the output of the angular velocity sensor. When the current temperature is close to the specified temperature (adjustment temperature), stop using the high-pass filter, and use the high-pass filter when the temperature difference is large. High-precision camera shake correction that is not affected by the high-pass filter is possible, and in an environment that deviates from the normal room temperature environment that is normally used, the high-pass filter can prevent the influence of the temperature drift of the angular velocity sensor.

次に図19〜図21を参照して、本発明の第2実施形態のセンサ出力処理装置について説明する。第2実施形態のセンサ出力処理装置も第1実施形態と同様に手ブレ補正駆動処理に関するもので、第1実施形態との違いは、ハイパスフィルタ(HPF)部35X、35Yの構成のみである。したがって、以下の説明では、第1実施形態とことなる構成についてのみ説明する。   Next, a sensor output processing device according to a second embodiment of the present invention will be described with reference to FIGS. Similarly to the first embodiment, the sensor output processing device of the second embodiment relates to the camera shake correction drive processing, and the difference from the first embodiment is only the configuration of the high-pass filter (HPF) units 35X and 35Y. Therefore, in the following description, only a configuration different from the first embodiment will be described.

第1実施形態では、調整時温度Tadj近くではハイパスフィルタの使用を停止し、それ以外では一定の時定数のハイパスフィルタを使用した。しかし、第2実施形態では、検出温度Tと調整時温度Tadjの温度差に応じて、異なる時定数のハイパスフィルタを使用する。   In the first embodiment, the use of the high-pass filter is stopped near the adjusted temperature Tadj, and the high-pass filter having a constant time constant is used otherwise. However, in the second embodiment, high-pass filters having different time constants are used according to the temperature difference between the detected temperature T and the adjustment time temperature Tadj.

すなわち、図19のフィルタ周波数特性図に示されるように、時定数が相対的に小さい第1時定数のハイパスフィルタと、時定数が相対的に大きい第2時定数のハイパスフィルタが用いられる。図20は、第1実施形態の説明における図17に対応する第2実施形態のハイパスフィルタ処理のフローチャートである。   That is, as shown in the filter frequency characteristic diagram of FIG. 19, a high-pass filter having a first time constant having a relatively small time constant and a high-pass filter having a second time constant having a relatively large time constant are used. FIG. 20 is a flowchart of high-pass filter processing according to the second embodiment corresponding to FIG. 17 in the description of the first embodiment.

まずステップS1000において図6の温度チェック処理で設定された切替制御値ttが0であるか否かが判定される。tt=0、すなわち検出温度Tと調整時温度Tadjの差の絶対値ΔTが所定値以下のときには、ステップS1002において、第2時定数でデジタルハイパスフィルタの計算が実行され、本処理は終了する。tt≠0、すなわち検出温度Tと調整時温度Tadjの差の絶対値ΔTが所定値よりも大きいときには、ステップS1004において第1時定数でデジタルハイパスフィルタの計算が実行され、本処理は終了する。   First, in step S1000, it is determined whether or not the switching control value tt set in the temperature check process of FIG. When tt = 0, that is, when the absolute value ΔT of the difference between the detected temperature T and the adjustment temperature Tadj is equal to or smaller than a predetermined value, in step S1002, the digital high-pass filter is calculated with the second time constant, and this process ends. When tt ≠ 0, that is, when the absolute value ΔT of the difference between the detected temperature T and the adjustment temperature Tadj is larger than a predetermined value, the digital high-pass filter is calculated with the first time constant in step S1004, and this process ends.

図21は、図20のデジタルハイパスフィルタ処理の構成を示すブロック図である。第1実施形態の図18と同様に、図21において変数addは、過去所定ステップ数分のVoutの積算値を表し、subは最新のaddを、所定ステップ数に対応する時定数で割った値(移動平均)を表す。スイッチSW1は、tt=1でオン状態、tt=0でオフ状態をとる一方、スイッチSW2は、tt=1でオフ状態、tt=0でオン状態をとる。スイッチSW1の系列のsubの値は、第2の時定数よりも小さい第1時定数(時定数1)および第1時定数に対応する積算値addの値を用いて計算される。また、スイッチSW2の系列のsubの値は、第1時定数よりも大きい第2時定数(時定数2)および第2時定数に対応する積算値addの値を用いて計算される。tt=0(ΔT≦所定値)のときには、スイッチSW2の系列のsubの値(時定数が大きい)がVinから減算されてVoutとされ、tt=1(ΔT>所定値)のときにはスイッチSW1の系列のsubの値(時定数が小さい)がVinから減算されてVoutとされる。   FIG. 21 is a block diagram showing the configuration of the digital high-pass filter process of FIG. As in FIG. 18 of the first embodiment, the variable add in FIG. 21 represents the integrated value of Vout for the past predetermined number of steps, and sub is the value obtained by dividing the latest add by the time constant corresponding to the predetermined number of steps. (Moving average). The switch SW1 is turned on when tt = 1, and is turned off when tt = 0, while the switch SW2 is turned off when tt = 1 and turned on when tt = 0. The sub value of the series of the switch SW1 is calculated using a first time constant (time constant 1) smaller than the second time constant and the integrated value add corresponding to the first time constant. In addition, the value of sub in the series of the switch SW2 is calculated using a second time constant (time constant 2) larger than the first time constant and the integrated value add corresponding to the second time constant. When tt = 0 (ΔT ≦ predetermined value), the sub value of the series of the switch SW2 (the time constant is large) is subtracted from Vin to obtain Vout. When tt = 1 (ΔT> predetermined value), the switch SW1 The sub value of the series (small time constant) is subtracted from Vin to obtain Vout.

以上のように第2実施形態では、検出温度と調整時温度の温度差が相対的に小さい場合には、予め記録された調整時温度のオフセット値を角速度信号から差し引くことで、角速度信号の温度ドリフトは十分に補正されたと考えられるので、第1時定数よりも大きい第2時定数を用いたハイパスフィルタを用い、カットオフ周波数を低く抑え、カットオフされる信号の帯域を下げている。一方、温度差が相対的に大きいときには、温度ドリフトによるオフセットをハイパスフィルタで除去する必要があり、フィルタを素早く立ち上げる必要があるため、第2時定数よりも小さい第1時定数を用いたハイパスフィルタを用いている。これにより第2実施形態でも、第1実施形態と同様に、温度ドリフトを含む角速度センサ出力に対し、通常使用される常温下において高い精度の出力を得るとともに、通常使用される常温環境下からずれた環境でも温度ドリフトの影響を十分に低減できる。   As described above, in the second embodiment, when the temperature difference between the detected temperature and the adjustment temperature is relatively small, the temperature value of the angular velocity signal is obtained by subtracting the offset value of the adjustment temperature recorded in advance from the angular velocity signal. Since it is considered that the drift has been sufficiently corrected, a high-pass filter using a second time constant larger than the first time constant is used to suppress the cut-off frequency low and to lower the band of the signal to be cut off. On the other hand, when the temperature difference is relatively large, it is necessary to remove the offset due to temperature drift with a high-pass filter, and it is necessary to quickly start up the filter. Therefore, the high-pass using the first time constant smaller than the second time constant. A filter is used. As a result, in the second embodiment, as in the first embodiment, the angular velocity sensor output including the temperature drift can be output with high accuracy at a normal room temperature, and deviated from the normal room temperature environment. The effect of temperature drift can be sufficiently reduced even in a dry environment.

次に、図22〜図26を参照して、本発明の第3実施形態のセンサ出力処理装置について説明する。第3実施形態のセンサ出力処理装置も第1、2実施形態と同様に手ブレ補正駆動処理に関するもので、第1、2実施形態との違いは、温度チェック処理の内容とハイパスフィルタ(HPF)部35X、35Yの構成のみである。したがって、以下の説明では、第1、2実施形態とことなる構成についてのみ説明する。   Next, a sensor output processing apparatus according to a third embodiment of the present invention will be described with reference to FIGS. Similarly to the first and second embodiments, the sensor output processing apparatus according to the third embodiment relates to camera shake correction drive processing. The difference from the first and second embodiments is the contents of temperature check processing and a high-pass filter (HPF). It is only the structure of the parts 35X and 35Y. Therefore, in the following description, only a configuration different from the first and second embodiments will be described.

図22は、センサ出力のオフセット値の大きさと、特定の時定数のハイパスフィルタでオフセット値を0に収束させるまでに掛かる時間の関係を説明するグラフである。また、図23は、一定のオフセット値を、異なる時定数のハイパスフィルタで0に収束させるのに掛かる時間の関係を説明するグラフである。   FIG. 22 is a graph for explaining the relationship between the magnitude of the offset value of the sensor output and the time taken for the offset value to converge to 0 with a high-pass filter having a specific time constant. FIG. 23 is a graph for explaining the relationship between the time taken to converge a constant offset value to 0 with a high-pass filter having a different time constant.

図22に示されるように、初期オフセット値が大きいほど、一定時間経過後に残存するオフセット値も大きく、手ブレ補正におけるオフセットによる手ブレ補正レンズの位置ズレも大きくなる。また、図23に示されるように、オフセット値が同じであれば、ハイパスフィルタの時定数が小さいほど収束は早い。したがって、時定数が小さいハイパスフィルタを採用すれば、フィルタによるオフセットの収束が迅速に行え、オフセットによる手ブレ補正レンズの位置ズレも小さくできる。しかし、時定数を小さくすると、カットオフ周波数が高くなり、低周波帯域での手ブレ情報がより多く失われるため補正精度が低下してしまう。   As shown in FIG. 22, the larger the initial offset value, the larger the offset value remaining after a lapse of a certain time, and the greater the displacement of the camera shake correction lens due to the offset in camera shake correction. As shown in FIG. 23, if the offset value is the same, the convergence is faster as the time constant of the high-pass filter is smaller. Therefore, if a high-pass filter with a small time constant is employed, the offset can be quickly converged by the filter, and the displacement of the camera shake correction lens due to the offset can be reduced. However, if the time constant is reduced, the cut-off frequency is increased, and the amount of camera shake information in the low frequency band is lost, so that the correction accuracy is lowered.

したがって、第3実施形態では、オフセット値が大きいほど、ハイパスフィルタの時定数を連続的に小さくする。ここで、静止時のVin−VVの値、すなわちステップS802(図16)におけるオフセット値VVによる補正後の信号に含まれるオフセットの値は、温度差ΔTが大きくなるほど大きくなる。したがって、第3実施形態では、図24に示されるように、温度差ΔTが大きいほど、時定数の小さいハイパスフィルタを使用する。   Therefore, in the third embodiment, the time constant of the high-pass filter is continuously reduced as the offset value is increased. Here, the value of Vin-VV at rest, that is, the offset value included in the signal corrected by the offset value VV in step S802 (FIG. 16) increases as the temperature difference ΔT increases. Therefore, in the third embodiment, as shown in FIG. 24, a high-pass filter having a smaller time constant is used as the temperature difference ΔT is larger.

図25は、第3実施形態における温度チェック処理のフローチャートであり、第1実施形態と同様に図5のステップS100において実行される。第3実施形態の温度チェック処理においても、まずステップS1100において、温度センサ26からの入力が現在の温度(検出温度)Tとして設定される。ステップS1102では、検出温度Tとメモリに記録された所定温度Tadjの温度差ΔT(=|T−Tadj|)が算出される。そしてステップS1104において係数Gainを用いて時定数がGain/ΔTとして求められる。ここで、係数Gainは、温度差ΔTから時定数を求めるための係数であり所与の値である。ステップS1106では、後述するハイパスフィルタ処理において用いられる変数subおよび変数addの初期値が0に設定され、本処理は終了する。   FIG. 25 is a flowchart of the temperature check process in the third embodiment, and is executed in step S100 of FIG. 5 as in the first embodiment. Also in the temperature check process of the third embodiment, first, the input from the temperature sensor 26 is set as the current temperature (detected temperature) T in step S1100. In step S1102, a temperature difference ΔT (= | T−Tadj |) between the detected temperature T and the predetermined temperature Tadj recorded in the memory is calculated. In step S1104, the time constant is obtained as Gain / ΔT using the coefficient Gain. Here, the coefficient Gain is a coefficient for obtaining a time constant from the temperature difference ΔT and is a given value. In step S1106, initial values of a variable sub and a variable add used in a high-pass filter process to be described later are set to 0, and this process ends.

また図26のブロック図を参照して、第3実施形態において図16のステップS804で実行されるハイパスフィルタ処理について説明する。第3実施形態では、図25のステップS1104の計算により、図24に示されるような温度差ΔTの大きさに逆相関する時定数が設定される。   The high-pass filter process executed in step S804 in FIG. 16 in the third embodiment will be described with reference to the block diagram in FIG. In the third embodiment, a time constant inversely correlated with the magnitude of the temperature difference ΔT as shown in FIG. 24 is set by the calculation in step S1104 of FIG.

図26のデジタルハイパスフィルタの計算では、第1実施形態と同様に、所定ステップ数分のVoutの積算値を計算し、これをステップS1104で算出された時定数(=Gain/ΔT)で割り、subを算出する(sub=add/時定数)。そしてVinからは、subの値を常時差し引くことで、温度差ΔTに対応したデジタルハイパスフィルタ処理が常時Vinに施される。   In the calculation of the digital high-pass filter in FIG. 26, as in the first embodiment, an integrated value of Vout for a predetermined number of steps is calculated, and this is divided by the time constant (= Gain / ΔT) calculated in step S1104. Sub is calculated (sub = add / time constant). Then, by constantly subtracting the value of sub from Vin, digital high-pass filter processing corresponding to the temperature difference ΔT is always applied to Vin.

以上のように、本発明の第3実施形態においても、第1、第2実施形態と略同様の効果を得ることができる。   As described above, also in the third embodiment of the present invention, substantially the same effects as those in the first and second embodiments can be obtained.

本実施形態では、デジタルカメラのレンズシフト方式の手ブレ補正機構への適用を例に説明を行ったが、本発明はイメージ・センサ・シフト方式を採用する手ブレ補正機構にも適用でき、銀塩カメラにも適用できる。また本発明は、ミラーレスカメラやレンズ交換式ではないカメラであってもよい。   In the present embodiment, the application to the camera shake correction mechanism using the lens shift method of a digital camera has been described as an example. However, the present invention can also be applied to a camera shake correction mechanism employing an image sensor shift method. It can also be applied to salt cameras. Further, the present invention may be a mirrorless camera or a camera that is not an interchangeable lens.

また、本実施形態センサ出力処理装置は、出力に温度ドリフトが含まれるセンサであれば、他のセンサにも適用でき、同センサを利用するカメラ以外の機器にも適用できる。例えば、携帯電話やスマートフォン、ゲーム機などに設けられた姿勢センサなどのセンサ出力の補正にも用いられる。なお、デジタルフィルタの計算は、本実施形態に限定されるものではなく、他の計算方法であってもよい。また、第1、第2、第3実施形態のハイパスフィルタ処理の構成を適宜組み合わせることも可能である。   In addition, the sensor output processing device of the present embodiment can be applied to other sensors as long as the output includes a temperature drift, and can also be applied to devices other than cameras that use the sensor. For example, it is also used for correction of sensor output of a posture sensor or the like provided in a mobile phone, a smartphone, a game machine, or the like. The calculation of the digital filter is not limited to this embodiment, and other calculation methods may be used. It is also possible to appropriately combine the high-pass filter processing configurations of the first, second, and third embodiments.

10 カメラ
13 手ブレ補正機構
14 補正レンズ
16 撮像素子
17 カメラCPU
18 レンズCPU
19 メインスイッチ
21 レリーズスイッチ
22 手ブレ補正スイッチ
23X、23Y 角速度センサ
24X、24Y 駆動制御部
25X、25Y 位置センサ
26 温度センサ
33X、33Y A/D演算部
34X、34Y 加え合わせ点
35X、35Y ハイパスフィルタ(HPF)部
36X、36Y 角度演算部
39 制御部
DESCRIPTION OF SYMBOLS 10 Camera 13 Camera shake correction mechanism 14 Correction lens 16 Image sensor 17 Camera CPU
18 Lens CPU
19 Main switch 21 Release switch 22 Camera shake correction switch 23X, 23Y Angular velocity sensor 24X, 24Y Drive control unit 25X, 25Y Position sensor 26 Temperature sensor 33X, 33Y A / D calculation unit 34X, 34Y Additional point 35X, 35Y High-pass filter ( HPF) part 36X, 36Y Angle calculation part 39 Control part

Claims (6)

温度ドリフトを含むセンサ出力を処理するセンサ出力処理装置であって、
温度センサと、
所定温度における前記センサの出力のオフセット値を記録したメモリと、
前記センサからの出力を前記オフセット値で補正するオフセット処理手段と、
前記センサからの出力を濾波するハイパスフィルタと、
前記温度センサによる検出温度と前記所定温度とを比較する温度比較手段と、
前記所定温度と前記検出温度の温度差に応じて前記ハイパスフィルタを制御するフィルタ制御手段と
を備えることを特徴とするセンサ出力処理装置。
A sensor output processing device for processing sensor output including temperature drift,
A temperature sensor;
A memory that records an offset value of the output of the sensor at a predetermined temperature;
Offset processing means for correcting the output from the sensor with the offset value;
A high-pass filter for filtering the output from the sensor;
Temperature comparison means for comparing the temperature detected by the temperature sensor with the predetermined temperature;
A sensor output processing device comprising: filter control means for controlling the high-pass filter in accordance with a temperature difference between the predetermined temperature and the detected temperature.
前記フィルタ制御手段は、少なくとも前記温度差に応じ、前記ハイパスフィルタの使用または不使用の選択、前記ハイパスフィルタの時定数の変更の何れか一方、または両方の制御を行うことを特徴とする請求項1に記載のセンサ出力装置。   The filter control means controls at least one of selection of use or non-use of the high-pass filter and change of a time constant of the high-pass filter according to at least the temperature difference. The sensor output device according to 1. 前記時定数は前記温度差が大きい程小さく設定されることを特徴とする請求項2に記載のセンサ出力処理装置。   The sensor output processing apparatus according to claim 2, wherein the time constant is set to be smaller as the temperature difference is larger. 前記センサが手ブレ補正に用いられる角速度センサであることを特徴とする請求項1〜3の何れか一項に記載のセンサ出力処理装置。   The sensor output processing apparatus according to claim 1, wherein the sensor is an angular velocity sensor used for camera shake correction. 請求項4に記載のセンサ出力装置を備えたことを特徴とするカメラ。   A camera comprising the sensor output device according to claim 4. 温度ドリフトを含むセンサ出力を処理するセンサ出力処理方法であって、
所定温度における前記センサの出力のオフセット値を記録し、
前記センサからの出力を前記オフセット値で補正し、
前記センサからの出力をハイパスフィルタで濾波し、
温度センサでの検出温度と前記所定温度とを比較し、
前記所定温度と前記検出温度の温度差に応じて前記ハイパスフィルタを制御する
ことを特徴とするセンサ出力処理方法
A sensor output processing method for processing sensor output including temperature drift,
Record the offset value of the sensor output at a given temperature,
Correct the output from the sensor with the offset value,
Filter the output from the sensor with a high-pass filter,
Compare the temperature detected by the temperature sensor with the predetermined temperature,
The high-pass filter is controlled according to a temperature difference between the predetermined temperature and the detected temperature. A sensor output processing method characterized by:
JP2013106402A 2013-05-20 2013-05-20 Sensor output processing device Active JP6212949B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013106402A JP6212949B2 (en) 2013-05-20 2013-05-20 Sensor output processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013106402A JP6212949B2 (en) 2013-05-20 2013-05-20 Sensor output processing device

Publications (2)

Publication Number Publication Date
JP2014228311A true JP2014228311A (en) 2014-12-08
JP6212949B2 JP6212949B2 (en) 2017-10-18

Family

ID=52128294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013106402A Active JP6212949B2 (en) 2013-05-20 2013-05-20 Sensor output processing device

Country Status (1)

Country Link
JP (1) JP6212949B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003149700A (en) * 2001-11-13 2003-05-21 Pentax Corp Image blur correction device
JP2006214799A (en) * 2005-02-02 2006-08-17 Konica Minolta Holdings Inc Gyro signal processing device
US20110314911A1 (en) * 2010-06-24 2011-12-29 Samsung Electro-Mechanics Co., Ltd. Gyroscope sensor circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003149700A (en) * 2001-11-13 2003-05-21 Pentax Corp Image blur correction device
JP2006214799A (en) * 2005-02-02 2006-08-17 Konica Minolta Holdings Inc Gyro signal processing device
US20110314911A1 (en) * 2010-06-24 2011-12-29 Samsung Electro-Mechanics Co., Ltd. Gyroscope sensor circuit

Also Published As

Publication number Publication date
JP6212949B2 (en) 2017-10-18

Similar Documents

Publication Publication Date Title
JP6592335B2 (en) Image blur correction apparatus and method
KR101238252B1 (en) Photographic apparatus
JP6600232B2 (en) Image blur correction apparatus and method
KR101527938B1 (en) Photographic apparatus
KR101523694B1 (en) Photographic apparatus
JP5260115B2 (en) Imaging device
KR101523695B1 (en) Photographic apparatus
JP6472176B2 (en) Imaging apparatus, image shake correction apparatus, image pickup apparatus control method, and image shake correction method
JP6242145B2 (en) Image shake correction apparatus, control method thereof, and imaging apparatus
KR101728590B1 (en) An image pickup apparatus and control method
CN111917973B (en) Image stabilization apparatus, image stabilization control method, image capturing apparatus, and storage medium
KR20090104760A (en) Photographic apparatus
KR101527940B1 (en) Photographic apparatus
JP2009300614A (en) Imaging device
JP6337540B2 (en) Temperature compensation device for sensor output
JP6543946B2 (en) Shake correction device, camera and electronic device
JP2015102775A (en) Image tremor correction device and control method of the same
JP2002156675A (en) Shake correcting camera
CN107040708B (en) Image stabilization module and camera module
JP6990985B2 (en) Image shake correction device and method, image pickup device and image pickup system
JP6395401B2 (en) Image shake correction apparatus, control method therefor, optical apparatus, and imaging apparatus
JP6212949B2 (en) Sensor output processing device
JP6611585B2 (en) Zoom control device, zoom control method, and imaging device
JP2006325075A (en) Camera-shake detection apparatus and photographing apparatus
JP5053693B2 (en) Image blur correction apparatus or optical apparatus and image pickup apparatus including the same

Legal Events

Date Code Title Description
RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20150327

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160323

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170321

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170904

R150 Certificate of patent or registration of utility model

Ref document number: 6212949

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250