发明名称 Focus position searching method
摘要 A focus position searching method is used to determine an optimum position of a lens module, the lens module being driven by a voice coil motor (VCM), the VCM according to an input current to drive the lens module. The focus position searching method is used to search a left boundary and a right boundary, then two current values are obtained in a range between the left and the right boundaries, by using a golden section method to drive the lens module to capture an image and calculate sharpness of the image. According to the sharpness, the left and the right boundaries are continuously moved rightward and leftward, thereby two differences current values are obtained in the left and right boundaries within a certain range, and a searched current is used to carry out the focus.
申请公布号 US8885088(B2) 申请公布日期 2014.11.11
申请号 US201313892351 申请日期 2013.05.13
申请人 Hon Hai Precision Industry Co., Ltd. 发明人 Lin Kuo-Hung
分类号 H04N5/232;G03B13/00;G03B13/36;G02B7/36 主分类号 H04N5/232
代理机构 Novak Druce Connolly Bove + Quigg LLP 代理人 Novak Druce Connolly Bove + Quigg LLP
主权项 1. A focus position searching method, used to determine an optimum position of a lens module, the lens module being driven by a voice coil motor (VCM), the VCM moving according to an input current to drive the lens module, the focus position searching method, comprising: S1: preliminarily selecting a left boundary L, and a right boundary R of a current value in an operating current range of a voice coil motor, and default an allowable difference, wherein a difference value of preliminary selected the left and right boundaries is greater than the allowable difference; setting two seed points of the current value between the left boundary L and the right boundary R, and separately denoted as a left seed point and a right seed point, wherein a current value of the left seed point satisfies X1=L+(1−τ)(R−L), and wherein a current value of the right seed point satisfies X2=L+τ(R−L), and τ is a golden ratio value 0.618; S2: separately using the current values of the left seed point and the right seed point to drive the lens module to move to a corresponding position and then capturing an image by the lens module, wherein a sharpness of the image is calculated; comparing a corresponding sharpness of the images between the left seed point and the right seed point, according to relationship of compared sharpness result between the left and right seed points, and if the corresponding sharpness of the left seed point is less than or equal to the corresponding sharpness of the right seed point, the left seed point is re-selected as a left boundary, goes to step a1; if the corresponding sharpness of the right seed point is less than the corresponding sharpness of the left seed point, the right seed point is re-selected as a right boundary, go to step b1; a1: the right seed point is re-selected as a new left seed point, and according to the re-selected left boundary and the current value formula X2=L+τ(R−L) of the right seed point to get a new right seed point; a2: using the current values of the new right seed point and the previous right seed point, repeating the step S2, until a current value difference between the newest right seed point and the previous right seed point is less or equal to the allowable difference, then stop searching; taking a maximum sharpness of the image of the right seed point as a best focus position; b1: the left seed point is re-selected as a new right seed point, according to the re-selected right boundary and the current value formula X1=L+(1−τ)(R−L) of the left seed point to get a new left seed point; b2: using the current values of the new left seed point and the previous left seed point, repeating the step S2, until the current value difference between the newest left seed point and the previous left seed point is less or equal to the allowable difference, then stop searching; taking the maximum sharpness of the image of the left seed point as a best focus position.
地址 New Taipei TW