Car door and car body side wall accurate matching adjustment method based on scanning measurement
Technical Field
The invention relates to the technical field of matching adjustment of a vehicle door and a vehicle body side wall, in particular to a method for accurately matching adjustment of the vehicle door and the vehicle body side wall based on scanning measurement.
Background
With the development of social economy, automobile appearance quality and aesthetic degree are increasingly valued by automobile manufacturers and consumers. The vehicle profile depends not only on the quality of manufacture of the individual outer cover parts themselves, but also on the quality of the fit between adjacent outer cover parts after assembly. Therefore, in the automobile development process, manufacturers can carry out actual vehicle construction on the external covering parts so as to obtain the optimal shape matching result based on the current manufactured parts, and the method is used for improving the part manufacturing process and the whole vehicle assembly process. The matching of the vehicle door and the side wall of the vehicle body is a weight which affects the appearance of the vehicle and occupies more than half of the workload of the whole matching task.
The appearance matching and adjusting process of the real vehicle is that each part is initially positioned and installed by adopting an RPS point defined in a reference point system (REFERENCE POINT SYSTEM, for short, RPS), and then the position and the posture of each part are slightly adjusted, so that a more optimized matching result between adjacent parts is obtained. However, the adjustment process is especially dependent on experience of workers, and is complex and time-consuming, and the main reasons are that the detection of the matching condition between parts is very time-consuming, the matching condition is described by the gap and the surface difference around the parts, the gap/surface difference ruler or the three-coordinate measuring machine is required to detect all the parts, the detection is required to be carried out once again for each adjustment of the parts, the adjustment freedom degree of the parts in the position and the posture of the space is very time-consuming, the adjustment of one part involves 6 degrees of freedom, the change of the degree of freedom in one direction can cause the change of the gap and the surface difference of the matching at a plurality of positions, thus the adjustment process often appears that the originally well-matched area is poor due to the new adjustment, the adjustment is required to be restrained by the connecting parts, the parts are connected and fixed through hinges, bolts and the like, and the connecting parts can only move on the surfaces of the parts attached to the parts and have tolerance constraint, and the adjustment of the parts can be influenced.
At present, the real vehicle matching and adjusting steps of the vehicle door and the side wall of the vehicle body are usually that (1) the vehicle door, the side wall and the hinge parts are prepared, (2) the hinge is fixed on the vehicle door or the side wall by adopting a special fixture, (2) the side wall is positioned and installed according to RPS points, (3) the upper hinge and the lower hinge between the rear vehicle door and the side wall are hung on the side wall, (4) the gap and the face difference matching result of the rear vehicle door and the side wall at key points is checked, the possible optimal matching result is estimated according to experience, the position of the hinge is adjusted by using a hammer beating mode, so that the position of the rear door is driven to be adjusted, the checking, estimating and adjusting processes of the steps are repeated until engineering personnel consider that a satisfactory matching result is obtained, and (5) the front vehicle door is adjusted according to steps (3) and (4) similar to the rear vehicle door. When the hammer strikes the hinge, the hinge is not easy to adjust if the force is small, and the hinge is easy to be excessively adjusted if the force is too large, so that the hinge needs to be reversely struck. It can be seen that whether the matching result is appropriate depends entirely on human judgment. Therefore, the assembly and adjustment process of the vehicle door is time-consuming and labor-consuming, and an optimal matching result cannot be accurately assembled and adjusted.
There are also studies on optimizing the matching situation of the vehicle body panel by registering measured data with a theoretical model, for example, matching optimization of the vehicle body part is realized by establishing a panel matching model based on a characteristic point set in a vehicle body panel matching method under the line segment haustdoff distance metric disclosed by characters on a seal carved in relief peak, queen and Li Yanping (university of the same university, 2009,37 (12): 1648-1652), then quickly searching for matching deformation position variables in parallel based on a genetic algorithm, obtaining a part matching edge contour line by B-spline curve fitting in a document "The non-closed parts optimal fitting method based on curvature Hausdorff distance using 3D non-contact measurement points"(Proceedings of the Institution of Mechanical Engineers,Part D:Journal of Automobile Engineering,2013,227(2):201-212) disclosed by Wang H and Yu J, then obtaining an optimized B-spline curve based on the curvature Hausdorff distance, and calculating and searching for a part matching optimization mode based on a gaussian mapping and a mathematical statistics in a complex structure matching analysis and optimization based on gaussian mapping (university of the same university of the upper sea, 2013,47 (5): 840-845) disclosed by authors such as Xu Chuan, wu, wang Hua.
However, the existing researches do not consider the actual hinge adjustment condition, that is, the matching optimization results of the parts are theoretically feasible, but engineering staff cannot use the results to perform actual adjustment, and in fact, the results are likely to be impossible to adjust. Therefore, it is desirable to invent a method for precisely matching and adjusting the door and the body of an automobile, which can be used for practical engineering, so that the matching result is precise, optimal and can be adjusted.
Disclosure of Invention
The invention aims to solve one of the technical problems existing in the prior art.
Aiming at the defects of the prior art, the invention provides a method for accurately matching and adjusting the vehicle door and the vehicle body side wall based on scanning measurement, which has accurate and optimal matching result and can be practically assembled and adjusted, and the method comprises the following steps:
acquiring an initial position of a hinge in a virtual matching environment;
in the state that the characteristic information is obtained, carrying out optimization processing on the characteristic information according to a first preset method;
and calculating and forming a position adjustment amount matched with the hinge according to the initial position in a state that the characteristic information is optimized.
Further defined, the method for precisely matching and adjusting the door and the side wall of the vehicle body based on the scanning measurement, before obtaining the initial position of the hinge in the virtual matching environment, further comprises:
And scanning and measuring the appearance of the vehicle door and the side wall of the vehicle body to be assembled to obtain the measuring point cloud data of the vehicle door and the side wall measuring point cloud data.
Further defined, the method for precisely matching and adjusting the vehicle door and the vehicle body side wall based on the scanning measurement, wherein obtaining the initial position of the hinge in the virtual matching environment specifically comprises the following steps:
Performing door RPS alignment processing on the cloud data of the measuring points of the door and a door theoretical model matched with the door;
aligning the point cloud data of the vehicle body side and a side body theoretical model matched with the vehicle body side to the RPS of the vehicle body side so as to form the virtual matching environment;
in the current virtual matching environment, a hinge theoretical model is matched and set on the cloud data of the measuring points of the vehicle door and the vehicle body side wall;
And forming the initial position of the hinge according to the hinge theoretical model.
Further defined, the method for precisely matching and adjusting the vehicle door and the vehicle body side wall based on the scanning measurement, wherein the optimizing processing of the characteristic information according to the first predetermined method in the state of acquiring the characteristic information specifically comprises the following steps:
Forming characteristic information according to the position information of the vehicle door in a state that the vehicle door is installed;
And carrying out optimization processing on the characteristic information according to a first preset method to form a matching coordinate transformation matrix.
Further defined, the method for precisely matching and adjusting the vehicle door and the vehicle body side wall based on the scanning measurement is as follows:
Wherein M is a vehicle door matching coordinate transformation matrix;
m is the number of key points on the vehicle door and the side wall;
p i is the measurement of the ith keypoint;
q i is the theoretical value of the ith key point;
w i is the i-th key point weight;
n i is the normal vector of q i;
Epsilon -、ε+ is the tolerance constraint of q i or the fall-off forbidden constraint.
Further defined, the method for precisely matching and adjusting the door and the side wall of the vehicle body based on the scan measurement, wherein calculating and forming the position adjustment tool matched with the hinge according to the initial position in the state that the characteristic information is optimized, specifically comprises:
acquiring a group of coaxial reference points of each hinge according to the initial position;
And adjusting the coaxial reference point of each hinge in a state that the characteristic information is optimized so that the coaxial reference points of all hinges are coaxial, and forming a position adjustment amount matched with the current hinge according to the adjustment value of each hinge.
Further defined, the method for precisely matching and adjusting the door and the side wall of the vehicle body based on the scan measurement, wherein the method for adjusting the coaxial reference point of each hinge in a state that the feature information is optimized so that the coaxial reference points of all hinges are coaxial, and forming the position adjustment tool matched with the current hinge according to the adjustment value of each hinge specifically comprises:
forming a hinge center matrix according to the coaxial reference points of each hinge, and performing matrix transformation on the hinge center matrix to form a hinge center transformation matrix;
Forming basic coordinates of coaxial reference points of each hinge according to the hinge center transformation matrix, and performing straight line fitting processing on the basic coordinates to form a fitting central axis;
performing projection processing on the basic coordinates to a YOZ plane to form a first axis distance, a first mark midpoint, a first mark distance and a first mark rotation angle;
forming a translational adjustment amount in the direction of each hinge X, Y, Z in the YOZ plane according to the first axis distance, the first mark midpoint, the first mark distance, the first mark rotation angle;
performing projection processing on the basic coordinates to an XOZ plane to form a second axis distance, a second mark midpoint, a second mark distance and a second mark rotation angle;
forming a translational adjustment amount in the direction of each hinge X, Y, Z in the XOZ plane according to the second axis distance, second mark midpoint, second mark distance, second mark rotation angle;
Iterative modulation is performed according to the translational adjustment in the direction of each hinge X, Y, Z in the YOZ plane and the translational adjustment in the direction of each hinge X, Y, Z in the XOZ plane until the coaxial reference points of all the hinges are coaxial.
Further defined, the method for precisely matching and adjusting the vehicle door and the vehicle body side wall based on the scanning measurement, wherein performing projection processing on the basic coordinate to the YOZ plane to form a first axis distance, a first mark midpoint, a first mark distance and a first mark rotation angle specifically comprises:
Performing projection processing on the basic coordinate value to a YOZ plane to form a first projection coordinate point, and calculating to obtain the first axis distance between the first projection coordinate point and the central axis;
And taking two first projection coordinate points of any hinge to form a first mark point coordinate and a second mark point coordinate, and calculating to form a first mark midpoint, a first mark distance and a first mark rotation angle of the first mark point coordinate along the X-axis direction around the mark midpoint according to the first mark point coordinate and the second mark circle center coordinate.
Further defined, the method for precisely matching and adjusting the vehicle door and the vehicle body side wall based on the scan measurement, wherein the method for forming the translational adjustment tool on each hinge X, Y, Z direction in the YOZ plane according to the first axis distance, the first mark midpoint, the first mark distance, and the first mark rotation angle is specifically as follows:
Wherein, the A translational adjustment amount in xyz direction for the coaxial reference point represented by the first marker point coordinates;
A translational adjustment amount in xyz direction for the coaxial reference point represented by the second marker point coordinates;
the first axis distance corresponding to the first mark point coordinate is set;
for the first marker distance;
for the first index rotation angle.
Further defined, including the above-mentioned accurate matching adjustment method of door and automobile body side wall based on scanning measurement still includes:
The hinge is adjusted according to the position adjustment amount so that the hinge is fixed to a target position of the door and/or the body.
The invention has the following beneficial effects:
Corresponding point cloud data are acquired through scanning the vehicle door and the side wall appearance of the vehicle body, a virtual environment is established, a hinge theoretical model is used for optimizing the point cloud data in the virtual environment, and after the face difference and the gap of key points are optimized, the translation adjustment quantity of the hinge is calculated based on an optimization result, wherein the establishment of the virtual environment ensures the accuracy and the reliability of an optimization scheme, the acquired hinge translation adjustment quantity can be used for giving a positioning basis in the actual installation process of the hinge, and the acquired hinge translation adjustment quantity is applied to the actual installation of the hinge, so that the optimal vehicle door adjustment effect can be acquired.
Drawings
FIG. 1 is a schematic diagram of a theoretical model in a virtual matching environment according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a theoretical model in a virtual matching environment according to an embodiment of the present application;
FIG. 3 is a schematic diagram of measurement data in a virtual matching environment according to an embodiment of the present application;
FIG. 4 is a schematic view of the outline of a "theoretical model 25 of hinge" according to an embodiment of the present application;
FIG. 5 is a schematic diagram of the connection of a "theoretical model 25 of hinge" according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating the position of a "definition circle 254" according to an embodiment of the present application;
FIG. 7 is a schematic view of the calculation of the translational adjustment amount by projecting the center of the "definition circle 254" on the yoz plane according to the embodiment of the present application;
FIG. 8 is a schematic diagram illustrating the location of key points according to an embodiment of the present application;
fig. 9 is a flowchart of a method for precisely matching and adjusting a vehicle door and a vehicle body side wall based on scanning measurement according to an embodiment of the application.
Reference numerals
Front door point cloud data-11, rear door point cloud data-12, vehicle body point cloud data-13, first key points-14, second key points-15, third key points-16, fourth key points-17, fifth key points-18, sixth key points-19, seventh key points-20, eighth key points-21, front door theoretical model-22, rear door theoretical model-23, vehicle body theoretical model-24, hinge theoretical model-25, vehicle body side wall hinge-251, vehicle door hinge-252, connecting pins-253, and defined circle-254.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The server provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
As shown in FIG. 9, the embodiment of the application provides a method for accurately matching and adjusting a vehicle door and a vehicle body side wall based on scanning measurement, which comprises the following steps of
S1, carrying out appearance scanning measurement on a vehicle door and a vehicle body side wall to be assembled and regulated to obtain point cloud data, carrying out RPS alignment on the point cloud data of the vehicle door and the vehicle body side wall and respective theoretical models to realize preliminary matching and establish a virtual matching environment, and aligning a hinge theoretical model 25 on the measured point cloud under the virtual environment to obtain an initial position of a hinge;
S2, defining key points for matching, and carrying out matching optimization by taking the face difference and the gap of the key points as optimization targets under the conditions of weight and constraint to obtain a coordinate transformation matrix of the vehicle door relative to a preliminary matching result;
s3, the transformation matrix acts on the door hinge 252, and the side body hinge 251 does not transform. The center points of 8 defined circles 254 can be measured, and the translational adjustment amounts of all the points satisfying the coaxial requirement are calculated;
S4, adjusting the translation adjustment quantity on the clamp to adjust the hinge during actual assembly and adjustment, so as to realize one-time assembly and adjustment.
In S1, the virtual matching environment includes front door point cloud data 11, back door point cloud data 12, vehicle body point cloud data 13, front door theoretical model 22, back door theoretical model 23, vehicle body theoretical model 24, hinge theoretical model 25, and coordinate transformation matrix of each data and model, where the coordinate transformation matrix is a matrix of 4*4, capable of constraining three rotation amounts and three translation amounts of the object.
In S2, constraints include tolerance constraints and fall-height prohibition constraints, and the selection of the key points needs to ensure that the degrees of freedom in six directions are completely limited, and the optimization targets are as follows:
Wherein M is a vehicle door matching coordinate transformation matrix, M is the number of key points on the vehicle door and the side wall, p i、qi is a measured value and a theoretical value of the ith key point respectively, w i is a weight of the ith key point, n i is a normal vector of q i, and epsilon -、ε+ is a tolerance constraint or a heightening forbidden constraint of q i.
In S3, the center of 8 defined circles 254 which can be measured on a group of hinge theoretical models 25 is used for representing the hinge theoretical models 25, the translation adjustment quantity of the hinge theoretical models 25 is the translation quantity of 8 points on the coaxial line respectively, the local coordinate system is established by taking the center point of the hinge theoretical models 25 as the origin of coordinates and the axis direction of the hinge theoretical models 25 as the z direction of the coordinate system, taking one axis in the global coordinate system as the x axis of the local coordinate system according to the right hand rule, and the coordinate transformation matrix under the local coordinate system is M L.
In S3, the method for approximately converting the rotation amount and the translation amount into the translation amount is to calculate the translation amount of the center of the definition circles 254 (8 total) on the hinge theoretical model 25 under the local coordinate system, taking one body side wall hinge 251 (2 definition circles 254) as an example, as shown in FIG. 7, and the conversion method specifically includes:
(1) Theoretical model of a group of hinges for preliminary installation the centers of 8 defined circles 254 (denoted as ) M L conversion is carried out, and the coordinate value is
(2) For a pair ofPerforming straight line fitting to obtain a fitted central axis a;
(3) Center of circle Projecting onto yoz plane to obtain projection pointCalculate the distance of the projection point to the central axis (noted as);
(4) Taking the projection points corresponding to the centers of two definition circles 254 of one body side hinge 251 (for example) Calculate the midpoint of the connecting line of the projection points corresponding to the two circle centers (recorded asThe method comprises the following steps: Calculate the z-distance between the two centers of circles and the corresponding projection point (recorded as ) Calculating a projection point corresponding to the circle centerAround the midpointRotation angle in the x-axis direction (denoted asThe method comprises the following steps: Is that Corresponding toIs thatCorresponding to);
(5) Calculating the translational adjustment quantity of the center of a circle 254 defined by the body side wall hinge 251 in the xyz direction, wherein the translational adjustment quantity comprises the following steps:
Wherein, the Is thatCorresponding to the translational adjustment quantity of the circle center in the xyz direction,Is thatThe translation adjustment quantity of the center of a circle in the xyz direction is corresponding;
(6) Projecting the center of a circle onto a xoz plane, and calculating translation adjustment quantity of the center of a circle 254 defined by the body side wall hinge 251 in the xyz direction in steps (3) - (5);
(7) The specific translational adjustment amount is determined according to the adjustable direction of the center of each defined circle 254, and the hinge theoretical model 25 is adjusted.
(8) Repeating the steps (2) - (7), and performing iterative calculation until the circle center of the regulated definition circle 254 meets the coaxiality requirement, and outputting the final translation regulating quantity of the hinge theoretical model 25.
In S4, the method for fixing the hinge on the vehicle door or the side wall by the engineering personnel according to the position of the adjustment quantity is that the hinge is positioned on the vehicle door or the side wall on the special fixture according to the fixture position, then the adjustment is carried out according to the adjustable direction of each hinge and the final adjustment quantity, and finally the fastening is carried out.
According to the method for precisely matching and adjusting the vehicle door and the vehicle body side wall based on the scanning measurement, corresponding point cloud data are obtained by scanning the vehicle door and the vehicle body side wall, a virtual environment is established, a hinge theoretical model is used for optimizing the point cloud data under the virtual environment, after the face difference and the gap of key points are optimized, the translation adjustment quantity of the hinge is calculated based on the optimization result, wherein the establishment of the virtual environment ensures the precision and the reliability of an optimization scheme, the obtained hinge translation adjustment quantity can give a basis for positioning the hinge in the actual installation process of the hinge, and the obtained hinge translation adjustment quantity is applied to the actual installation of the hinge, so that the optimal vehicle door adjustment effect can be obtained.
Examples:
in the present embodiment of the present invention, in the present embodiment,
The point cloud data obtained in the step S1 are shown in fig. 3, 6 RPS points are arranged on the door and the side wall, and the measured data and the theoretical model are subjected to RPS zero setting alignment.
S2, adding constraint to carry out matching adjustment on the left rear door and the left front door, and mainly considering the face difference and the gap deviation of the vehicle door and the side wall, wherein the tolerance of the face difference constraint is defined as that the vehicle door is not allowed to fall high, namely the left rear door at the matching position of the left rear door and the side wall is ensured to be higher, and the left front door at the matching position of the left front door and the left rear door is ensured to be higherThe remaining constraint tolerance is defined as
And sequentially carrying out position optimization adjustment on the left rear door and the left front door to obtain an adjustment matrix of the two doors:
Wherein M R is the adjustment matrix of the right side door, and M L is the adjustment matrix of the left side door;
As shown in fig. 8, the key points include a first key point 14, a second key point 15, a third key point 16, a fourth key point 17, a fifth key point 18, a sixth key point 19, a seventh key point 20, and an eighth key point 21, theoretical values of each constraint, measured values before and after adjustment, and deviation data are shown in table 1, the adjusted matching quality is obviously improved, all deviations are within a tolerance range, and the vehicle door is turned high to be positive high;
table 1 left rear door match constraint values
The C column is a matching position of the rear side vehicle door and the side wall, the B column is a matching position of the front side vehicle door and the rear door, the gaps 18, 19, 20 and 21 are gaps corresponding to a fifth key point 18, a sixth key point 19, a seventh key point 20 and an eighth key point 21 respectively, the surface differences 18, 19, 20 and 21 are surface differences corresponding to the fifth key point 18, the sixth key point 19, 20 and the eighth key point 21 respectively, the gaps 14, 15, 16 and 17 are gaps corresponding to a first key point 14, a second key point 15, a third key point 16 and a fourth key point 17 respectively, and the surface differences 14, 15, 16 and 17 are surface differences corresponding to the first key point 14, the second key point 15, the third key point 16 and the fourth key point 17 respectively.
In S3, 8 definition circles 254 are used as features of the hinge theoretical model 25, as shown in fig. 4-6, a pair of hinge theoretical models 25 has 4 definition circles 254, since the body side wall hinge 251 and the door hinge-252 are assembled with the connecting pin 253 during actual assembly, one definition circle 254 on the door hinge 252 is selected at the lower end face of the boss of the connecting pin 253, the other definition circle 254 on the body side wall hinge 251 is selected at the bottom of the connecting pin 253, 8 definition circles 254 are used for the hinge theoretical model 25 on a door, and straightness of center coordinates of the 8 definition circles 254 is taken as a coaxiality determination index of the hinge theoretical model 25, and the door hinge 252 needs to be subjected to one-time adjustment transformation by using the matrix obtained in S2.
Adjusting the hinge according to the method of S4 to obtain the coaxiality of the left rear door and the left front door before and after adjustment, wherein the coaxiality after adjustment is close to 0 as shown in the table 2;
TABLE 2 left rear door and left front door adjustment front-rear coaxiality
| |
Axiality before adjustment |
Axiality after adjustment |
| Left side back door |
0.415 |
0.001 |
| Left front door |
0.114 |
0 |
And (3) carrying out an adjustment experiment by using a real vehicle, measuring the surface difference and the gap on the door and the side wall, wherein the deviation of the actual measurement result is within +/-0.3 mm compared with the calculation result of the measurement data in the virtual environment.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.