Information
-
Patent Grant
-
4894676
-
Patent Number
4,894,676
-
Date Filed
Thursday, December 31, 198736 years ago
-
Date Issued
Tuesday, January 16, 199034 years ago
-
Inventors
-
Original Assignees
-
Examiners
Agents
- Fitzpatrick, Cella, Harper & Scinto
-
CPC
-
US Classifications
Field of Search
US
- 354 400-409
- 318 561
- 318 601
- 318 603
- 318 590
-
International Classifications
-
Abstract
An automatic focusing device for driving a lens to the in-focus position by a motor, by driving the motor at a high speed when the lens is distanced from the in-focus position by a large amount, or at a low speed when the lens is distance from the in-focus position by a small amount. Even when the lens is distanced from the in-focus position by a large amount, the high-speed drive is not conducted if the motor has to be switched to the low speed in the course of acceleration to the high speed, in order to prevent strong shock to the user, encountered in case of such sudden change to the low speed drive.
Description
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to an automatic focusing device for a camera, for moving a lens to a in-focus position by driving a motor, in response to an output signal of a focus detecting device indicating the defocus amount the in-focus position.
2. Related Background Art
There is already proposed, for example in the Japanese Patent Laid-open No. (94334/1981) corresponding to the German Patent Offenlegung No. 3049233 or the British Pat. No. 2069286, and in the Japanese Patent Laid-open No. (18611/1984) corresponding to the U.S. Pat. No. 4,451,729, an automatic focusing device capable of precisely moving a photographing lens to the in-focus position within a short time, by detecting, while a driving motor is stopped, the required amount of movement for driving the photographing lens to the in-focus position, corresponding to the amount of defocus of said lens, and driving said motor at a high speed for moving the photographing lens to the focused state if said required amount of movement is large, indicating that the lens is positioned far from the in-focus position, or driving said motor at a low speed if said lens has come close to the in-focus position or said lens is originally placed within a predetermined range close to the in-focus position so that said required amount of movement is small. Also the present applicant proposed, in the U.S. patent application Ser. No. 688,355 of Jan. 2, 1985, an automatic focusing motor control method utilizing servo drive. Said servo control method provides a higher driving speed when the amount of defocus is large and a lower driving speed when said amount of defocus becomes smaller.
At first reference is made to FIG. 4 for explaining the process of stopping the photographing lens at the in-focus position, in these known devices.
In FIG. 4, the ordinate indicates the driving speed of the motor while the abscissa indicates said required amount of movement, and a point P.sub.0 corresponds to the focused state.
Because of its characteristics, the motor reaches a stable high-speed drive state only after a predetermined amount of movement (corresponding to A in FIG. 4) from the start of drive, and, it cannot be stopped immediately in response to a stop signal but only after a predetermined amount of movement (corresponding to B in FIG. 4).
Therefore, when the lens is at a position P.sub.1 corresponding to a large amount of defocus and therefore requiring a large amount of movement, the motor is at first driven at a high speed N.sub.H, and is decelerated from a position P.sub.L which is located in front of the in-focus position P.sub.0 by a predetermined amount. The motor then continues to be driven at a low speed N.sub.L to a position P.sub.S which is located in front of said in-focus position by a predetermined distance (corresponding to C) which the lens has to travel before stopping when it is braked at the low driving speed N.sub.L, and the motor is braked when the lens reaches said position P.sub.S whereby it is stopped at the in-focus position P.sub.0.
On the other hand, when the lens is located at a position P.sub.2 which is closer than the position P.sub.L to the in-focus position P.sub.0, corresponding to a small amount of defocus and thus requiring a small amount of movement, the motor is driven at the low speed N.sub.L from the beginning.
However, if the lens is located at a position P.sub.3 of a medium amount of movement somewhat farther than the position P.sub.L, the motor is accelerated according to the start-up characteristics thereof but the lens reaches the position P.sub.L before the high driving speed N.sub.H, and the motor is switched to the deceleration process. There is therefore a very large change in the acceleration, causing a large shock and giving an unpleasant feeling to the user.
SUMMARY OF THE INVENTION
The object of the present invention is to provide an automatic focusing device capable of preventing formation of large shock during the driving operation of a photographing lens, regardless of the defocus amount to the in-focus position.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a chart showing the driving state of a motor embodying the present invention;
FIG. 2 is a circuit diagram for realizing the driving state shown in FIG. 1;
FIGS. 3A and 3B are flow charts showing the function of the circuit shown in FIG. 2;
FIG. 4 is a chart showing the driving state of a motor in a conventional automatic focusing device; and
FIG. 5 is a chart showing the driving state of a motor in another embodiment of the present invention.
DESCRIPTION OF THE PREFERRED EMBODIMENTS
Now the present invention will be clarified in detail by embodiments thereof shown in the attached drawings.
FIG. 1 shows the drive state of a motor embodying the present invention, wherein, as in FIG. 4, the ordinate and abscissa respectively indicate the driving speed of the motor and the required amount of movement of a photographing lens, and a point P.sub.0 corresponds to the in-focus position.
Also the points P.sub.1, P.sub.2, P.sub.S and P.sub.L correspond to those in FIG. 4 and will not therefore be explained again.
The driving mode is the same as in the conventional example shown in FIG. 4, when the photographing lens is at P.sub.1 requiring a large amount of movement or at P.sub.2 requiring a small amount of movement.
In the conventional driving mode, the motor is accelerated to the high driving speed N.sub.H if the required amount of movement is larger than the position P.sub.L even by a small amount. In the present invention, however, there is newly defined a point P.sub.H farther from the point P.sub.L, and the motor is driven at the low driving speed N.sub.L from the beginning if the lens is initially located at a position P.sub.4 between said points P.sub.L and P.sub.H. The high driving speed N.sub.H is employed only if the lens is initially located at a position P.sub.5 beyond said point P.sub.H.
Consequently, if the lens is initially at the position P.sub.5, it is driven at the high driving speed N.sub.H for a certain period, and is then decelerated upon reaching the point P.sub.L, so that it is rendered possible to prevent the formation of a strong shock caused by a sudden change from an accelerated state to a decelerated state as in the conventional technology.
However, if said point P.sub.H is selected at a large distance in consideration of the shock preventing effect, the lens at the position P.sub.4 will require a long driving time to reach the in-focus position P.sub.0, as the distance to be driven with the low driving speed N.sub.L is elongated. Thus the point P.sub.H should be selected at a well-balanced position in consideration of the accelerating and decelerating characteristics of the driving system.
FIG. 2 illustrates an electrical circuit, employing a microcomputer, for realizing the function shown in FIG. 1.
In FIG. 2 there are shown a microcomputer 1; a multiplexer 2; a motor 3 for driving an unrepresented focusing ring, thereby driving for example a helicoid mechanism for displacing a focusing lens; a pulse plate 4 rotated in linkage with said motor and having pattern defining areas of different light reflectance such as black and white; a light emitting diode (LED) 5; a current source 6 for driving said LED with a constant current; a phototransistor 7 for receiving the light of said LED 5 reflected by the pulse plate 4 and converting the intensity of said light into an electrical signal; a comparator 8 for detecting the amount of rotation of the motor 3 in cooperation with said pulse plate 4, LED 5, current source 6 and phototransistor 7; transistors 9-12 constituting a bridge circuit for driving said motor 3 and respectively connected to blocking diodes 90, 100, 110, 120; buffer gates 13-16; resistors 17, 18, 22; and buffer amplifiers 19-21, 23.
Said transistors 9-12 are on-off controlled by the microcomputer 1 through the buffer gates 13-16. The transistors 9, 10 are on-off controlled by the buffer gates 13, 14 of open-collector output, and the voltage supplied to the motor 3 at the turned-on state (when the buffer gates 13, 14 are open) depends on the output of the buffer amplifier 21. When said buffer gates 13, 14 are open, the output voltage of said buffer amplifiers 21 is supplied to the buffer amplifier 19, 20 through the resistors 17, 18, and the transistors 9, 10 supply the motor 3 with a voltage according to the output voltages of the buffer amplifiers 19, 20. The multiplexer 2, having 8 input terminals respectively grounded through resistors 26-33 and 1 output terminal, connects one of said input terminals with the output terminal in response to a 3-bit control signal supplied from the microcomputer 1.
A Ziner diode 24 is powered through a resistor 25 and supplies the buffer amplifier 23 with a constant voltage. Said buffer amplifier 23 provides a voltage The same as that determined by the Ziner diode 24. The buffer amplifier 21 receives a voltage determined by dividing the constant voltage from the buffer amplifier 23 by means of the resistor 22 and one of the resistors 26-33 selected by the multiplexer 2, and releases the same voltage. For the purpose of controlling the unrepresented focusing ring of the lens, and for moving the focusing lens, the microcomputer 1 receives an instruction from a distance calculation device 34, and, monitoring the amount of drive z of the motor and the driving speed thereof through the pulses given from the comparator 8, controls the rotating direction, the on-off state and the braking of the motor 3 by controlling the transistors 9-12 through the buffer gates 13-16 and by selecting one of the resistors 26-33 of the multiplexer 2 through the 3-bit control signal. There is also provided a programmable timer 35 capable of starting, stopping and resetting time measurement and sending the result of time measurement to the microcomputer 1. In the microcomputer 1 there are incorporated a ROM storing a control program and various constants, and a RAM capable of storing various constants. A positive input terminal of said comparator 8 is connected to a power supply through a variable resistor, and a negative input terminal thereof is connected to said power supply through a resistor 41.
Resistors 42, 43 are connected respectively to the transistors 11, 12.
Now reference is made to flow charts shown in FIGS. 3A and 3B, for explaining the function of the above-explained circuit shown in FIG. 2.
In response to the start of the power supply, the microcomputer 1 starts operation from the beginning of the flow shown in FIG. 3A.
[Step 1] At first the buffer gates 13-16 are shifted to the low(L) level state to turn off all the transistors 9-12, thus opening the terminals of the motor 3.
[Step 2] In this state the sequence awaits a drive command from the distance calculation device 34. Said device 34 measures the distance, calculates the defocus amount, converts said defocus amount into a number of pulses of the pulse plate 4 representing the amount of drive of the motor 3, required for driving the focusing ring, and supplies said number as the "required amount of drive", together with the driving direction (either toward a lens position focused to the infinite object distance or a lens position focused to the closest object distance), to the microcomputer 1 for controlling the driving mode of the photographing lens.
[Step 3] When the drive command, driving direction and required drive amount are given, a predetermined amount C (stored in ROM 36) required for braking during the low-speed drive is subtracted from the required drive amount, and the obtained result is regarded as the required drive amount. Therefore, when the braking is applied after a drive of said required drive amount, the lens stops after the "required amount of drive" calculated by the distance calculation device 34 if the motor speed immediately before braking, and the mechanical characteristics of the motor and lens tube are same as those designed.
[Step 4] If "the required drive amount" obtained by subtracting the predetermined amount C is zero or negative, a new drive command is awaited since such drive is not possible.
[Step 5] The required drive amount is compared with (P.sub.H -P.sub.S) in FIG. 1, and the sequence proceeds to a step 6 or 7 respectively when the former is larger or smaller.
[Step 6] A high driving speed N.sub.H is stored in a predetermined address of the RAM 37.
[Step 7] A low driving a speed N.sub.L is stored in a predetermined address of the RAM 37.
In this manner the high driving speed or the low driving speed is set respectively when the original "required drive amount" determined by the distance calculation device 34 is farther or closer than the point P.sub.H.
[Step 8] A pulse flag in the RAM 37 is initialized to "1".
[Step 9] The driving voltage is set at the lowest value ("0"). More specifically, one of the resistors 26-33 is selected by the multiplexer 2, and the output voltage of the buffer amplifier 23, determined by the Zener diode 24, is supplied to the buffer amplifier 21 through the resistor 22. The input voltage to the buffer amplifier 21 is lowest ("0") or highest ("7") respectively by selecting a resistor of lowest or highest resistance from the resistors 26-33, and a corresponding voltage is given to the motor 3 through the transistor 10.
[Step 10] A value "0" is set as the initial value of a voltage change request.
Step 11] The pulse plate 4 rotated in linkage with the motor 3 and the unrepresented focusing ring reflects the light from the LED 5, and the repeated intensity change caused by the black-and-white pattern on said pulse plate corresponding to the rotation angle thereof is converted into an electrical signal in the phototransistor 7 and further into pulses "1" and "0" in the comparator 8. The timer 35 is reset and activated in order to determine the rotated/stopped state or to measure the rotating speed of the motor 3 or the focusing ring, in relation to the interval of said pulses.
[Step 12] The transistors 9, 12 or the transistors 10, 11 are turned on while the other set are turned off thereby supplying the motor 3 with a current corresponding to the instructed direction of rotation.
[Step 13] The state of the pulse is read, and the sequence proceeds to a step 17 or 14, respectively if the pulse is "0" or "1".
[Step 14] The sequence proceeds to a step 18 or 15 respectively if the pulse flag, indicating the state or preceding pulse, is "0" or "1".
[Step 15] The pulse flag is set from "0" to "1", and the sequence proceeds to a step 16.
[Step 17] If the step 13 identifies a pulse state "0", the pulse flag indicating the state of the preceding pulse is set to "0".
In this manner the state of the pulse is identified and is compared with the state of the preceding pulse in order to detect the start of a pulse. The sequence proceeds to the step 16 or 18 respectively if a pulse has been started or not, and the state of the present pulse is stored by the pulse flag.
[Step 18] When a pulse has not been started, it is determined if the time measured by the timer 35 has exceeded a maximum pulse duration. Said maximum pulse duration indicates a pulse duration (pulse interval) at a driving speed lower by a tolerance .alpha. than the predetermined driving speed, namely a duration indicated by {"predetermined driving speed".times.(1-.alpha.)}.sup.-1. If the measured time has not reached the maximum pulse duration, the sequence returns to the step 13 to repeat the detection of the pulse state. On the other hand, if the measured time has reached the maximum pulse duration, the sequence proceeds to a step 19.
[Step 19] The time 35 is reset and reactivated.
[Step 20] The voltage change request value stored in the RAM 37 is increased by 1, in order to memorize the number of recognitions of the request for increasing the motor driving voltage.
[Step 21] It is determined if the number of voltage change requests has reached a number m. The sequence proceeds to a step 26 if said number has not reached m. On the other hand, the sequence proceeds to a step 22 if said requests have been made m times, namely the speed corresponding to the previous voltage change is identified, at least m times, lower than "driving speed.times.(1-.alpha.)".
[Step 22] If is determined if the selected driving voltage is at the maximum level "7", and the sequence proceeds to a step 25 or 23 respectively if said maximum level "7" has been selected or not.
[Step 23] A resistor of next higher resistance, than that of the resistor currently selected, is selected by the multiplexer 2 from the resistors 26-33, thereby providing the motor 3 with a one-step higher voltage.
[Step 24] The voltage change request is reset to zero.
[Step 25] If the step 22 identifies the driving voltage at the maximum level "7", there is identified a drive disabled state in which a higher voltage cannot be given to the motor, and the sequence returns from the routine 2 to the start of the program.
[Step 26] The timer 35 is reset and restarted, and the sequence returns to the step 13 for pulse state detection.
[Step 16] If the pulse state detection in the step 13 indentifies the start of pulse, a pulse is counted and the value of the required drive amount is decreased by one.
[Step 27] It is determined if the required drive amount is equal to zero or not, and the sequence proceeds to a step 28 or 32 respectively if it is zero or not.
[Step 28] If the required drive amount is zero, there is identified the completion of the required drive, and the timer 35 is reset and restarted.
[Step 29] The motor 3 is braked by turning off the transistors 9, 10 and turning on the transistors 11, 12 thereby shortcircuiting the terminals of the motor 3 through the transistors 11, 12 and the ground and using the motor 13 itself as a load for the rotation of the focusing ring.
[Step 30] The sequence waits until the time measured by the timer 35 restarted in the step 28 reaches a predetermined time T.
[Step 31] The end of the driving operation is identified when the braking time to the motor 3 reaches the predetermined time T, and is transmitted to the distance calculation device 34, and the sequence returns from the routine 2 to the start of the program.
[Step 32] If the required drive amount detected in the step 27 after the start of a pulse is not yet zero, it is determined whether the time measured by the timer 35 has exceeded the minimum pulse duration. Said minimum pulse duration indicates the pulse interval, at a driving speed higher by a tolerance .alpha. by the predetermined driving speed and can be represented as {"driving speed".times.(1+.alpha.)}.sup.-1. The sequence proceeds to a step 38 or 33 respectively if the pulse duration is larger or smaller than said minimum duration.
[Step 33] It is determined if the selected driving voltage is at the minimun level "0", and the sequence proceeds to a step 38 or 34 respectively if it is at the level "0" or not.
[Step 34] The value of the voltage change request is decreased by 1, in order to memorize the number of recognitions that the driving voltage has to be lowered in order to reduce the driving speed.
[Step 35] It is determined if the value of the voltage has reached a predetermined value "-n", and the sequence proceeds to a step 36 or 38 respectively when the value -n has been reached or not.
[Step 36] When the value of the voltage change request has reached -n, the driving voltage is reduced by one step.
[Step 37] The value of the voltage change request is reset to zero.
[Step 38] It is determined if the required drive amount is smaller than a predetermined value P.sub.L, and the sequence proceeds to a step 39 or 26 respectively if the former is smaller or not.
[Step 39] A position close to the in-focus position is identified when the required drive amount is smaller than the predetermined value P.sub.L, and the driving speed is switched to the low driving speed N.sub.L. Then the sequence proceeds to the step 26.
In the foregoing embodiment, the rotating speed of the motor 3 is controlled by the driving voltage therefor, but the present invention is applicable also to other speed control methods, such as a method of driving the motor with pulses and varying the number of said pulses per unit time, or a method of speed control by a combination of continuously powered drive and duty ratio-controlled drive.
As explained in the foregoing, the drive is started with the high driving speed N.sub.H if the required driving amount is larger than P.sub.H, but is started with the low driving method speed N.sub.L if said amount is equal to or lower than P.sub.H, and, in the former case, the drive is switched to the low driving speed N.sub.L when the remaining driving amount becomes smaller than P.sub.L.
Now reference is made to FIG. 5 for explaining another embodiment, which is to reduce the time required to reach the in-focus position, from a position close to a point P.sub.M but where the required amount of movement is smaller than for the point P.sub.M. The point P.sub.M is defined between the points P.sub.H and P.sub.L, and a medium driving speed N.sub.M is defined, and, when the lens is located between the points P.sub.H and P.sub.M, said medium driving speed is adopted instead of the low driving speed, thereby reducing the time required to reach the in-focus position, in comparison with the foregoing embodiment.
As explained in the foregoing, in the automatic focusing device of the foregoing embodiments, for an intermediate amount of defocus in which the high speed driving is to be soon switched to the low speed driving, there exists a case in which the high speed driving continues for a certain period so that a strong shock is not generated upon switching to the low speed driving, and a case in which a strong shock is generated since the deceleration starts in the course of acceleration to the high driving speed or immediately after arrival at said high driving speed. In the former case the driving operation is conducted in the same manner as in a large defocus amount, but in the latter case the driving operation is conducted with the low driving speed from the beginning, so that smooth driving operation can be achieved without strong shock to the user, regardless of the amount of defocus, and the increase in the driving time can be minimized even for a medium defocus amount.
Claims
- 1. An automatic focusing device for moving a photographing optical system to a in-focus position by a driving motor, comprising:
- (a) first control means for driving said motor at a high speed, when said photographing optical system is distanced in excess of a first amount from said in-focus position, thereby moving said photographing optical system to said in-focus position with a high speed, said first control means being further adapted to change said motor to a low driving speed when said photographing optical system reaches a position distanced from said focused position by a predetermined amount;
- (b) second control means for driving said motor at a low speed, when said photographing optical system is distanced less than a second amount from said in-focus position, thereby moving said photographing optical system to said in-focus position with a low speed; and
- (c) third control means for prohibiting said high-speed driving even when said photographing optical system is distanced in excess of said first amount from said in-focus position, if said motor, upon reaching a predetermined high speed after the start of the high-speed drive, cannot be maintained at said predetermined high speed for a predetermined period.
- 2. A device according to claim 1, further comprising additional control means for driving said motor at said low speed, when said high-speed driving is prohibited by said third control means.
- 3. A device according to claim 1, further comprising additional control means for driving said motor at a speed selected between said high speed and said low speed, when said high-speed driving is prohibited by said third control means.
- 4. A device according to claim 1, wherein said first amount in said first control means is selected equal to said second amount in said second control means.
- 5. An automatic focusing device for rotating a driving motor at a high speed, when a photographing optical system is distanced by a large defocus amount from the in-focus position thereby moving said photographing optical system to the in-focus position at a high speed, and for rotating said driving motor at a low speed when said photographing optical system is distanced by a small defocus amount from the in-focus position thereby moving said photographing optical system to the in-focus position at a low speed, comprising:
- (a) distance measuring and calculation means for detecting the defocus amount of said photographing optical system to the in-focus position; and
- (b) control means for controlling the rotating speed of said motor to at least a first lower speed or a second higher speed in response to said defocus amount detected by said distance measuring and calculation means,
- wherein said control means is adapted so that:
- (b-1) when said motor is driven in said second higher speed toward a direction of the in-focus position, the motor driving speed is changed into said first lower speed when the defocus amount becomes smaller than a first predetermined amount, and
- (b-2) when said defocus amount is smaller than a second predetermined amount, said motor is driven at said first lower speed from the beginning, and when said defocus amount is larger than said second predetermined amount, said motor is driven at said second high speed from the beginning, wherein said second predetermined amount is larger than said first predetermined amount, and the difference between said first and second predetermined amounts is at least equal to the defocus amount of movement required for said motor to reach said second higher speed from a stopped state.
- 6. A device according to claim 5, wherein said distance measuring and calculation means performs distance measuring, calculates the defocus amount, and determines a direction and amount of motor rotation for obtaining an in-focus state.
- 7. A device according to claim 5, further comprising means for detecting the change in said defocus amount, and wherein said detecting means is adapted to detect the change in said defocus amount in the course of movement of said photographing optical system by said motor.
- 8. A device according to claim 7, wherein said detecting means at least comprises a rotary wheel rotated in linkage with the rotation of said motor, and a detecting element for detecting the amount of rotation of said rotary wheel.
- 9. A device according to claim 5, wherein said first predetermined amount is larger than an amount of movement required by said motor to be decelerated from said second speed to said first speed.
- 10. A device according to claim 5, wherein the driving speed of said motor is controlled by a change in driving voltage.
- 11. A device according to claim 9, wherein the driving speed of said motor is controlled by a change in driving voltage.
Priority Claims (1)
Number |
Date |
Country |
Kind |
62-004593 |
Jan 1987 |
JPX |
|
US Referenced Citations (5)
Foreign Referenced Citations (1)
Number |
Date |
Country |
45212 |
Mar 1986 |
JPX |