Embodiment
Below, a preferred implementation digital single lens reflex camera of the present invention (digital single lens reflex camera) having been used in use according to accompanying drawing describes.This numeral single lens reflex photograph function is installed various replacing camera lenses.In the whole or part of these replacing camera lenses, have and stored the storer of changing the intrinsic information of camera lens.The related digital single lens reflex camera of present embodiment reads in this intrinsic information, uses this intrinsic information to carry out camera control when carrying out automatic focusing and automatic exposure control etc.
Fig. 1 is the integrally-built block diagram that the electric system of the related digital single lens reflex camera of present embodiment is shown.The pick-up lens 101,102 of the focusing and the usefulness that focalizes is arranged and be used to regulate the aperture 103 of numerical aperture in the internal configurations of changing lens barrel 100.Camera lens 101 and camera lens 102 are driven by lens driving mechanism 107, and aperture 103 is driven by aperture driving mechanism 109.
(CentralProcessing Unit: central processing unit) 111 are connected, and this camera lens CPU 111 is connected with camera body 200 by communication contact 300 with camera lens CPU respectively for these lens driving mechanisms 107, aperture driving mechanism 109.Camera lens CPU 111 is used to change the control in the lens barrel 100, and its controls lens driving mechanism 107 is focused and zoom drive, and control aperture driving mechanism 109 carries out f-number control.
And, in changing lens barrel 100, be provided be used to store the various data relevant with lens barrel for example the lens data ROM of focus information, f-number information, camera lens aberration information etc. (Read Only Memory: read-only memory) 105, this lens data ROM 105 is connected with camera lens CPU 111.Lens data ROM 105 can be the storer that mask rom can not be rewritten like that, but in the present embodiment, it is by flash memory or E
2The such rewritable nonvolatile memory of PROM (electric eeprom) constitutes.The request of camera lens CPU 111 web response body Web CPU 229 is stored in reading of various data and writing of information in the lens data ROM 105.
In camera body 200, be provided with moving reflector 201, this moving reflector 201 can the positions of 45 degree that tilt for shot object image being reflexed on the viewing optical system and with respect to camera lens optical axis, and the position of takeofing for shot object image being imported imaging apparatus (CCD 221 described later) between rotate.Above this moving reflector 201, dispose the focusing glass 205 that is used to make the shot object image imaging, above this focusing glass 205, dispose and be used to make the pentaprism 207 that overturns about shot object image.Emitting side (right side among Fig. 1) at the object light of this pentaprism 207 disposes the eyepiece 209 that is used to observe shot object image.
Constitute by half-reflecting mirror (Half Mirror) near the central authorities of above-mentioned moving reflector 201, be provided with the secondary catoptron 203 that is used for the object light in the transmission of half-reflecting mirror portion is reflexed to camera body 200 bottoms at the back side of this moving reflector 201.This pair catoptron 203 is rotatable with respect to moving reflector 201, when moving reflector 201 takeoffs, this pair catoptron 203 turns to the position that covers half-reflecting mirror portion, when moving reflector 201 is positioned at the position of observing shot object image, as shown in the figure, this pair catoptron 203 is positioned at the position that is open state with respect to moving reflector 201.This moving reflector 201 is driven by mirror drive mechanism 219.And below secondary catoptron 203, disposing the range-measuring circuit 217 that comprising range finding usefulness sensor, this circuit is to be used for by the circuit of so-called phase difference method mensuration by the focus deviation of the shot object image of pick-up lens 101,102 imagings.
Dispose the focal plane shutter (curtain shutter) 213 that is used to control the time shutter at the rear of moving reflector 201, this shutter 213 carries out drive controlling by fast door drive mechanism 215.Dispose at the rear of shutter 213 CCD as imaging apparatus (Charge Coupled Device: charge coupled cell) 221, it will be an electric signal by the shot object image opto-electronic conversion of camera lens 101,102 imagings.Complementary metal oxide semiconductor (CMOS)) in addition, in the present embodiment, used CCD, but also be not limited to this, can certainly use CMOS (Complementary Metal OxideSemiconductor: two-dimentional imaging apparatus such as imaging apparatus.
CCD 221 is connected with CCD driving circuit 223, carries out analog digital conversion (AD conversion) by this CCD driving circuit 223.CCD driving circuit 223 is connected with image processing circuit 227 via CCD interface 225.This image processing circuit 227 carries out various Flame Image Process such as color correction, gal sign indicating number (γ) correction, contrast correction.And, also carry out the generation of the view data of displaying live view demonstration (the being also referred to as electronic viewfinder) usefulness in the LCD monitor 26.
(Application Specific Integrated Circuit: special IC) data bus 261 in 271 is connected for image processing circuit 227 and ASIC.On this data bus 261, except image processing circuit 227, also be connected with main body CPU 229, compressor circuit 231, flash memory control circuit 233, SDRAM (synchronous DRAM) control circuit 236, imput output circuit 239, telecommunication circuit 241, recording medium control circuit 243, video signal output circuit 247 and switch testing circuit 253 as control module.
The main body CPU 229 that is connected with data bus 261 is used to control the flow process of this numeral single lens reflex camera.And the compressor circuit 231 that is connected with data bus 261 is to be used for the circuit that the view data that is stored in SDRAM 237 compressed with JPEG or TIFF.In addition, compression of images is not limited to JPEG or TIFF, also can use other compression methods.This compressor circuit 231 also decompresses to the view data that is recorded in compressed format in the recording medium 245 described later.
The flash memory control circuit 233 that is connected with data bus 261 is connected on the flash memory (Flash Memory) 235, this flash memory 235 stores the program of the flow process that is used to control the single lens reflex camera, and main body CPU 229 carries out the control of digital single lens reflex camera according to the program that is stored in this flash memory 235.In addition, flash memory 235 is can the electric nonvolatile memory of rewriting.SDRAM 237 is connected with data bus 261 via SDRAM control circuit 236, and this SDRAM 237 is used for the memory buffer that temporary transient storage has been carried out the view data of Flame Image Process by image processing circuit 227 or carried out the view data of compression by compressor circuit 231.
The imput output circuit 239 that is connected with above-mentioned fast door drive mechanism 215, range-measuring circuit 217 and mirror drive mechanism 219 is via the input and output of the data between each circuit such as data bus 261 controls and main body CPU 229.Be connected on the data bus 261 via the telecommunication circuit 241 that is connected with camera lens CPU 111 of communication contact 300, and carry out communicating by letter of exchanges data and control command between main body CPU 229 grades.
The recording medium control circuit 243 that is connected with data bus 261 is connected on the recording medium 245, carries out view data etc. is recorded control in this recording medium 245.Recording medium 245 constitutes any in the XD image card (registered trademark) of can packing into, CompactFlash (registered trademark), SD storage card (registered trademark) or the memory stick rewritable recording mediums such as (registered trademarks), and with respect to camera body 200 detachables.In addition, can also constitute and to connect hard disk via the communication contact.
The video signal output circuit 247 that is connected with data bus 261 is connected on the LCD monitor 26 via LCD monitor driving circuit 249.Video signal output circuit 247 is that the view data that is used for being stored in SDRAM 237, recording medium 245 is converted to the circuit that is used for carrying out video signal displayed on LCD monitor 26.Though LCD monitor 26 is configured in the back side of camera body 200, so long as shooting person can observed position, just be not limited to the back side, nor be defined in liquid crystal, can be other display device.
Detect the 1st stroke (partly pressing) of shutter release button or the 1st and the 2nd release-push of the 2nd stroke (pressing fully), the switch of indication reproduction mode, indication ISO sets the switch of pattern, the switch that the indication white balance is set, the switch of the action of instructs cursor on the picture of LCD monitor 26, the switch of indication image pickup mode, determine the OK switch of selected each pattern etc., the switch of indicated number mode switch, detect the various switches 255 such as camera lens dismounting detector switch of the installment state of changing lens barrel 100, be connected with data bus 261 via switch testing circuit 253.
In addition, by connecting the 1st release-push (hereinafter referred to as 1R) that links with shutter release button, camera carries out shooting warming-up exercises such as the focusing of focus detection, pick-up lens, the photometry of subject brightness.And by connecting the 2nd release-push (hereinafter referred to as 2R), camera is according to the output as the CCD 221 of imaging apparatus, carry out shot object image view data obtaining and with the shooting action of Imagery Data Recording in the recording medium.
And camera lens dismounting detector switch (not shown) is arranged on the camera lens installed surface, and it is by utilizing mechanical switch of changing lens barrel 100 and advancing and retreat or the optoelectronic switch that detects the installation of changing lens barrel 100 etc. to constitute.
And, on switch testing circuit 253, also be connected with the manually operated lens data reset switch 257 that responds shooting person.As described later, this lens data reset switch 257 is the operating switchs that are used for carrying out following action: read in the lens data that is stored in lens data ROM 105 in camera body 200.
Then, use Fig. 2 process flow diagram extremely shown in Figure 4 that the action of present embodiment is described.Behind camera body 200 that not shown power-supply battery is packed into, begin the program of electrification reset shown in Figure 2.At first, judge that by switch testing circuit 253 being used to start camera makes its power switch of transferring to operating state (not shown) whether connect (S1).When the result who judges disconnects for power switch, then enter sleep pattern (S3).Sleep pattern is following pattern: promptly, only detect the state of power switch, and main body CPU 229 or camera lens CPU 111 are set at sleep state, to reduce electrical source consumption.
When the result of determination of step S1 is that power switch is connected or when having carried out the operation of energized switch under the sleep pattern of step S3, made the Circuits System in the camera body 200 be in operating state (startup).Then, whether be installed on the camera body 200 and judge changing lens barrel 100.This judgement is that the state according to camera lens dismounting detector switch (not shown) carries out.
When the result of determination of step S5 when replacing lens barrel 100 has been installed, then carry out camera lens communication 1 (S7).This camera lens communication 1 is the subroutine of reading in that only limits to carry out lens data under the data conditions of also not reading in lens data ROM 105, and the back will use Fig. 3 to describe in detail.
When the result of determination of step S5 is changed lens barrel 100 for not installing, then enter step S9, judge whether replacing lens barrel 100 being installed once more.When the result who judges when not installing, then next same with step S1, whether power switch connected judge (S13).When the result who judges disconnects for power switch, then jump to step S3, become above-mentioned sleep pattern.
When the result of determination of step S13 is a power switch when connecting, then return step S9, judge (S9) to whether replacing lens barrel 100 being installed.When the result who judges when replacing lens barrel 100 has been installed, then carry out communicate by letter 2 subroutine (S11) of camera lens.Camera lens communication 2 is with whether to have carried out reading in of lens data irrelevant, is a kind ofly to carry out the subroutine that lens data reads in from lens data ROM 105, and Fig. 3 detailed description will be used in the back.
If be equipped with when the power switch of step S1 is connected and changed lens barrel 100, then the order according to step S1 → step S5 → step S7 advances, and carries out camera lens communication 1.In this case, only limit under the situation of also not reading in the lens data of changing lens barrel 100, carry out reading in of lens data.This a series of actions is called as the 2nd registration action.
On the other hand, if when the power switch of step S1 is connected, do not install and change lens barrel 100, and after moment of step S9 replacing lens barrel 100 has been installed, then the order according to step S1 → step S5 → step S9 → step S13 → step S9 → step S11 advances, and carries out camera lens communication 2.In this case, whether the lens data of changing lens barrel 100 is irrelevant with having read in, and carries out reading in of lens data.This a series of actions is called as the 1st registration action.
When the end of subroutine of the camera lens communication 2 of communication 1 of the camera lens of step S7 or step S11, next carry out resetting and starting (S15) of Displaying timer device.The Displaying timer device is the timer that is used to prevent the power supply waste on LCD monitor 26 display parts such as grade.In this flow process,, after resetting, the Displaying timer device, stops the demonstration on the display part through during the time that sets though be not shown specifically.
Then, carry out read in (S17) of image pickup mode and imaging conditions.Because reading in of image pickup mode and imaging conditions is to wait and import by the mode dial and the menu mode of shooting person's operation setting on camera body 200, so carry out reading in of image pickup mode and imaging conditions by the setting that detects these.
Then, carry out photometry and exposure computing (S19).By near the exit wound of bullet that is arranged on pentaprism 207 and do not hinder the locational photometry sensor (not shown) of the observation of the view finder that adopts eyepiece 209, photometry is carried out in subject brightness.Then, the output according to this photometry sensor comes the computing exposure, exposure control values such as decision shutter speed and f-number.The shooting information (S21) such as exposure control value of afterwards, on LCD monitor 26 display parts such as grade, be presented at the image pickup mode that reads among the step S17 and imaging conditions, in step S19, trying to achieve.
Then, operation lens data reset switch 257 is judged (S23) to whether having carried out the indication that lens data resets.Want to carry out this operation when being stored in that the lens data relevant with changing lens barrel 100 among the lens data ROM 105 is mandatory to be stored in the camera body 200 shooting person.When the result who judges when having carried out this indication, then same with step S11, communicate by letter 2 subroutine (S35) of execution camera lens.When the processing of this subroutine finishes, then return step S15, repeat above-mentioned steps.This a series of actions is called as the 3rd registration action.
When in step S23, not carrying out the indication that lens data resets, judge (S25) to whether having carried out lens changing.Whether this judgement is the state according to above-mentioned camera lens dismounting detector switch, carries out following judgement in step S5 or step S9: be removed again after replacing lens barrel 100 is mounted, and replacing lens barrel 100 has been installed once more.When the result who judges when having carried out lens changing, then similarly carry out communicate by letter 2 subroutine of camera lens with step S35, read in (S37) of lens data carried out in this camera lens communication 2 and whether to have carried out reading in of lens data irrelevant.When the processing of this subroutine finishes, then return step S15, repeat above-mentioned steps.
When in step S25, being judged to be when not changing camera lens, then, whether the 1R switch being connected judge (S27).Be in when connecting the action (S39) of making a video recording when partly pressing release-push, 1R.The shooting action is to carry out photometry and exposure computing and automatic focusing action according to the connection of 1R, and according to the connection of the 2R action of making a video recording, promptly, moving reflector 201 is risen, carry out the control of shutter 213 and aperture 103 with the exposure control value that is predetermined, carry out opto-electronic conversion by 221 pairs of shot object images of CCD, carry out various processing, with Imagery Data Recording in recording medium 245.When the 1R switch disconnects, finish the shooting action, return step S15, repeat above-mentioned steps.
When in step S27, being judged to be the 1R switch when disconnecting, then, judged (S29) to whether having carried out the setting alter operation.That is, judge whether to have changed various settings such as image pickup mode, menu mode, when result of determination when changing, then set change and move (S41).When setting the change release, then return step S15, repeat above-mentioned steps.
When the result of determination of step S29 when not setting alter operation, then, S1 is same with step, whether power switch is connected judged (S31).When the result who judges is connection, return step S15, repeat above-mentioned steps.On the other hand, when power switch disconnects, then carry out camera lens communication 3 (S33).The processing of the lens data when this camera lens communication 3 disconnects with power supply is relevant, and Fig. 4 detailed description will be used in the back.
Below, use Fig. 3 that the action of camera lens communication 1 is described.When in above-mentioned steps S7, having entered the subroutine of camera lens communication 1, at first, carry out the retrieval (S51) of camera lens registration data.As described later, because lens data is registered in the flash memory 235, so the camera lens registration data 121 (referring to Fig. 5) that is stored in the flash memory 235 is retrieved.
Then, according to camera lens registration data result for retrieval, to whether existing camera lens registration data (S53) to judge.When the result who judges when having the camera lens registration data, carry out duplicate (S55) of camera lens registration data.As shown in Figure 5, this to duplicate be will be stored in camera lens registration data 121 in the flash memory 235 by direct memory access (DMA) (DMA:DirectMemory Access) to copy to (a1 of Fig. 5) in the lens data zone 122 in the SDRAM 237.A side or both sides among this flash memory 235 and the SDRAM 237 are called storage unit herein.
In addition, about duplicating of herein lens data, when in flash memory 235, storing the lens data of multiple replacing lens barrel, then between flash memory 235 and SDRAM 237, directly duplicate the lens data of the replacing camera lens of all kinds.
And Fig. 5 also illustrates the data flow of attachment data.This belongs to the situation that camera accessories such as flash unit are installed, and is same with the situation of lens data, by DMA institute's stored accessory registration data 321 in the flash memory 235 is copied in the attachment data zone 322 of SDRAM 237.When annex for example is flash unit, luminous quantity (guide number) and illumination angle etc. are registered as attachment data.
When the duplicating of the camera lens registration data that is through with in step S55, perhaps result of determination is then then carried out the initialization (S57) of camera lens when not retrieving the camera lens registration data in step S53.In the initialization of camera lens, making the focal position of changing lens barrel is the electrification reset of circuit blocks such as mechanicalness initialization such as open state and camera lens CPU 111 corresponding to infinity and with aperture settings.
When the camera lens initialization finishes, then, whether this camera lens initialization is successfully judged (S59).When result of determination is camera lens initialization success, next to camera lens CPU 111 request camera lens recognition data (S61).The camera lens recognition data is the part of camera lens registration data, is the data that the kind of lens barrel is changed in expression.This camera lens recognition data is stored among the lens data ROM 105, forms data structure shown in Figure 7.That is, this camera lens recognition data is the supplier ID that is made of 2 bytes, the camera lens ID that is made of 2 bytes equally, hardware (H/W) version that is made of 2 bytes equally and the random data that is made of 1 byte.
Supplier ID is the information that the manufacturer of lens barrel is changed in expression, camera lens ID be change kind, for example 14-54mm, F2.8-3.5 or 25mm, the F1.4 of lens barrel such corresponding to the replacing camera lens kinds of information of determining by focal length and open f-number etc.The H/W version is a hardware version information of changing lens barrel.Random data is a multi-functional data, represents the control information or the version information of lens data in the present embodiment.
That is, when being corrected, can rewrite the random data that is comprised in the camera lens identifying information at the camera lens kind of information (camera lens ID) of changing lens barrel 100 and camera lens intrinsic information (lens data).For example when having changed the version of lens data or by repairing etc. when having proofreaied and correct lens data, can change and proofread and correct random data.
In step S61, form the camera lens recognition data of above-mentioned data structure to camera lens CPU 111 request, camera lens CPU 111 reads the camera lens recognition data, replies to main body CPU 229.Reply the result according to this, whether the reception of recognition data is successfully judged (S63).
When the result of determination of step S63 is the reception success of recognition data, then carry out the comparison (S65) of camera lens recognition data.Copy among the SDRAM 237 though will register the camera lens registration data that finishes in step S55, carry out following comparison in this step S65: the camera lens recognition data in the camera lens registration data that this duplicates is consistent or inconsistent with the camera lens recognition data that reads in step S61, be the current replacing lens barrel of installing 100.
According to the comparison of step S65, judge (S67) to recognition data is whether consistent.When the result who judges was unanimity, then former state was returned the program of electrification reset shown in Figure 2.That is, in this case, because read in and registered lens data, so do not carry out reading of lens data.Its result can omit reading of lens data, enters the shooting action immediately, so can shorten time lag.
On the other hand, when the result of determination of step S67 is when not having consistent recognition data, perhaps the result of determination of step S63 is that the reception of recognition data does not have the camera lens CPU 111 that changes lens barrel 100 to be carried out the transmission request (S69) of lens data when successful.Camera lens CPU 111 replys lens data, and in view of the above whether the reception of lens data is successfully judged (S71) to sending request.
When the result who judges is the reception success of lens data, then will comprises the camera lens recognition data and be stored in the lens data zone 122 of SDRAM 237 at interior lens data.On the other hand, when the reception of lens data in step S71 does not have when successful, perhaps the camera lens initialization does not have when successful in step S59, carries out read (S75) of camera lens data with existing.
When transferring to step S75, have situations such as the electric contact loose contact or the communication barrier, but in addition, also existence replacing lens barrel itself do not have the situation of camera lens CPU 111 and lens data ROM 105 etc. yet.Which kind of situation no matter because the control of the camera in the camera body 200 is that prerequisite is carried out there to be lens data all, so do not have to read camera lens data with existing (initial value) when successful when reading in of lens data, is controlled based on these data.
Action to camera lens communication 2 describes below.When in above-mentioned steps S11, S35, S37, entering the subroutine of camera lens communication 2, then same with step S81, carry out camera lens initialization (S81).Then same with step S61, camera lens CPU 111 is carried out the transmission request (S61) of camera lens recognition data.
Transfer to step S69 then, as mentioned above, camera lens CPU 111 is carried out the transmission request of lens data.That is, when communicating by letter for camera lens 1 the time, judge, under situation about having write down, can not carry out the action of reading in of lens data from changing lens barrel 100 to whether being registered in the flash memory 235 as camera lens registration data 121.But, in this camera lens communication 2, whether be stored in the flash memory 235 irrelevantly with lens data, S81 → step S83 → step S69 advances set by step, carries out reading in of lens data.
Use process flow diagram shown in Figure 4 that camera lens communication 3 is described below.In this camera lens communication 3, when outage, lens data is copied in the flash memory.When in above-mentioned steps S33, entering the subroutine of camera lens communication 3, at first carry out the retrieval (S91) of camera lens registration data.To whether storing camera lens registration data 121 (with reference to Fig. 6) in the flash memory 235 retrieve herein.
When retrieval finishes, next, according to result for retrieval to whether finishes registration judge (S93).This judges as shown in Figure 6, and relatively the camera lens recognition data 131 (referring to the a11 of Fig. 6) in the camera lens registration data 121 in the camera lens recognition data 132 in the lens data zone 122 in the SDRAM 237 and the flash memory 235 is judged to have or not consistent data.
When the result of determination of step S93 when not having consistent data, carry out the registration (S95) of lens data.In this case, corresponding with the current replacing lens barrel of installing 100 lens data is not stored in the flash memory 235.Therefore, as shown in Figure 6, will be stored in lens data in the lens data zone 122 in the SDRAM 237 by DMA and copy in camera lens registration data 121 zones in the flash memory 235 (referring to the a12 of Fig. 6).
In addition, about duplicating of herein lens data, when in SDRAM 237, storing the lens data of multiple replacing lens barrel, between SDRAM 237 and flash memory 235, directly duplicate the lens data of the replacing camera lens of all kinds.
And Fig. 6 also illustrates the data flow of attachment data.Identical with Fig. 5, this belongs to the situation that camera accessories such as flash unit are installed, same with the situation of lens data, directly between storer, will be stored in data in 237 stored accessory data areas 322 of SDRAM and copy in the zone of annex registration data 321 of flash memory 235.
When the registration of the lens data of step S95 finishes, carry out camera lens end process (S97).Finish even perhaps in step S93, be judged to be registration, but,, return original program so be used to make camera lens to turn back to camera lens end process on the initial position because lens data has been stored in the flash memory 237.
As mentioned above, comprise in the present embodiment: storage unit (flash memory 235 or SDRAM 237), it can be registered and the relevant intrinsic information (lens data) of the multiple pick-up lens that can install (changing lens barrel 100); Control module (main body CPU 229), it is according to being registered in the drive controlling that intrinsic information (lens data) in this storage unit carries out the pick-up lens installed; The 1st registration unit (camera lens communication 2), it responds the 1st operation (step S9, S23, S25), obtains intrinsic information from pick-up lens and also this intrinsic information is registered in the storage unit; And the 2nd registration unit (camera lens communication 1), it responds the 2nd operation (step S1 and S5), whether the intrinsic information of the pick-up lens installed be registered in judge in the storage unit, when being judged to be when not registering, obtain above-mentioned intrinsic information from above-mentioned pick-up lens, and this intrinsic information is registered in the said memory cells.
Owing to take this structure, thus can provide a kind of reduce and pick-up lens between call duration time, the camera that moves at a high speed.That is, when carrying out the 1st operation, carry out obtaining of intrinsic information, and when carrying out the 2nd operation, only under the situation of having registered intrinsic information, just carry out obtaining of intrinsic information, thereby can reduce call duration time, carry out high speed motion.And, rewriting under the situation of the lens data in the pick-up lens by repairing to wait, existing camera can omit communication, the intrinsic information that is registered in the storage unit of camera body is not rewritten, may not can be updated to last state, but, because can obtain intrinsic information, so can eliminate this unfavorable condition by the 1st operation.
And in the present embodiment, the 1st operation is the fitting operation (step S9, S25) of pick-up lens or the indication that is used for registering once more operation (step S23), and the 2nd operation is the start-up operation (step S1 and S5) of camera.Therefore, when under the state of changing lens barrel 100 has been installed, carrying out start-up operation, owing to carry out the 2nd operation, so only limit under the situation of not registering intrinsic information, carry out obtaining of intrinsic information.And, when specially carrying out the registration of intrinsic information, as long as,, carry out high speed motion so can reduce call duration time because carry out the 1st operation.
In addition, in the present embodiment, the intrinsic information of pick-up lens (lens data) includes the recognition data (camera lens recognition data) of determining pick-up lens, and the 2nd registration unit is by the identifying information (camera lens recognition data) that comprised the intrinsic information of relatively obtaining from pick-up lens (lens data) and be stored in the identifying information (camera lens recognition data) that is comprised in the interior intrinsic information of storage unit (flash memory 235) and judge.Therefore, needn't all intrinsic informations be compared, only relatively identifying information gets final product, so can carry out high speed processing.
In addition, in the present embodiment, can rewrite intrinsic information in pick-up lens, when having carried out the rewriting of intrinsic information in pick-up lens, identifying information is also changed and is proofreaied and correct.Therefore, by repair waiting when having rewritten the intrinsic information of pick-up lens, owing to read in intrinsic information automatically by the 2nd registration unit, thus needn't be by the mandatory intrinsic information that reads in of the 1st registration unit, very convenient.
In addition, in the present embodiment, with the lens data that is stored among the lens data ROM 105 that changes in the lens barrel 100 is that the center is illustrated, but, as described in when Fig. 5 and Fig. 6 are described, even be stored in the such camera accessories of flash unit in attachment data in the storer established, also can come reading in of switch adjunct data by installment state or the content of operation between itself and the camera body.
And, in the present embodiment, carry out communicate by letter with camera lens 2 condition and regularly be not limited to the example shown in the present embodiment of camera lens communication 1, camera lens communication 2 can also be only resets and carries out various distortion under the situations such as timing of indication having carried out lens data.In addition, in the present embodiment, the reset judgement of indication of the lens data of step S23 (Fig. 2) is that set condition by detector lens data reset switch 257 carries out, but be not limited to this, for example can make it can under menu mode, carry out the setting that lens data resets, judge by it is detected.
In addition, in the step S55 of Fig. 3 of present embodiment, all lens datas that are registered in the flash memory 235 are duplicated, but, the flow direction that the lens data of necessity copies to SDRAM 237 medium lens datas can be carried out various distortion according to the camera lens recognition data of in step S61, obtaining.
In addition, in the present embodiment, the example that is applied in the single lens reflex digital camera has been described as camera, but the present invention is not limited to digital single lens reflex camera, for example also can be applied in the digital cameras such as compact, can also with the photo camera head, be applied to be installed in the camera on the specialized equipment as microscope certainly.No matter which kind of situation gets final product so long as camera, the electronic image pickup device of lens barrel and annex etc. can be installed.