Fast calibration method for telecentric measurement of correlation datum at super-field scale
Through the rapid calibration method of related reference telecentric measurement at the super-field scale, using telecentric imaging and three-dimensional related targets, rapid and high-precision non-contact measurement of long rods is achieved, solving the problems caused by the special structure of parts in industrial inspection. It solves the measurement problems and improves the detection efficiency and accuracy.
Patent Information
- Application Number
- CN202111344665.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-15
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-11-15
AI Technical Summary
In industrial inspection, parts with long rod technical characteristics are difficult to achieve fast, high-precision non-contact measurement due to their special structure, especially for accurate measurement of reflective materials on metal surfaces and tip corner elements. The existing methods are inefficient and Assembly accuracy cannot be objectively evaluated.
The fast calibration method of correlated reference telecentric measurement under the super field of view scale is adopted, and the telecentric imaging characteristics are used to realize the correlated reference telecentricity under the field of view scale through the in-situ calibration method and the size chain correlation method from the measurement area to the measurement reference axis. For measurement calibration, a narrow field of view high-precision telecentric vision system and a three-dimensional correlation target are used, combined with the sub-pixel corner point extraction algorithm and the singular value decomposition method, to calculate and transform local elements into global radial dimensions.
It achieves fast, high-precision non-contact measurement of long rods, solves the problems of low efficiency and insufficient accuracy of existing methods, improves detection efficiency, and verifies the ability to instantly measure three-dimensional workpieces.
Smart Images

Figure CN114049324B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of fast and high-precision online visual calibration measurement in industrial inspection of production lines, and in particular relates to a fast calibration method for associated reference telecentric measurement under super-field-of-view scale. Background Art
[0002] In industrial inspection applications, there is a type of parts whose topology is as follows Figure 1 As shown in the figure, this type of parts has an actual demand for online measurement. The distance between the edge element of the tip of the cross section and the axis of the long rod is the key geometric quantity to be measured, which is related to the rotation accuracy after assembly. However, its own structural characteristics bring certain difficulties to online measurement. This type of parts is similar to a precision shaft system, with long rod technical features and rotation technical features; the parts on the shaft are various in form, such as thin-walled saw blades, extension tubes, etc. Contact measurement will cause damage to the workpiece, and how to achieve fast and high-precision non-contact measurement has become a key issue.
[0003] Due to the particularity of the structure of this type of workpiece, the application of existing non-contact measurement methods and equipment is limited. For example, grating projection measurement is sensitive to reflective materials on metal surfaces, and the elements to be measured are tip corners, which limits the accurate extraction of elements. When using the three-dimensional coordinate measuring machine laser triangulation method for measurement, it also faces similar problems as mentioned above, and it is difficult to accurately obtain the tip corner elements. The more common image measurement method has the possibility of measurement when the parts on the shaft are at the end faces on both sides of the long rod, but when the parts on the shaft are located in the middle of the shaft diameter, how to achieve the distance from the edge tip element to the axis becomes a difficult problem. The current method is mostly manual image decomposition measurement, but the efficiency is low and the assembly accuracy cannot be objectively evaluated. In addition, due to the radial scale extension characteristics of the parts on the shaft, high-precision optical measurement systems are generally unable to simultaneously image the shaft end face and the tip elements of the parts under a larger optical aperture, because the large optical aperture will affect the measurement accuracy. In addition, covering the larger mechanical aperture with a larger optical aperture means an increase in cost, and the system design is relatively expensive. Therefore, it is of great significance to study a non-contact, fast, and high-precision calibration method suitable for this type of workpiece. Summary of the invention
[0004] The rapid calibration method of telecentric measurement of associated datums under super-field-of-view scales involved in this application belongs to a spatial scale image indirect calibration method. The method of the present invention first utilizes the characteristics of telecentric imaging to realize image feature extraction and precise position measurement of local elements to be measured of longer-scale workpieces, and then establishes a measurement transmission chain between the local elements to be measured and the axis datum elements outside the camera imaging field of view, and converts the local elements into global radial dimensions through calculation, thereby realizing rapid and precise measurement beyond the imaging field of view scale. It is implemented on the following measuring device, and its working principle diagram is as follows Figure 2 shown.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] The present invention is a rapid calibration method for telecentric measurement of associated datum under super-field scale. The calibration method is based on a telecentric vision system, which realizes telecentric measurement calibration of associated datum under field scale through an in-situ calibration method and a dimension chain association method from a measurement area to a measurement datum axis. The telecentric vision system comprises: a workbench, a precision posture adjustment mechanism, a measuring camera, a workpiece to be measured, a background light source, a triggerable photoelectric sensing mechanism, a transmission target and a three-dimensional associated target; wherein:
[0007] The in-situ calibration method places the transmission target in the guide groove between the measuring camera and the background light source so that the chessboard on the target surface fills the field of view of the measuring camera, and fine-tunes the axial displacement of the transmission target so that it is within the depth of field range of the measuring camera to calibrate the image sequence; uses a sub-pixel corner point extraction algorithm to extract the coordinates of the chessboard corner points of the calibration image sequence, and combines the known world coordinates of the corner points to perform joint calibration of the measuring camera;
[0008] The dimension chain association method from the measurement area to the measurement reference axis is achieved by placing a three-dimensional associated target on the precise posture adjustment mechanism, and its cross-sectional extended target marking point is rotated into the field of view of the measurement camera. The three-dimensional associated target is made into one piece with the standard axis, and both are long-axis cross-sectional extended target structures, and the target surface is a marking dot matrix.
[0009] Further: the measuring camera may adopt a 0.5 times high-resolution low-distortion telecentric lens; the background light source 7 may adopt a telecentric parallel light source or a blue light cold light source for illumination; the projection target 9 may adopt a chessboard pattern with a position accuracy of 1 μm.
[0010] Calibration method of telecentric vision system: The telecentric vision system is composed of a measuring camera, a transmission target and a background illumination source. Due to the need to take into account both fast and high-precision measurement requirements, the visual measurement system is designed as a narrow-field high-precision telecentric vision measurement system. Its monitoring field of view only covers the extended tip elements of the cross section of the workpiece to be measured, so as to ensure high-precision measurement of geometric elements in the local measurement area of the workpiece to be measured. The specific calibration process includes:
[0011] According to the technical parameters of each component, the working distance, angle and horizontal state of the camera and light source are finely adjusted through the worktable guide mechanism and the precise posture adjustment mechanism to achieve the best imaging effect. After adjustment, each component is locked;
[0012] Place the transmission target in the guide slot between the camera and the light source, fine-tune the height and posture so that the checkerboard on the target surface fills the camera field of view, and fine-tune the axial displacement of the target so that it is within the depth of field of the camera and has a clear image;
[0013] The telecentric measurement camera acquires calibration images of the target by moving the transmission target axially to multiple positions within the depth of field of the camera, capturing target images at multiple positions, and forming multiple sets of calibration image sequences within the depth of field.
[0014] The sub-pixel corner point extraction algorithm is used to extract the coordinates of the checkerboard corner points of multiple calibration image sequences. Combined with the known world coordinates of the corner points, the telecentric lens is calibrated jointly to calculate the calibration parameters such as magnification and distortion coefficient.
[0015] The target is randomly moved to any position within the depth of field, and the reprojection error is calculated. When the accuracy requirement is met, the calibration of the telecentric lens is completed.
[0016] Furthermore, when using the transmission target to calibrate the measurement camera, the plane where the target surface checkerboard pattern is located is set to be the XY plane of the world coordinate system, and the plane where it is located is also the direction of Z = 0. The external parameter matrix of the parallel projection model can be reduced by one dimension, as shown in formula (1):
[0017]
[0018] First, the parameters in the transformation matrix are preliminarily simplified and solved according to the ideal parallel projection model. After transforming equation (1), it is shown in equation (2):
[0019]
[0020] Transform formula (2) into the least squares structure, as shown in formula (3):
[0021]
[0022] Among them, It can be expressed as the standard form of least squares AL=B.
[0023] Substituting the image coordinates and world coordinates of the corner points of the chessboard into equation (3), we can get matrices A and B. Through the least squares algorithm, we can get the coefficient matrix L. Considering the property that the rotation matrix is a unit orthogonal matrix, there is a relationship between the vectors in the matrix as shown in equation (4):
[0024]
[0025] Combining the above equations, we can get equation (5):
[0026]
[0027] Combining equations (3) and (5), we can achieve the translation parameter t y, and further solve other parameters in the coefficient matrix, and finally obtain the rotation matrix R and translation vector T.
[0028] According to formula (2), combined with the rotation matrix and translation vector, the magnification m of the bi-telecentric lens can be obtained by inverse solution.
[0029] In the above case, the distortion effect of the lens is not considered. The distortion of the telecentric lens is extremely small, and the influence of the distortion coefficients above the third term can be ignored in the distortion model. In order to improve the optimization efficiency, this paper considers the radial distortion and tangential distortion of the lens during calibration in combination with the distortion model, and establishes the distortion model of the dual telecentric lens in the measurement system, as shown in formula (6):
[0030]
[0031] In the formula, δ u ,δ v are the distortions of the computer image in the u and v directions respectively; k1, p1, and p2 are the radial and tangential distortion coefficients. For the imaging transformation model, the ideal image coordinates (u u , v u ) and the actual image coordinates (u d , v d ) has the following relationship, as shown in formula (7):
[0032]
[0033] After completing the calculation of the internal and external parameters under the linear imaging model, the distortion effect of the lens is considered. Since the distortion of the bi-telecentric lens is very small, in order to improve the calibration efficiency, the initial value of the distortion coefficient can be set to 0. Combined with the previously solved internal and external parameters, they are unified as the initial value to establish the target equation, and the problem is transformed into a nonlinear optimization problem to find the optimal solution. In this link, the LM algorithm is used to find the optimal solution of the target equation. By establishing a mathematical model, the difference between the coordinates of the corner point to be calculated and the coordinates of the actual corner point is minimized, so the system equation is established, as shown in formula (8):
[0034]
[0035] Where n represents the number of corner points; p di is the corner point p i The actual image coordinates of p ui is the image coordinate obtained by the telecentric imaging model; where p ui It can be expressed as p ui(m, R, T, k1, p1, p2), m is the magnification of the bi-telecentric lens, R is the rotation matrix, T is the translation vector, k1, p1, p2 are the distortion coefficients. Substituting their initial values into the objective equation and minimizing the objective equation, we can obtain the optimal solution of each parameter.
[0036] Furthermore, the dimension chain association method from the measurement area to the measurement reference axis can associate the geometric elements of the above-mentioned local measurement area to the measurement reference of the rotation axis outside the camera field of view to achieve out-of-field scale association. The specific calibration process includes:
[0037] Place the three-dimensional associated target on the precision V-stage supports at both ends, and rotate the cross-sectional extended target mark point into the camera field of view.
[0038] The three-dimensional associated targets have been in place to carry out the mapping of spatial elements, the fitting of axes, and the conversion and generation of the coordinate transformation matrix from the marker points to the axis lines, that is, the spatial transformation relationship matrix from the marker points to the axis lines has been established.
[0039] When the three-dimensional associated target is in the camera field of view, the world coordinates of the marker point (defined at the upper left corner of the target surface) and the pixel coordinates, that is, the coordinates of the marker point in the camera coordinate system, are recorded simultaneously.
[0040] Establish a dimension chain: the coordinates of the target surface marking points in the camera coordinate system are known, and the coordinates of these points in the axis reference space rectangular coordinate system are also known. The transformation relationship from the camera coordinate system to the axis space rectangular coordinate system can be obtained by solving the calibration model, and a spatial transfer dimension chain can be established to realize the super-field-of-view geometric measurement of the local field of view associated with the reference axis, and obtain the radial dimension information of the tip element to be measured.
[0041] Furthermore, the spatial dimension chain obtains the transformation relationship from the camera coordinate system to the axis space rectangular coordinate system by solving the calibration model:
[0042] The solution of the transformation relationship between the world coordinates in the telecentric imaging model and the world coordinates in the reference association model is transformed into the solution of the matrix H in equation (9):
[0043] B=HA (9)
[0044] In the formula, A (X1, Y1, Z1) is the world coordinate of each marker point in the camera coordinate system; B (X2, Y2, Z2) is the three-dimensional world coordinate of A in the reference associated axis coordinate system. Further solving the transformation matrix H is to solve the rotation matrix R and translation vector T. R and T are the transformation relationship matrices between the two coordinate systems.
[0045] The singular value decomposition method is used to solve the rotation matrix and translation vector. In this method, the construction and decomposition of the matrix are mainly involved; A and B are obtained in the camera coordinate system and the axis reference coordinate system respectively, and the transformation matrix H is constructed based on A and B.
[0046]
[0047] In the formula, M′ i , P′ i Represent the centroided world coordinates of A and B in their respective coordinate systems.
[0048] Perform singular value decomposition on H:
[0049] H=U×S×V T (11)
[0050] Finally, by seeking The maximum value of the rotation matrix R can be obtained:
[0051] R=VU T (12)
[0052] Finally, substitute the value of R into the relationship, and the value of the translation vector T can be obtained accordingly;
[0053] Furthermore, the position calibration method and dimension chain association method obtain the transformation relationship of the world coordinates through rotation and translation: after the transformation relationship between the two coordinates, the world coordinates C (X3, Y3, Z3) of the geometric element is measured by the telecentric imaging system, and then the three-dimensional world coordinates D (X4, Y4, Z4) of the coordinates C (X3, Y3, Z3) in the reference coordinate system can be obtained through the transformation relationship between the established reference associations, so that the geometric quantity to be measured can be calculated.
[0054] Furthermore, the telecentric vision system further includes a triggerable photoelectric sensing mechanism, wherein: the telecentric vision system adopts a continuous measurement mode and a pulsating multi-point measurement mode to obtain radial geometric quantities, including the following steps:
[0055] When the workpiece to be measured rotates for a certain distance on the precision posture adjustment mechanism, a continuous image sequence of the tip element of the workpiece to be measured is obtained through the measuring camera, from which the continuous tip motion trajectory is extracted. The radial geometric quantity to be measured can be calculated using the arc fitting method, thus realizing the continuous measurement mode.
[0056] When the tip of the workpiece to be measured moves to the specified position, the photoelectric sensing device can be triggered to make the measuring camera take pictures synchronously, instantly complete the extraction of a single corner point and calculate the radial geometry of the single-point element to be measured; if the tip of the workpiece to be measured is symmetrically distributed in the circumferential direction, a multi-point pulsating radial geometry measurement result is formed, realizing the pulsating multi-point measurement mode.
[0057] Beneficial Effects
[0058] 1. The telecentric calibration system of the present invention is easy to realize high-precision measurement of a small field of view due to the parallel projection measurement characteristics, and is widely used in the field of plane geometry measurement. When it comes to the spatial scale measurement of workpieces, a telecentric camera plus a guide rail actuator is generally used for combined measurement and is realized by manual operation. This is also another application of plane measurement and is time-consuming. Different from the existing methods, the method of the present invention is characterized in that it also uses a telecentric calibration method, but can realize instant measurement of the spatial scale of a three-dimensional workpiece, and can simultaneously meet the needs of fast and high-precision measurement of dimensions, solving the practical problem of the lack of special non-contact measurement equipment for such parts and the need for manual operation and step-by-step inspection in environments such as image measuring instruments. The developed equipment has significantly improved the detection efficiency of workpieces in production applications, verifying the effectiveness of the fast calibration method of the associated reference telecentric measurement under the super-field scale of the present invention.
[0059] 2. In the present invention, the long rod to be measured is placed on the precision posture adjustment mechanism at both ends, and with the help of its own rotation characteristics, an accurate rotation axis reference is provided. The lower end of the precision posture adjustment mechanism is a lifting component, which is used to compensate for the height difference caused by the different shaft diameters, and can be leveled so that the axis of the long rod is horizontal when it is in the measuring state. The measuring camera is located on one side of the long rod, and adopts a small optical aperture and high magnification telecentric lens, and its field of view only covers a local area of the tip element to be measured. The background light source is located on the other side of the workpiece to be measured, and forms a counter-illumination layout with the measuring camera, which is used to enhance the imaging contrast of the tip element. The mounting base worktable of the measuring device is designed with a dovetail guide mechanism to ensure the coaxiality of the coaxial optical component tooling on the table.
[0060] 4. The measurement purpose to be achieved by the present invention is that when the element to be measured rotates to the field of view of the measuring camera, the measuring camera will measure the position of the tip corner element in the local area on the one hand, and on the other hand, the measured position will be associated with the axis measurement reference to achieve global size measurement. The above functions are achieved by the fast calibration method of telecentric measurement of the associated reference under the super-field scale of the present invention.
[0061] 5. The present invention adopts a telecentric calibration measurement method, but can realize instant measurement of the spatial dimensions of a three-dimensional workpiece, that is, it can simultaneously meet the requirements of fast and high-precision measurement of dimensions. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 It is a schematic diagram of the topological structure of the workpiece to be tested;
[0063] Figure 2 This is the working principle diagram of the measuring device (axial view);
[0064] Figure 3 This is the working principle diagram of the measuring device (radial view);
[0065] Figure 4 It is a schematic diagram of the in-situ calibration method of the telecentric vision system;
[0066] Figure 5 Schematic diagram of the dimension chain association method from the measurement area to the measurement reference axis. DETAILED DESCRIPTION
[0067] The present invention is implemented as follows Figures 2 to 5 shown.
[0068] like Figure 2 , Figure 3 As shown, the telecentric vision system includes: a telecentric vision system consisting of a workbench 1, a precision posture adjustment mechanism 4, a measuring camera 5, a workpiece to be measured 6, a background light source 7, a triggerable photoelectric sensing mechanism 8, a transmission target 9 and a three-dimensional associated target 10. Due to the need to take into account both fast and high-precision measurement requirements, the visual measurement system is designed as a narrow-field high-precision telecentric vision measurement system, and its monitoring field of view only covers the protruding tip elements of the cross-section of the workpiece to be measured to ensure high-precision measurement of geometric elements within the local measurement area of the workpiece to be measured.
[0069] According to the technical parameters of each component, the working distance, angle and horizontal state of the measuring camera 5 and the background light source 7 are finely adjusted through the built-in guide mechanism and the precise posture adjustment mechanism 4 of the work table 1 to achieve the best imaging effect. After adjustment, the components are locked.
[0070] like Figure 4 As shown, the transmission target 9 is placed in the guide groove between the measuring camera 5 and the background light source 7, and the height and posture are fine-tuned so that the checkerboard on the target surface fills the field of view of the measuring camera 5. The axial displacement of the transmission target 9 is fine-tuned so that it is within the depth of field of the measuring camera 5 and a clear image is obtained.
[0071] The measuring camera 5 acquires calibration images of the transmission target 9 by moving the transmission target 9 axially to three positions within the depth of field of the measuring camera 5, capturing images of the transmission target 9 at three positions, and forming three sets of calibration image sequences within the depth of field.
[0072] The coordinates of the checkerboard corner points of the three calibration image sequences are extracted using a sub-pixel corner point extraction algorithm. Combined with the known world coordinates of the corner points, the measurement camera 5 is calibrated together. According to the above formulas (1) to (8), calibration parameters such as magnification and distortion coefficient are calculated.
[0073] The transmission target 9 is randomly moved to any position within the depth of field, and the reprojection error is verified. When the accuracy requirement is met, the calibration of the measurement camera 5 is completed.
[0074] like Figure 5 As shown, the three-dimensional associated target 10 is placed on the precise posture adjustment mechanism 3, and its cross-section extended target mark point is rotated into the field of view of the measuring camera 5. The three-dimensional associated target 10 is made into one piece with the standard axis, and both are long axis cross-section extended target structures, and the target surface is a mark dot matrix.
[0075] The three-dimensional associated target 10 has already carried out in-situ mapping of spatial elements, fitting of axes, and conversion and generation of coordinate transformation matrix from marker points to axes, that is, the spatial transformation relationship matrix from marker points to axes has been established.
[0076] When the three-dimensional associated target 10 is in the field of view of the measuring camera 5, the world coordinates (defined at the upper left corner of the target surface) and the pixel coordinates of the marker point are recorded simultaneously, that is, the coordinates of the marker point in the camera coordinate system.
[0077] The coordinates of the target surface marker points in the camera coordinate system are known, and the coordinates of these points in the axis reference space rectangular coordinate system are also known. Through the calibration model solution, the above process formulas (9) to (12) can obtain the transformation relationship from the camera coordinate system to the axis space rectangular coordinate system, establish a spatial transfer dimension chain, realize the super-field-of-view geometric measurement of the local field of view associated with the reference axis, and obtain the radial dimension information of the tip element to be measured.
[0078] The rapid calibration method for associated reference telecentric measurement under the super-field scale includes the following aspects of the implementation of the telecentric vision system: the measuring camera 5 can adopt a 0.5 times high-resolution low-distortion telecentric lens; the background light source 7 can adopt a telecentric parallel light source or a blue light cold light source for illumination; the transmission target 9 can adopt a chessboard pattern with a position accuracy of 1 μm.
[0079] The rapid calibration method for the associated reference telecentric measurement under the super-field scale is described in detail in Figure 2 , the guide mechanism design, automatic centering mechanism design and precision fine-tuning mechanism design can be adopted to ensure the consistency of tooling.
[0080] The method can be applied to a variety of measurement modes, as follows:
[0081] Continuous measurement mode. Figure 3As shown, when the workpiece 6 to be measured rotates a certain distance on the precision posture adjustment mechanism 3, a continuous image sequence of the tip element of the workpiece 6 to be measured is obtained by the measuring camera 5, from which the continuous tip motion trajectory is extracted, and the radial geometric quantity to be measured can be calculated using the arc fitting method.
[0082] Pulse multi-point measurement mode. Figure 3 As shown, when the tip of the protruding cross section of the workpiece 6 to be measured moves to the specified position, the photoelectric sensing device 8 can be triggered to make the measuring camera 5 take pictures synchronously, instantly complete the extraction of a single corner point and calculate the radial geometric quantity of the single-point element to be measured; if the tip of the workpiece 6 to be measured is symmetrically distributed in the circumferential direction, a multi-point pulsating radial geometric quantity measurement result is formed.
[0083] The present invention fully analyzes and integrates the characteristics of measurement requirements, such as the high measurement accuracy of the telecentric measurement system but the small field of view; the axial and radial scales of the workpiece to be measured are not equal, and the structural shape is not conducive to direct optical measurement in the same field of view; it also includes a variety of practical problems such as metal reflective materials and sharp points are not conducive to three-dimensional projection measurement, and thin walls are not easy to touch. Based on the above problems, a rapid calibration method for associated reference telecentric measurement under super-field scale is designed and studied, and the effectiveness of the method of this application is verified on the developed equipment, solving the practical problem that there is currently no general detection equipment for online detection of such workpieces.
Claims
1. A rapid calibration method for telecentric measurement of associated references under super-field-of-view scale, characterized in that: The calibration method is based on the telecentric vision system to achieve the associated reference telecentric measurement calibration under the field of view scale through the in-situ calibration method and the dimension chain association method from the measurement area to the measurement reference axis. The telecentric vision system includes: a workbench, a precision posture adjustment mechanism, a measurement camera, a workpiece to be measured, a background light source, a triggerable photoelectric sensing mechanism, a transmission target and a three-dimensional associated target; wherein: The in-situ calibration method of the telecentric vision system comprises the following steps: According to the technical parameters of each component, the working distance, angle and horizontal state of the measuring camera and background light source are finely adjusted through the built-in guide mechanism and precise posture adjustment mechanism of the worktable, and each component is locked after adjustment; Place the transmission target in the guide groove between the measuring camera and the background light source, fine-tune the height and posture so that the checkerboard on the target surface fills the field of view of the measuring camera, and fine-tune the axial displacement of the transmission target so that it is within the depth of field of the measuring camera and has a clear image; The measuring camera acquires calibration images of the transmission target by moving the transmission target axially to multiple positions within the depth of field of the measuring camera, capturing images of the transmission target at multiple positions, and forming multiple sets of calibration image sequences within the depth of field. The sub-pixel corner point extraction algorithm is used to extract the coordinates of the checkerboard corner points of multiple calibration image sequences. Combined with the known world coordinates of the corner points, the measurement camera is calibrated together to calculate the magnification and distortion coefficient calibration parameters. Randomly move the transmission target to any position within the depth of field, verify the reprojection error, and complete the calibration of the measurement camera after the accuracy requirements are met; The dimension chain associating method from the measuring area to the measuring reference axis comprises the following steps: Place the three-dimensional associated target on the precise posture adjustment mechanisms at both ends, and rotate the cross-sectional extended target mark point into the camera field of view; The three-dimensional associated target has been calibrated in situ to carry out the mapping of spatial elements, the fitting of the axis, and the conversion and generation of the coordinate transformation matrix from the marker point to the axis, that is, the spatial transformation relationship matrix from the marker point to the axis has been established; When the three-dimensional associated target is within the camera's field of view, the coordinates of the marker point in the camera coordinate system are obtained, and the world coordinates and pixel coordinates of the marker point are recorded at the same time; Establish a spatial dimension chain: the coordinates of the target surface markers in the camera coordinate system are known, and the coordinates of these points in the axis reference space rectangular coordinate system are also known, and the calibration model is used to solve; that is, the transformation relationship from the camera coordinate system to the axis space rectangular coordinate system is obtained, and a spatial transfer dimension chain is established to achieve the super-field-of-view geometric measurement of the local field of view associated with the reference axis, and obtain the radial dimension information of the tip element to be measured; The process of obtaining the multiple sets of calibration image sequences: When using a transmission target to calibrate the measurement camera, let the plane where the target surface checkerboard pattern is located be the XY plane of the world coordinate system, and the plane where it is located is also the direction of Z = 0. The external parameter matrix of the parallel projection model can be reduced by one dimension, as shown in formula (1): According to the parallel projection model, the parameters in the transformation matrix are preliminarily simplified and solved; after transforming equation (1), it is shown in equation (2): Transform formula (2) into the least squares structure, as shown in formula (3): Among them, Formula (3) is expressed as the standard form of least squares AL = B; Substituting the image coordinates and world coordinates of the corner points of the chessboard into equation (3), we get matrices A and B. Using the least squares algorithm, we get the coefficient matrix L. The rotation matrix is a unit orthogonal matrix. Then, the vectors in the matrix have the relationship shown in equation (4): Combining the above equations, we get equation (5): Combining equation (3) and equation (5), we can achieve the translation parameter t y , and further solve other parameters in the coefficient matrix, and finally obtain the rotation matrix R and translation vector T; According to formula (2), combined with the rotation matrix and translation vector, the magnification m of the double telecentric lens is obtained by inverse solution; In the above case, the distortion effect of the lens is not considered. The distortion of the telecentric lens is extremely small, and the influence of the distortion coefficients above the third term is ignored in the distortion model. In order to improve the optimization efficiency, the radial distortion and tangential distortion of the lens are considered during calibration in combination with the distortion model, and the distortion model of the double telecentric lens in the measurement system is established, as shown in formula (6): In the formula, δ u , δ v are the distortions of the computer image in the u and v directions respectively; k1 is the radial distortion coefficient, p1 and p2 are the tangential distortion coefficients; for the imaging transformation model, the ideal image coordinates (u u , v u ) and the actual image coordinates (u d , v d ) has the following relationship, as shown in formula (7): After completing the calculation of the internal and external parameters under the linear imaging model, the distortion effect of the lens is considered. Since the distortion of the bi-telecentric lens is very small, in order to improve the calibration efficiency, the initial value of the distortion coefficient is set to 0. Combined with the previously solved internal and external parameters, they are unified as the initial value to establish the target equation, and the problem is transformed into a nonlinear optimization problem to obtain the optimal solution. In this link, the LM algorithm is used to find the optimal solution of the target equation. By establishing a mathematical model to minimize the difference between the coordinates of the desired corner point and the coordinates of the actual corner point, the target equation is established, as shown in formula (8): Where n represents the number of corner points; p di is the corner point p i The actual image coordinates of p ui is the image coordinate obtained by the telecentric imaging model; where p ui Represented as p ui (m, R, T, k1, p1, p2), m is the magnification of the bi-telecentric lens, R is the rotation matrix, T is the translation vector, k1, p1, p2 are the distortion coefficients; after substituting their initial values into the target equation, the target equation is minimized, and the optimal solution of each parameter can be obtained; The spatial dimension chain obtains the transformation relationship between the camera coordinate system and the axis space rectangular coordinate system through calibration model solution: The solution of the transformation relationship between the world coordinates in the telecentric imaging model and the world coordinates in the reference association model is transformed into the solution of the matrix H in equation (9): B=HA (9) In the formula, A (X1, Y1, Z1) is the world coordinate of each marker point in the camera coordinate system; B (X2, Y2, Z2) is the three-dimensional world coordinate of A in the reference associated axis coordinate system; further solving the transformation matrix H is to solve the rotation matrix R and the translation vector T, R and T are the transformation relationship matrices between the two coordinate systems; The singular value decomposition method is used to solve the rotation matrix and translation vector; where: the construction and decomposition of the matrix are: A and B are obtained in the camera coordinate system and the axis reference coordinate system respectively, and the transformation matrix H is constructed according to A and B; In the formula, M′ i , P′ i Respectively represent the centroidal world coordinates of A and B in their respective coordinate systems; Perform singular value decomposition on H: H=U×S×V T (11) Finally, by seeking The maximum value of the rotation matrix R can be obtained: R=VU T (12) Substitute the value of R into the relation P′ i =RM′ i +T, find the value of the translation vector T; The in-situ calibration method and the dimension chain association method establish a reference association transformation relationship between two coordinates; after the world coordinates C (X3, Y3, Z3) of the geometric element are measured by the telecentric imaging system, the three-dimensional world coordinates D (X4, Y4, Z4) of the coordinates C (X3, Y3, Z3) in the reference coordinate system are obtained through the transformation relationship between the established reference associations, thereby calculating the geometric quantity to be measured; The telecentric vision system adopts a continuous measurement mode and a pulsating multi-point measurement mode to obtain radial geometric quantities, including the following steps: When the workpiece to be measured rotates for a certain distance on the precision posture adjustment mechanism, a continuous image sequence of the tip element of the workpiece to be measured is obtained through the measuring camera, from which the continuous tip motion trajectory is extracted, and the radial geometric quantity to be measured is calculated using the arc fitting method to realize the continuous measurement mode; When the tip of the workpiece to be measured moves to the specified position, the photoelectric sensing device is triggered, causing the measuring camera to take pictures synchronously, instantly completing the extraction of a single corner point and calculating the radial geometry of the single-point element to be measured; when the tip of the workpiece to be measured is symmetrically distributed in the circumferential direction, a multi-point pulsating radial geometry measurement result is formed, realizing the pulsating multi-point measurement mode.
2. The rapid calibration method for associated reference telecentric measurement under super-field scale according to claim 1 is characterized in that: The measuring camera adopts a 0.5 times high-resolution low-distortion telecentric lens; the background light source adopts a telecentric parallel light source and a blue light cold light source for illumination; and the transmission target adopts a chessboard pattern with a position accuracy of 1 μm.
Citation Information
Patent Citations
Multi-camera system calibrating method based on optical imaging test head and visual graph structure
CN102034238A
Handheld optical target for measuring visual coordinate and measuring method thereof
CN102062578A
Camshaft diameter online measuring method based on structured light visual imaging system
CN103499302A
Microsphere-target-based objective image space telecentric microscopic vision system calibration method
CN103778640A
Tracing method and device for machine vision low-frequency vibration measurement
CN112432693A
