JP2017017901A - Stepping motor drive state detector, optical apparatus and stepping motor drive state detection program - Google Patents

Stepping motor drive state detector, optical apparatus and stepping motor drive state detection program Download PDF

Info

Publication number
JP2017017901A
JP2017017901A JP2015133727A JP2015133727A JP2017017901A JP 2017017901 A JP2017017901 A JP 2017017901A JP 2015133727 A JP2015133727 A JP 2015133727A JP 2015133727 A JP2015133727 A JP 2015133727A JP 2017017901 A JP2017017901 A JP 2017017901A
Authority
JP
Japan
Prior art keywords
stepping motor
drive
state
drive state
lens
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015133727A
Other languages
Japanese (ja)
Other versions
JP6608198B2 (en
JP2017017901A5 (en
Inventor
淳基 吉牟田
Junki Yoshimuta
淳基 吉牟田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2015133727A priority Critical patent/JP6608198B2/en
Publication of JP2017017901A publication Critical patent/JP2017017901A/en
Publication of JP2017017901A5 publication Critical patent/JP2017017901A5/ja
Application granted granted Critical
Publication of JP6608198B2 publication Critical patent/JP6608198B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Lens Barrels (AREA)
  • Control Of Stepping Motors (AREA)

Abstract

PROBLEM TO BE SOLVED: To avoid false detection of the out-of-tune of a stepping motor.SOLUTION: A stepping motor drive state detector 115 acquires first positional information of a driven member 112 based on a signal from position detection means 121 for detecting the position of the driven member driven by a stepping motor 113, and acquires second positional information of the driven member based on the count of the drive pulse signals applied to the stepping motor. The device detects the out-of-tune of the stepping motor by comparing the first positional information and second positional information. Detection of the out-of-tune is restricted when the stepping motor is in a specific drive state.SELECTED DRAWING: Figure 1

Description

本発明は、ステッピングモータの駆動を制御する技術に関し、特にステッピングモータの脱調を検出する技術に関する。   The present invention relates to a technique for controlling the driving of a stepping motor, and more particularly to a technique for detecting step-out of a stepping motor.

ステッピングモータの駆動をオープンループ方式で制御する場合には、ステッピングモータのいわゆる脱調が生じ易い。脱調が生じると、ステッピングモータにより駆動する被駆動部材の実際の位置が制御上の目標位置に対してずれる。   When the driving of the stepping motor is controlled by the open loop system, the stepping motor is likely to be out of step. When step-out occurs, the actual position of the driven member driven by the stepping motor deviates from the control target position.

特許文献1には、リセットセンサにより被駆動部材が基準位置に位置することを検出してからステッピングモータに印加した駆動パルス数を用いてステッピングモータの脱調を検出する光学機器が開示されている。具体的には、2つのリセットセンサによって被駆動部材が別々の基準位置に位置することを検出可能とする。そして、両基準位置間で実際にステッピングモータに印加された駆動パルス数の累積値と両基準位置間での本来の駆動パルス数として予め記憶された所定パルス数(閾値)とが異なる場合に脱調の発生を検出する。   Patent Document 1 discloses an optical device that detects a stepping motor step-out using the number of drive pulses applied to a stepping motor after detecting that a driven member is positioned at a reference position by a reset sensor. . Specifically, it is possible to detect that the driven member is located at different reference positions by two reset sensors. Then, if the cumulative value of the number of drive pulses actually applied to the stepping motor between the two reference positions is different from the predetermined number of pulses (threshold value) stored in advance as the original number of drive pulses between the two reference positions, it is lost. Detects the occurrence of a key.

特許第2633129号公報Japanese Patent No. 2633129

しかしながら、ステッピングモータは、そのディテントトルクや振動特性によって、制御上の本来の駆動方向とは逆方向に微小回転(不要反転動作)する場合がある。このため、特許文献1に開示された光学機器では、1つのリセットセンサによって検出された被駆動部材が、その後のステッピングモータの不要反転動作によって、他のリセットセンサにより検出されることなく再び同じリセットセンサにより検出される可能性がある。2つのリセットセンサが被駆動部材を順次検出することで脱調を検出する特許文献1の光学機器では、この同じリセットセンサによる被駆動部材の検出が他のリセットセンサによる検出として扱われるおそれがある。この結果、ステッピングモータは脱調していないにもかかわらず、ステッピングモータに印加された駆動パルス数の累積値と閾値との差が大きくなり、脱調が誤検出される。   However, the stepping motor may rotate slightly (unnecessary reversing operation) in the direction opposite to the original driving direction in terms of control depending on the detent torque and vibration characteristics. For this reason, in the optical device disclosed in Patent Document 1, the driven member detected by one reset sensor is reset again without being detected by another reset sensor by an unnecessary reversing operation of the subsequent stepping motor. It may be detected by a sensor. In the optical device of Patent Document 1 in which the two reset sensors detect the driven member sequentially to detect step-out, the detection of the driven member by the same reset sensor may be treated as the detection by another reset sensor. . As a result, even though the stepping motor has not stepped out, the difference between the cumulative value of the number of drive pulses applied to the stepping motor and the threshold value becomes large, and stepout is erroneously detected.

本発明は、ステッピングモータのディテントトルク等の影響による脱調の誤検出を回避できるようにしたステッピングモータ駆動状態検出装置等を提供する。   The present invention provides a stepping motor drive state detection device and the like that can avoid erroneous detection of step-out due to the influence of detent torque or the like of a stepping motor.

本発明の一側面としてのステッピングモータ駆動状態検出装置は、ステッピングモータにより駆動される被駆動部材の位置を検出する位置検出手段からの信号に基づいて被駆動部材の第1の位置情報を取得する第1の位置取得手段と、ステッピングモータに印加された駆動パルス信号のパルス数のカウント値に基づいて被駆動部材の第2の位置情報を取得する第2の位置取得手段と、第1の位置情報と第2の位置情報とを比較することでステッピングモータの脱調を検出する脱調検出手段とを有する。そして、脱調検出手段は、ステッピングモータが特定駆動状態にあるときの脱調の検出を制限することを特徴とする。   A stepping motor drive state detection device according to one aspect of the present invention acquires first position information of a driven member based on a signal from a position detection unit that detects the position of the driven member driven by the stepping motor. First position acquisition means; second position acquisition means for acquiring second position information of the driven member based on a count value of the number of pulses of the drive pulse signal applied to the stepping motor; and first position Step-out detecting means for detecting step-out of the stepping motor by comparing the information with the second position information is provided. The step-out detection means limits detection of step-out when the stepping motor is in a specific drive state.

なお、上記ステッピングモータ駆動状態検出装置を有し、被駆動部材が光学部材である光学機器も、本発明の他の一側面を構成する。   An optical device that includes the stepping motor drive state detection device and whose driven member is an optical member also constitutes another aspect of the present invention.

また、本発明の他の一側面としてのステッピングモータ駆動状態検出プログラムは、コンピュータにステッピングモータの脱調を検出する処理を実行させるコンピュータプログラムである。該処理は、ステッピングモータにより駆動される被駆動部材の位置を検出する位置検出手段からの信号に基づいて駆動部材の第1の位置情報を取得する処理と、ステッピングモータに印加された駆動パルス信号のパルス数のカウント値に基づいて被駆動部材の第2の位置情報を取得する処理と、第1の位置情報と第2の位置情報とを比較することでステッピングモータの脱調を検出する検出処理とを有する。そして、検出処理において、ステッピングモータが特定駆動状態にあるときの脱調の検出を制限することを特徴とする。   A stepping motor drive state detection program according to another aspect of the present invention is a computer program that causes a computer to execute processing for detecting stepping motor step-out. The processing includes processing for obtaining first position information of the driving member based on a signal from a position detecting means for detecting the position of the driven member driven by the stepping motor, and a driving pulse signal applied to the stepping motor. Detection for detecting step-out of the stepping motor by comparing the first position information and the second position information with the process of acquiring the second position information of the driven member based on the count value of the number of pulses of Processing. In the detection process, detection of step-out when the stepping motor is in a specific drive state is limited.

本発明によれば、ステッピングモータが特定駆動状態にあるときには脱調判定を制限するので、脱調の発生の誤検出を回避することができる。   According to the present invention, the step-out determination is limited when the stepping motor is in the specific drive state, so that erroneous detection of the occurrence of step-out can be avoided.

本発明の実施例1であるステッピングモータ駆動状態検出装置を備えた交換レンズを含むカメラシステムの構成を示すブロック図。1 is a block diagram showing a configuration of a camera system including an interchangeable lens provided with a stepping motor drive state detection device that is Embodiment 1 of the present invention. 実施例1におけるステッピングモータを含むフォーカスレンズの駆動系を示す斜視図。FIG. 3 is a perspective view showing a drive system for a focus lens including a stepping motor in Embodiment 1. 実施例1におけるリセットセンサ群の理想的な出力変化を示す図。FIG. 6 is a diagram illustrating an ideal output change of the reset sensor group in the first embodiment. 実施例1における各種誤差を考慮したリセットセンサ群の出力変化を示す図。FIG. 6 is a diagram illustrating output changes of the reset sensor group in consideration of various errors in the first embodiment. 実施例1におけるフォーカスサーチ駆動における脱調判定無効区間を示す図。FIG. 6 is a diagram illustrating a step-out determination invalid section in focus search driving according to the first embodiment. 実施例1におけるフォーカスを駆動した際のリセットセンサ群および脱調判定有効/無効の時間的変化を示す図。The figure which shows the time change of the reset sensor group at the time of driving the focus in Example 1, and step-out determination valid / invalid. 実施例1におけるフォーカス駆動処理を示すフローチャート。5 is a flowchart illustrating focus drive processing according to the first exemplary embodiment. 実施例1における脱調判定の許可/禁止設定処理を示すフローチャート。5 is a flowchart illustrating step-out determination permission / prohibition setting processing according to the first embodiment.

以下、本発明の実施例について図面を参照しながら説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1には、本発明の実施例であるステッピングモータ駆動状態検出装置としての脱調検出部115を備えた光学機器としての交換レンズ110と、撮像装置としてのカメラ本体130とにより構成されるレンズ交換式カメラシステム100の構成を示している。交換レンズ110は、カメラ本体130に対して取り外し可能に装着される。   FIG. 1 shows a lens constituted by an interchangeable lens 110 as an optical device having a step-out detection unit 115 as a stepping motor driving state detection device according to an embodiment of the present invention, and a camera body 130 as an imaging device. 1 shows a configuration of a replaceable camera system 100. The interchangeable lens 110 is detachably attached to the camera body 130.

カメラ本体130には、撮像素子136と、カメラCPU131と、制御系電源132と、駆動系電源133と、カメラ通信ユニット134と、焦点検出ユニット135とが設けられている。撮像素子136は、交換レンズ110内の撮像光学系により形成された被写体像を光電変換して電気信号を出力する。不図示の画像処理回路は、撮像素子136から出力された電気信号を用いて映像信号を生成する。   The camera body 130 is provided with an image sensor 136, a camera CPU 131, a control system power supply 132, a drive system power supply 133, a camera communication unit 134, and a focus detection unit 135. The image sensor 136 photoelectrically converts a subject image formed by the imaging optical system in the interchangeable lens 110 and outputs an electrical signal. An image processing circuit (not shown) generates a video signal using the electrical signal output from the image sensor 136.

カメラCPU131は、カメラ本体130におけるすべての動作の制御を司っており、RAM、ROMおよびEEPROM等のメモリを内蔵している。制御系電源132は、撮像素子136、画像処理回路、焦点検出ユニット135および不図示の測光部等の電力消費が比較的少なく安定した電源を必要とする制御系の回路に電力を供給する。駆動系電源133は、制御系電源132の電圧(または電力)を検出し、交換レンズ110を含む外部アクセサリや不図示のシャッタ駆動部等の電力消費が比較的多い駆動系の回路に電力を供給する。   The camera CPU 131 controls all operations in the camera main body 130 and incorporates memories such as RAM, ROM, and EEPROM. The control system power supply 132 supplies power to a control system circuit that consumes relatively little power and requires a stable power supply, such as the image sensor 136, the image processing circuit, the focus detection unit 135, and a photometric unit (not shown). The drive system power supply 133 detects the voltage (or power) of the control system power supply 132 and supplies power to a drive system circuit that consumes a relatively large amount of power, such as an external accessory including the interchangeable lens 110 and a shutter drive unit (not shown). To do.

カメラ通信ユニット134は、後述するレンズCPU111との通信を行うための複数の通信端子を有し、焦点検出情報や測光情報をレンズCPU111に送信したり、レンズCPU111からの情報を受信したりする。焦点検出ユニット135は、交換レンズ110内の撮影光学系からの光束を用いて、被写体に対する撮影光学系の焦点状態を位相差検出方式によって検出する。   The camera communication unit 134 has a plurality of communication terminals for communicating with a lens CPU 111 described later, and transmits focus detection information and photometry information to the lens CPU 111 and receives information from the lens CPU 111. The focus detection unit 135 detects the focus state of the photographic optical system with respect to the subject using a phase difference detection method using the light beam from the photographic optical system in the interchangeable lens 110.

交換レンズ110には、レンズCPU111と、フォーカスレンズ(フォーカス素子)112と、フォーカスレンズ112を駆動するステッピングモータ113と、フォーカス駆動回路114と、脱調検出部115と、レンズ通信ユニット116とが設けられている。レンズCPU111は、カメラCPU131からの命令信号、要求信号および各種情報に基づいて交換レンズ110の動作を制御する。レンズCPU111は、RAM、ROMおよびEEPROM等のメモリと、ステッピングモータ113の駆動を制御するための駆動制御部等を内蔵している。   The interchangeable lens 110 includes a lens CPU 111, a focus lens (focus element) 112, a stepping motor 113 that drives the focus lens 112, a focus drive circuit 114, a step-out detection unit 115, and a lens communication unit 116. It has been. The lens CPU 111 controls the operation of the interchangeable lens 110 based on the command signal, request signal, and various information from the camera CPU 131. The lens CPU 111 includes a memory such as a RAM, a ROM, and an EEPROM, and a drive control unit for controlling the driving of the stepping motor 113.

ステッピングモータ113は、回転可能なロータと、ステータとしての励磁コイルとを含み、励磁コイルに駆動パルス信号が印加されることに応じてロータを回転させる。後述する脱調が生じなければ、ロータ(ステッピングモータ113)は励磁コイルに印加された駆動パルス信号のパルス数(以下、駆動パルス数という)に応じた回転量だけ回転する。   The stepping motor 113 includes a rotatable rotor and an exciting coil as a stator, and rotates the rotor in response to a drive pulse signal applied to the exciting coil. If the step-out described later does not occur, the rotor (stepping motor 113) rotates by the amount of rotation corresponding to the number of drive pulse signals applied to the exciting coil (hereinafter referred to as the number of drive pulses).

フォーカス駆動回路114は、レンズCPU111からのフォーカス駆動命令に応じて、ステッピングモータ113に駆動パルス信号を印加する。これにより、被駆動部材であるフォーカスレンズ112が撮影光学系の光軸方向に駆動され、撮影光学系の焦点状態が調節される。なお、焦点状態の調節のために駆動されるフォーカス素子として撮像素子136を用い、ステッピングモータによって撮像素子136を光軸方向に駆動してもよい。   The focus drive circuit 114 applies a drive pulse signal to the stepping motor 113 in accordance with a focus drive command from the lens CPU 111. Thereby, the focus lens 112 as a driven member is driven in the optical axis direction of the photographing optical system, and the focus state of the photographing optical system is adjusted. Note that the imaging element 136 may be used as a focus element that is driven to adjust the focus state, and the imaging element 136 may be driven in the optical axis direction by a stepping motor.

レンズ通信ユニット116は、カメラCPU131と通信を行うための複数の通信端子を有し、上述した焦点検出情報等をカメラCPU131から受信する。また、レンズ通信ユニット116は、交換レンズ110に固有の識別情報であるレンズID情報をカメラCPU131に送信する。   The lens communication unit 116 has a plurality of communication terminals for communicating with the camera CPU 131 and receives the above-described focus detection information and the like from the camera CPU 131. The lens communication unit 116 transmits lens ID information, which is identification information unique to the interchangeable lens 110, to the camera CPU 131.

本実施例では、フォーカスレンズ112の駆動アクチュエータとしてステッピングモータ113を用いており、該ステッピングモータ113に対して後述する脱調検出処理を含む駆動制御処理を行う。ただし、脱調検出処理は、フォーカスレンズ以外の被駆動部材(光学部材)としての変倍レンズや絞り等を駆動するステッピングモータに対しても適用可能である。   In this embodiment, a stepping motor 113 is used as a drive actuator for the focus lens 112, and a drive control process including a step-out detection process described later is performed on the stepping motor 113. However, the step-out detection process can also be applied to a stepping motor that drives a variable power lens, a diaphragm, or the like as a driven member (optical member) other than the focus lens.

次に図2を用いて、本実施例におけるステッピングモータ113の脱調を検出するための構成について説明する。図2には、フォーカスレンズ112を駆動するフォーカス駆動系を示している。フォーカス駆動系は、ステッピングモータ113のロータ壁に一体化されたリードスクリュー117と、ラック118と、フォーカスレンズ112を保持するレンズ保持部材119と、3つのリセットセンサ(位置検出手段)121a,121b,121cとを含む。以下の説明では、3つのリセットセンサ121a,121b,121cをまとめてリセットセンサ群121ともいう。また、レンズ保持部材119には、複数の遮光壁120が設けられている。   Next, a configuration for detecting step-out of the stepping motor 113 in this embodiment will be described with reference to FIG. FIG. 2 shows a focus drive system that drives the focus lens 112. The focus drive system includes a lead screw 117 integrated with the rotor wall of the stepping motor 113, a rack 118, a lens holding member 119 that holds the focus lens 112, and three reset sensors (position detection means) 121a, 121b, 121c. In the following description, the three reset sensors 121a, 121b, and 121c are collectively referred to as a reset sensor group 121. The lens holding member 119 is provided with a plurality of light shielding walls 120.

ステッピングモータ113が駆動されてリードスクリュー117が回転すると、その回転力がリードスクリュー117に噛み合ったラック118によってリードスクリュー117の軸方向、つまりは光軸方向の駆動力に変換される。ラック118はレンズ保持部材119に取り付けられているため、レンズ保持部材119(つまりはフォーカスレンズ112)はラック118とともに光軸方向に駆動される。以下の説明において、フォーカスレンズ112およびこれを保持したレンズ保持部材119の位置を、フォーカスレンズ位置という。   When the stepping motor 113 is driven and the lead screw 117 rotates, the rotational force is converted into a driving force in the axial direction of the lead screw 117, that is, in the optical axis direction by the rack 118 engaged with the lead screw 117. Since the rack 118 is attached to the lens holding member 119, the lens holding member 119 (that is, the focus lens 112) is driven in the optical axis direction together with the rack 118. In the following description, the position of the focus lens 112 and the lens holding member 119 that holds the focus lens 112 is referred to as a focus lens position.

リセットセンサ群121は、撮影光学系を収容する不図示の鏡筒に固定されている。本実施例では、各リセットセンサとして透過型フォトインタラプタを用いる。フォトインタラプタは、その受光部が光を検知している状態でHighレベルの信号を出力し、受光部が光を検知していない状態でのLowレベルの信号を出力する。レンズ保持部材119に設けられた複数の遮光壁120は、フォーカスレンズ位置に応じてリセットセンサ121a〜121cの発光部と受光部との間に入り込み、発光部から受光部に向かう光を遮る。このため、フォーカスレンズ位置に応じてリセットセンサ121a〜121cからのHigh(以下、Hと略記する)とLow(以下、Lと略記する)の出力のパターンが変化する。レンズCPU111および脱調検出部115は、このリセットセンサ121a〜121cの出力パターンに基づいてフォーカスレンズ位置を検出することができる。   The reset sensor group 121 is fixed to a lens barrel (not shown) that houses the photographing optical system. In this embodiment, a transmissive photo interrupter is used as each reset sensor. The photo interrupter outputs a high level signal when the light receiving unit detects light, and outputs a low level signal when the light receiving unit does not detect light. The plurality of light shielding walls 120 provided on the lens holding member 119 enter between the light emitting unit and the light receiving unit of the reset sensors 121a to 121c according to the focus lens position, and block light from the light emitting unit toward the light receiving unit. Therefore, the output patterns of High (hereinafter abbreviated as H) and Low (hereinafter abbreviated as L) from the reset sensors 121a to 121c change according to the focus lens position. The lens CPU 111 and the step-out detection unit 115 can detect the focus lens position based on the output patterns of the reset sensors 121a to 121c.

なお、本実施例ではリセットセンサとして透過型フォトインタラプタを用いる場合について説明するが、反射型フォトインタラプタや磁気センサ等、他の位置検出手段を用いてもよい。また、本実施例におけるリセットセンサ群121および遮光壁120の数や配置は例にすぎず、他の数や配置で位置検出手段を設けてもよい。   In this embodiment, a case where a transmissive photo interrupter is used as a reset sensor will be described. However, other position detecting means such as a reflective photo interrupter or a magnetic sensor may be used. In addition, the number and arrangement of the reset sensor group 121 and the light shielding walls 120 in the present embodiment are merely examples, and the position detection means may be provided in other numbers and arrangement.

図3には、本実施例におけるフォーカスレンズ位置に応じたリセットセンサ群121の出力パターンを示している。横軸はフォーカスレンズ位置であり、左から右に向かって像側から被写体側の位置を示す。縦軸は各リセットセンサの出力(H,L)である。図3の上段から順に、リセットセンサ121aとしてのフォトインタラプタPI−a、リセットセンサ121bとしてのフォトインタラプタPI−bおよびリセットセンサ121cとしてのフォトインタラプタPI−cの出力を示している。   FIG. 3 shows an output pattern of the reset sensor group 121 according to the focus lens position in the present embodiment. The horizontal axis is the focus lens position, which indicates the position from the image side to the subject side from left to right. The vertical axis represents the output (H, L) of each reset sensor. The output of the photo interrupter PI-a as the reset sensor 121a, the photo interrupter PI-b as the reset sensor 121b, and the photo interrupter PI-c as the reset sensor 121c is shown in order from the top of FIG.

本実施例では、2値出力のフォトインタラプタを3つ用いているため、リセットセンサ群121の出力パターンは8種類となる。リセットセンサ群121の出力パターンからその時点でのフォーカスレンズ位置を所定範囲内に絞り込むことができる。さらに、いずれかのフォトインタラプタの出力が切り替わる位置までフォーカスレンズ112を移動させることで、フォーカスレンズ位置を特定することができる。   In this embodiment, since three binary output photo interrupters are used, there are eight output patterns of the reset sensor group 121. From the output pattern of the reset sensor group 121, the focus lens position at that time can be narrowed within a predetermined range. Furthermore, the focus lens position can be specified by moving the focus lens 112 to a position where the output of any one of the photo interrupters is switched.

例えば、フォトインタラプタPI−a,PI−b,PI−cの出力がL,L,Lの状態では、フォトインタラプタPI−aの出力エッジ位置FP_PI1からフォトインタラプタPI−bの出力エッジ位置FP_PI2までの範囲内にフォーカスレンズ位置がある。この状態から、フォーカスレンズ112が被写体側に移動すると、フォトインタラプタPI−bは、その発光部と受光部との間から遮光壁120から抜け出ることで、Hを出力する。これにより、この時点でのフォーカスレンズ位置(絶対位置)をFP_PI2として特定することができる。   For example, when the outputs of the photo interrupters PI-a, PI-b, and PI-c are in L, L, and L states, from the output edge position FP_PI1 of the photo interrupter PI-a to the output edge position FP_PI2 of the photo interrupter PI-b The focus lens position is within the range. When the focus lens 112 moves to the subject side from this state, the photo interrupter PI-b outputs H by exiting from the light shielding wall 120 between the light emitting portion and the light receiving portion. Thereby, the focus lens position (absolute position) at this time can be specified as FP_PI2.

このような絶対位置検出機構を持たない場合は、フォーカスレンズ位置を特定するために、カメラCPU131はレンズCPU111に対してリセット処理命令を発行する。リセット処理命令を受信したレンズCPU111は、出力エッジ位置FP_PI1〜FP_PI7のいずれかにフォーカスレンズ112を移動させるリセット処理を行う。出力エッジ位置FP_PI1〜FP_PI7のそれぞれに対応するフォーカスレンズ位置(絶対位置)は予めレンズCPU111が記憶している。レンズCPU111は、リセット処理によりフォーカスレンズ112が出力エッジ位置FP_PI1〜FP_PI7のいずれかに位置したことを検出すると、その出力エッジ位置に対応する絶対位置をリセット位置として設定する。リセット処理が完了すると、レンズCPU111はカメラCPU131に対してリセット完了ステータスを送信した後にカメラCPU131から発行されるフォーカス駆動命令を受ける。レンズCPU111は、フォーカス駆動命令に含まれるフォーカスレンズ112の駆動量に対応するパルス数の駆動パルス信号をフォーカス駆動回路114からステッピングモータ113に印加させる。   If the absolute position detection mechanism is not provided, the camera CPU 131 issues a reset processing command to the lens CPU 111 in order to specify the focus lens position. The lens CPU 111 that has received the reset processing command performs a reset process for moving the focus lens 112 to any one of the output edge positions FP_PI1 to FP_PI7. The lens CPU 111 stores the focus lens positions (absolute positions) corresponding to the output edge positions FP_PI1 to FP_PI7 in advance. When the lens CPU 111 detects that the focus lens 112 is positioned at any one of the output edge positions FP_PI1 to FP_PI7 by the reset process, the lens CPU 111 sets the absolute position corresponding to the output edge position as the reset position. When the reset process is completed, the lens CPU 111 receives a focus drive command issued from the camera CPU 131 after transmitting a reset completion status to the camera CPU 131. The lens CPU 111 causes the focus drive circuit 114 to apply a drive pulse signal having a pulse number corresponding to the drive amount of the focus lens 112 included in the focus drive command to the stepping motor 113.

そして、レンズCPU111は、このときにステッピングモータ113に印加された駆動パルス数をリセット位置に対応する駆動パルス数に対して加減算する。このようにしてレンズCPU111は、リセット位置からの駆動パルス数の累積カウント値としてのフォーカスレンズ位置を管理する。   Then, the lens CPU 111 adds or subtracts the drive pulse number applied to the stepping motor 113 at this time to the drive pulse number corresponding to the reset position. In this way, the lens CPU 111 manages the focus lens position as an accumulated count value of the number of drive pulses from the reset position.

次に、脱調検出部115について説明する。本実施例の脱調検出部115は、リセットセンサ群121の出力を用いて、上述したリセット処理の完了後にステッピングモータ113の脱調を検出(判定)する。具体的には、脱調検出部115は、図3に示した7つの出力エッジ位置FP_PI1〜FP_PI7にて脱調判定を行う。脱調検出部115は、第1の位置取得手段、第2の位置取得手段および脱調検出手段として機能する。   Next, the step-out detection unit 115 will be described. The step-out detection unit 115 according to the present embodiment uses the output of the reset sensor group 121 to detect (determine) step-out of the stepping motor 113 after completion of the reset process described above. Specifically, the step-out detection unit 115 performs step-out determination at the seven output edge positions FP_PI1 to FP_PI7 shown in FIG. The step-out detection unit 115 functions as a first position acquisition unit, a second position acquisition unit, and a step-out detection unit.

例えば、出力エッジ位置FP_PI4に対応するステッピングモータ113の駆動パルス数を8000パルスとし、出力エッジ位置FP_PI5に対応する駆動パルス数を9000パルスとする。出力エッジ位置FP_PI4でリセット処理を行い、その後、出力エッジ位置FP_PI4から被写体側に1200パルス分のステッピングモータ113の駆動がなされたとする。そして、この1200パルス分の駆動中において、ステッピングモータ113が1004パルス分駆動された時点でリセットセンサ群121の出力パターンがH,L,Hから出力エッジ位置FP_PI5に対応するL,L,Hに変化したものとする。   For example, the number of drive pulses of the stepping motor 113 corresponding to the output edge position FP_PI4 is 8000 pulses, and the number of drive pulses corresponding to the output edge position FP_PI5 is 9000 pulses. Assume that reset processing is performed at the output edge position FP_PI4, and then the stepping motor 113 for 1200 pulses is driven from the output edge position FP_PI4 to the subject side. During the 1200 pulse drive, the output pattern of the reset sensor group 121 changes from H, L, H to L, L, H corresponding to the output edge position FP_PI5 when the stepping motor 113 is driven for 1004 pulses. Suppose it has changed.

このとき、レンズCPU111において駆動パルス数の累積カウント値として管理されているフォーカスレンズ位置(第2の位置情報:以下、駆動パルス累積値という)は、8000+1004=9004パルスである。これに対して、出力エッジ位置FP_PI5での本来の駆動パルス数(第1の位置情報:以下、判定基準パルス数という)は前述した9000パルスであり、9004パルスとの差分は4パルスである。レンズCPU111は、これら判定基準パルス数と駆動パルス累積値との差分が予め設定した閾値よりも大きいときはステッピングモータ113に脱調が生じたものと判定する。そして、脱調が生じたと判定した場合は、フォーカスレンズ位置の絶対位置を再取得するためにリセット処理を再度行う。   At this time, the focus lens position (second position information: hereinafter referred to as a drive pulse cumulative value) managed as a cumulative count value of the number of drive pulses in the lens CPU 111 is 8000 + 1004 = 9004 pulses. On the other hand, the original number of drive pulses (first position information: hereinafter referred to as determination reference pulse number) at the output edge position FP_PI5 is the aforementioned 9000 pulses, and the difference from the 9004 pulse is 4 pulses. The lens CPU 111 determines that the stepping motor 113 has stepped out when the difference between the number of determination reference pulses and the cumulative drive pulse value is greater than a preset threshold value. If it is determined that a step-out has occurred, the reset process is performed again to reacquire the absolute position of the focus lens position.

本実施例のようなフォーカス駆動系においては、リセットセンサ群121からの信号出力の遅延やフォーカス駆動系を構成する各部材の温度変化による伸縮等の影響によって、脱調が生じていなくても駆動パルス累算値が判定基準パルス数と一致しない場合がある。しかし、脱調が生じた場合は判定基準パルス数と駆動パルス累算値との差が脱調によらない場合の差に比べて大きく異なる。したがって、これら脱調によらない差よりも大きい差を脱調判定の閾値(脱調判定閾値)として用いることが好ましい。例えば、リードスクリュー117とラック118との間での歯飛びを考慮して、ステッピングモータ113の1回転分の駆動パルス数に相当するパルス数を所定値としての脱調判定閾値として用いると、脱調に加えて歯飛びの発生も検出することができる。   In the focus drive system as in this embodiment, the drive is performed even if no step-out occurs due to the delay of signal output from the reset sensor group 121 and the expansion and contraction due to the temperature change of each member constituting the focus drive system. The accumulated pulse value may not match the number of determination reference pulses. However, when a step-out occurs, the difference between the number of determination reference pulses and the accumulated drive pulse value is greatly different from the difference when no step-out occurs. Therefore, it is preferable to use a difference larger than the difference not due to step out as a step out determination threshold (step out determination threshold). For example, in consideration of tooth skipping between the lead screw 117 and the rack 118, if the number of pulses corresponding to the number of drive pulses for one rotation of the stepping motor 113 is used as the step-out determination threshold value as a predetermined value, the step-out determination threshold value is set. In addition to the tone, the occurrence of tooth skipping can also be detected.

また、フォーカスレンズ112の移動が可能な可動範囲内でリセットセンサ群121の8つの出力パターンのそれぞれが1回ずつしか現れなければ、上述した方法による脱調判定で十分である。しかし、交換レンズ110には、遮光壁120の形状のばらつきや温度による伸び率の差、さらには各リセットセンサの取付位置の誤差や発光部の発光効率の経年変化特性の違い、受光部の受光感度特性の違い等の個体差がある。そして、このような個体差に起因して、図3に示すような理想的な出力パターンが得られない場合がある。例えば、図4に示すような出力パターンが得られる可能性がある。   Further, if each of the eight output patterns of the reset sensor group 121 appears only once within the movable range in which the focus lens 112 can move, the step-out determination by the above-described method is sufficient. However, the interchangeable lens 110 has a variation in the shape of the light shielding wall 120, a difference in elongation due to temperature, an error in the mounting position of each reset sensor, a difference in aging characteristics of the light emission efficiency of the light emitting part, There are individual differences such as differences in sensitivity characteristics. Due to such individual differences, an ideal output pattern as shown in FIG. 3 may not be obtained. For example, an output pattern as shown in FIG. 4 may be obtained.

図4には、図3に示した場合よりもフォトインタラプタPI−bがフォトインタラプタPI−aに近づいて取り付けられ場合においてフォーカスレンズ位置に応じたリセットセンサ群121の出力(縦軸)の変化を示している。横軸はフォーカスレンズ位置である。図4では、リセットセンサ群121の出力パターンがH,H,Lである領域とH,L,Lである領域とがそれぞれ2つずつ存在する。この場合に出力エッジ位置FP_PI1〜FP_PI7のうち1つを特定するためには、リセットセンサ群121の出力パターンに加えてステッピングモータ113の駆動方向(以下、モータ駆動方向という)を検出する必要がある。以下の説明において、フォーカスレンズ112を被写体側に向かって駆動するモータ駆動方向を被写体方向といい、フォーカスレンズ112を被写体側とは反対側(像面側)に向かって駆動するモータ駆動方向を像面方向という。   FIG. 4 shows changes in the output (vertical axis) of the reset sensor group 121 according to the focus lens position when the photo interrupter PI-b is mounted closer to the photo interrupter PI-a than in the case shown in FIG. Show. The horizontal axis is the focus lens position. In FIG. 4, there are two regions each where the output pattern of the reset sensor group 121 is H, H, and L, and two regions where H, L, and L are present. In this case, in order to specify one of the output edge positions FP_PI1 to FP_PI7, in addition to the output pattern of the reset sensor group 121, it is necessary to detect the driving direction of the stepping motor 113 (hereinafter referred to as the motor driving direction). . In the following description, the motor driving direction for driving the focus lens 112 toward the subject side is referred to as the subject direction, and the motor driving direction for driving the focus lens 112 toward the opposite side (image plane side) from the subject side is the image. It is called the surface direction.

例えば、出力エッジ位置FP_PI1を検出するには、モータ駆動方向が被写体方向であれば、フォトインタラプタPI−b,PI−cの出力がともにLのままフォトインタラプタPI−aの出力がHからLに変化したタイミングを検出できればよい。また出力エッジ位置FP_PI4を検出するには、モータ駆動方向が像面方向であれば、フォトインタラプタPI−aの出力がHでフォトインタラプタPI−cの出力がLのままフォトインタラプタPI−bの出力がLからHに変化したタイミングを検出できればよい。このように、リセットセンサ群121に個体差があってもリセットセンサ群121の出力パターンとモータ駆動方向とから1つの出力エッジ位置を特定することができる。   For example, in order to detect the output edge position FP_PI1, if the motor driving direction is the subject direction, the output of the photointerrupter PI-a is changed from H to L while the outputs of the photointerrupters PI-b and PI-c are both L. It is only necessary that the changed timing can be detected. Further, in order to detect the output edge position FP_PI4, if the motor driving direction is the image plane direction, the output of the photointerrupter PI-b is maintained while the output of the photointerrupter PI-a is H and the output of the photointerrupter PI-c is L. It is only necessary to detect the timing at which is changed from L to H. Thus, even if there is an individual difference in the reset sensor group 121, one output edge position can be specified from the output pattern of the reset sensor group 121 and the motor driving direction.

ただし、ステッピングモータでは、ディテントトルクや振動特性の影響によって制御上で意図しない反転動作(以下、不要反転動作という)が生じる場合がある。この不要反転動作がフォトインタラプタの出力エッジ位置付近で発生すると、レンズCPU111は誤ったフォーカスレンズ位置を検出することになり、この結果、誤った脱調判定を行うおそれがある。例えば、図4において出力エッジ位置FP_PI1に対して被写体側にて近接する位置(図中に★印で示す位置)にフォーカスレンズ112が停止している状態からステッピングモータ113の被写体方向への駆動を開始するものとする。この際、ステッピングモータ113の不要反転動作によって、本来すぐには変化しないはずのフォトインタラプタPI−aの出力がLからHに変化したとする。しかし、制御上ではモータ駆動方向は被写体方向であり、フォトインタラプタPI−cの出力はLであるため、フォトインタラプタPI−aの出力がLからHに変化することで出力エッジ位置FP_PI3が検出されたことになる。つまり、フォーカスレンズ112は出力エッジ位置FP_PI1に位置するにもかかわらず、出力エッジ位置FP_PI3に位置するものと検出される。このため、
FP_PI3での駆動パルス数−FP_PI1での駆動パルス数>脱調判定閾値
となり、誤って脱調と判定される。
However, in a stepping motor, an unintended reversing operation (hereinafter referred to as an unnecessary reversing operation) may occur due to the influence of detent torque and vibration characteristics. If this unnecessary reversal operation occurs in the vicinity of the output edge position of the photo interrupter, the lens CPU 111 detects an incorrect focus lens position, and as a result, there is a risk of making an erroneous step-out determination. For example, the driving of the stepping motor 113 in the direction of the subject from the state where the focus lens 112 is stopped at a position close to the subject side with respect to the output edge position FP_PI1 in FIG. Shall start. At this time, it is assumed that the output of the photointerrupter PI-a, which should not change immediately by the unnecessary reversing operation of the stepping motor 113, has changed from L to H. However, in terms of control, the motor driving direction is the subject direction, and the output of the photo interrupter PI-c is L. Therefore, the output edge position FP_PI3 is detected when the output of the photo interrupter PI-a changes from L to H. That's right. That is, it is detected that the focus lens 112 is positioned at the output edge position FP_PI3 even though it is positioned at the output edge position FP_PI1. For this reason,
The number of drive pulses at FP_PI3−the number of drive pulses at FP_PI1> the step-out determination threshold value, and it is erroneously determined to be out of step.

以上のことから、本実施例の脱調検出部115は、不要反転動作等、ディテントトルクの影響を受ける特定駆動状態を除いてステッピングモータ113の脱調の検出(脱調判定)を行う。言い換えれば、ステッピングモータ113の特定駆動状態での脱調判定を制限(禁止)する。   As described above, the step-out detection unit 115 according to the present embodiment detects step-out of the stepping motor 113 (step-out determination) except for a specific drive state that is affected by detent torque such as unnecessary reversal operation. In other words, the step-out determination in the specific drive state of the stepping motor 113 is limited (prohibited).

不要反転動作が生じるおそれがある特定駆動状態としては、ステッピングモータ113の駆動開始時および駆動停止時のようにステッピングモータ113の励磁コイルへの通電のオン/オフが切り替えられる時点の前後での駆動状態が挙げられる。すなわち、ステッピングモータ113の駆動開始(励磁コイルへの通電開始)から所定パルス数の駆動パルス信号がステッピングモータ113に印加されるまでの駆動状態を含む。また、特定駆動状態としては、ステッピングモータ113の駆動停止前における所定パルス数の駆動パルス信号の印加が開始されてから励磁コイルへの通電保持を終了するまでの駆動状態も含まれる。所定パルス数(所定値)としては、例えば4パルス(1−2相励磁換算)としてもよい。なお、励磁コイルへの通電を保持している状態ではステッピングモータ113を回転させているわけではないが、励磁コイルへの通電を行っているのでステッピングモータ113の駆動状態の一部とする。   As a specific drive state in which an unnecessary reversal operation may occur, the drive before and after the time point when the energization to the excitation coil of the stepping motor 113 is switched on / off, such as when the drive of the stepping motor 113 is started and when the drive is stopped, is performed. States. That is, it includes a driving state from the start of driving of the stepping motor 113 (start of energization to the exciting coil) until a driving pulse signal having a predetermined number of pulses is applied to the stepping motor 113. Further, the specific drive state includes a drive state from when application of a drive pulse signal of a predetermined number of pulses before driving of the stepping motor 113 is stopped to when energization holding to the exciting coil is finished. The predetermined number of pulses (predetermined value) may be, for example, 4 pulses (1-2 phase excitation conversion). Note that the stepping motor 113 is not rotated in a state where the energization to the excitation coil is held, but since the energization to the excitation coil is performed, it is a part of the driving state of the stepping motor 113.

また、他の特定駆動状態として、ステッピングモータ113のディテントトルクによるいわゆる間欠駆動が生じ易い所定速度より低速での駆動状態である。例えば、200ppsより低速での駆動状態である。なお、上記所定パルス数や所定速度は、ステッピングモータ113やリセットセンサ群121の特性に応じて適宜設定すればよい。   Another specific driving state is a driving state at a speed lower than a predetermined speed at which so-called intermittent driving due to the detent torque of the stepping motor 113 is likely to occur. For example, the driving state is lower than 200 pps. The predetermined number of pulses and the predetermined speed may be appropriately set according to the characteristics of the stepping motor 113 and the reset sensor group 121.

さらに他の特定駆動状態としては、意図的な反転駆動(往復駆動)が繰り返されるウォブリング駆動状態がある。ウォブリング駆動状態は、コントラスト方式のフォーカス制御において、コントラスト評価値が増加する方向を検出するためにフォーカスレンズ112を微小な所定駆動量での往復駆動を繰り返す駆動状態である。ウォブリング駆動状態では頻繁に反転動作が繰り返されるため、リセットセンサ群121の出力の遅延により、出力エッジ位置を検出したタイミングによってはすでにフォーカスレンズ112の駆動方向が変化している場合がある。さらに、頻繁な停止による振動が生じるおそれもある。このため、ディテントトルクの影響を受ける駆動状態ではないが、ウォブリング駆動状態でも脱調判定を禁止することが好ましい。   Still another specific driving state includes a wobbling driving state in which intentional reverse driving (reciprocating driving) is repeated. The wobbling driving state is a driving state in which the focus lens 112 is repeatedly reciprocated with a small predetermined driving amount in order to detect the direction in which the contrast evaluation value increases in contrast type focus control. Since the inversion operation is frequently repeated in the wobbling driving state, the driving direction of the focus lens 112 may already have changed depending on the timing at which the output edge position is detected due to the output delay of the reset sensor group 121. Furthermore, vibrations due to frequent stops may occur. For this reason, it is preferable that the step-out determination is prohibited even in the wobbling driving state, although the driving state is not affected by the detent torque.

なお、上述した各特定駆動状態を、撮像光学系の変倍状態(ズーム状態)やフォーカスレンズ112が移動する位置に応じて変更してもよい。   Each of the specific drive states described above may be changed according to the zooming state of the imaging optical system or the position where the focus lens 112 moves.

図5を用いて、フォーカスレンズ112を駆動するためにステッピングモータ113をその駆動開始から加速駆動、定速駆動および減速駆動を経て停止させるまでの間の特定駆動状態について説明する。図5において、横軸は時間を、縦軸はステッピングモータ113の角速度を示している。まずステッピングモータ113の駆動開始(駆動シーケンスの開始)とともに励磁コイルへの通電(以下、コイル通電という)が開始される。その後、100ppsおよび300ppsの加速段を経て1000ppsまで段階的に加速駆動し、1000ppsで定速駆動する。その後、フォーカスレンズ112の停止位置の手前から停止シーケンスに入る。停止シーケンスでは、300ppsおよび100ppsでの減速段を経て段階的に減速駆動し、停止位置に到達した状態にてステッピングモータ113の振動を抑えるために所定時間の間、コイル通電を保持する。図5において脱調検出部115が脱調判定を禁止する特定駆動状態の区間は、コイル通電を開始してから300pps加速段まで加速する区間IHBT1と、100pps減速段に減速してから停止状態でのコイル通電の保持が終了するまでの区間IHBT2である。   A specific drive state from when the stepping motor 113 is driven to stop through the acceleration drive, the constant speed drive and the deceleration drive to drive the focus lens 112 will be described with reference to FIG. In FIG. 5, the horizontal axis represents time, and the vertical axis represents the angular velocity of the stepping motor 113. First, energization of the exciting coil (hereinafter referred to as coil energization) is started simultaneously with the start of driving of the stepping motor 113 (start of the driving sequence). Thereafter, acceleration is driven stepwise up to 1000 pps through acceleration stages of 100 pps and 300 pps, and constant speed driving is performed at 1000 pps. Thereafter, the stop sequence is entered from before the stop position of the focus lens 112. In the stop sequence, the motor is decelerated stepwise through the deceleration stages at 300 pps and 100 pps, and the coil energization is held for a predetermined time in order to suppress the vibration of the stepping motor 113 in a state where the stop position is reached. In FIG. 5, the section in the specific drive state in which the step-out detection unit 115 prohibits the step-out determination is the section IHBT1 in which the coil energization is started to accelerate to the 300 pp acceleration stage and the stop state after decelerating to the 100 pp speed reduction stage. This is the section IHBT2 until the coil energization is completed.

図6には、リセットセンサ群121の出力が図4に示すように変化する場合においてステッピングモータ113の不要反転動作が発生したときのリセットセンサ群121の出力(縦軸)の変化と脱調検出部115による脱調判定の禁止との関係を示す。横軸は時間を示す。図6では、フォーカスレンズ112は、出力エッジ位置FP_PI1に被写体側にて近接する位置(図4に★印で示す)から出力エッジ位置FP_PI4に像面側にて近接する停止位置(図4に*印で示す)まで駆動される。図6の上段にはフォーカスレンズ位置の変化を示している。実線は実際のフォーカスレンズ位置を、破線はレンズCPU111が与える目標位置としてのフォーカスレンズ位置(以下、目標フォーカスレンズ位置という)を示す。また、図6の中段の3つには、リセットセンサ群121(フォトインタラプタPI−a,PI−b,PI−c)の出力の変化を示している。さらに、図6の下段には、脱調検出部115の脱調判定の非禁止(非制限、許可)/禁止(制限)の切り替えを示している。   FIG. 6 shows changes in the output (vertical axis) of the reset sensor group 121 and step-out detection when an unnecessary reversal operation of the stepping motor 113 occurs when the output of the reset sensor group 121 changes as shown in FIG. The relationship with prohibition of the step-out determination by the part 115 is shown. The horizontal axis indicates time. In FIG. 6, the focus lens 112 moves from a position close to the output edge position FP_PI1 on the subject side (indicated by a star in FIG. 4) to a stop position close to the output edge position FP_PI4 on the image plane side (* in FIG. 4). Drive). The upper part of FIG. 6 shows the change of the focus lens position. A solid line indicates an actual focus lens position, and a broken line indicates a focus lens position as a target position given by the lens CPU 111 (hereinafter referred to as a target focus lens position). In addition, three changes in the middle stage of FIG. 6 show changes in the output of the reset sensor group 121 (photo interrupters PI-a, PI-b, and PI-c). Furthermore, the lower part of FIG. 6 shows switching between non-prohibition (non-limitation, permission) / prohibition (limitation) of the step-out determination of the step-out detection unit 115.

時間T0にてステッピングモータ113に対するコイル通電が開始される。この際、モータ駆動方向においてロータよりも遅れた相の励磁コイルが励磁されると、ロータはモータ駆動方向とは逆方向に引き戻される。これは、前回駆動時の停止位置近傍にロータの安定相が存在した場合に生じる現象であり、停止位置到達後に通電を切るとロータが安定相に引き寄せられてしまい、停止位置からずれた位置に微小回転してしまう現象に起因する。これにより、フォーカスレンズ112は本来の駆動方向とは逆方向に移動して、時間T1にてフォトインタラプタPI−aの出力エッジ位置FP_PI1に通過する。このため、フォトインタラプタPI−aの出力がLからHに変化する。   At time T0, coil energization to the stepping motor 113 is started. At this time, when the exciting coil having a phase delayed from the rotor in the motor driving direction is excited, the rotor is pulled back in the direction opposite to the motor driving direction. This phenomenon occurs when a stable phase of the rotor exists in the vicinity of the stop position at the time of the previous drive.If the power is turned off after reaching the stop position, the rotor is attracted to the stable phase, and the position is shifted from the stop position. This is due to the phenomenon of minute rotation. As a result, the focus lens 112 moves in the direction opposite to the original driving direction and passes through the output edge position FP_PI1 of the photo interrupter PI-a at time T1. For this reason, the output of the photo interrupter PI-a changes from L to H.

続いてモータ駆動方向にロータが回転し始めると、時間T2にてフォーカスレンズ112が再度、出力エッジ位置FP_PI1を通過するため、フォトインタラプタPI−aの出力はHからLに変化する。   Subsequently, when the rotor starts to rotate in the motor driving direction, the focus lens 112 passes through the output edge position FP_PI1 again at time T2, so that the output of the photo interrupter PI-a changes from H to L.

その後、フォーカスレンズ112はさらに被写体側に駆動され、時間T4にてフォトインタラプタPI−aの出力エッジ位置FP_PI3を通過し、さらに時間T5にて停止位置に到達すると、ステッピングモータ113の駆動が停止される。時間T5〜T10までの間は、この停止状態にてロータを安定させるためにコイル通電を保持する。時間T5で励磁コイルへの駆動パルス信号の印加は終了するが、ロータの慣性力とディテントトルクによってロータに振動が生じる。この振動によってフォーカスレンズ112は一時的に停止位置よりもさらに被写体側に移動し、時間T6にてフォトインタラプタPI−bの出力エッジ位置FP_PI4を通過する。さらに、時間T7にてフォトインタラプタPI−cの出力エッジ位置FP_PI4′を通過する。そして、コイル通電が保持されているために、フォーカスレンズ112は停止位置側に引き戻され、時間T8にて出力エッジ位置FP_PI4′を再度通過し、さらに時間T9にて出力エッジ位置FP_PI4を再度通過する。この後の時間T10において、コイル通電の保持が終了する。   Thereafter, the focus lens 112 is further driven to the subject side, passes the output edge position FP_PI3 of the photo interrupter PI-a at time T4, and further reaches the stop position at time T5, the driving of the stepping motor 113 is stopped. The During time T5 to T10, the coil energization is held to stabilize the rotor in this stopped state. Although application of the drive pulse signal to the exciting coil is completed at time T5, the rotor is vibrated by the inertial force and detent torque of the rotor. Due to this vibration, the focus lens 112 temporarily moves further to the subject side than the stop position, and passes the output edge position FP_PI4 of the photo interrupter PI-b at time T6. Further, at time T7, the output edge position FP_PI4 'of the photo interrupter PI-c is passed. Since the coil energization is maintained, the focus lens 112 is pulled back to the stop position side, passes through the output edge position FP_PI4 ′ again at time T8, and passes again through the output edge position FP_PI4 at time T9. . At the subsequent time T10, the holding of the coil energization ends.

脱調検出部115は、ステッピングモータ113へのコイル通電が開始された駆動開始位置から上述した所定パルス数である4パルス分のコイル通電が完了するまでの駆動区間(時間T0〜T3)は脱調判定を禁止する。また、停止位置の手前4駆動パルス信号のコイル通電が開始されてからコイル通電の保持が終了するまでの駆動区間(時間T5〜T10)も脱調判定を禁止する。つまり、ステッピングモータ113のと、時間T0〜T3での駆動状態と時間T5〜T10での駆動状態は、特定駆動状態である。   The step-out detection unit 115 takes off the drive section (time T0 to T3) from the drive start position where the coil energization to the stepping motor 113 is started until the coil energization for the four pulses, which is the predetermined number of pulses described above, is completed. Prohibits key judgment. Further, the step out determination is also prohibited in the drive section (time T5 to T10) from when the coil energization of the four drive pulse signals before the stop position is started until the coil energization is stopped. That is, for the stepping motor 113, the driving state at times T0 to T3 and the driving state at times T5 to T10 are specific driving states.

このときのリセットセンサ群121の出力パターンに基づいてフォーカスレンズ位置を推定する。時間T0での出力パターンはL,H,Lであるため、フォーカスレンズ位置は出力エッジ位置FP_PI2〜FP_PI3の間であると考えられる。   The focus lens position is estimated based on the output pattern of the reset sensor group 121 at this time. Since the output pattern at time T0 is L, H, and L, the focus lens position is considered to be between the output edge positions FP_PI2 to FP_PI3.

時間T1にて出力パターンはH,H,Lに変化し、時間T2にて出力パターンはL,H,Lに戻る。そして、時間T4にて出力パターンはH,H,Lに変化し、時間T6にてH,L,Lに変化し、さらに、時間T7にてH,L,Hに変化する。この後、時間T8にて出力パターンはH,L,Lに変化し、続いて時間T9にてH,H,Lに戻る。   At time T1, the output pattern changes to H, H, and L, and at time T2, the output pattern returns to L, H, and L. The output pattern changes to H, H, and L at time T4, changes to H, L, and L at time T6, and further changes to H, L, and H at time T7. Thereafter, the output pattern changes to H, L, L at time T8, and then returns to H, H, L at time T9.

ここで、モータ駆動方向が被写体方向であるときのフォーカスレンズ112が実際に位置する出力エッジ位置の特定方法について説明する。フォトインタラプタPI−aの出力がLからHに変化するのは、フォーカスレンズ位置が出力エッジ位置FP_PI3またはFP_PI7に到達したときである。このときフォトインタラプタPI−cの出力がLであればフォーカスレンズ112は出力エッジ位置FP_PI3に位置し、フォトインタラプタPI−cの出力がHであればフォーカスレンズ112は出力エッジ位置FP_PI7に位置する。   Here, a method of specifying the output edge position where the focus lens 112 is actually positioned when the motor driving direction is the subject direction will be described. The output of the photo interrupter PI-a changes from L to H when the focus lens position reaches the output edge position FP_PI3 or FP_PI7. At this time, if the output of the photo interrupter PI-c is L, the focus lens 112 is positioned at the output edge position FP_PI3, and if the output of the photo interrupter PI-c is H, the focus lens 112 is positioned at the output edge position FP_PI7.

また、フォトインタラプタPI−aの出力がHからLに変化するのはフォーカスレンズ位置が出力エッジ位置FP_PI1またはFP_PI5に到達したときである。このときフォトインタラプタPI−cの出力がLであればフォーカスレンズ112は出力エッジ位置FP_PI1に位置し、フォトインタラプタPI−cの出力がHであればフォーカスレンズ112は出力エッジ位置FP_PI5に位置する。   The output of the photo interrupter PI-a changes from H to L when the focus lens position reaches the output edge position FP_PI1 or FP_PI5. At this time, if the output of the photo interrupter PI-c is L, the focus lens 112 is positioned at the output edge position FP_PI1, and if the output of the photo interrupter PI-c is H, the focus lens 112 is positioned at the output edge position FP_PI5.

また、フォトインタラプタPI−bの出力がLからHに変化するのはフォーカスレンズ位置が出力エッジ位置FP_PI2またはFP_PI6に到達したときである。このときフォトインタラプタPI−cの出力がLであればフォーカスレンズ112は出力エッジ位置FP_PI2に位置し、フォトインタラプタPI−cの出力がHであればフォーカスレンズ112は出力エッジ位置FP_PI6に位置する。   The output of the photo interrupter PI-b changes from L to H when the focus lens position reaches the output edge position FP_PI2 or FP_PI6. At this time, if the output of the photo interrupter PI-c is L, the focus lens 112 is positioned at the output edge position FP_PI2, and if the output of the photo interrupter PI-c is H, the focus lens 112 is positioned at the output edge position FP_PI6.

さらに、フォトインタラプタPI−bの出力がHからLに変化すると、フォーカスレンズ112は出力エッジ位置FP_PI4に位置する。同様に、フォトインタラプタPI−cの出力がLからHに変化すると、フォーカスレンズ112は出力エッジ位置FP_PI4′に位置する。   Further, when the output of the photo interrupter PI-b changes from H to L, the focus lens 112 is positioned at the output edge position FP_PI4. Similarly, when the output of the photo interrupter PI-c changes from L to H, the focus lens 112 is positioned at the output edge position FP_PI4 ′.

以上のことから、時間T1〜T9にて特定(検出)されるフォーカスレンズ位置(第1の位置情報)は以下の通りとなる。   From the above, the focus lens position (first position information) specified (detected) at times T1 to T9 is as follows.

時間T1では、モータ駆動方向は被写体方向であるため、検出されるフォーカスレンズ位置はFP_PI3である(ただし、実際はFP_PI1に位置する)。時間T2では、フォトインタラプタPI−aの出力がHからLに変化し、モータ駆動方向が被写体方向であるため、フォーカスレンズ位置はFP_PI1またはFP_PI5である。ただし、フォトインタラプタPI−cの出力がLであるため、検出されるフォーカスレンズ位置はFP_PI1である。   At time T1, since the motor drive direction is the subject direction, the detected focus lens position is FP_PI3 (however, it is actually located at FP_PI1). At time T2, since the output of the photo interrupter PI-a changes from H to L and the motor driving direction is the subject direction, the focus lens position is FP_PI1 or FP_PI5. However, since the output of the photo interrupter PI-c is L, the detected focus lens position is FP_PI1.

時間T4では、フォトインタラプタPI−aの出力がLからHに変化するため、検出されるフォーカスレンズ位置はFP_PI3である。時間T6では、フォトインタラプタPI−bの出力がHからLに変化するため、検出されるフォーカスレンズ位置はFP_PI4である。時間T7では、フォトインタラプタPI−cの出力がLからHに変化するため、検出されるフォーカスレンズ位置はFP_PI4′である。   At time T4, since the output of the photo interrupter PI-a changes from L to H, the detected focus lens position is FP_PI3. At time T6, since the output of the photo interrupter PI-b changes from H to L, the detected focus lens position is FP_PI4. At time T7, since the output of the photo interrupter PI-c changes from L to H, the detected focus lens position is FP_PI4 ′.

時間T8では、フォトインタラプタPI−cの出力がHからLに変化するため、検出されるフォーカスレンズ位置はFP_PI4′である。時間T9では、フォトインタラプタPI−bの出力がLからHに変化し、モータ駆動方向が被写体方向であるため、フォーカスレンズ位置はFP_PI2またはFP_PI6である。ただし、フォトインタラプタPI−cの出力がLであるため、検出されるフォーカスレンズ位置はFP_PI2である(ただし、実際にはFP_PI4である)。   At time T8, since the output of the photo interrupter PI-c changes from H to L, the detected focus lens position is FP_PI4 ′. At time T9, the output of the photo interrupter PI-b changes from L to H and the motor driving direction is the subject direction, so the focus lens position is FP_PI2 or FP_PI6. However, since the output of the photo interrupter PI-c is L, the detected focus lens position is FP_PI2 (however, it is actually FP_PI4).

このように、時間T1と時間T9ではフォーカスレンズ位置を誤検出する。このため、時間T1と時間T9で誤検出されたフォーカスレンズ位置に基づいて脱調判定を行うと、脱調が生じていないにもかかわらず、脱調が生じたとの判定結果が得られる。しかし、本実施例では、時間T1および時間T9は前述した特定駆動状態での駆動区間に含まれる。つまり、時間T1と時間T9で誤検出されたフォーカスレンズ位置に基づく脱調判定は行われない。このため、脱調の誤判定を防止することができる。   Thus, the focus lens position is erroneously detected at time T1 and time T9. For this reason, when the step-out determination is performed based on the focus lens position erroneously detected at the time T1 and the time T9, a determination result that the step-out has occurred is obtained even though the step-out has not occurred. However, in this embodiment, the time T1 and the time T9 are included in the drive section in the specific drive state described above. That is, step-out determination based on the focus lens position erroneously detected at time T1 and time T9 is not performed. For this reason, erroneous determination of step-out can be prevented.

図7には、カメラCPU131により発行されたフォーカス駆動命令を受けたレンズCPU111が行うフォーカス駆動処理を示している。レンズCPU111は、コンピュータプログラムであるフォーカス駆動プログラムに従って本処理を実行する。フォーカス駆動プログラムには、ステッピングモータ113の脱調判定をおこなうためのステッピングモータ駆動状態検出プログラムが含まれている。   FIG. 7 shows a focus drive process performed by the lens CPU 111 that has received a focus drive command issued by the camera CPU 131. The lens CPU 111 executes this processing in accordance with a focus drive program that is a computer program. The focus drive program includes a stepping motor drive state detection program for performing step-out determination of the stepping motor 113.

ステップS101では、レンズCPU111は、カメラCPU131からのフォーカス駆動命令を受信する。レンズCPU111は、受信したフォーカス駆動命令と現在のフォーカスレンズ112の駆動状態に応じて以下の各種設定を行い、フォーカス駆動回路114を介してステッピングモータ113の駆動を制御する。   In step S101, the lens CPU 111 receives a focus drive command from the camera CPU 131. The lens CPU 111 performs the following various settings in accordance with the received focus drive command and the current drive state of the focus lens 112, and controls the drive of the stepping motor 113 via the focus drive circuit 114.

次にステップS102では、レンズCPU111は、フォーカス駆動命令に応じてステッピングモータ113の駆動速度を設定する。例えば、動画撮像中のフォーカスレンズ112の移動による像面移動速度が一定になるように駆動速度が設定される。   In step S102, the lens CPU 111 sets the drive speed of the stepping motor 113 in accordance with the focus drive command. For example, the drive speed is set so that the image plane moving speed due to the movement of the focus lens 112 during moving image capturing is constant.

次にステップS103では、レンズCPU111は、ステッピングモータ113に印加する駆動パルス信号のパワーレートを設定する。フォーカスレンズ位置に応じてステッピングモータ113に加わる負荷トルクが変化する場合には該負荷トルクによる速度変動が生じないように、また駆動音を抑えたい動画撮像においては駆動音が大きくならないように等、撮像条件に応じてパワーレートを設定する。   Next, in step S103, the lens CPU 111 sets the power rate of the drive pulse signal applied to the stepping motor 113. When the load torque applied to the stepping motor 113 changes according to the focus lens position, the speed fluctuation due to the load torque does not occur, and the driving sound does not become loud in moving image capturing that wants to suppress the driving sound. The power rate is set according to the imaging conditions.

次にステップS104では、レンズCPU111は、ステッピングモータ113の駆動量を設定する。本実施例ではフォーカスレンズ112の相対位置駆動を行うため、レンズCPU111はフォーカス駆動命令が発行された時点でのフォーカスレンズ位置からの駆動量(ステッピングモータ113の目標駆動パルス数)を設定する。なお、フォーカスレンズ112の絶対位置駆動を行う場合は、指定された位置にフォーカスレンズ112が移動するように駆動量を設定する。   In step S104, the lens CPU 111 sets the drive amount of the stepping motor 113. In this embodiment, since the relative position of the focus lens 112 is driven, the lens CPU 111 sets a drive amount (target drive pulse number of the stepping motor 113) from the focus lens position when the focus drive command is issued. When absolute position driving of the focus lens 112 is performed, the driving amount is set so that the focus lens 112 moves to a designated position.

次にステップS105では、レンズCPU111は、フォーカス駆動回路114に制御信号を与えてステッピングモータ113に駆動パルス信号を印加させることで、ステッピングモータ113の駆動を開始させる。   Next, in step S <b> 105, the lens CPU 111 starts driving of the stepping motor 113 by giving a control signal to the focus driving circuit 114 and applying a driving pulse signal to the stepping motor 113.

次にステップS200では、レンズCPU111は、脱調検出部115にて脱調判定の許可(非制限)/禁止(制限)を設定する。ここでの処理の詳細については後述する。脱調判定の許可/禁止を設定したレンズCPU111はステップS106に進む。   Next, in step S <b> 200, the lens CPU 111 sets permission (non-restriction) / prohibition (restriction) of step-out determination by the step-out detection unit 115. Details of the processing here will be described later. The lens CPU 111 having set permission / prohibition of the step-out determination proceeds to step S106.

ステップS106では、レンズCPU111は、フォーカスレンズ112の移動によってリセットセンサ群121の出力エッジ(以下、センサ出力エッジという)を検出したか否かを判定する。センサ出力エッジを検出した場合はステップS110に、検出していなければステップS107に進む。なお、以下の説明において、センサ出力エッジが検出されるフォーカスレンズ位置をセンサ出力エッジ位置という。   In step S <b> 106, the lens CPU 111 determines whether an output edge of the reset sensor group 121 (hereinafter referred to as a sensor output edge) is detected by the movement of the focus lens 112. If a sensor output edge is detected, the process proceeds to step S110, and if not detected, the process proceeds to step S107. In the following description, a focus lens position where a sensor output edge is detected is referred to as a sensor output edge position.

ステップS107では、レンズCPU111は、フォーカスレンズ112が停止位置に到達したか否かを判定する。本実施例ではリセットセンサ群121により検出可能なリセット位置を除いてフォーカスレンズ112の絶対位置を検出する手段を持たない。このため、レンズCPU111は、ステップS105でステッピングモータ113の駆動を開始してからステッピングモータに印加した駆動パルス数をカウントし、そのカウント値が停止位置までの目標駆動パルス数に一致したことで停止位置への到達を判定する。停止位置に到達した場合はステップS109に、到達していなければステップS108に進む。   In step S107, the lens CPU 111 determines whether or not the focus lens 112 has reached the stop position. In this embodiment, there is no means for detecting the absolute position of the focus lens 112 except for the reset position detectable by the reset sensor group 121. Therefore, the lens CPU 111 counts the number of driving pulses applied to the stepping motor after starting the driving of the stepping motor 113 in step S105, and stops when the count value matches the target driving pulse number up to the stop position. Judgment of reaching position. If the stop position has been reached, the process proceeds to step S109. If not, the process proceeds to step S108.

ステップS108では、レンズCPU111は、ステッピングモータ113の駆動情報を更新する。ここでは、ステッピングモータ113の駆動量の更新を行う。また、加減速を要する駆動であれば、速度変更タイミングを判定してステッピングモータ113の駆動速度を変更する。さらに、レンズCPU111は、変更された駆動情報に応じてパワーレートも変更する。この後、レンズCPU111はステップS200に戻る。   In step S108, the lens CPU 111 updates the driving information of the stepping motor 113. Here, the drive amount of the stepping motor 113 is updated. If the driving requires acceleration / deceleration, the speed change timing is determined and the driving speed of the stepping motor 113 is changed. Furthermore, the lens CPU 111 also changes the power rate according to the changed drive information. Thereafter, the lens CPU 111 returns to step S200.

ステップS109では、フォーカスレンズ112が停止位置に到達したため、レンズCPU111は、ステッピングモータ113における任意の相の励磁コイルに対す通電保持を行う。そして、通電保持を所定時間行った後は通電を停止して、本処理を終了する。   In step S <b> 109, since the focus lens 112 has reached the stop position, the lens CPU 111 performs energization holding for the excitation coil of an arbitrary phase in the stepping motor 113. Then, after the energization holding is performed for a predetermined time, the energization is stopped and the present process is terminated.

ステップS110では、レンズCPU111は、リセットセンサ群121の出力パターンとモータ駆動方向とを取得して、フォーカスレンズ112が到達したセンサ出力エッジ位置を特定する。   In step S110, the lens CPU 111 acquires the output pattern of the reset sensor group 121 and the motor drive direction, and specifies the sensor output edge position reached by the focus lens 112.

ステップS111では、レンズCPU111は、脱調検出部115に脱調判定のための計算を行わせる。すなわち、ステップS110で特定したセンサ出力エッジ位置に対応する駆動ステップ数(第1の位置情報)とレンズCPU111が管理している現在の駆動パルス累積値(第2の位置情報)との差分値を計算させる。   In step S111, the lens CPU 111 causes the step-out detection unit 115 to perform calculation for step-out determination. That is, the difference value between the number of drive steps (first position information) corresponding to the sensor output edge position specified in step S110 and the current drive pulse accumulated value (second position information) managed by the lens CPU 111 is obtained. Let it be calculated.

そしてステップS112では、レンズCPU111は、脱調検出部115に、ステップS111で算出した差分値と脱調判定閾値とを比較させる。脱調検出部115は、該差分値が脱調判定閾値より大きければ脱調が生じたと判定する。なお、ステップS200で脱調判定が禁止とされた場合は、脱調検出部115は、差分値が脱調判定閾値より大きくても脱調が生じたとの判定は行わない。レンズCPU111は、脱調検出部115により脱調が生じたと判定された場合はステップS113に、そうでなければステップS107に進む。   In step S112, the lens CPU 111 causes the step-out detection unit 115 to compare the difference value calculated in step S111 with the step-out determination threshold value. The step-out detection unit 115 determines that step-out has occurred if the difference value is greater than the step-out determination threshold. If step out determination is prohibited in step S200, the step out detection unit 115 does not determine that step out has occurred even if the difference value is greater than the step out determination threshold. The lens CPU 111 proceeds to step S113 if the step-out detection unit 115 determines that step-out has occurred, and proceeds to step S107 otherwise.

ステップS113では、レンズCPU111は、現在のフォーカス駆動命令を破棄する。ステッピングモータ113に脱調が生じたことでフォーカスレンズ112の位置を管理できなくなっているため、現在のフォーカス駆動命令を破棄してステッピングモータ113を停止させる。   In step S113, the lens CPU 111 discards the current focus drive command. Since the position of the focus lens 112 cannot be managed because the stepping motor 113 has stepped out, the current focus driving command is discarded and the stepping motor 113 is stopped.

次にステップS114では、レンズCPU111は、カメラCPU131に対してリセット処理要求を発行する。該リセット処理要求を受けたカメラCPU131は、レンズCPU111に対してリセット処理命令を発行し、これを受けたレンズCPU111は脱調に対するリカバリ処理として、再度のリセット処理を行う。この後、レンズCPU111は、ステップS114を経て本処理を終了する。   In step S <b> 114, the lens CPU 111 issues a reset processing request to the camera CPU 131. The camera CPU 131 that has received the reset processing request issues a reset processing command to the lens CPU 111, and the lens CPU 111 that has received this request performs reset processing again as recovery processing for the step-out. Thereafter, the lens CPU 111 ends the process through step S114.

次に、図8のフローチャートを用いて、レンズCPU111が図7のステップS200で行う脱調判定の許可/禁止設定処理について説明する。   Next, the step-out determination permission / prohibition setting process performed by the lens CPU 111 in step S200 in FIG. 7 will be described with reference to the flowchart in FIG.

ステップS201では、レンズCPU111はリセット処理が完了しているか否かを判定する。リセット処理が完了していなければフォーカスレンズ112の位置を管理することができないため、ステップS207に進み、脱調判定を禁止する。一方、リセット処理が完了していればステップS202に進む。   In step S201, the lens CPU 111 determines whether the reset process has been completed. Since the position of the focus lens 112 cannot be managed unless the reset process is completed, the process proceeds to step S207, and step-out determination is prohibited. On the other hand, if the reset process is completed, the process proceeds to step S202.

ステップS202では、レンズCPU111は、現在のフォーカスレンズ位置とフォーカスレンズ112(ステッピングモータ113)の駆動を開始した時点でのフォーカスレンズ位置との差である駆動済パルス数を算出する。そし、この駆動済パルス数が前述した所定パルス数としての閾値Th(=4パルス)以上であるか否かを判定する。ここではステッピングモータ113の駆動開始時における不要反転動作が発生する駆動区間(つまりは特定駆動状態)にあるか否かを判定している。レンズCPU111は、駆動済パルス数が閾値Th以上であれば不要反転動作の影響はないとしてステップS203に進み、駆動済パルス数が閾値Thより小さければ不要反転動作の影響があり得るとしてステップS207に進み、脱調判定を禁止する。 In step S202, the lens CPU 111 calculates the number of driven pulses that is the difference between the current focus lens position and the focus lens position at the start of driving the focus lens 112 (stepping motor 113). Then, it is determined whether or not the number of driven pulses is equal to or greater than the threshold Th 1 (= 4 pulses) as the predetermined number of pulses described above. Here, it is determined whether or not it is in a drive section (that is, a specific drive state) where an unnecessary reversal operation occurs when the stepping motor 113 starts to be driven. Lens CPU111, the step as a number of drive already pulse proceeds to step S203 if not effect of unwanted inversion operation if the threshold value Th 1 or more, there may be effects of unwanted inversion operation if the number of drive already pulses is smaller than the threshold value Th 1 Proceeding to S207, step-out determination is prohibited.

ステップS203では、レンズCPU111は、現在のフォーカスレンズ位置と停止位置である目標フォーカスレンズ位置との差、つまりは未駆動パルス数が前述した所定パルス数としての閾値Th(=4パルス)以上であるかを判定する。ここではステッピングモータ113の駆動停止前における不要反転動作が発生する駆動区間(つまりは特定駆動状態)にあるか否かを判定する。レンズCPU111は、未駆動パルス数が閾値Th以上であれば不要反転動作の影響はないとしてステップS204に進み、未駆動パルス数が閾値Thより小さければ不要反転動作の影響があり得るとしてステップS207に進み、脱調判定を禁止する。 In step S203, the lens CPU 111 determines that the difference between the current focus lens position and the target focus lens position that is the stop position, that is, the number of undriven pulses is equal to or greater than the threshold Th 2 (= 4 pulses) as the predetermined number of pulses described above. Determine if there is. Here, it is determined whether or not it is in a drive section (that is, a specific drive state) in which an unnecessary reverse operation occurs before the stepping motor 113 stops driving. Lens CPU111, the step as the non-driving pulse number proceeds to step S204 if not effect of unwanted inversion operation if the threshold value Th 2 or more, there may be effects of unwanted inversion operation if undriven pulse number is smaller than the threshold value Th 2 Proceeding to S207, step-out determination is prohibited.

ステップS204では、レンズCPU111は、ステッピングモータ113の駆動速度が前述した所定速度Spdth(=200pps)以上であるか否かを判定する。ここでは、ステッピングモータ113のディテントトルクによる間欠駆動が生じやすい低速駆動状態(つまりは特定駆動状態)か否かを判定する。レンズCPU111は、駆動速度が所定速度Spdth以上であればステップS205へ、所定速度Spdthより低速であれば間欠駆動が生じ易いとしてステップS207に進み、脱調判定を禁止する。 In step S204, the lens CPU 111 determines whether or not the driving speed of the stepping motor 113 is equal to or higher than the predetermined speed Spd th (= 200 pps) described above. Here, it is determined whether or not the low-speed driving state (that is, the specific driving state) in which intermittent driving due to the detent torque of the stepping motor 113 is likely to occur. Lens CPU111, the drive speed of the step S205 if the predetermined speed Spd th or more, the process proceeds to step S207 as easily intermittent driving occurs if slower than the predetermined speed Spd th, prohibits the step-out determination.

ステップS205では、レンズCPU111は、現在のフォーカスレンズ112の駆動がウォブリング駆動状態(特定駆動状態)であるか否かを判定する。そして、レンズCPU111は、現在の駆動状態がウォブリング駆動状態でなければステップS206に進む。一方、現在の駆動状態がウォブリング駆動状態であれば、脱調判定に適さないとしてステップS207に進み、脱調判定を禁止する。   In step S205, the lens CPU 111 determines whether or not the current driving of the focus lens 112 is in the wobbling driving state (specific driving state). Then, if the current driving state is not the wobbling driving state, the lens CPU 111 proceeds to step S206. On the other hand, if the current driving state is the wobbling driving state, the process proceeds to step S207 because it is not suitable for the step-out determination, and the step-out determination is prohibited.

ステップS206では、レンズCPU111は、脱調検出部115での脱調判定を許可する。すなわち、図7のステップS112において脱調が検出された場合にレンズCPU111に脱調したことを通知することを許可する。そして、本処理を終了する。   In step S <b> 206, the lens CPU 111 permits the step-out determination in the step-out detection unit 115. That is, when the step-out is detected in step S112 in FIG. 7, the lens CPU 111 is notified of the step-out. Then, this process ends.

以上説明したように、本実施例では、ステッピングモータ113が特定駆動状態にあるときには脱調判定を制限するので、脱調の発生の誤検出(誤判定)を回避することができる。   As described above, in this embodiment, the step-out determination is limited when the stepping motor 113 is in the specific drive state, so that it is possible to avoid erroneous detection (error determination) of the occurrence of step-out.

なお、本実施例ではレンズ交換式カメラシステムの交換レンズ110にステッピングモータ駆動状態検出装置としての脱調検出部115を設けた場合につい説明したが、レンズ一体型カメラ(光学機器)にステッピングモータ駆動状態検出装置を設けてもよい。
(その他の実施例)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
In the present embodiment, the case where the step-out detection unit 115 as the stepping motor driving state detection device is provided in the interchangeable lens 110 of the interchangeable lens camera system has been described. However, the stepping motor driving is performed in the lens-integrated camera (optical device). A state detection device may be provided.
(Other examples)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

以上説明した各実施例は代表的な例にすぎず、本発明の実施に際しては、各実施例に対して種々の変形や変更が可能である。   Each embodiment described above is only a representative example, and various modifications and changes can be made to each embodiment in carrying out the present invention.

112 フォーカスレンズ
113 ステッピングモータ
115 脱調検出部
121 リセットセンサ
112 Focus lens 113 Stepping motor 115 Step-out detection unit 121 Reset sensor

Claims (10)

ステッピングモータにより駆動される被駆動部材の位置を検出する位置検出手段からの信号に基づいて前記被駆動部材の第1の位置情報を取得する第1の位置取得手段と、
前記ステッピングモータに印加された駆動パルス信号のパルス数のカウント値に基づいて前記被駆動部材の第2の位置情報を取得する第2の位置取得手段と、
前記第1の位置情報と前記第2の位置情報とを比較することで前記ステッピングモータの脱調を検出する脱調検出手段とを有し、
前記脱調検出手段は、前記ステッピングモータが特定駆動状態にあるときの前記脱調の検出を制限することを特徴とするステッピングモータ駆動状態検出装置。
First position acquisition means for acquiring first position information of the driven member based on a signal from a position detection means for detecting the position of the driven member driven by the stepping motor;
Second position acquisition means for acquiring second position information of the driven member based on a count value of the number of pulses of the drive pulse signal applied to the stepping motor;
A step-out detecting means for detecting step-out of the stepping motor by comparing the first position information and the second position information;
The step-out detection means limits the detection of the step-out when the stepping motor is in a specific drive state.
前記特定駆動状態は、前記ステッピングモータの駆動開始時および駆動停止前のうち少なくとも一方において所定パルス数の前記駆動パルス信号の印加により駆動されている状態であることを特徴とする請求項1に記載のステッピングモータ駆動状態検出装置。   The said specific drive state is a state driven by application of the drive pulse signal of a predetermined number of pulses at least one of when the stepping motor starts driving and before driving stops. Stepping motor drive state detection device. 前記特定駆動状態は、前記ステッピングモータにおいて、ディテントトルクにより駆動方向とは逆方向への反転動作が生じる状態であることを特徴とする請求項1または2に記載のステッピングモータ駆動状態検出装置。   3. The stepping motor drive state detection device according to claim 1, wherein the specific drive state is a state in which a reversal operation in a direction opposite to a drive direction occurs due to a detent torque in the stepping motor. 前記特定駆動状態は、前記ステッピングモータの駆動速度が所定速度より低い状態であることを特徴とする請求項1に記載のステッピングモータ駆動状態検出装置。   The stepping motor drive state detection device according to claim 1, wherein the specific drive state is a state in which a drive speed of the stepping motor is lower than a predetermined speed. 前記特定駆動状態は、前記ステッピングモータの停止シーケンスにおいて前記ステッピングモータへの通電を保持する状態であることを特徴とする請求項1に記載のステッピングモータ駆動状態検出装置。   The stepping motor drive state detection device according to claim 1, wherein the specific drive state is a state in which energization of the stepping motor is maintained in a stop sequence of the stepping motor. 請求項1から5のいずれか一項に記載のステッピングモータ駆動状態検出装置を有し、
前記被駆動部材が光学部材であることを特徴とする光学機器。
The stepping motor drive state detection device according to any one of claims 1 to 5,
An optical apparatus, wherein the driven member is an optical member.
前記光学部材が、光学系の焦点状態を調節するフォーカス素子であることを特徴とする請求項6に記載の光学機器。   The optical apparatus according to claim 6, wherein the optical member is a focus element that adjusts a focus state of an optical system. 前記特定駆動状態は、前記ステッピングモータが前記フォーカス素子を所定駆動量の往復駆動を繰り返す状態であることを特徴とする請求項7に記載の光学機器。   The optical apparatus according to claim 7, wherein the specific drive state is a state in which the stepping motor repeats reciprocating drive of the focus element by a predetermined drive amount. 前記特定駆動状態を、前記フォーカス素子の位置または前記光学系の変倍状態に応じて変更することを特徴とする請求項7に記載の光学機器。   The optical apparatus according to claim 7, wherein the specific drive state is changed according to a position of the focus element or a zooming state of the optical system. コンピュータにステッピングモータの脱調を検出する処理を実行させるコンピュータプログラムであって、
前記処理は、
前記ステッピングモータにより駆動される被駆動部材の位置を検出する位置検出手段からの信号に基づいて前記被駆動部材の第1の位置情報を取得する処理と、
前記ステッピングモータに印加された駆動パルス信号のパルス数のカウント値に基づいて前記被駆動部材の第2の位置情報を取得する処理と、
前記第1の位置情報と前記第2の位置情報とを比較することで前記ステッピングモータの脱調を検出する検出処理とを有し、
前記検出処理は、前記ステッピングモータが特定駆動状態にあるときの前記脱調の検出を制限することを特徴とするステッピングモータ駆動状態検出プログラム。
A computer program for causing a computer to execute processing for detecting stepping motor step-out,
The process is
Processing for obtaining first position information of the driven member based on a signal from a position detecting means for detecting the position of the driven member driven by the stepping motor;
A process of obtaining second position information of the driven member based on a count value of the number of pulses of the driving pulse signal applied to the stepping motor;
A detection process for detecting step-out of the stepping motor by comparing the first position information and the second position information;
The detection process restricts detection of the step-out when the stepping motor is in a specific driving state.
JP2015133727A 2015-07-02 2015-07-02 Stepping motor drive state detection device, optical device, and stepping motor drive state detection program Expired - Fee Related JP6608198B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015133727A JP6608198B2 (en) 2015-07-02 2015-07-02 Stepping motor drive state detection device, optical device, and stepping motor drive state detection program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015133727A JP6608198B2 (en) 2015-07-02 2015-07-02 Stepping motor drive state detection device, optical device, and stepping motor drive state detection program

Publications (3)

Publication Number Publication Date
JP2017017901A true JP2017017901A (en) 2017-01-19
JP2017017901A5 JP2017017901A5 (en) 2018-08-09
JP6608198B2 JP6608198B2 (en) 2019-11-20

Family

ID=57831226

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015133727A Expired - Fee Related JP6608198B2 (en) 2015-07-02 2015-07-02 Stepping motor drive state detection device, optical device, and stepping motor drive state detection program

Country Status (1)

Country Link
JP (1) JP6608198B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0951695A (en) * 1995-08-08 1997-02-18 Toyota Motor Corp State detection device of stepping motor
JP2003100041A (en) * 2001-09-26 2003-04-04 Yamaha Corp Disk device and method for controlling carrying of optical pickup
JP2011101478A (en) * 2009-11-05 2011-05-19 Canon Inc Motor drive device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0951695A (en) * 1995-08-08 1997-02-18 Toyota Motor Corp State detection device of stepping motor
JP2003100041A (en) * 2001-09-26 2003-04-04 Yamaha Corp Disk device and method for controlling carrying of optical pickup
JP2011101478A (en) * 2009-11-05 2011-05-19 Canon Inc Motor drive device

Also Published As

Publication number Publication date
JP6608198B2 (en) 2019-11-20

Similar Documents

Publication Publication Date Title
JP5604293B2 (en) Camera system
JP6347582B2 (en) Rotation detection device, motor control device, motor driven device, correction method and correction program for rotation detection device
JP5007612B2 (en) Focus adjustment device
US20140368676A1 (en) Drive control apparatus and drive control method
JP5693477B2 (en) Interchangeable lens and camera system
JP6292784B2 (en) Stepping motor control device and optical apparatus
JP6608198B2 (en) Stepping motor drive state detection device, optical device, and stepping motor drive state detection program
JP2019184711A (en) Optical apparatus
US7003222B1 (en) Camera, lens apparatus, and camera system
JP5264394B2 (en) Optical equipment
US6104880A (en) Lens driving controller
US6798989B2 (en) Motor control apparatus, lens apparatus, camera system and camera
JP2006146067A (en) Camera, lens device and camera system
JP2008102275A (en) Camera system
JP6363855B2 (en) LENS DEVICE, IMAGING DEVICE, IMAGING SYSTEM CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP6725039B2 (en) Lens barrel and camera
JP2015023700A (en) Control apparatus and control method of actuator
JP6155811B2 (en) Lens barrel and camera
JP5489738B2 (en) Motor control device and optical apparatus
US9762789B2 (en) Autofocus device, imaging device, and autofocus method
JP6494271B2 (en) Stepping motor control device, optical apparatus, stepping motor control method, program, and storage medium
JP6080834B2 (en) Interchangeable lens and camera system
JP2022115691A (en) Lens device, imaging apparatus, control method, and program
JP2021179497A (en) Motor control unit, optical instrument, imaging apparatus, and lens device
JP5923870B2 (en) Optical system drive control device and camera equipped with the same

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180626

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190329

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190530

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191023

R151 Written notification of patent or utility model registration

Ref document number: 6608198

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees