JPH03219203A - Automatic focus adjusting device - Google Patents

Automatic focus adjusting device

Info

Publication number
JPH03219203A
JPH03219203A JP1547890A JP1547890A JPH03219203A JP H03219203 A JPH03219203 A JP H03219203A JP 1547890 A JP1547890 A JP 1547890A JP 1547890 A JP1547890 A JP 1547890A JP H03219203 A JPH03219203 A JP H03219203A
Authority
JP
Japan
Prior art keywords
motor
lens
speed
brake
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1547890A
Other languages
Japanese (ja)
Other versions
JP2807728B2 (en
Inventor
Yukio Uenaka
行夫 上中
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.)
Pentax Corp
Original Assignee
Asahi Kogaku Kogyo Co Ltd
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 Asahi Kogaku Kogyo Co Ltd filed Critical Asahi Kogaku Kogyo Co Ltd
Priority to JP2015478A priority Critical patent/JP2807728B2/en
Publication of JPH03219203A publication Critical patent/JPH03219203A/en
Application granted granted Critical
Publication of JP2807728B2 publication Critical patent/JP2807728B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Automatic Focus Adjustment (AREA)
  • Focusing (AREA)
  • Details Of Cameras Including Film Mechanisms (AREA)
  • Lens Barrels (AREA)

Abstract

PURPOSE:To shorten the time of movement of an automatic focusing lens to its focusing position by making a reverse brake before a short brake is started while a motor rotates at a constant speed. CONSTITUTION:The position of the automatic focusing lens is controlled by a motor 12 to put the lens in focus. Then the short brake which is made by the short circuit of a motor circuit 11 or the reverse brake which is made by the voltage application of a motor circuit 11 in the motor reversing direction is selected to brake the motor 12. Namely, transistors A - D are applied with a voltage for a specific time so that the motor 12 rotates in the opposite direction from current rotation, and the reverse brake is made for the specific time in the beginning of the braking of the motor 12. Consequently, the time from the start of the speed reduction of the motor to its stop is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、自動焦点カメラに設けられ、合焦動作におけ
る焦点レンズの移動停止動作を制御する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a device that is provided in an autofocus camera and that controls the movement and stop operation of a focusing lens during a focusing operation.

〔従来の技術〕[Conventional technology]

自動焦点カメラにおいて、自動焦点レンズはモータによ
って駆動されるように構成されており、モータは測距に
より得られたデフォーカス量に応じて回転制御され、こ
れによりレンズは合焦位置に制御される。この合焦制御
における自動焦点レンズの停止位置制御は、レンズが合
焦位置から所定距離だけ手前に来た時に、開始される。
In an autofocus camera, the autofocus lens is configured to be driven by a motor, and the motor is rotationally controlled according to the amount of defocus obtained by distance measurement, thereby controlling the lens to the in-focus position. . Stop position control of the autofocus lens in this focus control is started when the lens comes a predetermined distance from the focus position.

モータの減速制御は、モータ回路の通電と短絡とを繰り
返すPWM制御によって行われ、これにより生しるショ
ートブレーキにより、モータが目標回転速度まで減速さ
れると、この目標回転速度がさらに・]1さい値に設定
されてモータが再び減速される。
Motor deceleration control is performed by PWM control that repeats energization and short-circuiting of the motor circuit, and when the motor is decelerated to the target rotational speed due to the short brake generated by this, this target rotational speed is further increased to 1. is set to the lowest value and the motor is decelerated again.

−かしてレンズは、所定の精度で合焦位置に停止する。-The lens then stops at the in-focus position with a predetermined accuracy.

[発明が解決しようとする課題〕 したがって自動焦点レンズの停止制御に要する時間は、
モータ回路の短絡によって発生するモータの制動の大き
さによって定まる。ところが、この制動の大きさには限
界があり、従来、制動時間を十分に短縮することができ
なかった。このため、デフォーカス量が大きい場合に、
合焦までの時間が長く、自動焦点制御の高速化において
問題となっていた。
[Problem to be solved by the invention] Therefore, the time required for stop control of the autofocus lens is
It is determined by the amount of motor braking caused by a short circuit in the motor circuit. However, there is a limit to the magnitude of this braking, and conventionally it has not been possible to sufficiently shorten the braking time. Therefore, when the amount of defocus is large,
It takes a long time to focus, which poses a problem in speeding up automatic focus control.

本発明は、以上の点に鑑み、焦点レンズの合焦位置まで
の移動時間が短縮化された自動焦点調節装置を提供する
ことを目的としてなされたものである3 (問題を解決するだめの手段〕 本発明に係る自動焦点調節装置は、被写体に対するデフ
ォーカス量を検出する測距手段と、上記デフォーカス量
に基づいて、合焦のために上記レンズを移動させるべき
量を算出するレンズ移動量算出手段と、このレンズ移動
量算出手段により得られた移動量だけ、上記レンズを移
動させるべく上記モータを駆動するモータ回路と、上記
レンズの初期位置からの移動量を検出する移動量検出手
段と、この移動量検出手段により得られた移動量に応じ
て、上記モータ回路の短絡により生じるショートブレー
キと上記モータ回路のモータ逆回転方向の電圧印加によ
り生じる逆転ブレーキとを選択して上記モータを制動さ
せる速度制御手段とを備えたことを特徴としている。
In view of the above points, the present invention has been made with the object of providing an automatic focusing device in which the time required for moving the focusing lens to the in-focus position is shortened. ] The automatic focus adjustment device according to the present invention includes a distance measuring device that detects a defocus amount for a subject, and a lens movement amount that calculates an amount by which the lens should be moved for focusing based on the defocus amount. a calculation means, a motor circuit for driving the motor to move the lens by the amount of movement obtained by the lens movement amount calculation means, and a movement amount detection means for detecting the amount of movement of the lens from an initial position. The motor is braked by selecting either a short brake caused by a short circuit in the motor circuit or a reverse brake caused by applying a voltage in the motor circuit in the reverse rotation direction, depending on the amount of movement obtained by the movement amount detection means. The invention is characterized by comprising a speed control means for controlling the speed.

〔実施例〕〔Example〕

以下図示実施例により本発明を説明する。 The present invention will be explained below with reference to illustrated embodiments.

第1図は、本発明の一実施例を適用した自動焦点カメラ
の制御装置を示す。自動焦点レンズは、カメラのボディ
内に設けられたレンズ駆動部11によって位置制御され
、DCモータ12の回転によって進退動し、これにより
焦点面が変化する。
FIG. 1 shows a control device for an autofocus camera to which an embodiment of the present invention is applied. The autofocus lens is positionally controlled by a lens drive unit 11 provided within the camera body, and is moved forward and backward by rotation of a DC motor 12, thereby changing the focal plane.

レンズ駆動部11は、DCモータ12とモータ回路20
とを有し、モータ回路20はモータインターフェース1
3を介してCPU14に接続される。
The lens driving section 11 includes a DC motor 12 and a motor circuit 20.
The motor circuit 20 has a motor interface 1
3 to the CPU 14.

測距センサ15は、測距インターフェース16を介して
CPU14に接続され、CPU14は測距センサ15か
ら入力された測距データに基づいて被写体に対するデフ
ォーカス量を算出する。レンズ駆動部11は、このデフ
ォーカス量に応じて自動焦点レンズを移動させ、合焦位
置まで移動させる。
The distance measurement sensor 15 is connected to the CPU 14 via the distance measurement interface 16, and the CPU 14 calculates the amount of defocus for the subject based on the distance measurement data input from the distance measurement sensor 15. The lens drive unit 11 moves the autofocus lens according to this defocus amount to the in-focus position.

AFパルサ一部部子7、モータ12の出力軸に接続され
てこの出力軸の回転角に応じた数のパルスを出力し、こ
のパルスはCPU14に入力される。イベントカウンタ
18は、CPU14が自動焦点レンズの位置を検出する
ために、AFパルサ一部部子7らのパルスを計数する。
The AF pulser part 7 is connected to the output shaft of the motor 12 and outputs a number of pulses corresponding to the rotation angle of the output shaft, and these pulses are input to the CPU 14. The event counter 18 counts pulses from the AF pulser part 7 in order for the CPU 14 to detect the position of the autofocus lens.

測距スイッチS1は、シャッターボタンの半押しによっ
てオン状態となり、この時CPU14には、測距センサ
15からデフォーカス量が取り込まれる。レリーズスイ
ッチSWRは、シャッターボタンの全押しによってオン
状態となり、この時CPU14によってシャッターがレ
リーズされる。
The distance measurement switch S1 is turned on by pressing the shutter button halfway, and at this time, the CPU 14 receives the defocus amount from the distance measurement sensor 15. The release switch SWR is turned on by fully pressing the shutter button, and at this time the shutter is released by the CPU 14.

なお、CPU14には、自動焦点レンズに設けられてレ
ンズの各種の情報が予め記憶されているROM19が接
続される。
Note that the CPU 14 is connected to a ROM 19 that is provided in the autofocus lens and stores various information about the lens in advance.

モータ回路20は自動焦点制御のためにモータ12を回
転駆動して自動焦点レンズを移動させるものであり、第
1〜第4のトランジスタA、B、C,Dと、バッテリ2
1とを有する。モータ12の正極の端子には、第1およ
び第3のトランジスタA、Cのコレクタが接続され、モ
ータ12の負極の端子には、第2および第4のトランジ
スタB、Dのコレクタが接続される。各トランジスタの
エミッタはバッテリ21に接続され、またベースはモー
タインターフェイス13に接続される。
The motor circuit 20 rotates the motor 12 to move the autofocus lens for autofocus control, and includes first to fourth transistors A, B, C, and D, and a battery 2.
1. The collectors of the first and third transistors A and C are connected to the positive terminal of the motor 12, and the collectors of the second and fourth transistors B and D are connected to the negative terminal of the motor 12. . The emitter of each transistor is connected to the battery 21 and the base to the motor interface 13.

第2図は、自動焦点制御のメインルーチンのフローチャ
ートを示す。
FIG. 2 shows a flowchart of the main routine of automatic focus control.

ステップ50では、測距スイッチS1がオン状態か否か
チエツクされ、まだオン状態になっていなければこのス
テップ50が繰り返して実行される。測距スイッチS1
がオン状態になると、ステップ51において、測距セン
サ15により計測された測距データがCPU14に入力
される。ステップ52では、測距データに基づいて合焦
位置までのデフォーカス量が算出される。次いでステッ
プ53では、レンズのROM19から得られるレンズ情
報データと、ステップ52において算出されたデフォー
カス量とに基づいて、レンズの合焦位置までの駆動量P
calがパルス数として算出される。このパルス数はレ
ンズの移動量すなわちモータ12の回転角に対応してい
る。駆動量Pcalに対応したパルス数すなわち駆動パ
ルス数は、ステップ54においてイベントカウンタ18
にセットされる。なお、このイベントカウンタ18はダ
ウンカウンタであり、カウント値が0になった時、レン
ズは合焦位置にある。
In step 50, it is checked whether the distance measuring switch S1 is on, and if it is not on yet, step 50 is repeated. Distance switch S1
When turned on, distance measurement data measured by the distance measurement sensor 15 is input to the CPU 14 in step 51 . In step 52, the amount of defocus to the in-focus position is calculated based on the distance measurement data. Next, in step 53, the driving amount P of the lens to the in-focus position is determined based on the lens information data obtained from the ROM 19 of the lens and the defocus amount calculated in step 52.
cal is calculated as the number of pulses. This number of pulses corresponds to the amount of movement of the lens, that is, the rotation angle of the motor 12. The number of pulses corresponding to the drive amount Pcal, that is, the number of drive pulses, is determined by the event counter 18 in step 54.
is set to Note that this event counter 18 is a down counter, and when the count value reaches 0, the lens is at the in-focus position.

ステップ55では、モータ回路20の所定のトランジス
タA、B、C,Dに電圧が印加され、これによりモータ
12が通電されて回転し、自動焦点レンズの移動が開始
する。レンズの移動方向はレンズが合焦位置よりも遠景
側にあるか近景側にあるかによって異なり、また移動量
はデフォーカス量に応じて異なる。レンズの移動方向は
トランジスタA、B、C,Dへの通電状態によって変化
し、レンズが遠景側にある時、第3図の(1)に示すよ
うに、第1および第4のトランジスタA、Dのベースに
電圧が印加され、これによりトランジスタAからトラン
ジスタDへ電流が流れて、モータ12は所定方向へ回動
する。またレンズが近景側にある時、第3図の(2)に
示すように、第2および第3のトランジスタB、Cのベ
ースに電圧が印加され、これによりモータ12は第3図
の(1)の場合とは反対方向へ回動する。
In step 55, a voltage is applied to predetermined transistors A, B, C, and D of the motor circuit 20, thereby energizing the motor 12 to rotate and begin moving the autofocus lens. The direction of movement of the lens differs depending on whether the lens is on the far side or near side of the in-focus position, and the amount of movement differs depending on the amount of defocus. The moving direction of the lens changes depending on the energization state of the transistors A, B, C, and D. When the lens is on the distant view side, as shown in (1) in FIG. 3, the first and fourth transistors A, A voltage is applied to the base of transistor D, which causes current to flow from transistor A to transistor D, causing motor 12 to rotate in a predetermined direction. When the lens is on the foreground side, voltage is applied to the bases of the second and third transistors B and C, as shown in (2) in FIG. ) rotates in the opposite direction.

モータ12にショートブレーキがかけられる場合、各ト
ランジスタは第3図の(3)に示すような通電状態に定
められ、これによりモータ12の正極側の端子と負極側
の端子とが短絡して、モータは減速せしめられる。なお
、第3図の(4)は、モータ12をフリー状態にする時
の各トランジスタへの通電状態を示し、各トランジスタ
のベースには電圧は印加されない。
When a short brake is applied to the motor 12, each transistor is set to the energized state as shown in (3) in FIG. 3, and as a result, the positive terminal and negative terminal of the motor 12 are short-circuited. The motor is forced to slow down. Note that (4) in FIG. 3 shows the energization state of each transistor when the motor 12 is in a free state, and no voltage is applied to the base of each transistor.

ステップ56は、レンズを合焦位置で停止させるための
モータ駆動の速度制御を行うものであり、これについて
は後述する。
Step 56 is to control the speed of motor drive to stop the lens at the in-focus position, and this will be described later.

ステップ57は、ステップ56での制御においてイベン
トカウンタ18の値がOとなった時、実行され、これに
よりモータ12が停止する。
Step 57 is executed when the value of the event counter 18 becomes O in the control at step 56, and the motor 12 is thereby stopped.

ステップ58では、合焦したか否かがチエツクされ、合
焦していない場合、ステップ51へ戻ってステップ51
〜57の処理が繰り返されるが、合焦していればステッ
プ59へ進み、レリーズスイッチSWRがオン状態にな
ったか否かチエツクされる。レリーズスイッチSWRが
オン状態になると、ステップ60においてレリーズ処理
が行われてシャッターがレリーズされ、このルーチンは
終了する。
In step 58, it is checked whether or not the image is in focus, and if it is not in focus, the process returns to step 51 and the process returns to step 51.
The processes from 57 to 57 are repeated, but if the image is in focus, the process advances to step 59, where it is checked whether the release switch SWR is turned on. When the release switch SWR is turned on, a release process is performed in step 60 to release the shutter, and this routine ends.

第4図は、合焦制御におけるイベントカウンタ18の値
IVTに対するモータ12の回転速度の関係を示し、二
の図に示される例は、本実施例における速度制御すなわ
ちステップ56の制御を行わない場合である。
FIG. 4 shows the relationship between the rotational speed of the motor 12 and the value IVT of the event counter 18 in focus control, and the example shown in the second figure shows the case where the speed control in this embodiment, that is, the control in step 56 is not performed. It is.

この図において、モータが始動する時イベントカウンタ
値IVTは、レンズの合焦位置までの駆動量Pcalに
設定されている。モータの加速とともに、実線■1で示
すようにイベントカウンタ値IVTは減少していき、モ
ータは所定の速度に達すると実線I2に示すように一定
速で回転する。
In this figure, when the motor starts, the event counter value IVT is set to the drive amount Pcal to the lens focus position. As the motor accelerates, the event counter value IVT decreases as shown by the solid line 1, and when the motor reaches a predetermined speed, it rotates at a constant speed as shown by the solid line I2.

イベントカウンタ値IVTがOになるまでの残りパルス
数が所定値になると、つまりイベントカウンタ値IVT
がP3になると、PWM制御により、第1および第2の
トランジスタA、Bのみ、または第3および第4のトラ
ンジスタC,Dのみが所定の時間割合でオン状態(第3
図の(3))となり、モータ回路20が短絡してショー
トブレーキが生じ、実線■3で示すようにモータは減速
する。モータ速度が所定値になると、モータは実線■4
で示すように、イベントカウンタ値IVTがP2になる
まで一定速で回転する。イベントカウンタ値IVTがP
2まで減少すると、モータはPWM制御により定められ
るショートブレーキにより、実線I、で示すように再び
減速する。以下同様な制御によりイベントカウンタ値I
VTが0になると、ショートブレーキがかけられて、モ
ータは停止する。
When the number of remaining pulses until the event counter value IVT reaches O reaches a predetermined value, that is, the event counter value IVT
When P3 reaches P3, only the first and second transistors A and B or only the third and fourth transistors C and D are turned on (the third
(3) in the figure, the motor circuit 20 is short-circuited, a short brake occurs, and the motor decelerates as shown by the solid line 3. When the motor speed reaches a predetermined value, the motor will move to the solid line ■4
As shown in , it rotates at a constant speed until the event counter value IVT reaches P2. Event counter value IVT is P
When it decreases to 2, the motor is decelerated again by the short brake determined by PWM control as shown by the solid line I. Below, by similar control, the event counter value I
When VT becomes 0, a short brake is applied and the motor stops.

なお、モータはイベントカウンタ値IVTがOになって
から停止せしめられるため、厳密には本来停止すべき位
置を若干越えた位置で停止することとなるが、この量は
十分小さく許容範囲内にある。
Furthermore, since the motor is stopped only after the event counter value IVT reaches O, strictly speaking, it will stop at a position slightly beyond the original stop position, but this amount is sufficiently small and within the allowable range. .

しかして、モータは所定の目標速度になるように減速を
繰り返し、レンズはイベントカウンタ値fVTが略Oに
なる位置すなわち合焦位置で停止する。モータのブレー
キは、−度で終了させた方が短時間でレンズを合焦位置
まで移動させることができるが、レンズの停止位置を高
精度に制御することが困難になる。これは、−眼レフの
場合、レンズによって制動時の負荷が異なり、また電池
の性能が変化するため、−度のブレーキ操作だけでは停
止位置に誤差が生しるからである。したがってモータの
ブレーキは、段階的に行わなければならない。
Thus, the motor repeatedly decelerates to a predetermined target speed, and the lens stops at the position where the event counter value fVT becomes approximately O, that is, at the in-focus position. If the brake of the motor is ended at -degree, the lens can be moved to the in-focus position in a shorter time, but it becomes difficult to control the stopping position of the lens with high precision. This is because in the case of an eye reflex camera, the braking load differs depending on the lens, and the performance of the battery changes, so a brake operation of only -degrees causes an error in the stopping position. Braking of the motor must therefore be done in stages.

そこで本実施例においては、レンズの駆動時間の短縮の
ため、モータ12が現在の回転とは逆方向に回転するよ
うに、各トランジスタA、B、C1Dに所定時間だけ電
圧を印加している。すなわち本実施例は、モータ12の
制動の初期に所定時間だけ逆転ブレーキを発生させるよ
うに構成されている。
Therefore, in this embodiment, in order to shorten the driving time of the lens, a voltage is applied to each transistor A, B, and C1D for a predetermined time so that the motor 12 rotates in the opposite direction to the current rotation. That is, this embodiment is configured to generate reverse braking for a predetermined period of time at the beginning of braking of the motor 12.

この逆転ブレーキによるレンズの駆動時間の短縮を第5
図および第6図を用いて説明する。
The fifth objective is to shorten the lens driving time by using this reverse brake.
This will be explained using FIG. 6 and FIG.

第5図において、実線Jは第4図に示すものと同しもの
を示し、破線には本実施例におけるイベントカウンタ値
IVTとモータ速度との関係を示す。本実施例では、イ
ベントカウンタ値IVTがP3′になると、所定時間T
の間、逆転ブレーキをかけられ、これによりモータは、
第5図において符号に、で示すように、符号J1で示す
従来技術よりも急激に減速するにの逆転ブレーキは所定
時間のみであり、その後はショートブレーキに変更され
、モータ速度が第1の目標速度匹’M3になるようにP
 W M !II IBが行われる。次いで、モータ速
度が第1の目標速度PWM3になった後、イベントカウ
ンタ値rVTがP2゛になると、モータ速度が第2の目
標速度PWM2になるようにP W M ilJ御が行
われ、ショートブレーキがかけられる。同様にして、イ
ベントカウンタ値IVTがP、“になると、モータ速度
が第3の目標速度PWMIになるようにショートブレー
キがかけられ、イベントカウンタ値IVTがOになると
、ショートブレーキによりモータは停止せしめられる。
In FIG. 5, the solid line J indicates the same as that shown in FIG. 4, and the broken line indicates the relationship between the event counter value IVT and the motor speed in this embodiment. In this embodiment, when the event counter value IVT reaches P3', the predetermined time T
During this period, the reverse brake is applied, which causes the motor to
As shown by the symbols J1 in FIG. 5, the reverse brake is used only for a predetermined time to decelerate more rapidly than the conventional technology shown by J1, after which it is changed to a short brake, and the motor speed reaches the first target. P to become speed animal 'M3
WM! II IB is performed. Next, when the event counter value rVT reaches P2' after the motor speed reaches the first target speed PWM3, PWM ilJ control is performed so that the motor speed reaches the second target speed PWM2, and the short brake is activated. is applied. Similarly, when the event counter value IVT reaches P, ", a short brake is applied so that the motor speed reaches the third target speed PWMI, and when the event counter value IVT reaches O, the motor is stopped by the short brake. It will be done.

第6図は、第5図に示すモータの動作の時間的変化を示
したもので、本実施例におけるモータ速度の時間的変化
を破線りにより、また従来技術におけるモータ速度の時
間的変化を実線Mにより示している。この図から理解さ
れるように、本実施例によれば、減速開始時に所定時間
Tだけ逆転ブレーキをかけることにより、モータの減速
開始からモータの停止までの時間(r−+ )が、従来
技術における減速時間(M、)に比して大幅に短縮され
ている。
FIG. 6 shows the temporal change in the operation of the motor shown in FIG. 5, with the broken line representing the temporal change in motor speed in this embodiment, and the solid line representing the temporal change in motor speed in the prior art. It is indicated by M. As can be understood from this figure, according to this embodiment, by applying a reverse brake for a predetermined time T at the start of deceleration, the time (r-+) from the start of deceleration of the motor to the stop of the motor is shorter than that of the prior art. This is significantly shortened compared to the deceleration time (M, ).

本実施例において、モータに現在の回転とは逆回転方向
の電圧を印加する時間Tの長さによって、第5図および
第6図の破線に、Lの傾斜が変化する。またこの時間T
の長さに応して、モータに逆転もしくはショートブレー
キがかけられる時のイベントカウンタ値P1゛〜P3′
を変化させることができる。
In this embodiment, the slope of L changes as indicated by the broken line in FIGS. 5 and 6, depending on the length of time T during which a voltage is applied to the motor in a direction opposite to the current rotation. This time again T
Event counter value P1゛~P3' when the motor is reversed or short brake is applied depending on the length of
can be changed.

さて、第5図および第6図は、デフォーカス量が大きく
レンズ移動量が大きい場合、すなわちモータ速度が一定
速度已に達した状態からモータの制動が行われる場合で
あったが、デフォーカス量が小さくレンズ移動量が小さ
い場合にあっては、この一定速度Eよりも低いモータ速
度において逆転ブレーキをかけると、次に述べるように
、モータ速度が低下しすぎてモータの停止までの時間が
かかりすぎる場合が生しる。これを第7図および第8図
を用いて説明する。
Now, in Figures 5 and 6, the amount of defocus is large and the amount of lens movement is large, that is, the motor is braked after the motor speed reaches a certain speed. is small and the amount of lens movement is small, if the reverse brake is applied at a motor speed lower than this constant speed E, the motor speed will drop too much and it will take a long time to stop the motor, as described below. There are cases where it is too much. This will be explained using FIGS. 7 and 8.

第7図はイベントカウンタ値IVTとモータ速度との関
係を示す。モータ速度が破線F1で示すように上昇し、
まだ比較的低速の時にイベントカウンタ値IVTがP3
ムこ達して逆転ブレーキがかけられると、−点鎖線F2
で示すようにモータ速度が目標回転速度よりも低下しす
ぎてしまう。このためモータ速度は、CPU14の制御
によって、目標回転速度に近づくよう再び上昇すること
となる。したがってこの場合、第8図に一点鎖線Gで示
すようにモータの停止までの時間がかえって長くなって
しまう。すなわち、このような場合には逆転ブレーキは
不要であり、第7図に破線F3で示すように、ショート
ブレーキのみによりモータを制動させるべきである。
FIG. 7 shows the relationship between event counter value IVT and motor speed. The motor speed increases as shown by the dashed line F1,
The event counter value IVT is P3 when the speed is still relatively low.
When the reverse brake is applied when reaching the limit, -dotted chain line F2
As shown in , the motor speed becomes too low than the target rotational speed. Therefore, the motor speed is increased again under the control of the CPU 14 so as to approach the target rotation speed. Therefore, in this case, as shown by the dashed line G in FIG. 8, the time until the motor stops becomes longer. That is, in such a case, the reverse brake is not necessary, and the motor should be braked only by the short brake, as shown by the broken line F3 in FIG.

第8図に示す符号F3、Fz、Kは、第7図に一点鎖線
F2、破線F3、実線にで示された減速制御におけるモ
ータの減速開始から停止までの時間を示す。なお第7図
の実線には、逆転ブレーキを利用した制動動作を示し、
第5図の破線にと同じものである。第8図に明示される
ように、モータ速度が逆転ブレーキによって減速しすぎ
る場合にはモータ停止までの時間が長くなりすぎ(符号
F2)、またモータ速度が所定値よりも大きい場合、逆
転ブレーキによってモータ停止までの時間は大幅に改善
される(符号K)。
Symbols F3, Fz, and K shown in FIG. 8 indicate the time from the start of deceleration of the motor to the stop in the deceleration control shown by the dashed line F2, the broken line F3, and the solid line in FIG. 7. In addition, the solid line in Fig. 7 shows the braking operation using the reverse brake,
This is the same as the broken line in FIG. As clearly shown in Fig. 8, if the motor speed is decelerated too much by the reverse brake, the time until the motor stops will be too long (symbol F2), and if the motor speed is greater than a predetermined value, the reverse brake will reduce the motor speed too much. The time until the motor stops is significantly improved (symbol K).

一方、従来のようにショートブレーキのみを利用すると
、第7図に点線F4で示すように、レンズが合焦位置0
から許容範囲を越えた位置でモータが停止することにな
ってしまう。したがって、第7図に符号Xで示すように
、ショートブレーキによるモータの限界速度が存在し、
モータの制動を開始する時におけるモータ速度がこの限
界速度Xよりも大きい時のみ、逆転ブレーキを使用すべ
きである。
On the other hand, if only the short brake is used as in the past, the lens will move to the focus position 0, as shown by the dotted line F4 in FIG.
The motor will stop at a position that is beyond the allowable range. Therefore, as shown by the symbol X in FIG. 7, there is a limit speed of the motor due to the short brake,
Reverse braking should only be used if the motor speed at the time of starting motor braking is greater than this limit speed X.

すなわち第7図に示すように、モータに通電してモータ
の駆動を開始してからモータ速度が限界速度χに達する
までのパルス数をSとし、また、モータの制動が開始さ
れる時のイベントカウンタ値IVTをP3とすると、第
2図のステップ54おいて設定される駆動パルス数Pc
alに関し、s+p、≧Pcal の関係がある時、ショートブレーキのみを使用すればよ
く、逆C二、 S十P:l<Pcal の時、逆転ブレーキを使用すればよい。
That is, as shown in Fig. 7, S is the number of pulses from when the motor is energized and starts driving until the motor speed reaches the limit speed χ, and the event when braking of the motor starts. If the counter value IVT is P3, the number of driving pulses Pc set in step 54 of FIG.
Regarding al, when there is a relationship of s+p, ≧Pcal, it is sufficient to use only the short brake, and when reverse C2, S0P:l<Pcal, it is sufficient to use the reverse brake.

第9図は、限界速度Xを考慮してモータの速度制御を行
う場合における、第2図のステップ5.6における速度
制御のフローチャートを示す。なお、このフローチャー
トにおいて符号P+XPz、P3は、それぞれ第5図に
おける符号P、”、P2゛、P3°に相当する。
FIG. 9 shows a flowchart of the speed control in step 5.6 of FIG. 2 when the speed of the motor is controlled in consideration of the limit speed X. In this flowchart, the symbols P+XPz and P3 correspond to the symbols P,'', P2'', and P3° in FIG. 5, respectively.

第9図において、ステップ61ではイベントカウンタ値
IVTがP3よりも小さいが否かチエツクされる。イベ
ントカウンタ値IVTがP3よりも大きい時、すなわち
、例えば第4図においてイベントカウンタ値IVTがP
3よりも左側にある時、ステップ61は繰り返し実行さ
れ、モータの制動は行われない。こ二で、イベントカウ
ンタ値IVTがP3よりも・JXさくなると、ステップ
62へ進み、S + P 3≧Pcalが成立している
か否か判定される。これが成立している場合、逆転ブレ
ーキをかけるべきではないので、ステップ63をスキッ
プしてステ2・プロ4へ進むが、これが成立していない
場合には、逆転ブレーキをかけるべきであるので、ステ
ップ63が実行される。すなわちステップ63では、モ
ータ12を現在の回転方向とは逆方向に回転させるよう
な電圧が時間Tの間だけ印加される(第5図および第6
図参照)。
In FIG. 9, in step 61, it is checked whether the event counter value IVT is smaller than P3. When the event counter value IVT is larger than P3, that is, for example, in FIG.
3, step 61 is repeated and the motor is not braked. When the event counter value IVT becomes .JX smaller than P3, the process proceeds to step 62, where it is determined whether S+P3≧Pcal holds true. If this is true, the reverse brake should not be applied, so skip step 63 and proceed to Step 2/Pro 4. If this is not true, the reverse brake should be applied, so step 63 is executed. That is, in step 63, a voltage that rotates the motor 12 in the opposite direction to the current rotation direction is applied for only a time T (see FIGS. 5 and 6).
(see figure).

なおこの時間Tはモータ12の性質によって定まり、例
えば実験によって決定される。
Note that this time T is determined depending on the characteristics of the motor 12, and is determined, for example, by experiment.

ステップ64以下は通常の制動制御である。まずステッ
プ64において所定時間の間ショートブレーキがかけら
れ、次いでステップ65において、モータが第1の目標
回転速度PWM3になるようにPWM制御によりショー
トブレーキがかけられる。
Step 64 and subsequent steps are normal braking control. First, in step 64, the short brake is applied for a predetermined time, and then in step 65, the short brake is applied by PWM control so that the motor reaches the first target rotational speed PWM3.

ステップ66では、イベントカウンタ値IVTがP2よ
りも小さくなるか否か判定され、イベントカウンタ値I
VTがP2よりも小さくなると、ステップ67が実行さ
れる。すなわち、モータが第2の目標回転速度PWM2
になるようにPWM制御によりショートブレーキがかけ
られる。同様にして、ステップ68においてイベントカ
ウンタ値IVTがP2よりも小さくなると、ステップ6
9が実行されて、モータが第3の目標回転速度PWMI
になるようにショートブレーキがかけられる。ステップ
70において、イヘントカウンタ値IVTが0になると
、ステップ71においてショートブレーキがかけられて
モータは停止する。
In step 66, it is determined whether the event counter value IVT becomes smaller than P2, and the event counter value IVT is determined to be smaller than P2.
When VT becomes smaller than P2, step 67 is executed. That is, the motor is at the second target rotational speed PWM2.
A short brake is applied by PWM control so that Similarly, when the event counter value IVT becomes smaller than P2 in step 68, step 6
9 is executed and the motor reaches the third target rotational speed PWMI.
A short brake is applied so that When the event counter value IVT becomes 0 in step 70, a short brake is applied in step 71 to stop the motor.

以上のように本実施例は、モータ12が定速で回転して
いる状態からPWM制御によるショートブレーキが開始
される前に、駆動パルス数Pcalに応して逆転ブレー
キをかけるように構成されている。したがって、モータ
が所定値以上の高速で駆動されている場合に、モータを
迅速に停止させることができ、モータ制御時間を短縮さ
せて、自動焦点制御を高速化させることができる。
As described above, this embodiment is configured to apply reverse braking in accordance with the number of drive pulses Pcal before short braking by PWM control is started from a state in which the motor 12 is rotating at a constant speed. There is. Therefore, when the motor is being driven at a high speed higher than a predetermined value, the motor can be stopped quickly, the motor control time can be shortened, and automatic focus control can be performed at high speed.

[発明の効果] 以上のように本発明によれば、自動焦点レンズの合焦位
置までの移動時間が短縮化され、自動焦点制御を高速化
することができるという効果が得られる。
[Effects of the Invention] As described above, according to the present invention, the travel time of the autofocus lens to the in-focus position is shortened, and the autofocus control can be performed at high speed.

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

第1図は本発明の一実施例に係る自動焦点調節装置を有
する自動焦点カメラの制御装置を示すブロック図、 第2図は自動焦点制御のメインルーチンのフローチャー
ト、 第3図はモータ回路の各トランジスタの通電状態を示す
図、 第4図は従来の合焦制御におけるイヘントカウンタ値I
VTとモータ速度の関係を示すグラフ、第5図は本発明
の実施例と従来技術におけるイヘントカウンタ値TVT
とモータ速度の関係を示すグラフ、 第6図は本発明の実施例と従来技術におけるモータ速度
の時間的変化を示すグラフ、 第7図は限界速度以下で逆転ブレーキをかけた状態を他
の状態と比較して示す、イヘントカウンタ値rVTとモ
ータ速度の関係のグラフ、第8図は限界速度以下で逆転
ブレーキをかけた状態を他の状態と比較して示す、モー
タ速度の時間的変化のグラフ、 第9図は本発明の一実施例に係る自動焦点調節装置にお
ける速度制御ルーチンのフローチャートである。 】1・・・レンズ駆動部 12・・・モータ
FIG. 1 is a block diagram showing a control device for an autofocus camera having an autofocus adjustment device according to an embodiment of the present invention, FIG. 2 is a flowchart of the main routine of autofocus control, and FIG. 3 is a block diagram showing each of the motor circuits. A diagram showing the energization state of the transistor, and Fig. 4 shows the event counter value I in conventional focusing control.
A graph showing the relationship between VT and motor speed, FIG. 5 shows event counter values TVT in the embodiment of the present invention and in the prior art.
FIG. 6 is a graph showing the temporal change in motor speed in the embodiment of the present invention and the prior art. FIG. Figure 8 is a graph of the relationship between the event counter value rVT and the motor speed, which is shown in comparison with . FIG. 9 is a flowchart of a speed control routine in an automatic focusing device according to an embodiment of the present invention. ]1...Lens drive unit 12...Motor

Claims (2)

【特許請求の範囲】[Claims] (1)自動焦点レンズの位置をモータにより制御して合
焦させる自動焦点調節装置であって、被写体に対するデ
フォーカス量を検出する測距手段と、上記デフォーカス
量に基づいて、合焦のために上記レンズを移動させるべ
き量を算出するレンズ移動量算出手段と、このレンズ移
動量算出手段により得られた移動量だけ、上記レンズを
移動させるべく上記モータを駆動するモータ回路と、上
記レンズの初期位置からの移動量を検出する移動量検出
手段と、この移動量検出手段により得られた移動量に応
じて、上記モータ回路の短絡により生じるショートブレ
ーキと上記モータ回路のモータ逆回転方向の電圧印加に
より生じる逆転ブレーキとを選択して上記モータを制動
させる速度制御手段とを備えたことを特徴とする自動焦
点調節装置。
(1) An automatic focus adjustment device that controls the position of an automatic focus lens using a motor to focus the image, and includes a distance measuring device that detects the amount of defocus for the subject, and a distance measuring device that detects the amount of defocus for the subject and adjusts the focus based on the amount of defocus. a lens movement amount calculation means for calculating the amount by which the lens should be moved; a motor circuit for driving the motor to move the lens by the movement amount obtained by the lens movement amount calculation means; A movement amount detection means for detecting the movement amount from the initial position, and a short brake caused by a short circuit in the motor circuit and a voltage in the motor reverse rotation direction of the motor circuit according to the movement amount obtained by the movement amount detection means. 1. An automatic focus adjustment device comprising speed control means for braking the motor by selecting a reverse brake produced by application of a reverse brake.
(2)上記速度制御手段は、上記モータの制動開始時に
おける速度が所定値以上の時に、上記逆転ブレーキを選
択可能であることを特徴とする特許請求の範囲第1項記
載の自動焦点調節装置。
(2) The automatic focus adjustment device according to claim 1, wherein the speed control means is capable of selecting the reverse brake when the speed of the motor at the time of starting braking is equal to or higher than a predetermined value. .
JP2015478A 1990-01-25 1990-01-25 Automatic focusing device Expired - Lifetime JP2807728B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015478A JP2807728B2 (en) 1990-01-25 1990-01-25 Automatic focusing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015478A JP2807728B2 (en) 1990-01-25 1990-01-25 Automatic focusing device

Publications (2)

Publication Number Publication Date
JPH03219203A true JPH03219203A (en) 1991-09-26
JP2807728B2 JP2807728B2 (en) 1998-10-08

Family

ID=11889908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015478A Expired - Lifetime JP2807728B2 (en) 1990-01-25 1990-01-25 Automatic focusing device

Country Status (1)

Country Link
JP (1) JP2807728B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH062316U (en) * 1992-06-12 1994-01-14 株式会社ニコン Motor drive device used for camera and its accessories
US6831432B2 (en) * 2001-12-05 2004-12-14 Matsushita Electric Industrial Co., Ltd. Motor driving device and motor driving method
JP2006248094A (en) * 2005-03-11 2006-09-21 Seiko Epson Corp Recording apparatus, recording apparatus control method, and control program
JP2008003501A (en) * 2006-06-26 2008-01-10 Matsushita Electric Ind Co Ltd Lens drive device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6946234B2 (en) 2018-04-27 2021-10-06 株式会社小松製作所 Control device and control method for loading machine

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63286832A (en) * 1987-05-19 1988-11-24 Nikon Corp Photographic lens position control device
JPH0197910A (en) * 1987-10-09 1989-04-17 Konica Corp Focus position control method for focusing lens

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63286832A (en) * 1987-05-19 1988-11-24 Nikon Corp Photographic lens position control device
JPH0197910A (en) * 1987-10-09 1989-04-17 Konica Corp Focus position control method for focusing lens

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH062316U (en) * 1992-06-12 1994-01-14 株式会社ニコン Motor drive device used for camera and its accessories
US6831432B2 (en) * 2001-12-05 2004-12-14 Matsushita Electric Industrial Co., Ltd. Motor driving device and motor driving method
JP2006248094A (en) * 2005-03-11 2006-09-21 Seiko Epson Corp Recording apparatus, recording apparatus control method, and control program
JP2008003501A (en) * 2006-06-26 2008-01-10 Matsushita Electric Ind Co Ltd Lens drive device

Also Published As

Publication number Publication date
JP2807728B2 (en) 1998-10-08

Similar Documents

Publication Publication Date Title
JP3962658B2 (en) Camera, lens apparatus and camera system
US6301441B1 (en) Lens driving device
US5652928A (en) Method and apparatus for automatic deployment of camera lens
JPH03219203A (en) Automatic focus adjusting device
JPH0823617B2 (en) Automatic focus adjustment device
JPH0933788A (en) Lens driving device
US7003222B1 (en) Camera, lens apparatus, and camera system
US6798989B2 (en) Motor control apparatus, lens apparatus, camera system and camera
US6640056B2 (en) Camera for driving lens unit removably attached thereto and method for controlling drive therebetween
US5614982A (en) Automatic focus adjustment device for adjusting a focus state of a camera lens regardless of subject stability
JPH11352385A (en) Lens driving controller for camera
US6029010A (en) Optical unit controller
JPH0197910A (en) Focus position control method for focusing lens
JP2759978B2 (en) camera
JP3182416B2 (en) Drive control device
JP2006126329A (en) Lens driving device and camera having lens driving device, lens and camera system
JPH06124124A (en) Motor stop control device
JPH07281757A (en) Motor driving device
JPH0749455Y2 (en) Camera with automatic focus adjustment device
JP2615679B2 (en) Camera focusing device
JPH07181573A (en) Motor controller system for camera
US5278935A (en) Device for controlling moving body participating in photographing operation
JPS63153526A (en) Autofocusing device for camera
JP3110888B2 (en) Motor drive control device
JPH0743586A (en) Lens group stopping device for zoom device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090731

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100731

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100731

Year of fee payment: 12