95. 9. 15 1273343 九、發明說明: 【發明所屬之技術領域】 本發明係關於一種數位相機鏡頭模組調整方法,尤其 係關於一種用於調整影像感測器與透鏡組之光軸對正之數 位相機鏡頭模組調整方法。 【先前技術】 隨著數位技術之不斷發展,數位相機已被人們廣泛應 用,特別係近年來行動電話及PDA(個人數位助理)等攜帶 式電子裝置也在快速向高性能、多功能化方向發展,數位 相機與該等攜帶式電子裝置之結合已成為發展移動多媒體 技術之關鍵,與該攜帶式電子裝置結合之數位相機體積較 小且結構簡單,其鏡頭模組之製造及維修裝配過程中容易 受到零組件製造及裝配誤差之影響,產生鏡頭模組之影像 感測器與透鏡組之光軸不垂直現象,即影像感測器具有一 定傾斜之情況。該情況會導致影像感測器所接收之入射光 線照度不均,引起影像一側較亮,而另一側較暗,從而影 響影像拍攝品質。例如:中國於2001年12月5日公告之公告 號為2463846之專利公開了 一種鏡頭模組,其利用基座與電 路板之間之彈性元件及螺釘進行調焦之過程中,由於不同 彈性元件之受力不均,及彈性元件之變形均會導致影像感 測器之傾斜。 習知之調整技術中具有改善該情況之構造,例如:中 國於2003年5月7日公告之公告號為2549497之專利公開了 一種數位相機之感測器定位裝置,該定位裝置係於鏡頭模 1273343 ::基座容置室内設置定位塊,從而將感測器定位並衫 =水平,該結構受到零組件製造精度之限制而影響調整: I二例如.^位塊之長度等,不能精確控制該感測器保 、7平。另,該結構需增加鏡頭模組之機構複雜 而增加製造難度及成本。 又從 有馨於此,提供-種不增加鏡頭模組機構複雜度且調 整精度高之數位相機鏡頭模組調整方法,用⑨調整影像感 測器與透鏡組之光軸垂直度,實為必要。 【發明内容】 本發明之目的在於提供一數位相機鏡頭模組調整方 法,該方法可不增加鏡頭模組機構複雜度,且可精確的調 整衫像感測裔與透鏡組之光軸之垂直度。 為了實現本發明之目的,本發明提供一種數位相機鏡 頭模組調整方法,其包括以下步驟:提供一各點均具有相 同…、度之特疋物體,使用欲進行調整之數位相機鏡頭模組 拍攝上述之特定物體;於所調整之數位相機鏡頭模組之影 像感測器上設定複數測量點,該測量點包括影像感測器之 中〜點及邊緣點’該邊緣點關於中心點中心對稱;測量上 述设定之測量點之照度數值;對所測量之照度數值進行比 較分析’從而推斷出影像感測器之傾斜狀況;採取相應之 措施调整影像感測器與數位相機之光轴之垂直度,使該影 像感測與該光轴垂直。 較習知之數位相機鏡頭模組調整方法,本方法係採取 一種光學調整方法,不增加鏡頭模組之機構複雜度,且可 127334395. 9. 15 1273343 IX. Description of the Invention: [Technical Field] The present invention relates to a method for adjusting a digital camera lens module, and more particularly to a method for adjusting an optical axis of an image sensor and a lens group. Digital camera lens module adjustment method. [Prior Art] With the continuous development of digital technology, digital cameras have been widely used, especially in recent years, portable electronic devices such as mobile phones and PDAs (personal digital assistants) are also rapidly developing into high-performance and multi-functional directions. The combination of digital cameras and these portable electronic devices has become the key to the development of mobile multimedia technology. The digital camera combined with the portable electronic device is small in size and simple in structure, and is easy to manufacture and repair the lens module. Affected by component manufacturing and assembly errors, the optical sensor of the lens module and the optical axis of the lens group are not perpendicular, that is, the image sensor has a certain inclination. This condition causes the illumination of the incident light received by the image sensor to be uneven, causing the image side to be brighter and the other side to be darker, thereby affecting the image quality. For example, the patent publication No. 2,463,846, issued on Dec. 5, 2001, discloses a lens module that utilizes elastic elements and screws between the base and the circuit board for focusing, due to different elastic components. Uneven forces and deformation of the elastic components can cause tilting of the image sensor. In the conventional adjustment technique, there is a configuration for improving the situation. For example, the patent publication No. 2,549,497, issued on May 7, 2003, discloses a sensor positioning device for a digital camera, which is attached to a lens mold 1273343. :: The pedestal accommodates the positioning block in the room to position the sensor and the shirt = horizontal. The structure is limited by the manufacturing precision of the component and affects the adjustment: I, for example, the length of the block, etc., cannot be precisely controlled. Sensor protection, 7 flat. In addition, the structure of the lens module is complicated to increase the manufacturing difficulty and cost. It is also necessary to adjust the optical axis perpendicularity of the image sensor and the lens group by using 9 to adjust the digital camera lens module adjustment method without increasing the complexity of the lens module mechanism and adjusting the precision of the lens module. . SUMMARY OF THE INVENTION It is an object of the present invention to provide a method for adjusting a digital camera lens module, which can accurately adjust the verticality of the optical axis of the lens and the lens group without increasing the complexity of the lens module mechanism. In order to achieve the object of the present invention, the present invention provides a method for adjusting a digital camera lens module, which comprises the steps of: providing a special object having the same ... and degrees at each point, and using a digital camera lens module to be adjusted. The specific object described above; setting a plurality of measurement points on the image sensor of the adjusted digital camera lens module, the measurement points including ~points and edge points in the image sensor 'the edge points being symmetric about the center of the center point; Measure the illuminance value of the above-mentioned set measurement point; compare and analyze the measured illuminance value to infer the tilt state of the image sensor; take corresponding measures to adjust the perpendicularity of the optical axis of the image sensor and the digital camera , the image sensing is perpendicular to the optical axis. Compared with the conventional digital camera lens module adjustment method, the method adopts an optical adjustment method, which does not increase the mechanism complexity of the lens module, and can be 1273343
精確的調整影像感測器與光軸之垂直度。 【實施方式】 彖 請參照第一圖與第二圖所示,本發明所提供之數位相 機鏡頭模組調整方法係指一種光學調整方法,主要應用之 光學原理係餘弦四次方定律,其係離軸光線(與光轴不平行 之光線)於焦平面上成像a,之照度與與透鏡組1〇光軸卯,平 行入射之光線於焦平面上成像P,之照度比率,係與離軸光 線與光轴PP’之夾角Θ餘弦之四次方成正比。因此,當物ap 之各點照度相同時,離軸光線於焦平面上成像點&,之照度 與沿光軸方向入射之入射光線於焦平面上成像點之照度比 為 cos4 Θ。 請參照第三圖所示,該調整方法之調整步驟如下: 第一步驟,提供一各點均具有相同照度之特定物體, 即該特定物體具有均勻照度,從而使得入射至透鏡組10之 光線具有相同照度。該物體可為位於同一水平面上之單色 測試板,亦可為一可發出均勻照度光線之光源。 第二步驟,使用欲進行調整之鏡頭模組拍攝上述之具 有均勻照度之特定物體,從而使得入射光線經透鏡組匯 聚至影像感測器20。影像感測器20將所接收到之光訊號轉 為電訊號。 請參照第四圖與第五圖所示,第三步驟,於所調整之 數位相機鏡頭模組之影像感測器20上設定A、B、C、D、Ο 五個測量點。其中〇點為影像感測器20之中心點,a、B、 CD為邊緣點,其位於該影像感測器20之邊緣四角上。該 1273343 一。 四點順序連線可構成一矩形,而〇點即為該矩形之對角線、 相交點,即該邊緣點A、B、C、D相對於0點中心對稱。可, 以理解,該測量點A、B、C、D可不局限於邊緣像點,只 需該測量點相對於0點中心對稱即可,從而可滿足入射至 該邊緣點之入射光線與光轴之夾角相同。 第四步驟,分別測量影像感測器20上A、B、C、D、0 五點之照度數值。因此該照度測量可直接通過相關儀器將 影像感測器20上指定測量點處之感光元件所感測到之照度 數值輸出。亦可將影像感測器20所拍攝之原始數據經由訊 號傳輸線,例如··通用串列匯流排(Universal Serial Bus, USB),傳入相關之電腦,以一定之圖片文件格式,例如: JPEG (JOINT PHOTOGRAPHIC EXPERT GROUPAP,聯合 圖像專家組)或TIFF(TAG IMAGE FILE FORMAT,標籤圖 像文件格式),將其顯示出來。再通過精密照度計直接測量 影像感測器20上指定測量點於圖像上相應之像點之照度, 亦可通過Photoshop等軟體取得相應像點之照度。 第五步驟,對所測量之A、B、C、D、Ο五點之照度數 值進行比較分析,根據比較分析之結果判斷影像感測器20 之傾斜狀況。 第六步驟,根據第五步驟判斷出之影像感測器20之傾 斜狀況,採取相應措施調整該影像感測器20,進而使其與 透鏡組10之光軸對正中心點Ο,且與影像感測器20垂直。 本實施方式中之比較分析方法係分別求出A、B、C、 D四點與0點之照度比,即A、B、C、D四點之相對照度, 1273343 其分別為%、%、7〇、%。由☆光軸經過〇·點,從而入 射至該點之入射光線與光軸夾角始終為〇,其照度始終最 強。若影像感測H2G與光㈣直’且透鏡之光軸正對影像 感測器20中心,則入射至A、B、C、D四點之入射光線與 光軸之夾角相同,由餘弦四次方定律,該四點之照度盥該 點之入射紐與光軸之夾角之余弦之四次方成比例降低, 進而推出(θ為影像感測器20與光 軸垂直時,人射至邊緣四點A、B、C、D之人射光線與光 軸之夾角)。若影像感測器20與光軸不垂I,則會引起入射 至A、B、C、D點之入射光線與光軸之夾角不同,從而相 對知度%、%、%、%之數值產生不同,由於影像减 測器2〇傾斜之方向與角度不同,各點相對照度之數值關係 亦不同’反之’則可根據各點相對照度之不同數值關係推 出該影像感測器20之傾斜之方向及角度。 以下將舉例說明計算影像感測器2〇之傾斜方向及角 度之方法,若影像感測器20與光軸垂直時,且透鏡之光軸 =對衫像感測器20中心,而各測量點之相對照度為 么=% = % = % = 0.6 時,即 C〇S〜 = 0.6,從而推出 θ = 28.344。。 該數值可通過視場角與焦距等關係得出,亦可由實驗測得。 令Θ!、02、θ3、04分別為A、b、c、d四點之入射 光線與光軸之夾角。 ^ 若測得相對照度(H〇.65)>(% = %e〇55),即入 射至A、B點之入射光線與光軸之夾角較小,則可推斷出赘 像感測器20之設定A、B測量點一側向遠離透鏡組1〇方向: 1273343 斜,即要採取相應措施將其向靠近透鏡組1〇一端旋轉。唼 餘弦四次方定理計算得卜θ2 = 26.116。,& $ =30.551。,從而 推出該影像感測器20之邊緣點A、Bit線形成之邊界向靠近 透鏡組10 —端旋轉1/2队—0 μ 2.218。。 若測得相對照ϋ0·6’ % = 〇.65, % = 0.55,則 可推斷出該影像感測器20之設定β測量點一角向遠離透鏡 組10—端傾斜,即要採取相應措施將其向靠近透鏡組忉一 端旋轉。經餘弦四次方定理計算得知θ2 = 26.116。, 么=3〇.551°,從而推出該影像感測器20設定Β測量點處向靠籲 近透鏡組10—端傾斜1/2(θ4 —Α) = 2·218。。 同理,其他傾斜狀況亦可根據上述理論及方法,推斷 其影像感測器20相對於光軸之傾斜方向及角度。另,此種 凡全依照餘弦四次方定律進行計算影像感測器2〇之傾斜角 度之方法,僅適用於沒有漸暈現象(投射到像面旁邊之光 線,沒有全部通過光圈直徑,為光圈前後之鏡片框所遮擋, 因而導致像面邊緣照度下降,該現象通過縮小光圈即可消 除)之鏡頭模組。 口十异出影像感測器20相對於光轴之傾斜方向及角度 後,即可採取相應之措施進行調整影像感測器2〇與光軸之 垂直度。 可以理解,亦可不計算影像感測器2〇之傾斜角度,而 僅通過比較邊緣各測量點相對照度之數值大小而推知其傾 斜方向’從而調整傾斜狀況之同時測量邊緣各测量點之相 對照度,直至其相對照度相等為止,亦可達到調整影像感 11 15 1273343 測器2〇使其與光㈣直之目I由於鏡頭之㈣現象亦且、 有關於像面中心、對稱之特性,因此該方法不受鏡現: 象之限制。 & 综上所述,本發明符合發明專利要件,麦依 ^申m所述者僅為本發明之較佳實施例 明之範圍並不以上述實施例為限,舉凡熟習本案技: 士援依本發明讀神所狀等效㈣或變化 = 以下申請專利範圍内。 …涵盍於 【圖式簡單說明】 第-圖係本發明之光線通過透鏡組之光路示 第二圖係本發明所應用之餘弦四次 二° 度相同時邊緣像點之照度隨人射光線與 四次方變化之示意圖。 心及角之餘弦 第二圖係本發明之鏡頭模組調整方法 第四圖係本發明之鏡頭模組調整方法 上設定測量點之示意圖。 、V像感測器 第五圖係本發明之光線經透 之測量點上之立體光路示意圖。4像感測上 【主要元件符號說明】 透鏡組 1 π 影像感測器 2〇 12Accurately adjust the verticality of the image sensor to the optical axis. [Embodiment] Referring to the first and second figures, the digital camera lens module adjustment method provided by the present invention refers to an optical adjustment method, and the optical principle of the main application is the cosine fourth power law, which is Off-axis light (light that is not parallel to the optical axis) is imaged a on the focal plane, and the illuminance is compared with the optical axis of the lens group 1 and the parallel incident light is imaged on the focal plane, and the illumination ratio is off-axis. The angle between the light and the optical axis PP' is proportional to the fourth power of the cosine. Therefore, when the illuminances of the points of the object ap are the same, the illuminance ratio of the off-axis ray on the focal plane and the illuminance of the incident ray incident on the focal plane in the direction of the optical axis is cos4 Θ. Referring to the third figure, the adjustment method of the adjustment method is as follows: The first step provides a specific object having the same illumination at each point, that is, the specific object has uniform illumination, so that the light incident on the lens group 10 has The same illuminance. The object can be a monochrome test board on the same horizontal plane or a light source that emits uniform illumination. In the second step, the specific lens having the uniform illumination is photographed by using the lens module to be adjusted, so that the incident light is concentrated to the image sensor 20 through the lens group. The image sensor 20 converts the received optical signal into an electrical signal. Referring to the fourth and fifth figures, in the third step, five measurement points A, B, C, D, and 设定 are set on the image sensor 20 of the adjusted digital camera lens module. The defect is the center point of the image sensor 20, and a, B, and CD are edge points, which are located at the four corners of the edge of the image sensor 20. The 1273343 one. The four-point sequential connection can form a rectangle, and the defect point is the diagonal line and the intersection point of the rectangle, that is, the edge points A, B, C, and D are symmetric with respect to the center of the zero point. It can be understood that the measurement points A, B, C, and D are not limited to the edge image point, and the measurement point only needs to be symmetric with respect to the center of the 0 point, so that the incident light and the optical axis incident to the edge point can be satisfied. The angle is the same. In the fourth step, the illuminance values of five points A, B, C, D, and 0 on the image sensor 20 are respectively measured. Therefore, the illuminance measurement can directly output the illuminance value sensed by the photosensitive element at the specified measurement point on the image sensor 20 through the associated instrument. The original data captured by the image sensor 20 can also be transmitted to a related computer via a signal transmission line, such as a Universal Serial Bus (USB), in a certain image file format, for example: JPEG ( JOINT PHOTOGRAPHIC EXPERT GROUPAP, or TIFF (TAG IMAGE FILE FORMAT), displays it. Then, the illuminance of the corresponding image point on the image on the image sensor 20 can be directly measured by the precision illuminance meter, and the illuminance of the corresponding image point can also be obtained by using software such as Photoshop. In the fifth step, the measured illuminance values of the five points A, B, C, D, and Ο are compared and analyzed, and the tilt state of the image sensor 20 is judged based on the result of the comparative analysis. In the sixth step, according to the tilting condition of the image sensor 20 determined in the fifth step, corresponding measures are taken to adjust the image sensor 20 to be aligned with the optical axis of the lens group 10, and the image is The sensor 20 is vertical. The comparative analysis method in the present embodiment respectively obtains the illuminance ratios of the four points A, B, C, and D, that is, the relative illuminances of the four points A, B, C, and D, and 1273343 are respectively %, %, 7〇, %. The ☆ optical axis passes through the 〇· point, so that the angle between the incident ray and the optical axis that is incident at this point is always 〇, and the illuminance is always the strongest. If the image senses H2G and light (four) straight' and the optical axis of the lens is opposite to the center of the image sensor 20, the incident light rays incident on the four points A, B, C, and D are the same angle as the optical axis, and the cosine is four times. According to the square law, the illuminance of the four points is proportional to the fourth power of the cosine of the angle between the incident and the optical axis of the point, and is further pushed out (θ is the image sensor 20 perpendicular to the optical axis, the person shoots to the edge four The angle between the light of the person at points A, B, C, and D and the optical axis). If the image sensor 20 and the optical axis are not perpendicular to I, the angle between the incident light incident on the points A, B, C, and D and the optical axis is different, so that the relative value of %, %, %, and % is generated. Differently, since the direction and angle of the tilt of the image sniffer 2 不同 are different, the numerical relationship of the contrasts of the points is different. The other way, the direction of the tilt of the image sensor 20 can be derived according to different numerical relationships of the contrasts of the points. And angle. Hereinafter, a method of calculating the tilt direction and the angle of the image sensor 2 will be exemplified. When the image sensor 20 is perpendicular to the optical axis, and the optical axis of the lens is the center of the pair of the image sensor 20, each measurement point When the contrast is ?=% = % = % = 0.6, that is, C〇S~ = 0.6, so that θ = 28.344 is pushed out. . This value can be obtained by the relationship between the angle of view and the focal length, or can be measured experimentally. Let Θ!, 02, θ3, and 04 be the angles between the incident light and the optical axis of the four points A, b, c, and d, respectively. ^ If the relative contrast (H〇.65)> (% = %e〇55) is measured, that is, the angle between the incident ray incident on points A and B and the optical axis is small, the anamorphic sensor can be inferred. 20 setting A, B measurement point side away from the lens group 1 〇 direction: 1273343 slant, that is, take appropriate measures to rotate it toward the end of the lens group 1 〇.唼 The cosine fourth power theorem is calculated as θ2 = 26.116. , & $ =30.551. Thus, the edge point A of the image sensor 20 and the boundary formed by the bit line are rotated toward the end of the lens group 10 by 1/2 team - 0 μ 2.218. . If the measured ϋ0·6' % = 〇.65, % = 0.55, it can be inferred that the angle of the set β measurement point of the image sensor 20 is inclined away from the end of the lens group 10, that is, corresponding measures will be taken It rotates toward the end of the lens group 忉. It is calculated from the cosine fourth power theorem that θ2 = 26.116. , ??? = 3 〇 551 °, so that the image sensor 20 is set to Β the measurement point is inclined 1/2 (θ4 - Α) = 2 · 218 toward the close-up lens group 10 - end. . Similarly, other tilting conditions can also infer the tilting direction and angle of the image sensor 20 with respect to the optical axis according to the above theory and method. In addition, the method of calculating the tilt angle of the image sensor 2 according to the cosine fourth power law is only applicable to the case where there is no vignetting (the light projected to the side of the image plane, not all passing the aperture diameter, the aperture The lens module is blocked by the front and rear lens frames, which causes the image surface edge to decrease, which can be eliminated by reducing the aperture. After the tilting direction and angle of the image sensor 20 with respect to the optical axis, the corresponding measures can be taken to adjust the perpendicularity of the image sensor 2 to the optical axis. It can be understood that the tilt angle of the image sensor 2〇 may not be calculated, and only the angle of the contrast of each measurement point of the edge is compared to infer the tilt direction thereof, thereby adjusting the tilt state and measuring the contrast degree of each measurement point of the edge. Until the contrast is equal, it is also possible to adjust the image sense 11 15 1273343 Detector 2 〇 to make it light (4) straight to the eye I due to the lens (four) phenomenon, and related to the image plane center, symmetry characteristics, so the method is not Being mirrored: The limitation of the elephant. In summary, the present invention is in accordance with the requirements of the invention patent, and the scope of the preferred embodiment of the present invention is not limited to the above embodiments, and is familiar to the present invention: The equivalent of (4) or variation of the present invention is within the scope of the following patent application.盍 【 简单 简单 简单 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本Schematic diagram of changes with the fourth power. The cosine of the heart and the angle The second figure is the lens module adjusting method of the present invention. The fourth figure is a schematic diagram of setting the measuring point on the lens module adjusting method of the present invention. V-image sensor The fifth figure is a schematic diagram of the three-dimensional optical path at the measuring point of the light passing through the present invention. 4 Image sensing [Main component symbol description] Lens group 1 π image sensor 2〇 12