JP6137973B2 - Stepping motor control device, optical apparatus, stepping motor control method, and program - Google Patents

Stepping motor control device, optical apparatus, stepping motor control method, and program Download PDF

Info

Publication number
JP6137973B2
JP6137973B2 JP2013150764A JP2013150764A JP6137973B2 JP 6137973 B2 JP6137973 B2 JP 6137973B2 JP 2013150764 A JP2013150764 A JP 2013150764A JP 2013150764 A JP2013150764 A JP 2013150764A JP 6137973 B2 JP6137973 B2 JP 6137973B2
Authority
JP
Japan
Prior art keywords
stepping motor
speed
drive
target
driving
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
JP2013150764A
Other languages
Japanese (ja)
Other versions
JP2015023702A (en
JP2015023702A5 (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.)
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 JP2013150764A priority Critical patent/JP6137973B2/en
Publication of JP2015023702A publication Critical patent/JP2015023702A/en
Publication of JP2015023702A5 publication Critical patent/JP2015023702A5/ja
Application granted granted Critical
Publication of JP6137973B2 publication Critical patent/JP6137973B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Description

本発明は、ステッピングモータの制御装置、光学機器、ステッピングモータの制御方法、及びプログラムに関し、特に、エンコーダを用いたステッピングモータの制御装置に関するものである。   The present invention relates to a stepping motor control device, an optical apparatus, a stepping motor control method, and a program, and more particularly to a stepping motor control device using an encoder.

ステッピングモータは、コイルへの通電切り替えによって所定の角度毎に回転可能であるため、位置センサを用いることなく容易に位置制御が可能である、という特徴を有している。そのため、決められた時間間隔に従ってコイルへの通電状態を切り替える、オープンループ制御による駆動モードが一般的に用いられている。しかし、モータを高速で駆動させるときや、モータに大きな負荷が掛かるときには、コイルへの通電切り替えに対してロータが応答できなくなり、脱調を起こしやすいという問題がある。   Since the stepping motor can be rotated at a predetermined angle by switching energization to the coil, it has a feature that the position can be easily controlled without using a position sensor. For this reason, a drive mode based on open loop control that switches the energization state of the coil according to a predetermined time interval is generally used. However, when the motor is driven at a high speed or when a large load is applied to the motor, there is a problem that the rotor becomes unable to respond to switching of energization to the coil, and the step-out is likely to occur.

そこで、ロータの位置を検出する位置センサの出力に応じてコイルへの通電状態を切り替える、進角制御を行うことによって、高速駆動が可能な駆動モードに切り替えることができるステッピングモータが知られている。   Therefore, a stepping motor is known that can switch to a driving mode capable of high-speed driving by performing advance angle control that switches the energization state of the coil according to the output of the position sensor that detects the position of the rotor. .

特許文献1にはオープンループ制御と進角制御を組み合わせることにより、駆動制御を行うステッピングモータが記載されている。つまり、低速時にはオープンループ制御で駆動し、高速時は進角制御で駆動することで、幅広い速度領域の駆動を精度よく行うことができる。   Patent Document 1 describes a stepping motor that performs drive control by combining open loop control and advance angle control. In other words, driving in open speed control at low speed and driving by advance angle control at high speed enables driving in a wide speed range with high accuracy.

特開2013−27156号公報JP 2013-27156 A

特許文献1に記載のステッピングモータは、モータを高速に駆動させる場合、進角制御を行っている。このとき、トルクマージンが少ない駆動速度でモータを駆動しているため、モータの加減速中にモータの目標駆動速度を変更すると、モータが制御不能な状態に陥るおそれがある。   The stepping motor described in Patent Document 1 performs advance angle control when the motor is driven at high speed. At this time, since the motor is driven at a driving speed with a small torque margin, if the target driving speed of the motor is changed during the acceleration / deceleration of the motor, the motor may fall into an uncontrollable state.

本発明は、ステッピングモータにおける目標駆動速度の変更を適切なタイミングで行うことにより、制御不能な状態に陥ることなくステッピングモータの制御を行うことができるステッピングモータの制御装置を提供すること目的とする。   An object of the present invention is to provide a control device for a stepping motor that can control the stepping motor without falling into an uncontrollable state by changing the target drive speed in the stepping motor at an appropriate timing. .

本発明のステッピングモータの制御装置は、ステッピングモータのコイルに印加される励磁電流と、前記ステッピングモータの回転位置との位相差である進角を調整することにより、前記ステッピングモータを駆動する進角駆動手段と、前記ステッピングモータをオープンループ制御によって駆動するオープンループ駆動手段と、前記進角駆動手段による進角制御と、前記オープンループ駆動手段によるオープンループ制御を切り替える制御手段を有するステッピングモータの制御装置であって、前記進角駆動手段は、前記ステッピングモータの駆動速度が目標駆動速度に到達しているときは、前記目標駆動速度の変更を許可し、前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているときは、前記目標駆動速度の変更を禁止し、前記オープンループ駆動手段は、前記ステッピングモータの駆動速度が目標駆動速度に到達しているとき、および前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているとき、前記目標駆動速度の変更を許可することを特徴とする。 Control device for a stepping motor of the present invention, by adjusting the excitation current applied to the coil of the scan stepping motor, the advance is the phase difference between the rotational position of the stepping motor, drives the stepping motor Stepping motor having an advance angle drive means, an open loop drive means for driving the stepping motor by open loop control, an advance angle control by the advance angle drive means, and a control means for switching between open loop control by the open loop drive means The advance angle drive means permits the change of the target drive speed when the drive speed of the stepping motor has reached the target drive speed, and sets the drive speed of the stepping motor. when toward the target drive velocity is changing, the variable of the target drive velocity Prohibited, the open loop drive means, when said driving speed of the stepping motor has reached the target drive velocity, and the driving speed of the stepping motor when is varied toward the target drive velocity, the The change of the target drive speed is permitted.

本発明の他の側面のステッピングモータの制御装置は、ステッピングモータのコイルに供給される励磁電流と、前記ステッピングモータの回転位置との位相差である進角を調整することにより、前記ステッピングモータを駆動する進角駆動手段と、前記ステッピングモータをオープンループ制御によって駆動するオープンループ駆動手段と、前記進角駆動手段による進角制御と、前記オープンループ駆動手段によるオープンループ制御を切り替える制御手段を有するステッピングモータの制御装置であって、前記進角駆動手段は、前記ステッピングモータの駆動速度が目標駆動速度に到達しているときは、前記目標駆動速度の変更を許可し、前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているに、前記目標駆動速度が第1の速度から第2の速度に変更されときは、前記ステッピングモータの駆動速度を前記第1の速度に到達させてから、前記第2の速度に向けて前記ステッピングモータの駆動速度を変化させ、前記オープンループ駆動手段は、前記ステッピングモータの駆動速度が目標駆動速度に到達しているとき、および前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているとき、前記目標駆動速度の変更を許可することを特徴とする。 Another control device for a stepping motor aspect of the present invention, by adjusting the excitation current supplied to the coil of the scan stepping motor, the advance is the phase difference between the rotational position of the stepping motor, the stepping Advance driving means for driving a motor, Open loop driving means for driving the stepping motor by open loop control, Control means for switching between advance control by the advance drive means and open loop control by the open loop drive means A stepping motor control device, wherein the advance driving means permits the change of the target driving speed when the driving speed of the stepping motor has reached the target driving speed, and the stepping motor of the stepping motor while varied toward the target driving speed driving speed, the target driving speed When the first speed is changed to the second speed, the driving speed of the stepping motor from the allowed to reach the first speed, changing the driving speed of the stepping motor toward the second speed is the open loop driving means, when the drive speed of the stepping motor has reached the target drive velocity, and the driving speed of the stepping motor when is varied toward the target driving speed, the target driving It is characterized by allowing a change in speed.

本発明の他の側面のステッピングモータの制御装置は、ステッピングモータのコイルに供給される励磁電流と、前記ステッピングモータの回転位置との位相差である進角を調整することにより、前記ステッピングモータを駆動する進角駆動手段と、前記ステッピングモータをオープンループ制御によって駆動するオープンループ駆動手段と、前記進角駆動手段による進角制御と、前記オープンループ駆動手段によるオープンループ制御を切り替える制御手段を有するステッピングモータの制御装置であって、前記進角駆動手段は、前記ステッピングモータの駆動速度が目標駆動速度に到達しているときは、前記目標駆動速度の変更を許可し、前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているに、前記目標駆動速度が第1の速度から第2の速度に変更されときは、前記ステッピングモータの駆動速度が所定期間一定になるように前記進角の調整を行った後に、前記第2の速度に向けて前記ステッピングモータの駆動速度を変化させ、前記オープンループ駆動手段は、前記ステッピングモータの駆動速度が目標駆動速度に到達しているとき、および前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているときは、前記目標駆動速度の変更を許可することを特徴とする。 Another control device for a stepping motor aspect of the present invention, by adjusting the excitation current supplied to the coil of the scan stepping motor, the advance is the phase difference between the rotational position of the stepping motor, the stepping Advance driving means for driving a motor, Open loop driving means for driving the stepping motor by open loop control, Control means for switching between advance control by the advance drive means and open loop control by the open loop drive means A stepping motor control device, wherein the advance driving means permits the change of the target driving speed when the driving speed of the stepping motor has reached the target driving speed, and the stepping motor of the stepping motor while varied toward the target driving speed driving speed, the target driving speed When the first speed is changed to the second speed, after said drive speed of the stepping motor is subjected to adjustment of the advance to a predetermined period constant, the toward the second speed stepper The drive speed of the motor is changed, and the open loop drive means changes the drive speed of the stepping motor toward the target drive speed when the drive speed of the stepping motor has reached the target drive speed. In this case, the change of the target drive speed is permitted.

本発明によれば、ステッピングモータにおける目標駆動速度の変化を適切なタイミングで行うことにより、制御不能な状態に陥ることなくステッピングモータの制御を行うことができる。   According to the present invention, the stepping motor can be controlled without falling into an uncontrollable state by changing the target driving speed in the stepping motor at an appropriate timing.

本発明の制御装置の構成を示すブロック図。The block diagram which shows the structure of the control apparatus of this invention. 本発明の制御装置の詳細を示すブロック図。The block diagram which shows the detail of the control apparatus of this invention. 進角制御の概念を示す説明図。Explanatory drawing which shows the concept of advance angle control. ステッピングモータの速度と進角値の関係を示す特性図。The characteristic view which shows the relationship between the speed of a stepping motor, and an advance value. 進角制御時の速度変化の一例を示す図。The figure which shows an example of the speed change at the time of advance angle control. 進角制御時の速度変化の一例を示す図。The figure which shows an example of the speed change at the time of advance angle control. 進角制御を用いたモータ制御方法を示すフローチャート。The flowchart which shows the motor control method using advance angle control. 実施例1における、進角制御中に目標速度の変更があった場合の制御方法を示すフローチャート。5 is a flowchart illustrating a control method when a target speed is changed during advance angle control in the first embodiment. 実施例1における、進角制御中での速度変更(加速)を示す図。The figure which shows the speed change (acceleration) in advance angle control in Example 1. FIG. 実施例1における、進角制御中での速度変更(減速)を示す図。The figure which shows the speed change (deceleration) in advance angle control in Example 1. FIG. 実施例2における、進角制御中に目標速度の変更があった場合の制御方法を示すフローチャート。9 is a flowchart illustrating a control method when a target speed is changed during advance angle control in the second embodiment. 実施例2における、進角制御中での速度変更(加速)を示す図。The figure which shows the speed change (acceleration) in advance angle control in Example 2. FIG. 実施例2における、進角制御中での速度変更(減速)を示す図。The figure which shows the speed change (deceleration) in advance angle control in Example 2. FIG. 実施例3における、進角制御中に目標速度の変更があった場合の制御方法を示すフローチャート。10 is a flowchart illustrating a control method when a target speed is changed during advance angle control in the third embodiment. 実施例3における、進角制御中での速度変更(加速)を示す図。The figure which shows the speed change (acceleration) in advance angle control in Example 3. FIG. 実施例3における、進角制御中での速度変更(減速)を示す図。The figure which shows the speed change (deceleration) in advance angle control in Example 3. FIG.

以下に、本発明の好ましい実施形態を、添付の図面に基づいて詳細に説明する。図1は、本発明のステッピングモータの制御装置を示すブロック図である。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing a control device for a stepping motor according to the present invention.

100は、フォーカスレンズ群である。フォーカスレンズ群100は、図1に示す矢印の方向(撮影光学系の光軸方向)に移動することにより、焦点調節を行う。撮影光学系を透過した光束は、不図示の撮像素子によって光電変換され、電気信号として出力される。フォーカスレンズ群100は、カム環やガイドバー等から構成されるレンズ保持部122によって保持される。レンズ保持部122は光軸方向に移動可能に構成される。   Reference numeral 100 denotes a focus lens group. The focus lens group 100 performs focus adjustment by moving in the direction of the arrow shown in FIG. 1 (the optical axis direction of the photographing optical system). The light beam that has passed through the photographing optical system is photoelectrically converted by an image pickup device (not shown) and output as an electric signal. The focus lens group 100 is held by a lens holding unit 122 including a cam ring and a guide bar. The lens holding part 122 is configured to be movable in the optical axis direction.

109は、ステッピングモータの駆動制御等を行う制御マイコンである。103は、ギアやリードスクリュー等の駆動伝達ユニットであり、104は、ステッピングモータ(以降、モータ104と記載する)である。モータ104の回転軸が回転することで、駆動伝達ユニット103を介して、レンズ保持部122とフォーカスレンズ群100を一体に駆動することができる。   Reference numeral 109 denotes a control microcomputer that performs drive control of the stepping motor and the like. Reference numeral 103 denotes a drive transmission unit such as a gear or a lead screw, and reference numeral 104 denotes a stepping motor (hereinafter referred to as a motor 104). By rotating the rotation shaft of the motor 104, the lens holding unit 122 and the focus lens group 100 can be driven integrally via the drive transmission unit 103.

モータ104を駆動するための制御信号は、制御マイコン109で生成される。制御マイコン109は、モータ104の駆動方式に合わせてモータ104の各相に対する励磁パターンを生成する。生成された制御信号は、モータドライバ107でモータ104の駆動に必要な電流、電圧に変換され、モータ104に供給される。   A control signal for driving the motor 104 is generated by the control microcomputer 109. The control microcomputer 109 generates an excitation pattern for each phase of the motor 104 in accordance with the driving method of the motor 104. The generated control signal is converted into current and voltage necessary for driving the motor 104 by the motor driver 107 and supplied to the motor 104.

制御マイコン109には、モータ104の目標駆動速度を指定する不図示の速度指示部、進角駆動を行うための進角駆動回路110、オープンループ駆動を行うためのオープンループ駆動回路111が含まれる。また、制御部112が含まれ、制御部112は、進角制御、オープンループ制御のいずれかを選択して、制御の切り替えを行う切り替え手段としての機能を有する。また、制御部112は、オープンループ駆動回路111及び進角駆動回路110に対して、駆動パルス数と回転方向に関する情報を送信する。速度指示部は、モータ104を特定の回転速度で動作させるため、目標駆動速度を表す信号を制御部112に送信する。   The control microcomputer 109 includes a speed instruction unit (not shown) for specifying the target drive speed of the motor 104, an advance drive circuit 110 for performing advance drive, and an open loop drive circuit 111 for performing open loop drive. . Further, a control unit 112 is included, and the control unit 112 has a function as a switching unit that switches between control by selecting either advance angle control or open loop control. In addition, the control unit 112 transmits information regarding the number of drive pulses and the rotation direction to the open loop drive circuit 111 and the advance drive circuit 110. The speed instruction unit transmits a signal representing the target drive speed to the control unit 112 in order to operate the motor 104 at a specific rotation speed.

図2は、図1におけるモータ104の制御装置における制御方法の詳細を示す図である。図2を用いて、オープンループ駆動回路111を用いたオープンループ駆動と、進角駆動回路110を用いた進角駆動を切り替えながら、モータ104の制御を行う方法を説明する。   FIG. 2 is a diagram showing details of a control method in the control device for the motor 104 in FIG. A method of controlling the motor 104 while switching between open-loop driving using the open-loop driving circuit 111 and advance-angle driving using the advance-angle driving circuit 110 will be described with reference to FIG.

位置センサ信号処理回路108は、モータ104の第1の位置センサ101a及び第2の位置センサ101bの出力を処理する。第1の位置センサ101a及び第2の位置センサ101bは、モータ104を構成するロータの回転位置を検出するために用いられ、フォトインタラプタ等を用いて構成される。位置センサ(フォトインタラプタ)101a及び101bについては後述する。   The position sensor signal processing circuit 108 processes the outputs of the first position sensor 101 a and the second position sensor 101 b of the motor 104. The first position sensor 101a and the second position sensor 101b are used to detect the rotational position of the rotor constituting the motor 104, and are configured using a photo interrupter or the like. The position sensors (photo interrupters) 101a and 101b will be described later.

位置センサ信号処理回路108からの出力は、制御部112および進角駆動回路110に入力される。進角駆動回路110は、モータ104の駆動信号を生成する進角駆動手段として機能する。オープンループ駆動回路111は、モータ104の駆動信号を生成するオープンループ駆動手段として機能する。進角駆動回路110から出力される駆動パルスおよびオープンループ駆動回路111から出力される駆動パルスは、モータドライバ107を介してモータ104に供給される。   The output from the position sensor signal processing circuit 108 is input to the control unit 112 and the advance drive circuit 110. The advance drive circuit 110 functions as advance drive means for generating a drive signal for the motor 104. The open loop drive circuit 111 functions as an open loop drive unit that generates a drive signal for the motor 104. The drive pulse output from the advance drive circuit 110 and the drive pulse output from the open loop drive circuit 111 are supplied to the motor 104 via the motor driver 107.

(オープンループ駆動)
次に、モータ104のオープンループ駆動について説明する。
(Open loop drive)
Next, open loop driving of the motor 104 will be described.

まず、制御部112からオープンループ駆動回路111に駆動パルス数と回転方向が出力される。オープンループ駆動回路111は、入力された駆動パルス数と回転方向にしたがって、予め設定される時間間隔の駆動パルスをモータドライバ107に出力する。モータドライバ107は、予め設定される時間間隔の駆動パルスにしたがって、第1のコイル及び第2のコイルの通電パターンを順次切り替える。オープンループ駆動では、オープンループ駆動回路111が出力する駆動パルスの時間間隔を変更することによって、ロータの回転速度を変更することが可能である。   First, the number of drive pulses and the rotation direction are output from the control unit 112 to the open loop drive circuit 111. The open loop drive circuit 111 outputs a drive pulse at a preset time interval to the motor driver 107 according to the input drive pulse number and rotation direction. The motor driver 107 sequentially switches the energization patterns of the first coil and the second coil in accordance with a driving pulse at a preset time interval. In the open loop drive, it is possible to change the rotational speed of the rotor by changing the time interval of the drive pulses output from the open loop drive circuit 111.

オープンループ駆動の際に、駆動パルスの時間間隔を短くしていくと、第1のコイル及び第2のコイルの通電パターンの切り替えに対してロータが応答できなくなり、脱調を起こす可能性がある。このため、オープンループ駆動における駆動速度は、第1のコイル及び第2のコイルの通電パターンの切り替えに対してロータが応答できる範囲内に設定される。   If the drive pulse time interval is shortened during open-loop driving, the rotor cannot respond to switching of the energization patterns of the first coil and the second coil, and there is a possibility of causing a step-out. . For this reason, the drive speed in the open loop drive is set within a range in which the rotor can respond to switching of the energization patterns of the first coil and the second coil.

(進角駆動)
次に、進角駆動について説明する。
(Advance drive)
Next, the advance drive will be described.

まず、制御部112から進角駆動回路110に駆動パルス数と回転方向が出力される。進角駆動回路110は、入力された駆動パルス数と回転方向にしたがって、所定の時間間隔の駆動パルスをモータドライバ107に出力する。進角駆動回路110から出力される駆動パルスの時間間隔は、第1の位置センサ(フォトインタラプタ)101a及び第2の位置センサ(フォトインタラプタ)101bの出力によって変化する。モータドライバ107は、第1の位置センサ101a及び第2の位置センサ101bの出力によって変化する時間間隔の駆動パルスにしたがって、第1のコイル及び第2のコイルの通電パターンを順次切り替える。また、進角駆動回路110は、第1の位置センサ101a及び第2の位置センサ101bの出力から進角信号を生成する。進角駆動回路110は進角を調整することで、モータ104のトルク−回転数特性を変化させることが可能となる。このような進角駆動における制御を進角制御という。   First, the number of drive pulses and the rotation direction are output from the control unit 112 to the advance drive circuit 110. The advance drive circuit 110 outputs drive pulses at predetermined time intervals to the motor driver 107 in accordance with the input drive pulse number and rotation direction. The time interval of the drive pulses output from the advance drive circuit 110 varies depending on the outputs of the first position sensor (photo interrupter) 101a and the second position sensor (photo interrupter) 101b. The motor driver 107 sequentially switches the energization patterns of the first coil and the second coil in accordance with the driving pulse at time intervals that change according to the outputs of the first position sensor 101a and the second position sensor 101b. Further, the advance angle driving circuit 110 generates an advance angle signal from the outputs of the first position sensor 101a and the second position sensor 101b. The advance angle drive circuit 110 can change the torque-rotational speed characteristic of the motor 104 by adjusting the advance angle. Such control in advance drive is called advance control.

このように、進角駆動では、第1の位置センサ101a及び第2の位置センサ101bの出力によって変化する時間間隔で第1のコイル及び第2のコイルの通電パターンを切り替える。ロータの位置に応じて、第1のコイル及び第2のコイルの通電パターンの切り替えを行うため、ロータの応答遅れによる脱調の発生を抑制し、オープンループ駆動よりも高速な駆動を実現することができる。   As described above, in the advance angle driving, the energization patterns of the first coil and the second coil are switched at time intervals that change according to the outputs of the first position sensor 101a and the second position sensor 101b. Since the energization pattern of the first coil and the second coil is switched according to the position of the rotor, the occurrence of step-out due to the response delay of the rotor is suppressed, and the driving at a speed higher than the open loop driving is realized. Can do.

次にエンコーダ(位置検出センサ)について説明する。モータ104の回転軸には、パルス板105が装着されている。パルス板105の遮光部が、第1の位置センサ(フォトインタラプタ)101a、第2の位置センサ(フォトインタラプタ)101bを通過することで、フォトインタラプタ101a、101bの出力が変化する。出力の変化からモータ104の回転角を検出することできる。本発明においては、位置センサとしてフォトインタラプタを用いている。複数のフォトインタラプタを用いることで、回転角を精度よく検出することができ、さらには、モータ104の回転方向を判別することができる。なお、ホール素子やマグネットを用いてエンコーダを構成してもよい。108は、位置センサ信号処理回路であり、フォトインタラプタ101a、101bの出力を増幅、レベル変換する。これにより、フォトインタラプタ101a、101bの出力が、制御マイコン109で検出可能な信号レベルに変換される。   Next, the encoder (position detection sensor) will be described. A pulse plate 105 is attached to the rotation shaft of the motor 104. As the light shielding portion of the pulse plate 105 passes through the first position sensor (photo interrupter) 101a and the second position sensor (photo interrupter) 101b, the outputs of the photo interrupters 101a and 101b change. The rotation angle of the motor 104 can be detected from the change in output. In the present invention, a photo interrupter is used as the position sensor. By using a plurality of photo interrupters, the rotation angle can be detected with high accuracy, and the rotation direction of the motor 104 can be determined. The encoder may be configured using a Hall element or a magnet. A position sensor signal processing circuit 108 amplifies and level-converts the outputs of the photo interrupters 101a and 101b. As a result, the outputs of the photo interrupters 101a and 101b are converted into signal levels that can be detected by the control microcomputer 109.

102は、フォーカスレンズ群100の基準位置を検出するためのフォトインタラプタである。フォトインタラプタ102の出力は信号処理回路106に入力され、制御マイコン109で検出可能な信号レベル(例えば、High/Lowレベル)に変換される。フォトインタラプタ102の出力がHighレベルからLowレベルに変化する時点、もしくはLowレベルからHighレベルに変化する時点におけるフォーカスレンズ群100の位置を基準位置として用いる。これにより、フォーカスレンズ群100の絶対位置を検出することができる。   Reference numeral 102 denotes a photo interrupter for detecting the reference position of the focus lens group 100. The output of the photo interrupter 102 is input to the signal processing circuit 106 and converted to a signal level (for example, High / Low level) that can be detected by the control microcomputer 109. The position of the focus lens group 100 at the time when the output of the photo interrupter 102 changes from the High level to the Low level or when the output from the Low level changes to the High level is used as the reference position. Thereby, the absolute position of the focus lens group 100 can be detected.

次に、エンコーダを備えたモータ104の駆動制御方法について、図3を用いて説明する。図3は、モータ104のコイルに印加される励磁電流の波形を表している。本発明においては、モータ104の回転位置を検出するエンコーダの出力に対して進角制御を行うことにより、進角駆動を行っている。つまり、モータ104の回転位置を検出するエンコーダの出力を進相させた、励磁波形によってモータ104のコイルに印加する電流を制御している。ここで、モータ104のコイルに印加される励磁電流と、モータ104の回転位置を検出するエンコーダの出力の位相との位相差を進角と記載する。   Next, a drive control method of the motor 104 provided with the encoder will be described with reference to FIG. FIG. 3 shows a waveform of the excitation current applied to the coil of the motor 104. In the present invention, advance angle control is performed by performing advance angle control on the output of the encoder that detects the rotational position of the motor 104. That is, the current applied to the coil of the motor 104 is controlled by the excitation waveform obtained by advancing the output of the encoder that detects the rotational position of the motor 104. Here, the phase difference between the excitation current applied to the coil of the motor 104 and the phase of the output of the encoder that detects the rotational position of the motor 104 is referred to as an advance angle.

モータ104をオープンループ制御する場合、十分にトルクマージンのある速度で駆動を行う。一方、進角制御の場合、エンコーダで検出したモータ104の回転角あるいは回転速度に応じて、励磁電流を印加することでモータ104を制御する。   When the motor 104 is subjected to open loop control, the motor 104 is driven at a speed with a sufficient torque margin. On the other hand, in the advance angle control, the motor 104 is controlled by applying an excitation current according to the rotation angle or rotation speed of the motor 104 detected by the encoder.

一般に、進角とモータ104の回転速度の間には、進角を大きくすれば回転速度が速くなる関係があるため、進角を調節することにより、モータ104の回転速度を進角制御することができる。   In general, there is a relationship between the advance angle and the rotation speed of the motor 104, and if the advance angle is increased, the rotation speed increases. Therefore, the advance speed of the motor 104 is controlled by adjusting the advance angle. Can do.

図3に示すように、エンコーダの出力に関して、High/Lowの切り換えエッジを基準として、所定の励磁相のゼロクロス点と同位相の場合を進角が0°とする。モータ104の回転速度を上げる場合、進角を大きくする。センサ出力のエッジごとに進角を大きくする操作を繰り返すことで、目標とする回転速度まで徐々に速度を上げることができる。   As shown in FIG. 3, with respect to the output of the encoder, the lead angle is set to 0 ° when the phase is the same as the zero cross point of a predetermined excitation phase with reference to the switching edge of High / Low. When the rotational speed of the motor 104 is increased, the advance angle is increased. By repeating the operation of increasing the advance angle for each edge of the sensor output, the speed can be gradually increased to the target rotational speed.

一方、モータ104の回転速度を下げる場合、センサ出力のエッジごとに進角を小さくする操作を繰り返すことで、目標とする回転速度まで徐々に減速することができる。また、モータ104の回転速度を一定とする場合は、進角の制御を繰り返し行い、回転速度を収束させる。なお、図3において、センサの出力エッジと励磁波形B相のゼロクロス点は一致しているが、実際にはエンコーダの出力の位相とモータ104の励磁電流の位相のずれを補正する必要がある。   On the other hand, when lowering the rotation speed of the motor 104, the operation can be gradually reduced to the target rotation speed by repeating the operation of decreasing the advance angle for each edge of the sensor output. When the rotation speed of the motor 104 is constant, the advance angle control is repeated to converge the rotation speed. In FIG. 3, the output edge of the sensor and the zero cross point of the excitation waveform B phase coincide with each other, but in practice, it is necessary to correct the deviation between the output phase of the encoder and the excitation current phase of the motor 104.

ここで、図4を用いて進角の制御方法について説明する。進角の制御方法として、モータ104の目標速度と現在の速度の差(速度偏差)をもとに進角を決定し、目標速度に到達するまで進角を変更しない、第1の進角制御方法がある。また、目標速度に到達するまでの間に、速度偏差を複数回求め、速度偏差を取得するタイミングで進角を調整する、第2の進角制御方法がある。   Here, a method for controlling the advance angle will be described with reference to FIG. As the advance angle control method, first advance angle control is performed in which the advance angle is determined based on the difference (speed deviation) between the target speed of the motor 104 and the current speed, and the advance angle is not changed until the target speed is reached. There is a way. In addition, there is a second advance angle control method in which the speed deviation is obtained a plurality of times until the target speed is reached, and the advance angle is adjusted at the timing of obtaining the speed deviation.

第1の進角制御方法では、目標速度に到達するまでの間に進角の変更を行わないため、目標速度に素早く到達することができる。図4(a)は、第1の進角制御方法における、進角とモータ104の回転速度の関係を示している。ここで、進角をAtと定めてからは、目標速度Stに到達するまで進角の変更を行わない。   In the first advance angle control method, since the advance angle is not changed until the target speed is reached, the target speed can be reached quickly. FIG. 4A shows the relationship between the advance angle and the rotation speed of the motor 104 in the first advance angle control method. Here, after the advance angle is determined as At, the advance angle is not changed until the target speed St is reached.

第2の進角制御方法では、目標速度に到達するまでの間に進角を変更することができるため、速度変動を制御し、進角の変更にモータ104の回転が追従しているか否かを確認しつつ、モータ104の回転速度を変更することができる。図4(b)は、第2の進角制御方法における、進角とモータ104の回転速度の関係を示している。ここで、目標速度Stに到達するまでの間に、進角を徐々に変化させることで滑らかな速度変動を実現している。   In the second advance angle control method, since the advance angle can be changed until the target speed is reached, the speed fluctuation is controlled, and whether or not the rotation of the motor 104 follows the change in the advance angle. The rotational speed of the motor 104 can be changed while confirming the above. FIG. 4B shows the relationship between the advance angle and the rotation speed of the motor 104 in the second advance angle control method. Here, smooth speed fluctuation is realized by gradually changing the advance angle until the target speed St is reached.

モータ104の速度変化の過程を図5に示す。モータ駆動を開始するときは、オープンループ制御による駆動を行う。これは、エンコーダの出力が安定するまでの間に進角制御を行うと、正確な進角を得ることができないためである。エンコーダの検出分解能が高く、進角に対するモータ104の回転速度の追従性がよい場合には、オープンループ制御による駆動の時間を短くすることができる。モータ104の駆動を開始してから、進角制御に切り替えるまでの期間を駆動開始期間と呼ぶ。オープンループ制御から進角制御に制御を切り替えた後、回転速度が上昇し、目標速度Stに到達する。モータ104の回転を停止するときは、進角制御により減速を行い、オープンループ制御に切り替えた後に駆動が停止する。オープンループ制御への切り替えを行ってから、モータ104の駆動が停止するまでの期間を駆動停止期間と呼ぶ。ここではモータ104の駆動開始と停止のタイミングで進角制御とオープンループ制御の切り換えを行っているが、進角制御のみで駆動を行うことも可能である。   The process of changing the speed of the motor 104 is shown in FIG. When starting motor drive, drive by open loop control is performed. This is because if the advance angle control is performed before the output of the encoder is stabilized, an accurate advance angle cannot be obtained. If the detection resolution of the encoder is high and the followability of the rotation speed of the motor 104 with respect to the advance angle is good, the drive time by open loop control can be shortened. A period from the start of driving of the motor 104 to switching to advance angle control is referred to as a drive start period. After the control is switched from the open loop control to the advance angle control, the rotation speed increases and reaches the target speed St. When stopping the rotation of the motor 104, the drive is decelerated by the advance angle control and the drive is stopped after switching to the open loop control. A period from when switching to open loop control to when driving of the motor 104 is stopped is referred to as a drive stop period. Here, the advance angle control and the open loop control are switched at the drive start and stop timings of the motor 104, but the drive can be performed only by the advance angle control.

図5において、オープンループ制御から進角制御へ切り換えを行ってから、目標速度Stに到達するまでの間が加速期間である。また、減速を開始した後、進角制御からオープンループ制御へ切り換えが行われるまでの間が減速期間である。   In FIG. 5, the acceleration period is from when the open loop control is switched to the advance angle control until the target speed St is reached. Further, the deceleration period is a period from when the deceleration is started to when the advance angle control is switched to the open loop control.

図6は、図5と同じように、モータ104の速度変化の過程を示している。図5との相違点は、定速駆動であると判断する速度に幅を持たせていることである。図5では、目標速度Stに到達すると、定速駆動を行い、定速駆動中の駆動速度をStに設定する。このとき定速駆動中の駆動速度をStと定めると、駆動速度に揺らぎが生じた場合に、定速駆動中にも関わらず、加減速駆動中と判断してしまうおそれがある。そこで、図6に示すように、定速駆動であると判断する速度をSlからSuの値に設定することで、定速駆動中にも関わらず、誤って加減速駆動中であると判断されることを防止している。   FIG. 6 shows the process of changing the speed of the motor 104 as in FIG. The difference from FIG. 5 is that there is a range in the speed at which it is determined that the driving is constant speed. In FIG. 5, when the target speed St is reached, constant speed driving is performed, and the driving speed during constant speed driving is set to St. At this time, if the driving speed during constant speed driving is set to St, when fluctuation occurs in the driving speed, it may be determined that acceleration / deceleration driving is being performed despite constant speed driving. Therefore, as shown in FIG. 6, by setting the speed at which constant speed driving is determined to a value from S1 to Su, it is erroneously determined that acceleration / deceleration driving is being performed despite constant speed driving. Is prevented.

図7は、図5や図6に示した速度制御の過程を実行するための方法を示したフローチャートである。図7において、「S」は「ステップ」の略であり、図7に示すフローチャートは、コンピュータに各ステップの機能を実現させるための制御プログラムとして具現化が可能である。各ステップは、特に断らない限り制御マイコン109によって実行される。   FIG. 7 is a flowchart showing a method for executing the speed control process shown in FIGS. 5 and 6. In FIG. 7, “S” is an abbreviation for “step”, and the flowchart shown in FIG. 7 can be embodied as a control program for causing a computer to realize the function of each step. Each step is executed by the control microcomputer 109 unless otherwise specified.

まずS101において、目標速度Stが設定され、モータ104の駆動を開始する。S102で示すように、駆動を開始するときにはオープンループ制御が行われる。次に、S103において、オープンループ制御により、進角制御を行うために必要な駆動量の駆動が行われた否かを判定する。必要な駆動量の駆動が行われたと判定されたときは、S104に移行する。必要な駆動が行われていないと判定されたときは、S103の判定を繰り返し行う。ここで、進角制御を行うために必要な駆動量とは、エンコーダの出力を安定させるために必要なモータ104の回転駆動量を示す。   First, in S101, a target speed St is set, and driving of the motor 104 is started. As shown in S102, open loop control is performed when driving is started. Next, in S103, it is determined whether or not the drive amount necessary for performing the advance angle control is performed by the open loop control. When it is determined that the necessary drive amount has been driven, the process proceeds to S104. When it is determined that the necessary drive is not performed, the determination of S103 is repeated. Here, the drive amount necessary for performing the advance angle control indicates the rotational drive amount of the motor 104 necessary for stabilizing the output of the encoder.

S104では、オープンループ制御から進角制御への切り替えを行う。また、進角制御を行っていることを示す進角制御フラグをセットする。S105では、目標速度に到達したか否かの判定を行う。目標速度に到達していない場合には、S107において加速または減速中であると判断し、加減速フラグをセットする。目標速度に到達した場合には、S106において定速駆動中であると判断し、加減速フラグをクリアする。ここで図5に示したように、目標速度そのものに到達したか否かを判定するのではなく、目標速度Stに幅を持たせて、目標速度への到達判定を行ってもよい。   In S104, switching from open loop control to advance angle control is performed. Further, the advance angle control flag indicating that the advance angle control is being performed is set. In S105, it is determined whether or not the target speed has been reached. If the target speed has not been reached, it is determined in S107 that acceleration or deceleration is in progress, and an acceleration / deceleration flag is set. If the target speed has been reached, it is determined in S106 that constant speed driving is in progress, and the acceleration / deceleration flag is cleared. Here, as shown in FIG. 5, instead of determining whether or not the target speed itself has been reached, the target speed St may be determined by giving a range to the target speed St.

S108では、目標の駆動量に対する残駆動量が所定量よりも少ないか否かの判定を行う。残駆動量が、減速期間における駆動量と駆動停止前のオープンループ制御による駆動の駆動量を加えた駆動量よりも少ない場合には、停止処理に入る必要がある。そのため、S108において、残駆動量を確認し、停止処理に入るタイミングを制御している。   In S108, it is determined whether or not the remaining drive amount with respect to the target drive amount is smaller than a predetermined amount. When the remaining drive amount is smaller than the drive amount obtained by adding the drive amount in the deceleration period and the drive amount of the drive by the open loop control before stopping the drive, it is necessary to enter the stop process. Therefore, in S108, the remaining drive amount is confirmed, and the timing for entering the stop process is controlled.

残駆動量が所定量以上の場合は、進角制御による駆動を続け、S105に戻る。残駆動量が所定量より少ないと判定されるとS109に移行する。S109では、モータ104の駆動を停止させるため、減速を開始する。減速中、所定量の駆動を行い進角制御からオープンループ制御に切り替えが可能であるか否かを、S110で判定する。ここで、所定量の駆動とは、オープンループ制御に切り替えることが可能な駆動速度に到達するまでに必要な駆動量を表す。   If the remaining drive amount is greater than or equal to the predetermined amount, the drive by the advance angle control is continued, and the process returns to S105. If it is determined that the remaining drive amount is less than the predetermined amount, the process proceeds to S109. In S109, deceleration is started in order to stop the driving of the motor 104. During deceleration, it is determined in S110 whether a predetermined amount of driving is performed and switching from the advance angle control to the open loop control is possible. Here, the predetermined amount of driving represents a driving amount necessary to reach a driving speed at which switching to open loop control is possible.

S111において、進角制御からオープンループ制御への切り替えが行われ、進角制御フラグ及び加減速フラグがクリアされる。さらにS112において、残駆動量がゼロになったか否かの判定が行われ、ゼロとなったときにはS113において、モータ104の駆動が停止される。以上のようなフローに従うことにより、モータ104の駆動速度の制御を行うことができる。   In S111, the advance angle control is switched to the open loop control, and the advance angle control flag and the acceleration / deceleration flag are cleared. Further, in S112, it is determined whether or not the remaining drive amount has become zero. When the remaining drive amount has become zero, the drive of the motor 104 is stopped in S113. By following the above flow, the drive speed of the motor 104 can be controlled.

次に、モータ104が加速または減速をしているときに、指令速度指示部から目標回転速度を変更する指示が出されたときの制御フローを図8のフローチャートを用いて説明する。図8において、「S」は「ステップ」の略であり、図8に示すフローチャートは、コンピュータに各ステップの機能を実現させるための制御プログラムとして具現化が可能である。各ステップは、特に断らない限り制御マイコン109によって実行される。図11、図14のフローチャートにおいても同様である。   Next, a control flow when an instruction to change the target rotation speed is issued from the command speed instruction section while the motor 104 is accelerating or decelerating will be described with reference to the flowchart of FIG. In FIG. 8, “S” is an abbreviation of “step”, and the flowchart shown in FIG. 8 can be embodied as a control program for causing a computer to realize the function of each step. Each step is executed by the control microcomputer 109 unless otherwise specified. The same applies to the flowcharts of FIGS. 11 and 14.

目標速度を変更する指示があると、S201において目標駆動量に対する残駆動量が、所定量よりも少ないか否かが判定される。残駆動量が、減速期間における駆動量と駆動停止前のオープンループ制御による駆動の駆動量を加えた駆動量よりも少ない場合には、停止処理に入る必要がある。そのため、S201において、残駆動量を確認し、停止処理に入るタイミングを制御している。   If there is an instruction to change the target speed, it is determined in S201 whether or not the remaining drive amount with respect to the target drive amount is smaller than a predetermined amount. When the remaining drive amount is smaller than the drive amount obtained by adding the drive amount in the deceleration period and the drive amount of the drive by the open loop control before stopping the drive, it is necessary to enter the stop process. Therefore, in S201, the remaining drive amount is confirmed, and the timing for entering the stop process is controlled.

残駆動量が所定量より少ないと判定されると、処理を終了する。残駆動量が所定量以上の場合は、S202において進角制御によりモータ104の駆動を行っているか否かの判定を行う。進角制御を行っている場合は、S203に移行する。進角制御を行っていない場合は、オープンループ制御による駆動を行っている。オープンループ制御では、加速中、減速中、定速駆動中のいずれにおいても目標速度の変更を行うことが可能であるため、目標速度の変更が許可される。そのため、S204に進み、目標速度を変更後の目標速度に再設定し、処理を終了する。   If it is determined that the remaining drive amount is less than the predetermined amount, the process is terminated. If the remaining drive amount is greater than or equal to the predetermined amount, it is determined in S202 whether or not the motor 104 is being driven by advance angle control. When advance angle control is being performed, the process proceeds to S203. When advance angle control is not performed, drive is performed by open loop control. In the open loop control, the target speed can be changed during acceleration, deceleration, or constant speed driving, and thus the change of the target speed is permitted. Therefore, the process proceeds to S204, the target speed is reset to the changed target speed, and the process ends.

S203では、定速駆動中であるか否かの判定を行う。つまり、加減速フラグがONのときは、進角制御による加速または減速を行っているため、目標速度の変更が禁止され、処理を終了する。加減速フラグがOFFのときは、定速駆動中であると判断し、S204において、目標速度を再設定し、処理を終了する。   In S203, it is determined whether or not constant speed driving is being performed. That is, when the acceleration / deceleration flag is ON, since the acceleration or deceleration by the advance angle control is performed, the change of the target speed is prohibited and the process is terminated. When the acceleration / deceleration flag is OFF, it is determined that constant speed driving is in progress, the target speed is reset in S204, and the process ends.

次に、図9及び図10を用いて、図8で示した速度の制御方法について説明する。図9の時刻T1において、目標速度をSt1としてモータ104の駆動を開始する。駆動開始後、所定の期間、オープンループ制御による駆動を行い、進角制御による駆動への切り替えを行う。そして、モータ104の加速中である時刻T2において、目標速度をSt2に変更する指示が出されたとする。このとき、本実施例では目標速度をSt2に変更することなく、St1としたまま駆動を続ける。   Next, the speed control method shown in FIG. 8 will be described with reference to FIGS. 9 and 10. At time T1 in FIG. 9, the driving of the motor 104 is started with the target speed as St1. After the start of driving, driving by open loop control is performed for a predetermined period, and switching to driving by advance angle control is performed. Then, it is assumed that an instruction to change the target speed to St2 is issued at time T2 when the motor 104 is accelerating. At this time, in this embodiment, the target speed is not changed to St2, and the driving is continued while maintaining St1.

図10は、モータ104が減速駆動をしているときに、目標速度を変更する指示があった場合の制御方法を示している。図9と同様に、ある時刻T1において、目標速度をSt1としてモータ104の減速駆動を開始する。そして、モータ104の減速中である時刻T2において、目標速度をSt2に変更する指示が出されたとする。このとき、本実施例では目標速度をSt2に変更することなく、St1としたまま駆動を続ける。   FIG. 10 shows a control method when there is an instruction to change the target speed while the motor 104 is decelerating. Similarly to FIG. 9, at a certain time T1, the target speed is St1, and the motor 104 starts to be decelerated. Then, it is assumed that an instruction to change the target speed to St2 is issued at time T2 when the motor 104 is decelerating. At this time, in this embodiment, the target speed is not changed to St2, and the driving is continued while maintaining St1.

このように、進角制御による加速駆動または減速駆動中に、目標速度の変更が指示されたときには、目標速度の変更を行わずに駆動を続けることにより、モータ104が制御不能な状態となることを防止することができる。実施例1における制御方法は、目標速度に到達するまで進角を変更しない、前述した第1の進角制御方法において特に有効である。また、速度制御の精度がそれほど求められないマニュアルフォーカス時のフォーカスレンズの駆動制御や、速度をわずかに変化させるときの駆動制御に対して有効である。   As described above, when the target speed change is instructed during acceleration driving or deceleration driving by the advance angle control, the motor 104 becomes uncontrollable by continuing the driving without changing the target speed. Can be prevented. The control method according to the first embodiment is particularly effective in the above-described first advance angle control method in which the advance angle is not changed until the target speed is reached. Further, it is effective for drive control of the focus lens during manual focus where accuracy of speed control is not required so much and drive control when the speed is slightly changed.

実施例1では、加減速中に目標速度の変更を行わないことで、モータ104が制御不能な状態になることを回避していたが、本実施例では変更前の目標速度に到達した後に、目標速度を変更するように制御を行う。本実施例における制御方法を図11のフローチャートを用いて説明する。   In the first embodiment, the target speed is not changed during acceleration / deceleration, thereby preventing the motor 104 from being in an uncontrollable state. However, in this embodiment, after reaching the target speed before the change, Control to change the target speed. A control method in this embodiment will be described with reference to the flowchart of FIG.

目標速度を変更する指示があると、S301において目標駆動量に対する残駆動量が、所定量よりも少ないか否かが判定される。残駆動量が、減速期間における駆動量と駆動停止前のオープンループ制御による駆動の駆動量を加えた駆動量よりも少ない場合には、停止処理に入る必要がある。そのため、S301において、残駆動量を確認し、停止処理に入るタイミングを制御している。   If there is an instruction to change the target speed, it is determined in S301 whether or not the remaining drive amount with respect to the target drive amount is smaller than a predetermined amount. When the remaining drive amount is smaller than the drive amount obtained by adding the drive amount in the deceleration period and the drive amount of the drive by the open loop control before stopping the drive, it is necessary to enter the stop process. Therefore, in S301, the remaining drive amount is confirmed, and the timing for entering the stop process is controlled.

残駆動量が所定量より少ないと判定されると、処理を終了する。残駆動量が所定量以上の場合は、S302において進角制御によりモータ104の駆動を行っているか否かの判定を行う。進角制御を行っている場合は、S303に移行する。進角制御を行っていない場合は、オープンループ制御による駆動を行っていることになる。オープンループ制御では、加速中、減速中、定速駆動中のいずれにおいても目標速度の変更が許可される。そのため、S305に進み、目標速度を再設定し、処理を終了する。   If it is determined that the remaining drive amount is less than the predetermined amount, the process is terminated. If the remaining drive amount is greater than or equal to the predetermined amount, it is determined in S302 whether or not the motor 104 is being driven by advance angle control. When the advance angle control is being performed, the process proceeds to S303. When advance angle control is not performed, drive by open loop control is performed. In the open loop control, change of the target speed is permitted during acceleration, deceleration, and constant speed driving. Therefore, the process proceeds to S305, the target speed is reset, and the process ends.

S303では、定速駆動中であるか否かの判定を行う。加減速フラグがONのときは、進角制御による加速または減速を行っていることになる。この場合、S304に進み、目標速度を変更する前の目標速度に到達するまで待機する。加減速フラグがOFFのときは、定速駆動中であると判断され、S305において目標速度の再設定を行う。S304では、変更前の目標速度に到達した後に、S305において目標速度の再設定を行う。   In S303, it is determined whether or not constant speed driving is in progress. When the acceleration / deceleration flag is ON, acceleration or deceleration by advance angle control is being performed. In this case, the process proceeds to S304 and waits until the target speed before the target speed is changed is reached. When the acceleration / deceleration flag is OFF, it is determined that constant speed driving is in progress, and the target speed is reset in S305. In S304, after reaching the target speed before the change, the target speed is reset in S305.

次に、図12及び図13を用いて、図11で示した速度の制御方法について説明する。図12の時刻T1において、目標速度をSt1としてモータ104の駆動を開始する。駆動開始後、所定の期間、オープンループ制御による駆動を行い、進角制御による駆動への切り替えを行う。そして、モータ104の加速中である時刻T2において、目標速度をSt2に変更する指示が出されたとする。このとき、本実施例では駆動速度がSt1となる時刻T3まで、目標速度をSt1に設定する。そして、時刻T3において目標速度をSt2に変更する。なお、本実施例においては、駆動速度がSt1に到達すると、すぐに目標速度をSt2に変更しているが、モータ104の回転が安定するまでの間、待ち時間を設けてもよい。   Next, the speed control method shown in FIG. 11 will be described with reference to FIGS. At time T1 in FIG. 12, the driving of the motor 104 is started with the target speed as St1. After the start of driving, driving by open loop control is performed for a predetermined period, and switching to driving by advance angle control is performed. Then, it is assumed that an instruction to change the target speed to St2 is issued at time T2 when the motor 104 is accelerating. At this time, in this embodiment, the target speed is set to St1 until time T3 when the driving speed becomes St1. Then, the target speed is changed to St2 at time T3. In this embodiment, when the drive speed reaches St1, the target speed is immediately changed to St2. However, a waiting time may be provided until the rotation of the motor 104 is stabilized.

図13は、モータ104が減速駆動をしているときに、目標速度を変更する指示があった場合の制御方法を示している。図12と同様に、ある時刻T1において、目標速度をSt1としてモータ104の減速駆動を開始する。そして、モータ104の減速中である時刻T2において、目標速度をSt2に変更する指示が出されたとする。このとき、本実施例では駆動速度がSt1となる時刻T3まで目標速度をSt1に設定する。そして、時刻T3において目標速度をSt2に変更する。なお、本実施例においては、駆動速度がSt1に到達すると、すぐに目標速度をSt2に変更しているが、モータ104の回転が安定するまでの間、待ち時間を設けてもよい。   FIG. 13 shows a control method when there is an instruction to change the target speed while the motor 104 is driving at a reduced speed. Similarly to FIG. 12, at a certain time T1, the target speed is St1, and the motor 104 starts to be decelerated. Then, it is assumed that an instruction to change the target speed to St2 is issued at time T2 when the motor 104 is decelerating. At this time, in this embodiment, the target speed is set to St1 until time T3 when the driving speed becomes St1. Then, the target speed is changed to St2 at time T3. In this embodiment, when the drive speed reaches St1, the target speed is immediately changed to St2. However, a waiting time may be provided until the rotation of the motor 104 is stabilized.

このように、進角制御による加速駆動または減速駆動中に、目標速度の変更が指示されたときには、変更前の駆動速度に到達した後に目標速度の変更を行う。これにより、モータ104が制御不能な状態となることを防止しつつ、目標速度の変更を行うことができる。実施例2における制御方法は、目標速度を大きく変更するときに特に有効である。   As described above, when the change of the target speed is instructed during the acceleration driving or the deceleration driving by the advance angle control, the target speed is changed after reaching the driving speed before the change. As a result, the target speed can be changed while preventing the motor 104 from being in an uncontrollable state. The control method in the second embodiment is particularly effective when the target speed is greatly changed.

実施例2では、変更前の目標速度に到達した後に、目標速度を変更するように制御を行うが、本実施例では、変更前の目標速度に到達することなく、目標速度を変更する。本実施例における制御方法を図14のフローチャートを用いて説明する。   In the second embodiment, control is performed so as to change the target speed after reaching the target speed before the change, but in this embodiment, the target speed is changed without reaching the target speed before the change. A control method in the present embodiment will be described with reference to the flowchart of FIG.

目標速度を変更する指示があると、S401において目標駆動量に対する残駆動量が、所定量よりも少ないか否かが判定される。残駆動量が、減速期間における駆動量と駆動停止前のオープンループ制御による駆動の駆動量を加えた駆動量よりも少ない場合には、停止処理に入る必要がある。そのため、S401において、残駆動量を確認し、停止処理に入るタイミングを制御している。   If there is an instruction to change the target speed, it is determined in S401 whether or not the remaining drive amount with respect to the target drive amount is smaller than a predetermined amount. When the remaining drive amount is smaller than the drive amount obtained by adding the drive amount in the deceleration period and the drive amount of the drive by the open loop control before stopping the drive, it is necessary to enter the stop process. Therefore, in S401, the remaining drive amount is confirmed, and the timing for entering the stop process is controlled.

残駆動量が所定量より少ないと判定されると、処理を終了する。残駆動量が所定量以上の場合は、S402において進角制御によりモータ104の駆動を行っているか否かの判定を行う。進角制御を行っている場合は、S403に移行する。進角制御を行っていない場合は、オープンループ制御による駆動を行っていることになる。オープンループ制御では、加速中、減速中、定速駆動中のいずれにおいても目標速度の変更が許可される。そのため、S405に進み、目標速度を再設定し、処理を終了する。   If it is determined that the remaining drive amount is less than the predetermined amount, the process is terminated. If the remaining drive amount is greater than or equal to the predetermined amount, it is determined in S402 whether or not the motor 104 is being driven by advance angle control. When advance angle control is being performed, the process proceeds to S403. When advance angle control is not performed, drive by open loop control is performed. In the open loop control, change of the target speed is permitted during acceleration, deceleration, and constant speed driving. Therefore, it progresses to S405, resets a target speed, and complete | finishes a process.

S403では、定速駆動中であるか否かの判定を行う。加減速フラグがONのときは、進角制御による加速または減速を行っていることになる。この場合、S404に進み、所定時間が経過するまで待機する。加減速フラグがOFFのときは、定速駆動中であると判断され、S405において目標速度の再設定を行う。S404では、所定の時間が経過した後に、S405において目標速度の再設定を行う。   In S403, it is determined whether or not constant speed driving is in progress. When the acceleration / deceleration flag is ON, acceleration or deceleration by advance angle control is being performed. In this case, the process proceeds to S404 and waits until a predetermined time elapses. When the acceleration / deceleration flag is OFF, it is determined that constant speed driving is in progress, and the target speed is reset in S405. In S404, after a predetermined time has elapsed, the target speed is reset in S405.

次に、図15及び図16を用いて、図14で示した速度の制御方法について説明する。図15の時刻T1において、目標速度をSt1としてモータ104の駆動を開始する。駆動開始後、所定の期間、オープンループ制御による駆動を行い、進角制御による駆動への切り替えを行う。そして、モータ104が加速中である時刻T2において、目標速度をSt2に変更する指示が出されたとする。このとき、本実施例では時刻T2の時点での駆動速度Snを時刻T3まで維持する。T2からT3までの期間は、モータ104が非制御状態に陥らないようにするために定められる期間である。そして、時刻T3において、目標速度をSt2に変更する。   Next, the speed control method shown in FIG. 14 will be described with reference to FIGS. 15 and 16. At time T1 in FIG. 15, driving of the motor 104 is started with the target speed as St1. After the start of driving, driving by open loop control is performed for a predetermined period, and switching to driving by advance angle control is performed. Assume that an instruction to change the target speed to St2 is issued at time T2 when the motor 104 is accelerating. At this time, in this embodiment, the driving speed Sn at the time T2 is maintained until the time T3. The period from T2 to T3 is a period determined in order to prevent the motor 104 from falling into an uncontrolled state. At time T3, the target speed is changed to St2.

図16は、モータ104が減速駆動をしているときに、目標速度を変更する指示があった場合の制御方法を示している。図15と同様に、ある時刻T1において、目標速度をSt1としてモータ104の減速駆動を開始する。そして、モータ104の減速中である時刻T2において、目標速度をSt2に変更する指示が出されたとする。このとき、本実施例では時刻T2の時点での駆動速度Snを時刻T3まで維持する。T2からT3までの期間は、モータ104が非制御状態に陥らないようにするために定められる期間である。そして、時刻T3において、目標速度をSt2に変更する。   FIG. 16 shows a control method when there is an instruction to change the target speed while the motor 104 is decelerating. Similarly to FIG. 15, at a certain time T1, the target speed is St1, and the motor 104 starts to be decelerated. Then, it is assumed that an instruction to change the target speed to St2 is issued at time T2 when the motor 104 is decelerating. At this time, in this embodiment, the driving speed Sn at the time T2 is maintained until the time T3. The period from T2 to T3 is a period determined in order to prevent the motor 104 from falling into an uncontrolled state. At time T3, the target speed is changed to St2.

このように、進角制御による加速駆動または減速駆動中に、目標速度の変更が指示されたときには、所定時間、目標速度の変更が指示された時点における駆動速度を維持した後に目標速度の変更を行う。これにより、モータ104が制御不能な状態となることを防止しつつ、目標速度の変更を、素早く行うことができる。実施例3における制御方法は、目標速度に到達するまでに進角を変更することが可能な、前述した第2の進角制御方法において特に有効である。   In this way, when the target speed change is instructed during acceleration driving or deceleration driving by the advance angle control, the target speed is changed after maintaining the driving speed at the time when the target speed change is instructed for a predetermined time. Do. Thereby, the target speed can be changed quickly while preventing the motor 104 from being in an uncontrollable state. The control method according to the third embodiment is particularly effective in the above-described second advance angle control method in which the advance angle can be changed until the target speed is reached.

上記各実施例においては、本発明を適用可能な光学機器として、レンズ装置と、レンズ装置が着脱可能なカメラ装置を組み合わせた構成について説明をした。ただし、本発明は、レンズ一体型のカメラ装置やビデオカメラ、電子顕微鏡等にも同様に適用することができる。   In each of the above-described embodiments, the configuration in which the lens apparatus and the camera apparatus to which the lens apparatus can be attached and detached is described as an optical apparatus to which the present invention can be applied. However, the present invention can be similarly applied to a lens-integrated camera device, a video camera, an electron microscope, and the like.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。   As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary.

100 フォーカスレンズ群
101a、101b、102 フォトインタラプタ
103 駆動伝達ユニット
104 ステッピングモータ
105 パルス板
106 信号処理回路
107 モータドライバ
108 位置センサ信号処理回路
109 制御マイコン
122 レンズ保持部
DESCRIPTION OF SYMBOLS 100 Focus lens group 101a, 101b, 102 Photo interrupter 103 Drive transmission unit 104 Stepping motor 105 Pulse plate 106 Signal processing circuit 107 Motor driver 108 Position sensor signal processing circuit 109 Control microcomputer 122 Lens holding part

Claims (13)

テッピングモータのコイルに印加される励磁電流と、前記ステッピングモータの回転位置との位相差である進角を調整することにより、前記ステッピングモータを駆動する進角駆動手段と、
前記ステッピングモータをオープンループ制御によって駆動するオープンループ駆動手段と、
前記進角駆動手段による進角制御と、前記オープンループ駆動手段によるオープンループ制御を切り替える制御手段を有するステッピングモータの制御装置であって、
前記進角駆動手段は、前記ステッピングモータの駆動速度が目標駆動速度に到達しているときは、前記目標駆動速度の変更を許可し、前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているときは、前記目標駆動速度の変更を禁止し、
前記オープンループ駆動手段は、前記ステッピングモータの駆動速度が目標駆動速度に到達しているとき、および前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているとき、前記目標駆動速度の変更を許可することを特徴とするステッピングモータの制御装置。
An excitation current applied to the scan stepping motor coil, by adjusting the advance angle is a phase difference between the rotational position of the stepping motor, the advance drive means for driving the stepping motor,
Open loop driving means for driving the stepping motor by open loop control;
A stepping motor control device having control means for switching advance angle control by the advance angle drive means and open loop control by the open loop drive means,
The advance drive means, when the driving speed of the stepping motor has reached the target drive velocity, permits the change of the target drive velocity, towards the drive speed of the stepping motor to the target drive velocity change by the time that is, it prohibits changing of the target drive velocity,
The open-loop drive means, when said driving speed of the stepping motor has reached the target drive velocity, and the driving speed of the stepping motor when is varied toward the target driving speed, the target driving velocity A control device for a stepping motor, wherein the change is permitted.
テッピングモータのコイルに供給される励磁電流と、前記ステッピングモータの回転位置との位相差である進角を調整することにより、前記ステッピングモータを駆動する進角駆動手段と、
前記ステッピングモータをオープンループ制御によって駆動するオープンループ駆動手段と、
前記進角駆動手段による進角制御と、前記オープンループ駆動手段によるオープンループ制御を切り替える制御手段を有するステッピングモータの制御装置であって、
前記進角駆動手段は、前記ステッピングモータの駆動速度が目標駆動速度に到達しているときは、前記目標駆動速度の変更を許可し、前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているに、前記目標駆動速度が第1の速度から第2の速度に変更されときは、前記ステッピングモータの駆動速度を前記第1の速度に到達させてから、前記第2の速度に向けて前記ステッピングモータの駆動速度を変化させ、
前記オープンループ駆動手段は、前記ステッピングモータの駆動速度が目標駆動速度に到達しているとき、および前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているとき、前記目標駆動速度の変更を許可することを特徴とするステッピングモータの制御装置。
An excitation current supplied to the scan stepping motor coil, by adjusting the advance angle is a phase difference between the rotational position of the stepping motor, the advance drive means for driving the stepping motor,
Open loop driving means for driving the stepping motor by open loop control;
A stepping motor control device having control means for switching advance angle control by the advance angle drive means and open loop control by the open loop drive means,
The advance drive means permits the change of the target drive speed when the drive speed of the stepping motor reaches the target drive speed, and changes the drive speed of the stepping motor toward the target drive speed. during and has, when said target drive speed is changed from the first speed to the second speed, the driving speed of the stepping motor from allowed to reach the first speed, the second speed Change the driving speed of the stepping motor toward
The open-loop drive means, when said driving speed of the stepping motor has reached the target drive velocity, and the driving speed of the stepping motor when is varied toward the target driving speed, the target driving velocity A control device for a stepping motor, wherein the change is permitted.
テッピングモータのコイルに供給される励磁電流と、前記ステッピングモータの回転位置との位相差である進角を調整することにより、前記ステッピングモータを駆動する進角駆動手段と、
前記ステッピングモータをオープンループ制御によって駆動するオープンループ駆動手段と、
前記進角駆動手段による進角制御と、前記オープンループ駆動手段によるオープンループ制御を切り替える制御手段を有するステッピングモータの制御装置であって、
前記進角駆動手段は、前記ステッピングモータの駆動速度が目標駆動速度に到達しているときは、前記目標駆動速度の変更を許可し、前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているに、前記目標駆動速度が第1の速度から第2の速度に変更されときは、前記ステッピングモータの駆動速度が所定期間一定になるように前記進角の調整を行った後に、前記第2の速度に向けて前記ステッピングモータの駆動速度を変化させ、
前記オープンループ駆動手段は、前記ステッピングモータの駆動速度が目標駆動速度に到達しているとき、および前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているときは、前記目標駆動速度の変更を許可することを特徴とするステッピングモータの制御装置。
An excitation current supplied to the scan stepping motor coil, by adjusting the advance angle is a phase difference between the rotational position of the stepping motor, the advance drive means for driving the stepping motor,
Open loop driving means for driving the stepping motor by open loop control;
A stepping motor control device having control means for switching advance angle control by the advance angle drive means and open loop control by the open loop drive means,
The advance drive means permits the change of the target drive speed when the drive speed of the stepping motor reaches the target drive speed, and changes the drive speed of the stepping motor toward the target drive speed. during and are, after the target drive velocity when being changed from the first speed to a second speed, the driving speed of the stepping motor has performed the adjustment of the advance to a predetermined period constant, Changing the driving speed of the stepping motor toward the second speed;
The open loop driving means is configured to adjust the target driving speed when the driving speed of the stepping motor has reached the target driving speed and when the driving speed of the stepping motor is changed toward the target driving speed. A control device for a stepping motor, wherein the change is permitted.
前記制御手段は、前記ステッピングモータの駆動開始期間および駆動停止期間の少なくとも一方においてオープンループ制御によって前記ステッピングモータを制御し、前記ステッピングモータの前記駆動開始期間と前記駆動停止期間の間においては進角制御によって前記ステッピングモータを制御することを特徴とする請求項1乃至3のいずれか1項に記載のステッピングモータの制御装置。   The control means controls the stepping motor by open loop control in at least one of a drive start period and a drive stop period of the stepping motor, and advances between the drive start period and the drive stop period of the stepping motor. 4. The stepping motor control device according to claim 1, wherein the stepping motor is controlled by control. 前記進角制御手段は、前記ステッピングモータの目標駆動速度に基づいて前記進角を調整し、前記ステッピングモータの駆動速度が前記目標駆動速度に到達するまでは、前記進角の値を変更しないことを特徴とする請求項1乃至4のいずれか1項に記載のステッピングモータの制御装置。   The advance angle control means adjusts the advance angle based on the target drive speed of the stepping motor, and does not change the value of the advance angle until the drive speed of the stepping motor reaches the target drive speed. The stepping motor control device according to claim 1, wherein 前記進角制御手段は、前記ステッピングモータの目標駆動速度に基づいて前記進角を調整し、前記ステッピングモータの駆動速度が前記目標駆動速度に到達するまでは、前記ステッピングモータの駆動速度に応じて前記設定された進角の値を変更することを特徴とする請求項1乃至4のいずれか1項に記載のステッピングモータの制御装置。   The advance angle control means adjusts the advance angle based on the target drive speed of the stepping motor, and according to the drive speed of the stepping motor until the drive speed of the stepping motor reaches the target drive speed. 5. The stepping motor control device according to claim 1, wherein the set advance angle value is changed. 光学素子を駆動させるステッピングモータと、請求項1乃至6のいずれか1項に記載のステッピングモータの制御装置を有することを特徴とする光学機器。 An optical apparatus and stepping motor for driving the optical element, characterized by a control device for a stepping motor according to any one of claims 1 to 6. オープンループ制御によりステッピングモータの駆動速度を制御するオープンループ制御ステップと、
前記ステッピングモータのコイルに印加される励磁電流と、前記ステッピングモータの回転位置との位相差である進角を調整することにより、前記ステッピングモータを駆動する進角制御によりステッピングモータの駆動速度を制御する進角制御ステップを有するステッピングモータの制御方法であって、
前記進角制御ステップにおいて、前記ステッピングモータの駆動速度が目標駆動速度に到達しているときは、前記目標駆動速度の変更を許可し、前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているときは、前記目標駆動速度の変更を禁止し、
前記オープンループ制御ステップにおいて、前記ステッピングモータの駆動速度が目標駆動速度に到達しているとき、および前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているとき、前記目標駆動速度の変更を許可することを特徴とするステッピングモータの制御方法。
An open loop control step for controlling the driving speed of the stepping motor by open loop control;
By adjusting the advance angle, which is the phase difference between the excitation current applied to the coil of the stepping motor and the rotational position of the stepping motor, the drive speed of the stepping motor is controlled by the advance angle control that drives the stepping motor. A stepping motor control method having an advance angle control step,
In the advance angle control step, when the driving speed of the stepping motor has reached the target drive velocity, it permits the change of the target drive velocity, towards the drive speed of the stepping motor to the target drive velocity change by the time that is, it prohibits changing of the target drive velocity,
In the open loop control step, when said driving speed of the stepping motor has reached the target drive velocity, and the when it is a driving speed of the stepping motor is changed toward the target driving speed, the target driving velocity A stepping motor control method characterized by permitting a change.
オープンループ制御によりステッピングモータの駆動速度を制御するオープンループ制御ステップと、
前記ステッピングモータのコイルに印加される励磁電流と、前記ステッピングモータの回転位置との位相差である進角を調整することにより、前記ステッピングモータを駆動する進角制御によりステッピングモータの駆動速度を制御する進角制御ステップを有するステッピングモータの制御方法であって、
前記進角制御ステップにおいて、前記ステッピングモータの駆動速度が目標駆動速度に到達しているときは、前記目標駆動速度の変更を許可し、前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているに、前記目標駆動速度が第1の速度から第2の速度に変更されときは、前記ステッピングモータの駆動速度を前記第1の速度に到達させてから、前記第2の速度に向けて前記ステッピングモータの駆動速度を変化させ、
前記オープンループ制御ステップにおいて、前記ステッピングモータの駆動速度が目標駆動速度に到達しているとき、および前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているとき、前記目標駆動速度の変更を許可することを特徴とするステッピングモータの制御方法。
An open loop control step for controlling the driving speed of the stepping motor by open loop control;
By adjusting the advance angle, which is the phase difference between the excitation current applied to the coil of the stepping motor and the rotational position of the stepping motor, the drive speed of the stepping motor is controlled by the advance angle control that drives the stepping motor. A stepping motor control method having an advance angle control step,
In the advance angle control step, when the driving speed of the stepping motor has reached the target driving speed, the change of the target driving speed is permitted, and the driving speed of the stepping motor is changed toward the target driving speed. during and has, when said target drive speed is changed from the first speed to the second speed, the driving speed of the stepping motor from allowed to reach the first speed, the second speed Change the driving speed of the stepping motor toward
In the open loop control step, when said driving speed of the stepping motor has reached the target drive velocity, and the when it is a driving speed of the stepping motor is changed toward the target driving speed, the target driving velocity A stepping motor control method characterized by permitting a change.
オープンループ制御によりステッピングモータの駆動速度を制御するオープンループ制御ステップと、
前記ステッピングモータのコイルに印加される励磁電流と、前記ステッピングモータの回転位置との位相差である進角を調整することにより、前記ステッピングモータを駆動する進角制御によりステッピングモータの駆動速度を制御する進角制御ステップを有するステッピングモータの制御方法であって、
前記進角制御ステップにおいて、前記ステッピングモータの駆動速度が目標駆動速度に到達しているときは、前記目標駆動速度の変更を許可し、前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているに、前記目標駆動速度が第1の速度から第2の速度に変更されときは、前記ステッピングモータの駆動速度が所定期間一定になるように前記進角の調整を行った後に、前記第2の速度に向けて前記ステッピングモータの駆動速度を変化させ、
前記オープンループ制御ステップにおいて、前記ステッピングモータの駆動速度が目標駆動速度に到達しているとき、および前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているとき、前記目標駆動速度の変更を許可することを特徴とするステッピングモータの制御方法。
An open loop control step for controlling the driving speed of the stepping motor by open loop control;
By adjusting the advance angle, which is the phase difference between the excitation current applied to the coil of the stepping motor and the rotational position of the stepping motor, the drive speed of the stepping motor is controlled by the advance angle control that drives the stepping motor. A stepping motor control method having an advance angle control step,
In the advance angle control step, when the driving speed of the stepping motor has reached the target driving speed, the change of the target driving speed is permitted, and the driving speed of the stepping motor is changed toward the target driving speed. during and are, after the target drive velocity when being changed from the first speed to a second speed, the driving speed of the stepping motor has performed the adjustment of the advance to a predetermined period constant, Changing the driving speed of the stepping motor toward the second speed;
In the open loop control step, when said driving speed of the stepping motor has reached the target drive velocity, and the when it is a driving speed of the stepping motor is changed toward the target driving speed, the target driving velocity A stepping motor control method characterized by permitting a change.
コンピュータにステッピングモータの駆動制御を行わせるステッピングモータの駆動制御プログラムであって、
オープンループ制御によりステッピングモータの駆動速度を制御するオープンループ制御ステップと、
前記ステッピングモータのコイルに印加される励磁電流と、前記ステッピングモータの回転位置との位相差である進角を調整することにより、前記ステッピングモータを駆動する進角制御によりステッピングモータの駆動速度を制御する進角制御ステップを有し、
前記進角制御ステップにおいて、前記ステッピングモータの駆動速度が目標駆動速度に到達しているときは、前記目標駆動速度の変更を許可し、前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているときは、前記目標駆動速度の変更を禁止し、
前記オープンループ制御ステップにおいて、前記ステッピングモータの駆動速度が目標駆動速度に到達しているとき、および前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているとき、前記目標駆動速度の変更を許可することを特徴とするステッピングモータの制御プログラム。
A drive control program of the stepping motor to perform the drive control of the stepping motor to the computer,
An open loop control step for controlling the driving speed of the stepping motor by open loop control;
By adjusting the advance angle, which is the phase difference between the excitation current applied to the coil of the stepping motor and the rotational position of the stepping motor, the drive speed of the stepping motor is controlled by the advance angle control that drives the stepping motor. An advance angle control step to
In the advance angle control step, when the driving speed of the stepping motor has reached the target drive velocity, it permits the change of the target drive velocity, towards the drive speed of the stepping motor to the target drive velocity change by the time that is, it prohibits changing of the target drive velocity,
In the open loop control step, when said driving speed of the stepping motor has reached the target drive velocity, and the when it is a driving speed of the stepping motor is changed toward the target driving speed, the target driving velocity A stepping motor control program characterized by permitting a change.
コンピュータにステッピングモータの駆動制御を行わせるステッピングモータの駆動制御プログラムであって、
オープンループ制御によりステッピングモータの駆動速度を制御するオープンループ制御ステップと、
前記ステッピングモータのコイルに印加される励磁電流と、前記ステッピングモータの回転位置との位相差である進角を調整することにより、前記ステッピングモータを駆動する進角制御によりステッピングモータの駆動速度を制御する進角制御ステップを有し、
前記進角制御ステップにおいて、前記ステッピングモータの駆動速度が目標駆動速度に到達しているときは、前記目標駆動速度の変更を許可し、前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているに、前記目標駆動速度が第1の速度から第2の速度に変更されときは、前記ステッピングモータの駆動速度を前記第1の速度に到達させてから、前記第2の速度に向けて前記ステッピングモータの駆動速度を変化させ、
前記オープンループ制御ステップにおいて、前記ステッピングモータの駆動速度が目標駆動速度に到達しているとき、および前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているとき、前記目標駆動速度の変更を許可することを特徴とするステッピングモータの制御プログラム。
A drive control program of the stepping motor to perform the drive control of the stepping motor to the computer,
An open loop control step for controlling the driving speed of the stepping motor by open loop control;
By adjusting the advance angle, which is the phase difference between the excitation current applied to the coil of the stepping motor and the rotational position of the stepping motor, the drive speed of the stepping motor is controlled by the advance angle control that drives the stepping motor. An advance angle control step to
In the advance angle control step, when the driving speed of the stepping motor has reached the target driving speed, the change of the target driving speed is permitted, and the driving speed of the stepping motor is changed toward the target driving speed. during and has, when said target drive speed is changed from the first speed to the second speed, the driving speed of the stepping motor from allowed to reach the first speed, the second speed Change the driving speed of the stepping motor toward
In the open loop control step, when said driving speed of the stepping motor has reached the target drive velocity, and the when it is a driving speed of the stepping motor is changed toward the target driving speed, the target driving velocity A stepping motor control program characterized by permitting a change.
コンピュータにステッピングモータの駆動制御を行わせるステッピングモータの駆動制御プログラムであって、
オープンループ制御によりステッピングモータの駆動速度を制御するオープンループ制御ステップと、
前記ステッピングモータのコイルに印加される励磁電流と、前記ステッピングモータの回転位置との位相差である進角を調整することにより、前記ステッピングモータを駆動する進角制御によりステッピングモータの駆動速度を制御する進角制御ステップを有し、
前記進角制御ステップにおいて、前記ステッピングモータの駆動速度が目標駆動速度に到達しているときは、前記目標駆動速度の変更を許可し、前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているに、前記目標駆動速度が第1の速度から第2の速度に変更されときは、前記ステッピングモータの駆動速度が所定期間一定になるように前記進角の調整を行った後に、前記第2の速度に向けて前記ステッピングモータの駆動速度を変化させ、
前記オープンループ制御ステップにおいて、前記ステッピングモータの駆動速度が目標駆動速度に到達しているとき、および前記ステッピングモータの駆動速度を目標駆動速度に向けて変化させているとき、前記目標駆動速度の変更を許可することを特徴とするステッピングモータの制御プログラム。
A drive control program of the stepping motor to perform the drive control of the stepping motor to the computer,
An open loop control step for controlling the driving speed of the stepping motor by open loop control;
By adjusting the advance angle, which is the phase difference between the excitation current applied to the coil of the stepping motor and the rotational position of the stepping motor, the drive speed of the stepping motor is controlled by the advance angle control that drives the stepping motor. An advance angle control step to
In the advance angle control step, when the driving speed of the stepping motor has reached the target driving speed, the change of the target driving speed is permitted, and the driving speed of the stepping motor is changed toward the target driving speed. during and are, after the target drive velocity when being changed from the first speed to a second speed, the driving speed of the stepping motor has performed the adjustment of the advance to a predetermined period constant, Changing the driving speed of the stepping motor toward the second speed;
In the open loop control step, when said driving speed of the stepping motor has reached the target drive velocity, and the when it is a driving speed of the stepping motor is changed toward the target driving speed, the target driving velocity A stepping motor control program characterized by permitting a change.
JP2013150764A 2013-07-19 2013-07-19 Stepping motor control device, optical apparatus, stepping motor control method, and program Active JP6137973B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013150764A JP6137973B2 (en) 2013-07-19 2013-07-19 Stepping motor control device, optical apparatus, stepping motor control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013150764A JP6137973B2 (en) 2013-07-19 2013-07-19 Stepping motor control device, optical apparatus, stepping motor control method, and program

Publications (3)

Publication Number Publication Date
JP2015023702A JP2015023702A (en) 2015-02-02
JP2015023702A5 JP2015023702A5 (en) 2016-08-04
JP6137973B2 true JP6137973B2 (en) 2017-05-31

Family

ID=52487728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013150764A Active JP6137973B2 (en) 2013-07-19 2013-07-19 Stepping motor control device, optical apparatus, stepping motor control method, and program

Country Status (1)

Country Link
JP (1) JP6137973B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4426608A (en) * 1981-04-10 1984-01-17 Massachusetts Institute Of Technology Stepping motor control system
JPH09103094A (en) * 1995-10-04 1997-04-15 Ishikawajima Harima Heavy Ind Co Ltd Method for gently starting, stopping or changing speed of stepping motor
JP2001125436A (en) * 1999-10-22 2001-05-11 Canon Inc Drive control device and image forming device
JP2004248392A (en) * 2003-02-13 2004-09-02 Nippon Pulse Motor Co Ltd Motor control method and pulse generating ic for motor control
JP5656354B2 (en) * 2008-10-20 2015-01-21 キヤノン株式会社 Drive device
JP2013027156A (en) * 2011-07-21 2013-02-04 Canon Inc Motor control device

Also Published As

Publication number Publication date
JP2015023702A (en) 2015-02-02

Similar Documents

Publication Publication Date Title
US9124203B2 (en) Motor having pulse mode and brushless mode, and control method and apparatus of the motor
US10721387B2 (en) Lens driving apparatus and lens driving method
JP6278629B2 (en) Stepping motor control device, optical apparatus, stepping motor control method, and program
US8169171B2 (en) Drive apparatus
JP5100412B2 (en) Focus adjustment device and optical apparatus using the same
US9602033B2 (en) Motor control apparatus, motor-driven apparatus, method of controlling motor and non-transitory computer-readable recording medium storing a computer program
JP2010098923A5 (en) Drive device
JP6161419B2 (en) Stepping motor drive control device and stepping motor drive control method
JP2014171344A (en) Imaging apparatus, motor driving device, and imaging method
JP4827687B2 (en) Step motor driving device, lens driving device and camera
US10591893B2 (en) Motor driving apparatus
JP6137973B2 (en) Stepping motor control device, optical apparatus, stepping motor control method, and program
JP2010271359A (en) Autofocus device and image pickup apparatus
JP2016073174A (en) Stepping motor driving device, optical equipment and stepping motor driving program
JP7005275B2 (en) Motor drive device, motor system including the motor drive device, image pickup device, motor drive method
JP2005229797A (en) Control method for stepping motor
US20150103234A1 (en) Drive controller, imaging apparatus and drive control method
JP5822542B2 (en) Optical equipment
JP5508125B2 (en) Lens device and camera
JP2015033191A (en) Motor controller
US11183954B2 (en) Motor driving device and control method thereof
JP6494271B2 (en) Stepping motor control device, optical apparatus, stepping motor control method, program, and storage medium
JP6664154B2 (en) Motor control device, motor control method, and motor control program
JP2009011087A (en) Micro step control method of stepping motor, and dynamo-electric apparatus
JP5159286B2 (en) Image shake correction apparatus and imaging apparatus

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160616

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160616

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170323

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170425

R151 Written notification of patent or utility model registration

Ref document number: 6137973

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151