Patent ID: 7567289

Claim:
An auto focus method for determining a focusing position of a lens, said lens being moved according to a search step look-up table, said auto focus method comprising steps of: (a) recording a base focus value BFV corresponding to an initial lens position of said lens; (b) moving said lens to a current lens position according to said search step look-up table, and calculating a current focus value CFV corresponding to said current lens position; (c) recording a maximum focus value MFV; (d) calculating a ratio of said current focus value CFV to said base focus value BFV, and up counting a peak value search count by one if the CFV/BFV ratio is greater than a peak value approaching parameter W; (e) discriminating whether said peak value search count is greater than or equal to a peak value range parameter C, and regarding the lens position corresponding to said maximum focus value MFV as said focusing position if said peak value search count is greater than or equal to said peak value range parameter C; (f) discriminating whether a ratio of said maximum focus value MFV to said current focus value CFV is greater than a peak value departing parameter K if said peak value search count is smaller than said peak value range parameter C, and regarding the lens position corresponding to said maximum focus value MFV as said focusing position if the MFV/CFV ratio is greater than said peak value departing parameter K; (g) moving said lens to a next focusing position according to said search step look-up table if the MFV/CFV ratio is not greater than said peak value departing parameter K; and (h) repeating the steps (b) to (g).