Patent ID: 7711260

Claim:
A digital camera to which a lens unit having a focus lens is detachably attached, the digital camera comprising: an imaging section having an image pickup device to convert an optical image of a subject irradiated via the lens unit into an electrical signal; a first focus detecting section which detects focal information of the focus lens by a phase difference-based method; a second focus detecting section which detects focal information of the focus lens by a contrast-based method; a control section which selects the focal information detected by one of the first focus detecting section and the second focus detecting section and which generates a focusing control signal to control a focal position of the focus lens based on the selected focal information; and a transmitting and receiving section which transmits the focusing control signal to the lens unit and which receives information about a characteristic of the lens unit transmitted from the lens unit, wherein the control section determines, based on the information on the lens unit acquired via the transmitting and receiving section, whether or not the second focus detecting section is suitable for use with the lens unit, and wherein, when the control section determines that the second focus detecting section is suitable for use with the lens unit, the control section sets the second focus section to be operated without using the first focus detecting section.