This is a continuation of application Ser. No. 07/822,309, filed Jan. 16, 1992, now U.S. Pat. No. 5,255,045. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     This invention relates to camera systems having distance measuring apparatus and more particularly to a camera system having a distance measuring apparatus for automatically focusing. 
     2. Related Art Statement 
     Recently, most of the operations in a camera which have been conventionally operated by hand are being automated and accordingly the focusing technique of the camera, that is, the technique of automatically focusing an object hard to focus has been improved. However, the technique of automatically focusing the below described objects, that is, 
     (1) an object present outside the center of a photographed picture and 
     (2) a moving object is particularly difficult and has been desired to be improved. 
     As conventional technical means for automatically focusing these objects and preventing defocusing, corresponding to the above mentioned respective items (1) and (2), there have been two techniques including: 
     [1] a multi-point distance measuring technique of measuring distances to objects present at a plurality of points within a photographed picture and 
     [2] a moving object distance measuring technique wherein a distance to an object present at a point within a photographed picture is measured, then the distance to the object present at this point is measured by delaying the time, these measurements are made a plurality of times, on the basis of the results of these distance measurements, the moving speed of the object is detected and thereby the focus lag with the movement of the object as produced during the release time lag is prevented. Regarding the latter moving object distance measuring technique, for example, a detecting apparatus for detecting the speed of a moving object on a belt conveyer is disclosed in the publication of Japanese patent application laid open No. 23257/1987 and an automatic focus adjusting apparatus whereby an automatically focused state can be maintained irrespective of the motion of the object is disclosed in the publication of Japanese patent application laid open No. 159817/1988. 
     However, in the above mentioned two techniques, that is, the multi-point distance measuring technique and moving object distance measuring technique, there is a problem that time is taken to measure the distance to the object. That is to say, on the above mentioned paragraph [1], the more the number of points for measuring the distances to the objects, the longer the time required to measure the distances. On the above mentioned paragraph [2], the distance measurement while delaying the time is required a plurality of times and the time required to measure the distance will be long. Therefore, in both of the distance measuring techniques in the above mentioned paragraphs [1] and [2], the release time lag has been likely to be produced. 
     That is to say, in the camera having the multi-point distance measuring function and moving object distance measuring function, with merely combining these techniques, the release time lag will become long and the precious shutter chance is likely to be missed. 
     OBJECTS AND SUMMARY OF THE INVENTION 
     A first object of this invention is to provide a camera system of a camera having both a multi-point distance measuring apparatus function and moving object distance measuring apparatus function and having a distance measuring apparatus which can shorten the release time lag and therefore will not miss a precious shutter chance. 
     A second object of this invention is to provide a camera system having a distance measuring apparatus which can precisely correspond to a moving object without increasing such part as a condenser, that is, in an advantageous form in respect of the cost and space. 
     Briefly this invention comprises a light projecting means projecting light beams along a plurality of distance measuring axes, a first distance measuring means receiving the reflected light from the object of the light beams projected toward the optical axial direction of the photographing lens by the above mentioned light projecting means and detecting the distance to the object in the center of the photographed picture on the basis of the signal responding to the reflected light receiving position, a second distance measuring means receiving the reflected light from the object of the light beams projected toward a direction different from the optical axial direction of the photographing lens by the above mentioned light projecting means and detecting the distance to the object on the periphery of the photographed picture on the basis of the signal responding to the reflected light receiving position, a moving speed detecting means receiving the reflected light from the object of the light beams projected toward the optical axial direction of the photographing lens by the above mentioned light projecting means and detecting the value responding to the moving speed of the object present in the above mentioned optical axial direction, a judging means judging whether the distance to the object in the central part of the photographed picture is farther than a predetermined value or not as a result of the distance measurement by the above mentioned first distance measuring means, an object distance determining means operating the above mentioned second distance measuring means case the distance to the object in the central part of the photographed picture is farther than the predetermined value as a result of the judgment of this judging means and determining the distance to the object on the basis of the measured results of the above mentioned first and second distance measuring means, an object distance presuming means operating the above mentioned moving speed detecting means in case the distance to the object in the central part of the photographed picture is nearer than the predetermined value as a result of the judgment of the above mentioned judging means and presuming the distance to the object after a predetermined time on the basis of the speed detected by this moving speed detecting means and the distance measured result of the above mentioned first distance measuring means and a focusing means controlling the photographing lens on the basis of the distance to the object determined by the above mentioned object distance determining means on the basis of the judged result of the above mentioned judging means or the distance to the object presumed by the above mentioned object distance presuming means. 
     Here, the fundamental conception of the present invention shall be explained. 
     The present invention is to effectively utilize the two techniques of the above mentioned multi-point distance measuring technique and moving object distance measuring technique while suppressing the release time lag to be minimum from the fact that the above mentioned moving object distance measuring technique is not so effective to a far distance object. 
     Generally, more than 80% of photographed pictures can be photographed to be desired photographs by measuring the distance in the central part of the photographed picture and focusing with only the result. Most of the cases of out focus of the remaining 20% are generated in the state that there is no desired object in the central part of the photographed picture, for example, that two figures are standing as arranged. This is a so-called &#34;intermediate through phenomenon&#34; in which the measuring light passes intermediately through between the two figures. 
     At the time of this &#34;intermediate through phenomenon&#34;, the result of measuring the distance in the center of the photographed picture should show an infinity ∞ or a considerably far distance. Therefore, except for the case that the result of measuring the distance in the center of the picture shows a considerably far distance, the multi-point distance measurement need not be made. 
     Unless an object of such high speed is to be photographed, the moving object distance measurement will be able to be expected to have a remarkable effect only in a near distance. 
     Generally, the focus position of the photographing lens is proportional to the reciprocal of the distance d (referred to as an object distance hereinafter) to the object but in the case of photographing an object moving at a speed, for example, of 2 m per second for the sake of simplification, if the time lag is 0.5 second, the correction of the focus position proportional to ##EQU1## will be necessary but the smaller the object distance d, the larger the corrected amount. 
     Reversely speaking, when the object distance d is large, even if the focus position for the object is not corrected, the object will normally enter the photographed field depth of the lens and will not be out of focus and the moving object distance need not be particularly measured. 
     In the case of photographing a moving object, the moving object will be followed, naturally the human eye will gaze at the center within the picture and therefore, with a considerable probability, the main object will be considered to be present in the center of the picture. 
     Summarizing the above: 
     (a) As the multi-point distance measurement is to prevent the intermediate through phenomenon, except in the case that the object in the central part of the photographed picture is at a far distance, the distance measurement on the peripheral part of the photographed picture can be omitted. 
     (b) In case the object is at a far distance, the object will be able to be covered with the photographed field depth and therefore, even if the object is a moving object, the moving object distance measurement will be able to be omitted. 
     (c) In the case of following a moving object, the probability of positioning the object in the center of the photographed picture will be so high that, in the moving object distance measurement, the distance measurement in the peripheral part of the photographed picture will be able to be omitted. 
     Therefore, in the camera system having a distance measuring apparatus of the present invention: 
     (1) The distance of the object substantially in the central part of the photographed picture is measured by the first distance measuring means. 
     (2) if the result of measuring this distance is a far distance exceeding a predetermined value, the intermediate through phenomenon will be judged to be likely and the distance of the peripheral part will be measured by the second distance measuring means, that is, the multi-point distance will be measured. 
     (3) On the other hand, if the above mentioned distance measured result does not exceed a predetermined value, that is, is not a far distance, now the moving object distance will be measured. 
     The above is the fundamental conception of the present invention. 
     These objects and advantages of the present invention will become further apparent from the following detailed explanation. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a diagram for explaining the distance measuring principle of an active type triangular distance measurement. 
     FIGS. 2A and 2B respectively show a block diagram of the formation of a moving object speed detecting system and a timing chart for explaining its operation. 
     FIG. 3 is a block formation diagram of a distance measuring apparatus showing a first embodiment of the present invention. 
     FIG. 4 is a flow chart showing the operation of the distance measuring apparatus showing the first embodiment of the present invention. 
     FIG. 5 is a block formation diagram of a distance measuring apparatus showing a second embodiment of the present invention. 
     FIG. 6 is a flow chart showing the operation of the distance measuring apparatus of the second embodiment of the present invention. 
     FIG. 7 is a block formation diagram of a distance measuring apparatus showing a third embodiment of the present invention. 
     FIG. 8 is a flow chart showing the operation of the distance measuring apparatus of the third embodiment of the present invention. 
     FIGS. 9A and 9B are timing charts showing the operation of the distance measuring apparatus which are useful in explaining the third embodiment of the present invention. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Prior to explaining the details of the embodiments of the present invention, the distance measuring principle of the active type triangular distance measuring system and the detecting principle of the moving object speed detecting system used in the embodiments shall be explained. 
     First of all, the distance measuring principle of a known active type triangular distance measuring system shall be explained with reference to FIG. 1. 
     In FIG. 1, an infrared ray emitting diode (abbreviated as IRED hereinafter) 1 projects infrared rays toward an object 21 through a light projecting lens 2. The reflected light from the object 21 enters a position sensitive device (abbreviated as PSD hereinafter) 4 through a light receiving lens 3. The entering position x depends on the object distance d and is given as in the following formula: 
     
         x=s·f/d                                           (2) 
    
     wherein f represents a focal length of the light receiving lens 3 and s represents a distance (base line length) between the optical axes of the light projecting and receiving lenses 2 and 3. 
     Now, when the distance from one end of the PSD 4 to the point at which the optical axis of the light receiving lens 3 crosses the PSD 4 is represented by a and the total length of the PSD 4 is represented by t, if the total sum of the light currents generated by the incident signal light is represented by i po, ##EQU2## That is to say, if the ratio {I1/(I1+I2)} of the two signal light currents of the PSD is taken, the object distance d will be able to be operated on the basis of the above mentioned formula (6) from the constants a, t, s and f. 
     Also, the total sum i po of the light currents generated by the reflected signal lights from the object positioned at the object distance d is inversely proportional to the square of the object distance d and therefore will be given by the below mentioned formula (7) if the total signal light current from the chart of the standard reflection factors positioned at an object distance of 1 m is represented by I po: 
     
         i po=(1/d).sup.2 ·I po.                           (7) 
    
     Thus, if I po is constant, the object distance d will be able to be determined also from the total sum i po of the signal light currents. 
     Therefore, in this specification, the distance measuring system in the form of the above mentioned formula (6) whereby the distance can be measured without depending on the reflection factor of the object shall be mentioned as a ratio operating system and the distance measuring system by the above mentioned formula (7) shall be mentioned as a light amount detecting system. 
     Now, the ratio operating system is not influenced by the reflection factor of the object as described above but is accompanied with the operation of the ratio and therefore, as evident from the fact that, for example, in case the denominator becomes 0 under the influence of a noise, the distance measuring output will become infinity ∞, when the S/N reduces, the precision will become very low. 
     On the other hand, the light amount detecting system is only to detect the sum of the signal light currents I1 and I2 and is therefore a system more advantageous to the S/N than the ratio operating system. Further, in this system, when the IRED is made to emit light several times and the output is integrated, the effect of improving the distance measuring precision will be remarkably shown. The above is the distance measuring principle of the active system triangular distance measurement. 
     The detecting principle of the moving object speed detecting system to which the distance measuring principle by the above mentioned ratio operating system is applied shall be explained in the following with reference to FIGS. 2A and 2B. 
     FIG. 2A is a block diagram showing the formation of this technical means. A 1/d circuit 30 is to determine a reciprocal 1/d of an object distance by the principle of the above mentioned formula (6). The reference numeral 31 represents a reciprocal converting circuit for converting the reciprocal to determine the object distance d. 35 and 36 represent such switches as, for example, analogue switches whereby the output to be fed to an integrating means is switched together with a code reversing circuit 32 and inverter 33 according to the logical level of a signal applied to a terminal 34. 
     By the way, the above mentioned technical means is the same as the technical means disclosed in FIG. 15 in U.S. patent application Ser. No. 720,738 assigned to the present assignee. The above mentioned 1/d circuit 30, reciprocal converting circuit 31 and code reversing circuit 32 correspond respectively to the circuits represented by the reference numerals 330, 337 and 350 in the circuit in the above mentioned FIG. 15. The above mentioned switches 35 and 36 correspond respectively to the SW5 and SW6 in the circuit in the above mentioned FIG. 15. 
     FIG. 2B is a timing chart for explaining the operation wherein, in case the IRED emits light, for example, eight times, the logical level of the terminal 34 will be switched in the front half and rear half so that the front half will be integrated in the negative direction by switching the switch 35 on and the rear half will be integrated in the positive direction by switching the switch 36 on. 
     That is to say, as the output of the integrating means for one time light emission of the IRED depends on the object distance d, when the integrating direction is thus switched intermediately between IRED light emissions, after the IRED light emission ends, the output depending on the moving speed v of the object will be output as Vout from the integrating means. The above is a description of the detecting principle of the moving object speed detecting system to which the distance measuring circuit by the ratio operating system is applied. 
     FIG. 3 is a block formation diagram of a distance measuring apparatus showing the first embodiment of the present invention. The reference numeral 101 represents a first distance measuring means for measuring the distance to an object present in the central part within a photographed picture. Its output result is judged by a CPU 104 which is also a judging means and controlling means. The next operation order is fed to a second distance measuring means 102 for measuring the distance to an object present on the peripheral part of a photographed picture or to a moving object detecting means 103 outputting a signal depending on the speed of the object through a gate 106. 
     Then, the CPU controls a focusing means 105 comprising a focusing lens, actuator and position detecting encoder on the basis of the output result of the above mentioned second distance measuring means 102, moving object detecting means 103 or first distance measuring means 101. By the way, the reason why the multi-point distance measurement or moving object distance measurement is switched in response to the output of the first distance measuring means 101 is as explained in the above mentioned fundamental conception. 
     FIG. 4 is a flow chart of the distance measuring sequence in the above mentioned FIG. 3. When, in step S0, for example, by the operation of a release switch not illustrated, a distance measurement starting signal is input into the CPU 104, as shown in step S1, the distance of the center of the picture from the apparatus of FIG. 3 will be measured. In step S2, this distance measured result dc is compared with a predetermined object image da and, if 
     
         dc≦da 
    
     is satisfied, the correction when the object is a moving object will be necessary. Therefore, in step S3, the moving object is detected and the object speed v is determined. 
     If this speed v is small and the object is, for example, a still object, it will not be required to be corrected. Therefore, in step S4, this is judged. The process proceeds to step S8 in which the distance measured result dc is stored in the memory region dx of the CPU 104 and the photographing lens is driven to focus this dx point. 
     Returning to the above mentioned step S4, if the object speed v is so large as to require to be corrected, as shown in steps S5 and S6, the distance of 
     
         dc-v·tx 
    
     wherein tx represents a time lag after the dc distance is measured until the exposure is started will be focused. 
     Returning to the above mentioned step S2, if the distance measured value dc is farther than a predetermined distance da, as described above, the intermediate through passage will be likely. Therefore, the distance to the object on the peripheral part of the picture is measured by the second distance measuring means. Here, in step S9, the distances of two right and left points are measured. In step S10, the measured data of the nearest point of the three points including the central point are selected. Through the step S11, the lens is moved to focus the position shown by the nearest distance measured data. 
     The above is the explanation of the first embodiment of the present invention, 
     The second embodiment of the present invention shall be explained in the following. 
     The greatest difference of this second embodiment from the above mentioned first embodiment is the improvement in the distance measuring precision in the far distance of the object exceeding a predetermined value such as, for example, 4 m. and shall be explained in detail with reference to FIG. 5 showing a block formation and FIG. 6 showing a flow diagram. 
     In this second embodiment, there is adopted the above described active type triangular distance measuring system wherein distance measuring signal light from an IRED 51 is projected through a light projecting lens 52, the reflected light rays from an object not illustrated are received by a PSD 54 through a light receiving lens 53 and the object distance is determined by the incident positions of the reflected light. 
     Each of the PSD 54 and PSD 54 is divided into three parts represented by IC, 1L and 1R and 4C, 4L and 4R in order to measure the distances not only in the center but also on the right and left of the photographed picture. 
     That is to say, as shown as dL1, the distance measuring light projected from the IRED1L is projected at an angle θ from the optical axis of the light projecting and receiving lens 52 or 53 or the photographing lens not illustrated. If the object is in the light projecting position, the reflected light from the object will enter the light receiving lens 53 through the light path of dL2. 
     The incident angle of this dL2 is inclined depending on the object distance in the direction connecting the main points of the light projecting and receiving lenses 52 and 53, that is, in the base line length direction. Therefore, the position of the signal light spot incident upon the PSD 54 is different in the base line length direction of the PSD 54 depending on the object distance. That is to say, the object distance can be determined by knowing the incident position of the signal light on the PSD 54. 
     Here, the function of the above mentioned PSD shall be explained. The device of this PSD has a function of outputting the incident position of this signal light as the ratio of two current signals. Therefore, if the signal light is incident upon the center of the PSD 54, the ratio of two current signals of the PSD will be 1:1. Also, if the signal light is incident upon the point internally dividing the PSD to be in a ratio of 3:1, the ratio of the current signals will be 1:3. 
     In the PSD having such position detecting function, the shorter the length, the higher the resolution in the case of detecting a minute displacement of the signal light and, because the position information is output as a ratio, the longer the length of the PSD, the smaller the signal variation amount for the minute displacement and the harder the detection. On the other hand, the longer the length of the PSD, the larger the signal light displacement range and the more adapted to the wide range distance measurement. 
     Returning to FIG. 5, amplifiers 5 to 9 are pre-amplifiers receiving the output signal of the PSD 54 with a low input impedance and amplifying it and are selected through an input terminal 14 and decoder 16 by the CPU 104 on the basis of the below mentioned Table 1. 
     
                       TABLE 1______________________________________                      Amplifiers to beSection  Distance Measuring Region                      used______________________________________1        Right             8 and 92        Left              8 and 93        Central (Moving object)                      5 and 74        Central (Far distance)                      5 and 7______________________________________ 
    
     That is to say, the pre-amplifiers not selected are open in both input and output and perform no amplifying action. 
     The signal currents of the PSD 54 amplified by the amplifiers 5 to 9 are compressed by compressing circuits 10 and 11. The ratio is operated in an extension circuit 12 and a signal depending on the object distance is output to an output terminal 13. 
     By the way, the above mentioned compressing circuits 10 and 11 and extension circuit 12 are respectively the same as circuits 46, 57 and 62 to 64 in the technical means disclosed in FIG. 2 of U.S. patent application Ser. No. 711,641 to the present assignee. 
     The CPU 104 makes any of the three divided 1L, 1C and 1R of the IRED 51 emit light through the driver 15 and A/D-converts and inputs the signal output to the output terminal 13 so as to be the distance information. 
     By the way, in this embodiment, an intermediate electrode is provided particularly in the central distance measuring PSD 4C in order to utilize the switching of the distance measuring precision by the length of the above described PSD. 
     The operation of this embodiment formed as in the above shall be explained with reference to the flow chart in FIG. 6. In this case, the distance measuring light projected from the IRED1C is received by using the full range of the PSD4C. That is to say, as the intermediate electrode of the PSD4C is not used, as shown in the section 3 in the above mentioned Table 1, the pre-amplifiers 5 and 7 will be selected so that the distance from the nearest to the infinity ∞ will be in the distance measurable range. 
     On the other hand, in the central (far distance) distance measuring mode, as described later, tile distance to the object in the substantially central part within the photographed picture is presumed to be farther than about 10 m and therefore the distance measuring light projected from the IRED1C is received by using the upper half range in FIG. 5 of the PSD4C. That is to say, by using the intermediate electrode of the PSD4C, as shown in the section 4 in the above mentioned Table 1, the above described ratio operating operation is made by the pre-amplifiers 5 and 6. 
     As this intermediate electrode is provided in a position of internally dividing the PSD 54 to be in 1:1, as described above, the distance measuring precision will become twice as high. However, in this mode, only the distance farther than 10 m can be correctly measured and therefore, though the precision is high, with only this mode, no camera will be made. 
     In step S22, if the distance measured result dc of the above mentioned step S21 is judged, for example, to be equal to or below 4 m, the moving object distance measuring mode will be effective and therefore the moving object will be detected (step S23). 
     This moving object detection is to twice measure the distance at predetermined time intervals, the IRED uses the 1C and the PSD uses the full range of the 4C. Now, if the first time distance measured result is represented by d1, the second time distance measured result is represented by d2 and the distance measuring time interval is represented by tl, the object speed v in the lens optical axial direction will be determined as 
     
         v=(d1-d2)/t1. 
    
     If this object speed v is too low, for example, below 1 m/sec, the object will be considered to be substantially still, therefore the correction in step S24 will be judged to be unnecessary and the process will proceed to step S28 in which the CPU focuses the distance measured result dc. On the other hand, if object correction is necessary, the CPU will make such operation as in step S26 and will focus using the value dx. 
     Returning to the above mentioned step S22, if the object distance dc is farther than 4 m, in step S29, the right and left distances will be measured. First, by the 1L of the IRED and the 4L of the PSD and then, by the 1R of the IRED and the 4R of the PSD, the distances are respectively measured. The pre-amplifiers 8 and 9 are selected to be used then as shown in the sections 1 and 2 in the above mentioned Table 1. By the way, both end electrodes of the 4L and 4R of the PSD are connected respectively to the amplifiers 8 and 9. 
     Now, the amplifiers 8 and 9 may be connected in the same manner also to the PSD4C but, if the light receiving area is increased, the influence of the external light noise will become large and therefore the central distance measuring PSD4C having particularly the moving object detecting function is exclusively used to improve the S/N ratio and precision. 
     In step S30, the nearest of the dc and right and left distance measured results is selected. In step S32, if it is judged to be farther than 10 m, as described above, the length of the central PSD4C will be halved and the distance will be measured more precisely (step S33). By the way, the pre-amplifiers 5 and 6 are used. 
     Here, the reason why only the central distance farther than 10 m is measured shall be explained. Normally, it is very rare to photograph a figure at a distance farther than 10 m and it is often to photograph, for example, buildings or the like because the intermediate through phenomenon is considered to be hard to occur in such state. 
     In the above mentioned step S32, when dx is judged to be nearer than 10 m, the main object highest in the probability, that is, the nearest of the distance measured results of three points will be focused. By the way, the above mentioned judgment, operation, selection of the amplifiers and focusing operation are made by the CPU. The above is the explanation of the second embodiment of the present invention. 
     The third embodiment of the present invention shall be explained in the following with reference to FIGS. 7 to 9. In the above mentioned first and second embodiments, the distance of the object is measured by the ratio operating system, whereas this third embodiment is different in that the ratio operating system and light amount integrating system are both used to measure the object distance to a high precision and, by commonly using the integrating means also to detect the object speed, the speed can be detected without being influenced by noise. 
     FIG. 7 is a block formation diagram of a distance measuring apparatus showing the third embodiment of the present invention. 
     In the drawing, the light projecting means 29 can project light by selecting respectively the center, right and left of the photographed picture, the central sensor 4C can receive the light for measuring the central distance and the right and left sensors 4R and 4L can respectively receive the light for measuring the right and left distances. Each of the sensors takes the formation of such active type triangle distance measuring system as is shown in the above mentioned FIG. 1. 
     The ratio operating means 24 has the same circuit formation as of the reference numerals 44 to 47, 4 to 58 and 62 to 65 in the technical means disclosed in FIG. 2 in U.S. patent application Ser. No. 711,641 to the present assignee. The light amount detecting means 25 has the same circuit formation as of the reference numerals 70 to 80 in the technical means disclosed in FIG. 2 in the aforesaid U.S. patent application Ser. No. 711,641. The speed detecting means 27 and integrating means 28 have respectively the same formations as of the circuits represented by the reference numerals 314 and 350 in the technical means disclosed in FIG. 15 in U.S. patent application Ser. No. 720,738 assigned to the present assignee. 
     FIG. 8 is a flow chart showing the operation of this embodiment. 
     When the shutter button is pushed to make a releasing operation (step S41), the CPU 104 will respectively switch on the switch 22 at the contact A, switch 23 at the contact C and switch 26 at the contact E to make the central distance measuring IRED of the light projecting means 29 emit light. 
     The central sensor 4C receives the reflected signal light from the object (not illustrated) and measures distances on the basis of the above mentioned formula (6) by the ratio operating means 24 (step S42) and on the basis of the above mentioned formula (7) by the light amount detecting means 25 and integrating means 28 (step S43). 
     The CPU 104 reads in these distance measured results and determines the data of a higher reliability as central distance measured data LC (step S44) and compares these data LC with distance data LO corresponding, for example, to 3 m (step S45). 
     As a result of this comparison, if LC is nearer than LO, as described above, the effect of the moving object distance will be obtained and, as the peripheral distances are not required to be measured by the right and left sensors 4R and 4L, the CPU 104 will switch on the switch 22 to the contact B side, switch off the switch 23 and switch on the switch 26 to the contact F side to detect the moving object speed explained in the above mentioned FIG. 2 while making the central IRED project light (step S48). At the same time, the right and left IRED&#39;s are made to emit light in turn and, by using the comparing operating means 24, the right and left distance measured results LR and LL are input into the CPU 104 (step S46). 
     At this time, the focusing distance Lx judging manner is changed by the output result v of the speed detecting means comprising the speed detecting means 27 and integrating means 28. That is to say, if v is below vo, for example, below 0.2 m/sec, the object will not be judged to be a moving object (step S49), the moving object correction will not be particularly made and the nearest distance measured value of the peripheral distance measured results LR and LL and the central distance measured result LC will be selected=(step S47). 
     On the other hand, if v is greater than vo, the main object will be judged to be the central object and the focusing distance Lx will be determined according to the below mentioned formula (8) from the time lag Δt and the speed v which is the central distance measured result: 
     
         Lx=LC-v·Δt                                  (8) 
    
     Returning to the above mentioned step S45, if LC is farther than LO, the CPU 104 will switch the switch 22 to the contact B side, the switch 23 to the contact D side and the switch 26 to the contact E side and the process will proceed to the flow of the steps S51 and S52. That is to say, the central IRED no longer emits light, the right and left IRED&#39;s emit light in turn respectively by the number of times of the light amount integration and the ratio operated distances and light amount integrated distances of the right and left objects are measured the same as in the above mentioned steps S42 and S43. 
     The step S53 is a sub-routine to select the most reliable distance measured value LR or LL from the ratio operated results and light amount integrated results and is the same routine as the above mentioned step S44. This is a step wherein, when the light amount integrated result is large enough, for example, nearer than 5 m, the S/N of the distance measuring signal will be considered to be high enough and the ratio operated result will be selected. 
     In step S54, the nearest distance measured value is selected from among the thus determined left side distance measured result LL, right side distance measured result LR and central distance measured result LC and this selected distance measured value is made a focusing distance Lx. 
     Then, in step S55, Lx is focused and this flow is terminated through an exposure sequence (step S56). By the way, the control and the above mentioned judgment and operation are made here by the CPU 104. 
     FIGS. 9A and 9B are timing charts showing the manner of the light emission and selection of the IRED. FIG. 9A shows the case of branching to YES in the step S45 in the above mentioned FIG. 8 and FIG. 9B shows the case of branching to NO. 
     In this embodiment, as evident particularly from the chart in FIG. 9B, during the speed sensing operation 41 which usually takes time, the right and left distance measuring operations 43 and 42 are made as overlapped and therefore the time lag can be prevented from becoming long. 
     Also, in this embodiment, as explained in the above mentioned FIG. 2, as the integrating means 28 is switched by the time division, without increasing such part as the condenser, that is, in an advantageous form in the cost and space, a multi-AF high in the precision and corresponding to a moving object can be provided. 
     There can be provided a camera wherein, as another operation is reasonably combined as described above while thus operating in the time division, the time lag will not become long and the shutter chance will be strong. 
     As explained in the above, according to the above mentioned respective embodiments, there can be provided a distance measuring apparatus wherein, even if the object to be photographed is not located in the center of the picture or is such moving object as a child running, the picture will not be out of focus, the time lag will be short and the shutter chance will not be likely to be missed. 
     In this invention, it is apparent that working modes different in a wide range can be formed on the basis of this invention without departing from the spirit and scope of the invention. This invention is not restricted by any specific embodiment except being limited by the appended claims.
In a camera distance measuring apparatus a light projector projects light along a plurality of axes, a first distance detector receiving light of one axis reflected from an object detecting the distance of an object in the center of the picture, a second distance detector receiving light of another axis reflected from the object and detecting the distance to the object on the periphery of the picture, a moving speed detector receiving light of one axis reflected from the object and detecting the speed of the object in the optical axial direction, a judging device judging whether object distance in the central part of the picture is farther than a predetermined value, an object distance detector operating the second distance detector when the distance to the object in the picture central part is greater than the predetermined value and determining the distance to the object based on the measurements of the first and second distance detectors, an object distance presuming control operating the moving speed detector when the distance to the object in the picture central part is less than the predetermined value and presuming the object distance after a predetermined time based on the detected speed, the measured distance and a predetermined time interval and a focusing control adjusting the photographing lens according to object distance determined on the basis of the judged result of the judging device or the distance to the object presumed by the object distance presuming control.