CN114218626A - Curved surface body positioning reference plane adjusting method based on nonlinear least square - Google Patents
Curved surface body positioning reference plane adjusting method based on nonlinear least square Download PDFInfo
- Publication number
- CN114218626A CN114218626A CN202111482742.9A CN202111482742A CN114218626A CN 114218626 A CN114218626 A CN 114218626A CN 202111482742 A CN202111482742 A CN 202111482742A CN 114218626 A CN114218626 A CN 114218626A
- Authority
- CN
- China
- Prior art keywords
- curved surface
- coordinate
- surface body
- coordinate system
- follows
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/18—Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Mathematical Physics (AREA)
- Pure & Applied Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Algebra (AREA)
- Geometry (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Operations Research (AREA)
- Probability & Statistics with Applications (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Numerical Control (AREA)
Abstract
The invention relates to a curved surface body positioning reference plane adjusting method based on nonlinear least squares, belonging to the field of curved surface body positioning reference plane adjustment; the technical problem to be solved is as follows: the improvement of a curved surface body positioning reference plane adjusting method based on nonlinear least squares is provided; the technical scheme for solving the technical problem is as follows: after the curved surface body is fixed on the workbench, coordinates of registration control points on the curved surface body are obtained through measurement of a laser tracker; in the Boolean sand model, a center auxiliary conversion coordinate system is established by translating the original points of the two coordinate systems to the central position of the reference control point; solving a center auxiliary coordinate conversion model based on a nonlinear least square method and a Gaussian-Newton iteration method to obtain seven parameters, adjusting based on offset and a scaling, compensating corresponding displacement and deflection angle values to a reference plane, and moving the curved surface body to an optimal working position; the method is applied to the field of positioning of the reference plane of the curved surface body.
Description
Technical Field
The invention discloses a curved surface body positioning reference plane adjusting method based on nonlinear least squares, and belongs to the field of curved surface body positioning reference plane adjusting.
Background
At present, when a machine tool is used for carrying out fine machining on a curved surface body, the difficulty in positioning the reference plane of the curved surface body is high, the curved surface body can be placed on a machine tool workbench or an attitude adjusting driver in any attitude, a certain position deviation exists between the reference plane and a coordinate system of the workbench, and displacement compensation operations such as origin offset and coordinate axis deflection need to be carried out.
At present, for the adjustment of a curved surface body positioning reference, a Boolean sand model is generally adopted to carry out coordinate conversion on the curved surface body positioning reference, in the process of calculating and solving parameters, secondary and above-secondary components are omitted from the conversion model, or a trigonometric function in a rotation matrix is approximately processed to form an angle, so that a larger truncation error is generated, the coordinate conversion precision is damaged, the calculation process is complicated, the influence of reference point selection on the parameters is larger, and the precision is lower because the calculation parameters omit a high-order term of an expansion formula, the adjustment method is only suitable for the condition of a tiny rotation angle, or a coordinate system conversion algorithm of a nonlinear least square method based on seven parameters, the calculation process is complicated, and the parameter deviation is increased.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to solve the technical problems that: the improvement of the method for adjusting the positioning reference plane of the curved surface body based on the nonlinear least square is provided.
In order to solve the technical problems, the invention adopts the technical scheme that: the method for adjusting the positioning reference plane of the curved surface body based on the nonlinear least square comprises the following adjusting steps:
the method comprises the following steps: and setting a theoretical coordinate system of a curved surface body as follows:the theoretical coordinates of the three registration points A, B and C are respectively as follows:
after the curved surface body is fixed on the workbench, coordinates of registration control points on the curved surface body are obtained through measurement of a laser tracker;
setting the actual coordinate system of the curved surface body as follows:and the actual coordinates of the three registration points D, E and F are respectively as follows:
the deviation of the actual coordinate system of the curved surface body from the theoretical coordinate system comprises 3 translation parameters,,Each parameter represents the translation along X, Y, Z axes, 3 rotation parameters alpha, beta and gamma represent the rotation angle around X, Y, Z axes, and the actual coordinate systemRelative theoretical coordinate systemThe scale of (a) is k;
step two: in the Boolean Sand model, a center auxiliary conversion coordinate system is established by translating the original points of two coordinate systems to the central positions of respective reference control points:
the coordinate conversion model based on the Boolean-Walff model is constructed as follows:
wherein:
the method is simplified to obtain:
wherein:respectively as a theoretical coordinate systemCoordinate values of the upper reference point;
the rotation matrixes are respectively a rotation matrix of a curved surface body actual coordinate system rotating around a Z axis by an angle alpha, rotating around a Y axis by an angle beta and rotating around a Z axis by an angle gamma;
as a theoretical coordinate systemGConversion to a real coordinate systemLA rotational transformation matrix of (a);
calculating the center point position of the registration point as follows:
wherein:Xis the coordinates of the registration point in the coordinate system,Nin order to determine the number of registration points,the central coordinates of the registration point set are obtained;
wherein:is a central pointThe coordinate value of (a) on the X-axis,is a central pointThe coordinate value of the Y-axis of (c),is a central pointZ-axis coordinate values of (a);
wherein:is a central pointThe coordinate value of (a) on the X-axis,is a central pointThe coordinate value of the Y-axis of (c),is a central pointZ-axis coordinate values of (a);
then, constructing a center auxiliary coordinate conversion model based on the Boolean-Walff model as follows:
wherein:
in the formula:is the theoretical coordinate of the set of control points,is the actual coordinates of the control point set;
step three: solving a center auxiliary coordinate conversion model based on a nonlinear least square method and a Gaussian-Newton iteration method to obtain seven parameters, and adjusting the position of the curved surface body to reach the optimal working position according to the seven parameters:
Wherein the three-dimensional coordinate transformation modelAccording to the least square principle, solving the minimum value as follows:
in the formula:
in the resolving process, solving by adopting a Gaussian-Newton iteration method, wherein the specific steps are as follows;
step 3.1: will be provided withLinearization at the reference pointTo pairPerforming Taylor expansion to obtain:
in the iteration process, stopping iteration when one norm of two adjacent seven-parameter vector differences meets the precision requirement or is smaller than a certain threshold value, and obtaining the optimal solution under the least square rule;
step 3.3: solved forx,y,zThe offset of the actual coordinate system origin of the curved surface body and the theoretical coordinate origin is obtained;
the calculated alpha, beta and gamma are deflection angles of three coordinate axes of an actual coordinate system and three coordinate axes of a theoretical coordinate system of the curved surface body;
the calculated k is the scale scaling of the two coordinate systems;
step 3.4: and adjusting based on the offset and the scaling, compensating corresponding displacement and deflection angle values to the reference plane, and moving the curved surface body to the optimal working position.
Compared with the prior art, the invention has the beneficial effects that: the invention provides a curved surface body positioning reference plane adjusting method based on a nonlinear least square center-aided space coordinate conversion algorithm, which comprises the steps of solving the center coordinates of a reference point on a theoretical model and a reference point measured by a laser tracker, and solving the optimal value of seven parameters by using the minimum value of a multivariate function, wherein the convergence speed is high under the condition of improving the precision, the calculation result is correct and stable, and a new solution is provided for solving the problem of curved surface body reference adjustment; through experimental calculation, the method can reduce iteration times and convergence, can obtain the same accurate seven-parameter explanation, and the method is effective in solving the problem of large rotation angle and has the characteristic of quick convergence.
Detailed Description
When the method is implemented, a registration reference point is planned in advance on a CAD model of the curved surface body, high-precision measuring equipment such as a laser tracker is adopted to detect the position of the registration reference point of the curved surface body on a workbench, after the position on the workbench of the reference surface is known, a mathematical model of a more accurate fitting pose of reference plane positioning is constructed by improving a seven-parameter Boolean sand coordinate conversion formula, and the position relation between the theoretical coordinate of the curved surface body and the actual coordinate of the curved surface body is solved, namely the displacement and the rotation angle of the positioning reference plane needing to be adjusted are obtained, so that the calculated amount can be effectively reduced, and the efficiency of the reference surface positioning of the curved surface body is improved; the method for adjusting the positioning reference plane of the curved surface body has universality and applicability, and can be used in the adjustment process of different reference planes of complex curved surface bodies.
The above-mentioned is a curved surface body registration control point, which refers to a model registration control point set planned in advance on a CAD or three-dimensional model of a curved surface body, and selects a feature point of the curved surface body as a model registration control point, and the selected target is: the method has the advantages that the characteristics can be identified as much as possible, the measurement is convenient, the registration is stable, and the registration positioning precision and efficiency are higher as much as possible under the condition of meeting the registration reliability requirement; such as the intersection of the curved surfaces, the supporting point under the curved surfaces, the characteristic point of the special structure of the curved surfaces, and the like; and selecting a proper reference control point, and taking three points which are not on the same straight line as reference points, wherein the three points are taken as a reference plane, namely the change of the posture of the curved body is reflected on the displacement and deflection of the reference plane.
In order to obtain the position of the reference surface of the actual curved body, the relative position of the actual coordinate system and the theoretical coordinate system of the curved body needs to be known, and then the coordinate conversion relation between the three actual registration points of the curved body and the three registration points of the theoretical model needs to be obtained, so that the conversion relation between the coordinate system of the curved body on a worktable and the coordinate system of the theoretical model needs to be obtained first, that is, the relative position of the reference surface of the curved body on the worktable is known, and the conversion parameters are the displacement and the rotation angle which need to be adjusted, and the optimal position of the curved body in work is achieved by adjusting the position of the reference surface; the invention is provided with a theoretical coordinate system of the curved surface body and a working coordinate system which are superposed (coordinate origin is superposed and coordinate axis is superposed), namely a reference surface on the theoretical coordinate system is an actual position to which a positioning reference plane of the curved surface body on a working table needs to be adjusted; in practical application, the position relationship between the theoretical coordinate system and the working coordinate system of the curved surface body needs to be specifically analyzed.
The invention provides a center auxiliary space coordinate conversion algorithm based on nonlinear least square, which is used for adjusting the surface body reference, solving the center coordinates of a reference point on a theoretical model and a reference point measured by a laser tracker, adopting a multivariate function minimum value to solve a seven-parameter optimal value, and providing a new solution for the surface body reference adjustment, wherein the method specifically comprises the following steps:
firstly, a theoretical coordinate system of a curved surface body is set as follows:the theoretical coordinates of three registration points A, B and C are respectively as follows:
after the curved surface body is fixed on the workbench, coordinates of registration control points on the curved surface body are obtained through measurement of a laser tracker, and an actual coordinate system of the curved surface body is set as follows:and the actual coordinates of the three registration points D, E and F are respectively as follows:
the deviation of the actual coordinate system of the curved body from the theoretical coordinate system comprises 3 translation parameters,,Representing the amount of translation along the X, Y, Z axes, respectively, and the 3 rotation parameters α, β, γ represent the rotation angles around the X, Y, Z axis, respectively;
actual coordinate systemRelative theoretical coordinate systemIs scaled by k. The theoretical coordinate system G of the curved surface body position and the origin of the actual position coordinate system L are not coincident, and the directions of all coordinate axes are different.
Then, a coordinate conversion model based on the Boolean-Walff model is constructed:
wherein:
the method is simplified to obtain:
in the Boolean Sand model, the origin points of two coordinate systems are translated to the central position of a reference control point, and a central auxiliary conversion coordinate system is established to uniformly distribute the reference control point.
First, the position of the center point is calculated:
similarly, the central point of three registration points on the theoretical coordinateCoordinates are as follows:
then, constructing a center auxiliary coordinate conversion model based on the Boolean-Walff model as follows:
wherein:
is the theoretical coordinate of the set of control points,is the actual coordinates of the control point set;
at the moment, the X, Y and Z axes of the central auxiliary conversion coordinate system are parallel to the X, Y and Z axes of the theoretical coordinate system;
then, solving a center auxiliary coordinate conversion model by using a nonlinear least square method and a Gaussian-Newton iteration method to obtain seven parameters:
Wherein the three-dimensional coordinate transformation modelAnd solving a minimum value according to a least square principle:
in the formula:
in the resolving process, solving by adopting a Gaussian-Newton iteration method:
in the iteration process, when one norm of the vector difference of two adjacent seven parameters is smaller than a certain threshold value, the iteration is stopped, and the optimal solution under the least square rule can be obtained.
Solved forx,y,zThe offset of the actual coordinate system origin of the curved surface body and the theoretical coordinate origin is obtained;
alpha, beta and gamma are deflection angles of three coordinate axes of an actual coordinate system and three coordinate axes of a theoretical coordinate system of the curved surface body;
k is the scale of two coordinate systems;
and finally, the optimal working position of the curved surface body is achieved by adjusting the corresponding displacement and deflection angle positions of the reference surface.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (1)
1. The method for adjusting the positioning reference plane of the curved surface body based on the nonlinear least square is characterized in that: the method comprises the following adjustment steps:
the method comprises the following steps: and setting a theoretical coordinate system of a curved surface body as follows:the theoretical coordinates of the three registration points A, B and C are respectively as follows:
after the curved surface body is fixed on the workbench, coordinates of registration control points on the curved surface body are obtained through measurement of a laser tracker;
setting the actual coordinate system of the curved surface body as follows:and the actual coordinates of the three registration points D, E and F are respectively as follows:
the deviation of the actual coordinate system of the curved surface body from the theoretical coordinate system comprises 3 translation parameters,,Each parameter represents the translation along X, Y, Z axes, 3 rotation parameters alpha, beta and gamma represent the rotation angle around X, Y, Z axes, and the actual coordinate systemRelative theoretical coordinate systemThe scale of (a) is k;
step two: in the Boolean Sand model, a center auxiliary conversion coordinate system is established by translating the original points of two coordinate systems to the central positions of respective reference control points:
the coordinate conversion model based on the Boolean-Walff model is constructed as follows:
wherein:
the method is simplified to obtain:
wherein:respectively as a theoretical coordinate systemCoordinate values of the upper reference point;
the rotation matrixes are respectively a rotation matrix of a curved surface body actual coordinate system rotating around a Z axis by an angle alpha, rotating around a Y axis by an angle beta and rotating around a Z axis by an angle gamma;
as a theoretical coordinate systemGConversion to a real coordinate systemLA rotational transformation matrix of (a);
calculating the center point position of the registration point as follows:
wherein:Xis the coordinates of the registration point in the coordinate system,Nin order to determine the number of registration points,the central coordinates of the registration point set are obtained;
wherein:is a central pointThe coordinate value of (a) on the X-axis,is a central pointThe coordinate value of the Y-axis of (c),is a central pointZ-axis coordinate values of (a);
wherein:is a central pointThe coordinate value of (a) on the X-axis,is a central pointThe coordinate value of the Y-axis of (c),is a central pointZ-axis coordinate values of (a);
then, constructing a center auxiliary coordinate conversion model based on the Boolean-Walff model as follows:
wherein:
in the formula:is the theoretical coordinate of the set of control points,is the actual coordinates of the control point set;
step three: solving a center auxiliary coordinate conversion model based on a nonlinear least square method and a Gaussian-Newton iteration method to obtain seven parameters, and adjusting the position of the curved surface body to reach the optimal working position according to the seven parameters:
Wherein the three-dimensional coordinate transformation modelAccording to the least square principle, solving the minimum value as follows:
in the formula:
in the resolving process, solving by adopting a Gaussian-Newton iteration method, wherein the specific steps are as follows;
step 3.1: will be provided withLinearization at the reference pointTo pairPerforming Taylor expansion to obtain:
in the iteration process, stopping iteration when one norm of two adjacent seven-parameter vector differences meets the precision requirement or is smaller than a certain threshold value, and obtaining the optimal solution under the least square rule;
step 3.3: solved forx,y,zThe offset of the actual coordinate system origin of the curved surface body and the theoretical coordinate origin is obtained;
the calculated alpha, beta and gamma are deflection angles of three coordinate axes of an actual coordinate system and three coordinate axes of a theoretical coordinate system of the curved surface body;
the calculated k is the scale scaling of the two coordinate systems;
step 3.4: and adjusting based on the offset and the scaling, compensating corresponding displacement and deflection angle values to the reference plane, and moving the curved surface body to the optimal working position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111482742.9A CN114218626A (en) | 2021-12-07 | 2021-12-07 | Curved surface body positioning reference plane adjusting method based on nonlinear least square |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111482742.9A CN114218626A (en) | 2021-12-07 | 2021-12-07 | Curved surface body positioning reference plane adjusting method based on nonlinear least square |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114218626A true CN114218626A (en) | 2022-03-22 |
Family
ID=80699953
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111482742.9A Pending CN114218626A (en) | 2021-12-07 | 2021-12-07 | Curved surface body positioning reference plane adjusting method based on nonlinear least square |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114218626A (en) |
-
2021
- 2021-12-07 CN CN202111482742.9A patent/CN114218626A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111590594B (en) | Robot trajectory tracking control method based on visual guidance | |
CN111367236B (en) | Mobile robot system calibration method and system for machining process | |
CN108279643B (en) | Workpiece attitude adjusting method based on measuring point and self-adaptive differential evolution algorithm | |
Fu et al. | Product-of-exponential formulas for precision enhancement of five-axis machine tools via geometric error modeling and compensation | |
CN109454281B (en) | Method for calibrating propeller workpiece coordinate system in robot milling | |
Peng et al. | Total differential methods based universal post processing algorithm considering geometric error for multi-axis NC machine tool | |
CN109765848B (en) | Method for calculating geometric error contribution value of motion axis of five-axis machine tool and evaluating influence | |
CN111708326B (en) | Self-adaptive compensation machining method for turbine blade air film cooling hole | |
CN111055273B (en) | Two-step error compensation method for robot | |
CN112558547B (en) | Quick optimization method for geometric error compensation data of translational shaft of five-axis numerical control machine tool | |
CN110125455B (en) | Method for optimizing drill bit pose in robot drilling | |
CN109366220B (en) | Workpiece positioning method and system | |
CN104615083A (en) | Curved surface tool path contour error compensation method based tool location point correction | |
WO2022170841A1 (en) | Benchmark selection method for minimizing hole position errors in large-component hole group machining | |
US10732604B2 (en) | System and method for virtually calibrating a computer numeric controlled machine to compensate for surface distortions | |
CN110161965B (en) | On-machine measurement method for large-scale aerospace casing inclined hole | |
CN112325773B (en) | Method for calibrating beam direction vector and origin position of laser displacement sensor | |
CN111426270A (en) | Industrial robot pose measurement target device and joint position sensitive error calibration method | |
CN110686655B (en) | Positioning method, device and system for three-dimensional curved surface workpiece | |
JP7276788B2 (en) | Compensation method for optimizing the compensation ratio of major geometric errors of 5-axis numerically controlled machine tools | |
CN110989490A (en) | Method for acquiring optimal installation position of workpiece based on contour error | |
Yu et al. | Post-processing algorithm of a five-axis machine tool with dual rotary tables based on the TCS method | |
CN113240753A (en) | Sphere fitting method for calibrating base coordinate system of robot and double-shaft deflection mechanism | |
CN114218626A (en) | Curved surface body positioning reference plane adjusting method based on nonlinear least square | |
CN115609088A (en) | Gear and method for machining and back-adjusting and correcting tooth surface of gear |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |