JPH0458308A - Motor controller - Google Patents
Motor controllerInfo
- Publication number
- JPH0458308A JPH0458308A JP2170705A JP17070590A JPH0458308A JP H0458308 A JPH0458308 A JP H0458308A JP 2170705 A JP2170705 A JP 2170705A JP 17070590 A JP17070590 A JP 17070590A JP H0458308 A JPH0458308 A JP H0458308A
- Authority
- JP
- Japan
- Prior art keywords
- motor
- lens
- amount
- time
- rotational frequency
- 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
Links
- 238000001514 detection method Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 6
- 238000005259 measurement Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
Landscapes
- Details Of Cameras Including Film Mechanisms (AREA)
- Lens Barrels (AREA)
- Control Of Position Or Direction (AREA)
- Control Of Electric Motors In General (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、モータの制御装置に関するものであり、特に
カメラに用いられるモータの制御に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a motor control device, and particularly to the control of a motor used in a camera.
従来の技術
近年、カメラの焦点検出動作(フォーカシング動作)を
より正確に素早く行うため種々の考案がなされている。2. Description of the Related Art In recent years, various ideas have been made to more accurately and quickly perform focus detection operations (focusing operations) of cameras.
第3図(A)を用いてフォーカシング駆動の一例を説明
する。まず目標の移動量をNとすると、移動量がN、に
なるまでモータをONし続ける(ステージI)0次にモ
ータにブレーキをかける(ステージI+)、この停止位
置が目標移動量と一致する場合が駆動時間として最も短
くなる。このブレーキで停止した位置が目標移動量に達
しない場合、モータに所定時間(例えば1m5)ON、
所定時間(例えば4m5)ブレーキの短いパルスを入力
する(以下、1パルス駆動と呼ぶ)、これによりレンズ
を微少量ずつ移動させて目標移動量まで駆動する(ステ
ージII+ ) 、この駆動方法で問題となることに次
の2点がある。An example of focusing drive will be explained using FIG. 3(A). First, let the target amount of movement be N, then keep the motor turned on until the amount of movement reaches N (stage I).Next, brake the motor (stage I+), this stopping position matches the target amount of movement. In this case, the driving time is the shortest. If the position stopped by this brake does not reach the target movement amount, the motor is turned on for a predetermined period of time (for example, 1m5),
Input a short brake pulse for a predetermined period of time (for example, 4m5) (hereinafter referred to as 1-pulse drive), and thereby move the lens minute by minute until it reaches the target amount of movement (Stage II+).There are no problems with this drive method. There are two important points to consider.
■ パルス駆動での駆動量が大きくなるとフォカシング
駆動の時間が長くなる。■ As the amount of pulse drive increases, the focusing drive time becomes longer.
■ ステージIIのブレーキ制御にて目標移動量をオー
バーした場合、次に逆方向への駆動が必要となり、所謂
バックラッシュと呼ばれるモータの回転を減速する系の
誤差要因が生じる。(2) If the target movement amount is exceeded in the stage II brake control, driving in the opposite direction is required next, and an error factor in the system that decelerates the rotation of the motor, called so-called backlash, occurs.
この2つの問題のうち■を重要視すると早目のブレーキ
制御を行う必要があり、■のフォーカシング時間が長く
なる方向になる。Of these two problems, if (2) is given more importance, it is necessary to perform early brake control, and the focusing time (2) becomes longer.
上記2つの問題を解決するために特開昭63−1535
26号公報には、あらかじめモータの減速カーブを記憶
しておき、その減速カーブに沿ってモータ制御を行い目
標位置に的確に停止するしのが記載されている。In order to solve the above two problems, JP-A-63-1535
No. 26 describes a method in which a deceleration curve of the motor is stored in advance, and the motor is controlled along the deceleration curve to accurately stop at a target position.
発明が解決しようとする課題
前述のフォーカシング制御において問題となるのは次の
条件である。Problems to be Solved by the Invention The following conditions are problematic in the above-mentioned focusing control.
(1)負荷の個体差と、その環境条件化における負荷変
動
(2)駆動トルクのモータによるバラツキ(3)電源条
件による(2)の変動
この3つの条件により、ステージIIにおいて目標移動
量に対して行き過ぎ、または行き足らずとなり、上記問
題■、■が生じる。(1) Load variation due to individual differences in load and its environmental conditions (2) Variation in drive torque due to motor (3) Variation in (2) due to power supply conditions These three conditions cause the target movement amount to be This may lead to overshooting or undershooting, resulting in the above problems (■) and (■).
上記特開昭63−153526号公報の場合、減速カー
ブと比較しなからモータの制御を行うため条件(1)〜
(3)は解決できるものの、実際の撮影動作中に比較を
行うため、フォーカシング時間が長(なり撮影に影響を
及ぼす。In the case of JP-A No. 63-153526 mentioned above, the conditions (1) ~
Although (3) can be solved, since the comparison is performed during the actual photographing operation, the focusing time is long (which affects the photographing process).
課題を解決するtζめの手段
上記課題を達成するために本発明では、モータと、該モ
ータによって駆動される部材を有するモータ制御装置に
おいて、上記モータの所定回転数と、該所定回転数での
制動時における上記部材の駆動量との関係を上記モータ
制御装置の起動時に記憶する記憶手段とを有する構成に
した。更に、第2の構成として、上記部材の駆動量と、
上記モータの通電時間との関係を上記モータ制御装置の
起動時に決定する決定手段を有する構成にした。tζth Means for Solving the Problems In order to achieve the above problems, the present invention provides a motor control device having a motor and a member driven by the motor. The motor controller is configured to include a storage means for storing the relationship between the drive amount of the member during braking and the drive amount of the member at the time of starting the motor control device. Furthermore, as a second configuration, the amount of drive of the above member;
The present invention is configured to include determining means for determining the relationship with the energization time of the motor at the time of starting the motor control device.
作用
上記構成により、本発明ではカメラの通常の撮影シーケ
ンスの前に上記課題の(])〜(3)の変動を測定し、
その結果により常に最適なモータ制御を行うことができ
る。Effect With the above configuration, the present invention measures the fluctuations of the above tasks (]) to (3) before the camera's normal shooting sequence,
Based on the results, optimal motor control can be performed at all times.
実施例
第1図はこの発明の1実施例のよるカメラのモータ制御
I機構に係わる回路の全体構成を示す図である。Embodiment FIG. 1 is a diagram showing the overall configuration of a circuit related to a motor control I mechanism of a camera according to an embodiment of the present invention.
図において、撮影動作の全体を制御するCPU2と、測
距部1と、フォーカシング用のレンズを駆動するための
AFモータ3と、モータ3の回転量をエンコードするエ
ンコーダ4と、ズーム用のレンズを駆動するためのズー
ムモータ5と、モータ5の回転量をエンコードするエン
コーダ6と、AFモータ3とズームモータ5とを駆動す
るためのドライバIC回路7と、レンズ駆動用のデータ
を記憶するためのE”FROM8と、カメラ起動用のメ
インスイッチSMと、測距開始用のスイッチS1と、露
出制御用のスイッチS2とから回路が構成されている。In the figure, a CPU 2 that controls the entire photographing operation, a distance measuring section 1, an AF motor 3 that drives a focusing lens, an encoder 4 that encodes the amount of rotation of the motor 3, and a zoom lens are shown. A zoom motor 5 for driving, an encoder 6 for encoding the rotation amount of the motor 5, a driver IC circuit 7 for driving the AF motor 3 and the zoom motor 5, and a driver IC circuit 7 for storing data for driving the lens. The circuit is composed of an E'' FROM 8, a main switch SM for starting the camera, a switch S1 for starting distance measurement, and a switch S2 for controlling exposure.
CPU2には、エンコーダ4及び6によってAFモータ
とズームモータとの回転量が人力され、その回転量によ
って撮影レンズの焦点距離が算出される。この焦点距離
に基づいてドライバIC回路7を介してAFモータ3及
びズームモータ5を駆動する。これによってフォーカシ
ング動作及びズーム動作が行われるものである。The amount of rotation of the AF motor and the zoom motor is manually input to the CPU 2 by the encoders 4 and 6, and the focal length of the photographing lens is calculated based on the amount of rotation. The AF motor 3 and zoom motor 5 are driven via the driver IC circuit 7 based on this focal length. This performs focusing and zooming operations.
また、E2PROM8にはレンズ駆動用のデータとして
表1に示すようなエンコーダからのパルスPIとレンズ
駆動用)<ルスのON時間との関係及び所定回転数でモ
ータにブレーキを掛けたときのレンズ停止までの移動量
が記憶されている。このデータを読み出すことにより正
確に目標レンズ停止位置にレンズを停止することができ
る。尚、表1に記載のパルスPIとモータのON時間の
関係において、PIの値はモータを通常のON時間(例
えば1m5)に比べ長い時間(例えば6 m 5lON
させたときの値である。これは、モータの初期トルクが
モータのロータと永久磁石の位置関係によって異なるた
め、このバラツキをキャンセルするために実際の駆動時
のON時間以上の時間で試行回転を行っているためであ
る。これによってデータのバラツキを無(すとともに、
実際の駆動に際しての最適駆動パルスを見つけることが
できる。In addition, E2PROM8 contains data for driving the lens as shown in Table 1, such as the relationship between the pulse PI from the encoder and the ON time of the lens (for lens driving) and the lens stopping when the motor is braked at a predetermined rotation speed. The amount of movement up to the point is memorized. By reading this data, it is possible to accurately stop the lens at the target lens stop position. In addition, in the relationship between pulse PI and motor ON time listed in Table 1, the value of PI is longer than the normal ON time (for example, 1 m5) of the motor (for example, 6 m 5lON).
This is the value when This is because the initial torque of the motor varies depending on the positional relationship between the rotor of the motor and the permanent magnet, and in order to cancel this variation, trial rotation is performed for a time longer than the ON time during actual driving. This eliminates data variation and
The optimum driving pulse for actual driving can be found.
表 1
次にCPU2の動作を第2図のフローチャを用いて説明
する。Table 1 Next, the operation of the CPU 2 will be explained using the flow chart shown in FIG.
ト
不図示の電源電池が装着されるとCPU2はステップ(
#1)においてカメラ起動用スイッチ(SM)がONさ
れるのを待つ、スイッチ(SM)がONされるとステッ
プ(#2)においてフォカシングレンズを一旦無限距離
側の当り位置まで移動し、ステップ(#3)でフォーカ
シングレンズを無限距離にセットする。(以下、ステッ
プ(#2)、(#3)の動作を無限リセットという、)
この無限リセットの中においてCPU2は所定のスピー
ド(例えば5000rpm )でモータを駆動し、その
スピードよりブレーキを行った場合のブレーキの開始よ
りストップするまでのパルスPI(7)数をエンコーダ
4によりカウントし、E2FROM8に記憶させる(ス
テップ($4))。When a power supply battery (not shown) is installed, the CPU 2 executes step (
In step #1), wait for the camera activation switch (SM) to be turned on. When the switch (SM) is turned on, in step (#2), the focusing lens is moved once to the contact position on the infinite distance side, and then (#3) Set the focusing lens to infinite distance. (Hereinafter, the operations of steps (#2) and (#3) are referred to as infinite reset.)
During this infinite reset, the CPU 2 drives the motor at a predetermined speed (for example, 5000 rpm), and when braking is performed from that speed, the encoder 4 counts the number of pulses PI (7) from the start of braking until it stops. , is stored in E2FROM8 (step ($4)).
次にCPU2はAFモータを所定時間ONした際のエン
コーダ4からのパルスPIより、E2PROM8に記憶
されているパルスPIとAF(−タのON時間との関係
から現在の撮影条件化におけるAFモータのON時間を
決定する(ステップ(#5))、次にステップ(#6)
において測距開始用のスイッチ(Sl)がONされるの
を待ちスイッチ(Sl)がONされるとステップ(#7
)において測距部Iからの測距データ及び上記無限リセ
ット時に決定したAFモータのON時間のデータ、更に
E2FROMに記憶されている所定のモータ回転数とそ
の回転数における制動時のレンズが停止するまでの移動
量との関係に基づいてフォーカシングを行う、フォーカ
シングの結果撮影レンズが合焦状態になるとステップ(
#8)において露出制御用スイッチ(S2)がONされ
るのを待ち、スイッチ(S2)がONされるとステップ
(#9)で露出動作を行い撮影を終了する。Next, the CPU 2 uses the pulse PI from the encoder 4 when the AF motor is turned ON for a predetermined period of time, and determines the AF motor under the current photographing conditions based on the relationship between the pulse PI stored in the E2PROM 8 and the ON time of the AF (-ta). Determine ON time (step (#5)), then step (#6)
Wait for the distance measurement start switch (Sl) to be turned on. When the switch (Sl) is turned on, step (#7
), the distance measurement data from the distance measurement unit I, the AF motor ON time data determined at the above infinite reset, the predetermined motor rotation speed stored in the E2FROM, and the lens during braking at that rotation speed are stopped. Focusing is performed based on the relationship between the amount of movement up to and the step (
At step #8), the camera waits for the exposure control switch (S2) to be turned on, and when the switch (S2) is turned on, the exposure operation is performed at step (#9) and the photographing is completed.
第3図(A)及び(B)はモータの回転数とレンズの移
動量を示す図である。同図(B)は(A+の場合に比ベ
レンズの移動量が大きい場合の図である。FIGS. 3(A) and 3(B) are diagrams showing the rotation speed of the motor and the amount of movement of the lens. (B) is a diagram when the amount of movement of the comparative lens is large in the case of (A+).
同図(A)において、回転数AはAFモータ制動時の回
転数、移動量N、はAFモータ制動時のフォーカシング
レンズの移動量、移動量N2はAFモータ停止時におけ
るフォーカシングレンズの移動量、移動量Nは測距部1
からの測距データの基づいて演算されたフォーカシング
レンズが合焦状態となるための移動量である。上記回転
数A及びモータの制動から停止までのレンズの移動量(
N 2− N l )はステップ(#4)においてE”
FROMに記憶されたデータである。In the same figure (A), the rotation speed A is the rotation speed when the AF motor is braked, the movement amount N is the movement amount of the focusing lens when the AF motor is braked, the movement amount N2 is the movement amount of the focusing lens when the AF motor is stopped, The amount of movement N is distance measuring unit 1
This is the amount of movement for the focusing lens to be in focus, which is calculated based on distance measurement data from . The rotation speed A above and the amount of lens movement from motor braking to stop (
N2-Nl) is E'' in step (#4)
This is data stored in FROM.
更に、移動量N2の位置でフォーカシングレンズを一旦
止めた後、移動量がNとなるようパルス駆動を数パルス
行う、この時のパルス駆動のON時間も無限リセット時
(ステップ(#5))に決定されたものが用いられる。Furthermore, after once stopping the focusing lens at the position of the movement amount N2, pulse drive is performed for several pulses so that the movement amount becomes N. The ON time of the pulse drive at this time is also set at the time of infinite reset (step (#5)). The determined one will be used.
第3図(B)は移動量Nが太きいときにモータの回転数
をBまであげた場合のモータの回転数とフォーカシング
レンズの移動量の関係を示した図である。この場合フォ
ーカシングレンズの移動量がN、になった時に一旦AF
モータの制動を行い6E2PROM8に記憶されている
回転数Aになるまでモータの0N10FFの制御を繰り
返す、モタの回転数がAになると同図(A)の場合と同
様の制御が行われる。FIG. 3(B) is a diagram showing the relationship between the motor rotation speed and the focusing lens movement amount when the motor rotation speed is increased to B when the movement amount N is large. In this case, once the focusing lens movement amount reaches N, the AF will start.
The motor is braked and the 0N10FF control of the motor is repeated until the number of revolutions A stored in the 6E2PROM 8 is reached. When the number of revolutions of the motor reaches A, the same control as in the case of FIG. 6A is performed.
以上の説明では、フォーカシングレンズとAFモータの
関係のみについて説明したが、ズームレンズとズームモ
ータと関係にも適用されるのは言うまでもない、さらに
は不図示のシャッター及びフィルム給送用モータであっ
てもよい。In the above explanation, only the relationship between the focusing lens and the AF motor has been explained, but it goes without saying that this also applies to the relationship between the zoom lens and the zoom motor. Good too.
効果
以上説明したように本発明によれば、モータ制御装置に
おいて、起動時(無限リセット時)にモータの所定回転
数と、その回転数で制動を行った際の停止までのレンズ
等の部材の駆動量を記憶することにより実際の撮影動作
に影響を及ばすことなくモータ制御を行うことができる
。Effects As explained above, according to the present invention, in a motor control device, the rotation speed of the motor is set at a predetermined number of revolutions at the time of startup (at the time of infinite reset), and the number of rotations of members such as lenses until the motor stops when braking is performed at that number of revolutions. By storing the drive amount, motor control can be performed without affecting the actual photographing operation.
更に、起動時にパルス駆動の通電時間を決定するように
したので、実際の撮影動作に影響を及ぼさないことはも
とより、目標停止位置の手前でモータを一旦停止した際
のパルス駆動において環境条件等に影響されることなく
的確に、しかも素早く目標停止位置に停止することがで
きる。Furthermore, since the pulse drive energization time is determined at startup, it not only does not affect the actual shooting operation, but also allows pulse drive to be controlled depending on environmental conditions when the motor is temporarily stopped before the target stop position. It is possible to accurately and quickly stop at the target stop position without being affected.
第1図は本発明にかかるカメラのブロック図、第2図は
CPU2の動作を示すフローチ1−ト、第3図はモータ
の回転数とモータによって駆動される部材の移動量との
関係を示す図面である。
(1)−−一測距部 (2) −−−CP U(3)
−−−フォーカシングモータ
(4)、(6) −−一エンコーダ
(5) −−−ズームモータ (7) −−−ドライバ
IC(8)−−−E2FROM
(SM)−−−−メインスイッチ
(S 1 )−−−フォーカシングスイッチ(S2)−
−一露出制御用スイッチFIG. 1 is a block diagram of the camera according to the present invention, FIG. 2 is a flowchart showing the operation of the CPU 2, and FIG. 3 is a diagram showing the relationship between the rotational speed of the motor and the amount of movement of the member driven by the motor. It is a drawing. (1) ---One distance measuring section (2) ---CPU (3)
---Focusing motor (4), (6) ---One encoder (5) ---Zoom motor (7) ---Driver IC (8) ---E2FROM (SM) ---Main switch (S 1)---Focusing switch (S2)-
- Single exposure control switch
Claims (2)
するモータ制御装置において、 上記モータの所定回転数と、該所定回転数での制動時に
おける上記部材の駆動量との関係を上記モータ制御装置
の起動時に記憶する記憶手段を有することを特徴とする
モータ制御装置。(1) In a motor control device having a motor and a member driven by the motor, the motor control device determines the relationship between a predetermined number of rotations of the motor and the amount of drive of the member during braking at the predetermined number of rotations. 1. A motor control device comprising a storage means for storing information when the motor is started.
するモータ制御装置において、 上記モータ制御装置の起動時、上記部材の駆動量を検知
する検知手段と、該検知手段の結果により上記モータの
通電時間を決定する決定手段とを有することを特徴とす
るモータ制御装置。(2) In a motor control device having a motor and a member driven by the motor, a detection means for detecting the amount of drive of the member when the motor control device is started, and energization of the motor based on the result of the detection means. A motor control device comprising: determining means for determining a time.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2170705A JPH0458308A (en) | 1990-06-27 | 1990-06-27 | Motor controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2170705A JPH0458308A (en) | 1990-06-27 | 1990-06-27 | Motor controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0458308A true JPH0458308A (en) | 1992-02-25 |
Family
ID=15909870
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2170705A Pending JPH0458308A (en) | 1990-06-27 | 1990-06-27 | Motor controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0458308A (en) |
-
1990
- 1990-06-27 JP JP2170705A patent/JPH0458308A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2004085837A (en) | Camera, lens device and camera system | |
| JP4040406B2 (en) | Camera system, camera and lens device | |
| JP3566486B2 (en) | Lens device and optical apparatus having the same | |
| US7003222B1 (en) | Camera, lens apparatus, and camera system | |
| JPS6283713A (en) | automatic focus adjustment device | |
| JP7475872B2 (en) | Lens device and imaging device having the same | |
| JPH0458308A (en) | Motor controller | |
| US6798989B2 (en) | Motor control apparatus, lens apparatus, camera system and camera | |
| JPH11352385A (en) | Lens driving controller for camera | |
| JP4525033B2 (en) | Movement control device | |
| JPH0197910A (en) | Focus position control method for focusing lens | |
| JP3182416B2 (en) | Drive control device | |
| JPH06324245A (en) | Motor controller for driving lens of camera | |
| JPH03219203A (en) | Automatic focus adjusting device | |
| JPH0538196A (en) | Motor controller | |
| JPS63153526A (en) | Autofocusing device for camera | |
| JP2615679B2 (en) | Camera focusing device | |
| JP3280117B2 (en) | Camera control device | |
| JPS6387871A (en) | automatic focus device | |
| JP2807488B2 (en) | Lens position control device and camera | |
| JP2753437B2 (en) | Control device for zoom device | |
| JP3210485B2 (en) | Abnormality detector for zoom device | |
| JP4717263B2 (en) | Lens barrel and camera | |
| JPH01116608A (en) | Lens system drive device using vibration wave motor | |
| JPH07281757A (en) | Motor driving device |