A method and system for calibrating shaft parameters
Through standard spherical contour information and rotary angle data, a fitting model and spatial plane circle fitting are established, which solves the problem of calibration of rotation axis parameters in small depth of field contour instruments, and accurately calibration and optimization of rotation axis parameters are achieved, improving the compatibility of the contour instruments sex.
Patent Information
- Application Number
- CN202411269606.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-09-11
AI Technical Summary
In the prior art, in rotation measurement, especially in contour instruments with small depth of field, it is difficult to calibrate the rotation axis parameters through the calibration plate, because it is necessary to obtain the original two-dimensional image of the surface array camera and the internal parameters of the contour instrument, and the row of the surface array camera. Small height leads to incomplete image of the calibration plate, limiting the acquisition of axis parameters.
By obtaining the contour information of the standard ball and the angle data of the turntable, calculating the cross-section center and radius, establishing a fitting model, correcting the coordinates of the standard ball center, performing spatial plane circle fitting, determining the axis anchor point, and using this as a reference to different angles The cross-sectional data are unified into the same coordinate system, the surface morphology is reconstructed, and nonlinear optimization of axis parameters is performed.
There is no need to obtain the image of the surface array camera and the internal parameters of the contour instrument, and the axis parameters are calibrated and optimized directly through the data output from the contour instrument, which improves the compatibility of the contour instrument, avoids the problem of incomplete images, and realizes accurate calibration of the axis parameters.
Smart Images

Figure CN118816717B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of rotation measurement technology, and in particular to a rotation axis parameter calibration method and system. Background Art
[0002] Rotational measurement technology has been widely used in military, industrial, medical diagnosis and other fields, and the rotation axis parameters need to be calibrated during the rotational measurement process. The structured light system can only measure one side of an object at a time. In order to obtain the complete spatial geometry and surface texture information of the object, it is usually necessary to measure from different angles of the object, thus generating a rotational scanning method. For the measurement of rotating parts, the parts can be rotated using an additional high-precision rotating platform to obtain complete surface information. The coordinate systems are different when measuring at different angles. It is necessary to perform necessary coordinate transformations on the data measured at each angle and unify the data in the same coordinate system to achieve the final three-dimensional point cloud stitching.
[0003] For example, the contour of an object can be scanned angle by angle using a laser line profiler in combination with a turntable, and then the contours are spliced together to obtain the complete surface information of the object. This process requires the calibration of the axis parameters of the turntable. The existing technical solutions generally fix a calibration plate on the turntable, obtain the calibration plate image during the turntable rotation process through the area array camera in the line profiler, and then identify the position and posture parameters of the calibration plate based on the area array camera parameters, and calculate the parameter information of the axis based on the changes in the calibration plate parameters.
[0004] Although the method of calibrating the axis parameters through the calibration plate is easy to understand and use, it is necessary to obtain the original two-dimensional image of the area array camera and the internal parameters of the profilometer in order to calibrate the axis parameters and convert the parameters of the axis relative to the area array camera into the line profiler coordinate system. Its application is easily restricted. For example, the profiler provider does not provide relevant two-dimensional image interface and profiler internal parameter information. In addition, since the row height of the area array camera in a profiler with a small depth of field is small and the complete calibration plate image cannot be obtained, it is difficult for a profiler with a small depth of field to use a calibration plate for axis calibration. Summary of the invention
[0005] Therefore, the purpose of the present invention is to provide a method and system for calibrating shaft parameters, which calibrates the turntable shaft parameters by acquiring standard sphere contour information and turntable angle information, and obtains size information by fitting the surface morphology of the reconstructed standard sphere and standard cylinder to optimize the shaft parameters.
[0006] In order to achieve the above object, a method for calibrating shaft parameters includes the following steps:
[0007] Acquire a plurality of cross-sectional profile data and corresponding turntable angle data of the standard ball during the rotation of the turntable;
[0008] Calculate the section center coordinates and section profile radius based on the section profile data, and calculate the distance from the center of the standard sphere to the section ;
[0009] The section profile radius and turntable angle are modeled, and the distance from the center of the standard ball to the section is calculated based on the fitting results of the model parameters. Make corrections to obtain the standard sphere center coordinate data set;
[0010] Fitting a space plane circle is performed according to the standard sphere center coordinate data set, and the center of the fitted space plane circle is calculated as the rotation axis anchor point;
[0011] Obtaining the cross-sectional profile data of the standard ball at different angles to reconstruct the surface morphology, and unifying the cross-sectional profile data at different angles into the same coordinate system based on the turntable angle data and the axis anchor point as a reference, to obtain the surface morphology information of the standard ball;
[0012] The surface morphology information of the standard sphere is used for fitting, and the nonlinear optimization of the shaft parameters is performed according to the deviation between the fitting value and the standard value. The optimized shaft parameters are used as calibration parameters.
[0013] Further preferably, the calculating the cross-section center according to the cross-section profile data further includes:
[0014] Forming a first data set A from a plurality of cross-sectional profile data;
[0015] The turntable angle corresponding to each section profile data , forming a second data set;
[0016] According to each section profile data, calculate the corresponding section circle center and the radius of the cross section , the radius of each cross-section circle A third data set C is formed.
[0017] Further preferably, the modeling of the cross-sectional profile radius and the turntable angle includes establishing a fitting model using the following formula:
[0018]
[0019] in, is the radius of the cross section circle, R is the radius of the standard sphere, β represents the angle between the ideal light plane and the actual light plane, D represents the distance from the center of the sphere to the axis of rotation, h Indicates the distance from the rotation axis to the ideal light plane; is the turntable angle corresponding to each cross-sectional circle; is the initial phase angle.
[0020] Further preferably, the distance from the center of the standard sphere to the cross section is calculated by fitting the model parameters. Correction is performed to obtain the standard sphere center coordinate data set, including:
[0021] When acquiring each cross-sectional profile data, the corresponding turntable angle in the second data set B and the third dataset The corresponding cross-sectional radius , input the fitting model for optimization and calculate the model parameters ;
[0022] According to the obtained model parameters, determine the distance from the center of the standard sphere to the cross section The sign and corresponding angle range;
[0023] According to the distance from the center of the standard ball to the cross section The sign of the distance from the center of the standard sphere to the cross section Reassign values to obtain the standard sphere center coordinate data set.
[0024] Further preferably, the distance from the center of the standard sphere to the cross section is calculated by fitting the model parameters. Make corrections, including judging according to the following conditions Symbols:
[0025] When D > h, the turntable angle The distance from the center of the standard ball to the cross section is within the range Negate the sign of ;
[0026] When D ≤ h, maintain the distance from the center of the standard sphere to the cross section The sign remains unchanged.
[0027] Further preferably, performing spatial plane circle fitting according to the standard sphere center coordinate data set and calculating the center of the fitted spatial plane circle as the rotation axis anchor point comprises the following steps:
[0028] Performing spatial plane fitting on the standard sphere center coordinate data set;
[0029] According to the fitted space plane normal vector, construct the vector equation group shown in the following formula, and use the least squares method to solve the center of the space plane circle ;
[0030]
[0031] in, is the normal vector of the fitted space plane, d is a constant, is the center of the plane circle in space, and They are the center positions of the standard ball at different angles.
[0032] Further preferably, the cross-sectional profile data of the standard ball at different angles are obtained to reconstruct the surface morphology, and according to the turntable angle data, the cross-sectional profile data at different angles are unified into the same coordinate system with the axis anchor point as a reference to obtain the surface morphology information of the standard ball; including:
[0033] Translate the origin of the coordinate system of the cross-sectional profile data to the rotation axis anchor point;
[0034] Rotate the coordinate system of the cross-section profile data around the normal direction of the axis anchor point by an angle ;in, Indicates the turntable angle when obtaining the current section profile data;
[0035] Translate the origin of the coordinate system of the rotated section profile data to the original position.
[0036] Further preferably, fitting is performed according to the surface morphology information of the standard ball, nonlinear optimization of the shaft parameters is performed according to the deviation between the obtained fitting value and the standard value, and the optimized shaft parameters are used as calibration parameters, comprising the following steps:
[0037] S501, setting the initial values and optimization parameters of the shaft parameters;
[0038] S502, reconstructing the surface morphology of the standard sphere;
[0039] S503, calculating the fitting residual of the standard sphere according to the surface morphology;
[0040] S504, determine whether the fitting residual meets the optimization conditions, if so, output the current axis parameters, if not, adjust the axis parameters and repeat S502-S504.
[0041] Further preferably, the reconstructing the surface morphology of the standard sphere and calculating the fitting residual of the standard sphere according to the surface morphology include:
[0042] Based on the initial values of the axis parameters, the surface morphology of the standard sphere is reconstructed;
[0043] According to the reconstructed standard sphere surface morphology data fitting, the sphere center position fitting value is obtained;
[0044] Calculate the distance from the standard sphere surface topography data to the sphere center position fitting value;
[0045] The residual difference between the distance and the standard radius of the standard sphere is calculated.
[0046] The present invention also provides a rotation axis parameter calibration system, which is used to implement the steps of the above rotation axis parameter calibration method, including a turntable, a standard ball, a line profiler and a data processing module;
[0047] The standard ball fixed on the turntable is used to drive the standard ball to rotate and output the turntable angle data; the line profiler is used to obtain multiple cross-sectional profile data of the standard ball during the rotation of the turntable;
[0048] The data processing module is used to calculate the center coordinates and dimensions of the cross-sectional shape according to the cross-sectional profile data, and calculate the distance from the center of the standard sphere to the cross-sectional shape. ;
[0049] The radius of the ball section profile and the turntable angle are modeled, and the distance from the center of the standard ball to the section is calculated based on the fitting results of the model parameters. Make corrections to obtain the standard sphere center coordinate data set;
[0050] Fitting a space plane circle is performed according to the standard sphere center coordinate data set, and the center of the fitted space plane circle is calculated as the rotation axis anchor point;
[0051] Obtaining the cross-sectional profile data of the standard ball at different angles to reconstruct the surface morphology, and unifying the cross-sectional profile data at different angles into the same coordinate system based on the turntable angle data and the axis anchor point as a reference, to obtain the surface morphology information of the standard ball;
[0052] The surface morphology information of the standard sphere is used for fitting, and the nonlinear optimization of the shaft parameters is performed according to the deviation between the fitting value and the standard value. The optimized shaft parameters are used as calibration parameters.
[0053] The shaft parameter calibration method and calibration system disclosed in this application have at least the following advantages over the prior art:
[0054] The axis of rotation is calibrated by the center position of the standard ball at different angles. Compared with the existing calibration form, the calibration plate is not used for axis parameter calibration, and there is no need to obtain the area array camera image in the laser line profiler. There is no problem of incomplete calibration plate image caused by the image height of the area array camera. The profile data of the standard ball and the turntable angle data output by the profiler are directly used for calibration and parameter optimization. There is no need to obtain the internal parameters of the profiler, which improves the compatibility with the profiler. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 It is a schematic diagram of the flow chart of the shaft parameter calibration method of the present invention.
[0056] Figure 2 It is a schematic diagram of the structure of the shaft parameter calibration system of the present invention.
[0057] Figure 3 The geometric principle diagram of the fitting model of the present invention is constructed.
[0058] Figure 4 Schematic diagram of the light plane angle deviation in an actual system.
[0059] Figure 5 Schematic diagram of the object topography reconstruction based on the contour and turntable angle.
[0060] Figure 6 Schematic diagram of the shaft parameter optimization process. DETAILED DESCRIPTION
[0061] The present invention is further described in detail below through the accompanying drawings and specific embodiments.
[0062] like Figure 1 As shown, an embodiment of the present invention provides a method for calibrating shaft parameters, comprising the following steps:
[0063] S1, obtaining a plurality of cross-sectional profile data and corresponding turntable angle data of the standard ball during the period of the turntable rotating;
[0064] S2. Calculate the center of the section according to the section profile data; and calculate the distance from the center of the standard ball to the section ;like Figure 2 As shown in the figure, when the standard ball rotates with the turntable, the laser line profiler irradiates the standard ball to form a circle. Since the cross-sectional figures of the sphere cut by any plane are all circular, and the line connecting the center of the sphere and the center of the cross-sectional circle is perpendicular to the cross-sectional area, the distance from the center of the sphere to the cross-sectional area can be obtained. The radius of the standard ball and the radius of the cross-sectional area satisfy the Pythagorean theorem, so the distance from the center of the standard ball to the cross-sectional area can be calculated. .
[0065] S3. Model the cross-section profile radius and turntable angle, and use the fitting results of the model parameters to calculate the distance from the center of the standard ball to the cross-section. Correction is performed to obtain the standard sphere center coordinate data set.
[0066] Further, the calculating the cross-section center according to the cross-section profile data includes:
[0067] A first data set A formed by a plurality of cross-sectional profile data;
[0068] The turntable angle corresponding to each section profile data i , forming a second data set B;
[0069] According to each section profile data, calculate the corresponding section circle center and the radius of the cross section , the radius of each cross-section circle A third data set C is formed.
[0070] The cross-sectional profile is obtained by scanning the standard ball on the turntable with a laser line profiler. When the standard ball is selected, the cross-sectional profile is circular. For each profile, a plane circle is fitted to obtain the center of the cross-sectional circular profile. , the radius of the smallest circumscribed circle is the radius of the cross section circle .
[0071] like Figure 3 , model the section profile radius and turntable angle, and use the fitting results of the model parameters to calculate the distance from the center of the standard ball to the section Correction is performed to obtain the standard sphere center coordinate data set, including the following steps:
[0072] The fitting model is established according to the following formula:
[0073]
[0074] in, is the radius of the cross section circle, R is the radius of the standard sphere, β represents the angle between the ideal profilometer plane and the actual profilometer plane, such as Figure 3 As shown, D represents the distance from the center of the sphere to the axis of rotation, h Indicates the distance from the rotation axis to the ideal light plane; is the turntable angle; is the initial phase angle; in an ideal state, the radius of the cross-section circle, the radius R of the standard sphere, and the distance from the center of the standard sphere to the cross-section circle The Pythagorean theorem is satisfied, so In the ideal state , but in practice, the profiler still has a certain deflection error, that is, Figure 4 The angle between the ideal profilometer plane and the actual profilometer plane β, Therefore, the actual calculation This is the actual distance from the center of the standard ball to the cross section. .
[0075] When acquiring each cross-sectional profile data, the corresponding turntable angle in the second data set B and the corresponding cross-sectional radius in the third data set C , input the fitting model for optimization and calculate the model parameters ;
[0076] According to the obtained model parameters, determine the sign of the distance from the center of the standard sphere to the cross section and the corresponding angle range; according to Figure 5As shown in the figure, when the standard ball is at different angles, the distance from the center of the standard ball to the cross section is different values. However, if only the distance from the center of the standard ball to the cross section is calculated, one distance value may correspond to two different turntable angles. For example, the turntable angle is The corresponding contour is P i When the light plane is at the bottom of the standard sphere, when the turntable angle is The corresponding contour is P j When the light plane is on the upper part of the standard sphere, it is also necessary to calculate the distance from the center of the standard sphere to the cross section. Symbol identification to achieve the turning angle and One-to-one correspondence.
[0077] Reassign the distance from the center of the standard sphere to the section according to the sign of the distance from the center of the standard sphere to the section, and the standard sphere center coordinate data set.
[0078] The determination of the sign of the distance from the center of the standard sphere to the cross section and the corresponding angle range includes determination according to the following conditions:
[0079] When D > h, When it is a maximum value, ,Right now , that is, it should be The distance from the center of the standard ball to the cross section is within the range Negate.
[0080] When D ≤ h, When it is a maximum value, ,Right now , no sign change is required at this time.
[0081] S4, fitting a space plane circle according to the standard sphere center coordinate data set, and calculating the center of the fitted space plane circle as the rotation axis anchor point; comprising the following steps:
[0082] The standard sphere center coordinate data set is fitted to a spatial plane; in this application, the general equation of the spatial plane is used for fitting. ,in is the normal direction of the plane, is a constant.
[0083] According to the fitted space plane normal vector, construct the following vector equation group and use the least squares method to solve the center of the space plane circle ;
[0084]
[0085] in, is the normal vector of the fitted space plane, is the center of the plane circle in space, and They are the center positions of the standard ball at different angles.
[0086] According to the vector from any point on the fitting plane to the center of the circle is perpendicular to the normal direction of the plane, and the perpendicular bisector theorem, the above equations are constructed to solve the coordinates of the center of the fitting plane P0, the direction is the normal direction of the plane, ; then the direction through the center P0 is The straight line is recorded as the straight line where the axis of rotation lies.
[0087] S5, obtaining the cross-sectional profile data of the standard ball at different angles to reconstruct the surface morphology, and according to the turntable angle data, taking the axis anchor point as a reference, unifying the cross-sectional profile data at different angles into the same coordinate system to obtain the surface morphology information of the standard ball; Figure 5 Shown; including:
[0088] Translate the origin of the coordinate system of the cross-sectional profile data to the rotation axis anchor point;
[0089] Rotate the coordinate system of the cross-section profile data around the normal direction of the axis anchor point by an angle ; Among them, obtain the cross-section profile data The corresponding turntable angle is ; Get cross-section profile data The corresponding turntable angle is
[0090] Translate the origin of the coordinate system of the rotated section profile data to the original position.
[0091] S6, fitting is performed according to the surface morphology information of the standard ball, and nonlinear optimization of the axis parameters is performed according to the deviation between the obtained fitting value and the standard value, and the optimized axis parameters are used as calibration parameters. Figure 6 As shown, the specific steps include:
[0092] S501, setting the initial values and optimization parameters of the shaft parameters;
[0093] S502, reconstructing the surface morphology of the standard sphere;
[0094] S503, calculating the fitting residual of the standard sphere according to the surface morphology; specifically including:
[0095] Based on the initial values of the axis parameters, the surface morphology of the standard sphere is reconstructed;
[0096] According to the reconstructed standard sphere surface morphology data fitting, the sphere center position fitting value is obtained;
[0097] Calculate the distance from the standard sphere surface topography data to the sphere center position fitting value;
[0098] The residual difference between the distance and the standard radius of the standard sphere is calculated.
[0099] S504, determine whether the fitting residual meets the optimization conditions, if so, output the current axis parameters, if not, adjust the axis parameters and repeat S502-S504. The optimization here adopts nonlinear optimization, based on the interpolation list formed by the difference between the distance from the standard sphere surface morphology data to the sphere center position fitting value and the standard radius, determine the residual change trend and gradient, and automatically generate new axis parameters based on the residual change trend and gradient when it does not meet the optimization conditions.
[0100] like Figure 2 As shown, the present invention also provides a shaft parameter calibration system, which is used to implement the steps of the shaft parameter calibration method, including a turntable, a standard ball, a line profiler and a data processing module;
[0101] The standard ball fixed on the turntable is used to drive the standard ball to rotate and output the turntable angle data; the line profiler is used to obtain multiple cross-sectional profile data of the standard ball during the rotation of the turntable;
[0102] The data processing module is used to calculate the center coordinates and dimensions of the cross-sectional shape according to the cross-sectional profile data, and calculate the distance from the center of the standard sphere to the cross-sectional shape. ;
[0103] The radius of the ball section profile and the turntable angle are modeled, and the distance from the center of the standard ball to the section is calculated based on the fitting results of the model parameters. Make corrections to obtain the standard sphere center coordinate data set;
[0104] Fitting a space plane circle is performed according to the standard sphere center coordinate data set, and the center of the fitted space plane circle is calculated as the rotation axis anchor point;
[0105] Obtaining the cross-sectional profile data of the standard ball at different angles to reconstruct the surface morphology, and unifying the cross-sectional profile data at different angles into the same coordinate system based on the turntable angle data and the axis anchor point as a reference, to obtain the surface morphology information of the standard ball;
[0106] The surface morphology information of the standard sphere is used for fitting, and the nonlinear optimization of the shaft parameters is performed according to the deviation between the fitting value and the standard value. The optimized shaft parameters are used as calibration parameters.
[0107] The first data set A formed by multiple cross-sectional profile data; the corresponding turntable angle when obtaining each cross-sectional profile data Form a second data set B; calculate the corresponding cross-section circle center according to each cross-section profile data and the radius of the cross section .
[0108] The cross-sectional profile is obtained by scanning the standard ball on the turntable with a laser line profiler, and the cross-sectional profile is circular. For each profile, a plane circle fitting is performed to obtain the center of the cross-sectional circular profile. , the radius of the smallest circumscribed circle is the radius of the cross section circle .
[0109] Fitting a space plane circle according to the standard sphere center coordinate data set and calculating the center of the fitted space plane circle as the rotation axis anchor point include the following steps:
[0110] The standard sphere center coordinate data set is fitted to a spatial plane; in this application, the general equation of the spatial plane is used for fitting. ,in Let be the normal direction of the plane.
[0111] According to the fitted space plane normal vector, construct the following vector equation group and use the least squares method to solve the center of the space plane circle ;
[0112] According to the vector from any point on the fitting plane to the center of the circle is perpendicular to the normal direction of the plane, and the perpendicular bisector theorem, the above equations are constructed to solve the coordinates of the center of the fitting plane P0, the direction is the normal direction of the plane, ; then the direction through the center P0 is The straight line is recorded as the straight line where the axis of rotation lies.
[0113] Obviously, the above embodiments are only examples for clear explanation, and are not intended to limit the implementation methods. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from them are still within the protection scope of the invention.
Claims
1. A method for calibrating shaft parameters, characterized in that: The following steps are involved: A line profiler is used to obtain a plurality of cross-sectional profile data and corresponding turntable angle data of the standard ball during the rotation of the turntable; Calculate the section center coordinates and section profile radius based on the section profile data, and calculate the distance from the center of the standard sphere to the section ; The section profile radius and turntable angle are modeled, and the distance from the center of the standard ball to the section is calculated based on the fitting results of the model parameters. Correction is performed to obtain a standard sphere center coordinate data set; the modeling of the cross-sectional profile radius and the turntable angle includes establishing a fitting model using the following formula: in, is the radius of the cross section circle, R is the radius of the standard sphere, β represents the angle between the ideal light plane and the actual light plane, D represents the distance from the center of the sphere to the axis of rotation, h Indicates the distance from the rotation axis to the ideal light plane; is the turntable angle corresponding to each cross-sectional circle; is the initial phase angle; Fitting a space plane circle is performed according to the standard sphere center coordinate data set, and the center of the fitted space plane circle is calculated as the rotation axis anchor point; Obtaining the cross-sectional profile data of the standard ball at different angles to reconstruct the surface morphology, and unifying the cross-sectional profile data at different angles into the same coordinate system based on the turntable angle data and the axis anchor point as a reference, to obtain the surface morphology information of the standard ball; The surface morphology information of the standard sphere is used for fitting, and the nonlinear optimization of the shaft parameters is performed according to the deviation between the fitting value and the standard value. The optimized shaft parameters are used as calibration parameters.
2. The shaft parameter calibration method according to claim 1, characterized in that: The calculating of the cross-section center coordinates according to the cross-section profile data also includes: Forming a first data set A from a plurality of cross-sectional profile data; The turntable angle corresponding to each section profile data , forming a second data set B; According to each section profile data, calculate the corresponding section circle center and the radius of the cross section , the radius of each cross-section circle A third data set C is formed.
3. The shaft parameter calibration method according to claim 2, characterized in that: The fitting results of the model parameters are used to calculate the distance from the center of the standard sphere to the cross section. Correction is performed to obtain the standard sphere center coordinate data set, including: When acquiring each cross-sectional profile data, the corresponding turntable angle in the second data set B and the corresponding cross-sectional radius in the third data set C , input the fitting model for optimization and calculate the model parameters ; According to the obtained model parameters, determine the distance from the center of the standard sphere to the cross section The sign and corresponding angle range; According to the distance from the center of the standard ball to the cross section The sign of the distance from the center of the standard sphere to the cross section Reassign values to obtain the standard sphere center coordinate data set.
4. The method for calibrating shaft parameters according to claim 3, characterized in that: The fitting results of the model parameters are used to calculate the distance from the center of the standard sphere to the cross section. Make corrections, including judging according to the following conditions Symbols: When D > h, the turntable angle The distance from the center of the standard ball to the cross section is within the range Negate the sign of ; When D ≤ h, maintain the distance from the center of the standard sphere to the cross section The sign remains unchanged.
5. The method for calibrating shaft parameters according to claim 1, characterized in that: Fitting a space plane circle according to the standard sphere center coordinate data set and calculating the center of the fitted space plane circle as the rotation axis anchor point include the following steps: Performing spatial plane fitting on the standard sphere center coordinate data set; According to the fitted space plane normal vector, construct the vector equation group shown in the following formula, and use the least squares method to solve the center of the space plane circle ; in, is the normal vector of the fitted space plane, d is a constant, is the center of the plane circle in space, and They are the center positions of the standard ball at different angles.
6. The method for calibrating shaft parameters according to claim 1, characterized in that: Obtaining the cross-sectional profile data of the standard ball at different angles to reconstruct the surface morphology, and unifying the cross-sectional profile data at different angles into the same coordinate system based on the turntable angle data and the axis anchor point as a reference, to obtain the surface morphology information of the standard ball; including: Translate the origin of the coordinate system of the cross-sectional profile data to the rotation axis anchor point; Rotate the coordinate system of the cross-section profile data around the normal direction of the axis anchor point by an angle ;in, Indicates the turntable angle when obtaining the current section profile data; Translate the origin of the coordinate system of the rotated section profile data to the original position.
7. The method for calibrating shaft parameters according to claim 1, characterized in that: Fitting is performed according to the surface morphology information of the standard ball, nonlinear optimization of the shaft parameters is performed according to the deviation between the obtained fitting value and the standard value, and the optimized shaft parameters are used as calibration parameters, including the following steps: S501, setting the initial values and optimization parameters of the shaft parameters; S502, reconstructing the surface morphology of the standard sphere; S503, calculating the fitting residual of the standard sphere according to the surface morphology; S504, determine whether the fitting residual meets the optimization conditions, if so, output the current axis parameters, if not, adjust the axis parameters and repeat S502-S504.
8. The method for calibrating shaft parameters according to claim 7, characterized in that: The reconstructing the surface morphology of the standard sphere and calculating the fitting residual of the standard sphere according to the surface morphology include: Based on the initial values of the axis parameters, the surface morphology of the standard sphere is reconstructed; According to the reconstructed standard sphere surface morphology data fitting, the sphere center position fitting value is obtained; Calculate the distance from the standard sphere surface topography data to the sphere center position fitting value; The residual difference between the distance and the standard radius of the standard sphere is calculated.
9. A shaft parameter calibration system, characterized in that: The method for implementing the method of calibrating the parameters of the rotating shaft according to any one of claims 1 to 8 comprises a turntable, a standard ball, a line profiler and a data processing module; The standard ball fixed on the turntable is used to drive the standard ball to rotate and output the turntable angle data; the line profiler is used to obtain multiple cross-sectional profile data of the standard ball during the rotation of the turntable; The data processing module is used to calculate the center coordinates and dimensions of the cross-sectional shape according to the cross-sectional profile data, and calculate the distance from the center of the standard sphere to the cross-sectional shape. ; The radius of the ball section profile and the turntable angle are modeled, and the distance from the center of the standard ball to the section is calculated based on the fitting results of the model parameters. Make corrections to obtain the standard sphere center coordinate data set; Fitting a space plane circle is performed according to the standard sphere center coordinate data set, and the center of the fitted space plane circle is calculated as the rotation axis anchor point; Obtaining the cross-sectional profile data of the standard ball at different angles to reconstruct the surface morphology, and unifying the cross-sectional profile data at different angles into the same coordinate system based on the turntable angle data and the axis anchor point as a reference, to obtain the surface morphology information of the standard ball; The surface morphology information of the standard sphere is used for fitting, and the nonlinear optimization of the shaft parameters is performed according to the deviation between the fitting value and the standard value. The optimized shaft parameters are used as calibration parameters.
