Autofocusing system for a camera

Abstract: An autofocusing system for a camera, wherein a defocus amount is detected by a light-amount-integration type detector means, depending upon which focusing operation is executed. The focusing operation is adjusted according to a conversion factor Kval which is corrected according to its change rate Kc in one of a plurality of sections of the focal length.

Description: The present invention relates to an autofocusing system of a camera adapted for use in forming an image of an object on a light receiving element of an amount-of-light integration type by means of luminous flux incident through a lens and obtaining the defocus amount of a lens with respect to the object by integrating the amount of light. The so-called TTL (Through-The-Lens) type focus detection system wherein the detection of the defocus amount depends on the state of the image formed with luminous flux transmitted through a photographic lens is widely employed as an automatic focusing system in such cameras as single-lens reflex cameras which require a true in-focus condition. In that case, a delivery-amount-of-lens conversion factor Kval is used to convert the defocus amount into AF (Auto-Focus) motor drive pulse numbers. The Kval in this specification is defined as a delivery amount of the lens per unit movement of an image surface. The term Kval may instead be defined as a movement of the image surface per unit delivery-amount of the lens; in the latter case, however, the size relation therebetween is reversed in the following description. Since the Kval takes different values on a focal length basis in the case of a zoom lens, it is stored as variable data in a ROM (Read Only Memory) provided in the lens unit. (The lens system having variable focal length can either be zoom lens system or variable-focal lens system. Accordingly, although explanations will be given only to the zoom lens system in this specification, it should be noted that the present invention can be similarly applicable to the variable-focal lens system.) According to the aforementioned definition, the longer the focal length, the smaller the Kval value becomes, and vice versa as represented by a curve shown by a broken line in Fig. 11. As the focal length of a lens is not directly detectable, the zoom ring position is shown, in Fig. 11, as a variable corresponding to the focal length. Conventionally, the Kval is obtained from a zoom code detected through brushes slidably in contact with a code plate supported by the zoom ring and a stationary ring of a lens barrel whereby it has been obtained as intermittent data providing one value between the zoom codes as shown by a continuous line in Fig. 1. This is also applicable to a case where the focal length is detected as shown in Fig. 12. In order to distinguish be tween the actual focal length and what is detected from the zoom code plate, the latter is shown in Fig. 12 as a detected focal length. If, however, the data stored in the lens ROM is addressed according to the zoom code detected from the zoom code plate, the Kval tends to become roughly controlled and therefore accurate AF control may not be exercised. Furthermore, while the focusing lens stands still, it is only necessary to start driving it by obtaining the drive amount from the detected defocus amount and the aforementioned Kval. In case the defocus amount is large as shown in Fig. 13, the linearity of the Kval will not be ensured. Since the Kval determined a linear range of Kval, moreover, the lens will stop at a point B and may not be in-focused as shown by a dotted line in Fig. 13, if the defocus amount is detected at a point A to execute the AF control. The defocus amount has to be detected accordingly in such a zone that the Kval linearly varies to obtain an accurate drive amount. In other words, it becomes necessary to carry out a CCD-integration and, when the defocus amount is large, to carry out the CCD-integration during the AF driving. The drive amount of the lens is proportional to the AF-motor-drive-pulse numbers and, provided the lens is given uniform motion, the drive-pulse numbers also become proportional to time. In Fig. 14, the number of pulses from the stop point up to the commencement of the CCD-integration is designated as P1; the number of pulses up to the termination of the integration as P2; the number of pulses up to the termination of the conversion into the drive-pulse numbers from the defocus amount detected from the CCD output as P3; and the number of pulses up to a target in-focus position as P4. With a simple calculation, the number of pulses obtained through the aforementioned calculation corresponds to the midpoint between the time at which the integration is started and the time at which it is terminated, i.e. it corresponds to the defocus amount when the lens is located at the position corresponding to the number of pulses (P1 + P2)/2. However, the lens is actually located slightly closer by the number α of pulses to the target than the midpoint. As a result, an overlapping part equivalent to the number α of pulses may be included in the drive amount according to a simple calculation. The number of drive pulses is therefore determined by substracting the overlapping part α from the number of pulses up to the target, the number of which is obtained from the simple calculation when the drive pulse is computed during the AF driving. The calculation of the drive pulse during the AF driving is defined as "overlapping integration" in this specification. If, however, zooming is conducted during the overlapping integration in the case of a zooming lens, the problem is that accurate AF control cannot be effected because the Kval changes. It is therefore an object of the invention to provide an autofocusing system for a camera capable of more accurate calculating the Kval accompanying zooming by detecting the drive amount of a zoom motor. An autofocusing system in accordance with the invention is defined in claim 1. For the above purposes, there is provided an autofocusing system for a camera, wherein a defocus amount is detected with a light-amount-integration type detector means, depending upon which the focusing operation is executed, said system comprising: drive means for moving a photographic lens; focal length detection means for detecting the focal length of said photographic lens, factor output means for outputting a delivery-amount-of-lens conversion factor for converting said defocus amount into the drive amount of the photographic lens in compliance with the output of said focal length detector means, factor calculation means for computing said conversion factor from the outputs of said factor output means at the time when said light-amount-integration starts and at the time when said integration terminates; and determining means for determining whether the photographic lens is moved while said light-amount-integration is executed; drive amount calculation means for computing the drive amount of the photographic lens a) from the output of said factor output means at the time when said integration terminates and from said defocus amount if said determining means determines that said photographic lens is not moved, b) from the conversion factor computed by said factor calculation means and from said defocus amount if said determining means determines that said photographic lens is not moved. According to another aspect, there is provided an autofocusing system for a camera, wherein a defocus amount is detected with a light-amount-integration type detector means, depending upon which the focusing operation is executed, said system comprising: drive means for moving a photographic lens; monitor means for monitoring changes of the focal length of the photographic lens; and computer means for computing the drive amount of the photographic lens corresponding to the defocus amount detected by said detector means, with a driving-amount-of-lens conversion factor for converting the defocus amount of the photographic lens; wherein said computer means compensates said conversion factor in accordance with the direction of change of the focal length monitored by said monitor means if the focal length varies while said integration is executed. In a further aspect, there is provided an autofocusing system for a camera, comprising; a zoom motor for zooming said photographic lens; a focusing motor for focusing said photographic lens; drive means for driving said focusing motor; monitor means for monitoring the drive amount of said zoom motor; detector means for detecting the defocus amount of said photograpic lens; factor output means for outputting a delivery-amount-of-lens conversion factor for converting said defocus amount into the drive amount of said focusing motor in compliance with the output of said monitor means; and computer means for computing the drive amount, to be transmitted to said drive means, from said conversion factor and said defocus amount. The invention provides an autofocusing system for a camera, comprising: a zoom motor for zooming a photographic lens; a focusing motor for focusing said photographic lens; drive means for driving said focusing motor; monitor means for monitoring the drive amount of said zoom motor; focal length detector means for detecting the focal length of said photographic lens by indicating one of a plurality of divided sections of the focal length, depending upon the output of said monitor means; defocus amount detector means for detecting the defocus amount of said photographic lens; reference factor output means for outputting a reference value of a delivery-amount-of-lens conversion factor for converting the defocus amount into the drive amount of said focusing motor in compliance with the output of said focal length detector means; correction factor output means for outputting a change-rate of said conversion factor in the section indicated by said focal length detector means; first computer means for computing said conversion factor, as a primary function within the same section, with said reference factor, the output of said monitor means and said change-rate; and drive amount calculation means for computing the drive amount, to be transmitted to said driving means, from said conversion factor and said defocus amount. According to another aspect, there is provided an autofocusing system for a camera, wherein a defocus amount is detected with a light-amount-integration type detector means, depending upon which the focusing operation is executed, said system comprising: determining means for determining whether a photographic lens is moved while the light-amount-integration is executed by said detector means, and wherein said focusing operation is adjusted in a predetermined fashion if it is determined by said determining means that the photographic lens is moved while the light-amount-integration is executed. In still another aspect, there is provided an autofocusing system for a camera, wherein a defocus amount is detected with a light-amount-integration type detector means, depending upon which the focusing operation is executed, said system comprising: determining means for determining whether the focal length of a photographic lens is varied while the light-amount-integration is executed by said detector means, and wherein said focusing operation is adjusted in a predetermined fashion if it is determined by said determining means that the focal length of the photographic lens is varied while the light-amount-integration is executed. The invention will be further described with references to the drawing in which Fig. 1 shows a bock diagram illustrating a camera including a system embodying the present invention; Fig. 2 and 3 show graphs illustrating the relation between the focal length and Kval and the relation between the focal length and what is detected from the zoom code plate, etc. in the system embodying the present invention, respectively; Figs. 4 through 7 show graphs each illustrating the relations between the focal length, the defocus amount and the drive amount of the focusing lens; Fig. 8 shows a graph explanatory for the principle of overlapping integration during the zooming operation; Figs. 9 and 10 show flowcharts illustrating the operation of an in-focus detection device embodying the present invention; Figs. 11 and 12 show graphs illustrating the relation between the focal length and Kval and the relation between the focal length and what is detected from the zoom code plate, etc. in a conventional autofocusing system; Fig. 13 shows a graph illustrating the relation between Kval and the defocus amount; and Fig. 14 shows a graph explanatory for the principle of overlapping integration. Fig. 1 is a schematic block diagram illustrating a camera system equipped with an autofocusing system embodying the present invention. A camera body 1 is equipped with two CPUs: a main CPU 10 for processing various kinds of photographic data; and a display CPU 11 for receiving data mainly via switches, transmitting and receiving data to and from a photographic lens, and displaying the data. With these CPUs as the main components, the camera body 1 further comprises an LCD panel 12 for displaying various kinds of data, a DX code input circuit 13 for receiving the ISO (International Standard Organization) sensitivity of a film for use based on the DX code printed on the film cartridge, a light receiving element 14 for measuring the luminance of an object by luminous flux incident cident via the photographic lens, an A/D converter 15 for subjecting the output of the light receiving element to an A/D conversion, an exposure control circuit 16 for controlling a shutter on the basis of various given photographic conditions, an AF CCD 17 for receiving light from an image of the object formed by the luminous flux incident via the photographic lens, and a CCD processing circuit 18 for detecting the defocus amount of the photographic lens from the output of the AF CCD 17. An automatic focusing (AF) motor 19 for focusing the lens is used to transmit the driving force to the photographic lens via a coupler 19a when the photographic lens of a conventional type without an AF motor is mounted, and provided together with an AF motor control circuit 20 for driving the AF motor 19 by computing the output of the CCD processing circuit 18 and an AF pulser 21 for detecting the drive amount of the AF motor 19. A battery 22 is designed to supply power to motors to be described later and provided within the photographic lens and to a CPU in addition to each active element in the camera body 1. The photographic lens 2 incorporates three motors;an AF motor 60, a power zoom (PZ) motor 61 and an automatic exposure (AE) control motor 62, whereby the driving force within the lens is provided for focusing, zooming and exposure control. The photographic lens 2 has a cam mechanism similar to that of a conventional type for focusing and zooming by means of cam rings for moving each of the lens groups relative to the optical axis, the aforementioned AF motor 60 and the PZ motor 61 being used for driving the cam rings to rotate. These motors are controlled by the lens CPU 66 as an operational means via an AF motor drive unit 63, a PZ motor drive unit 64 and an AE motor drive unit 65, respectively. A data input means for the lens CPU 66 comprises a lens ROM 67 as a means for storing data inherent in the lens; an AF pulser 68, a PZ pulser 69 and an AE pulser 70 for detecting the drive amounts of the respective motors in the form of pulses; a zoom code plate 71 and a distance code plate 72 for detecting the respective revolved positions of the zooming and focusing cam rings. Incidentally, the code plate actually consists of the code plate secured to the cam ring and a plurality of brushes slidably in contact with the code plate fitted to the fixed ring arranged so that the absolute rotational position of each cam ring is detected by the state in which the brushes come into contact therewith. However, the term "code plate" is used as a general term given to these plates as a whole for convenience. The lens CPU 66 is coupled to the controlled system and the input means and also capable of communicating with the camera body 1 via groups of electric contacts provided at a mount port, e.g. it functions as means for computing the drive amout while referring to the data stored in the lens ROM 67 upon receipt of the defocus amout detected on the camera body side, for driving the AF motor while detecting the drive amount using the AF pulser 60, and for driving the AE motor 62 to rotate while detecting the drive amount using the AE pulser 70 on the basis of the exposure value determined on the camera body side. Moreover, the lens is provided with an AF coupler 73 for driving the focusing lens so that focusing can be fulfilled by the AF motor on the body side in line with the situation involved. The lens CPU 66 controls each of the motor drive circuits in the lens according to the data from the lens ROM or what is transferred from the body and transfers set data to the body side. The lens ROM 67 stores data inherent in the photographic lens; e.g. data concerning the f-number at open aperture, the f-number at minimum open aperture, the amount of change of Kval accompanied by zooming, etc., or sends out data under the control of the CPU on the body side. In the zooming lens of this example, the upper addresses of the lens ROM 67 are specified in conformity with the zoom codes detected from the zoom code plate, whereas the lower addresses are internally prepared by counting the clocks applied. As set forth above, the Kval is a value which is variable in accordance with the focal length of the lens; the longer the focal length, the smaller it normally becomes, and vice versa. The Kval is computed by dividing the same zoom code zone detected from the zoom code plate into small steps using the PZ pulse delivered from the PZ pulser in this system. An accurate AF control is thus implemented. More specifically, the Kval changes smoothly by nature as shown by a broken line in Fig. 2. In the case of this lens, a set of forefront Kval (Kh), Kval correction factor (Kc) and the forefront number of pulses Ph corresponding to one zoom code zone is read out of the lens ROM, these values and the absolute number of pulses Ps from the Wide extremity of the present zoom lens by means of the PZ pulser being employed as a primary function of Equation (1) below to control a change of Kval in the one zoom code zone. Kval = Kh + Kc * (Ps - Ph) The forefront Kval (Kh) and the forefront number of pulses Ph respectively mean Kval and the number of pulses at the Wide extremity in the one focal length zone detected from the zoom code plate and represent points C - G in Fig. 2. On the other hand, the Kval correction factor (Kc) means an inclination of a line connecting the respective forefront Kvals. Although the Kval within the same section of the zoom code plate is controlled as the primary function in this embodiment, it may be stored in such a manner that it corresponds to the absolute number of pulses Ps. In this system, the detected focal length f is controlled likewise as shown by Equation (2) (see Fig. 3). f = fh + fc * (Ps - Ph) where fh = forefront focal length and fc = focal length correction factor. Thus an image-magnification-fixing control becomes possible. The image-magnification-fixing control means that the focal length of the lens is caused to change in such a manner that the size of the image of an object is kept constant even though the distance between the object and the camera varies in such a way that power zooming is fulfilled by the zoom motor. This control is exercised by computing changes of the focal length corresponding to variations of the magnification from the defocus amount after the object once focused is moved and further converting the change into the zoom motor drive pulses in such a camera as a single-lens reflex camera in which a focus detection system is employed for automatic focusing. In this camera system, further Kvals at the time of commencement and termination of the CCD integration are input so that accurate AF can be realized even when the focal length of the photographic lens changes during the AF operation and the calculation of the drive pulse is based on both values. The operation of this system will subsequently be described. Figs. 4 through 7 are graphs illustrating the relations between the focal length and the defocus amount of the lens, and the number of the drive pulses of the focusing lens by way of example. In Fig. 4, axes x , y , z , represent the focal length of the lens, the number of AF drive pulses and the defocus amount thereof, respectively. Assuming the focal length between the Wide and Tele extremities consists of f1 - f7. For instance, the number of drive pulses up to the in-focus state with the focal length f3 relative to the defocus amount z1 is designated as y1. Fig. 5 refers to the operation of focusing the lens from the position corresponding to the defocus amount z2 while zooming is conducted at the focal lengths f2 - f6. A curve on a plane S resulting from projecting a section in parallel to the axis z on the y-z plane shows a decrease in the defocus amount accompanied by the driving of the lens. Fig. 6 refers to the operations until the lens in the position corresponding to the defocus amount z3 is focused while zooming is conducted between Wide extremity f1 and Tele extremity f7. Fig. 7 refers, on the contrary, to operations until the lens in the position corresponding to the defocus amount z4 is focused while zooming is conducted between Tele extremity f7 and Wide extremity f1. These three cases indicate that the number of pulses is the same though each of the defocus amounts differs from each other. As is easily understood from the projection drawings of Fig. 5 through 7, the process of decreasing the defocus amount when zooming is conducted from the Wide to Tele side differs from the process of decreasing the same when the zooming is conducted from the Tele to the Wide side. When an overlapping integration is carried out while the lens is driven to be in focus, an accurate AF control is realized by taking the aforementioned processes into consideration. Referring to Fig. 8, the overlapping integration will be described in detail. Fig. 8 is a graph illustrating partially enlarged processes shown in Figs. 5 and 6 for carrying out the overlapping integration while zooming is conducted from the Wide to the Tele side. The defocus amount obtained from the overlapping integration corresponds, as described above, to the mean value of factors when the integration is started and terminated, i.e., it becomes (d1 + d2)/2. The Kval generally used for obtaining the number of pulses equivalent to the defocus amount can be obtained using the mean value of Kval (K1) and Kval (K2) when the integration is started and terminated. The number of drive pulses obtained using the mean value of Kvals becomes (P1 + P2)/2, which is different from the number of pulses P5 corresponding to the actual defocus amount. The Kval for use in pulse calculation in this system is, therefore, reduced by n% when the overlapping integration is carried out while zooming is conducted from the Wide to the Tele side, whereby a value approximating the number of pulses with P5 as the starting point can be calculated. When the overlapping integration is carried out while zooming is conducted from the Tele to the Wide side, on the contrary, the Kval for use in the pulse calculation is increased by n% so that the defocus pulse curve bends downward. Incidentally, the calculation of n% is based on the Kvals corresponding to those at the times when the integration is started and terminated, respectively. Referring to Figs. 9 and 10, the operation of the system thus constructed will be described. Fig. 9 is a flowchart for use in computing the AF drive pulse. The CCD integration is started in Step 1 and Kval at the focal length at the time of starting the integration is computed in Step 2. The calculation of Kval is carried out in accordance with the flowchart of Fig. 10. In Step 20, the present zoom code is fed from the zoom code plate. In Step 21, the forefront Kval (Kh), etc. corresponding to the zoom code are supplied from the lens ROM. In Step 22, the present number Ps of zoom lens drive pulses counted from the Wide extremity is fed from the counter for counting the pulses produced by the PZ pulser. In Step 23, a decision is made on whether the Ps thus fed in Step 22 exists in between the forefront Ph in the corresponding zoom code zone and the sum of the number of pulses Pw corresponding to that code zone and the Ph. Since the Ps is present within this range as long as the pulser operates properly, the pulser or counter is assumed to be malfunctioning if the Ps is not within the range and all calculations followed by error processing are suspended. Provided that Ps is within the predetermined range, the Kval is obtained , in Step 24, in conformity with the aforementioned Equation (1), and the flow returns to what is shown in Fig. 9. When the Kval is computed in Step 2 of Fig. 9, it is made Kval (K1) at the time the integration is started. In Step 4, the completion of the CCD integration is awaited. Kval (K2) at the time of termination of the integration is obtained in Steps 5, 6 and the defocus amout is computed in Step 7. Step 8 is followed by Step 9 during the AF driving, i.e. when the overlapping integration is carried out to set the mean value of K1 and K2 as Kval. In Step 10, a decision is made on whether the PZ motor is being driven. While zooming is conducted from the Wide to the Tele side, n% is subtracted from the Kval obtained in Step 9, whereas n% is added while the zooming is conducted from the Tele to the Wide side. Subsequently, the drive pulse Px is computed, in Step 14, from the aforementioned Kval and the defocus amount dx. In Step 15, the ultimate drive pulse is computed by subtracting the above overlapping segments α. While the AF driving is not performed, Step 8 is followed by Step 16 and the drive pulse is obtained based on the Kval, K2 after the termination of the integration. The lens CPU 66 controls the output of the AF pulser according to the drive pulse obtained through the aforementioned calculation and further the AF motor drive unit 63 to have the AF motor 60 driven. The zooming is thus conducted and the lens is focused with respect to an object. Although a description has been given only for a camera which employs a silver-salt film in the preceding embodiment, the present invention is not limited thereto but applicable to so-called electronic still cameras using e.g. a photoelectronic conversion element such as a two-dimensional CCD or the like as a pickup means on condition that the lens is interchangeable. As set forth above, the autofocusing system for a camera according to the present invention allows an accurate AF control even when zooming is conducted during the overlapping integration on determining the delivery-amount-of-lens conversion factor by detecting such factors when the integration is started and terminated and further basing the determination on both factors. Furthermore, the present invention allows accurate AF control by accurately controlling the delivery-amount-of-lens conversion factor using the drive amount of the zoom motor.

Claims: An autofocusing system for a camera, comprising: a zoom motor (61) for zooming a photographic lens (2); a focusing motor (60) for focusing said photographic lens (2); drive means (63) for driving said focusing motor (60); monitor means (69) for monitoring the amount the lens has been driven by said zoom motor (61); focal length detector means (71) for detecting the focal length (f) of said photographic lens (2) by indicating in correspondance with the drive amount monitored by said monitor means (69) one of a plurality of sections in which the focal length (f) is divided ; defocus amount detector means (17) for detecting the defocus amount of said photographic lens (2); reference factor output means (67) for outputting a reference value Kh of a delivery-amount-of-lens conversion factor Kval for converting the defocus amount into a drive amount of said focusing motor (60) in compliance with the section indicated by said focal length detector means (71); correction factor output means (67) for outputting a change of rate factor Kc of said conversion factor Kval in the section indicated by said focal length detector means (71); first computer means (66) for computing a conversion factor function of the conversion factor Kval within said section using said reference factor Kh, the drive amount monitored by said monitor means (69) and said change of rate factor Kc; and drive amount calculation means (66) for computing the drive amount to be transmitted to said driving means (63) from said conversion factor Kval and said defocus amount. The system of claim 1, wherein a zoom code is derived from said focal length detector means (71) to indicate one of said focal length section and to address the reference factor Kh, the change of rate factor Kc, the extension Pw of said focal length section in drive amount units and the absolute forefront number Ph of drive amount units for said focal length section in said output means (67), wherein the absolute position number Ps of said lens (2) in drive amount units is derived from said monitor means (69), and said conversion factor Kval is calculated according to the formula Kval = Kh + Kc (Ps - Ph). The system of claim 2, comprising means for making prior to said calculation a decision whether the position number Ps of drive amount units is within the range of the corresponding focal length section. The system of claim 3, wherein said means make the decision according to the relations Ph ≤ Ps ≤ Ph + Pw. The system according to claim 4, comprising means for performing in case of a negative decision result an error processing. The system according to any one of the foregoing claims, wherein said output means (67) comprise a lens ROM.

Inventors: KAWASAKI MASAHIRO, SUZUKI NOBORU, TOJI SHIGEO, KAWASAKI, MASAHIRO, SUZUKI, NOBORU, TOJI, SHIGEO
Applicants: ASAHI OPTICAL CO LTD, ASAHI KOGAKU KOGYO KABUSHIKI KAISHA
Application year: 1989
Main classification: G03B13
IPC codes: G02B7