Patent ID: 6864474

Claim:
A focusing apparatus for adjusting focus of an optical instrument comprising: an optical unit for acquiring light from a subject and forming a subject image; a contrast detecting unit for detecting contrast value of the subject image acquired by said optical unit; a distance measuring unit for computing distance information indicating a distance from the focusing apparatus to the subject; an adjustment command receiving unit for receiving command information indicating a request to adjust the focus of said optical unit; a focus control unit for performing contrast detection by hill-climbing method by acquiring a contrast value step-by-step by moving at least a part of said optical unit step-by-step, and detecting a position of said optical unit, where the acquired contrast value becomes a maximum value, as a focusing position, when said adjustment command receiving unit receives the command information, said focus control unit determining an adjustment range of said optical unit, which performs the contrast detection by hill-climbing method, on the basis of the difference information stored in said difference information storing unit and the distance information newly computed by said distance measuring unit; a difference information computing unit for computing difference information indicating the difference between the focusing position detected by said focus control unit, which performs the contrast detection by hill-climbing method, and an adjustment position of said optical unit corresponding to the distance information computed by said distance measuring unit; and a difference information storing unit for storing the difference information computed by said difference information computing unit, wherein said distance measuring unit newly computes distance information when said adjustment command receiving unit receives new command information, and said focus control unit determines a condition for the contrast detection by hill-climbing method on the basis of the difference information stored in said difference information storing unit and distance information newly computed by said distance measuring unit.