TW200947354A - System and method for analyzing a profile tolerance of an object - Google Patents
System and method for analyzing a profile tolerance of an object Download PDFInfo
- Publication number
- TW200947354A TW200947354A TW97117170A TW97117170A TW200947354A TW 200947354 A TW200947354 A TW 200947354A TW 97117170 A TW97117170 A TW 97117170A TW 97117170 A TW97117170 A TW 97117170A TW 200947354 A TW200947354 A TW 200947354A
- Authority
- TW
- Taiwan
- Prior art keywords
- contour
- distance
- point
- theoretical
- theoretical contour
- Prior art date
Links
Landscapes
- Image Analysis (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
200947354 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種輪廓度分析系統及方法。 【先前技術】 ; 影像量測係目前精密量測領域中最廣泛使用的量測方 • 法,該方法不僅精確度高,而且量測速度快。影像量測主 要用於零件或者部件的尺寸誤差和形位誤差的量測,對保 q 證產品品質起著重要的作用。 但是,習知影像量測系統給出的誤差只係籠統的誤差 範圍,不能直觀的表達各個量測點的誤差範圍,同時,習 知影像量測系統的輪廓度計算很單一,不能根據用戶不同 的需求進行不同基準的輪廓度計算。 【發明内容】 鑒於以上内容,有必要提供一種輪廓度分析系統及方 法,可以根據用戶的不同需求進行不同的輪廓度計算,並 ❹ 直觀的表達出每一量測點的誤差狀況。 一種輪廓度分析系統,包括電腦及與該電腦相連的資 料庫,該電腦包括:獲取模組,用於從該資料庫中獲取需 進行輪廓度計算的物件的所有理論輪廓資料和量測點數 據;設置模組,用於設置輪廓度計算的公差及精確度;平 移模組,用於當所述獲取的量測點需要向理論輪廓平移 時,根據設置的精確度依次將各量測點向理論輪廓平移, 並記錄平移後的各量測點相對於理論輪廓平移的距離;所 述設置模組還用於當所述獲取的量測點不需要向理論輪廓 200947354200947354 IX. Description of the Invention: [Technical Field of the Invention] The present invention relates to a profile analysis system and method. [Prior Art]; Image Measurement is currently the most widely used measurement method in the field of precision measurement. This method is not only highly accurate, but also has a fast measurement speed. Image measurement is mainly used for measuring the dimensional error and shape error of parts or components, which plays an important role in ensuring the quality of the product. However, the error given by the conventional image measuring system is only a general error range, and the error range of each measuring point cannot be expressed intuitively. At the same time, the contour calculation of the conventional image measuring system is very simple and cannot be different according to the user. The requirements are calculated for the profile of different benchmarks. SUMMARY OF THE INVENTION In view of the above, it is necessary to provide a profile analysis system and method, which can perform different profile calculations according to different needs of users, and intuitively express the error condition of each measurement point. A profile analysis system includes a computer and a database connected to the computer, the computer comprising: an acquisition module for acquiring all theoretical contour data and measurement point data of the object to be contoured from the database a setting module for setting a tolerance and an accuracy of the contour calculation; a translation module, configured to sequentially measure each measurement point according to the set accuracy when the acquired measurement point needs to be translated to the theoretical contour The theoretical contour is translated, and the distance of each measured point after translation is recorded relative to the theoretical contour translation; the setting module is further used when the obtained measuring point does not need to theoretical contour 200947354
平移時’將各量測點相對於理論輪廓的平移距離設置為零; 旋轉模組,用於當所述獲取的制料要—二廊旋7轉 時,根據設置的精確度依次將各量測點向理論輪廊旋轉, 旅記錄各量測點相對於理論輪廓旋轉的角度;所述設置模 組還用於當所述量測點不需要向理論輪廓旋轉時,^各量 測點相對於理論輪廓的旋轉角度設置為零;及計算模組, 用於根據所述各量測點相對於理論輪廓平移的距離及旋轉 的角度依次計算各量測點平移和旋轉後的點的座標,根據 所述平移和旋轉後的點到理論輪廓的距離計算各量測點的 最小誤差距離,根據所述所有量測點的最小誤差距離計算 该被測物件的輪廓度及殘差。 一種輪鄭度分析方法,該方法包括如下步驟:從資料 摩中獲取需進行輪廓度計算的物件的所有理論輪廟資料和 责測點數據’ β又置輪靡度计舁的公差及精確度;當所述獲 取的量測點需要向理論輪廓平移時,根據設置的精確度依 永將各置測點向理_輪扉手移,並記錄平移後的各量測點 相對於理論輪廟平移的距離,當所述獲取的量測點不需要 向理論輪廓平移時’將各量測點相對於理論輪廓的平移距 離設置為零;當所述獲取的量測點需要向理論輪廓旋轉 時,根據設置的精確度依次將各量測點向理論輪廓旋轉, ji記錄各量測點相對於理論輪靡旋轉的角度;當所述量測 黠不需要向理論輪廓旋轉時,將各量測點相對於理論輪廓 的旋轉角度設置為零;及根據所述各量測點相對於理論輪 廓平移的距離及旋轉的角度依次計算各量測點平移和旋轉 9 200947354 ’根據所述平移和旋轉後的點到理論輪廓的 =⑽量測點的最小誤差距離,根據所述所有量測點 的最小&差距離計算該被測物件的輪廓度及殘差。 相較於習知技術,所述輪靡度分析系統及方法,可以 戶的不同需求進行不同的輪賴計算,並直觀的表 j母—量測點的誤錄況,以便卫作人員能夠快速做出 針對性改善,提高了工作效率。When translating, 'the translation distance of each measurement point relative to the theoretical contour is set to zero; the rotation module is used to sequentially adjust the amount according to the accuracy of the setting when the obtained material is to be produced. The measuring point rotates to the theoretical wheel gallery, and the travel record records the angle of rotation of each measuring point relative to the theoretical contour; the setting module is further configured to: when the measuring point does not need to rotate to the theoretical contour, The rotation angle of the theoretical contour is set to zero; and the calculation module is configured to sequentially calculate the coordinates of the points after the translation and rotation of each measurement point according to the distance of the measurement points relative to the theoretical contour translation and the rotation angle. Calculating a minimum error distance of each measurement point according to the distance between the translated and rotated points to the theoretical contour, and calculating a contour degree and a residual of the measured object according to the minimum error distance of the all measurement points. A method for analyzing the degree of rotation, the method comprising the steps of: obtaining, from the data, all the theoretical and temple data of the object to be subjected to the contour calculation and the tolerance and accuracy of the data of the β and the wheel 靡When the acquired measurement point needs to be translated to the theoretical contour, according to the precision of the setting, the respective measurement points are moved to the rational _ rim, and the measured measurement points are compared with the theoretical round temple. The distance of translation, when the acquired measurement point does not need to translate to the theoretical contour, 'set the translation distance of each measurement point relative to the theoretical contour to zero; when the acquired measurement point needs to be rotated to the theoretical contour According to the accuracy of the setting, the measuring points are sequentially rotated to the theoretical contour, and the angle of each measuring point relative to the theoretical rim is recorded; when the measuring 黠 does not need to rotate to the theoretical contour, each measurement is performed. The rotation angle of the point relative to the theoretical contour is set to zero; and the translation and rotation of each measurement point are sequentially calculated according to the distance of the respective measurement points relative to the translation of the theoretical contour and the angle of rotation 9 200947354 'According to The minimum error distance of the translated and rotated points to the =(10) measuring point of the theoretical contour, and the contour and residual of the measured object are calculated according to the minimum & Compared with the prior art, the rim degree analysis system and method can perform different trajectory calculations for different needs of the household, and intuitively record the mis-recording condition of the mother-measurement point, so that the guards can quickly Make targeted improvements and improve work efficiency.
【實施方式】 如圖1所示’係本發明物件輪廓度分析系統較佳實施例 的系統架構圖。該系統主要包括電腦工、資料庫2、顯示器3、 =盤4及滑鼠5。該資料庫2用於存儲被量測物件的理論輪廊 資料和各量測點數據。該電腦1與該資料庫2相連,用於獲 取資料庫2中需進行輪廓度計算的物件的理論輪廓資料和 各量測點數據’根據用戶不同需求選擇相應的計算方式計 算該物,各個量測點相對於理論輪廓的最小誤差距離,及 根據^算的所有量測點的最小誤差距離中的最大值和最小 值計算該物件的輪廓度。所述顯示器3、鍵盤4及滑鼠5分別 與電腦主機i相連,用於在該物件輪廓度計算過程中資料的 輸入和輸出。 如圖2所示,係圖i中電腦χ的功能模組圖。該電腦工包 括獲取模組10、設置模組12、判斷模組14、平移模組16、 旋轉模組18、計算模組20及顯示模組22。 一所述獲取模組10用於從資料庫2中獲取需進行輪廓度 計算的物件的所有理論輪廓資料和量測點數據。所述輪廓 200947354 包括無基準要求的計算方式、基於轴的計算 方式及基好_計#料 :=各個量測點在—== 賢料的座標值’並根據平移和旋轉後的物件 ί= 進行輪庵度計算;基於軸的計算方式係 私將物件各個量測點在χ轴或 ❹ 接近理論輪廊資料的座標值,並根據平移後的物= 7點座標值崎輪廓度計算;料基於平面料算方式係 心物件各個量咖*能騎平移和婦,直接彻物件各 個量測點座標值進行輪廓度計算。所述理論輪廓資料係指 在设計時給出的理論尺寸f料,理論輪廓可以係點、直線、 ,及圓弧。所述量測點數據係指在對物件進行影像量測時 量測到的物件上所有量測點的座標值,所述座標為二維座 標。 所述設置模組12用於設置輪廓度計算的公差、精確度 ❹及誤差放大倍數。所述公差係指輪廓度計算結果所允許的 誤差範圍;所述精確度係指輪廓度計算結果所精確到的小 數點後的位數;所述誤差放大倍數係指當誤差非常小時, 將該誤差放大以更直觀的表達該誤差,該放大倍數可以為 1-100 倍。 所述判斷模組14用於判斷所述獲取的量測點是否需f 向理論輪廓平移。當用戶所需求的輪廓度的計算方式為無 基準要求或基於軸的計算方式時,判斷模組14判斷所述_ 取的量測點需要向理論輪廓平移;當用戶所需求的輪靡度 11 200947354 的計算方式為基於平面的計算方式時,判斷模組14判斷所 述獲取的量測點不需要向理論輪廓平移。 所述平移模組16用於當所述獲取的量測點需要向理論 輪廓平移時,依次將各量測點向理論輪廓平移,當平移後 * 的量測點到理論輪廓的距離足夠小以達到所設置的精確度 要求時,記錄該平移後的量測點在X軸和/或¥軸上移動的 距離。當所選擇的輪廓度計算方式為基於軸的計算方式 ❹時,量測點可在X軸或γ軸上移動;當所選擇的輪廓度計算 方式為無基準要求的計算方式時,量測點可在X轴和γ軸上 移動。所述平移的方法為:將量測點到理論輪廓的距離進 行等分’例如:1〇等分,計算等分後每一部分到理論輪廓 的距離,得到距離最小的部分,再將該距離最小的部分進 行等分,計算等分後每一部分到理論輪廓的距離,得到距 離最小的部分’依次類推進行遞迴運算,當平移後的量測 點到理論輪廓的距離足夠小以達到所設置的精確度要求 ❹ 時,記錄此時量測點在X軸和γ軸上移動的距離。 所述設置模組12還用於當所述獲取的量測點不需要向 理論輪廓平移時’將各量測點在X軸和γ軸的移動距離設置 為0。 所述判斷模組14還用於判斷所述獲取的量測點是否需 要向理論輪廓旋轉。當輪廓度的計算方式為無基準要求 時’判斷模組14判斷所述獲取的量測點需要向理論輪廓旋 轉;當輪廓度的計算方式為基於平面或基於軸的計算方式 時,判斷模組14判斷所述獲取的量測點不需要向理論輪廓 12 200947354 旋轉。[Embodiment] FIG. 1 is a system architecture diagram of a preferred embodiment of the profile analysis system of the present invention. The system mainly includes computer workers, database 2, display 3, = disk 4 and mouse 5. The database 2 is used to store the theoretical corridor data of the measured object and the various measurement point data. The computer 1 is connected to the database 2, and is used for acquiring the theoretical contour data of the object to be subjected to the contour calculation in the database 2 and the data of each measuring point. The user selects the corresponding calculation method according to different needs of the user to calculate the object. The minimum error distance of the measuring point relative to the theoretical contour, and the contour of the object according to the maximum and minimum values of the minimum error distance of all the measured points. The display 3, the keyboard 4 and the mouse 5 are respectively connected to the host computer i for inputting and outputting data during the contour calculation of the object. As shown in Figure 2, it is a functional module diagram of the computer in Figure i. The computer tool includes an acquisition module 10, a setting module 12, a determination module 14, a translation module 16, a rotation module 18, a calculation module 20, and a display module 22. The acquisition module 10 is configured to acquire all theoretical contour data and measurement point data of the object to be contoured from the database 2. The contour 200947354 includes a calculation method without a reference requirement, an axis-based calculation method, and a base _meter# material: = each measurement point is at the coordinate value of the -== sage material and according to the object after translation and rotation ί= Calculate the rim degree; the calculation method based on the axis is to calculate the coordinate value of each measurement point of the object on the χ axis or ❹ close to the theoretical rim data, and calculate according to the translated object = 7 coordinate value of the coordinate value; Based on the plane material calculation method, the various objects of the heart-shaped object can ride the translation and the woman, and directly calculate the coordinate value of each measurement point coordinate value. The theoretical contour data refers to the theoretical size f material given at the time of design, and the theoretical contour can be a point, a straight line, and an arc. The measurement point data refers to a coordinate value of all measurement points on the object measured when the object is image-measured, and the coordinate is a two-dimensional coordinate. The setting module 12 is used to set the tolerance, accuracy ❹ and error magnification of the contour calculation. The tolerance refers to the error range allowed by the contour calculation result; the accuracy refers to the number of digits after the decimal point which is accurate to the contour calculation result; the error magnification refers to when the error is very small, the Error amplification is used to express this error more intuitively, and the magnification can be 1-100 times. The determining module 14 is configured to determine whether the acquired measuring point needs to f to the theoretical contour. When the degree of calculation required by the user is a non-reference requirement or an axis-based calculation mode, the judging module 14 judges that the measurement point taken by the _ needs to be translated to the theoretical contour; when the user desires the rim degree 11 When the calculation method of 200947354 is a plane-based calculation mode, the determination module 14 determines that the acquired measurement points do not need to be translated to the theoretical contour. The panning module 16 is configured to sequentially shift the measuring points to the theoretical contour when the acquired measuring points need to be translated to the theoretical contour, and the distance from the measuring point to the theoretical contour after the translation is sufficiently small to When the set accuracy requirement is reached, the distance that the translated measurement point moves on the X-axis and/or the ¥-axis is recorded. When the selected contour degree calculation method is the axis-based calculation method, the measurement point can move on the X-axis or the γ-axis; when the selected contour degree calculation method is the calculation method without the reference requirement, the measurement point It can move on the X and γ axes. The translation method is: halving the distance from the measurement point to the theoretical contour, for example: 1 〇 aliquot, calculating the distance from each part of the aliquot to the theoretical contour, obtaining the portion with the smallest distance, and then minimizing the distance The part is equally divided, and the distance from each part of the part to the theoretical contour is calculated, and the part with the smallest distance is obtained, and the recursive operation is performed by analogy. When the distance from the measured point to the theoretical contour is small enough to achieve the set When the accuracy requirement is ❹, the distance at which the measurement point moves on the X-axis and the γ-axis is recorded. The setting module 12 is further configured to set the moving distance of each measuring point on the X-axis and the γ-axis to 0 when the acquired measuring points do not need to be translated to the theoretical contour. The determining module 14 is further configured to determine whether the acquired measuring point needs to be rotated to the theoretical contour. When the calculation method of the contour degree is no reference requirement, the determination module 14 determines that the acquired measurement point needs to be rotated to the theoretical contour; when the calculation method of the contour degree is a plane-based or axis-based calculation method, the judgment module 14 determining that the acquired measurement point does not need to be rotated to the theoretical contour 12 200947354.
所述旋轉模組18用於當所述獲取的量測點需要向理論 輪廓旋轉時,依次將量測點作為圓心’將各量測點以量測 點到理論輪廓中心點的距離為半徑,繞與量測點所在平面 垂直的z軸旋轉’當旋轉後的量測點到理論輪靡的距離足 夠小以達到所設置的精確度要求時’記錄該旋轉後的量測 點繞Z軸所旋轉的角度。所述旋轉的方法為:將量測點繞z 轴旋轉一周的360度角進行等分,例如:1〇等分,計算等分 後每一部分到理論輪廓的距離,得到距離最小的部分,再 將該距離最小的部分進行等分,計算等分後每一部分到理 論輪靡的距離,得到距離最小的部分,依次類推進行遞迴 運算,當旋轉後的量測點到理論輪廓的距離足夠小以達到 戶斤設ί的精確度要求時,記錄此時量測點所旋轉的角度。 所述設置模組12還用於當所述量測點不需要向理論輪 廝旋轉時,將各量測點的旋轉角度設置為〇。 夺所述計算模組2 0用於根據所述各量測點向理論輪廓平 矛多的姐離及旋轉的角度依次計算各量測點平移和旋轉後的 點的康楳 計算的公式為The rotation module 18 is configured to sequentially use the measurement points as the center of the measurement points when the acquired measurement points need to be rotated to the theoretical contour, and use the distances of the measurement points from the measurement points to the center point of the theoretical contour as a radius. Rotate the z-axis perpendicular to the plane of the measurement point. 'When the distance from the measured point to the theoretical rim is small enough to meet the set accuracy requirements, record the measured point around the Z-axis. The angle of rotation. The method of rotating is: dividing the measuring point by a 360 degree angle of one rotation around the z-axis, for example: 1 〇 aliquot, calculating the distance from each part of the aliquot to the theoretical contour, and obtaining the portion with the smallest distance, and then The part with the smallest distance is equally divided, and the distance from each part of the equal part to the theoretical rim is calculated, and the part with the smallest distance is obtained, and the recursive operation is performed by analogy, and the distance from the measured point to the theoretical contour is sufficiently small after the rotation. When the accuracy requirement of the user setting is required, the angle at which the measuring point is rotated at this time is recorded. The setting module 12 is further configured to set the rotation angle of each measuring point to 当 when the measuring point does not need to rotate to the theoretical rim. The calculation module 20 is configured to sequentially calculate the Kangxi calculation of the points after translation and rotation of each measurement point according to the angles of the separation and rotation of the theoretical contours.
0 10 0 ί Cos(a) Sin(a) Ο -Sin(a) Cos(a) Ο Ο0 10 0 ί Cos(a) Sin(a) Ο -Sin(a) Cos(a) Ο Ο
Ο [Χ,Υ,Ζ»1] sfX,y,Z,1^ I 0 0 1 V Lx Ly Ο ΟΟ [Χ,Υ,Ζ»1] sfX,y,Z,1^ I 0 0 1 V Lx Ly Ο Ο
Ο Ο 1 〇 ΟΟ Ο 1 〇 Ο
其中,[x,y,z,l]中的X,y為量測點的座標,ζ為ο,Lx 13 200947354 為量測點在X軸移動的距離,Ly為量測點在γ軸移動的雜 離’ a為量測點向理論輪廓旋轉的角度,[Χ,Υ,Ζ,1]中的X, Υ為量測點平移和旋轉後的座標。 < 所述計算模組2 0還用於根據所述平移和旋轉後的點刻 理論輪廓的距離計算各量測點的最小誤差距離。當平移和 旋轉後的點在理論輪廓上的投影在該理論輪廓上時,則計 算該平移和旋轉後的點到理論輪廓的距離為相應量測點的 ❹ 最小誤差距離;當平移和旋轉後的點在理論輪廓上的投影 不在該理論輪廓上時,則計算該平移和旋轉後的點到理論 輪廓的各端點的最近距離為相應量測點的最小誤差距離。 所述計算模組20還用於根據所述所有量測點的最小誤 差距離計算該被測物件的輪廓度及殘差。所述輪廓度為所 有里測點的最小誤差距離中的最大值與最小值的絕對值之 和,所述殘差為所有量測點的最小誤差距離的絕對值之和。 所述判斷模組14還用於根據所設置的公差判斷所計算 Ο 的輪廓度是否合格。當所計算的輪廓度在所設置的公差範 圍内時,判斷所計算的輪廓度合格;當所計算的輪廓度不 在所設置的公差範圍内時,判斷所計算的輪廓度不合袼。 所述顯示模組22用於當所述計算的輪靡度合格時,將 所計算的各量測點的最小誤差距離、輪廓度值及殘差顯示 於該物件的量測圖像上,並顯示“pass” 。所述顯示模組 22還用於當所述計算的輪廓度不合格時,將所計算的各量 測點的最小誤差距離、輪廓度值及殘差顯示於該物件的量 測圖像上,並顯示“fail” 。 14 200947354 如圖3所示,係本發明輪廓度分析方法較佳實施例的作 業流程圖。步驟S10,獲取模組10從資料庫2種獲取需進行 輪廓度計算的物件的所有理論輪廓資料和量測點數據。 步驟S12,設置模組12設置輪廓度計算的公差、精確 度及誤差放大倍數。 步驟S14Where X, y in [x, y, z, l] is the coordinate of the measuring point, ζ is ο, Lx 13 200947354 is the distance that the measuring point moves on the X axis, and Ly is the measuring point moving in the γ axis The miscellaneous 'a is the angle at which the measuring point is rotated toward the theoretical contour, and X in the [Χ, Υ, Ζ, 1], Υ is the coordinate after the translation point is translated and rotated. < The calculation module 20 is further configured to calculate a minimum error distance of each measurement point according to the distance between the translation and the rotated point theory contour. When the projected and rotated points are projected onto the theoretical contour on the theoretical contour, the distance from the translated and rotated points to the theoretical contour is calculated as the minimum error distance of the corresponding measuring point; when translated and rotated When the projection of the point on the theoretical contour is not on the theoretical contour, the nearest distance from the point of the translation and rotation to each end point of the theoretical contour is calculated as the minimum error distance of the corresponding measurement point. The calculation module 20 is further configured to calculate the contour and the residual of the measured object according to the minimum error distance of all the measured points. The contour is the sum of the absolute values of the maximum and minimum values of the minimum error distances of all the measured points, which is the sum of the absolute values of the minimum error distances of all the measured points. The judging module 14 is further configured to judge whether the calculated contour of the crucible is qualified according to the set tolerance. When the calculated contour degree is within the set tolerance range, it is judged that the calculated contour degree is acceptable; when the calculated contour degree is not within the set tolerance range, it is judged that the calculated contour degree is not coincident. The display module 22 is configured to display, on the measured image of the object, the calculated minimum error distance, the contour value, and the residual of each measured point when the calculated rim degree is acceptable, and "pass" is displayed. The display module 22 is further configured to: when the calculated contour degree is unsatisfactory, display the calculated minimum error distance, the contour value, and the residual of each measured point on the measurement image of the object, And display "fail". 14 200947354 As shown in Fig. 3, it is a flowchart of the operation of the preferred embodiment of the profile analysis method of the present invention. In step S10, the acquisition module 10 acquires all theoretical contour data and measurement point data of the object to be contoured from the database. In step S12, the setting module 12 sets the tolerance, the accuracy and the error magnification of the contour calculation. Step S14
❹ 判斷模組14判斷所述獲取的量測點是否需 要向理論輪廓平移。當用戶所需求的輪廓度的計算方式為 無基準要求或基於軸的計算方式時,朗模組14判斷所述 獲取的,測點需要向理論輪廓平移;當用戶所需求的輪廊 度的計算方式為基於平面的計算方式時,判賴㈣ 所述獲取的量測點不需要向理論輪廓平移。 步驟S16,當所述獲取的量測點需要向理論輪廊平移 時,平移模組16依切各量測點向理論麵平移,當 後的量測點到理論輪IP的距離足_小以達到収置二 度要求時,記錄該平移後的量測點在χ 的距離。當所選擇的輪廓度計算方式為基於㈣ 時,量測在χ軸或叫上移動;當所選擇的輪廓度計ί 方式為無基準要求的計算方式時,量咖可在X軸和Υ軸上 移動所述平移的方法為:將量測點到理論輪廓的距離進 行等77例如· 10等分,計算等分後每一部分到理論輪靡 的距離,㈣麟最小的料,再將紐縣小的部分進 行等77彳算等刀後每一部分到理論輪廓的距離,得到距 離最小的心’依進行遞迴運算,當平移後的量測 點到理論輪廓的轉足夠小以達到所設置的精確度要求 15 200947354 時,記錄此時量測點在x軸和γ轴上移動的距離。 步驟S18,當所述獲取的量測點不需要向理論輪廓平 移時,設置模組12將各量測點在X軸和Υ軸的移動距離設置 *為0。 ' 步驟S20,判斷模組14判斷所述獲取的量測點是否需 要向理論輪廓旋轉。當輪廓度的計算方式為無基準要求 時,判斷模組14判斷所述獲取的量測點需要向理論輪廓旋 〇 轉;當輪廓度的計算方式為基於平面或基於軸的計算方式 時,判斷模組14判斷所述獲取的量測點不需要向理論輪廓 旋轉。 步驟S22,當所述獲取的量測點需要向理論輪廓旋轉 時,旋轉模組18依次將量測點作為圓心,將各量測點以量 測點到理論輪廓中心點的距離為半徑,繞與量測點所在平 面垂直的Ζ軸旋轉,當旋轉後的量測點到理論輪廓的距離 足夠小以達到所設置的精確度要求時,記錄該旋轉後的量 G 測點繞ζ軸所旋轉的角度。所述旋轉的方法為:將量測點 繞Ζ軸旋轉一周的360度進行等分,例如:10等分,計算等 分後每一部分到理論輪廓的距離,得到距離最小的部分, 再將該距離最小的部分進行等分,計算等分後每一部分到 理論輪廓的距離,得到距離最小的部分,依次類推進行遞 迴運算,當旋轉後的量測點到理論輪廓的距離足夠小以達 到所設置的精確度要求時,記錄此時量測點所旋轉的角度。 步驟S24,當所述量測點不需要向理論輪廓旋轉時, 設置模組12將各量測點的旋轉角度設置為0。 16 200947354 步驟S26,計算模組20根據所述各量測點向理論輪廓 平移的距離及旋轉的角度依次計算各量測點平移和旋轉後 的點的座標。計鼻的公式為.The judging module 14 judges whether the acquired measuring point needs to be translated to the theoretical contour. When the degree of contour required by the user is calculated as a no-reference requirement or an axis-based calculation mode, the Lang module 14 determines that the acquired point needs to be translated to the theoretical contour; when the user desires the calculation of the degree of the corridor When the mode is a plane-based calculation method, the measured points acquired according to (4) need not be translated to the theoretical contour. Step S16, when the acquired measurement point needs to be translated to the theoretical wheel gallery, the translation module 16 translates the measurement points to the theoretical plane, and the distance from the subsequent measurement point to the theoretical wheel IP is small. When the second requirement is reached, the distance of the measured point after the translation is recorded at χ. When the selected profile calculation method is based on (4), the measurement moves on the χ axis or the 叫 axis; when the selected profile ί mode is the calculation method without the reference requirement, the quantity can be on the X axis and the Υ axis The method of moving the translation is as follows: the distance from the measurement point to the theoretical contour is equal to 77, for example, 10 equal parts, and the distance from each part to the theoretical rim after the division is calculated, (4) the smallest material of the lin, and then the county The small part is equal to 77 彳 and then the distance from each part of the knife to the theoretical contour, and the minimum distance of the heart is obtained. According to the recursive operation, when the translation is shifted to the theoretical contour, the rotation is small enough to achieve the set. When the accuracy requirement is 15 200947354, the distance at which the measurement point moves on the x-axis and the γ-axis is recorded. In step S18, when the acquired measurement points do not need to be shifted to the theoretical contour, the setting module 12 sets the moving distances of the respective measuring points on the X-axis and the x-axis to *0. In step S20, the judging module 14 judges whether the acquired measuring point needs to be rotated to the theoretical contour. When the calculation method of the contour degree is no reference requirement, the judging module 14 judges that the acquired measurement point needs to be rotated to the theoretical contour; when the calculation method of the contour degree is based on the plane or the axis-based calculation method, judging The module 14 determines that the acquired measurement points do not need to be rotated to the theoretical contour. Step S22, when the acquired measurement points need to be rotated to the theoretical contour, the rotation module 18 sequentially takes the measurement points as the center of the circle, and takes the distances of the measurement points from the measurement points to the center point of the theoretical contour as a radius. The axis of rotation perpendicular to the plane of the measuring point is rotated. When the distance from the measured point to the theoretical contour is sufficiently small to achieve the set accuracy requirement, the amount of the rotated G is recorded to rotate around the axis. Angle. The method of rotating is: dividing the measuring point by 360 degrees of one rotation around the Ζ axis, for example: 10 equal parts, calculating the distance from each part of the aliquot to the theoretical contour, and obtaining the portion with the smallest distance, and then The smallest part is equally divided, the distance from each part of the distance to the theoretical contour is calculated, and the part with the smallest distance is obtained, and the recursive operation is performed by analogy. When the distance from the measured point to the theoretical contour is small enough to reach the When the accuracy of the setting is required, the angle at which the measuring point is rotated at this time is recorded. In step S24, when the measuring point does not need to be rotated to the theoretical contour, the setting module 12 sets the rotation angle of each measuring point to zero. 16 200947354 Step S26, the calculation module 20 sequentially calculates the coordinates of the points after the translation and rotation of each measurement point according to the distance of the measurement points from the theoretical measurement points and the angle of rotation. The formula for the nose is
0 0 1 V. Lx Ly 00 0 1 V. Lx Ly 0
[Χ,γ,ζ,ΐ] =[x,y,z,i]*[Χ, γ, ζ, ΐ] = [x, y, z, i]*
i Cos(a) Sin(a) 0 0 -Sin(a) Cos(a) 0 0i Cos(a) Sin(a) 0 0 -Sin(a) Cos(a) 0 0
❹ 其中,[x,y,z,l]中的x,y為量測點的座標,z為0 ’ Lx 為量測點在X轴移動的距離,Ly為量測點在Y轴移動的距 離,a為量測點向理論輪廓旋轉的角度,[Χ,Υ,Ζ,1]中的X, Υ為量測點平移和旋轉後的座標。 步驟S28,計算模組20根據所述平移和旋轉後的點到 理論輪廓的距離計算各量測點的最小誤差距離。當平移和 旋轉後的點在理論輪廓上的投影在該理論輪廓上時,則計 算該平移和旋轉後的點到理論輪廓的距離為相應量測點的 ® 最小誤差距離;當平移和旋轉後的點在理論輪廓上的投影 不在該理論輪廓上時,則計算該平移和旋轉後的點到理論 輪廓的各端點的最近距離為相應量測點的最小誤差距離。 步驟S30,計算模組20根據所述所有量測點的最小誤 差距離計算該被測物件的輪廓度及殘差。所述輪廓度為所 有量測點的最小誤差距離中的最大值與最小值的絕對值之 和,所述殘差為所有量測點的最小誤差距離的絕對值之和。 步驟S32,判斷模組14根據所設置的公差判斷所計算 的輪廓度是否合格。當所計算的輪廓度在所設置的公差範 17 200947354 圍内時,判斷所計算的輪廓度合格;當所計算的輪廓度不 在所設置的公差範圍内時,判斷所計算的輪廓度不合格。 步驟S34,當所述計算的輪廓度合格時,顯示模組22 ^ 將所計算的各量測點的最小誤差距離、輪廓度值及殘差顯 示於該物件的量測圖像上,並顯示“pass” 。 步驟S36,當所述計算的輪廓度不合格時,顯示模組 22將所計算的各量測點的最小誤差距離、輪廓度值及殘差 0 顯示於該物件的量測圖像上,並顯示“fail” 。 【圖式簡單說明】 圖1係本發明輪廓度分析系統較佳實施例的硬體架構 圖。 圖2係圖1中電腦的功能模組圖。 圖3係本發明輪廓度分析方法較佳實施例的作業流程 圖。 【主要元件符號說明】 電腦 1 獲取模組 10 設置模組 12 判斷模組 14 平移模組 16 旋轉模組 18 計算模組 20 顯示模組 22 獲取需進行輪廓度分析物件的所有理論輪廓資料和量測點 18 200947354 數據 S10 設置輪廓度計算的公差、精確度及誤差放大倍數S12 所述獲取的量測點是否需要向理論輪廓平移 S14 根據設置的精確度依次將各量測點向理論輪廓平移,並記 錄平移後的各量咖相對於理論輪解移的麟⑽ 將各里/雜在X軸或γ軸移動的距離設置為G S18 所述獲取的量測點是否需要向理論輪廟旋轉 S2〇❹ where x, y in [x, y, z, l] are the coordinates of the measurement point, z is 0 ' Lx is the distance the measurement point moves on the X axis, and Ly is the measurement point moving on the Y axis Distance, a is the angle at which the measuring point rotates to the theoretical contour, and X in the [Χ, Υ, Ζ, 1], Υ is the coordinate after the translation point is translated and rotated. In step S28, the calculation module 20 calculates the minimum error distance of each measurement point according to the distance from the translated and rotated points to the theoretical contour. When the projected and rotated points are projected onto the theoretical contour on the theoretical contour, the distance from the translated and rotated points to the theoretical contour is calculated as the minimum error distance of the corresponding measuring point; when translated and rotated When the projection of the point on the theoretical contour is not on the theoretical contour, the nearest distance from the point of the translation and rotation to each end point of the theoretical contour is calculated as the minimum error distance of the corresponding measurement point. In step S30, the calculation module 20 calculates the contour and the residual of the measured object according to the minimum error distance of all the measured points. The contour is the sum of the absolute value of the minimum and minimum values of the minimum error distances of all the measured points, which is the sum of the absolute values of the minimum error distances of all the measured points. In step S32, the judging module 14 judges whether the calculated contour degree is qualified according to the set tolerance. When the calculated contour degree is within the set tolerance range 17 200947354, it is judged that the calculated contour degree is qualified; when the calculated contour degree is not within the set tolerance range, it is judged that the calculated contour degree is unqualified. Step S34, when the calculated contour degree is passed, the display module 22^ displays the calculated minimum error distance, the contour value and the residual of each measured point on the measurement image of the object, and displays "pass". Step S36, when the calculated contour degree is unsatisfactory, the display module 22 displays the calculated minimum error distance, the contour value and the residual 0 of each measured point on the measurement image of the object, and "fail" is displayed. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a hardware architecture diagram of a preferred embodiment of the profile analysis system of the present invention. Figure 2 is a functional block diagram of the computer of Figure 1. Fig. 3 is a flow chart showing the operation of the preferred embodiment of the profile analysis method of the present invention. [Description of main component symbols] Computer 1 acquisition module 10 setup module 12 judgment module 14 translation module 16 rotation module 18 calculation module 20 display module 22 acquires all theoretical contour data and quantities of contour analysis objects Measuring point 18 200947354 Data S10 Set the tolerance, accuracy and error magnification of the contour calculation S12 Whether the acquired measuring point needs to shift to the theoretical contour S14 to sequentially shift the measuring points to the theoretical contour according to the set accuracy. And record the translation of the amount of coffee relative to the theoretical wheel dissociation of the lin (10) set the distance of each ray / miscellaneous movement in the X axis or γ axis as G S18 whether the obtained measurement point needs to rotate to the theoretical wheel temple S2 〇
根據設置的精確度依次將各量測點向理論輪麻旋轉, 並記錄各量測點相對於理論輪廓旋轉的角度 s22 將各量測值的旋轉角度設置為〇 S24 根據所述各置測點向理論輪廓平移的距離及旋轉的角 度依-人计算各量測點平移和旋轉後的點的座標S26 根據所述平移和旋轉後的點到理論輪廓的距離計算各量測 點的最小誤差距離 S28 根據所述所有量測點的最小誤差距離計算該被測物件 廓度及殘差 ' S30 S32 所述計算的輪廓度是否合格 S34 將所述述最小誤差距離、輪廓度值及殘差顯示於颉物件的 直測圖像上’並顯示“pass” 將所述最小誤差距離、輪廓度值及殘差顯示於該物件的量 測圖像上’並顯示“fail” 19According to the accuracy of the setting, the measuring points are sequentially rotated to the theoretical wheel, and the angle s22 of each measuring point with respect to the theoretical contour is recorded, and the rotation angle of each measuring value is set to 〇S24 according to the respective measuring points. The distance to the theoretical contour and the angle of rotation are calculated by the person. The coordinate S26 of the point after translation and rotation of each measuring point is calculated. The minimum error distance of each measuring point is calculated according to the distance from the translated and rotated point to the theoretical contour. S28: calculating, according to the minimum error distance of all the measurement points, the measured object profile and the residual 'S30 S32, whether the calculated contour degree is qualified S34, and displaying the minimum error distance, the contour value and the residual颉On the direct image of the object 'and display 'pass' to display the minimum error distance, contour value and residual on the measurement image of the object' and display “fail” 19
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW97117170A TWI428853B (en) | 2008-05-09 | 2008-05-09 | System and method for analyzing a profile tolerance of an object |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW97117170A TWI428853B (en) | 2008-05-09 | 2008-05-09 | System and method for analyzing a profile tolerance of an object |
Publications (2)
Publication Number | Publication Date |
---|---|
TW200947354A true TW200947354A (en) | 2009-11-16 |
TWI428853B TWI428853B (en) | 2014-03-01 |
Family
ID=44870325
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW97117170A TWI428853B (en) | 2008-05-09 | 2008-05-09 | System and method for analyzing a profile tolerance of an object |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI428853B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117781937A (en) * | 2024-02-23 | 2024-03-29 | 东莞市兆丰精密仪器有限公司 | Two-dimensional line profile measuring method, device, system and storage medium |
-
2008
- 2008-05-09 TW TW97117170A patent/TWI428853B/en not_active IP Right Cessation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117781937A (en) * | 2024-02-23 | 2024-03-29 | 东莞市兆丰精密仪器有限公司 | Two-dimensional line profile measuring method, device, system and storage medium |
CN117781937B (en) * | 2024-02-23 | 2024-06-07 | 东莞市兆丰精密仪器有限公司 | Two-dimensional line profile measuring method, device, system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
TWI428853B (en) | 2014-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9091528B2 (en) | System and method for object measurement | |
JP2020095009A (en) | Measurement inspection system for iron reinforcing bar by computer | |
CN106127758B (en) | A kind of visible detection method and device based on virtual reality technology | |
CN110672020A (en) | Stand tree height measuring method based on monocular vision | |
Hu et al. | A four-camera videogrammetric system for 3-D motion measurement of deformable object | |
Xia et al. | An accurate and robust method for the measurement of circular holes based on binocular vision | |
KR20080051184A (en) | Artifact mitigation in three-dimensional imaging | |
WO2017107547A1 (en) | Method and device for measuring swing angle of precise turntable | |
Schneider et al. | Accuracy evaluation of touch tasks in commodity virtual and augmented reality head-mounted displays | |
WO2018120168A1 (en) | Visual detection method and system | |
JP2000046543A (en) | Three-dimensional profile measuring equipment | |
CN202761475U (en) | Detecting device for assessing spatial precision of occlusion model scanner | |
CN107796718A (en) | Brineling system and method | |
TW201514441A (en) | System and method for adjusting line laser probes of measurement machine | |
CN112069612A (en) | Method for evaluating measurement uncertainty of gear measurement center | |
CN101566466B (en) | Profile analysis system and method | |
JP2018522240A (en) | Method for measuring artifacts | |
TW201017092A (en) | Three-dimensional model reconstruction method and system thereof | |
CN110428471A (en) | A kind of accurate method for self-locating for the measurement of freeform optics surface sub-aperture deviation | |
CN113888572A (en) | Visual plane hole measuring method | |
TW200947354A (en) | System and method for analyzing a profile tolerance of an object | |
JP6171781B2 (en) | Gaze analysis system | |
CN114877826B (en) | Binocular stereo matching three-dimensional measurement method, system and storage medium | |
Silva et al. | Polymeco-a polygonal mesh comparison tool | |
Chen et al. | Simple calibration method for dual-camera structured light system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |