TWI898414B - Correction method of lens testing station - Google Patents
Correction method of lens testing stationInfo
- Publication number
- TWI898414B TWI898414B TW113103730A TW113103730A TWI898414B TW I898414 B TWI898414 B TW I898414B TW 113103730 A TW113103730 A TW 113103730A TW 113103730 A TW113103730 A TW 113103730A TW I898414 B TWI898414 B TW I898414B
- Authority
- TW
- Taiwan
- Prior art keywords
- lens
- control unit
- calibration
- test station
- image
- Prior art date
Links
Landscapes
- Testing Of Optical Devices Or Fibers (AREA)
- Eyeglasses (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
Description
本案內容有關一種鏡頭測試工站,特別是一種能對自身的設置變化進行修正的鏡頭測試工站的校正方法。 This case concerns a lens test station, and more particularly, a calibration method for a lens test station capable of correcting for variations in its own settings.
目前在工廠的產線上對鏡頭類產品的品質要求嚴格,每個欲出廠的鏡頭都需要達到高精準度且低誤差容忍度的條件,使得對鏡頭進行測試的鏡頭測試工站必須是個環境穩定且測試可靠度高的平台。 Currently, factories have strict quality requirements for lens products on their production lines. Every lens that leaves the factory must meet high precision and low error tolerance requirements. This requires that the lens testing station used for lens testing must be a platform with a stable environment and high test reliability.
如第一圖所示,鏡頭測試工站100包含:一基座10、一鏡頭致動器總成20、一鏡頭固定座30、一影像擷取單元40、一目標致動器總成50以及一控制單元(圖未示)。透過可控制的鏡頭致動器總成20以及目標致動器總成50使所述鏡頭測試工站100可以測試各種不同規格的鏡頭而不需要反覆修改鏡頭測試工站100的結構。然而所述鏡頭測試工站100經過長時間的運作後,所述鏡頭致動器總成20、所述目標致動器總成50或者是鏡頭固定座30 等元件會因伺服馬達運行偏差或機構本身耗損而產生誤差,在現有的做法中必須量測各個伺服馬達的轉動誤差量並一一修改所有伺服馬達的驅動參數才能確保鏡頭測試工站所得的測試結果正確。然而產線上的鏡頭測試工站100通常一週就必需被校正一次,每次對鏡頭測試工站100進行手動校正都需要耗費大量時間,因而造成工廠作業的效率不佳。 As shown in FIG1 , the lens test station 100 comprises a base 10, a lens actuator assembly 20, a lens mount 30, an image capture unit 40, a target actuator assembly 50, and a control unit (not shown). The controllable lens actuator assembly 20 and target actuator assembly 50 enable the lens test station 100 to test lenses of various specifications without requiring repeated structural modifications. However, after prolonged operation, the lens test station 100 may experience errors in components such as the lens actuator assembly 20, the target actuator assembly 50, or the lens mount 30 due to servo motor operational deviations or wear and tear. Conventional methods require measuring the rotational errors of each servo motor and adjusting the drive parameters of each servo motor individually to ensure accurate test results. However, the lens test station 100 on the production line typically requires weekly calibration. Each manual calibration of the lens test station 100 is time-consuming, resulting in low factory operation efficiency.
因此,有必要提供一種鏡頭測試工站100的校正方法,能藉由快速自我校正鏡頭測試工站100的設置變化以減少校正作業進行的時間,並提升工廠作業的效率。 Therefore, it is necessary to provide a calibration method for the lens test station 100 that can quickly self-calibrate the lens test station 100's configuration changes to reduce calibration time and improve factory operation efficiency.
本發明內容的目的是提供一種鏡頭測試工站的校正方法,所述鏡頭測試工站包含:所述鏡頭測試工站包含:一基座;一控制單元,設有一儲存媒體與一使用者介面,所述儲存媒體儲存有一預設拍攝次數以及一原始中心座標;一鏡頭致動器總成,固定於所述基座上且電性連接所述控制單元;一目標致動器總成,設置於所述基座一側並電性連接所述控制單元,且所述目標致動器總成設有一測試圖像;一鏡頭固定座,設置於所述鏡頭致動器總成上;以及一影像擷取單元,設置於所述鏡頭固定座上並電性連接所述控制單元,且位於一校正用鏡頭的光軸上以通過所述校正用鏡頭擷取影像,且所述鏡頭測試工站的校正方法 包含以下步驟:(S20)經由所述控制單元依照一預設的數據控制所述鏡頭致動器總成以及所述目標致動器總成,使所述校正用鏡頭對準所述測試圖像,並將一校正影像拍攝次數歸零,接著執行步驟S21;(S21)經由所述校正用鏡頭與所述影像擷取單元拍攝所述測試圖像,經由所述影像擷取單元擷取所述校正影像,並傳送至所述控制單元,接著執行步驟S22;(S22)經由所述控制單元計算所述校正影像的一中心座標,並計算所述中心座標對所述原始中心座標的一偏移量並將所述偏移量儲存於所述儲存媒體,接著所述控制單元將所述校正影像拍攝次數累計加一並執行步驟S23;(S23)經由所述控制單元比對所述校正影像拍攝次數是否小於所述預設拍攝次數,當所述校正影像拍攝次數小於所述預設拍攝次數時執行步驟S21,當所述校正影像拍攝次數等於所述預設拍攝次數時執行步驟S31;(S31)經由所述控制單元計算所有已儲存的所述偏移量以取得一平均偏移量,再將所述原始中心座標加上所述平均偏移量以取得一校正後原始中心座標並儲存於所述儲存媒體,接著當所述鏡頭測試工站測試一待檢測鏡頭時,所述控制單元以所述校正後原始中心座標取代所述原始中心座標進行所述鏡頭測試工站的測試。 The purpose of the present invention is to provide a calibration method for a lens test station, wherein the lens test station comprises: a base; a control unit having a storage medium and a user interface, wherein the storage medium stores a preset number of shots and an original center coordinate; a lens actuator assembly fixed to the base and electrically connected to the control unit; a target actuator assembly disposed on one side of the base and electrically connected to the control unit, wherein the target actuator assembly is provided with a test image; and a lens fixing seat disposed on the lens actuator assembly. and an image capture unit disposed on the lens mount and electrically connected to the control unit, and located on the optical axis of a calibration lens to capture an image through the calibration lens. The calibration method of the lens test station includes the following steps: (S20) the control unit controls the lens actuator assembly and the target actuator assembly according to preset data to align the calibration lens with the test image and reset the number of calibration image captures to zero, followed by step S21; (S21) the calibration lens and the image capture unit capture a calibration image. The test image is captured, the correction image is captured by the image capture unit and transmitted to the control unit, and then step S22 is executed; (S22) the control unit calculates a center coordinate of the correction image, and calculates an offset of the center coordinate to the original center coordinate and stores the offset in the storage medium, and then the control unit adds the number of times the correction image is shot and executes step S23; (S23) the control unit compares whether the number of times the correction image is shot is less than the preset number of times, and when the correction image is shot, the correction image is shot. When the number of shots is less than the preset number of shots, step S21 is executed. When the number of shots of the calibrated image is equal to the preset number of shots, step S31 is executed. (S31) The control unit calculates all stored offsets to obtain an average offset, then adds the average offset to the original center coordinate to obtain a calibrated original center coordinate and stores it in the storage medium. Then, when the lens test station tests a lens to be tested, the control unit replaces the original center coordinate with the calibrated original center coordinate to perform the test at the lens test station.
在一些實施例中,所述原始中心座標由所述控制單元於所述鏡頭測試工站初建立時計算多個所述校正用鏡頭所產生的影像之中心點所得。 In some embodiments, the original center coordinates are obtained by the control unit calculating the center points of the images generated by the plurality of calibration lenses when the lens testing station is initially established.
在一些實施例中,所述校正用鏡頭為經過檢驗並且組裝完全正確的鏡頭。 In some embodiments, the correction lens is a lens that has been inspected and assembled completely correctly.
在一些實施例中,所述儲存媒體更存有一預設警示次數,且所述鏡頭測試工站的校正方法進一步包含一定期校正步驟,所述定期校正步驟包含:經由所述控制單元紀錄所述鏡頭測試工站的一累積測試次數,並於所述累積測試次數達到所述預設警示次數時於所述使用者介面顯示詢問是否同意校正所述鏡頭測試工站的一警示訊息,並等候一使用者輸入。 In some embodiments, the storage medium further stores a preset warning count, and the lens test station calibration method further includes a periodic calibration step. The periodic calibration step includes: recording a cumulative test count of the lens test station via the control unit, and when the cumulative test count reaches the preset warning count, displaying a warning message on the user interface asking whether to agree to calibrate the lens test station, and waiting for a user input.
在一些實施例中,所述累積測試次數初始值為零,所述控制單元於所述鏡頭測試工站完整運行一次鏡頭測試時將所述累積測試次數累計加一。 In some embodiments, the initial value of the accumulated test times is zero, and the control unit adds one to the accumulated test times when the lens test station completes a lens test.
在一些實施例中,當所述控制單元接收到同意校正所述鏡頭測試工站所屬的所述使用者輸入時,校正所述鏡頭測試工站,並將所述鏡頭測試工站的所述累積測試次數歸零。 In some embodiments, when the control unit receives the user input agreeing to calibrate the lens test station, it calibrates the lens test station and resets the accumulated test count of the lens test station to zero.
在一些實施例中,所述鏡頭致動器總成包含一第一線性滑軌,平行於所述基座上表面;一第二線性滑軌,連接於所述第一線性滑軌的滑塊且所述第二線性滑軌的軌道垂直於所述第一線性滑軌的軌道;一第一轉盤,連接於所述第二線性滑軌的滑塊且所述第一轉盤的轉動軸垂直於所述基座上表面;以及一第二轉盤,連接於所述第一轉盤的盤面且所述第二轉盤的轉動軸垂直於所述第一轉盤的轉動 軸,其中所述第一線性滑軌、所述第二線性滑軌、所述第一轉盤與所述第二轉盤均由伺服馬達驅動,以使所述鏡頭固定座能夠依指示轉動指定的方向。 In some embodiments, the lens actuator assembly includes a first linear slide parallel to the upper surface of the base; a second linear slide connected to a slider of the first linear slide, with the track of the second linear slide perpendicular to the track of the first linear slide; a first turntable connected to the slider of the second linear slide, with the rotation axis of the first turntable perpendicular to the upper surface of the base; and a second turntable connected to the disk of the first turntable, with the rotation axis of the second turntable perpendicular to the rotation axis of the first turntable. The first linear slide, the second linear slide, the first turntable, and the second turntable are all driven by a servo motor to enable the lens mount to rotate in a specified direction as instructed.
在一些實施例中,所述目標致動器總成包含一第三線性滑軌以及一設置於所述第三線性滑軌滑塊的第三轉盤,所述第三線性滑軌與所述第三轉盤均由伺服馬達驅動,以調整所述測試圖像與所述鏡頭固定座之間的距離及相對角度。 In some embodiments, the target actuator assembly includes a third linear slide and a third turntable mounted on a slider of the third linear slide. The third linear slide and the third turntable are both driven by a servo motor to adjust the distance and relative angle between the test image and the lens mount.
承上所述,本案的用於鏡頭測試工站的校正方法通過所述控制單元將多次拍攝所取得的偏移量進行平均,並將平均偏移量寫入以取得經校正的原始中心座標,再以經校正的原始中心座標對鏡頭進行測試,如此可以減少校正作業進行時間,同時提升校正後鏡頭測試工站的精確度與可靠度,更提升工廠作業流程的效率。 As described above, the calibration method for a lens test station in this case uses the control unit to average the offset values obtained from multiple shots and write the average offset value to obtain the calibrated original center coordinates. The lens is then tested using these calibrated original center coordinates. This reduces calibration time, improves the accuracy and reliability of the calibrated lens test station, and enhances factory workflow efficiency.
100:鏡頭測試工站 100: Lens testing station
10:基座 10: Base
20:鏡頭致動器總成 20: Lens actuator assembly
21:第一線性滑軌 21: First linear slide rail
22:第二線性滑軌 22: Second linear slide rail
23:第一轉盤 23: First turntable
24:第二轉盤 24: Second turntable
30:鏡頭固定座 30: Lens mount
40:影像擷取單元 40: Image capture unit
50:目標致動器總成 50: Target actuator assembly
51:第三線性滑軌 51: Third linear slide rail
52:第三轉盤 52: Third Turntable
60:測試圖像 60: Test image
60’:待檢測影像 60’: Image to be tested
70:待檢測鏡頭 70: Lens to be tested
72:標準影像 72: Standard Image
73:校正影像 73: Image Correction
72a,73a:中心座標 72a,73a: Center coordinates
80:控制單元 80: Control unit
S10,S11,S12,S12’,S13,S14:步驟 S10, S11, S12, S12’, S13, S14: Steps
S20’,S20,S21,S22,S23,S31:步驟 S20’, S20, S21, S22, S23, S31: Steps
S40,S41,S41’,S42,S43:步驟 S40, S41, S41’, S42, S43: Steps
為讓本發明之上述和其他目的、特徵、優點與實施例能更明顯易懂,結合附圖閱讀時可以更好地理解本案內容。 To make the above and other objects, features, advantages and embodiments of the present invention more clearly understood, the present invention can be better understood by reading it in conjunction with the accompanying drawings.
第一圖是習知的鏡頭測試工站的一架構圖。 The first picture shows the structure of Xizhi's lens testing station.
第一A圖是本發明的鏡頭測試工站的一架構圖。 Figure 1A is a schematic diagram of the lens testing station of the present invention.
第一B圖是本發明的鏡頭測試工站的待檢測鏡頭所拍攝的 影像。 Figure 1B shows an image captured by the lens under test at the lens testing station of the present invention.
第二圖是本發明實施例中鏡頭測試工站進行測試的一流程圖。 The second figure is a flow chart of the lens testing station in an embodiment of the present invention.
第三圖是本發明實施例中對鏡頭測試工站進行校正的一流程圖。 Figure 3 is a flow chart of calibrating a lens testing station in an embodiment of the present invention.
第四A圖是本發明實施例中對鏡頭測試工站進行校正時所拍攝的理想影像示意圖。 Figure 4A is a schematic diagram of an ideal image captured during calibration of a lens testing station in an embodiment of the present invention.
第四B圖是本發明實施例中對鏡頭測試工站進行校正時所拍攝的影像示意圖。 Figure 4B is a schematic diagram of an image captured during calibration of a lens testing station in an embodiment of the present invention.
第五圖是本發明實施例中對鏡頭測試工站觸發定期校正的一流程圖。 Figure 5 is a flow chart for triggering periodic calibration of a lens testing station in an embodiment of the present invention.
為詳細說明本發明鏡頭測試工站的校正方法的技術內容、構造特徵、所達成的目的及功效,以下茲例舉實施例並配合圖式詳予說明。為了方便說明,在本專利說明書中所稱的上方定義為面對圖式的方向上較高的位置,下方定義為面對圖式的方向上較低的位置,左方定義為面對圖式的方向上左手邊的位置,右方定義為面對圖式的方向上右手邊的位置。 To illustrate in detail the technical content, structural features, objectives, and effectiveness of the calibration method for the lens test station of the present invention, the following examples are given with accompanying drawings for detailed explanation. For ease of explanation, in this patent specification, "upper" is defined as a higher position in the direction facing the drawings, "lower" is defined as a lower position in the direction facing the drawings, "left" is defined as the left-hand side in the direction facing the drawings, and "right" is defined as the right-hand side in the direction facing the drawings.
請參閱第一A圖所示,本發明公開一種鏡頭測試 工站的校正方法。鏡頭測試工站100被設置以對待檢測鏡頭70進行測試,並包含:一基座10、一固定於所述基座10上的鏡頭致動器總成20、一設置於所述鏡頭致動器總成20上的鏡頭固定座30、一設置於所述鏡頭固定座30上的影像擷取單元40、一設置於所述基座10一側的目標致動器總成50、設置於所述目標致動器總成50上的一測試圖像60以及一控制單元80。 Referring to FIG. 1A , the present invention discloses a calibration method for a lens test station. The lens test station 100 is configured to test a lens 70 to be inspected and comprises: a base 10, a lens actuator assembly 20 secured to the base 10, a lens mounting base 30 mounted on the lens actuator assembly 20, an image capture unit 40 mounted on the lens mounting base 30, a target actuator assembly 50 mounted on one side of the base 10, a test image 60 mounted on the target actuator assembly 50, and a control unit 80.
在此一實施例中,所述鏡頭致動器總成20包含了軌道平行於所述基座10上表面的第一線性滑軌21、連接於所述第一線性滑軌21的滑塊的第二線性滑軌22、連接於所述第二線性滑軌22的滑塊的第一轉盤23以及連接於所述第一轉盤23的盤面的第二轉盤24。所述第一線性滑軌21的軌道垂直於所述第二線性滑軌22的軌道,並且所述第一線性滑軌21的軌道被設置為左右向,所述第二線性滑軌22的軌道被設置為前後向。所述第一轉盤23的轉動軸垂直於所述基座10上表面,所述第二轉盤24的轉動軸垂直於所述第一轉盤23的轉動軸,並所述第二轉盤24的轉動軸平行於所述第一線性滑軌21的軌道,且所述第一線性滑軌21、所述第二線性滑軌22、所述第一轉盤23與所述第二轉盤24皆由伺服馬達驅動,進而使所述鏡頭固定座30能夠依指示而對準指定的方向。 In this embodiment, the lens actuator assembly 20 includes a first linear rail 21 whose track is parallel to the upper surface of the base 10, a second linear rail 22 with a slider connected to the first linear rail 21, a first turntable 23 with a slider connected to the second linear rail 22, and a second turntable 24 connected to the disk surface of the first turntable 23. The track of the first linear rail 21 is perpendicular to the track of the second linear rail 22, and the first linear rail 21 is set to the left and right direction, while the track of the second linear rail 22 is set to the front and back direction. The rotation axis of the first turntable 23 is perpendicular to the upper surface of the base 10, the rotation axis of the second turntable 24 is perpendicular to the rotation axis of the first turntable 23, and the rotation axis of the second turntable 24 is parallel to the track of the first linear slide 21. The first linear slide 21, the second linear slide 22, the first turntable 23, and the second turntable 24 are all driven by a servo motor, thereby enabling the lens mount 30 to align in a specified direction as instructed.
所述鏡頭固定座30設置於所述鏡頭致動器總成20上以在所述鏡頭致動器總成20的驅動下依指示對準指 定的方向並用於固定所述待檢測鏡頭70。本實施例中,當所述第一線性滑軌21的滑塊滑動時,連帶使所述鏡頭固定座30向左或向右移動,當所述第二線性滑軌22的滑塊移動時,連帶使所述鏡頭固定座30向前或向後移動,當所述第一轉盤23的盤面轉動時,連帶使所述鏡頭固定座30向上或向下移動,當所述第二轉盤24的盤面轉動時,連帶使所述鏡頭固定座30向左或向右微幅移動。而所述影像擷取單元40設置於所述鏡頭固定座30上且位於所述待檢測鏡頭70的光軸上以通過所述待檢測鏡頭70擷取影像。 The lens mount 30 is mounted on the lens actuator assembly 20 and, when driven by the lens actuator assembly 20, is aligned in a specified direction according to instructions and is used to secure the lens 70 to be inspected. In this embodiment, when the slider of the first linear rail 21 slides, the lens mount 30 moves left or right. When the slider of the second linear rail 22 moves, the lens mount 30 moves forward or backward. When the first turntable 23 rotates, the lens mount 30 moves upward or downward. When the second turntable 24 rotates, the lens mount 30 moves slightly left or right. The image capture unit 40 is mounted on the lens mount 30 and is located on the optical axis of the lens to be inspected 70 to capture images through the lens to be inspected 70.
所述目標致動器總成50則包含了一第三線性滑軌51以及一設置於所述第三線性滑軌51的滑塊的一第三轉盤52。所述第三線性滑軌51的軌道被設置為左右向,所述第三線性滑軌51的軌道、所述第三轉盤52的轉動軸與所述第一線性滑軌21的軌道三者平行,且所述第三線性滑軌51與所述第三轉盤52皆由伺服馬達驅動,所述第三線性滑軌51的滑塊移動驅使所述測試圖像60遠離或靠近所述鏡頭固定座30,並且所述第三轉盤52的盤面轉動驅使所述測試圖像60微幅遠離或靠近所述鏡頭固定座30,進而調整所述測試圖像60與所述鏡頭固定座30之間的相對距離及相對角度。 The target actuator assembly 50 includes a third linear slide rail 51 and a third rotary plate 52 disposed on the slider of the third linear slide rail 51. The third linear rail 51 is oriented horizontally. The rails of the third linear rail 51, the rotating axis of the third turntable 52, and the rails of the first linear rail 21 are all parallel. Both the third linear rail 51 and the third turntable 52 are driven by servo motors. The slider of the third linear rail 51 moves the test image 60 away from or closer to the lens mount 30, and the rotation of the third turntable 52 slightly moves the test image 60 away from or closer to the lens mount 30, thereby adjusting the relative distance and angle between the test image 60 and the lens mount 30.
再請參閱第一A圖,所述控制單元80與所述鏡頭致動器總成20、所述目標致動器總成50電性相連以控制所述鏡頭致動器總成20與所述目標致動器總成50中各個 伺服馬達的運作。且所述控制單元80與所述影像擷取單元40電性相連以接收由所述影像擷取單元40擷取的檢驗影像並計算所述待檢測鏡頭70的組裝誤差。 Referring again to FIG. 1A, the control unit 80 is electrically connected to the lens actuator assembly 20 and the target actuator assembly 50 to control the operation of the servo motors in the lens actuator assembly 20 and the target actuator assembly 50. Furthermore, the control unit 80 is electrically connected to the image capture unit 40 to receive inspection images captured by the image capture unit 40 and calculate the assembly error of the lens 70 to be inspected.
現請參閱第一A圖至第二圖,所述鏡頭測試工站100的測試方法包括以下步驟: Referring now to Figures 1A to 2, the testing method of the lens testing station 100 includes the following steps:
S10:經由所述控制單元80控制並驅動所述鏡頭致動器總成20與所述目標致動器總成50,以使所述待檢測鏡頭70對準所述測試圖像60。 S10: The control unit 80 controls and drives the lens actuator assembly 20 and the target actuator assembly 50 to align the lens 70 to be tested with the test image 60.
S11:經由所述影像擷取單元40與所述待檢測鏡頭70拍攝所述測試圖像60以擷取至少一張透過所述待檢測鏡頭70所產生的一待檢測影像60’,並傳送至所述控制單元80中。所述待檢測影像60’是所述待檢測鏡頭70可視範圍的成像。 S11: The image capture unit 40 and the test lens 70 capture the test image 60 to capture at least one test image 60' generated by the test lens 70 and transmit it to the control unit 80. The test image 60' is an image within the visual range of the test lens 70.
S12:經由所述控制單元80接收所述待檢測影像60’後,計算在所述待檢測影像60’的中心座標與一原始中心座標的差值。所述待檢測影像60’的中心座標為所述待檢測影像60’中兩個黑色方塊的交會點之座標。在此實施例中,所述原始中心座標是由所述控制單元80於所述鏡頭測試工站100初建立時計算多個固定於所述鏡頭固定座30的校正用鏡頭(圖未示)所產生的影像之中心點所得,其中校正用鏡頭是一個經過檢驗並組裝正確且幾乎無誤差的鏡頭。 S12: After receiving the image to be inspected 60', the control unit 80 calculates the difference between the center coordinates of the image to be inspected 60' and an original center coordinate. The center coordinates of the image to be inspected 60' are the coordinates of the intersection of two black squares in the image to be inspected 60'. In this embodiment, the original center coordinates are calculated by the control unit 80 during the initial establishment of the lens testing station 100 by calculating the center points of images generated by multiple calibration lenses (not shown) fixed to the lens mount 30. The calibration lens is a lens that has been inspected and assembled correctly with virtually no errors.
S12’:經由所述控制單元80判斷所述差值是否超過一閾值。在實作中,所述閾值為22.6像素(pixel)。 S12': The control unit 80 determines whether the difference exceeds a threshold. In practice, the threshold is 22.6 pixels.
S13:若所述差值超過22.6像素時,經由所述控制單元80判定所述待檢測鏡頭70未通過測試。 S13: If the difference exceeds 22.6 pixels, the control unit 80 determines that the lens 70 to be tested has failed the test.
S14:若所述差值不超過22.6像素時,經由所述控制單元80判定所述待檢測鏡頭70通過測試。 S14: If the difference does not exceed 22.6 pixels, the control unit 80 determines that the lens 70 to be tested has passed the test.
如第四A圖所示,由於所述校正用鏡頭是一個經過檢驗,組裝正確且幾乎無誤差的鏡頭,因此當所述鏡頭測試工站100在設置正確無誤差的狀態下,在通過所述校正用鏡頭所拍攝到的一標準影像72中無任何誤差,即所述標準影像72的中心座標跟所述測試圖像60的中心座標完全重合。因此,所述標準影像72的中心座標72a即定義為所述中心座標。 As shown in FIG4A , since the calibration lens is a verified, correctly assembled, and nearly error-free lens, when the lens testing station 100 is correctly configured, a standard image 72 captured by the calibration lens contains no errors. In other words, the center coordinates of the standard image 72 completely coincide with the center coordinates of the test image 60. Therefore, the center coordinates 72a of the standard image 72 are defined as the center coordinates.
再請參閱第一A圖以及第三圖至第四B圖,本發明的所述鏡頭測試工站100的校正方法包括以下步驟: Referring again to Figures 1A and 3 to 4B, the calibration method for the lens testing station 100 of the present invention includes the following steps:
S20’:經由操作者將所述校正用鏡頭(圖未示)裝設於所述鏡頭固定座30。 S20': The operator installs the correction lens (not shown) on the lens fixing base 30.
S20:經由所述控制單元80依照預設的數據控制所述鏡頭致動器總成20以及所述目標致動器總成50,使所述校正用鏡頭對準所述測試圖像60,將一校正影像拍攝次數歸零,接著執行步驟S21。 S20: The control unit 80 controls the lens actuator assembly 20 and the target actuator assembly 50 according to preset data, aligning the calibration lens with the test image 60 and returning the calibration image capture count to zero. The process then proceeds to step S21.
S21:經由所述校正用鏡頭與所述影像擷取單元 40拍攝所述測試圖像60,經由所述影像擷取單元40擷取所述校正影像73並傳送至所述控制單元80,接著執行步驟S22。 S21: The test image 60 is captured by the calibration lens and the image capture unit 40. The calibration image 73 is captured by the image capture unit 40 and transmitted to the control unit 80. Then, step S22 is executed.
S22:經由所述控制單元80計算出於所述校正影像73的一中心座標73a,並計算所述中心座標73a對所述原始中心座標72a的一偏移量,接著所述控制單元80將所述偏移量儲存於所述控制單元80可存取的一儲存媒體,接著所述控制單元80將所述校正影像拍攝次數累計加一並執行步驟S23。 S22: The control unit 80 calculates a center coordinate 73a of the corrected image 73 and an offset of the center coordinate 73a from the original center coordinate 72a. The control unit 80 then stores the offset in a storage medium accessible to the control unit 80. The control unit 80 then adds one to the number of times the corrected image was captured and executes step S23.
S23:經由所述控制單元80比對所述校正影像拍攝次數是否小於一預設拍攝次數,當所述校正影像拍攝次數小於所述預設拍攝次數時執行步驟S21,當所述校正影像拍攝次數等於所述預設拍攝次數時執行步驟S31。所述校正影像拍攝次數為所述影像擷取單元40通過所述校正用鏡頭對所述測試圖像60進行拍攝的次數。在實作時,所述預設拍攝次數的值被設置為15。 S23: The control unit 80 compares the number of calibration image captures to see if it is less than a preset number. If so, step S21 is executed; if so, step S31 is executed. The calibration image capture number is the number of times the image capture unit 40 captures the test image 60 using the calibration lens. In practice, the preset number of captures is set to 15.
如第四A圖及第四B圖所示,在所述鏡頭測試工站100設置正確無誤差的狀態下所得的所述標準影像72裡,所述標準影像72的中心座標72a與所述待檢測影像60’的圖像中心座標接近完全重合,即所述原始中心座標與所述待檢測影像60’中心座標幾乎不存在偏移量,然而在所述鏡頭測試工站100長時間進行測試下所述鏡頭致動器總成20會有運行誤差、所述鏡頭固定座30本身會耗損, 即所述鏡頭測試工站100設置有誤差,造成所述校正影像73裡所述中心座標73a偏離所述標準影像72的中心座標72a,即所述原始中心座標與所述校正影像73的中心座標73a存在偏移量。 As shown in Figures 4A and 4B, in the standard image 72 obtained when the lens test station 100 is correctly configured, the center coordinate 72a of the standard image 72 is nearly completely aligned with the center coordinate of the image to be inspected 60'. This means that there is almost no offset between the original center coordinate and the center coordinate of the image to be inspected 60'. However, when the lens test station 100 is used for a long period of time, the lens actuator assembly 20 may experience operational errors, and the lens mount 30 may wear out. This indicates that there is an error in the configuration of the lens test station 100, causing the center coordinate 73a of the calibrated image 73 to deviate from the center coordinate 72a of the standard image 72. This means that there is an offset between the original center coordinate and the center coordinate 73a of the calibrated image 73.
S31:所述控制單元80計算所有已儲存的所述偏移量之平均,再將所述原始中心座標加上所述平均偏移量以取得一校正後的原始中心座標並儲存於所述儲存媒體。接著,當所述鏡頭測試工站100再次測試所述待檢測鏡頭70時,所述控制單元80以校正後所述原始中心座標作為判斷所述待檢測鏡頭70是否通過所述測試的指標。 S31: The control unit 80 calculates the average of all stored offsets, then adds the average offset to the original center coordinate to obtain a corrected original center coordinate, which is stored in the storage medium. Next, when the lens testing station 100 retests the lens 70 to be tested, the control unit 80 uses the corrected original center coordinate as an indicator to determine whether the lens 70 to be tested has passed the test.
與習知的校正方法相比較下,本發明所揭示的校正方法無須一一求出各個伺服馬達的誤差,也不必一一調整各個伺服馬達的驅動參數。而是直接求出鏡頭致動器總成與目標致動器總成兩者相加的最終誤差值後直接以軟體修正的方式直接修改原始中心的座標數據。因此遠較習知的校正方法快速。 Compared to conventional calibration methods, the calibration method disclosed herein does not require calculating the errors of each servo motor individually, nor does it require adjusting the drive parameters of each servo motor. Instead, the final error value of the lens actuator assembly and the target actuator assembly is directly calculated, and then the coordinate data of the original center is directly modified using software correction. Therefore, it is much faster than conventional calibration methods.
再請參閱第一A圖以及第五圖,本發明中的所述校正方法進一步包含一定期校正步驟,以保持所述鏡頭測試工站100的設置正確。所述定期校正步驟包括: Referring again to Figures 1A and 5, the calibration method of the present invention further includes a periodic calibration step to maintain the correct configuration of the lens testing station 100. The periodic calibration step includes:
S40:經由所述控制單元80紀錄所述鏡頭測試工站100的一累積測試次數,所述控制單元80於所述鏡頭測試工站100對所述待檢測鏡頭70完成一次鏡頭測試時將所述累積測試次數累計加一,其中所述累積測試次數的 初始值為零。在實作中,所述鏡頭測試工站100完成一次測試時,所述累積測試次數累計加一。即依序完成步驟S10至步驟S14的一次循環,所述累積測試次數累計加一。 S40: The control unit 80 records a cumulative test count of the lens test station 100. The control unit 80 increments the cumulative test count by one when the lens test station 100 completes a lens test on the lens 70 to be tested. The initial value of the cumulative test count is zero. In practice, the cumulative test count increments by one when the lens test station 100 completes a test. This completes a single cycle of steps S10 to S14, with the cumulative test count incrementing by one.
S41:當所述累積測試次數達到一預設警示次數時,經由所述控制單元80控制一使用者介面以顯示一警示訊息,所述警示訊息用來詢問操作者是否同意校正所述鏡頭測試工站100,並等候操作者回應。在實作時,所述預設警示次數的值根據工廠實際運作的情況被設置為500。 S41: When the cumulative number of tests reaches a preset warning number, the control unit 80 controls a user interface to display a warning message. The warning message asks the operator whether to calibrate the lens test station 100 and waits for the operator's response. In practice, the default warning number is set to 500 based on actual factory operations.
S41’:當所述控制單元80接收到包含同意校正所述鏡頭測試工站100信息的使用者輸入時,執行步驟S42,當所述控制單元80接收到包含不同意校正所述鏡頭測試工站100信息的所述使用者輸入時,執行步驟S43。 S41': When the control unit 80 receives user input indicating that the lens test station 100 agrees to be calibrated, step S42 is executed. When the control unit 80 receives user input indicating that the lens test station 100 disagrees to be calibrated, step S43 is executed.
S42:校正所述鏡頭測試工站100,並將所述鏡頭測試工站100的所述累積測試次數歸零。在實作時,使用者判斷所述鏡頭測試測試工站100所進行的鏡頭測試暫時結束而點選同意,則開始校正所述鏡頭測試工站100。 S42: Calibrate the lens test station 100 and reset the accumulated test count of the lens test station 100 to zero. In practice, if the user determines that the lens test performed by the lens test station 100 is temporarily terminated and clicks "Agree," calibration of the lens test station 100 will begin.
S43:所述鏡頭測試工站100繼續測試所述待檢測鏡頭70。在實作時,使用者可能因為所述鏡頭測試測試工站100尚在進行測試中而無法中斷或結束,因此使用者點選不同意,則所述鏡頭測試工站100持續測試所述待檢測鏡頭70。 S43: The lens testing station 100 continues testing the lens 70 to be tested. In practice, the user may be unable to interrupt or terminate the test because the lens testing station 100 is still in progress. Therefore, if the user clicks "Disagree," the lens testing station 100 will continue testing the lens 70 to be tested.
所述控制單元80可以是包含螢幕與鍵盤的桌上型 電腦、筆記型電腦或任何適用於顯示介面並可以接收包含所述使用者輸入且同時具有資料存取、資料計算、資料儲存、或類似功能的元件或裝置,但並不以此為限。 The control unit 80 may be, but is not limited to, a desktop computer or laptop computer with a screen and keyboard, or any other component or device suitable for a display interface that can receive user input and perform data access, data calculation, data storage, or similar functions.
綜上所述,與習知技術相比,本發明所述鏡頭測試工站100的校正方法藉由校正後所述原始中心座標作為判斷所述待檢測鏡頭70是否通過所述測試的指標,可以減少校正作業進行時間,同時提升校正後所述鏡頭測試工站100的精確度與可靠度,進而提升工廠作業流程的效率。 In summary, compared to conventional techniques, the lens test station 100 calibration method of the present invention uses the calibrated original center coordinates as the criterion for determining whether the lens 70 under test has passed the test. This method can reduce calibration time and improve the accuracy and reliability of the calibrated lens test station 100, thereby enhancing the efficiency of factory operations.
雖然本案已以實施例揭露如上,然其並非用以限定本案,任何所屬技術領域中具有通常知識者,在不脫離本案的精神和範圍內,當可作些許的更動與潤飾,故本案的保護範圍當視後附的申請專利範圍所界定者為準。 Although this application has been disclosed above through embodiments, they are not intended to limit this application. Anyone with ordinary skill in the art may make minor modifications and improvements without departing from the spirit and scope of this application. Therefore, the scope of protection of this application shall be determined by the scope of the attached patent application.
S20’,S20,S21,S22,S23,S31:步驟S20’, S20, S21, S22, S23, S31: Steps
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113103730A TWI898414B (en) | 2024-01-31 | 2024-01-31 | Correction method of lens testing station |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113103730A TWI898414B (en) | 2024-01-31 | 2024-01-31 | Correction method of lens testing station |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202532991A TW202532991A (en) | 2025-08-16 |
| TWI898414B true TWI898414B (en) | 2025-09-21 |
Family
ID=97519624
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW113103730A TWI898414B (en) | 2024-01-31 | 2024-01-31 | Correction method of lens testing station |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI898414B (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040080737A1 (en) * | 1999-03-08 | 2004-04-29 | Asml Netherlands B.V. | Off-axis levelling in lithographic projection apparatus |
| TW202029131A (en) * | 2019-01-23 | 2020-08-01 | 愛柏威股份有限公司 | Junction line data generation method and junction line data generation system |
| US20210044725A1 (en) * | 2019-08-07 | 2021-02-11 | Microsoft Technology Licensing, Llc | Camera-specific distortion correction |
| CN112540671A (en) * | 2019-09-20 | 2021-03-23 | 辉达公司 | Remote operation of a vision-based smart robotic system |
-
2024
- 2024-01-31 TW TW113103730A patent/TWI898414B/en active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040080737A1 (en) * | 1999-03-08 | 2004-04-29 | Asml Netherlands B.V. | Off-axis levelling in lithographic projection apparatus |
| TW202029131A (en) * | 2019-01-23 | 2020-08-01 | 愛柏威股份有限公司 | Junction line data generation method and junction line data generation system |
| US20210044725A1 (en) * | 2019-08-07 | 2021-02-11 | Microsoft Technology Licensing, Llc | Camera-specific distortion correction |
| CN112540671A (en) * | 2019-09-20 | 2021-03-23 | 辉达公司 | Remote operation of a vision-based smart robotic system |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202532991A (en) | 2025-08-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11849263B2 (en) | Projection focusing method, projection focusing apparatus, projector, and readable storage medium | |
| US10922795B2 (en) | Method and device for measuring distortion parameter of visual reality device, and measuring system | |
| JP5397537B2 (en) | Height measuring method, height measuring program, height measuring device | |
| US5444481A (en) | Method of calibrating a CCD camera | |
| CN113219441B (en) | Precision verification method and device for calibration angle, equipment and storage medium | |
| US20190265026A1 (en) | Reference plate and method for calibrating and/or checking a deflectometry sensor system | |
| CN115494652B (en) | Method, device, equipment and storage medium for assembling head display equipment | |
| JP6582683B2 (en) | Angle calculation system, angle calculation device, program, and angle calculation method | |
| CN115103124A (en) | Active alignment method for camera module | |
| TWI423101B (en) | Method for positioning compensation of a touch object on a touch surface of a screen and optical touch module thereof | |
| TWI898414B (en) | Correction method of lens testing station | |
| CN114485389B (en) | Distortion aberration correction processing device, distortion aberration correction method and storage medium | |
| CN120002678B (en) | Automatic calibration method, device, electronic device and storage medium for a robotic arm | |
| CN113364956B (en) | Dispensing needle calibration device and method | |
| JP2010182966A (en) | Centering device for work | |
| CN112212888B (en) | A strapdown inertial group reference plane mirror calibration device and method based on a two-axis turntable | |
| CN120404061A (en) | Calibration method for lens testing station | |
| CN108562246A (en) | A method of measuring and adjust servo valve gas nozzle angle of assembling | |
| CN205787302U (en) | A kind of high accuracy align optical components and the device of glass plate | |
| CN119012016A (en) | Method, system, device and storage medium for automatically adjusting camera | |
| CN115866383B (en) | Side chip active alignment assembly method and device, electronic equipment and medium | |
| CN115802141B (en) | Dual-module active alignment assembly method and device, electronic equipment and medium | |
| TWI908033B (en) | Verification method for panoramic lens focusing station | |
| CN120447205A (en) | Adjustment method, device, system, medium and equipment of head-up display system | |
| CN120539950B (en) | Assembling method, optical machine module and measuring system |