JPH10161005A - Lens barrel - Google Patents

Lens barrel

Info

Publication number
JPH10161005A
JPH10161005A JP8320113A JP32011396A JPH10161005A JP H10161005 A JPH10161005 A JP H10161005A JP 8320113 A JP8320113 A JP 8320113A JP 32011396 A JP32011396 A JP 32011396A JP H10161005 A JPH10161005 A JP H10161005A
Authority
JP
Japan
Prior art keywords
counter
actuator
motor
control
drive
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.)
Pending
Application number
JP8320113A
Other languages
Japanese (ja)
Inventor
Takeji Ikeda
武治 池田
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.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP8320113A priority Critical patent/JPH10161005A/en
Publication of JPH10161005A publication Critical patent/JPH10161005A/en
Pending legal-status Critical Current

Links

Landscapes

  • Focusing (AREA)
  • Lens Barrels (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

PROBLEM TO BE SOLVED: To stop a motor for focusing with stable accuracy on a stop position by providing a counter performing interruption when an actuator comes within driving stop position accuracy separately from a counter used for ordinary arithmetic calculation. SOLUTION: The 2nd counter 8 monitoring a remaining driving amount to a target position at the time of driving the actuator is provided separately from the counter 7 used for the ordinary arithmetic calculation in the case of controlling the driving of a motor by servo driving. The driving is controlled to be stopped when the interruption is performed based on a counter value and the motor for focusing 5 comes within the desired stop position accuracy. Thus, the motor 5 is surely stopped at the desired position without being influenced by the timing of a control cycle, the control arithmetic calculation time of a microcomputer 2 and the interruption of other control processing.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、たとえば電動モー
タ等のアクチュエータを内蔵しているレンズ鏡筒に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a lens barrel having a built-in actuator such as an electric motor.

【0002】[0002]

【従来の技術】この種のレンズ鏡筒において、たとえば
フォーカス用レンズをフォーカシング駆動するためのフ
ォーカス用モータを鏡筒内に内設したものが知られてい
る。このようなフォーカス用モータを内蔵したアクチュ
エータ内蔵式のレンズ鏡筒1における駆動制御系の一例
を図5のブロック図に示す。
2. Description of the Related Art As a lens barrel of this type, there is known a lens barrel in which a focusing motor for focusing and driving a focusing lens is provided. An example of a drive control system in the lens barrel 1 with a built-in actuator that incorporates such a focus motor is shown in the block diagram of FIG.

【0003】図5において符号1はレンズ鏡筒で、この
レンズ鏡筒1内には広く知られている通り、撮影光学系
を構成する撮影レンズ群が適宜の配列で設けられてい
る。そして、そのレンズ群の一部には焦点合わせを行う
フォーカス用レンズ6が光軸方向に進退自在に設けられ
ている。符号5はこのフォーカス用レンズ6をフォーカ
シング駆動するためのフォーカス用モータ(AFモー
タ)で、このモータ5により自動焦点合わせ、いわゆる
オートフォーカスが行われる。
[0005] In FIG. 5, reference numeral 1 denotes a lens barrel. As is widely known, in this lens barrel 1, photographic lens groups constituting a photographic optical system are provided in an appropriate arrangement. A focusing lens 6 for focusing is provided in a part of the lens group so as to be able to advance and retreat in the optical axis direction. Reference numeral 5 denotes a focusing motor (AF motor) for driving the focusing lens 6 for focusing, and the motor 5 performs automatic focusing, that is, so-called auto focusing.

【0004】前記フォーカス用モータ5は、レンズ鏡筒
1内に設けたマイクロコンピュータ(以下、マイコンと
いう)2におけるモータ制御部10からの出力をモータ
制御回路3を通して伝達することによって駆動制御され
るように構成されている。また、前記フォーカス用モー
タ5の駆動状態を検出するパルスエンコーダ4が設けら
れ、前記モータ5の駆動の回転角に比例してパルス信号
を得るように構成されている。すなわち、モータ5の駆
動状態に伴ってパルスエンコーダ4からパルス信号が発
生する。
The focus motor 5 is driven and controlled by transmitting an output from a motor control unit 10 in a microcomputer (hereinafter referred to as a microcomputer) 2 provided in the lens barrel 1 through a motor control circuit 3. Is configured. Further, a pulse encoder 4 for detecting a driving state of the focusing motor 5 is provided, and a pulse signal is obtained in proportion to a rotation angle of the driving of the motor 5. That is, a pulse signal is generated from the pulse encoder 4 according to the driving state of the motor 5.

【0005】このパルス信号は90度位相のずれたパル
スA,Bからなり、マイコン2に設けたカウンタ7のi
nA,inBに入力されており、これらのパルスA,B
をカウンタモニタすることでフォーカス用レンズ6の相
対的な位置が確認でき、フォーカス用モータ5のフィー
ドバック制御を行える。
This pulse signal is composed of pulses A and B having a phase shift of 90 degrees.
nA and inB, these pulses A and B
Can be checked by monitoring the relative position of the focusing lens 6, and feedback control of the focusing motor 5 can be performed.

【0006】前記カウンタ7は4逓倍用のパルスカウン
タであり、これらのカウンタ値は、90度ずれた位相差
をもつパルス信号の入力によって、モータ5の回転方向
に応じてプラス・マイナスされる。すなわち、このカウ
ンタ7によりモータ5の回転方向と回転変位量とが確認
できる。したがって、このカウンタ7はパルスエンコー
ダ4を起動した位置を基準としてフォーカス用モータ5
の相対角度すなわちフォーカス用レンズ6の相対位置を
確認することができる。
The counter 7 is a quadruple pulse counter, and these counter values are added or subtracted in accordance with the rotation direction of the motor 5 by inputting a pulse signal having a phase difference of 90 degrees. That is, the rotational direction and the rotational displacement of the motor 5 can be confirmed by the counter 7. Therefore, the counter 7 uses the position of the focusing motor 5 based on the position where the pulse encoder 4 is activated.
, That is, the relative position of the focusing lens 6 can be confirmed.

【0007】以上のような図5のレンズ鏡筒1を用い
て、フォーカス用モータ5をある駆動量だけ駆動して停
止させる動作(以下、サーボ駆動という)を行うときに
おいて、フォーカス用モータ5の駆動制御は、制御サイ
クル毎に実行要因を発生させ、モータ制御処理タスクを
実行することで行っている。そして、その制御処理タス
クの中で目標位置までの残パルスを計算して希望する停
止位置精度内であればモータ5の駆動を停止させてい
た。
When the operation of driving the focusing motor 5 by a certain drive amount and stopping it (hereinafter referred to as servo driving) using the lens barrel 1 of FIG. The drive control is performed by generating an execution factor for each control cycle and executing a motor control processing task. Then, in the control processing task, the remaining pulses up to the target position are calculated, and if the stop position accuracy is within the desired stop position accuracy, the drive of the motor 5 is stopped.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上述し
たレンズ鏡筒1内に内設したアクチュエータであるフォ
ーカス用モータ5を上述した駆動制御で停止させた場合
には、必ずしも希望する停止位置精度内で制御サイクル
が到来するとは限らないという問題がある。
However, when the focus motor 5 which is an actuator provided in the lens barrel 1 is stopped by the above-described drive control, the stop position accuracy is not necessarily within a desired stop position accuracy. There is a problem that the control cycle does not always arrive.

【0009】また、停止位置精度内に制御サイクルによ
りモータ5の制御処理タスクが実行できたとしても、マ
イコン2での制御演算や他の制御処理の割り込み等によ
ってモータ停止のタイミングが遅れてしまう可能性も高
い。さらに、レンズ6等の被制御側での負荷ムラのよう
な外乱等によっても、同様にモータ停止のタイミングが
遅れてしまい、希望する停止位置精度を得られなくなる
可能性も高いという問題もあった。
Further, even if the control processing task of the motor 5 can be executed by the control cycle within the stop position accuracy, the timing of the motor stop may be delayed due to the control calculation in the microcomputer 2 or interruption of other control processing. The nature is also high. Further, there is also a problem that the timing of stopping the motor is similarly delayed by disturbance such as uneven load on the controlled side such as the lens 6 and the like, and there is a high possibility that a desired stop position accuracy cannot be obtained. .

【0010】本発明はこのような事情に鑑みてなされた
ものであり、レンズ鏡筒内に内蔵したアクチュエータと
してのフォーカス用モータ等を安定した停止位置精度で
停止させることができる駆動制御可能なレンズ鏡筒を得
ることを目的とする。
The present invention has been made in view of such circumstances, and has a drive controllable lens capable of stopping a focusing motor or the like as an actuator built in a lens barrel with stable stop position accuracy. The purpose is to obtain a lens barrel.

【0011】[0011]

【課題を解決するための手段】このような目的に応える
ために本発明に係るレンズ鏡筒は、レンズ鏡筒内での制
御を行うマイコンと、このマイコンにより駆動制御され
るアクチュエータと、その駆動に応じてパルスを発生す
るパルスエンコーダと、前記アクチュエータの駆動位置
をパルスエンコーダの出力から読み取ることでカウンタ
機能開始時を基準としてアクチュエータの相対的な駆動
位置をモニタするカウンタと、そのカウンタ値を用いて
マイコンによりアクチュエータを制御するアクチュエー
タ駆動制御手段とを備え、アクチュエータの駆動位置を
パルスエンコーダの出力から読み取ることでアクチュエ
ータ駆動時に目標位置までの残駆動量をモニタする前記
カウンタとは異なる第2のカウンタを設け、そのカウン
タ値により割り込みが入ることで作動してアクチュエー
タの駆動を停止するアクチュエータ停止制御手段を設け
たものである。
In order to meet such an object, a lens barrel according to the present invention comprises a microcomputer for controlling the inside of the lens barrel, an actuator driven and controlled by the microcomputer, and a drive for the actuator. A pulse encoder that generates a pulse in accordance with the above, a counter that monitors the relative drive position of the actuator based on the start of the counter function by reading the drive position of the actuator from the output of the pulse encoder, and uses the counter value. An actuator drive control means for controlling the actuator by a microcomputer, and a second counter different from the counter for monitoring the remaining drive amount up to a target position when the actuator is driven by reading the drive position of the actuator from the output of the pulse encoder. , And interrupt by the counter value Operating by entering it is provided with a actuator stop control means for stopping the driving of the actuator.

【0012】また、本発明に係るレンズ鏡筒は、マイコ
ンにより制御演算および制御出力を行うことで、アクチ
ュエータをアクチュエータ駆動制御手段により所望の制
御サイクルで駆動制御するように構成したものである。
Further, the lens barrel according to the present invention is configured such that the microcomputer performs control calculation and control output to drive and control the actuator in a desired control cycle by the actuator drive control means.

【0013】本発明によれば、アクチュエータ駆動時に
目標位置までの残駆動量をモニタする第2のカウンタ
を、サーボ駆動によるモータ駆動制御を行う場合に通常
の計算等に用いるカウンタとは別に設け、そのカウント
値により割り込みを入れてアクチュエータが所望の停止
位置精度内に入った時点でその駆動を停止制御すること
により、アクチュエータを、制御サイクルのタイミング
やマイコンの制御演算の時間や他の制御処理の割り込み
に影響されることなく、確実に停止させることができ
る。
According to the present invention, the second counter for monitoring the remaining drive amount up to the target position when the actuator is driven is provided separately from the counter used for ordinary calculations when performing motor drive control by servo drive. By interrupting the actuator based on the count value and stopping the drive when the actuator comes within the desired stop position accuracy, the actuator can be controlled in the timing of the control cycle, the time of the control operation of the microcomputer, and other control processing. The operation can be reliably stopped without being affected by the interruption.

【0014】また、本発明によれば、上述した理由か
ら、被制御側での負荷ムラや姿勢差、さらに他の外乱等
によって制御が不安定になった場合でも、アクチュエー
タの停止位置精度内での確実な停止が行えるから、停止
位置精度を向上させることができる。さらに、第2のカ
ウンタを通常のカウンタとは独立に設けているから、両
カウンタが相互に影響を受けることはなく、アクチュエ
ータとしてのフォーカス用モータの全体としての位置管
理が可能となり、サーボ駆動とは別の、たとえば速度制
御を混在して実行しなければならない時なども、同一の
座標としてマイコンでの演算処理が行え、一連の流れと
して扱える。
Further, according to the present invention, even if the control becomes unstable due to load unevenness or posture difference on the controlled side, or other disturbance, the above-mentioned reason can be satisfied within the stopping position accuracy of the actuator. , The stop position accuracy can be improved. Further, since the second counter is provided independently of the normal counter, the two counters are not affected by each other, and the position of the focus motor as the actuator as a whole can be managed. In other cases, for example, when speed control must be performed in a mixed manner, the microcomputer can perform arithmetic processing as the same coordinates, and can be treated as a series of flows.

【0015】[0015]

【発明の実施の形態】図1は本発明に係るレンズ鏡筒の
一つの実施の形態を示し、同図において前述した図5と
同一または相当する部分には同一番号を付して説明は省
略する。この実施の形態では、サーボ駆動によるモータ
駆動制御を行う場合における通常の演算等に用いるカウ
ンタ7とは別に、アクチュエータ駆動時に目標位置まで
の残駆動量をモニタする第2のカウンタ8を設けてい
る。そして、そのカウント値により割り込みを入れてフ
ォーカス用モータ5が所望の停止位置精度内に入った時
点でその駆動を停止制御することにより、モータ5を、
制御サイクルのタイミングやマイコン2の制御演算の時
間や他の制御処理の割り込みに影響されることなく、所
望の位置で確実に停止させることができるように構成し
ている。
FIG. 1 shows an embodiment of a lens barrel according to the present invention. In FIG. 1, the same or corresponding parts as those in FIG. I do. In this embodiment, a second counter 8 for monitoring the remaining drive amount up to a target position when the actuator is driven is provided separately from the counter 7 used for normal calculation or the like when performing motor drive control by servo drive. . Then, an interrupt is inserted according to the count value, and when the focus motor 5 comes within the desired stop position accuracy, the drive of the focus motor 5 is controlled to be stopped.
It is configured to be able to reliably stop at a desired position without being affected by the control cycle timing, the control calculation time of the microcomputer 2, or the interruption of other control processing.

【0016】ここで、フォーカス用モータ5の駆動の回
転角に比例してパルスエンコーダ4から発生するパルス
信号において、90度位相のずれたパルスA,パルスB
をカウンタ7のinA,inBと前記第2のカウンタ8
のinB,inAに入力するように構成している。そし
て、これらのパルスA,Bをカウンタモニタすることに
よりモータ5を介してフォーカス用レンズ6の相対的な
位置を検出することができる。したがって、フォーカス
用モータ5のフィードバック制御が可能となる。
Here, in the pulse signal generated from the pulse encoder 4 in proportion to the rotation angle of the driving of the focusing motor 5, the pulse A and the pulse B which are shifted by 90 degrees in phase.
To the inA and inB of the counter 7 and the second counter 8
Are input to inB and inA. The relative position of the focusing lens 6 can be detected via the motor 5 by counter-monitoring these pulses A and B. Therefore, feedback control of the focus motor 5 becomes possible.

【0017】上述した第2のカウンタ8は、カウンタ7
と同様に4逓倍用のパルスカウンタであり、これらのカ
ウンタ値は90度ずれた位相差をもつパルス信号の入力
により、モータ5の回転方向でプラス・マイナスされる
ことにより、回転方向を検出可能になっている。また、
カウンタ7はパルスエンコーダを起動した位置を基準に
フォーカス用モータ5の相対角度すなわちフォーカス用
レンズ6の相対位置がわかるようにしてあり、電源を切
断するまで有効としている。また、第2のカウンタ8
は、サーボ駆動を行うときの目標値までの残パルスをカ
ウントするカウンタである。なお、図1ではパルスAと
パルスBをカウンタ7と第2のカウンタ8とで入れ替え
ているが、これは以下にフローチャートを用いて説明す
る。
The above-mentioned second counter 8 comprises a counter 7
These are pulse counters for quadruple multiplication. These counter values are added or subtracted in the direction of rotation of the motor 5 by the input of a pulse signal having a phase difference of 90 degrees, so that the direction of rotation can be detected. It has become. Also,
The counter 7 allows the relative angle of the focusing motor 5, that is, the relative position of the focusing lens 6 to be known based on the position where the pulse encoder is activated, and is valid until the power is turned off. The second counter 8
Is a counter for counting the remaining pulses up to the target value when performing the servo drive. In FIG. 1, the pulse A and the pulse B are exchanged by the counter 7 and the second counter 8, which will be described below with reference to a flowchart.

【0018】以上の構成において、この実施の形態での
アルゴリズムを説明する。なお、フォーカス用モータ5
のモータ駆動制御は、時間tの制御サイクル毎に実行要
因を発生させて、図2のフローチャートで示しているモ
ータ駆動制御処理のタスクを実行することで行ってい
る。また、マイコン2での駆動制御の演算やフォーカス
用モータ5の位置の確認に使用しているパルスカウンタ
4は、カウンタ7の方で主に用いるものであり、以下に
説明において明示しない限り、カウンタ7のカウンタ値
を用いている。
With the above configuration, an algorithm in this embodiment will be described. The focus motor 5
Is performed by generating an execution factor for each control cycle at time t and executing the task of the motor drive control process shown in the flowchart of FIG. The pulse counter 4 used for the calculation of the drive control by the microcomputer 2 and the confirmation of the position of the focus motor 5 is mainly used by the counter 7, and unless otherwise specified in the following description, the pulse counter 4 is used. The counter value of 7 is used.

【0019】始めに、任意のサーボ駆動を行うとき、ス
テップ1(S1)でそのサーボ駆動の内の1回目の制御
処理でなければS6へジャンプし、1回目の処理であれ
ばS2でマイコン2による駆動量演算を行い、S3で目
標位置を決める。そして、S4でモータ5の駆動方向を
求めている。
First, when an arbitrary servo drive is performed, in step 1 (S1), if the control process is not the first control process of the servo drive, the process jumps to S6. , And a target position is determined in S3. Then, the driving direction of the motor 5 is determined in S4.

【0020】次のS5は本発明を特徴づける部分である
第2のカウンタ8のための制御処理を行っている。これ
を詳細に述べると、S6で目標位置までのパルス数を示
す残パルス演算を行い、S7で残パルスが停止精度内に
入っているかどうかを判断する。そして、停止精度内な
らばS9でサーボ駆動を終了し、停止精度外であればS
8でのモータ駆動制御処理でマイコン2による制御演算
や制御出力を行い、リターンして以後上述したステップ
を繰り返す。すなわち、次の制御サイクルでは、S1か
らS6を経て繰り返されることになる。
In the next step S5, control processing for the second counter 8, which is a feature of the present invention, is performed. More specifically, in S6, a remaining pulse calculation indicating the number of pulses to the target position is performed, and in S7, it is determined whether the remaining pulse is within the stop accuracy. Then, if the stop accuracy is within the stop accuracy, the servo drive is terminated in S9.
In the motor drive control process in step 8, the microcomputer 2 performs control calculation and control output, returns, and thereafter repeats the above steps. That is, in the next control cycle, the process is repeated through S1 to S6.

【0021】ここで、S5での残パルス用カウンタ8の
スタート処理の詳細を図4に示す。これを説明すると、
このサブルーチンは、サーボ駆動時の停止精度を向上さ
せるためのものであり、サーボ駆動の開始前に駆動量で
ある残パルスを第2のカウンタ8へ入れ、停止位置精度
内に入った時の第2のカウンタ8でのカウント値がオー
バーフローまたはアンダーフローしたか否かで割り込み
を入れるか否かの処理を行うようになっている。
FIG. 4 shows the details of the start processing of the remaining pulse counter 8 in S5. To explain this,
This subroutine is for improving the stop accuracy at the time of servo drive. The remaining pulse, which is the drive amount, is input to the second counter 8 before the start of servo drive, and the second pulse when the stop position accuracy is reached is obtained. Processing is performed to determine whether or not to interrupt based on whether or not the count value of the second counter 8 overflows or underflows.

【0022】この図4において、S10でモータ5の駆
動すべき方向を判断し、カウンタ7のパルスが減少する
方向であればこのS10を行い、停止精度の余裕を考慮
した目標位置に停止精度をプラスした値をバッファ(B
UF1)へ保存し、カウンタ7のパルスが増加する方向
ならば、S12に進み、目標位置から停止精度をマイナ
スした値をバッファ(BUF1)に保存する。また、パ
ルスが減少していたときにはS11に進み、目標位置と
停止精度とをプラスした値をバッファ(BUF1)に保
存する。
In FIG. 4, the direction in which the motor 5 is to be driven is determined in S10, and if the pulse of the counter 7 is decreasing, this S10 is performed, and the stop accuracy is set to the target position in consideration of the margin of stop accuracy. Buffer the added value (B
UF1), and if the pulse of the counter 7 is increasing, the process proceeds to S12, and a value obtained by subtracting the stop accuracy from the target position is stored in the buffer (BUF1). When the pulse has decreased, the process proceeds to S11, and a value obtained by adding the target position and the stop accuracy is stored in the buffer (BUF1).

【0023】そして、いずれの場合もS13で割り込み
禁止状態としておき、S14でバッファ(BUF1)と
カウンタ7の値の差を第2のカウンタ8に入れて、S1
5でこの第2のカウンタ8をスタートさせて割り込みを
S16で許可し、図2のメインルーチンに戻る。
In any case, the interrupt is disabled in S13, and the difference between the value of the buffer (BUF1) and the value of the counter 7 is input to the second counter 8 in S14.
In step 5, the second counter 8 is started, the interruption is permitted in step S16, and the process returns to the main routine of FIG.

【0024】上述したサーボ駆動で停止精度内に入り第
2のカウンタ8の割り込みが発生した時の割込処理を図
4のフローチャートで説明する。すなわち、S17で第
2のカウンタ8をストップし、S18でフォーカス用モ
ータ5を強制的に停止させてからメインルーチンにリタ
ーンするようにしている。なお、これらのフローチャー
トでのルーチンはフォーカス用モータ5の停止が目的で
あるため、モータ5の停止制御のみを行い、サーボ駆動
終了の後処理は次の制御サイクルでモータ駆動制御処理
で行う。
The interrupt processing when the servo drive enters the stop accuracy and the interruption of the second counter 8 occurs will be described with reference to the flowchart of FIG. That is, the second counter 8 is stopped in S17, the focus motor 5 is forcibly stopped in S18, and then the process returns to the main routine. Since the routines in these flowcharts are intended to stop the focus motor 5, only the stop control of the motor 5 is performed, and the post-processing of the servo drive is performed by the motor drive control processing in the next control cycle.

【0025】なお、本発明は上述した実施の形態で説明
した構造には限定されず、各部の形状、構造等を適宜変
形、変更し得ることはいうまでもない。たとえばレンズ
鏡筒1の具体的な構成、フォーカス用レンズ6を駆動す
るフォーカス用モータ5等のようなアクチュエータ、そ
の他の制御系の構成については、種々の変形例が考えら
れる。
The present invention is not limited to the structure described in the above embodiment, and it goes without saying that the shape and structure of each part can be appropriately modified and changed. For example, various modifications can be considered for the specific configuration of the lens barrel 1, the actuator such as the focusing motor 5 for driving the focusing lens 6, and the configuration of other control systems.

【0026】[0026]

【発明の効果】以上説明したように本発明に係るレンズ
鏡筒によれば、サーボ駆動によるモータ駆動制御を行う
場合に通常の演算計算等に用いるカウンタとは別に、ア
クチュエータが駆動停止位置精度内に入った時点で割り
込みを入れる第2のカウンタを設けることにより、以下
に述べる優れた効果を奏する。
As described above, according to the lens barrel according to the present invention, when the motor drive control is performed by the servo drive, the actuator has the drive stop position accuracy within the accuracy of the drive stop position. The provision of the second counter for interrupting at the time of entry causes the following excellent effects.

【0027】本発明によれば、制御サイクルのタイミン
グやマイクロコンピュータでの制御演算の処理時間や他
の割り込み処理に影響されることなく、確実にアクチュ
エータ(モータ)の駆動を停止することができる。
According to the present invention, the driving of the actuator (motor) can be reliably stopped without being affected by the timing of the control cycle, the processing time of the control operation in the microcomputer, or other interrupt processing.

【0028】また、本発明によれば、被制御系での負荷
ムラや姿勢差、他の外乱等により制御が不安定になった
場合でも、アクチュエータを所望の停止位置精度内で確
実に停止させることができ、停止位置精度を向上させる
ことができる。さらに、第2のカウンタを独立に設けて
いることから、この第2のカウンタに影響されることな
しに、通常のサーボ駆動を行うためのカウンタで管理し
ているアクチュエータ全体としての位置管理が可能とな
る。また、サーボ駆動とは別の、たとえば速度制御を混
在して実行しなければならない時などにおいても、マイ
クロコンピュータで同一の座標として演算でき、一連の
流れとして扱える。
Further, according to the present invention, even when the control becomes unstable due to load unevenness, a posture difference, other disturbance, or the like in the controlled system, the actuator is reliably stopped within a desired stop position accuracy. The stop position accuracy can be improved. Further, since the second counter is provided independently, the position of the entire actuator managed by the counter for normal servo drive can be managed without being affected by the second counter. Becomes In addition, even when the speed control must be performed in a mixed manner, for example, in addition to the servo drive, the microcomputer can calculate the same coordinates and can handle the same as a series of flows.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明に係るレンズ鏡筒の一つの実施の形態
を示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of a lens barrel according to the present invention.

【図2】 本発明に係るレンズ鏡筒の一つの実施の形態
を示し、レンズ鏡筒内でのメインルーチンを説明するフ
ローチャートである。
FIG. 2 is a flowchart illustrating one embodiment of the lens barrel according to the present invention and illustrating a main routine in the lens barrel.

【図3】 図2での残パルス用の第2のカウンタのスタ
ート処理を説明するためのフローチャートである。
FIG. 3 is a flowchart for explaining a start process of a second counter for remaining pulses in FIG. 2;

【図4】 第2のカウンタでのカウント値がアンダーま
たはオーバしたときの割り込み処理を説明するフローチ
ャートである。
FIG. 4 is a flowchart illustrating an interrupt process when the count value of a second counter is under or over.

【図5】 図1に対応した従来のレンズ鏡筒の一例を示
すブロック図である。
FIG. 5 is a block diagram showing an example of a conventional lens barrel corresponding to FIG.

【符号の説明】[Explanation of symbols]

1…レンズ鏡筒、2…マイコン(マイクロコンピュー
タ)、3…モータ駆動回路、4…パルスエンコーダ、5
…フォーカス用モータ(アクチュエータ)、6…フォー
カス用レンズ、7…カウンタ、8…第2のカウンタ、9
…モータ停止部、10…モータ制御部。
REFERENCE SIGNS LIST 1 lens barrel 2 microcomputer (microcomputer) 3 motor drive circuit 4 pulse encoder 5
... Focus motor (actuator), 6 Focus lens, 7 Counter, 8 Second counter, 9
... Motor stop unit, 10 ... Motor control unit.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 レンズ鏡筒内での制御を行うマイクロコ
ンピュータと、 前記マイクロコンピュータにより駆動制御されるアクチ
ュエータと、 前記アクチュエータの駆動に応じてパルスを発生するパ
ルスエンコーダと、 前記アクチュエータの駆動位置を前記パルスエンコーダ
の出力から読み取ることによりカウンタ機能開始時を基
準として前記アクチュエータの相対的な駆動位置をモニ
タするカウンタと、 前記カウンタのカウンタ値を用いて前記マイクロコンピ
ュータにより前記アクチュエータを制御するアクチュエ
ータ駆動制御手段とを備え、 前記アクチュエータの駆動位置を前記パルスエンコーダ
の出力から読み取ることにより前記アクチュエータ駆動
時に目標位置までの残駆動量をモニタする前記カウンタ
とは異なる第2のカウンタを設けるとともに、 前記第2のカウンタのカウンタ値により割り込みが入る
ことで作動して前記アクチュエータの駆動を停止するア
クチュエータ停止制御手段を設けたことを特徴とするレ
ンズ鏡筒。
A microcomputer that controls the inside of a lens barrel; an actuator that is driven and controlled by the microcomputer; a pulse encoder that generates a pulse in accordance with driving of the actuator; A counter that monitors the relative drive position of the actuator based on the start of the counter function by reading from the output of the pulse encoder; and an actuator drive control that controls the actuator by the microcomputer using the counter value of the counter. Means for reading a drive position of the actuator from an output of the pulse encoder to monitor a remaining drive amount up to a target position when the actuator is driven. Kicking with the lens barrel, characterized in that said operating by interrupt occurs by the second counter value of the counter is provided an actuator stop control means for stopping the driving of the actuator.
【請求項2】 請求項1記載のレンズ鏡筒において、 マイクロコンピュータにより制御演算および制御出力を
行うことで、アクチュエータをアクチュエータ駆動制御
手段により所望の制御サイクルで駆動制御するように構
成したことを特徴とするレンズ鏡筒。
2. The lens barrel according to claim 1, wherein the microcomputer performs a control operation and a control output to drive and control the actuator in a desired control cycle by the actuator drive control means. Lens barrel.
JP8320113A 1996-11-29 1996-11-29 Lens barrel Pending JPH10161005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8320113A JPH10161005A (en) 1996-11-29 1996-11-29 Lens barrel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8320113A JPH10161005A (en) 1996-11-29 1996-11-29 Lens barrel

Publications (1)

Publication Number Publication Date
JPH10161005A true JPH10161005A (en) 1998-06-19

Family

ID=18117851

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8320113A Pending JPH10161005A (en) 1996-11-29 1996-11-29 Lens barrel

Country Status (1)

Country Link
JP (1) JPH10161005A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009162881A (en) * 2007-12-28 2009-07-23 Canon Inc Lens position control apparatus and its control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009162881A (en) * 2007-12-28 2009-07-23 Canon Inc Lens position control apparatus and its control method
US8724233B2 (en) 2007-12-28 2014-05-13 Canon Kabushiki Kaisha Lens position control apparatus, imaging apparatus, and control method

Similar Documents

Publication Publication Date Title
JP4623150B2 (en) Motor control device
KR100661106B1 (en) Motor control device
JPH0966851A (en) Vehicular controller
JPH10161005A (en) Lens barrel
JP3566486B2 (en) Lens device and optical apparatus having the same
JPH11231202A (en) Device and method for controlling lens and storage medium
US5732291A (en) Camera-shake correcting camera
JP4054915B2 (en) Stepping motor control circuit, electronic camera, and stepping motor control method
JP2634418B2 (en) Lens drive
JP3720596B2 (en) Current position detection method
JPH11352385A (en) Lens driving controller for camera
JP5372104B2 (en) Electric power steering control device
JP2021175206A (en) Motor control device
JP2009271425A (en) Lens drive device
JPH07281757A (en) Motor driving device
JP2011237545A (en) Lens device and camera
JP2003348852A (en) Pwm control mechanism
JP2001022417A (en) Position controller
CN111315638B (en) Electric power steering apparatus and control method thereof
JPH0377502B2 (en)
JP2002350708A (en) Lens barrel and camera
JP2021054107A (en) Steering angle control device
JP2000284805A (en) Feedback controller
JPH0961697A (en) Method and device for detecting position of movement limit of lens and automatic focusing device using the device
JP2012070489A (en) Drive control device and drive control method for motor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051101

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060404