Drive apparatus for a focusing lens
FIELD OF THE INVENTION AND RELATED ART STATEMENT 
     The present invention relates to a drive apparatus for a focusing lens, and more particularly, to a drive apparatus for a focusing lens for use in still cameras, video cameras, microscopes, or the like. 
     There is well known an apparatus including a range finder for measuring a range to an object to be photographed which apparatus determines an amount for driving a focusing lens on the basis of data from the range finder and drives the focusing lens in accordance with the driving amount to focus it. While there is not a well-known lens drive apparatus in a fully automatic camera with a built-in zoom lens at present, the present applicant has disclosed such lens drive apparatus (Japanese patent application Sho61-279242). 
     In conventional lens drive apparatus, however, there occurs variation in a focused position due to variations in the power of a focusing lens or dimensions or assembling of mechanical parts such as a lens barrel. Such variation in a focused position is called an fc error. When an fc error exists, a focusing lens can not be precisely positioned at a focus point to cause an out of focus state. Accordingly, a process of mechanically adjusting an fc error, that is, an fc adjustment is essential in the past. Since the fc adjustment is manually effected, it requires much labor and increases the cost of products. In addition, it is required to previously add a mechanism for an fc adjustment to a product, so that a cost and a space are largely influenced. 
     In a fully automatic camera with a built-in zoom lens or of the two focal point switching type, there is a shift of a focal point which may be caused by switching focal lengths in addition to an fc error. 
     The shift of a focal point also varies with products like an fc error. A method for adjusting an fc error is very complicated. By way of example, there is provided a mechanism for independently adjusting an fc error at a plurality of focal lengths and, during the adjustment, an fc error at a first focal length is first adjusted and subsequently an fc error at a second focal length is again adjusted. 
     Thus, the method and mechanism for the adjustment are very complicated. In addition, while an fc error can precisely be adjusted at a focal length being adjusted, a certain degree of an fc error remains in an intermediate position, so that an fc error can not be completely eliminated. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide a focusing lens drive apparatus which dispenses with a mechanical fc adjusting mechanism and automates a process of adjusting an fc error. 
     It is another object of the present invention to provide a focusing lens drive apparatus which dispenses with complicated adjusting mechanisms and methods which are required in the past in a fully automatic camera with a built-in zoom lens or of a two focal point switching type. 
     It is a further object of the present invention to provide a focusing lens drive apparatus which simultaneously eliminates an AF error in a range finder itself. 
     According to the present invention, an fc adjusting mechanism can be dispensed with and a process for an fc adjustment can be automatically effected, so that it will be of great advantage to cost and space reduction. 
     According to the present invention, since a plurality of fc adjusting operations are effected to a focal length in a fully automatic camera with a built-in zoom lens or of a two focal point switching type, it is possible to dispense with a complicated adjusting mechanism and method and thus it will be further great advantage to cost and space reduction. 
     According to the present invention, it is possible to relax the accuracy requirement in mechanical adjustment of a range finder. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram illustrating a structure of a focusing lens drive apparatus according to the present invention; 
     FIG. 2 is a block diagram illustrating a first embodiment of a focusing lens drive apparatus according to the present invention; 
     FIGS. 3 and 4 are a perspective view and a partial sectional view of the focusing lens drive apparatus, respectively; 
     FIG. 5 is a block diagram of an electric circuit of a digital memory shown in FIG. 2; 
     FIGS. 6 and 7 are timing charts of signals of various units for explaining operations of the electric circuit shown in FIG. 5; 
     FIGS. 8 and 9 are flow charts for explaining operations of a CPU shown in FIG. 2; 
     FIG. 10A is a schematic diagram of an example of an adjusting mechanism for a focusing operation which is used in the first embodiment shown in FIG. 2; 
     FIG. 10B is a schematic diagram of another example of an adjusting mechanism for a focusing operation; 
     FIG. 10C is a rear elevation of a state in which a camera back lid for use in the adjusting mechanism shown in FIG. 10B is opened; 
     FIG. 11 is a diagram illustrating variation in contrast values to movement of a focusing lens during a focusing adjusting operation; 
     FIG. 12 is a flow chart for explaining focusing adjusting operations in a CPU for use in the adjustment and a CPU within a camera in the first embodiment shown in FIG. 2; 
     FIG. 13 is a block diagram illustrating a second embodiment of a focusing lens drive apparatus according to the present invention; 
     FIGS. 14 and 15 are a sectional view and a partially perspective view of a lens drive mechanism in the second embodiment shown in FIG. 13, respectively; 
     FIG. 16 is a diagram illustrating the relation between focal lengths and adjusting values for focusing in the second embodiment shown in FIG. 13; 
     FIG. 17 is a flow chart for explaining part of the operations of a CPU shown in FIG. 13; 
     FIG. 18 is a schematic diagram of an adjusting apparatus which is used in a third embodiment of a focusing lens drive apparatus according to the present invention; 
     FIG. 19 is a flow chart of calculating an adjusting value in the third embodiment; and 
     FIG. 20 is a flow chart for explaining flow operations of part of a CPU for use in adjustment and a CPU within a camera in the third embodiment. 
    
    
     DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS 
     As shown in FIG. 1, a focusing lens drive apparatus according to the present invention includes a range finder 1 for measuring a range to an object being photographed and a digital memory 2 for storing an adjusting value for focusing. An amount of driving a focusing lens is determined by a lens drive determining unit 3 on the basis of range data from range finder 1 and adjusting values stored in the digital memory 2. A lens drive mechanism controller 4 operates in accordance with an amount of driving a lens which is determined by the lens drive determining unit 3 to control a lens drive mechanism 5 for driving a focusing lens. 
     In FIG. 2, which shows a first embodiment of the present invention, a CPU 11 controls sequential operations of a camera. A range finder 12, which detects a range to an object being photographed on the basis of the principle of triangular range detection, comprises an LED (light emitting diode) 13 for projecting light, a PSD (position sensitive detector) 14, a light projecting lens 15 and a light receiving lens 16. An AFIC (autofocusing IC) 17 for driving the range finder 12 receives an AF START signal from a terminal C6 of the CPU 11 at a terminal A1 to initiate a range detection and feeds range data which correspond to a range to an object being photographed and are converted to serial form, from terminals A2 and A3 thereof through DATA and CLOCK signal lines to terminals C1 and C2 of the CPU 11, respectively. A digital memory 18, which stores adjusting values for focusing, has an EEPROM (electrically erasable and programmable read only memory) therewithin. Read-in and-out operations of adjusting values are controlled by delivering signals of MCEN, R/W and STORE from terminals C3, C4 and C5 of the CPU 11 to terminals M3, M4 and M5 of the digital memory 18. Adjusting values stored in the digital memory 18 are fed from terminals M1 and M2 thereof through the DATA and CLOCK signal lines to terminals C1 and C2 of the CPU 11, respectively. Namely, the CPU 11 determines an amount of driving a focusing lens on the basis of adjusting values stored in the digital memory 18 and range data from the AFIC 17 and controls the driving of the lens in accordance with the determined driving amount. 
     The focusing lens is driven by a DC motor 20 connected between terminals D4 and D5 of a motor drive circuit 19. The motor drive circuit 19 drives the motor 20 with signals of CW, CCW and BRAKE from terminals C7, C8 and C9 of the CPU 11. A power transmitting mechanism 21 reduces the rotational speed of the motor 20 and transmits power to a focusing lens group 22. The focusing lens group 22 moves in or out by the power from the power transmitting mechanism 21. 
     An encoder 23, which monitors an amount of driving the focusing lens group 22, is connected to terminals C10 and C11 of the CPU 11 and comprises a photointerrupter 26 including an LED 24 and a phototransistor 25 and a rotatable slit 27. The CPU 11 delivers a drive signal from the terminal C10 thereof to the LED 24 while the focusing lens group 22 is driven. The slit 27 is rotated by the motor 20. The encoder 23 delivers encoder pulses to the terminal C11 of the CPU 11 while the slit 27 rotates. The CPU 11 monitors an amount of driving the focusing lens group 22 by counting the encoder pulses. 
     On the other hand, a release switch 40 is connected between a terminal C12 of the CPU 11 and an earth terminal. Contacts 41, 42, 43 and 44, provided for connecting the drive apparatus to an adjusting apparatus provided on the outside of a camera, are connected to terminals C13, C14, C1 and C2 of the CPU 11 to interchange signals of TEST 1, TEST 2, DATA and CLOCK with the CPU 11, respectively. 
     Now, mechanisms including the motor 20 will be described hereinafter with reference to FIGS. 3 and 4. In FIG. 3 a turning effort of the motor 20 is transmitted through a power transmitting mechanism 21 comprising a pinion gear 28 provided on an output shaft of the motor 20 and gears 29, 30 and 31 which mesh with the pinion gear 28 in order, to a gear 33 provided on a focusing frame 32 to rotate the focusing frame 32. The focusing frame 32 is provided with a helicoid 34 on the outer periphery thereof. In FIG. 4, a lens barrel 36 is fixedly mounted on a part 35 of a camera body. A fixed frame 37 is secured to the lens barrel 36. A helicoid is formed on the inner peripheral surface 37a of the fixed frame 37 so as to fit with the helicoid 34 provided on the focusing frame 32. The focusing lens group 22 is fixed to the inner periphery of the focusing frame 32. Accordingly, when the motor 20 rotates by a direction signal of CCW, the focusing frame 32 moves out relative to the fixed frame 37. When the motor 20 rotates by a direction signal of CW, the focusing frame 32 moves in relative to the fixed frame 37. The slit 27 is on the same shaft as that of the reduction gear 29 of the power transmitting mechanism 21, so that both rotate at the same speed. Numeral 38 represents a shutter blade. 
     Next, the internal structure of the digital memory 18 will be described in the following. The digital memory 18 is constructed as shown in FIG. 5. Characteristics of the EEPROM are that electrical writings are repeatedly enabled and data can be stored even when power is disconnected. The digital memory 18 includes EEPROM 51 and RAM 52, both of which have the same capacity (8 bits×16 words). 
     The RAM 52 serves to temporarily store data while the EEPROM 51 receives and delivers data. Terminals M3 to M5 are connected to a mode decoder 50 of the digital memory 18. The terminal M3 is a signal terminal for enabling operations of the digital memory 18. 
     When a signal MCEN (Memory Chip Enable) which is fed into the terminal M3 is at a low level (hereinafter referred to as &#34;L&#34;), the digital memory 18 is enabled for interchanging data with the CPU 11 and storing data of the RAM 52 in the EEPROM 51. 
     The terminal M4 is a signal terminal to indicate a direction of receiving and delivering data. When a signal R/W which is fed into the terminal M4 is at a high level (hereinafter referred to as &#34;H&#34;), the CPU 11 assumes a mode of reading out data and when at &#34;L&#34; it assumes a mode of writing data. The terminal M5 is a signal terminal to indicate a timing of storing data of the RAM 52 in the EEPROM 51. When a signal MCEN at the terminal M3 and a signal R/W at the terminal M4 are both at &#34;L&#34;, all data of the RAM 52 are stored in the EEPROM 51 when a signal STORE at the terminal M5 is set to &#34;L&#34;. 
     Operations of the digital memory 18 are described hereinafter with reference to timing charts shown in FIGS. 6 and 7. 
     FIG. 6 is a timing chart when data are read out from EEPROM 51. When a signal MCEN at the terminal M3 is set to &#34;L&#34; while a signal R/W at the terminal M4 is at &#34;L&#34; and subsequently the signal R/W is set to &#34;H&#34;, all data of adjusting values stored in the EEPROM 51 are transferred to the RAM 52. At this time, an S/P (serial/parallel) shift register 53 of 8 bits assumes a parallel-in serial-out mode and reads in data (8 bits) at the zero address in the RAM 52. Subsequently, the shift register 53 shifts input data whenever a clock signal CLOCK at the terminal M2 turns from &#34;L&#34; to &#34;H&#34; and delivers the shifted data as DATA signals through a buffer 54 and the terminal M1 to the terminal C1 of the CPU 11. The CPU 11 stores successively &#34;H&#34; and &#34;L&#34; of the DATA signals from seventh to zero bits at BO address of the RAM within the CPU 11. 
     The CPU 11 completes the delivery of all data in the shift register 53 at the rise of a CLOCK signal of the eighth bit. When the CLOCK signal rises after that, an octal counter 56 overflows and adds +1 in a hexadecimal counter 57. As a result, the shift register 53 reads in data at the address 1 of the RAM 52 by an address decoder 58. Thereafter, whenever a CLOCK signal rises, DATA signals are delivered. As a result, all data at addresses 0 to 15th of the RAM 52 are delivered to the CPU 11 and the CPU 11 stores them in addresses BO to BF. Data of 8 bits×16 words stored at the addresses BO to BF are adjusting values of different kinds. Adjusting values DFOCUS for focusing which are employed in the embodiment are data stored at the address BO and data SUB1 to SUBF of 15 kinds stored at the address B1 to BF are other adjusting values which have no immediate connection with the present invention. 
     FIG. 7 is a timing chart of various signals when data are stored in the EEPROM 51. When an MCEN signal at the terminal M3 is first set to &#34;L&#34; while an R/W signal at the terminal M4 is at &#34;L&#34;, the shift register 53 assumes a serial-in parallel-out mode. When the CPU 11 delivers data of the seventh bit at the address BO in the RAM thereof to the terminal M1, the digital memory 18 reads &#34;H&#34; or &#34;L&#34; of data of adjusting values DFOCUS which are fed from the CPU 11 through the buffer 55 to the shift register 53 when a CLOCK signal at the terminal M2 turns from &#34;L&#34; to &#34;H&#34;. 
     Thereafter, the CPU 11 successively renews data of adjusting values DFOCUS at a timing of the fall of CLOCK signals and the digital memory 18 stores data of adjusting values DFOCUS at a timing of the rise of CLOCK signals. Data of adjusting value DFOCUS at the address BO in the RAM of the CPU 11 is stored at the address O of the RAM 52 when the CLOCK signal of the eighth bit rises. After this, the CPU 11 successively delivers data of SUB1 to SUBF at addresses B1 to BF in the RAM thereof. These data are stored at addresses of 1 to F in the RAM 52. After completing the delivery of all data, the CPU 11 turns a STORE signal at the terminal M5 to &#34;L&#34;. At this time, all data in the RAM 52 are stored in the EEPROM 51. 
     As such, all data in the EEPROM 51 are read out and in together. 
     Accordingly, when only one adjusting value is to be renewed, after all data in the EEPROM 51 are once introduced into the addresses BO to BF of the RAM of the CPU 11 and then only a datum at a required address is renewed, data at addresses BO to BF must be again read in the EEPROM 51. 
     In operation, while the CPU 11 controls all sequential operations of a camera, only a flow of focusing operations related to the present invention will be described hereinafter with reference to a flow chart shown in FIG. 8. 
     When the release switch 40 turns on, a flow of the focusing operations is initiated. First, the CPU 11 communicates data with the digital memory 18 and stores data DFOCUS of 8 bits for adjusting the focusing operation which are stored at the address O of the EEPROM 51, at the address BO of the RAM in the CPU 11. Next, the CPU 11 delivers a signal AFSTART at &#34;H&#34; from an output terminal C6 thereof. The AFIC 17 has functions of dividing a scope of photographable range into fifteen zones, detecting which zone an object being photographed falls in, and delivering an output of the detected zone as a result of range detection. The relations between ranges to an object being photographed and the zones (results of range detection) are as shown in the following Table 1. 
     
                       TABLE 1                                                     
______________________________________                                    
Results of   Ranges to an object being                                    
range detection                                                           
             photographed [m]                                             
______________________________________                                    
0            6.3-∞                                                  
1            4.2-6.3                                                      
2            3.2-4.2                                                      
3            2.5-3.2                                                      
4            2.1-2.5                                                      
5            1.8-2.1                                                      
6            1.6-1.8                                                      
7            1.4-1.6                                                      
8            1.3-1.4                                                      
9            1.2-1.3                                                      
10           1.1-1.2                                                      
11           1.0-1.1                                                      
12           0.95-1.0                                                     
13            0.9-0.95                                                    
14           0.85-0.9                                                     
______________________________________                                    
 
    
     The AFIC 17 initiates the range detection when receiving a signal AFSTART and completes the range detection within a predetermined time (100 ms in the present embodiment). 
     The CPU 11 operates a timer of 100 ms after delivering the AFSTART signal and awaits the completion of range detection in the AFIC 17. Upon the completion of operation of the 100 ms timer, the CPU 11 communicates data with the AFIC 17 to read in detected range data of 8 bits. 
     A method of the data communication is effected in serial communication such that data of 8 bits are successively read in from the input terminal C1 of the CPU 11 as DATA signals in synchronism with the rise of CLOCK signals from the output terminal C2 of the CPU 11. Then, the CPU 11 stores this data in the address of C of the RAM as measured range data STEP. 
     Upon the completion of communicating with the AFIC 17, the CPU 11 turns a signal AFSTART to &#34;L&#34; and subsequently calculates an amount of moving out a focusing lens. The amount N of moving out the focusing lens (the number of encoder pulses) can be determined by the following equation from an adjusting value DFOCUS for focusing which is stored at the address BO of the RAM and a detected range datum STEP which is stored at the address C of the RAM. 
     
         N=DFOCUS+STEP×8+30 
    
     One step of the detected range data STEP corresponds to eight encoder pulses. The adjusting value DFOCUS corresponds to an amount of correction in the number of encoder pulses. In addition, the constant 30 of the third term in the above equation corresponds to an amount of moving out the focusing lens when STEP=0. The amount is a marginal value for mechanical adjustment when the adjusting value DFOCUS is negative so as to cancel the amount of correction. 
     Upon the completion of calculating the amount of moving out the focusing lens, the focusing lens is then moved out. This flow will be described with reference to FIG. 9 in the following. First, a value in a BC register within the CPU 11 is set to 0. Next, a terminal C10 of the CPU 11 is set to &#34;H&#34; to turn the LED 24 in the photointerrupter 26 on. Subsequently, a direction signal CCW which is delivered from the output terminal C8 is set to &#34;H&#34;. As a result, the focusing motor drive circuit 19 produces a drive current to rotate the motor 20 by the direction signal CCW and thus the focusing lens group 22 starts to move out. Next, the CPU 11 monitors a level of the input terminal C11, that is, a level of an output from the phototransistor 25 and adds +1 to a value of the BC register upon every change of &#34;L&#34; to &#34;H&#34;. When a value in the BC register becomes equal to an amount N of driving the focusing lens (the number of encoder pulses), a level at the output terminal C8, that is, a level of a signal CCW, is set to &#34;L&#34; . As a result, the focusing motor drive circuit 19 stops the power supply to the motor 20. Subsequently, after the output terminal C10 of the CPU 11 is set to &#34;L&#34; and the LED 24 is turned off, a level of the output terminal C9, that is, a level of a signal BRAKE is set to &#34;H&#34;. As a result, the focusing motor drive circuit 19 has the motor 20 short-circuited to brake. Then, the CPU 11 activates the timer of 100 ms. Upon the completion of the timer operation, a level of the output terminal C9, that is, a level of a signal BRAKE is set to &#34;L&#34; to terminate the braking action and the flow of focusing operations is completed. 
     In the sequential operations of a camera, the focusing operation is followed by a shutter release operation, release returning operation (returning the focusing lens to its initial position) and film winding operation and these operations are not directly related to the present invention, so that their description will be omitted. 
     It is to be noted that an adjusting value DFOCUS should be previously stored in the digital memory 18. An apparatus and a method for storing a DFOCUS value will be described hereinafter. 
     FIG. 10A is a schematic diagram of an adjusting apparatus. A camera 60 to which a focusing lens drive apparatus of the embodiment is applied is rested on one end of an adjusting stand 61. A screen 62 and a light sorce 63 are mounted adjacent to the opposite end of the stand 61. The screen 62 has a striped perforation pattern. A CCD line sensor 64 is provided adjacent to the one end of the stand 61. The CCD line sensor 64 is disposed vertically on the sheet plane. The camera 60 is positioned in such a manner that the film surface thereof is on the same plane as the light receiving plane of the CCD line sensor 64 and the optical axis of the focusing lens group 22 coincides with the center of the CCD line sensor 64. A CCD driver 65 drives the CCD line sensor 64, performs an A/D conversion of an output of the line sensor and transfers a signal from and to a CPU 66 for use in adjustment. A start switch 67 for starting sequential operations of the adjustment is connected to an input terminal T1 of the adjusting CPU 66. Terminals T2, T3, T4 and T5 are connected through a connector 68 to a contact group 69 (contacts 41 to 44 shown in FIG. 2) which is provided externally of the camera 60. 
     In operation, in sequential operations of the adjustment shown in FIG. 12, the adjusting CPU 66 functions as a master CPU and the CPU 11 within a camera functions as a slave CPU. Flow charts for the adjusting CPU 66 and the CPU 11 within a camera are separately shown in FIG. 12. 
     When the start switch 67 turns on, the adjusting CPU 66 delivers a signal TEST 1 at &#34;H&#34; from the output terminal T2. As a result, the camera CPU 11 detects the rise of the signal TEST 1 to enter a flow of a routine &lt;FOCUSING ADJUSTMENT&gt;. The camera CPU 11 first assigns the input and output terminal (DATA) C1 and input and output terminal (CLOCK) C2 to a direction of an input port. Next, the adjusting CPU 66 delivers a signal TEST 2 at &#34;H&#34; from the output terminal T3. As a result, the camera CPU 11 detects the rise of the signal TEST 2 to move out the focusing lens group 22 by twenty encoder pulses. The adjusting CPU 66 operates the timer of 100 ms after setting the signal TEST 2 to &#34;L&#34; and awaits completion of moving out the focusing lens group 22. The adjusting CPU 66 sets a parameter I to &#34;0&#34; and enters a flow of detecting contrast, which is the flow operations CLOCK &#34;L&#34; to I←I+1. First, a signal CLOCK at &#34;L&#34; is produced from the output terminal T5. Next, a CCD integration is effected in the CCD line sensor 64. The CCD integration is initiated by setting an integration start signal which is delivered from the output terminal T6 to the CCD driver 65 to &#34;H&#34;. Upon the completion of the CCD integration, the CCD driver 65 delivers a sensor data signal SDATA which has been achieved by an A/D conversion to the input terminal T8 of the adjusting CPU 66. The sensor data signal SDATA, which is a serial signal of 8 bits×128 , is stored in the adjusting CPU 66 from the CCD driver 65 in synchronism with the rise of a signal SCLOCK which is fed to the input terminal of the adjusting CPU 66. 
     Next, when the adjusting CPU 66 sets a signal CLOCK to &#34;H&#34;, the camera CPU 11 detects the rise of the signal CLOCK and moves out the focusing lens group 22 by one encoder pulse. The adjusting CPU 66 calculates a contrast on the basis of a sensor data signal SDATA which is read in the next time. The contrast calculation can be determined by the following equation, for example. ##EQU1## where Xi is a value of the ith term in sensor data of 128. 
     The contrast value thus determined is stored in a memory. Subsequently, the flow of the contrast detection is completed by adding +1 to the parameter I. The adjusting CPU 66 repeats the flow of contrast detection 80 times. Subsequently, the adjusting CPU 66 calculates an adjustment value DFOCUS. 
     The relation between an amount of moving out the focusing lens group 22 and a contrast value is already known by the contrast detection of 80 times. Let it be supposed that the relation is as shown in FIG. 11, for example. First, a position of the focusing lens group 22 such as a contrast value becomes a peak is determined. 
     In an example shown in FIG. 11, an amount of moving out the lens at its peak (the number of encoder pulses) is 70 pulses. Now, assuming that the peak position by design is at 62 pulses in terms of an amount of moving out the lens, it follows that the peak position is shifted by +8 pulses because of workmanship of mechanisms provided around the focusing motor 20. This corresponds to an fc error. Accordingly, a value +8 is determined as an adjusting value DFOCUS for focusing. 
     The adjusting CPU 66 delivers an adjusting value DFOCUS to the camera CPU 11 after setting a signal TEST 2 to &#34;H&#34;. The camera CPU 11 is standing by ready to read in the adjusting value DFOCUS under the condition that the signal TEST 2 is at &#34;H&#34;. The value DFOCUS delivered from the adjusting CPU 66 is a serial data of 8 bits in which the 0 to 6th bits represent an absolute value of the adjusting value and the 7th bit represents a sign thereof. When the value DFOCUS is +8, its serial data is 10001000 in order from MSB. 
     The camera CPU 11 successively reads in the serial data in synchronism with the rise of a signal CLOCK delivered from the CPU 66 to store at the address D in the RAM. 
     Upon completion of the above described data communication, the adjusting CPU 66 sets signals TEST 2 and TEST 1 to &#34;L&#34; and completes the sequential operations of the adjustment. The camera CPU 11 reads in the adjusting value DFOCUS and stores the value in the digital memory 18. The procedure of reading in the adjusting value is as described above. First, adjusting values stored in addresses D to 15 within the EEPROM 51 of the digital memory 18 are collectively read in the addresses BO to BF of the RAM in the camera CPU 11 and data in the address BO is exchanged for the adjusting value DFOCUS stored in the address D. Then, contents in the addresses BO to BF are again stored in the EEPROM 51 in the digital memory 18. Thus, the camera CPU 11 completes a sequence of operations for the focusing adjustment. 
     As described above it is possible to dispense with an fc adjusting mechanism and to automate processes of an fc adjustment by utilizing the above embodiment. 
     The first embodiment described above can be variously modified. 
     In the embodiment, while the adjusting CPU 66 and the camera 60 are connected through the connector 68, they may be connected through the adjusting stand 61. By way of example, as shown in FIG. 10B, terminals T2, T3, T4 and T5 are connected through a test pin 168 provided on the stand 61 to a contact group 169 (contacts 41 to 44 shown in FIG. 2) provided on the camera. It is preferred that the contact group 169 be provided in a position where it is not externally seen when the camera is in a normal use but is externally exposed when a back lid of the camera is opened, namely, on the back lid which is put on the secondary appearance of its opened state. 
     In the embodiment, the contact group 169 is shared with contacts for use in a data back which is a back lid of a camera with a built-in data taking module. 
     FIG. 10C shows the state in which a back lid of a camera is opened. 
     A contact group 169 in the shape of a circular flat board is provided on a camera body 160. A contact group 171, with each contact in the shape of a pin, is provided on a data back 170 so as to be opposite to the contact group 169. Namely, signal transmission between the adjusting apparatus and the camera body 160 is primarily effected by utilizing contacts for effecting communication between the camera body 160 and the data back 170. In addition, the four pins 168 for use in a test (not shown in FIG. 10C) are arranged in a direction perpendicular to the sheet plane so that they are in contact with the respective contact group 169 for the data back. 
     As set forth above, since the signal contacts for communicating between the adjusting apparatus and the camera body are provided on the back lid which is put on the secondary appearance, there are advantages that the signal contacts can be prevented from being inadvertently externally exposed when the camera is in a normal use and the camera body can be set up on the adjusting apparatus in a single operation when adjusted. In addition, a DX contact (contact for detecting information of a film on a cartridge) may be used in place of the contact for the data back. 
     In the embodiment, while the EEPROM is employed for the digital memory 18 for storing adjusting values, other digital memories may be utilized. By way of example, a PROM (programmable ROM) may be employed. When a PROM is employed, however, the storing of adjusting values is limited to only once. Also, a RAM may be employed. When a RAM is employed, it is necessary to add a backup cell so that contents in the RAM are not erased when a cell in a camera is exchanged. 
     Further, while in the above embodiment, the range finder 12 is employed to measure a range on the basis of the triangular range detection system using the PSD 14, other range detection systems may be used. By way of example, a passive triangular range detection system or a ultrasonic sonar range detection system may be used. 
     In addition, while an DC motor is employed as the motor for driving the focusing lens group 22 in the embodiment, motors of other kinds may be used. For example, a pulse motor may be used. When a pulse motor is used, it is possible to dispense with the encoder 23 since there is an accurate relation between the number of pulses applied to a motor and a revolutional angle thereof. In place of a DC motor, an ultrasonic motor may be used. An ultrasonic motor has this features that a high torque and low speed rotation can be obtained, so that the power transmission mechanism 21 (reduction mechanism) can be dispensed with. 
     Further, a drive mechanism not using the motor drive actuator as described above may be employed. By way of example, a focusing lens can be driven by a spring for driving a focusing lens which is charged in cooperation with an operation such as a film winding operation and is retained its charged condition, by releasing a lock mechanism thereof and can be stopped by releasing a hook previously attracted to a magnet when the focusing lens is driven by a predetermined amount. 
     A second embodiment of the present invention will be described hereinafter with reference to FIG. 13. In FIG. 13, like elements as those shown in FIG. 2 have the same functions and their description will be omitted. 
     A distinction of the second embodiment over the first embodiment is that a motor drive zooming mechanism is added. When receiving signals of ZOOM UP, ZOOM DOWN and ZOOM BRAKE from output terminals C17, C18 and C19 of a CPU 70, a zooming motor drive circuit 71, delivers respective drive signals to a zooming motor 72. A power transmission mechanism 73 transmits power to a zoom frame 74 after reducing the speed of the zooming motor 72. An encoder 75 connected between terminals C15 and C16 of the CPU 70 monitors an amount of rotation of the zoom frame 74 and its structure is the same as that of the encoder 23 for monitoring an amount of movement of the focusing lens group 22. 
     Mechanical members of the second embodiment will be described with reference to FIGS. 14 and 15. In FIGS. 14 and 15, like elements as those shown in FIGS. 3 and 4 have the same structures and functions. A rotary slit 77 of the same structure as that of the slit 27 shown in FIG. 3 is secured to an output shaft of the zooming motor 71. An encoder 75 comprising the rotary slit 77 and a photointerrupter 78 monitors an amount of rotation of the zooming motor 71, that is, that of the zoom frame 74. A power transmission mechanism 73 comprises a pinion 79 secured to the output shaft of the zooming motor 71 and reduction gears 80 and 81 meshed therewith in order. A gear 82 engaging with the gear 81 is formed at the rear end of the zoom frame 74 which is movably fitted on a fixed frame 83. Accordingly, when the zooming motor 71 rotates by a direction signal of ZOOM UP, the zoom frame 74 rotates relative to the fixed frame 83 in a direction indicated with an arrow a in FIG. 15. A first lens group 85 is secured to a first group frame 84 and a second A lens group 87 is secured to a second group A frame 86. A focusing frame 33 to which the focusing lens group 22 is secured and having a helicoid 34 is fitted in a second group B frame 88 with the helicoid 34 threadably engaging with a helicoid formed on an inner peripheral surface 88a of the second group B frame 88. The second group B frame 88 is secured to the second group A frame 86. A third lens group 90 is secured to a third group frame 89. A shutter blade 91 is provided between the focusing lens group 22 and the second A lens group 87. 
     First, second and third group pins 92, 93 and 94 are respectively provided on first, second and third group frames 84, 86 and 89. 
     These pins fit in curvedly elongated holes 74a, 74b and 74c formed on the zoom frame 74 respectively after passing through a rectilinearly elongated slot 83a formed on the fixed frame 83. Accordingly, when the zoom frame 74 rotates in a direction indicated by an arrow a, each of the lens frames, that is, each of lens groups is moved out. In the second embodiment, the condition that each of the lens groups is moved out frontmost is a telephoto-condition (T--a long focus point side) and the condition that each of lens groups is moved in rearmost is a wide-condition (W--a short focus point side). Accordingly, when the zooming motor 71 rotates by a direction signal of ZOOM UP, the zoom frame 74 rotates in a direction indicated by the arrow a to zoom up. When the zooming motor 71 rotates by a direction signal of ZOOM DOWN, the zoom frame 74 rotates reversely to zoom down. 
     In the second embodiment, the focusing lens group 22 moves with rotation of the focusing motor 20 and the movement is relative to the second group B frame 88 which moves in the zooming operation. 
     A problem which is caused when a zooming mechanism described above is added is that an fc error varies with a focal length of a taking lens. Accordingly, an adjusting value for focusing varies on each focal length as shown in FIG. 16. In FIG. 16, the abscissa indicates a focal length f. Reference fo represents a threshold focal length on the wide side and reference f3 represents a threshold focal length on the telephoto side. 
     In the second embodiment, in a step of the adjustment, three adjusting values are determined on three typical focal lengths and stored in the digital memory 18. Namely, a scope of variation in focal length is divided into three zones. The relation fo≦f&lt;f1 indicates a wide zone and the intermediate focal length is denoted by fW. 
     The relation f2≦f≦f3 indicates a telephoto zone and the intermediate focal length is denoted by fT. The relation f1≦f&lt;f2 indicates an intermediate zone and the intermediate focal length is denoted by fS. In the adjusting step, adjusting values for focusing DFOCUS 1, DFOCUS 2 and DFOCUS 3 are determined on focal lengths, fW, fS and fT and stored in the addresses 0 to 2 in the EEPROM 51 of the digital memory, respectively. 
     A flow of the focusing operations in the second embodiment is substantially the same as that in the first embodiment. Namely, it is similar to the flow of focusing operations shown in FIG. 8 and differs somewhat in a flow of calculating an amount of moving out a focusing lens. A flow of calculating an amount of moving out a focusing lens in the second embodiment is shown in FIG. 17. 
     First, when a focal length of a taking lens is in the relation f0≦f&lt;f1, this represents the wide zone and an adjusting value DFOCUS 1 is substituted for a variable DFOCUS. When f2≦f≦f3, this represents the telephoto zone and an adjusting value DFOCUS 3 is substituted for a variable DFOCUS. When f1≦f&lt;f2, this represents the intermediate zone and an adjusting value DFOCUS2 is substituted for a variable DFOCUS. Then, an amount N of moving a focusing lens is determined based on the adjusting value DFOCUS and a detected range data STEP. 
     As such, since, in the apparatus of the second embodiment employing a zoom lens, a plurality of adjusting values corresponding to a plurality of focal lengths are stored, the apparatus has the advantages that an fc adjustment can be simply effected over the whole range of a zooming operation, in addition to the effects obtained in the first embodiment. 
     While, in the second embodiment, a variable scope of focal length is divided into three zones and adjusting values to respective three zones are determined and stored in the digital memory 18, it is noted that the number of divided zones will not be limited to three. The more the number of divided zones, the more accurate the focusing operation. 
     Now, a third embodiment of the present invention will be described hereinafter. The first embodiment is to correct an fc error by adjusting an amount of driving the focusing lens on the basis of an adjusting value stored in the digital memory 18. In this case, it should be premised that there exists an accurate correspondence between outputs of the range finder 12 and actual ranges to an object being photographed. Namely, the correspondence as shown in Table 1 should hold between both values. In practice, however, the assembled conditions of the range finder do not hold an accurate correspondence as shown in Table 1 because of variations in workmanship and the like of structural members of the range finder 12. When a focusing operation is effected in such condition, an error in an amount of driving a focusing lens is caused, resulting in an out-of-focus condition, because a range to an object being photographed is correctly recognized granting that there is no fc error. An error in an amount of driving a focusing lens in this case is called an AF error. In the third embodiment to be detailed below, an AF error is to be simultaneously corrected in addition to an fc error with one adjusting value. 
     A structure of the third embodiment is similar to that of the first embodiment and its drawing will be omitted. A difference is a resolving-power of the AFIC17. In the first embodiment, as shown in Table 1, a scope of photographable ranges between 0.85 m to infinity is divided into fifteen STEPs and each STEP corresponds to an amount of driving a lens for eight pulses which are produced in the encoder 23. In the third embodiment, a scope of photographable range between 0.85 m to infinity is divided into 120 STEPs. Accordingly, each STEP corresponds to an amount of driving a lens for one pulse from an encoder. Therefore, an amount of moving out a focusing lens is calculated in a flow of the focusing operations (see FIG. 8) with the following equation. 
     
         N=DFOCUS+STEP+30 
    
     A structure of an adjusting apparatus for determining an adjusting value DFOCUS slightly differs from that of the first embodiment. 
     Distinctions will be described with reference to FIG. 18. An object plate 96 fixed on an adjusting stand 61 is integrally provided with a reflecting plate 97 on the upper part of a screen 98 having a striped perforation pattern for projecting an image onto a CCD line sensor 64. The reflecting plate 97 is opposite to a range finder 12 of the camera 60A. The opposite surface is formed with a uniform reflection factor. Other elements in the structure are quite the same as those in the first embodiment. 
     A flow of adjusting operations slightly differs from that of the first embodiment. In the first embodiment, a position where contrast of an image of the screen 62 reaches its peak as the focusing lens is moved little by little, is determined and a difference between the determined peak position and a peak position in design is an adjusting value to be corrected as an fc error. In the third embodiment, in addition to the above, a range to the reflecting plate 97 is determined by the range finder 12 and a difference of the determined range data from a value in design is determined as an AF error. Thus, an adjusting value for correcting both of the fc and AF errors is determined and stored in the EEPROM 51 of the digital memory 18. 
     Only distinctions of the third embodiment over the first embodiment in a flow of adjusting operations will be described below. A flow of routine &lt;CALCULATION OF ADJUSTING VALUE&gt; in the flow of program &lt;ADJUSTMENT&gt; shown in FIG. 12 differs from that of the third embodiment. A flow in the third embodiment will be described with reference to FIG. 19. First, an adjusting value for an fc adjustment is calculated to make it a value DFOCUS·A. This is effected by the same procedures as that of the first embodiment. 
     Next, an adjusting value for an AF error is calculated. This flow will be described with reference to FIG. 20. First, a signal TEST 2 delivered from an output terminal T3 of the adjusting CPU66 is set to &#34;L&#34; immediately after being set to &#34;H&#34;. The CPU11 within a camera detects the rise of the signal to measure a range. Upon the completion of range detection, the camera CPU 11 delivers the detected range data to the adjusting CPU 66. The adjusting CPU 66 reads in the range data to make it STEP&#39;. Assuming that a detected range data is a value STEP O  when an AF error is correctly adjusted, a difference between ASTEP&#39; is an AF error. Accordingly, an adjusting value DFOCUS·B for adjusting an AF error is expressed as follows. 
     
         DFOCUS·B=STEP.sub.O -STEP&#39; 
    
     Returning to FIG. 19, after the calculation of an adjusting value DFOCUS·B for adjusting an AF error is completed, a total adjusting value DEFOCUS is determined by adding the adjusting value DFOCUS·B to the adjusting value DFOCUS·A. Operations of the subsequent flow&lt;ADJUSTMENT&gt; are the same as those of the first embodiment. 
     As described above, in addition to the effects of the first embodiment, the third embodiment makes it possible to adjust an AF error which is caused by mechanical variations in the range finder, in a manner similar to the fc adjustment and to moderate an accuracy requirement in mechanical adjustment. It will be understood that, in the adjusting apparatus shown in FIG. 18, the connector 68 may be replaced by the pin 118 on the stand 61 shown in FIG. 10B.