JP6368605B2 - Position detecting device and driving device provided with the same - Google Patents

Position detecting device and driving device provided with the same Download PDF

Info

Publication number
JP6368605B2
JP6368605B2 JP2014196504A JP2014196504A JP6368605B2 JP 6368605 B2 JP6368605 B2 JP 6368605B2 JP 2014196504 A JP2014196504 A JP 2014196504A JP 2014196504 A JP2014196504 A JP 2014196504A JP 6368605 B2 JP6368605 B2 JP 6368605B2
Authority
JP
Japan
Prior art keywords
unit
correction
position information
correction coefficient
information signal
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
JP2014196504A
Other languages
Japanese (ja)
Other versions
JP2016070672A (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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP2014196504A priority Critical patent/JP6368605B2/en
Publication of JP2016070672A publication Critical patent/JP2016070672A/en
Application granted granted Critical
Publication of JP6368605B2 publication Critical patent/JP6368605B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Control Of Electric Motors In General (AREA)

Description

本発明は、位置検出装置及びそれを備えた駆動装置に関する。   The present invention relates to a position detection device and a drive device including the position detection device.

デジタルスチルカメラやデジタルビデオカメラなどの撮像装置では、オートフォーカス機能が付与されている。オートフォーカス機能では、撮像装置内の撮影光学系に含まれるフォーカスレンズの位置が、被写体像が撮像面に合焦するように制御される。これらフォーカスレンズの位置制御は、いわゆるオープン制御であるフィードフォワード制御、又はクローズドループ制御であるフィードバック制御によって行われる。フォーカスレンズ位置のフィードバック制御を行うためには、位置センサ等の位置検知手段と、位置センサの出力を用いてレンズ位置を算出する手段とが必要となる。   An imaging device such as a digital still camera or a digital video camera has an autofocus function. In the autofocus function, the position of the focus lens included in the imaging optical system in the imaging apparatus is controlled so that the subject image is focused on the imaging surface. The position control of these focus lenses is performed by feed forward control which is so-called open control or feedback control which is closed loop control. In order to perform feedback control of the focus lens position, position detection means such as a position sensor and means for calculating the lens position using the output of the position sensor are required.

フォーカスレンズの位置センサとして、様々な手段が提案されている。例えば、駆動部と連動する磁気スケールと、この磁気スケールから発生する磁束を検出して位置を検出するGMR素子(Giant Magneto Resistive effect device:巨大磁気抵抗効果素子)を用いたセンサとを利用して構成された2相エンコーダが知られている。   Various means have been proposed as a focus lens position sensor. For example, using a magnetic scale interlocking with the drive unit and a sensor using a GMR element (Giant Magneto Resistive effect device) that detects a position by detecting a magnetic flux generated from the magnetic scale. A configured two-phase encoder is known.

GMRセンサを用いた2相エンコーダにおいて、GMRセンサの出力は、理想的な正弦波及び余弦波であることが求められる。このため、GMRセンサの出力に含まれる誤差を補正することが行われる。例えば特許文献1には、次のような技術が開示されている。すなわち、まず、複数の候補関数が予め用意されている。動作時には、理想の正弦波に対して実際のGMR出力信号に含まれる総誤差信号関数を求める。各候補関数について、この総誤差信号関数から候補関数を引いた値について2乗した値を求め、その値を1周期分積分した値を求める。この積分した値が最も小さくなるような候補関数を選択することで、補正値を決定する。この補正値を用いてGMRセンサの誤差の補正が行われる。   In a two-phase encoder using a GMR sensor, the output of the GMR sensor is required to be an ideal sine wave and cosine wave. For this reason, an error included in the output of the GMR sensor is corrected. For example, Patent Document 1 discloses the following technique. That is, first, a plurality of candidate functions are prepared in advance. In operation, the total error signal function contained in the actual GMR output signal is determined for the ideal sine wave. For each candidate function, a value obtained by squaring the value obtained by subtracting the candidate function from the total error signal function is obtained, and a value obtained by integrating the value for one period is obtained. The correction value is determined by selecting a candidate function that minimizes the integrated value. The correction value is used to correct the error of the GMR sensor.

特許文献1に開示されている方法では、総誤差信号関数と候補関数との差を積分するため、1周期の誤差にもっとも近い補正値を得ることができる。一方で、データ量と計算量とは膨大になる。   In the method disclosed in Patent Document 1, since the difference between the total error signal function and the candidate function is integrated, a correction value closest to the error of one cycle can be obtained. On the other hand, the amount of data and the amount of calculation are enormous.

例えば動画撮影時のフォーカスレンズ等の位置制御等においては、駆動部であるフォーカスレンズの位置を逐次、高速かつ正確に制御する必要がある。さらに、これらの位置制御においてできるだけ騒音を抑えることが要求される。   For example, in the position control of the focus lens or the like at the time of moving image shooting, it is necessary to control the position of the focus lens as a drive unit sequentially and at high speed and accurately. Furthermore, it is required to suppress noise as much as possible in these position controls.

特開2006−194861号公報Japanese Patent Laid-Open No. 2006-194661

本発明は、2相エンコーダに用いられるセンサの出力に含まれる誤差を、簡便かつ少ないデータ処理量で補正できる位置検出装置及びそれを備えた駆動装置を提供することを目的とする。   An object of the present invention is to provide a position detection device that can easily and easily correct an error included in an output of a sensor used in a two-phase encoder with a small amount of data processing, and a drive device including the position detection device.

本発明の一態様によれば、位置検出装置は、スケール部と前記スケール部に対向して配置される検出部とを有し、前記スケール部と前記検出部との間の相対的な移動量に応じて、第1の位置情報信号と前記第1の位置情報信号と位相が90°ずれている第2の位置情報信号とからなる2相の周期的な位置情報信号を発生する位置取得部と、各々の計測された前記位置情報信号の振幅を所定の振幅に正規化した正規化位置情報信号の絶対値が互いに等しくなるときの前記正規化位置情報信号の値と、各々の理想の前記正規化位置情報信号の絶対値が互いに等しくなるときの前記正規化位置情報信号の値との差に基づいて、補正係数を決定する補正係数決定部と、前記位置情報信号の信号周期と等しい信号周期を有する予め用意された補正基準関数に前記補正係数を乗じて得られる補正値関数に基づいて補正値を算出する補正値決定部と、前記補正値を各々の前記位置情報信号に対して加算又は減算することで前記位置情報信号を補正した補正後位置情報信号を算出する補正部とを備える。
本発明の一態様によれば、スケール部と前記スケール部に対向して配置される検出部とを有し、前記スケール部と前記検出部との間の相対的な移動量に応じて、第1の位置情報信号と前記第1の位置情報信号と位相が90°ずれている第2の位置情報信号とからなる2相の周期的な位置情報信号を発生する位置取得部と、各々の計測された前記位置情報信号の振幅を所定の振幅に正規化した正規化位置情報信号の絶対値が互いに等しくなるときの前記正規化位置情報信号の値と、各々の理想の前記正規化位置情報信号の絶対値が互いに等しくなるときの前記正規化位置情報信号の値との差に基づいて、補正係数及びオフセット補正係数を決定する補正係数決定部と、前記位置情報信号の信号周期と等しい信号周期を有する予め用意された補正基準関数に前記補正係数を乗じて得られる値に前記オフセット補正係数を加えて得られる補正値関数に基づいて補正値を算出する補正値決定部と、前記補正値を各々の前記位置情報信号に対して加算又は減算することで前記位置情報信号を補正した補正後位置情報信号を算出する補正部とを備える。
According to one aspect of the present invention, the position detection device includes a scale unit and a detection unit disposed to face the scale unit, and a relative movement amount between the scale unit and the detection unit. A position acquisition unit that generates a two-phase periodic position information signal that includes a first position information signal and a second position information signal that is 90 ° out of phase with the first position information signal. And the values of the normalized position information signals when the absolute values of the normalized position information signals obtained by normalizing the amplitudes of the measured position information signals to a predetermined amplitude are equal to each other , A correction coefficient determining unit for determining a correction coefficient based on a difference from the value of the normalized position information signal when the absolute values of the normalized position information signal are equal to each other; and a signal equal to the signal period of the position information signal A pre-prepared correction reference function having a period A correction value determining unit for calculating a correction value based on the correction value function obtained by multiplying the correction coefficient, the position information signal by adding or subtracting the correction value for each of the position information signal A correction unit that calculates a corrected position information signal after correction.
According to one aspect of the present invention, a scale unit and a detection unit disposed to face the scale unit are provided, and the first and second detection units are arranged in accordance with a relative movement amount between the scale unit and the detection unit. A position acquisition unit that generates a two-phase periodic position information signal including one position information signal and a second position information signal that is 90 ° out of phase with the first position information signal; The value of the normalized position information signal when the absolute values of the normalized position information signal obtained by normalizing the amplitude of the position information signal thus obtained to a predetermined amplitude are equal to each other, and each ideal normalized position information signal A correction coefficient determining unit that determines a correction coefficient and an offset correction coefficient based on a difference from the value of the normalized position information signal when the absolute values of the signal are equal to each other, and a signal period equal to the signal period of the position information signal Pre-prepared correction with A correction value determining unit that calculates a correction value based on a correction value function obtained by adding the offset correction coefficient to a value obtained by multiplying the correction function by a quasi-function; and the correction value is assigned to each position information signal. And a correction unit that calculates a corrected position information signal obtained by correcting the position information signal by addition or subtraction.

また、本発明の一態様によれば、駆動装置は、固定部材と、前記固定部材に対して相対的に移動する可動部とを有する駆動部と、前記位置検出装置と、制御部とを備え、前記スケール部と前記検出部とのうち、一方が前記固定部材に固定されており、他方が前記可動部に固定されており、前記位置取得部は、前記固定部材と前記可動部との間の相対的な移動量に応じた前記位置情報信号を発生し、前記制御部は、前記位置検出装置が出力した前記補正後位置情報信号に基づいて、前記駆動部の動作を制御する。   According to another aspect of the present invention, the drive device includes a drive unit having a fixed member, a movable unit that moves relative to the fixed member, the position detection device, and a control unit. One of the scale unit and the detection unit is fixed to the fixed member, the other is fixed to the movable unit, and the position acquisition unit is located between the fixed member and the movable unit. The position information signal corresponding to the relative movement amount is generated, and the control unit controls the operation of the drive unit based on the corrected position information signal output from the position detection device.

本発明によれば、2相エンコーダに用いられるセンサの出力に含まれる誤差を、簡便かつ少ないデータ処理量で補正できる位置検出装置及びそれを備えた駆動装置を提供できる。   ADVANTAGE OF THE INVENTION According to this invention, the position detection apparatus which can correct | amend the error contained in the output of the sensor used for a two-phase encoder with simple and small data processing amount, and a drive device provided with the position detection apparatus can be provided.

図1は、本発明の一実施形態に係る位置検出装置が適用されたカメラシステムの構成例の概略を示すブロック図である。FIG. 1 is a block diagram showing an outline of a configuration example of a camera system to which a position detection apparatus according to an embodiment of the present invention is applied. 図2は、フォーカスレンズを含む可動部を駆動する駆動部と、可動部の位置を検出する位置センサとの構成例の概略を示す図である。FIG. 2 is a diagram showing an outline of a configuration example of a drive unit that drives a movable unit including a focus lens and a position sensor that detects the position of the movable unit. 図3は、位置センサの構成例の概略を示す図である。FIG. 3 is a diagram illustrating an outline of a configuration example of the position sensor. 図4は、可動部の位置を制御する際の制御ブロック線図の一例である。FIG. 4 is an example of a control block diagram for controlling the position of the movable part. 図5は、レンズ制御部の構成例の概略を示すブロック図である。FIG. 5 is a block diagram illustrating an outline of a configuration example of the lens control unit. 図6は、位置算出部の構成例の概略を示すブロック図である。FIG. 6 is a block diagram illustrating an outline of a configuration example of the position calculation unit. 図7は、GMRセンサの出力と誤差信号との一例を説明するための図である。FIG. 7 is a diagram for explaining an example of an output of the GMR sensor and an error signal. 図8は、GMRセンサの出力及びその誤差と、当該誤差を補正する補正値関数との一例について説明するための図である。FIG. 8 is a diagram for explaining an example of the output of the GMR sensor, its error, and a correction value function for correcting the error. 図9は、A相の出力とB相の出力との関係の一例を示す図である。FIG. 9 is a diagram illustrating an example of a relationship between an A-phase output and a B-phase output. 図10は、A相の出力とB相の出力との出力関係の軌跡を示すリサージュ波形の一例を示した図である。FIG. 10 is a diagram showing an example of a Lissajous waveform showing the locus of the output relationship between the A-phase output and the B-phase output. 図11は、位置制御動作の一例を示すフローチャートである。FIG. 11 is a flowchart illustrating an example of the position control operation. 図12は、現在位置算出処理の一例を示すフローチャートである。FIG. 12 is a flowchart illustrating an example of the current position calculation process. 図13は、調整動作における可動部の動きを説明するための図である。FIG. 13 is a diagram for explaining the movement of the movable part in the adjustment operation. 図14は、調整動作の一例を示すフローチャートである。FIG. 14 is a flowchart illustrating an example of the adjustment operation. 図15は、移動制御動作の一例を示すフローチャートである。FIG. 15 is a flowchart illustrating an example of the movement control operation. 図16は、調整動作における移動目標位置と制御目標位置との関係を説明するための図である。FIG. 16 is a diagram for explaining the relationship between the movement target position and the control target position in the adjustment operation. 図17は、フィードバック制御処理の一例を示すフローチャートである。FIG. 17 is a flowchart illustrating an example of the feedback control process. 図18は、補正係数算出処理の一例を示すフローチャートである。FIG. 18 is a flowchart illustrating an example of the correction coefficient calculation process. 図19は、移動制御動作における可動部の動きを説明するための図である。FIG. 19 is a diagram for explaining the movement of the movable part in the movement control operation. 図20は、移動制御動作における移動目標位置と制御目標位置との関係を説明するための図である。FIG. 20 is a diagram for explaining the relationship between the movement target position and the control target position in the movement control operation. 図21は、出力補正処理の一例を示すフローチャートである。FIG. 21 is a flowchart illustrating an example of output correction processing. 図22は、GMRセンサの出力と誤差信号と誤差を補正するための補正値関数と補正方法と補正結果との関係の一例を説明するための図である。FIG. 22 is a diagram for explaining an example of the relationship between the output of the GMR sensor, the error signal, the correction value function for correcting the error, the correction method, and the correction result. 図23は、補正前後のA相の出力とB相の出力との出力関係の軌跡を示すリサージュ波形の一例を示した図である。FIG. 23 is a diagram illustrating an example of a Lissajous waveform showing the locus of the output relationship between the A-phase output and the B-phase output before and after correction. 図24は、GMRセンサ出力信号の補正の有無による、可動部から発生する駆動音の差異を表すFFT解析結果の一例を示す図である。FIG. 24 is a diagram illustrating an example of an FFT analysis result representing a difference in driving sound generated from the movable part depending on whether or not the GMR sensor output signal is corrected.

本発明の一実施形態について図面を参照して説明する。本実施形態は、撮像装置、特に撮像装置のレンズ鏡筒におけるレンズ駆動に関する。以下、本実施形態では、フォーカスレンズを駆動する際に行われるレンズ位置の制御を一例として、本実施形態の説明を行う。   An embodiment of the present invention will be described with reference to the drawings. The present embodiment relates to a lens drive in an imaging apparatus, particularly a lens barrel of the imaging apparatus. Hereinafter, in the present embodiment, the present embodiment will be described by taking as an example the control of the lens position that is performed when the focus lens is driven.

本実施形態に係るカメラシステム1の構成例の概略を図1に示す。カメラシステム1は、カメラ本体30と、カメラ本体30に接続されるレンズ鏡筒10とを備える。このカメラシステム1は、レンズ鏡筒10に含まれるレンズによって結像された被写体像を、カメラ本体30が画像データとして取得するように構成されたデジタルカメラである。なお、本実施形態の説明では、カメラシステム1は、カメラ本体30とレンズ鏡筒10とが別体として設けられているレンズ交換式のカメラであるものとするが、これに限らず、カメラシステム1は、レンズ鏡筒とカメラ本体とが一体として設けられたカメラであってもよい。   An outline of a configuration example of the camera system 1 according to the present embodiment is shown in FIG. The camera system 1 includes a camera body 30 and a lens barrel 10 connected to the camera body 30. This camera system 1 is a digital camera configured such that a camera body 30 acquires a subject image formed by a lens included in a lens barrel 10 as image data. In the description of the present embodiment, the camera system 1 is assumed to be an interchangeable lens camera in which the camera body 30 and the lens barrel 10 are provided as separate bodies. 1 may be a camera in which a lens barrel and a camera body are integrally provided.

カメラ本体30は、撮像素子31と、撮像回路32と、Auto Exposure(AE)処理部33と、Auto Focus(AF)処理部34と、画像演算部35と、画像処理回路36と、液晶ディスプレイ(LCD)ドライバ37と、液晶ディスプレイ(LCD)38と、入力部39と、Body制御部40と、電源部41と、不揮発性メモリ42と、内蔵メモリ43と、圧縮伸張部44と、着脱メモリ45と、ボディ側インターフェース46とを備える。   The camera body 30 includes an image pickup device 31, an image pickup circuit 32, an auto exposure (AE) processing unit 33, an auto focus (AF) processing unit 34, an image calculation unit 35, an image processing circuit 36, and a liquid crystal display ( LCD) driver 37, liquid crystal display (LCD) 38, input unit 39, Body control unit 40, power supply unit 41, nonvolatile memory 42, built-in memory 43, compression / decompression unit 44, and removable memory 45 And a body side interface 46.

撮像素子31は、複数の光電変換画素を含む撮像面を有する。撮像素子31は、レンズ鏡筒10によって結像された被写体像(光像)を撮像面で受光する。撮像素子31は、それぞれの光電変換画素によって入射光をそれぞれ光電変換することで、被写体像を表す画像信号を生成する。   The imaging element 31 has an imaging surface including a plurality of photoelectric conversion pixels. The image sensor 31 receives a subject image (light image) formed by the lens barrel 10 on the imaging surface. The imaging device 31 generates an image signal representing a subject image by photoelectrically converting incident light by each photoelectric conversion pixel.

撮像回路32は、撮像素子31に、光電変換を開始させたり終了させたりする制御や、光電変換によって各画素に蓄積された電荷を画像信号として読み出す制御を行うものである。撮像回路32の制御は、Body制御部40からの制御信号に応じて行われる。   The image pickup circuit 32 controls the image pickup device 31 to start and end photoelectric conversion, and controls to read out electric charges accumulated in each pixel by photoelectric conversion as an image signal. The imaging circuit 32 is controlled according to a control signal from the Body control unit 40.

AE処理部33は、撮像回路32から得た画像信号に対して、被写体輝度を測光する機能を有する。AE処理部33は、撮影における露出に係る演算を行い、例えば適正露出を得るためのシャッタスピードや絞り値や感度等を算出する。   The AE processing unit 33 has a function of measuring subject luminance with respect to an image signal obtained from the imaging circuit 32. The AE processing unit 33 performs an operation related to exposure in shooting, and calculates, for example, a shutter speed, an aperture value, sensitivity, and the like for obtaining appropriate exposure.

AF処理部34は、画像信号から被写体のピント情報を検出する。AF処理部34は、レンズ鏡筒10のレンズを駆動するために必要な情報の算出等といったオートフォーカスに関する演算を行う。   The AF processing unit 34 detects the focus information of the subject from the image signal. The AF processing unit 34 performs an autofocus operation such as calculation of information necessary for driving the lens of the lens barrel 10.

画像演算部35は、画像信号の加算合成や画素間引き処理等の画像演算を行う。画像処理回路36は、画像信号に対して、階調補正やノイズ補正等の各種画像処理を行う。LCDドライバ37は、LCD38を駆動する。LCD38は、撮影された画像を表示する。入力部39は、ユーザがカメラ本体30に対する操作を入力するための部分である。   The image calculation unit 35 performs image calculation such as addition synthesis of image signals and pixel thinning processing. The image processing circuit 36 performs various image processing such as gradation correction and noise correction on the image signal. The LCD driver 37 drives the LCD 38. The LCD 38 displays the captured image. The input unit 39 is a part for a user to input an operation on the camera body 30.

Body制御部40は、カメラ本体30を統括的に制御する。Body制御部40が制御する対象は、撮像回路32、AE処理部33、AF処理部34、画像演算部35、画像処理回路36、LCDドライバ37等であり、これらとバスライン47を介して接続されている。さらに、Body制御部40は、不揮発性メモリ42と、内蔵メモリ43と、圧縮伸張部44と、着脱メモリ45と、バスライン47を介して接続されている。電源部41は、カメラ本体30の各部位に対して電源を供給する。   The Body control unit 40 comprehensively controls the camera body 30. The objects controlled by the body control unit 40 are the imaging circuit 32, the AE processing unit 33, the AF processing unit 34, the image calculation unit 35, the image processing circuit 36, the LCD driver 37, and the like, which are connected via the bus line 47. Has been. Further, the Body control unit 40 is connected to the nonvolatile memory 42, the built-in memory 43, the compression / decompression unit 44, the removable memory 45, and the bus line 47. The power supply unit 41 supplies power to each part of the camera body 30.

不揮発性メモリ42には、Body制御部40で動作させるプログラムデータが記録されている。内蔵メモリ43は、画像演算部35及び画像処理回路36が各種処理を行う際に、データを一時的に保持する。圧縮伸張部44は、撮影された画像データについて圧縮処理又は伸張処理をする。着脱メモリ45は、撮影された画像データを記録するためのメモリである。ボディ側インターフェース46は、レンズ鏡筒10と通信を行うためのインターフェースである。   Program data to be operated by the body control unit 40 is recorded in the nonvolatile memory 42. The built-in memory 43 temporarily holds data when the image calculation unit 35 and the image processing circuit 36 perform various processes. The compression / decompression unit 44 performs compression processing or expansion processing on the captured image data. The removable memory 45 is a memory for recording photographed image data. The body side interface 46 is an interface for communicating with the lens barrel 10.

Body制御部40、AE処理部33、AF処理部34、画像演算部35、画像処理回路36、圧縮伸張部44等は、例えばCentral Processing Unit(CPU)、又はApplication Specific Integrated Circuit(ASIC)等を含み、各種演算を行う。   The body control unit 40, the AE processing unit 33, the AF processing unit 34, the image calculation unit 35, the image processing circuit 36, the compression / decompression unit 44, and the like, for example, use a central processing unit (CPU) or an application specific integrated circuit (ASIC). Including various operations.

次にレンズ鏡筒10について説明する。レンズ鏡筒10は、固定部材11と、フォーカスレンズ12と、ズームレンズ13と、絞り14と、フォーカスレンズドライバ15と、ズームレンズドライバ16と、絞りドライバ17と、位置センサ18と、レンズ制御部19と、レンズ操作部20と、不揮発性メモリ21と、レンズ側インターフェース22とを備える。   Next, the lens barrel 10 will be described. The lens barrel 10 includes a fixing member 11, a focus lens 12, a zoom lens 13, a diaphragm 14, a focus lens driver 15, a zoom lens driver 16, a diaphragm driver 17, a position sensor 18, and a lens control unit. 19, a lens operation unit 20, a nonvolatile memory 21, and a lens side interface 22.

固定部材11は、フォーカスレンズ12と、ズームレンズ13と、絞り14とを保持する。フォーカスレンズ12は、レンズ鏡筒10内を光軸方向に移動可能である。フォーカスレンズ12は、被写体像のフォーカス位置を変化させるように駆動される。ズームレンズ13は、レンズ鏡筒10内を光軸方向に移動可能である。ズームレンズ13は、撮影倍率や焦点距離を変化させるように、手動又は自動で駆動される。絞り14では、撮像素子31へと導かれる被写体像の光量を変化させるため、開口量が変化する。   The fixed member 11 holds the focus lens 12, the zoom lens 13, and the diaphragm 14. The focus lens 12 can move in the lens barrel 10 in the optical axis direction. The focus lens 12 is driven so as to change the focus position of the subject image. The zoom lens 13 is movable in the lens barrel 10 in the optical axis direction. The zoom lens 13 is driven manually or automatically so as to change the photographing magnification and the focal length. In the diaphragm 14, the amount of opening changes in order to change the amount of light of the subject image guided to the image sensor 31.

フォーカスレンズドライバ15は、レンズ制御部19から出力される操作制御信号に基づいて、フォーカスレンズ12を駆動する回路である。ズームレンズドライバ16は、レンズ制御部19から出力される操作制御信号に基づいて、ズームレンズ13を駆動する回路である。絞りドライバ17は、レンズ制御部19から出力される操作制御信号に基づいて、絞り14を駆動する回路である。   The focus lens driver 15 is a circuit that drives the focus lens 12 based on an operation control signal output from the lens control unit 19. The zoom lens driver 16 is a circuit that drives the zoom lens 13 based on an operation control signal output from the lens control unit 19. The aperture driver 17 is a circuit that drives the aperture 14 based on an operation control signal output from the lens control unit 19.

位置センサ18は、フォーカスレンズ12の光軸方向の位置を検出する。位置センサ18は、位置取得部として機能し、位置情報信号を出力する。位置センサ18の出力に基づいて、フォーカスレンズ12の位置が算出される。   The position sensor 18 detects the position of the focus lens 12 in the optical axis direction. The position sensor 18 functions as a position acquisition unit and outputs a position information signal. Based on the output of the position sensor 18, the position of the focus lens 12 is calculated.

レンズ制御部19は、レンズ鏡筒10内の各部を統括して制御するものである。レンズ制御部19は、CPUを含み、各種演算を行う。レンズ制御部19の動作は、後述の不揮発性メモリ21に記録されたプログラムに従って行われる。レンズ制御部19は、ASIC等を含んでいてもよい。レンズ制御部19は、例えば、フォーカスレンズ12、ズームレンズ13及び絞り14のそれぞれの動作を制御する。また、レンズ制御部19は、フォーカスレンズ12の位置を位置センサ18から取得する。   The lens control unit 19 controls each part in the lens barrel 10 in an integrated manner. The lens control unit 19 includes a CPU and performs various calculations. The operation of the lens control unit 19 is performed according to a program recorded in a nonvolatile memory 21 described later. The lens control unit 19 may include an ASIC or the like. For example, the lens control unit 19 controls the operations of the focus lens 12, the zoom lens 13, and the diaphragm 14. Further, the lens control unit 19 acquires the position of the focus lens 12 from the position sensor 18.

レンズ操作部20は、ユーザがレンズ鏡筒10に対する操作を入力するための部位である。不揮発性メモリ21は、レンズ制御部19が制御動作をするためのプログラムや、フォーカスレンズ12、ズームレンズ13、及び絞り14の位置等の調整値等を格納している。レンズ側インターフェース22は、ボディ側インターフェース46と接続する。レンズ側インターフェース22は、カメラ本体30とレンズ鏡筒10との間の制御信号の送受信を行うためのインターフェース回路である。   The lens operation unit 20 is a part for a user to input an operation on the lens barrel 10. The nonvolatile memory 21 stores a program for the lens control unit 19 to perform a control operation, adjustment values such as the positions of the focus lens 12, the zoom lens 13, and the diaphragm 14, and the like. The lens side interface 22 is connected to the body side interface 46. The lens side interface 22 is an interface circuit for transmitting and receiving control signals between the camera body 30 and the lens barrel 10.

フォーカスレンズ12の光軸方向に沿った移動のための駆動機構と、フォーカスレンズ12の光軸方向の位置を検出するための位置検出機構とについて説明する。図2は、フォーカスレンズ12の駆動機構と位置検出機構に含まれる位置センサ18の構成例の外観の概略を示す。   A drive mechanism for moving the focus lens 12 along the optical axis direction and a position detection mechanism for detecting the position of the focus lens 12 in the optical axis direction will be described. FIG. 2 shows an outline of an external appearance of a configuration example of the position sensor 18 included in the drive mechanism and the position detection mechanism of the focus lens 12.

図2に示すように、フォーカスレンズ12を含む可動部122は、駆動部123によって固定部材11に沿って光軸方向に移動する。駆動部123は、例えばヴォイスコイルモーター(VCM)等を用いた駆動機構を含む。すなわち、可動部122には、VCMの可動コイル124が固定されている。一方、固定部材11には、この可動コイル124に対向するように、永久磁石を含むVCMの固定子126が設けられている。このように、固定子126と可動コイル124とからなるVCMによって、可動部122は移動する。   As shown in FIG. 2, the movable unit 122 including the focus lens 12 is moved in the optical axis direction along the fixed member 11 by the driving unit 123. The drive unit 123 includes a drive mechanism using, for example, a voice coil motor (VCM). That is, the movable coil 122 has a VCM movable coil 124 fixed thereto. On the other hand, the fixed member 11 is provided with a VCM stator 126 including a permanent magnet so as to face the movable coil 124. As described above, the movable portion 122 is moved by the VCM including the stator 126 and the movable coil 124.

なお、ここでは、可動部122がVCMによって移動する例を示したが、この方式に限ることはなく、他の方式が用いられてもよい。例えば、ステッピングモーターや超音波モータが用いられる駆動方式が適用されてもよい。   In addition, although the example which the movable part 122 moves by VCM was shown here, it is not restricted to this system, Another system may be used. For example, a driving method using a stepping motor or an ultrasonic motor may be applied.

本実施形態では、位置センサ18として、GMR素子(Giant Magneto Resistive effect device:巨大磁気抵抗効果素子)のような磁気抵抗素子を利用した検出部としてのGMRセンサ182が用いられている。GMR素子は、入力される磁束密度の大きさに応じて、電気抵抗率が変化する素子である。このようなGMR素子を用いたGMRセンサ182は、固定部材11に固定されている。また、フォーカスレンズ12を含む可動部122には、磁気スケール188が固定されている。GMRセンサ182と磁気スケール188とは、対向して配置されている。   In the present embodiment, as the position sensor 18, a GMR sensor 182 as a detection unit using a magnetoresistive element such as a GMR element (Giant Magneto Resistive effect device) is used. A GMR element is an element whose electrical resistivity changes according to the magnitude of the input magnetic flux density. The GMR sensor 182 using such a GMR element is fixed to the fixing member 11. A magnetic scale 188 is fixed to the movable part 122 including the focus lens 12. The GMR sensor 182 and the magnetic scale 188 are disposed to face each other.

磁気スケール188には、所定の位置周期毎にN極とS極とが交互に着磁されている。ここで、N極とS極との位置周期の長さを1磁化ピッチと称することにする。GMRセンサ182に含まれるGMR素子の電気抵抗率は磁気スケール188による磁束密度に応じて変化するので、GMRセンサ182は、磁気スケール188に対する位置に応じた電気信号を出力する。すなわち、GMRセンサ182は、可動部122の移動に応じて、1磁化ピッチ毎に周期的な位置情報信号を出力する。   The magnetic scale 188 is alternately magnetized with N poles and S poles every predetermined position period. Here, the length of the position period between the N pole and the S pole is referred to as one magnetization pitch. Since the electrical resistivity of the GMR element included in the GMR sensor 182 changes according to the magnetic flux density by the magnetic scale 188, the GMR sensor 182 outputs an electrical signal corresponding to the position relative to the magnetic scale 188. That is, the GMR sensor 182 outputs a periodic position information signal for each magnetization pitch according to the movement of the movable portion 122.

なお、GMRセンサ182が可動部122に固定され、磁気スケール188が固定部材11に固定されてもよい。また、位置センサ18には、GMRセンサに限らず、他のセンサが用いられてもよい。   The GMR sensor 182 may be fixed to the movable portion 122 and the magnetic scale 188 may be fixed to the fixed member 11. Further, the position sensor 18 is not limited to the GMR sensor, and other sensors may be used.

GMRセンサ182と磁気スケール188との構成について、図3を参照してさらに説明する。GMRセンサ182は、第1のGMRセンサ184と第2のGMRセンサ185とを含む。第1のGMRセンサ184と第2のGMRセンサ185とは、磁気スケール188の着磁が変化する方向、すなわち、光軸方向に、1磁化ピッチの1/4となる距離だけ離して配置されている。   The configuration of the GMR sensor 182 and the magnetic scale 188 will be further described with reference to FIG. The GMR sensor 182 includes a first GMR sensor 184 and a second GMR sensor 185. The first GMR sensor 184 and the second GMR sensor 185 are arranged in a direction in which the magnetization of the magnetic scale 188 changes, that is, in the optical axis direction, by a distance that is 1/4 of one magnetization pitch. Yes.

第1のGMRセンサ184及び第2のGMRセンサ185では、磁束密度の大きさに応じて電気抵抗率が変化するため、光軸方向に可動部122が動作すると、第1のGMRセンサ184及び第2のGMRセンサ185から位置情報信号として出力される信号の大きさは、着磁周期に応じて変化する。第1のGMRセンサ184と第2のGMRセンサ185とは1/4磁化ピッチ離れた位置に配置されているので、可動部122の移動量に応じて出力される2つのGMRセンサ信号出力は、1/4周期(90°)だけ位相がずれる。このように、GMRセンサ182と磁気スケール188とは、2相のリニアエンコーダとして機能するように構成されている。第1のGMRセンサ184の出力と第2のGMRセンサ185の出力とは、これらの位相が互いに直交する。第1のGMRセンサ184の出力と第2のGMRセンサ185の出力とのうち一方の出力を正弦波信号と称し、もう一方を余弦波信号と称することにする。第1のGMRセンサ184の出力は、第1の位置情報信号に相当し、第2のGMRセンサ185の出力は、第2の位置情報信号に相当する。   In the first GMR sensor 184 and the second GMR sensor 185, the electric resistivity changes according to the magnitude of the magnetic flux density. Therefore, when the movable part 122 operates in the optical axis direction, the first GMR sensor 184 and the second GMR sensor 185 The magnitude of the signal output as the position information signal from the second GMR sensor 185 changes according to the magnetization period. Since the first GMR sensor 184 and the second GMR sensor 185 are arranged at positions separated by a quarter magnetization pitch, the two GMR sensor signal outputs that are output according to the amount of movement of the movable part 122 are: The phase is shifted by a quarter period (90 °). Thus, the GMR sensor 182 and the magnetic scale 188 are configured to function as a two-phase linear encoder. The outputs of the first GMR sensor 184 and the output of the second GMR sensor 185 are orthogonal to each other. One output of the output of the first GMR sensor 184 and the output of the second GMR sensor 185 is referred to as a sine wave signal, and the other is referred to as a cosine wave signal. The output of the first GMR sensor 184 corresponds to the first position information signal, and the output of the second GMR sensor 185 corresponds to the second position information signal.

磁気スケール188の着磁位置周期より細かい位置分解能で位置を検出するためには、位置センサ18では、上述の2相出力である正弦波信号及び余弦波信号について内挿処理を行い、詳細な検出位置を算出する必要がある。内挿処理には、例えば、正弦波信号及び余弦波信号について逆正接演算を行い、それぞれの信号の位相関係に対応する位相角を算出する方法がある。この方法では、2相出力の位相角に基づいて、磁気スケール188の着磁位置周期内の相対位置が算出され得る。   In order to detect the position with a position resolution finer than the magnetization position period of the magnetic scale 188, the position sensor 18 performs interpolation processing on the sine wave signal and cosine wave signal, which are the above-described two-phase outputs, and performs detailed detection. The position needs to be calculated. In the interpolation process, for example, there is a method of calculating a phase angle corresponding to the phase relationship of each signal by performing an arctangent operation on a sine wave signal and a cosine wave signal. In this method, the relative position within the magnetization position period of the magnetic scale 188 can be calculated based on the phase angle of the two-phase output.

次に、可動部122の位置制御を行う際の制御ブロック線図を図4に示す。レンズ制御部19は、位置センサ18の出力に基づいてフォーカスレンズ12の光軸方向の位置を算出し、その算出結果を利用して、フィードバック制御によって、フォーカスレンズ12の位置を目標位置に追従させるように制御する。   Next, FIG. 4 shows a control block diagram when the position control of the movable portion 122 is performed. The lens control unit 19 calculates the position of the focus lens 12 in the optical axis direction based on the output of the position sensor 18, and uses the calculation result to cause the position of the focus lens 12 to follow the target position by feedback control. To control.

図4に示すように、レンズ制御部19内の目標位置指示部201は、可動部122の目標位置を設定する。また、レンズ制御部19内の位置算出部204は、位置センサ18の出力に基づいて、可動部122の現在の位置を補正後位置情報として算出する。演算部202は、可動部122の目標位置と現在の位置を表す補正後位置情報との差を、制御位置偏差として算出する。レンズ制御部19内の操作量算出部203は、制御位置偏差に基づいて操作量を算出する。操作量算出部203で算出された操作量は、フォーカスレンズドライバ15へと伝達される。フォーカスレンズドライバ15は、この操作量に基づいて可動部122を移動させるための電力を駆動部123に供給することにより駆動部123を動作させる。可動部122の位置は、位置センサ18によって検出される。なお、この位置センサ18の検出結果には、検出誤差が存在する。本実施形態では、位置算出部204は、位置センサ18の出力に含まれる誤差を補正する。   As shown in FIG. 4, the target position instruction unit 201 in the lens control unit 19 sets the target position of the movable unit 122. Further, the position calculation unit 204 in the lens control unit 19 calculates the current position of the movable unit 122 as corrected position information based on the output of the position sensor 18. The calculation unit 202 calculates a difference between the target position of the movable unit 122 and the corrected position information indicating the current position as a control position deviation. An operation amount calculation unit 203 in the lens control unit 19 calculates an operation amount based on the control position deviation. The operation amount calculated by the operation amount calculation unit 203 is transmitted to the focus lens driver 15. The focus lens driver 15 operates the drive unit 123 by supplying power to the drive unit 123 for moving the movable unit 122 based on the operation amount. The position of the movable part 122 is detected by the position sensor 18. The detection result of the position sensor 18 includes a detection error. In the present embodiment, the position calculation unit 204 corrects an error included in the output of the position sensor 18.

レンズ制御部19に含まれる、フォーカスレンズ12に含まれる可動部122の位置を制御するための構成についてさらに説明する。図5は、レンズ制御部19に含まれる機能構成を示すブロック図である。レンズ制御部19は、位置算出部204と、レンズ制御通信インターフェース205と、操作入力インターフェース206と、メモリインターフェース207と、フォーカスレンズ制御部210とを含む。   A configuration for controlling the position of the movable unit 122 included in the focus lens 12 included in the lens control unit 19 will be further described. FIG. 5 is a block diagram showing a functional configuration included in the lens control unit 19. The lens control unit 19 includes a position calculation unit 204, a lens control communication interface 205, an operation input interface 206, a memory interface 207, and a focus lens control unit 210.

位置算出部204は、位置センサ18から取得した信号に基づいて、可動部122の位置を算出する。レンズ制御通信インターフェース205は、レンズ側インターフェース22との間で通信信号の送受信及び信号の処理を行う。操作入力インターフェース206は、レンズ操作部20へ入力された操作に係る操作信号を取得する。メモリインターフェース207は、不揮発性メモリ21とのデータの送受信を行う。   The position calculation unit 204 calculates the position of the movable unit 122 based on the signal acquired from the position sensor 18. The lens control communication interface 205 performs transmission / reception of communication signals and processing of signals with the lens side interface 22. The operation input interface 206 acquires an operation signal related to an operation input to the lens operation unit 20. The memory interface 207 transmits / receives data to / from the nonvolatile memory 21.

フォーカスレンズ制御部210は、フォーカスレンズ12の位置を目標位置に一致させるようにフォーカスレンズドライバ15に対して出力する操作量を算出する。フォーカスレンズ制御部210は、目標位置指示部201と、演算部202と、操作量算出部203とを含む。   The focus lens control unit 210 calculates an operation amount to be output to the focus lens driver 15 so that the position of the focus lens 12 matches the target position. The focus lens control unit 210 includes a target position instruction unit 201, a calculation unit 202, and an operation amount calculation unit 203.

目標位置指示部201は、操作入力インターフェース206から操作信号を取得する。また、目標位置指示部201は、レンズ制御通信インターフェース205から、カメラ本体30からの制御信号を取得する。目標位置指示部201は、移動目標位置を表すこれら信号に基づいて、周期処理毎の目標位置である制御目標位置を算出する。この制御目標位置は、演算部202へと出力される。   The target position instruction unit 201 acquires an operation signal from the operation input interface 206. In addition, the target position instruction unit 201 acquires a control signal from the camera body 30 from the lens control communication interface 205. The target position instruction unit 201 calculates a control target position, which is a target position for each periodic process, based on these signals representing the movement target position. The control target position is output to the calculation unit 202.

演算部202は、位置算出部204から可動部122の現在の位置を取得し、目標位置指示部201から制御目標位置を取得する。演算部202は、制御目標位置と可動部122の現在の位置との差を制御位置偏差として算出する。操作量算出部203は、演算部202が算出した制御位置偏差に基づいて、フォーカスレンズドライバ15を駆動するための操作量を算出する。   The calculation unit 202 acquires the current position of the movable unit 122 from the position calculation unit 204 and acquires the control target position from the target position instruction unit 201. The calculation unit 202 calculates a difference between the control target position and the current position of the movable unit 122 as a control position deviation. The operation amount calculation unit 203 calculates an operation amount for driving the focus lens driver 15 based on the control position deviation calculated by the calculation unit 202.

なお、位置算出部204及びフォーカスレンズ制御部210は、メモリインターフェース207を介して、不揮発性メモリ21から必要なプログラムやパラメータ等を取得し、各種演算を行う。   Note that the position calculation unit 204 and the focus lens control unit 210 acquire necessary programs, parameters, and the like from the nonvolatile memory 21 via the memory interface 207 and perform various calculations.

次に、レンズ制御部19内の位置算出部204について説明する。第1のGMRセンサ184の出力信号と第2のGMRセンサ185の出力信号とは、それぞれレンズ制御部19内の位置算出部204へと伝達される。位置算出部204は、第1のGMRセンサ184の出力信号と第2のGMRセンサ185の出力信号とに基づいて、可動部122の位置を算出する。   Next, the position calculation unit 204 in the lens control unit 19 will be described. The output signal of the first GMR sensor 184 and the output signal of the second GMR sensor 185 are each transmitted to the position calculation unit 204 in the lens control unit 19. The position calculation unit 204 calculates the position of the movable unit 122 based on the output signal of the first GMR sensor 184 and the output signal of the second GMR sensor 185.

図6は、レンズ制御部19内の位置算出部204の構成例の概略を示すブロック図である。以下、第1のGMRセンサ184の出力信号に基づく信号をA相の信号と称し、第2のGMRセンサ185の出力信号に基づく信号をB相の信号と称することにする。第1のGMRセンサ184から出力されたA相の信号及び第2のGMRセンサ185から出力されたB相の信号は、増幅回路189で増幅されて位置算出部204に入力される。   FIG. 6 is a block diagram illustrating an outline of a configuration example of the position calculation unit 204 in the lens control unit 19. Hereinafter, a signal based on the output signal of the first GMR sensor 184 is referred to as an A-phase signal, and a signal based on the output signal of the second GMR sensor 185 is referred to as a B-phase signal. The A-phase signal output from the first GMR sensor 184 and the B-phase signal output from the second GMR sensor 185 are amplified by the amplifier circuit 189 and input to the position calculation unit 204.

位置算出部204は、A/D変換部242と、補正係数決定部243と、補正部251と、位相角算出部256と、算出位置出力部258と、記憶部260とを含む。補正係数決定部243は、第1の正規化補正部244と、第2の正規化補正部246とを含む。補正部251は、第1の誤差補正部252と、第2の誤差補正部254とを含む。   The position calculation unit 204 includes an A / D conversion unit 242, a correction coefficient determination unit 243, a correction unit 251, a phase angle calculation unit 256, a calculated position output unit 258, and a storage unit 260. The correction coefficient determination unit 243 includes a first normalization correction unit 244 and a second normalization correction unit 246. The correction unit 251 includes a first error correction unit 252 and a second error correction unit 254.

A/D変換部242は、第1のGMRセンサ184から出力され増幅されたA相の信号と、第2のGMRセンサ185から出力され増幅されたB相の信号とをデジタル信号に変換する。   The A / D conversion unit 242 converts the A-phase signal output from the first GMR sensor 184 and amplified, and the B-phase signal output from the second GMR sensor 185 into a digital signal.

GMRセンサから出力される信号には振幅ずれやオフセットずれが含まれる。補正係数決定部243は、AD変換後の信号のオフセットレベルを揃え、また、振幅を一定の値に揃えるように、振幅ずれやオフセットずれを補正する補正処理を行う。この補正処理を、以下、単に正規化という。第1の正規化補正部244は、第1のGMRセンサ184から出力されたA相の信号について、所定の振幅及び所定のオフセットレベルとなるように、振幅ずれ及びオフセットずれを正規化する演算を行う。同様に、第2の正規化補正部246は、第2のGMRセンサ185から出力されたB相の信号について、所定の振幅及び所定のオフセットレベルとなるように、振幅ずれ及びオフセットずれを正規化する演算を行う。正規化されたA相の信号及びB相の信号を正規化位置情報信号と称することにする。   The signal output from the GMR sensor includes amplitude deviation and offset deviation. The correction coefficient determination unit 243 performs a correction process for correcting the amplitude shift and the offset shift so that the offset levels of the signals after AD conversion are aligned and the amplitude is aligned to a constant value. Hereinafter, this correction processing is simply referred to as normalization. The first normalization correction unit 244 performs an operation for normalizing the amplitude deviation and the offset deviation so that the A-phase signal output from the first GMR sensor 184 has a predetermined amplitude and a predetermined offset level. Do. Similarly, the second normalization correction unit 246 normalizes the amplitude deviation and the offset deviation so that the B phase signal output from the second GMR sensor 185 has a predetermined amplitude and a predetermined offset level. Perform the operation. The normalized A-phase signal and B-phase signal are referred to as normalized position information signals.

さらに、補正係数決定部243は、A相の正規化位置情報信号の絶対値とB相の正規化位置情報信号の絶対値とが等しくなるときの正規化位置情報信号の値を利用して、補正係数を決定する。補正係数決定部243は、決定した補正係数を記憶部260に補正係数テーブル262として記憶する。   Further, the correction coefficient determination unit 243 uses the value of the normalized position information signal when the absolute value of the A-phase normalized position information signal is equal to the absolute value of the B-phase normalized position information signal, Determine the correction factor. The correction coefficient determination unit 243 stores the determined correction coefficient in the storage unit 260 as the correction coefficient table 262.

補正部251は、A相及びB相の正規化位置情報信号と、理想となる正弦波及び余弦波との誤差を補正する補正処理を行う。すなわち、第1の誤差補正部252は、第1の正規化補正部244から出力されたA相の信号に対して補正処理を行う。同様に、第2の誤差補正部254は、第2の正規化補正部246から出力されたB相の信号に対して補正処理を行う。補正処理が行われたA相の信号とB相の信号とを補正後位置情報信号と称することにする。補正部251は、補正処理において、後に詳述する補正基準関数と補正係数決定部243が決定した補正係数とを用いる。   The correction unit 251 performs a correction process for correcting an error between the A-phase and B-phase normalized position information signals and ideal sine waves and cosine waves. That is, the first error correction unit 252 performs correction processing on the A-phase signal output from the first normalization correction unit 244. Similarly, the second error correction unit 254 performs correction processing on the B-phase signal output from the second normalization correction unit 246. The A-phase signal and the B-phase signal that have been subjected to the correction process will be referred to as corrected position information signals. The correction unit 251 uses a correction reference function, which will be described in detail later, and the correction coefficient determined by the correction coefficient determination unit 243 in the correction process.

位相角算出部256は、第1の誤差補正部252から出力されたA相信号と、第2の誤差補正部254から出力されたB相信号とを取得し、それらに基づいて、磁気スケールの1磁化ピッチ周期毎の位相角を算出する。位相角算出部256は、第1の誤差補正部252から出力されたA相信号(正弦波信号)と、第2の誤差補正部254から出力されたB相信号(余弦波信号)との比の逆正接演算を行う。位相角算出部256は、逆正接演算結果に、ピッチ内相対位置換算係数を乗算することで、磁気スケール188の磁化ピッチ周期内の相対位置を算出する。位相角算出部256が行う演算で必要な情報は、位相角演算テーブル264として、記憶部260に含まれる。   The phase angle calculation unit 256 acquires the A-phase signal output from the first error correction unit 252 and the B-phase signal output from the second error correction unit 254, and based on them, the magnetic scale The phase angle for each magnetization pitch period is calculated. The phase angle calculation unit 256 is a ratio of the A phase signal (sine wave signal) output from the first error correction unit 252 to the B phase signal (cosine wave signal) output from the second error correction unit 254. The arc tangent operation is performed. The phase angle calculation unit 256 calculates the relative position within the magnetization pitch period of the magnetic scale 188 by multiplying the arc tangent calculation result by the relative position conversion coefficient within the pitch. Information necessary for the calculation performed by the phase angle calculation unit 256 is included in the storage unit 260 as the phase angle calculation table 264.

算出位置出力部258は、位相角算出部256の算出結果にさらに磁化ピッチをカウントすることで得られたオフセットを加減算することで、可動部122の位置を算出する。   The calculated position output unit 258 calculates the position of the movable unit 122 by adding or subtracting the offset obtained by further counting the magnetization pitch to the calculation result of the phase angle calculating unit 256.

このように、位置センサ18と位置算出部204によって、可動部122の位置を検出する位置検出装置が構成される。   As described above, the position sensor 18 and the position calculation unit 204 constitute a position detection device that detects the position of the movable unit 122.

次に、位置センサ18を用いた可動部122の位置検出において発生する誤差について説明する。図7は、可動部122の位置に応じてGMRセンサ182から出力されるA相とB相との2つの信号について説明するための模式図である。図7において横軸は時間である。   Next, an error that occurs in the position detection of the movable part 122 using the position sensor 18 will be described. FIG. 7 is a schematic diagram for explaining two signals of the A phase and the B phase that are output from the GMR sensor 182 in accordance with the position of the movable portion 122. In FIG. 7, the horizontal axis represents time.

図7の(a)に示すように、磁気スケール188のN極とS極との位置周期に応じて1磁化ピッチが定義されている。GMRセンサ182の出力は、1磁化ピッチ毎に周期性を有する。また、1磁化ピッチは、4つのステートに分割されている。各ステートは位相90°分を含む。   As shown in FIG. 7A, one magnetization pitch is defined according to the position period of the N pole and S pole of the magnetic scale 188. The output of the GMR sensor 182 has periodicity for each magnetization pitch. One magnetization pitch is divided into four states. Each state includes 90 ° phase.

図7の(b)に正規化されたGMRセンサ182の出力を示す。ここで、実線は、第1のGMRセンサ184から出力されるA相の出力波形の理想的な場合を示しており、正弦波形状を示している。破線は、第2のGMRセンサ185から出力されるB相の出力波形の理想的な場合を示しており、余弦波形状を示している。一点鎖線は、第1のGMRセンサ184から出力されるA相の出力(以下、a(t)とする。)を示す波形であり、誤差を含んでいるため、実線で示した理想的な場合との間に僅かにずれが存在する。二点鎖線は、第2のGMRセンサ185から出力されるB相の出力(以下、b(t)とする。)を示す波形であり、誤差を含んでいるため、破線で示した理想的な場合との間に僅かにずれが存在する。   FIG. 7B shows the output of the normalized GMR sensor 182. FIG. Here, the solid line shows an ideal case of the output waveform of the A phase output from the first GMR sensor 184, and shows a sine wave shape. A broken line indicates an ideal case of the output waveform of the B phase output from the second GMR sensor 185, and indicates a cosine wave shape. An alternate long and short dash line is a waveform indicating the output of the A phase (hereinafter referred to as a (t)) output from the first GMR sensor 184 and includes an error. Therefore, an ideal case indicated by a solid line There is a slight deviation between An alternate long and two short dashes line is a waveform indicating an output of the B phase (hereinafter referred to as b (t)) output from the second GMR sensor 185 and includes an error. There is a slight deviation from the case.

図7の(c)は、実線で示した第1のGMRセンサ184から出力されるA相の理想的な出力と、一点鎖線で示した第1のGMRセンサ184から実際に出力されるA相の出力との間に存在する誤差Δd1を示す。図7の(d)は、破線で示した第2のGMRセンサ185から出力されるB相の理想的な出力と、二点鎖線で示した第2のGMRセンサ185から実際に出力されるB相の出力との間に存在する誤差Δd2を示す。本実施形態では、誤差Δd1と誤差Δd2とが補正される。この補正において用いられる補正係数を、図7の(e)に示すように、磁化ピッチpとステートsとを用いてk[p,s]のように表すことにする。   FIG. 7C shows an ideal output of the A phase output from the first GMR sensor 184 indicated by the solid line and an A phase actually output from the first GMR sensor 184 indicated by the alternate long and short dash line. The error Δd1 existing between the output and the output is shown. FIG. 7D shows an ideal output of the B phase output from the second GMR sensor 185 indicated by a broken line, and B actually output from the second GMR sensor 185 indicated by a two-dot chain line. An error Δd2 existing between the phase outputs is shown. In the present embodiment, the error Δd1 and the error Δd2 are corrected. The correction coefficient used in this correction is expressed as k [p, s] using the magnetization pitch p and the state s as shown in FIG.

すなわち、k[p,s]は、補正対象とするGMRセンサの磁化ピッチの位置pと、a(t)とb(t)の符号の組み合わせで決まるステートsとに基づいて定まる。ここで、磁化ピッチpが示す値は、A相の出力波形とB相の出力波形の周期数を表す。ステートsが示す値は、A相の出力とB相の出力との大小関係によって4つに分割された領域を示すものである。具体的には、ステートsは、a(t)とb(t)との符号によって、次のような関係がある。すなわち、
a(t)≧0かつb(t)≧0のとき、ステートsは1であり、
a(t)≧0かつb(t)<0のとき、ステートsは2であり、
a(t)<0かつb(t)<0のとき、ステートsは3であり、
a(t)<0かつb(t)≧0のとき、ステートsは4である。
That is, k [p, s] is determined based on the position p of the magnetization pitch of the GMR sensor to be corrected and the state s determined by the combination of the signs a (t) and b (t). Here, the value indicated by the magnetization pitch p represents the number of periods of the output waveform of the A phase and the output waveform of the B phase. The value indicated by the state s indicates an area divided into four according to the magnitude relationship between the A-phase output and the B-phase output. Specifically, the state s has the following relationship depending on the signs of a (t) and b (t). That is,
When a (t) ≧ 0 and b (t) ≧ 0, the state s is 1.
When a (t) ≧ 0 and b (t) <0, the state s is 2,
When a (t) <0 and b (t) <0, the state s is 3,
State a is 4 when a (t) <0 and b (t) ≧ 0.

以上のように、第1のGMRセンサ184から出力されるA相の出力(a(t))には、理想的な正弦波に対して誤差Δd1が含まれており、第2のGMRセンサ185から出力されるB相の出力(b(t))には、理想的な余弦波に対して誤差Δd2が含まれている。これらA相に係る誤差Δd1とB相に係る誤差Δd2とを合わせて誤差Δdと表記するとき、誤差Δdは、GMRセンサ182と磁気スケール188との周期的特性を考慮すると下記式(1)で近似され得る。
Δd=k[p,s]×sin(π×|Lv|/Amp) (1)
ここで、Lvは、正規化後のGMRセンサの出力信号レベルを示し、Ampは、正規化後のGMRセンサの出力信号の振幅を示す。
As described above, the A-phase output (a (t)) output from the first GMR sensor 184 includes the error Δd1 with respect to the ideal sine wave, and the second GMR sensor 185. The B-phase output (b (t)) output from the signal includes an error Δd2 with respect to an ideal cosine wave. When the error Δd1 related to the A phase and the error Δd2 related to the B phase are combined and expressed as an error Δd, the error Δd is expressed by the following equation (1) in consideration of the periodic characteristics of the GMR sensor 182 and the magnetic scale 188. Can be approximated.
Δd = k [p, s] × sin (π × | Lv | / Amp) (1)
Here, Lv indicates the output signal level of the GMR sensor after normalization, and Amp indicates the amplitude of the output signal of the GMR sensor after normalization.

なお、上述のようにGMRセンサ182の出力に誤差信号Δdが含まれる要因としては以下が挙げられる。
1.磁気スケール188とGMRセンサ182の検出面との間隔幅(ギャップ)が検出位置によって変化することによるもの。
2.上記1に関連して、可動部122を構成する際の組立公差に起因するもの。
3.GMRセンサ182の検出面と磁気スケール188から発生する磁界方向の傾きとによるもの。
As described above, the factors that cause the error signal Δd to be included in the output of the GMR sensor 182 include the following.
1. This is because the gap width (gap) between the magnetic scale 188 and the detection surface of the GMR sensor 182 varies depending on the detection position.
2. In relation to 1 above, it is caused by assembly tolerance when the movable part 122 is configured.
3. This is due to the detection surface of the GMR sensor 182 and the inclination of the magnetic field direction generated from the magnetic scale 188.

GMRセンサ182の出力と、GMRセンサ182の出力に対して施される補正とについて、図8を参照してさらに説明する。図8の左図は、正規化後のA相及びB相の出力について詳細に示した図である。横軸は、時間tを示し、縦軸は、GMRセンサ182の出力を示す。この図においても、実線は、第1のGMRセンサ184から出力されるA相の出力波形の理想的な場合を示し、破線は、第2のGMRセンサ185から出力されるB相の出力波形の理想的な場合を示し、一点鎖線は、第1のGMRセンサ184から出力されるA相の出力波形(a(t))を示し、二点鎖線は、第2のGMRセンサ185から出力されるB相の出力波形(b(t))を示す。この図に示すように、GMRセンサ182の出力信号は、振幅の1/2付近で、誤差信号Δdが最大となり、理想的な波形からの乖離が最も大きくなる。   The output of the GMR sensor 182 and the correction applied to the output of the GMR sensor 182 will be further described with reference to FIG. The left diagram in FIG. 8 is a diagram showing in detail the output of the A phase and the B phase after normalization. The horizontal axis represents time t, and the vertical axis represents the output of the GMR sensor 182. Also in this figure, the solid line shows the ideal case of the output waveform of the A phase output from the first GMR sensor 184, and the broken line shows the output waveform of the B phase output from the second GMR sensor 185. In the ideal case, a one-dot chain line indicates an A-phase output waveform (a (t)) output from the first GMR sensor 184, and a two-dot chain line is output from the second GMR sensor 185. An output waveform (b (t)) of the B phase is shown. As shown in this figure, the output signal of the GMR sensor 182 has the maximum error signal Δd near the half of the amplitude, and the deviation from the ideal waveform is the largest.

図8の右図は、縦軸に示したGMRセンサ182の出力と、横軸に示した補正値関数f[x]との関係を示す図である。この図において、破線は、補正基準関数g[x]を示し、実線は、補正値関数f[x]を示す。ここで、補正値関数f[x]は、補正係数k[p,s]と補正基準関数g[x]とを用いて下記式(2)で表される。
f[x]=k[p,s]×g[x] (2)
The right diagram in FIG. 8 is a diagram showing the relationship between the output of the GMR sensor 182 shown on the vertical axis and the correction value function f [x] shown on the horizontal axis. In this figure, the broken line indicates the correction reference function g [x], and the solid line indicates the correction value function f [x]. Here, the correction value function f [x] is expressed by the following equation (2) using the correction coefficient k [p, s] and the correction reference function g [x].
f [x] = k [p, s] × g [x] (2)

ここで、補正係数k[p,s]は、図8の左図に実線で示されるA相の出力波形の理想的な場合を示す実線とB相の出力波形の理想的な場合を示す破線との交点におけるGMRセンサ182の出力の値と、A相の出力波形a(t)を示す一点鎖線とB相の出力波形b(t)を示す二点鎖線との交点におけるGMRセンサ182の出力の値との差dに基づいて決定される。すなわち、補正係数k[p,s]は、理想的な場合のA相の出力の絶対値とB相の出力の絶対値とが等しいときのその値と、A相の出力a(t)の絶対値とB相の出力b(t)の絶対値とが等しいときのその値との差dに基づいて決定される。補正係数k[p,s]は、例えば、当該差dが大きい程に大きくなるように決定される。差dと補正係数k[p,s]との関係は、例えば不揮発性メモリ21に関数やテーブルとして記録されていてもよい。   Here, the correction coefficient k [p, s] is a solid line indicating the ideal case of the output waveform of the A phase indicated by the solid line in the left diagram of FIG. 8 and a broken line indicating the ideal case of the output waveform of the B phase. The output value of the GMR sensor 182 at the intersection of the GMR sensor 182 at the intersection with the two-dot chain line indicating the output waveform a (t) of the A phase and the alternate long and two short dashes line indicating the output waveform b (t) of the B phase. It is determined based on the difference d from the value of. That is, the correction coefficient k [p, s] is the value of the ideal case where the absolute value of the A-phase output is equal to the absolute value of the B-phase output and the A-phase output a (t). It is determined based on the difference d between the absolute value and the B-phase output b (t) when the absolute value is equal. For example, the correction coefficient k [p, s] is determined so as to increase as the difference d increases. The relationship between the difference d and the correction coefficient k [p, s] may be recorded in the nonvolatile memory 21 as a function or a table, for example.

本実施形態では、GMRセンサ182の出力は、補正値関数f[x]に基づいて得られた補正値を用いて補正される。すなわち、補正前のGMRセンサ182の出力をαとし、補正後のGMRセンサ182の出力を補正後位置情報信号α´としたときに、補正後位置情報信号α´は、下記式(3)で表される。
α´=α+f[α]
=α+(k[p,s]×g[α]) (3)
In the present embodiment, the output of the GMR sensor 182 is corrected using a correction value obtained based on the correction value function f [x]. That is, when the output of the GMR sensor 182 before correction is α and the output of the GMR sensor 182 after correction is the corrected position information signal α ′, the corrected position information signal α ′ is expressed by the following equation (3). expressed.
α ′ = α + f [α]
= Α + (k [p, s] × g [α]) (3)

本実施形態では、この補正後のGMRセンサ182の出力である補正後位置情報信号α´を用いて可動部122の位置算出が行われる。   In the present embodiment, the position of the movable portion 122 is calculated using the corrected position information signal α ′ that is the output of the GMR sensor 182 after correction.

本実施形態では、位置算出部204は、GMRセンサ182のA相の出力a(t)とB相の出力b(t)とについて、逐次に補正係数k[p,s]を用いて誤差Δdを補正する。この補正係数k[p,s]の値は、可動部122の可動範囲について補正係数テーブル262として記憶部260に記憶されている。補正係数テーブル262に含まれる補正係数k[p,s]の値は、例えば、電源投入時にフォーカスレンズ12を、一方の端から反対側の端まで駆動させて、そのときに出力されるGMRセンサ182の2つの信号出力に基づいて、磁化ピッチp毎に算出して記憶しておく。   In this embodiment, the position calculation unit 204 sequentially uses the correction coefficient k [p, s] for the A-phase output a (t) and the B-phase output b (t) of the GMR sensor 182 to generate an error Δd. Correct. The value of the correction coefficient k [p, s] is stored in the storage unit 260 as the correction coefficient table 262 for the movable range of the movable unit 122. The value of the correction coefficient k [p, s] included in the correction coefficient table 262 is, for example, the GMR sensor output when the focus lens 12 is driven from one end to the opposite end when the power is turned on. Based on the two signal outputs of 182, it is calculated and stored for each magnetization pitch p.

A相の出力a(t)及び上述のように補正して得られた補正後のA相の出力a´(t)と、B相の出力b(t)及び上述のように補正して得られた補正後のB相の出力b´(t)とを図9に示す。図9において、横軸は時間tを示し、縦軸はGMRセンサ182の出力を示す。図9において、実線はa´(t)を示し、破線はb´(t)を示し、一点鎖線はa(t)を示し、二点鎖線はb(t)を示す。   A phase output a (t) and the corrected A phase output a ′ (t) obtained by correction as described above, the B phase output b (t) and correction as described above. FIG. 9 shows the corrected B-phase output b ′ (t). In FIG. 9, the horizontal axis represents time t, and the vertical axis represents the output of the GMR sensor 182. In FIG. 9, the solid line indicates a ′ (t), the broken line indicates b ′ (t), the alternate long and short dash line indicates a (t), and the alternate long and two short dashes line indicates b (t).

また、図9に示したa(t)及びa´(t)を横軸に、b(t)及びb´(t)を縦軸にプロットしたリサージュ波形を図10に示す。図10において、実線はa´(t)及びb´(t)の関係を示し、破線はa(t)及びb(t)の関係を示す。このリサージュ波形は、2つの信号の変化の関係の軌跡を示す。リサージュ波形によれば、同時刻に出力される2つの信号の出力を横軸と縦軸に割り当てることで、2つの信号の振幅や位相の関係が1つの図形で把握され得る。GMRセンサ182の2つの信号出力が理想的な正弦波信号及び理想的な余弦波信号であるとき、リサージュ波形は真円となる。図10に示すように、実線で示した補正後のa´(t)及びb´(t)の関係は真円状であり、これらが理想的な波形となっていることが分かる。一方、破線で示した補正前のa(t)及びb(t)の関係は、45°+90°×N(N=0,1,2,3)付近が円形から内側に歪んだ軌跡となり、菱形に近い形状を示している。このことから、補正前のa(t)及びb(t)が誤差を含んでいることが分かる。   FIG. 10 shows a Lissajous waveform in which a (t) and a ′ (t) shown in FIG. 9 are plotted on the horizontal axis and b (t) and b ′ (t) are plotted on the vertical axis. In FIG. 10, the solid line indicates the relationship between a ′ (t) and b ′ (t), and the broken line indicates the relationship between a (t) and b (t). This Lissajous waveform shows a trajectory of the relationship between changes in the two signals. According to the Lissajous waveform, by assigning the output of two signals output at the same time to the horizontal axis and the vertical axis, the relationship between the amplitude and phase of the two signals can be grasped by one figure. When the two signal outputs of the GMR sensor 182 are an ideal sine wave signal and an ideal cosine wave signal, the Lissajous waveform is a perfect circle. As shown in FIG. 10, it can be seen that the relationship between a ′ (t) and b ′ (t) after correction indicated by a solid line is a perfect circle, and these are ideal waveforms. On the other hand, the relationship between a (t) and b (t) before correction indicated by a broken line is a locus in which 45 ° + 90 ° × N (N = 0, 1, 2, 3) is distorted inward from a circle, A shape close to a rhombus is shown. From this, it can be seen that a (t) and b (t) before correction include an error.

一般に、2相エンコーダの出力を用いて内挿処理を行って検出位置を算出するとき、A相の出力とB相出力との位相関係からなる位相角を算出する。これは、A相の出力とB相の出力との比を算出して、この算出した比の値に対して、逆正接関数の演算を行うことによって、A相の出力とB相の出力とがなす位相角を算出するものである。この位相角は、図10のようなリサージュ波形の軌跡上の点と、リサージュ波形の原点位置との関係による位相角によって図示され得る。上述のようにリサージュ波形が菱形に近づいた形状を示すとき、GMRセンサの出力を用いた、逆正接演算は、理想的な正弦波信号及び、理想的な余弦波信号を用いた逆正接演算の結果に対して、誤差Δdが生じる。この誤差Δdは、大きさが周期的に変化しており、この変化する周期は、磁化ピッチの1/4周期に関係した周期となる。その結果、光軸方向のレンズ位置算出に磁化ピッチの1/4周期となる周期的な誤差が発生することになる。   In general, when the detection position is calculated by performing the interpolation process using the output of the two-phase encoder, the phase angle composed of the phase relationship between the A-phase output and the B-phase output is calculated. This is because the ratio between the output of the A phase and the output of the B phase is calculated, and the output of the A phase and the output of the B phase are calculated by calculating an arctangent function for the calculated ratio value. The phase angle formed by is calculated. This phase angle can be illustrated by the phase angle based on the relationship between the point on the locus of the Lissajous waveform as shown in FIG. 10 and the origin position of the Lissajous waveform. As described above, when the Lissajous waveform shows a shape close to a rhombus, the arc tangent calculation using the output of the GMR sensor is an arc tangent calculation using an ideal sine wave signal and an ideal cosine wave signal. An error Δd occurs for the result. The magnitude of the error Δd changes periodically, and this changing period is a period related to a quarter period of the magnetization pitch. As a result, a periodic error corresponding to ¼ period of the magnetization pitch occurs in calculating the lens position in the optical axis direction.

仮に、誤差Δdが磁化ピッチの1/4周期の周期を持ち、本実施形態のような誤差を低減させる仕組みが存在せずにこの誤差がそのまま残る場合を考える。このとき、位置算出部204によって算出された位相角に基づいて検出される位置も、磁化ピッチの1/4周期の誤差が発生する。この位置検出結果を用いて可動部122の動作が制御されると、フィードバック制御での目標位置と検出位置との偏差である制御位置偏差も周期的に大きさが変化し、磁化ピッチの1/4周期に関係して周期的な誤差をもつ。この磁化ピッチの1/4周期の制御位置偏差の変化によって、フィードバック制御においては可動部122への駆動量である操作量が大きくなったり小さくなったりする変化が発生する。その結果、磁化ピッチの1/4周期とフォーカスレンズの駆動速度に対応した周波数の駆動音がフォーカスレンズ12の可動部122から発生する。   Let us consider a case where the error Δd has a quarter period of the magnetization pitch, and this error remains as it is without a mechanism for reducing the error as in the present embodiment. At this time, the position detected based on the phase angle calculated by the position calculation unit 204 also generates an error of ¼ period of the magnetization pitch. When the operation of the movable portion 122 is controlled using this position detection result, the control position deviation, which is the deviation between the target position and the detection position in the feedback control, also periodically changes in magnitude and becomes 1 / magnetization pitch. There is a periodic error related to the four periods. Due to the change in the control position deviation of 1/4 period of the magnetization pitch, a change in which the operation amount, which is the drive amount to the movable portion 122, is increased or decreased in feedback control occurs. As a result, a driving sound having a frequency corresponding to a quarter period of the magnetization pitch and the driving speed of the focus lens is generated from the movable portion 122 of the focus lens 12.

この誤差によって生じる可動部122の駆動時の余分な駆動音の周波数は、下記式(4)に基づいた関係で発生する。
歪みによって生じる駆動音周波数(Hz)
=フォーカスレンズ駆動速度(mm/s)/(磁化ピッチ(mm)/4) (4)
The frequency of the extra driving sound at the time of driving the movable part 122 caused by this error is generated based on the relationship based on the following equation (4).
Driving sound frequency (Hz) caused by distortion
= Focus lens driving speed (mm / s) / (magnetization pitch (mm) / 4) (4)

例えば、フォーカスレンズ12の定速移動速度が50mm/sであり、磁化ピッチが250μmであるとき、駆動音の周波数は、800Hzとなる。800Hzは、人間の聴覚にとって敏感な周波数であり、このような音が例えば動画撮影において録音されると聞き苦しいものとなる。   For example, when the constant speed moving speed of the focus lens 12 is 50 mm / s and the magnetization pitch is 250 μm, the frequency of the driving sound is 800 Hz. 800 Hz is a frequency that is sensitive to human hearing. When such a sound is recorded in, for example, moving image shooting, it becomes difficult to hear.

次に、本実施形態に係る位置制御に係る動作について説明する。図11に、位置制御動作を示すフローチャートを示す。位置制御動作は、カメラシステム1が起動したときに開始する。   Next, operations related to position control according to the present embodiment will be described. FIG. 11 is a flowchart showing the position control operation. The position control operation starts when the camera system 1 is activated.

ステップS101において、レンズ制御部19は、補正係数k[p,s]の初期値を設定する。なお、補正係数k[p,s]の初期値は、例えば0でもよいし、前回の動作時に決定された値でもよいし、他の値でもよい。ステップS102において、レンズ制御部19は、補正を行うか否かを表す補正フラグをOFFに設定する。   In step S101, the lens control unit 19 sets an initial value of the correction coefficient k [p, s]. Note that the initial value of the correction coefficient k [p, s] may be, for example, 0, a value determined at the previous operation, or another value. In step S102, the lens control unit 19 sets a correction flag indicating whether or not to perform correction to OFF.

ステップS103において、レンズ制御部19は、GMRセンサ182の出力信号に基づいて、フォーカスレンズ12を含む可動部122の光軸方向の位置を算出する現在位置算出処理を行う。現在位置算出処理について、図12に示すフローチャートを参照して説明する。   In step S <b> 103, the lens control unit 19 performs current position calculation processing for calculating the position of the movable unit 122 including the focus lens 12 in the optical axis direction based on the output signal of the GMR sensor 182. The current position calculation process will be described with reference to the flowchart shown in FIG.

ステップS201において、レンズ制御部19は、正規化されたGMRセンサ182のA相の出力a(t)とB相の出力b(t)とを取得する。   In step S <b> 201, the lens control unit 19 acquires the normalized A-phase output a (t) and B-phase output b (t) of the GMR sensor 182.

ステップS202において、レンズ制御部19は、補正フラグがONであるか否かを判定する。補正フラグがONでないとき、すなわち、補正フラグがOFFであるとき、処理はステップS204に進む。一方、補正フラグがONであるとき、処理はステップS203に進む。ステップS203において、レンズ制御部19は、出力補正処理を行う。出力補正処理については、後に説明する。出力補正処理の後、処理はステップS204に進む。   In step S202, the lens control unit 19 determines whether or not the correction flag is ON. When the correction flag is not ON, that is, when the correction flag is OFF, the process proceeds to step S204. On the other hand, when the correction flag is ON, the process proceeds to step S203. In step S203, the lens control unit 19 performs output correction processing. The output correction process will be described later. After the output correction process, the process proceeds to step S204.

ここで説明しているステップS103における現在位置算出処理においては、補正フラグがOFFになっているので、出力補正処理は行われない。   In the current position calculation process in step S103 described here, the output correction process is not performed because the correction flag is OFF.

ステップS204において、レンズ制御部19は、ステップS201で取得したa(t)及びb(t)に基づいて、逆正接演算を行う。すなわち、位相角θを下記式(5)に基づいて算出する。
θ=arctan(a(t)/b(t)) (5)
In step S204, the lens control unit 19 performs an arctangent calculation based on a (t) and b (t) acquired in step S201. That is, the phase angle θ is calculated based on the following formula (5).
θ = arctan (a (t) / b (t)) (5)

ステップS205において、レンズ制御部19は、算出された位相角θに対して所定のピッチ内相対位置換算係数を乗算し、磁化ピッチ内の相対位置を算出する。ステップS206において、レンズ制御部19は、ステップS205で得られた磁化ピッチ内の相対位置に対し、磁化ピッチpの値に応じたオフセット量(磁化ピッチカウントオフセット加算量266)を加算して、光軸方向の可動部122の現在位置を算出する。以上で現在位置算出処理を終了する。その後、処理はステップS103に戻る。   In step S205, the lens control unit 19 calculates a relative position within the magnetization pitch by multiplying the calculated phase angle θ by a predetermined relative position conversion factor within the pitch. In step S206, the lens control unit 19 adds an offset amount (magnetization pitch count offset addition amount 266) corresponding to the value of the magnetization pitch p to the relative position within the magnetization pitch obtained in step S205, and the light. The current position of the movable part 122 in the axial direction is calculated. Thus, the current position calculation process ends. Thereafter, the process returns to step S103.

図11に戻って説明を続ける。ステップS103の現在位置算出処理の後、処理はステップS104に進む。ステップS104において、レンズ制御部19は、フィードバック制御状態フラグをONに設定する。ここで、フィードバック制御状態フラグは、フィードバック制御を行っているか否かを示すフラグである。ステップS105において、レンズ制御部19は、位置保持動作を行う。位置保持動作は、可動部122の位置を現在の位置に留まらせる動作である。この処理によって、可動部122の位置は、現在位置に留まる。   Returning to FIG. 11, the description will be continued. After the current position calculation process in step S103, the process proceeds to step S104. In step S104, the lens control unit 19 sets the feedback control state flag to ON. Here, the feedback control state flag is a flag indicating whether feedback control is being performed. In step S105, the lens control unit 19 performs a position holding operation. The position holding operation is an operation for keeping the position of the movable portion 122 at the current position. By this processing, the position of the movable part 122 remains at the current position.

ステップS106において、レンズ制御部19は、可動部122を移動させるための指令である動作指令があるか否かを判定する。動作指令がないとき、処理はステップS106を繰り返して待機する。動作指令があるとき、処理はステップS107に進む。   In step S <b> 106, the lens control unit 19 determines whether there is an operation command that is a command for moving the movable unit 122. When there is no operation command, the process repeats step S106 and waits. When there is an operation command, the process proceeds to step S107.

ステップS107において、選択された動作モードの判定を行う。選択された動作モードが、補正係数k[p,s]を決定する調整動作であったとき、処理はステップS108に進む。本実施形態では、カメラシステム1の起動時に初めに調整動作が行われるように構成されている。したがって、最初にステップS107の判定が行われるときは調整動作が選択されており、2回目以降にステップS107の判定が行われるときは調整動作が選択されない。   In step S107, the selected operation mode is determined. When the selected operation mode is an adjustment operation for determining the correction coefficient k [p, s], the process proceeds to step S108. In the present embodiment, the adjustment operation is first performed when the camera system 1 is activated. Therefore, the adjustment operation is selected when the determination of step S107 is performed for the first time, and the adjustment operation is not selected when the determination of step S107 is performed for the second time and thereafter.

ステップS108において、レンズ制御部19は、補正係数を算出する調整動作を行う。調整動作におけるフォーカスレンズ12を含む可動部122の移動経路について図13に示す模式図を参照して説明する。初めに、可動部122が図13に示す位置Aにあったとする。このとき、調整動作においては、可動部122は、カメラ本体30側の端の位置Bに移動させられる。続いて可動部122は、カメラ本体30と反対側の端の位置Cに移動させられる。位置Bから位置Cまで移動している間のGMRセンサ182の出力に基づいて、補正係数k[p,s]の決定が行われる。   In step S108, the lens control unit 19 performs an adjustment operation to calculate a correction coefficient. A movement path of the movable part 122 including the focus lens 12 in the adjustment operation will be described with reference to a schematic diagram shown in FIG. First, it is assumed that the movable part 122 is at a position A shown in FIG. At this time, in the adjustment operation, the movable portion 122 is moved to the position B at the end on the camera body 30 side. Subsequently, the movable part 122 is moved to the position C on the end opposite to the camera body 30. Based on the output of the GMR sensor 182 while moving from the position B to the position C, the correction coefficient k [p, s] is determined.

調整動作処理について図14に示すフローチャートを参照して説明する。ステップS301において、レンズ制御部19は、カメラ本体30側の端を可動部122の移動目標位置に設定する。   The adjustment operation process will be described with reference to the flowchart shown in FIG. In step S <b> 301, the lens control unit 19 sets the end on the camera body 30 side as the movement target position of the movable unit 122.

ステップS302において、レンズ制御部19は、移動制御動作を行う。移動制御動作は、指示された移動目標位置に可動部122を移動させる動作である。移動制御動作について図15に示すフローチャートを参照して説明する。   In step S302, the lens control unit 19 performs a movement control operation. The movement control operation is an operation for moving the movable portion 122 to the instructed movement target position. The movement control operation will be described with reference to the flowchart shown in FIG.

ステップS401において、レンズ制御部19の目標位置指示部201は、現在の可動部122の位置と、移動目標位置(図13における位置B)とに基づいて、移動途中における処理周期毎の目標位置である制御目標位置を算出する。初期位置と移動目標位置と制御目標位置との関係を図16に示す。図16において、横軸は時間tであり、縦軸は可動部122の位置である。移動制御動作においては、可動部122を等速で移動させるように、制御目標位置Dn(n=1,2,3,…,N)が設定される。   In step S401, the target position instruction unit 201 of the lens control unit 19 is a target position for each processing cycle during the movement based on the current position of the movable unit 122 and the movement target position (position B in FIG. 13). A certain control target position is calculated. FIG. 16 shows the relationship among the initial position, the movement target position, and the control target position. In FIG. 16, the horizontal axis is time t, and the vertical axis is the position of the movable portion 122. In the movement control operation, the control target position Dn (n = 1, 2, 3,..., N) is set so that the movable part 122 is moved at a constant speed.

ステップS402において、レンズ制御部19は、フィードバック制御処理を行う。フィードバック制御処理は、処理毎に現在の位置と制御目標位置との差に応じて、すなわちフィードバック制御によって、可動部122を駆動する処理である。フィードバック制御処理について、図17を参照して説明する。   In step S402, the lens control unit 19 performs a feedback control process. The feedback control process is a process of driving the movable unit 122 according to the difference between the current position and the control target position for each process, that is, by feedback control. The feedback control process will be described with reference to FIG.

ステップS501において、レンズ制御部19は、ステップS401で算出した制御目標位置に基づいて、経過時間に応じた実行中の処理における制御目標位置を設定する。ステップS502において、レンズ制御部19は、現在位置算出処理を行い、GMRセンサ182の出力信号を用いて、可動部122の現在の位置を算出する。現在位置算出処理は、図12を参照して説明した処理である。すなわち、簡単には以下のとおりである。   In step S501, the lens control unit 19 sets a control target position in the process being executed according to the elapsed time based on the control target position calculated in step S401. In step S <b> 502, the lens control unit 19 performs a current position calculation process, and calculates the current position of the movable unit 122 using the output signal of the GMR sensor 182. The current position calculation process is the process described with reference to FIG. That is, it is simply as follows.

ステップS201において、レンズ制御部19は、A相の出力a(t)とB相の出力b(t)とを取得する。ステップS202において、レンズ制御部19は、補正フラグがONであるか否かを判定する。この時点において補正フラグはOFFであるので、処理はステップS204に進む。レンズ制御部19は、ステップS204において、a(t)及びb(t)に基づいて位相角θを算出し、ステップS205において、位相角θに基づいて磁化ピッチ内の相対位置を算出し、ステップS206において、磁化ピッチ内の相対位置に対してオフセット量を加算して、光軸方向の可動部122の現在位置を算出する。その後、処理は図17を参照して説明しているフィードバック制御処理に戻る。   In step S201, the lens control unit 19 obtains an A-phase output a (t) and a B-phase output b (t). In step S202, the lens control unit 19 determines whether or not the correction flag is ON. Since the correction flag is OFF at this time, the process proceeds to step S204. In step S204, the lens control unit 19 calculates the phase angle θ based on a (t) and b (t). In step S205, the lens control unit 19 calculates the relative position within the magnetization pitch based on the phase angle θ. In S206, the offset amount is added to the relative position within the magnetization pitch to calculate the current position of the movable unit 122 in the optical axis direction. Thereafter, the process returns to the feedback control process described with reference to FIG.

フィードバック制御処理では、ステップS502で現在位置が算出された後、処理はステップS503に進む。ステップS503において、レンズ制御部19の演算部202は、ステップS501で設定した制御目標位置とステップS502で取得した現在位置との差から、制御位置偏差を算出する。ステップS504において、レンズ制御部19は、制御位置偏差に基づいて、可動部122の操作量を算出し、算出した操作量をフォーカスレンズドライバ15へと出力する。その結果、可動部122は移動する。   In the feedback control process, after the current position is calculated in step S502, the process proceeds to step S503. In step S503, the calculation unit 202 of the lens control unit 19 calculates a control position deviation from the difference between the control target position set in step S501 and the current position acquired in step S502. In step S <b> 504, the lens control unit 19 calculates an operation amount of the movable unit 122 based on the control position deviation, and outputs the calculated operation amount to the focus lens driver 15. As a result, the movable part 122 moves.

ステップS505において、レンズ制御部19は、調整中フラグがONであるか否かを判定する。調整中フラグがONでないとき、フィードバック制御処理は終了する。一方、調整中フラグがONであるとき、処理はステップS506に進む。ステップS506において、レンズ制御部19は、補正係数算出処理を行う。補正係数算出処理の後、フィードバック制御処理は終了する。   In step S505, the lens control unit 19 determines whether or not the in-adjustment flag is ON. When the adjustment in progress flag is not ON, the feedback control process ends. On the other hand, when the in-adjustment flag is ON, the process proceeds to step S506. In step S506, the lens control unit 19 performs a correction coefficient calculation process. After the correction coefficient calculation process, the feedback control process ends.

ここでは、調整中フラグはOFFであるので、ステップS506の補正係数算出処理は行われず、処理は図15を参照して説明している移動制御動作のステップS402に戻る。図15に戻って移動制御動作について説明を続ける。ステップS402のフィードバック制御処理の後、処理はステップS403に進む。   Here, since the adjustment-in-progress flag is OFF, the correction coefficient calculation process in step S506 is not performed, and the process returns to step S402 of the movement control operation described with reference to FIG. Returning to FIG. 15, the description of the movement control operation will be continued. After the feedback control process in step S402, the process proceeds to step S403.

ステップS403において、レンズ制御部19は、ステップS301で設定された移動目標位置に到達したか否かを判定する。移動目標位置に到達していないとき、処理はステップS401に戻る。すなわち、移動目標位置に到達するまで、フィードバック制御処理が繰り返され、可動部122は移動目標位置に向けて徐々に移動する。ステップS403において、移動目標位置に到達したと判定されたとき、移動制御動作は終了し、処理は図14を参照して説明している調整動作のステップS302に戻る。すなわち、可動部122がカメラ本体30側の端(図13に示した位置B)に到達したとき、移動制御動作は終了する。   In step S403, the lens control unit 19 determines whether or not the movement target position set in step S301 has been reached. When the movement target position has not been reached, the process returns to step S401. That is, the feedback control process is repeated until the movement target position is reached, and the movable unit 122 gradually moves toward the movement target position. When it is determined in step S403 that the movement target position has been reached, the movement control operation ends, and the process returns to step S302 of the adjustment operation described with reference to FIG. That is, when the movable part 122 reaches the end (position B shown in FIG. 13) on the camera body 30 side, the movement control operation ends.

図14に戻って調整動作について説明を続ける。ステップS302の移動制御動作の後、処理はステップS303に進む。ステップS303において、レンズ制御部19は、調整中フラグをONに設定する。また、レンズ制御部19は、磁化ピッチの番号を表す変数pを1に設定する。ステップS304において、レンズ制御部19は、カメラ本体30側と反対側の端(図13に示した位置C)を移動目標位置に設定する。   Returning to FIG. 14, the description of the adjustment operation will be continued. After the movement control operation in step S302, the process proceeds to step S303. In step S303, the lens control unit 19 sets the adjusting flag to ON. Further, the lens control unit 19 sets a variable p representing the magnetization pitch number to 1. In step S304, the lens control unit 19 sets an end (position C shown in FIG. 13) opposite to the camera body 30 side as a movement target position.

ステップS305において、レンズ制御部19は、移動制御動作を行う。移動制御動作は、図15を参照して説明した動作である。すなわち、簡単に説明すると以下のとおりである。ステップS401において、レンズ制御部19の目標位置指示部201は、現在の可動部122の位置と、移動目標位置(図13における位置C)とに基づいて、移動途中における処理周期毎の目標位置である制御目標位置を算出する。   In step S305, the lens control unit 19 performs a movement control operation. The movement control operation is the operation described with reference to FIG. That is, it will be briefly described as follows. In step S401, the target position instruction unit 201 of the lens control unit 19 is a target position for each processing cycle during movement based on the current position of the movable unit 122 and the movement target position (position C in FIG. 13). A certain control target position is calculated.

ステップS402において、レンズ制御部19は、フィードバック制御処理を行う。フィードバック制御処理は、図17を参照して説明した処理である。すなわち、簡単に説明すると以下のとおりである。ステップS501において、レンズ制御部19は、実行中の処理における制御目標位置を設定する。ステップS502において、レンズ制御部19は、現在位置算出処理を行い、GMRセンサ182の出力信号を用いて、可動部122の現在の位置を算出する。現在位置算出処理は、図12を参照して説明した処理である。   In step S402, the lens control unit 19 performs a feedback control process. The feedback control process is the process described with reference to FIG. That is, it will be briefly described as follows. In step S501, the lens control unit 19 sets a control target position in the process being executed. In step S <b> 502, the lens control unit 19 performs a current position calculation process, and calculates the current position of the movable unit 122 using the output signal of the GMR sensor 182. The current position calculation process is the process described with reference to FIG.

レンズ制御部19は、ステップS503において、制御目標位置と現在位置との差から、制御位置偏差を算出し、ステップS504において、制御位置偏差に基づいて操作量を算出し、当該操作量をフォーカスレンズドライバ15へと出力する。その結果、可動部122は移動する。ステップS505において、レンズ制御部19は、調整中フラグがONであるか否かを判定する。ここでは、調整中フラグがONとなっているので、処理はステップS506に進む。   In step S503, the lens control unit 19 calculates a control position deviation from the difference between the control target position and the current position. In step S504, the lens control unit 19 calculates an operation amount based on the control position deviation. Output to the driver 15. As a result, the movable part 122 moves. In step S505, the lens control unit 19 determines whether or not the in-adjustment flag is ON. Here, since the in-adjustment flag is ON, the process proceeds to step S506.

ステップS506において、レンズ制御部19は、補正係数算出処理を行う。すなわち、可動部122がカメラ本体30側の端(図13における位置B)から反対側の端(図13における位置C)まで移動する間に、補正係数算出処理は繰り返し実行される。補正係数算出処理は、補正係数k[p,s]を決定する処理である。補正係数算出処理について図18に示すフローチャートを参照して説明する。   In step S506, the lens control unit 19 performs a correction coefficient calculation process. That is, the correction coefficient calculation process is repeatedly executed while the movable unit 122 moves from the end on the camera body 30 side (position B in FIG. 13) to the opposite end (position C in FIG. 13). The correction coefficient calculation process is a process for determining the correction coefficient k [p, s]. The correction coefficient calculation process will be described with reference to the flowchart shown in FIG.

補正係数算出処理においては、GMRセンサ182のA相の出力a(t)及びB相の出力b(t)の絶対値が使用される。A相の出力a(t)の絶対値及びB相の出力b(t)の絶対値が等しくなるところを交点と呼ぶ。磁気スケール188の1磁化ピッチがGMRセンサ182の出力信号の1周期となるので、1磁化ピッチの中に交点は4個存在する。交点におけるGMRセンサ182の出力の絶対値に基づいて、補正係数k[p,s]は決定される。   In the correction coefficient calculation process, the absolute values of the A phase output a (t) and the B phase output b (t) of the GMR sensor 182 are used. A point where the absolute value of the A phase output a (t) and the absolute value of the B phase output b (t) are equal is called an intersection. Since one magnetization pitch of the magnetic scale 188 is one period of the output signal of the GMR sensor 182, there are four intersections in one magnetization pitch. The correction coefficient k [p, s] is determined based on the absolute value of the output of the GMR sensor 182 at the intersection.

ステップS601において、レンズ制御部19は、GMRセンサ182のA相の出力a(t)及びB相の出力b(t)を取得する。ステップS602において、レンズ制御部19は、a(t)の絶対値とb(t)の絶対値とが等しいか否かを判定する。a(t)の絶対値とb(t)の絶対値とが等しくないとき、処理はステップS610に進む。一方、a(t)の絶対値とb(t)の絶対値が等しいとき、処理はステップS603に進む。   In step S <b> 601, the lens control unit 19 acquires the A-phase output a (t) and the B-phase output b (t) of the GMR sensor 182. In step S602, the lens control unit 19 determines whether or not the absolute value of a (t) is equal to the absolute value of b (t). If the absolute value of a (t) is not equal to the absolute value of b (t), the process proceeds to step S610. On the other hand, when the absolute value of a (t) is equal to the absolute value of b (t), the process proceeds to step S603.

ステップS603において、レンズ制御部19は、a(t)が0以上かつb(t)が0以上であるか否かを判定する。a(t)が0以上かつb(t)が0以上であるとき、処理はステップS604に進む。ステップS604において、レンズ制御部19は、変数E(p,1)をa(t)の絶対値に設定する。すなわち、ステートsが1であり、a(t)の絶対値とb(t)の絶対値とが等しいときのa(t)の絶対値が変数E(p,1)に設定される。その後、処理はステップS610に進む。   In step S603, the lens control unit 19 determines whether a (t) is 0 or more and b (t) is 0 or more. When a (t) is 0 or more and b (t) is 0 or more, the process proceeds to step S604. In step S604, the lens control unit 19 sets the variable E (p, 1) to the absolute value of a (t). That is, the absolute value of a (t) when the state s is 1 and the absolute value of a (t) is equal to the absolute value of b (t) is set to the variable E (p, 1). Thereafter, the process proceeds to step S610.

ステップS603において、a(t)が0以上かつb(t)が0以上でないと判定されたとき、処理はステップS605に進む。ステップS605において、レンズ制御部19は、a(t)が0以上かつb(t)が0未満であるか否かを判定する。a(t)が0以上かつb(t)が0未満以上であるとき、処理はステップS606に進む。ステップS606において、レンズ制御部19は、変数E(p,2)をa(t)の絶対値に設定する。すなわち、ステートsが2であり、a(t)の絶対値とb(t)の絶対値とが等しいときのa(t)の絶対値が変数E(p,2)に設定される。その後、処理はステップS610に進む。   When it is determined in step S603 that a (t) is not less than 0 and b (t) is not not less than 0, the process proceeds to step S605. In step S605, the lens control unit 19 determines whether a (t) is 0 or more and b (t) is less than 0. When a (t) is 0 or more and b (t) is less than 0, the process proceeds to step S606. In step S606, the lens control unit 19 sets the variable E (p, 2) to the absolute value of a (t). That is, the absolute value of a (t) when the state s is 2 and the absolute value of a (t) is equal to the absolute value of b (t) is set in the variable E (p, 2). Thereafter, the process proceeds to step S610.

ステップS605において、a(t)が0以上かつb(t)が0未満でないと判定されたとき、処理はステップS607に進む。ステップS607において、レンズ制御部19は、a(t)が0未満かつb(t)が0未満であるか否かを判定する。a(t)が0未満かつb(t)が0未満であるとき、処理はステップS608に進む。ステップS608において、レンズ制御部19は、変数E(p,3)をa(t)の絶対値に設定する。すなわち、ステートsが3であり、a(t)の絶対値とb(t)の絶対値が等しいときのa(t)の絶対値が変数E(p,3)に設定される。その後、処理はステップS610に進む。   If it is determined in step S605 that a (t) is not less than 0 and b (t) is not less than 0, the process proceeds to step S607. In step S607, the lens control unit 19 determines whether a (t) is less than 0 and b (t) is less than 0. When a (t) is less than 0 and b (t) is less than 0, the process proceeds to step S608. In step S608, the lens control unit 19 sets the variable E (p, 3) to the absolute value of a (t). That is, the absolute value of a (t) when the state s is 3 and the absolute value of a (t) is equal to the absolute value of b (t) is set to the variable E (p, 3). Thereafter, the process proceeds to step S610.

ステップS607において、a(t)が0未満かつb(t)が0未満でないと判定されたとき、処理はステップS609に進む。ステップS609において、レンズ制御部19は、変数E(p,4)をa(t)の絶対値に設定する。すなわち、ステートsが4であり、a(t)の絶対値とb(t)の絶対値が等しいときのa(t)の絶対値が変数E(p,4)に設定される。その後、処理はステップS610に進む。   If it is determined in step S607 that a (t) is less than 0 and b (t) is not less than 0, the process proceeds to step S609. In step S609, the lens control unit 19 sets the variable E (p, 4) to the absolute value of a (t). That is, the absolute value of a (t) when the state s is 4 and the absolute value of a (t) is equal to the absolute value of b (t) is set in the variable E (p, 4). Thereafter, the process proceeds to step S610.

ステップS610において、レンズ制御部19は、磁化ピッチが変化したか否かを判定する。磁化ピッチが変化していないとき、処理はステップS612に進む。一方、磁化ピッチが変化しているとき、処理はステップS611に進む。ステップS611において、レンズ制御部19は、変数pに1を加算する。その後、処理はステップS612に進む。   In step S610, the lens control unit 19 determines whether the magnetization pitch has changed. When the magnetization pitch has not changed, the process proceeds to step S612. On the other hand, when the magnetization pitch is changing, the process proceeds to step S611. In step S611, the lens control unit 19 adds 1 to the variable p. Thereafter, processing proceeds to step S612.

ステップS612において、レンズ制御部19は、可動部122がカメラ本体30側と反対側の端(図13における位置C)に到達しているか否かを判定する。可動部122が端に到達していないとき、補正係数算出処理は終了する。一方、可動部122が端に達しているとき、処理はステップS613に進む。   In step S612, the lens control unit 19 determines whether or not the movable unit 122 has reached the end opposite to the camera body 30 (position C in FIG. 13). When the movable part 122 has not reached the end, the correction coefficient calculation process ends. On the other hand, when the movable part 122 has reached the end, the process proceeds to step S613.

ステップS613において、レンズ制御部19は、補正係数k[p,s]を算出する。以下に補正係数k[p,s]の算出方法について説明する。A相の出力a(t)とB相の出力b(t)とは、理想的には位相が90度ずれた正弦波同士であるので、A相の出力a(t)とB相の出力b(t)との交点における理想的なA相の出力a(t)及びB相の出力b(t)の値Lidは、a(t)又はb(t)の振幅Ampを用いて下記式(6)で表される。
Lid=Amp×sin45° (6)
In step S613, the lens control unit 19 calculates a correction coefficient k [p, s]. A method for calculating the correction coefficient k [p, s] will be described below. Since the A-phase output a (t) and the B-phase output b (t) are ideally sine waves whose phases are shifted by 90 degrees, the A-phase output a (t) and the B-phase output The value Lid of the ideal A-phase output a (t) and B-phase output b (t) at the intersection with b (t) is expressed by the following equation using the amplitude Amp of a (t) or b (t): It is represented by (6).
Lid = Amp × sin45 ° (6)

しかしながら、前述の通り、GMRセンサ182の出力信号は理想的な正弦波信号からずれており、実際の交点のレベルは理想の値よりも小さい。そこで、a(t)の絶対値(|a(t)|)とb(t)の絶対値(|b(t)|)の1周期中の4つの交点に対してそれぞれ下記式(7)に基づいて補正基準関数g[x](xはa(t)又はb(t))を用いて補正係数k[p,s]を求める。
k[p,s]=(Lid−Lint)/g[Lid] (7)
ここで、Lidは、理想の交点レベルであり、Lintは、p番目の磁化ピッチのステートsでのa(t)とb(t)の交点レベルであり、pはピッチ番号、sはa(t)とb(t)の符号の組み合わせで決まるステートである。すなわち、上記式(7)は、以下のとおりとなる。
k[p,1]=(Amp×sin(π/4)−E(p,1))
/g[(Amp×sin(π/4))]
k[p,2]=(Amp×sin(π/4)−E(p,2))
/g[(Amp×sin(π/4))]
k[p,3]=(Amp×sin(π/4)−E(p,3))
/g[(Amp×sin(π/4))]
k[p,4]=(Amp×sin(π/4)−E(p,4))
/g[(Amp×sin(π/4))]
However, as described above, the output signal of the GMR sensor 182 deviates from an ideal sine wave signal, and the actual level of the intersection is smaller than the ideal value. Therefore, for the four intersections in one cycle of the absolute value of a (t) (| a (t) |) and the absolute value of b (t) (| b (t) |), Based on the above, the correction coefficient k [p, s] is obtained using the correction reference function g [x] (x is a (t) or b (t)).
k [p, s] = (Lid−Lint) / g [Lid] (7)
Here, Lid is the ideal intersection level, Lint is the intersection level of a (t) and b (t) in the state s of the p-th magnetization pitch, p is the pitch number, and s is a ( It is a state determined by a combination of signs of t) and b (t). That is, the above formula (7) is as follows.
k [p, 1] = (Amp × sin (π / 4) −E (p, 1))
/ G [(Amp × sin (π / 4))]
k [p, 2] = (Amp × sin (π / 4) −E (p, 2))
/ G [(Amp × sin (π / 4))]
k [p, 3] = (Amp × sin (π / 4) −E (p, 3))
/ G [(Amp × sin (π / 4))]
k [p, 4] = (Amp × sin (π / 4) −E (p, 4))
/ G [(Amp × sin (π / 4))]

ここで、補正基準関数g[x]について説明する。本実施形態では、補正基準関数として、a(t)又はb(t)に応じた補正量を与える関数が予め決められている。補正基準関数g[x]は、例えば図8に示すように、変動するGMRセンサ182の出力の最大値、最小値、及びそれらの中点において、値が0となるような関数である。   Here, the correction reference function g [x] will be described. In the present embodiment, a function that gives a correction amount corresponding to a (t) or b (t) is determined in advance as the correction reference function. For example, as shown in FIG. 8, the correction reference function g [x] is a function such that the value becomes 0 at the maximum value and the minimum value of the output of the GMR sensor 182 that fluctuates and the midpoint thereof.

補正基準関数g[x]は、上述の式(1)で示した誤差信号Δdに含まれており下記式(8)で表される。
g[x]=sin(π×|Lv|/Amp)
=sin(π×|x|/Amp) (8)
ここで、Lvは、正規化後のGMRセンサの出力信号レベルを示し、Ampは、正規化後のGMRセンサの出力信号の振幅を示す。
The correction reference function g [x] is included in the error signal Δd shown in the above equation (1) and is expressed by the following equation (8).
g [x] = sin (π × | Lv | / Amp)
= Sin (π × | x | / Amp) (8)
Here, Lv indicates the output signal level of the GMR sensor after normalization, and Amp indicates the amplitude of the output signal of the GMR sensor after normalization.

ステップS614において、レンズ制御部19は、ステップS613で算出された補正係数k[p,s]を補正係数テーブルとして記憶部260に保存する。ステップS615において、レンズ制御部19は、補正フラグをONに設定する。その後、補正係数算出処理は終了し、処理は図17を参照して説明しているフィードバック制御処理のステップS506に戻る。   In step S614, the lens control unit 19 stores the correction coefficient k [p, s] calculated in step S613 in the storage unit 260 as a correction coefficient table. In step S615, the lens control unit 19 sets the correction flag to ON. Thereafter, the correction coefficient calculation process ends, and the process returns to step S506 of the feedback control process described with reference to FIG.

ステップS506の補正係数算出処理の後、フィードバック制御処理は終了し、処理は図15を参照して説明している移動制御動作のステップS402に戻る。ステップS402のフィードバック制御処理の後、処理はステップS403に進む。ステップS403において、レンズ制御部19は、目標位置に到達したか否かを判定する。移動目標位置に到達していないとき、フィードバック制御処理が繰り返され、移動目標位置に到達したとき、移動制御動作は終了して、処理は図14を参照して説明している調整動作のステップS305に戻る。すなわち、可動部122がカメラ本体30側と反対側の端(図13に示した位置C)に到達したとき、移動制御動作は終了する。このようにして、可動部122の可動範囲の全てについて、補正係数k[p,s]が決定される。   After the correction coefficient calculation process in step S506, the feedback control process ends, and the process returns to step S402 of the movement control operation described with reference to FIG. After the feedback control process in step S402, the process proceeds to step S403. In step S403, the lens control unit 19 determines whether or not the target position has been reached. When the movement target position has not been reached, the feedback control process is repeated. When the movement target position has been reached, the movement control operation ends, and the process is step S305 of the adjustment operation described with reference to FIG. Return to. That is, when the movable part 122 reaches the end opposite to the camera body 30 side (position C shown in FIG. 13), the movement control operation ends. In this way, the correction coefficient k [p, s] is determined for the entire movable range of the movable portion 122.

移動制御動作の後、処理はステップS306に進む。ステップS306において、レンズ制御部19は、調整中フラグをOFFに設定する。その後、調整動作は終了し、処理は図11を参照して説明しているステップS108に戻る。調整動作の後、処理はステップS109に進む。ステップS109において、レンズ制御部19は、制御終了動作を行い、フィードバック制御を終了する。その後、処理はステップS104に戻る。   After the movement control operation, the process proceeds to step S306. In step S306, the lens control unit 19 sets the adjusting flag to OFF. Thereafter, the adjustment operation ends, and the process returns to step S108 described with reference to FIG. After the adjustment operation, the process proceeds to step S109. In step S109, the lens control unit 19 performs a control end operation, and ends the feedback control. Thereafter, the process returns to step S104.

ステップS107の判定において、選択された動作が通常動作であったとき、処理はステップS110に進む。通常動作は、フォーカスレンズ12を含む可動部122を現在の位置から別の位置へと移動させる動作である。例えばカメラ本体30のAF処理部34の処理結果に基づいて、AF動作がされるとき、通常動作が選択されることになる。   If it is determined in step S107 that the selected operation is a normal operation, the process proceeds to step S110. The normal operation is an operation of moving the movable unit 122 including the focus lens 12 from the current position to another position. For example, when the AF operation is performed based on the processing result of the AF processing unit 34 of the camera body 30, the normal operation is selected.

ステップS110において、レンズ制御部19は、レンズ制御通信インターフェース205や操作入力インターフェース206を介して入力された情報に基づいて、可動部122を移動させるにあたっての目標の位置となる移動目標位置を設定する。ステップS111において、レンズ制御部19は、図15を参照して説明した移動制御動作を行う。すなわち、簡単に説明すると以下のとおりである。   In step S <b> 110, the lens control unit 19 sets a movement target position that is a target position for moving the movable unit 122 based on information input via the lens control communication interface 205 and the operation input interface 206. . In step S111, the lens control unit 19 performs the movement control operation described with reference to FIG. That is, it will be briefly described as follows.

ステップS401において、レンズ制御部19の目標位置指示部201は、現在の可動部122の位置と、ステップS110で設定された移動目標位置とに基づいて、移動途中における処理周期毎の目標位置である制御目標位置を算出する。例えば図19に示すように、初期位置Dに位置する可動部122を移動目標位置Eまで移動させる場合を考える。このとき設定される制御目標位置について、図20に模式的に示す。図20において、横軸は時間tであり、縦軸は可動部122の位置である。移動制御動作においては、可動部122を等速で移動させるように、制御目標位置Dn(n=1,2,3,…,N)が設定される。   In step S401, the target position instruction unit 201 of the lens control unit 19 is a target position for each processing cycle during movement based on the current position of the movable unit 122 and the movement target position set in step S110. A control target position is calculated. For example, as shown in FIG. 19, consider a case where the movable unit 122 located at the initial position D is moved to the movement target position E. The control target position set at this time is schematically shown in FIG. In FIG. 20, the horizontal axis is time t, and the vertical axis is the position of the movable portion 122. In the movement control operation, the control target position Dn (n = 1, 2, 3,..., N) is set so that the movable part 122 is moved at a constant speed.

ステップS402において、レンズ制御部19は、フィードバック制御処理を行う。フィードバック制御処理は、図17を参照して説明した処理である。すなわち、簡単に説明すると以下のとおりである。ステップS501において、レンズ制御部19は、実行中の処理における制御目標位置を設定する。ステップS502において、レンズ制御部19は、現在位置算出処理を行い、GMRセンサ182の出力信号を用いて、可動部122の現在の位置を算出する。現在位置算出処理は、図12を参照して説明した処理である。すなわち、以下のとおりである。   In step S402, the lens control unit 19 performs a feedback control process. The feedback control process is the process described with reference to FIG. That is, it will be briefly described as follows. In step S501, the lens control unit 19 sets a control target position in the process being executed. In step S <b> 502, the lens control unit 19 performs a current position calculation process, and calculates the current position of the movable unit 122 using the output signal of the GMR sensor 182. The current position calculation process is the process described with reference to FIG. That is, it is as follows.

ステップS201において、レンズ制御部19は、A相の出力a(t)とB相の出力b(t)とを取得する。ステップS202において、レンズ制御部19は、補正フラグがONであるか否かを判定する。この時点において補正フラグはONであるので、処理はステップS203に進む。   In step S201, the lens control unit 19 obtains an A-phase output a (t) and a B-phase output b (t). In step S202, the lens control unit 19 determines whether or not the correction flag is ON. Since the correction flag is ON at this time, the process proceeds to step S203.

ステップS203において、レンズ制御部19は、出力補正処理を行う。出力補正処理は、GMRセンサ182のA相の出力a(t)及びB相の出力b(t)を、補正基準関数g[x]と補正係数k[p,s]とに基づいて補正する処理である。補正後のA相の出力をa´(t)とし、補正後のB相の出力をb´(t)とする。出力補正処理について、図21に示すフローチャートを参照して説明する。   In step S203, the lens control unit 19 performs output correction processing. The output correction process corrects the A-phase output a (t) and the B-phase output b (t) of the GMR sensor 182 based on the correction reference function g [x] and the correction coefficient k [p, s]. It is processing. The corrected phase A output is a ′ (t), and the corrected phase B output is b ′ (t). The output correction process will be described with reference to the flowchart shown in FIG.

ステップS701において、レンズ制御部19は、a(t)が0以上であるか否かを判定する。a(t)が0以上であるとき、処理はステップS702に進む。   In step S701, the lens control unit 19 determines whether a (t) is 0 or more. When a (t) is 0 or more, the process proceeds to step S702.

ステップS702において、レンズ制御部19は、b(t)が0以上であるか否かを判定する。b(t)が0以上であるとき、処理はステップS703に進む。すなわち、ステップS703の処理が行われるのは、ステートsが1のときである。ステップS703において、レンズ制御部19は、a(t)及びb(t)を下記の補正式(9)と(10)で補正する。
a´(t)=a(t)+k[p,s]×g[a(t)] (9)
b´(t)=b(t)+k[p,s]×g[b(t)] (10)
In step S702, the lens control unit 19 determines whether b (t) is 0 or more. When b (t) is 0 or more, the process proceeds to step S703. That is, the process of step S703 is performed when the state s is 1. In step S703, the lens control unit 19 corrects a (t) and b (t) using the following correction equations (9) and (10).
a ′ (t) = a (t) + k [p, s] × g [a (t)] (9)
b ′ (t) = b (t) + k [p, s] × g [b (t)] (10)

その後、出力補正処理は終了し、処理は図12を参照して説明している現在位置算出処理のステップS203に戻る。   Thereafter, the output correction process ends, and the process returns to step S203 of the current position calculation process described with reference to FIG.

ステップS702の判定において、b(t)が0以上でないと判定されたとき、処理はステップS704に進む。すなわち、ステップS704の処理が行われるのは、ステートsが2のときである。ステップS704において、レンズ制御部19は、a(t)及びb(t)を下記の補正式(11)と(12)で補正する。
a´(t)=a(t)+k[p,s]×g[a(t)] (11)
b´(t)=b(t)−k[p,s]×g[b(t)] (12)
When it is determined in step S702 that b (t) is not 0 or more, the process proceeds to step S704. That is, the process of step S704 is performed when the state s is 2. In step S704, the lens control unit 19 corrects a (t) and b (t) using the following correction equations (11) and (12).
a ′ (t) = a (t) + k [p, s] × g [a (t)] (11)
b ′ (t) = b (t) −k [p, s] × g [b (t)] (12)

その後、出力補正処理は終了し、処理は図12を参照して説明している現在位置算出処理のステップS203に戻る。   Thereafter, the output correction process ends, and the process returns to step S203 of the current position calculation process described with reference to FIG.

ステップS701の判定において、a(t)が0以上でないと判定されたとき、処理はステップS705に進む。ステップS705において、レンズ制御部19は、b(t)が0以上であるか否かを判定する。b(t)が0以上であるとき、処理はステップS706に進む。すなわち、ステップS706の処理が行われるのは、ステートsが4のときである。ステップS706において、レンズ制御部19は、a(t)及びb(t)を下記の補正式(13)と(14)で補正する。
a´(t)=a(t)−k[p,s]×g[a(t)] (13)
b´(t)=b(t)+k[p,s]×g[b(t)] (14)
When it is determined in step S701 that a (t) is not 0 or more, the process proceeds to step S705. In step S705, the lens control unit 19 determines whether b (t) is 0 or more. When b (t) is 0 or more, the process proceeds to step S706. That is, the process of step S706 is performed when the state s is 4. In step S706, the lens control unit 19 corrects a (t) and b (t) using the following correction equations (13) and (14).
a ′ (t) = a (t) −k [p, s] × g [a (t)] (13)
b ′ (t) = b (t) + k [p, s] × g [b (t)] (14)

その後、出力補正処理は終了し、処理は図12を参照して説明している現在位置算出処理のステップS203に戻る。   Thereafter, the output correction process ends, and the process returns to step S203 of the current position calculation process described with reference to FIG.

ステップS705の判定において、b(t)が0以上でないと判定されたとき、処理はステップS707に進む。すなわち、ステップS707の処理が行われるのは、ステートsが3のときである。ステップS707において、レンズ制御部19は、a(t)及びb(t)を下記の補正式(15)と(16)で補正する。
a´(t)=a(t)−k[p,s]×g[a(t)] (15)
b´(t)=b(t)−k[p,s]×g[b(t)] (16)
When it is determined in step S705 that b (t) is not 0 or more, the process proceeds to step S707. That is, the process of step S707 is performed when the state s is 3. In step S707, the lens control unit 19 corrects a (t) and b (t) using the following correction equations (15) and (16).
a ′ (t) = a (t) −k [p, s] × g [a (t)] (15)
b ′ (t) = b (t) −k [p, s] × g [b (t)] (16)

その後、出力補正処理は終了し、処理は図12を参照して説明している現在位置算出処理のステップS203に戻る。   Thereafter, the output correction process ends, and the process returns to step S203 of the current position calculation process described with reference to FIG.

以上のような出力補正処理によって、補正後位置情報信号である補正後のA相の出力a´(t)と補正後のB相の出力b´(t)とが得られる。出力補正処理について図22に模式的に図示する。   By the output correction process as described above, a corrected A-phase output a ′ (t) and a corrected B-phase output b ′ (t), which are corrected position information signals, are obtained. The output correction process is schematically shown in FIG.

図22の(a)は、磁化ピッチpとステートsの番号を示す。図22の(b)は、GMRセンサ182の出力を示す。ここで、実線は、第1のGMRセンサ184から出力されるA相の出力波形の理想的な場合を示しており、正弦波形状を示している。破線は、第2のGMRセンサ185から出力されるB相の出力波形の理想的な場合を示しており、余弦波形状を示している。一点鎖線は、第1のGMRセンサ184から出力されるA相の出力a(t)を示す。二点鎖線は、第2のGMRセンサ185から出力されるB相の出力b(t)を示す。   FIG. 22A shows the numbers of the magnetization pitch p and the state s. FIG. 22B shows the output of the GMR sensor 182. Here, the solid line shows an ideal case of the output waveform of the A phase output from the first GMR sensor 184, and shows a sine wave shape. A broken line indicates an ideal case of the output waveform of the B phase output from the second GMR sensor 185, and indicates a cosine wave shape. The alternate long and short dash line indicates the A phase output a (t) output from the first GMR sensor 184. A two-dot chain line indicates a B-phase output b (t) output from the second GMR sensor 185.

図22の(c)は、補正基準関数g[x]に補正係数k[p,s]を乗じた値の絶対値を模式的に示す。図22の(d)は、A相の出力a(t)に対して|k[p,s]×g[a(t)]|を加算するか減算するかを示す。図22の(d)に示すように、|k[p,s]×g[a(t)]|を加算するか減算するかは、ステートによって決定されている。   (C) of FIG. 22 schematically shows an absolute value of a value obtained by multiplying the correction reference function g [x] by the correction coefficient k [p, s]. FIG. 22D shows whether | k [p, s] × g [a (t)] | is added to or subtracted from the output a (t) of the A phase. As shown in (d) of FIG. 22, whether to add or subtract | k [p, s] × g [a (t)] | is determined by the state.

図22の(e)は、補正前後のGMRセンサ182の出力を示す。ここで、実線は、補正後のA相の出力a´(t)を示し、破線は、補正後のB相の出力b´(t)を示し、一点鎖線は、補正前の第1のGMRセンサ184から出力されるA相の出力波形a(t)を示し、二点鎖線は、第2のGMRセンサ185から出力されるB相の出力波形b(t)を示す。   FIG. 22E shows the output of the GMR sensor 182 before and after correction. Here, the solid line indicates the corrected A-phase output a ′ (t), the broken line indicates the corrected B-phase output b ′ (t), and the alternate long and short dash line indicates the first GMR before correction. The A-phase output waveform a (t) output from the sensor 184 is shown, and the two-dot chain line shows the B-phase output waveform b (t) output from the second GMR sensor 185.

図22の(b)と(e)とから明らかなように、補正後のGMRセンサ182の出力は、理想的なGMRセンサ182の出力に近くなっている。   As is apparent from FIGS. 22B and 22E, the corrected output of the GMR sensor 182 is close to the ideal output of the GMR sensor 182.

図12に戻って現在位置算出処理について説明を続ける。ステップS203の出力補正処理の後、処理はステップS204に進む。ステップS204において、レンズ制御部19は、ステップS203の出力補正処理で補正されたGMRセンサ182の出力であるa´(t)とb´(t)とに基づいて、下記式(17)により、位相角θを算出する。
θ=arctan(a´(t)/b´(t)) (17)
Returning to FIG. 12, the description of the current position calculation process will be continued. After the output correction process in step S203, the process proceeds to step S204. In step S204, the lens control unit 19 uses the following equation (17) based on a ′ (t) and b ′ (t), which are outputs of the GMR sensor 182 corrected by the output correction process in step S203. The phase angle θ is calculated.
θ = arctan (a ′ (t) / b ′ (t)) (17)

ステップS205において、レンズ制御部19は、位相角θに対して所定のピッチ内相対位置換算係数を乗算し、磁化ピッチ内の相対位置を算出する。ステップS206において、レンズ制御部19は、ステップS205で得られた磁化ピッチ内の相対位置に対し、オフセット量を加算して、光軸方向の可動部122の現在位置を算出する。その後、処理は、図17を参照して説明しているフィードバック制御処理のステップS502に戻る。   In step S205, the lens control unit 19 multiplies the phase angle θ by a predetermined relative position conversion factor within the pitch, and calculates the relative position within the magnetization pitch. In step S206, the lens control unit 19 adds the offset amount to the relative position in the magnetization pitch obtained in step S205, and calculates the current position of the movable unit 122 in the optical axis direction. Thereafter, the process returns to step S502 of the feedback control process described with reference to FIG.

ステップS502の現在位置算出処理の後、処理はステップS503に進む。レンズ制御部19は、ステップS503において、制御目標位置と現在位置との差から、制御位置偏差を算出し、ステップS504において、制御位置偏差に基づいて操作量を算出し、当該操作量をフォーカスレンズドライバ15へと出力する。その結果、可動部122は移動する。   After the current position calculation process in step S502, the process proceeds to step S503. In step S503, the lens control unit 19 calculates a control position deviation from the difference between the control target position and the current position. In step S504, the lens control unit 19 calculates an operation amount based on the control position deviation. Output to the driver 15. As a result, the movable part 122 moves.

ステップS505において、レンズ制御部19は、調整中フラグがONであるか否かを判定する。ここでは、調整中フラグがOFFとなっているので、フィードバック制御処理は終了し、処理は図15を参照して説明している移動制御動作のステップS402に戻る。   In step S505, the lens control unit 19 determines whether or not the in-adjustment flag is ON. Here, since the in-adjustment flag is OFF, the feedback control process ends, and the process returns to step S402 of the movement control operation described with reference to FIG.

図15に戻って移動制御動作について説明を続ける。ステップS402のフィードバック制御処理の後、処理はステップS403に進む。ステップS403において、レンズ制御部19は、図11を参照して説明している装置動作のステップS110で設定された移動目標位置に到達したか否かを判定する。移動目標位置に到達していないとき、処理はステップS401に戻る。すなわち、移動目標位置に到達するまで、フィードバック制御処理が繰り返される。ステップS403において、移動目標位置に到達したと判定されたとき、移動制御動作は終了し、処理は図11を参照して説明している装置動作のステップS111に戻る。   Returning to FIG. 15, the description of the movement control operation will be continued. After the feedback control process in step S402, the process proceeds to step S403. In step S403, the lens control unit 19 determines whether or not the movement target position set in step S110 of the apparatus operation described with reference to FIG. 11 has been reached. When the movement target position has not been reached, the process returns to step S401. That is, the feedback control process is repeated until the movement target position is reached. When it is determined in step S403 that the movement target position has been reached, the movement control operation ends, and the process returns to step S111 of the apparatus operation described with reference to FIG.

図11に戻り、位置制御動作について説明を続ける。ステップS111の移動制御動作の後、処理はステップS109に進む。ステップS109において、レンズ制御部19は、制御終了動作を行い、フィードバック制御を終了する。その後、処理はステップS104に戻る。   Returning to FIG. 11, the description of the position control operation will be continued. After the movement control operation in step S111, the process proceeds to step S109. In step S109, the lens control unit 19 performs a control end operation, and ends the feedback control. Thereafter, the process returns to step S104.

ステップS107の判定において、選択された動作が制御終了動作であるとき、処理はステップS112に進む。ステップS112において、レンズ制御部19は、制御終了動作を行い、フィードバック制御を終了する。その後、処理はステップS113に進む。ステップS113において、レンズ制御部19は、フィードバック制御状態フラグをOFFに設定する。その後、移動制御動作は終了する。   If it is determined in step S107 that the selected operation is a control end operation, the process proceeds to step S112. In step S112, the lens control unit 19 performs a control end operation, and ends the feedback control. Thereafter, the process proceeds to step S113. In step S113, the lens control unit 19 sets the feedback control state flag to OFF. Thereafter, the movement control operation ends.

補正前後のGMRセンサ182の出力に基づいて作成したリサージュ波形を図23に示す。ここで、実線は、補正後のGMRセンサ182のA相の出力とB相の出力とを用いて作成したリサージュ波形であり、破線は、補正後のGMRセンサ182のA相の出力とB相の出力とを用いて作成したリサージュ波形である。補正後のリサージュ波形は、補正前のリサージュ波形よりも真円に近い形状となっていることが明らかである。   FIG. 23 shows a Lissajous waveform created based on the output of the GMR sensor 182 before and after correction. Here, the solid line is a Lissajous waveform created using the A-phase output and the B-phase output of the GMR sensor 182 after correction, and the broken line is the A-phase output and B-phase of the GMR sensor 182 after correction. It is a Lissajous waveform created using the output. It is clear that the Lissajous waveform after correction has a shape closer to a perfect circle than the Lissajous waveform before correction.

また、補正前後のGMRセンサ182の出力を用いてフォーカスレンズ12を一定速度で駆動させたときに発生する駆動音の周波数特性を図24に示す。図24において、実線は、補正後のGMRセンサ182の出力を用いて、フォーカスレンズ12を一定速度で駆動させたときに発生する駆動音をFFT解析した結果を示し、破線は、補正前のGMRセンサ182の出力を用いて、フォーカスレンズ12を一定速度で駆動させたときに発生する駆動音をFFT解析した結果を示す。図24から明らかなように、ピークを示す約800Hzについて、補正前よりも補正後の方が発生する駆動音が低下していることが分かる。   Further, FIG. 24 shows frequency characteristics of driving sound generated when the focus lens 12 is driven at a constant speed using the output of the GMR sensor 182 before and after correction. In FIG. 24, the solid line shows the result of FFT analysis of the driving sound generated when the focus lens 12 is driven at a constant speed using the output of the GMR sensor 182 after correction, and the broken line shows the GMR before correction. The result of FFT analysis of the driving sound generated when the focus lens 12 is driven at a constant speed using the output of the sensor 182 is shown. As is apparent from FIG. 24, it can be seen that the drive sound generated after the correction is lower than that before the correction at about 800 Hz indicating the peak.

上述のような補正が行われない場合は、可動部122を一定速度で駆動しようとしたときに、GMRセンサ182の出力に存在する周期的な誤差に由来して、可動部122の速度が周期的に変化し、比較的大きな駆動音が発生し得る。これに対して、本実施形態によれば、GMRセンサ182の出力が補正によって理想的な場合に近づくため、可動部122の速度は一定速度に近づき、発生し得る駆動音は低減される。   When the correction as described above is not performed, when the movable unit 122 is driven at a constant speed, the speed of the movable unit 122 is set to a period due to a periodic error existing in the output of the GMR sensor 182. And a relatively loud driving sound can be generated. On the other hand, according to the present embodiment, since the output of the GMR sensor 182 approaches an ideal case by correction, the speed of the movable part 122 approaches a constant speed, and the drive sound that can be generated is reduced.

また、可動部の駆動速度がより、指定した駆動速度に近い値を保つので、オートフォーカス精度の向上にもなる。さらに、余分な操作量の変化を減らすことにより、消費電力は低減する。   In addition, since the driving speed of the movable part is maintained at a value closer to the designated driving speed, the autofocus accuracy is also improved. Furthermore, the power consumption is reduced by reducing the change in the amount of extra operation.

本実施形態では、各ステートs内で共通の補正係数k[p,s]が用いられ、予め定められた補正基準関数g[x]を用いて上記式(9)乃至(16)に基づいて補正後位置情報信号が算出される。このように、本実施形態に係る補正では演算量が小さいので、本実施形態によれば、簡便かつ少ないデータ処理量で適切な補正が行われ得る。   In the present embodiment, a common correction coefficient k [p, s] is used in each state s, and based on the above formulas (9) to (16) using a predetermined correction reference function g [x]. A corrected position information signal is calculated. As described above, since the amount of calculation is small in the correction according to the present embodiment, according to the present embodiment, appropriate correction can be performed simply and with a small amount of data processing.

なお、上述の実施形態では、補正係数k[p,s]を起動時に決定する構成として説明した。しかしながら、これに限らない。当該レンズ鏡筒10の出荷前の検査において、補正係数k[p,s]を求め、この値を不揮発性メモリ21に保存しておき、起動時には補正係数k[p,s]を求めないこととしてもよい。このようにすれば、レンズ制御部19における処理量は、本実施形態の場合と比較して低減する。   In the above-described embodiment, the correction coefficient k [p, s] is described as a configuration that is determined at the time of activation. However, the present invention is not limited to this. In the inspection of the lens barrel 10 before shipment, the correction coefficient k [p, s] is obtained and stored in the nonvolatile memory 21, and the correction coefficient k [p, s] is not obtained at startup. It is good. In this way, the processing amount in the lens control unit 19 is reduced compared to the case of the present embodiment.

また、磁気スケール188の経年劣化等を考慮して、実使用時にGMRセンサ182の出力のピークレベルと交点レベルとを保存して、常に補正係数を更新するような構成が用いられてもよい。このようにすれば、本実施形態の場合よりも位置算出の制度が向上する。   In consideration of the aging of the magnetic scale 188 and the like, a configuration may be used in which the peak level and intersection level of the output of the GMR sensor 182 are stored during actual use, and the correction coefficient is constantly updated. In this way, the position calculation system is improved as compared with the case of the present embodiment.

また、本実施形態では、補正係数k[p,s]を求めるためにA相の出力とB相の出力と絶対値が等しくなる点が用いられているが、絶対値ではなく、A相の出力とB相の出力との値が等しくなる点が用いられてもよい。この場合、a(t)とb(t)との符号によって、補正係数k[p,s]が異なるように補正係数k[p,s]は決定される。   Further, in the present embodiment, the point where the absolute value is equal to the output of the A phase and the output of the B phase is used in order to obtain the correction coefficient k [p, s]. A point where the values of the output and the B-phase output are equal may be used. In this case, the correction coefficient k [p, s] is determined so that the correction coefficient k [p, s] differs depending on the signs of a (t) and b (t).

また、本実施形態では、磁化ピッチp毎及びステートs毎に補正係数k[p,s]が求められているが、ステートs毎には補正係数k[p,s]を求めるが全ての磁化ピッチpに対して共通の補正係数k[p,s]が用いられてもよい。このようにすれば、本実施形態に係る処理量が減少する。   In this embodiment, the correction coefficient k [p, s] is obtained for each magnetization pitch p and for each state s. However, although the correction coefficient k [p, s] is obtained for each state s, all the magnetizations are obtained. A correction coefficient k [p, s] common to the pitch p may be used. In this way, the processing amount according to the present embodiment is reduced.

また、上述の説明では、GMRセンサ182に係るリサージュ波形が円に対して内側にへこんでいるように歪んでいる場合を例に挙げて説明を行った。しかしながらこれに限らず、リサージュ波形の45°+90°×N(N=0,1,2,3)が外側に膨らんでいるように歪んでいる場合についても、同様の補正が適用され得る。   In the above description, the case where the Lissajous waveform related to the GMR sensor 182 is distorted so as to be recessed inward with respect to the circle has been described as an example. However, the present invention is not limited to this, and the same correction can be applied to a case where 45 ° + 90 ° × N (N = 0, 1, 2, 3) of the Lissajous waveform is distorted so as to bulge outward.

本実施形態では、補正基準関数g[x]は、変動するGMRセンサ182の出力の最大値、最小値、及びそれらの中点においてg[x]の値が0となるような関数としたが、これに限るものではない。   In the present embodiment, the correction reference function g [x] is a function such that the value of g [x] becomes 0 at the maximum value and minimum value of the output of the fluctuating GMR sensor 182 and the middle point thereof. However, it is not limited to this.

本実施形態では、補正基準関数g[x]の一例として式(8)を示したが、それに限るものではない。また、補正係数k[p,s]の一例として式(7)を示したが、それに限るものではない。補正係数k[p,s]は、理想的な場合の交点と、a(t)及びb(t)の交点とが用いられていれば、他の関係が用いられてもよい。   In the present embodiment, Expression (8) is shown as an example of the correction reference function g [x], but is not limited thereto. Moreover, although the formula (7) is shown as an example of the correction coefficient k [p, s], it is not limited to this. The correction coefficient k [p, s] may use another relationship as long as an ideal intersection and an intersection of a (t) and b (t) are used.

本実施形態では、補正値関数の一例として式(2)を示したが、それに限るものではない。例えば、下記式(18)や(19)のように、補正係数k[p,s]、補正基準関数g[x]の積に、予め定めたオフセット値の定数となるCを加えたもの、もしくは、オフセット値が磁化ピッチpとステートsにより個々に決まる値C[p,s]を加えたものを補正値関数と定めてもよい。これらオフセット値は、例えば、センサ出力が、センサの温度条件等によりオフセットが変化する場合等にも対応できる。
f[x]=k[p,s]×g[x]+ C (18)
f[x]=k[p,s]×g[x]+ C[p,s] (19)
In the present embodiment, Expression (2) is shown as an example of the correction value function, but the present invention is not limited to this. For example, as in the following formulas (18) and (19), a product of a correction coefficient k [p, s] and a correction reference function g [x] plus C that is a predetermined offset value constant, Alternatively, the correction value function may be determined by adding an offset value to a value C [p, s] that is individually determined by the magnetization pitch p and the state s. These offset values can also be used when, for example, the sensor output changes in offset depending on the temperature condition of the sensor.
f [x] = k [p, s] × g [x] + C (18)
f [x] = k [p, s] × g [x] + C [p, s] (19)

また、本実施形態では、位置センサとして、磁気エンコーダが用いられているが、エンコーダの種類はこれに限らない。例えば、駆動装置に光学式のエンコーダや静電容量型のエンコーダが用いられてもよい。また、本実施形態では、磁気スケール188に直線状のスケールが用いられているが、これに限らない。例えば回転を検出する位置センサ18として円環形状の磁気スケールが用いられてもよい。   In this embodiment, a magnetic encoder is used as the position sensor, but the type of encoder is not limited to this. For example, an optical encoder or a capacitive encoder may be used for the driving device. In this embodiment, a linear scale is used as the magnetic scale 188, but the present invention is not limited to this. For example, an annular magnetic scale may be used as the position sensor 18 that detects rotation.

本実施形態では、2相のエンコーダを例に挙げて説明したがこれに限らない。例えば3相やそれ以上のエンコーダに対しても、本実施形態に係る技術は同様に適用され得る。   In this embodiment, a two-phase encoder has been described as an example, but the present invention is not limited to this. For example, the technology according to the present embodiment can be similarly applied to encoders of three phases or more.

また、本実施形態では、位置算出部はフォーカスレンズの位置を算出するものとして動作の説明を行ったが、これに限らない。例えばズームレンズの移動に関しても本実施形態の技術は適用され得る。また、レンズ以外の物体を移動する場合における位置検出においても、本実施形態の技術は適用され得る。   In the present embodiment, the operation has been described assuming that the position calculation unit calculates the position of the focus lens. However, the present invention is not limited to this. For example, the technique of the present embodiment can be applied to the movement of the zoom lens. The technique of the present embodiment can also be applied to position detection when moving an object other than a lens.

1…カメラシステム、10…レンズ鏡筒、11…固定部材、12…フォーカスレンズ、13…ズームレンズ、14…絞り、15…フォーカスレンズドライバ、16…ズームレンズドライバ、17…絞りドライバ、18…位置センサ、19…レンズ制御部、20…レンズ操作部、21…不揮発性メモリ、22…レンズ側インターフェース、30…カメラ本体、31…撮像素子、32…撮像回路、33…AE処理部、34…AF処理部、35…画像演算部、36…画像処理回路、37…LCDドライバ、38…液晶ディスプレイ、39…入力部、40…制御部、41…電源部、42…不揮発性メモリ、43…内蔵メモリ、44…圧縮伸張部、45…着脱メモリ、46…ボディ側インターフェース、47…バスライン、122…可動部、123…駆動部、124…可動コイル、126…固定子、182…GMRセンサ、184…第1のGMRセンサ、185…第2のGMRセンサ、188…磁気スケール、189…増幅回路、201…目標位置指示部、202…演算部、203…操作量算出部、204…位置算出部、205…レンズ制御通信インターフェース、206…操作入力インターフェース、207…メモリインターフェース、210…フォーカスレンズ制御部、242…A/D変換部、243…補正係数決定部、244…第1の正規化補正部、246…第2の正規化補正部、251…補正部、252…第1の誤差補正部、254…第2の誤差補正部、256…位相角算出部、258…算出位置出力部、260…記録部、262…補正係数テーブル、264…位相角演算テーブル、266…磁化ピッチカウントオフセット加算量。   DESCRIPTION OF SYMBOLS 1 ... Camera system, 10 ... Lens barrel, 11 ... Fixed member, 12 ... Focus lens, 13 ... Zoom lens, 14 ... Aperture, 15 ... Focus lens driver, 16 ... Zoom lens driver, 17 ... Aperture driver, 18 ... Position Sensor, 19 ... Lens control unit, 20 ... Lens operation unit, 21 ... Non-volatile memory, 22 ... Lens side interface, 30 ... Camera body, 31 ... Image sensor, 32 ... Imaging circuit, 33 ... AE processing unit, 34 ... AF Processing unit 35 ... Image calculation unit 36 ... Image processing circuit 37 ... LCD driver 38 38 Liquid crystal display 39 39 Input unit 40 Control unit 41 Power source 42 Non-volatile memory 43 Internal memory 44 ... Compression / expansion unit, 45 ... Removable memory, 46 ... Body-side interface, 47 ... Bus line, 122 ... Moving part, 123 ... Drive ,... 124, movable coil, 126, stator, 182, GMR sensor, 184, first GMR sensor, 185, second GMR sensor, 188, magnetic scale, 189, amplification circuit, 201, target position indicating unit, 202 ... Calculation unit 203 ... Operation amount calculation unit 204 ... Position calculation unit 205 ... Lens control communication interface 206 ... Operation input interface 207 ... Memory interface 210 ... Focus lens control unit 242 ... A / D conversion unit 243 ... Correction coefficient determination unit, 244 ... First normalization correction unit, 246 ... Second normalization correction unit, 251 ... Correction unit, 252 ... First error correction unit, 254 ... Second error correction unit 256: Phase angle calculation unit, 258 ... Calculation position output unit, 260 ... Recording unit, 262 ... Correction coefficient table, 264 ... Phase angle calculation table, 66 ... magnetization pitch count offset addition amount.

Claims (9)

スケール部と前記スケール部に対向して配置される検出部とを有し、前記スケール部と前記検出部との間の相対的な移動量に応じて、第1の位置情報信号と前記第1の位置情報信号と位相が90°ずれている第2の位置情報信号とからなる2相の周期的な位置情報信号を発生する位置取得部と、
各々の計測された前記位置情報信号の振幅を所定の振幅に正規化した正規化位置情報信号の絶対値が互いに等しくなるときの前記正規化位置情報信号の値と、各々の理想の前記正規化位置情報信号の絶対値が互いに等しくなるときの前記正規化位置情報信号の値との差に基づいて、補正係数を決定する補正係数決定部と、
前記位置情報信号の信号周期と等しい信号周期を有する予め用意された補正基準関数に前記補正係数を乗じて得られる補正値関数に基づいて補正値を算出する補正値決定部と、
前記補正値を各々の前記位置情報信号に対して加算又は減算することで前記位置情報信号を補正した補正後位置情報信号を算出する補正部と
を備える位置検出装置。
A scale unit and a detection unit disposed opposite to the scale unit, and the first position information signal and the first unit according to a relative movement amount between the scale unit and the detection unit . A position acquisition unit that generates a two-phase periodic position information signal consisting of the position information signal of the second position information signal and a second position information signal whose phase is shifted by 90 ° ;
The value of the normalized position information signal when the absolute values of the normalized position information signals obtained by normalizing the amplitudes of the measured position information signals to a predetermined amplitude are equal to each other , and the ideal normalization of each A correction coefficient determination unit that determines a correction coefficient based on a difference from the value of the normalized position information signal when the absolute values of the position information signal are equal to each other;
A correction value determination unit that calculates a correction value based on a correction value function obtained by multiplying a correction reference function prepared in advance having a signal period equal to the signal period of the position information signal by the correction coefficient ;
A position detection apparatus comprising: a correction unit that calculates a corrected position information signal obtained by correcting the position information signal by adding or subtracting the correction value to or from each of the position information signals.
スケール部と前記スケール部に対向して配置される検出部とを有し、前記スケール部と前記検出部との間の相対的な移動量に応じて、第1の位置情報信号と前記第1の位置情報信号と位相が90°ずれている第2の位置情報信号とからなる2相の周期的な位置情報信号を発生する位置取得部と、
各々の計測された前記位置情報信号の振幅を所定の振幅に正規化した正規化位置情報信号の絶対値が互いに等しくなるときの前記正規化位置情報信号の値と、各々の理想の前記正規化位置情報信号の絶対値が互いに等しくなるときの前記正規化位置情報信号の値との差に基づいて、補正係数及びオフセット補正係数を決定する補正係数決定部と、
前記位置情報信号の信号周期と等しい信号周期を有する予め用意された補正基準関数に前記補正係数を乗じて得られる値に前記オフセット補正係数を加えて得られる補正値関数に基づいて補正値を算出する補正値決定部と、
前記補正値を各々の前記位置情報信号に対して加算又は減算することで前記位置情報信号を補正した補正後位置情報信号を算出する補正部と
を備える位置検出装置。
A scale unit and a detection unit disposed opposite to the scale unit, and the first position information signal and the first unit according to a relative movement amount between the scale unit and the detection unit . A position acquisition unit that generates a two-phase periodic position information signal consisting of the position information signal of the second position information signal and a second position information signal whose phase is shifted by 90 ° ;
The value of the normalized position information signal when the absolute values of the normalized position information signals obtained by normalizing the amplitudes of the measured position information signals to a predetermined amplitude are equal to each other , and the ideal normalization of each A correction coefficient determination unit that determines a correction coefficient and an offset correction coefficient based on a difference from the value of the normalized position information signal when the absolute values of the position information signal are equal to each other;
A correction value is calculated based on a correction value function obtained by adding the offset correction coefficient to a value obtained by multiplying a correction reference function having a signal period equal to the signal period of the position information signal by the correction coefficient. A correction value determination unit to perform,
A position detection apparatus comprising: a correction unit that calculates a corrected position information signal obtained by correcting the position information signal by adding or subtracting the correction value to or from each of the position information signals.
前記補正係数決定部は、前記信号周期の1/4周期毎に前記補正係数を決定し、
前記補正部は、前記信号周期の1/4周期の内では共通の前記補正係数を用いて前記補正後位置情報信号を算出する、
請求項1又は2に記載の位置検出装置。
The correction coefficient determination unit determines the correction coefficient every quarter period of the signal period,
The correction unit calculates the post-correction position information signal using the correction coefficient that is common within a quarter of the signal period.
The position detection device according to claim 1 or 2 .
前記補正係数決定部は、所定の位相における前記補正係数を決定し、
前記補正部は、前記所定の位相に応じた共通の前記補正係数を前記信号周期毎に繰り返し使用して前記補正後位置情報信号を算出する、
請求項乃至のうち何れか1項に記載の位置検出装置。
The correction coefficient determining unit determines the correction coefficient in a predetermined phase;
The correction unit calculates the corrected position information signal by repeatedly using the common correction coefficient corresponding to the predetermined phase for each signal period.
The position detection device according to any one of claims 1 to 3 .
不揮発性メモリをさらに備え、
前記補正係数決定部は、前記補正係数を前記不揮発性メモリに記録させ、
前記補正部は、前記不揮発性メモリに記録された前記補正係数を読み込み、読み込んだ前記補正係数を用いて前記補正後位置情報信号を算出する、
請求項乃至のうち何れか1項に記載の位置検出装置。
A non-volatile memory;
The correction coefficient determination unit records the correction coefficient in the nonvolatile memory,
The correction unit reads the correction coefficient recorded in the nonvolatile memory, and calculates the corrected position information signal using the read correction coefficient;
The position detection device according to any one of claims 1 to 4 .
前記補正係数決定部は、当該位置検出装置が起動する毎に前記補正係数を決定し、決定した前記補正係数を前記不揮発性メモリに記録させる、請求項に記載の位置検出装置。 The position detection device according to claim 5 , wherein the correction coefficient determination unit determines the correction coefficient every time the position detection device is activated, and records the determined correction coefficient in the nonvolatile memory. 前記補正係数決定部は、当該位置検出装置の出荷前に前記補正係数を決定し、決定した前記補正係数を前記不揮発性メモリに記録させる、請求項に記載の位置検出装置。 The position detection device according to claim 5 , wherein the correction coefficient determination unit determines the correction coefficient before shipment of the position detection device, and records the determined correction coefficient in the nonvolatile memory. 前記補正係数決定部は、当該位置検出装置の動作中に繰り返し前記補正係数を決定して前記補正係数を更新し、
前記補正部は、更新された前記補正係数を用いて前記補正後位置情報信号を算出する、
請求項に記載の位置検出装置。
The correction coefficient determination unit repeatedly determines the correction coefficient during operation of the position detection device and updates the correction coefficient,
The correction unit calculates the corrected position information signal using the updated correction coefficient.
The position detection device according to claim 5 .
固定部材と、前記固定部材に対して相対的に移動する可動部とを有する駆動部と、
請求項1乃至のうち何れか1項に記載の位置検出装置と、
制御部と
を備え、
前記スケール部と前記検出部とのうち、一方が前記固定部材に固定されており、他方が前記可動部に固定されており、
前記位置取得部は、前記固定部材と前記可動部との間の相対的な移動量に応じた前記位置情報信号を発生し、
前記制御部は、前記位置検出装置が出力した前記補正後位置情報信号に基づいて、前記駆動部の動作を制御する、
駆動装置。
A drive unit having a fixed member and a movable unit that moves relative to the fixed member;
The position detection device according to any one of claims 1 to 8 ,
A control unit and
One of the scale part and the detection part is fixed to the fixed member, and the other is fixed to the movable part,
The position acquisition unit generates the position information signal according to a relative movement amount between the fixed member and the movable unit,
The control unit controls the operation of the driving unit based on the corrected position information signal output by the position detection device.
Drive device.
JP2014196504A 2014-09-26 2014-09-26 Position detecting device and driving device provided with the same Active JP6368605B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014196504A JP6368605B2 (en) 2014-09-26 2014-09-26 Position detecting device and driving device provided with the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014196504A JP6368605B2 (en) 2014-09-26 2014-09-26 Position detecting device and driving device provided with the same

Publications (2)

Publication Number Publication Date
JP2016070672A JP2016070672A (en) 2016-05-09
JP6368605B2 true JP6368605B2 (en) 2018-08-01

Family

ID=55864480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014196504A Active JP6368605B2 (en) 2014-09-26 2014-09-26 Position detecting device and driving device provided with the same

Country Status (1)

Country Link
JP (1) JP6368605B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023151542A (en) * 2022-03-31 2023-10-16 パナソニックIpマネジメント株式会社 Position detection system, magnetic sensor, and sensor block
JP2023151543A (en) * 2022-03-31 2023-10-16 パナソニックIpマネジメント株式会社 Position detection system, sensor unit, magnetic sensor, and sensor block

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4689435B2 (en) * 2004-12-16 2011-05-25 アルプス電気株式会社 Angle detection sensor
JP2010216961A (en) * 2009-03-16 2010-09-30 Mitsutoyo Corp Encoder output signal correction apparatus and method

Also Published As

Publication number Publication date
JP2016070672A (en) 2016-05-09

Similar Documents

Publication Publication Date Title
KR101920130B1 (en) Camera module adjustment method, lens position control device, control device and control method for linear motion device
KR101574057B1 (en) Control device for linear motion device and control method for same
JP4422988B2 (en) POSITION DETECTION DEVICE, OPTICAL DEVICE, IMAGING SYSTEM, AND PROGRAM
JP6535524B2 (en) Imaging device
US20150070564A1 (en) Optical instrument, and control method for optical instrument
CN106170054B (en) Filming apparatus
EP2372430B1 (en) Image pickup lens, image pickup apparatus, and lens controlling method
JP6368605B2 (en) Position detecting device and driving device provided with the same
JP2019184711A5 (en) Control devices, optical instruments, imaging devices and control methods
JP2015179051A (en) Position detector, lens device including the same, and optical operation device
JP6053985B2 (en) Lens device, imaging device, and movable lens position detection method
JP2005003559A (en) Position detector, optical device, and position detection method
JP4632423B2 (en) POSITION CONTROL DEVICE, POSITION CONTROL METHOD, AND OPTICAL DEVICE
JP6182899B2 (en) Lens apparatus, lens moving method, and imaging apparatus
JP2017151208A (en) Lens control device and lens control method
JP6515960B2 (en) Lens drive device, lens drive method, and imaging device
JP5368237B2 (en) Temperature correction amount correction system and operation control method thereof
JP2009015023A (en) Driving device and imaging apparatus equipped therewith
JP5038176B2 (en) Optical equipment
JP2000356504A (en) Position-detecting apparatus, camera apparatus and method for detecting lens position
JP2016136837A (en) Control device of linear motion device and control method thereof
JP2019135556A (en) Lens driving device, lens driving method, and imaging device
JP2017003403A (en) Encoder signal processing device and device using encoder
JP2015017918A (en) Position detector and control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170425

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180306

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180406

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180709

R151 Written notification of patent or utility model registration

Ref document number: 6368605

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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