A posture adjustment method for a glass fiber composite material automobile leaf spring cutting robot

By acquiring and processing the chamfering three-dimensional data of the glass fiber composite automobile leaf spring, and calculating the initial attitude angle and pose data, the problem of chamfering accuracy and efficiency in the existing technology is difficult to balance, and an efficient and accurate robot is realized. Posture adjustment, suitable for the chamfering process of glass fiber composite automotive leaf springs.

CN117400334BActive Publication Date: 2024-10-29SHANDONG UNIV +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311507015.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-13
Publication Date
2024-10-29
Estimated Expiration
2043-11-13

AI Technical Summary

Technical Problem

In the existing technology, the chamfering process of glass fiber composite automobile leaf springs has problems of poor accuracy, low efficiency and insufficient adaptability. The manual chamfering method can easily cause hidden dangers and injuries, while the robot teaching chamfering method is It’s difficult to balance accuracy and efficiency.

Method used

By obtaining the three-dimensional data of the chamfer points of the glass fiber composite automobile leaf spring, processing and calculating the initial attitude angle, and generating the robot pose data, the laser line scanning equipment and the sliding window method are used to detect and correct abnormal points, combined with the rotation matrix calculation and nonlinear least squares fitting to realize robot attitude adjustment.

Benefits of technology

It improves the accuracy and efficiency of chamfering, reduces the time and risk of manual operations, enhances the adaptability to different leaf springs, reduces the demand for computing resources, and is suitable for factory environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117400334B_ABST
    Figure CN117400334B_ABST
Patent Text Reader

Abstract

The present invention discloses a posture adjustment method for a glass fiber composite material automobile leaf spring cutting robot. The present invention belongs to the field of automobile leaf spring cutting, and includes: obtaining three-dimensional data of chamfering points of a glass fiber composite material automobile leaf spring; processing the three-dimensional data of chamfering points to obtain stable three-dimensional data; calculating an initial posture angle based on the stable three-dimensional data; obtaining the robot's posture data based on the initial posture angle, and the posture data includes the posture angle of the robot at each point; and completing the chamfering of the automobile leaf spring based on the posture data. Compared with manual teaching, the technical solution of the present invention greatly shortens the robot's posture adjustment time and has high chamfering efficiency; at the same time, the present invention has low requirements for the operating environment, and the main algorithms are independently designed and completed, consuming less computing resources, and conforming to the factory environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of automobile leaf spring cutting, and in particular relates to a posture adjustment method of a glass fiber composite material automobile leaf spring cutting robot. Background Art

[0002] In recent years, with the vigorous development of the automobile industry, the number of cars in my country has been increasing, and the requirements for various parts of the car have been increasing. In the overall structure of the car, the main function of the automobile leaf spring is to connect the frame and the axle in the form of suspension. It is exposed between the frame and the axle, bears the load impact of the wheel on the frame, reduces the violent vibration of the car body, maintains the stability of the vehicle and adaptability to different road conditions. It is an important component of the car. Glass fiber composite leaf springs have the characteristics of light weight and high strength. With the development of the automobile industry, they are gradually being widely used. In the process of leaf spring manufacturing, in order to remove the burrs on the parts caused by machining and to facilitate the assembly of parts, it is necessary to chamfer the parts.

[0003] There are two main chamfering methods for glass fiber composite automotive leaf springs: manual chamfering and robot teaching chamfering. Manual chamfering refers to workers using chamfering tools to chamfer leaf springs. Robot teaching chamfering refers to manually teaching several points that the robot needs to pass through, so that the robot can perform chamfering operations according to the set trajectory.

[0004] However, in the prior art, the manual chamfering method has the following disadvantages: poor accuracy, some minor defects may occur in manual chamfering, and there are certain hidden dangers; low efficiency, the manual chamfering process takes a long time, which is not as good as robot-taught chamfering; it is easy to cause harm to the human body, and the glass fiber debris is small and transparent, which will pierce the worker's skin during the processing and is difficult to remove.

[0005] The disadvantages of robot-taught chamfering are: it is impossible to achieve both accuracy and efficiency. If higher accuracy is pursued, it is necessary to manually teach enough points, which will reduce efficiency. If efficiency is pursued, fewer teaching points will reduce accuracy. It is not adaptive. Due to the slight gap between leaf springs, each cut requires re-teaching, which greatly increases the workload of the robot operator. Summary of the invention

[0006] The present invention proposes a posture adjustment method for a glass fiber composite material automobile leaf spring cutting robot to solve the technical problems existing in the above-mentioned prior art.

[0007] To achieve the above object, the present invention provides a method for adjusting the posture of a glass fiber composite material automobile leaf spring cutting robot, comprising:

[0008] Obtain 3D data of chamfer points of glass fiber composite automotive leaf springs;

[0009] Processing the three-dimensional data of the chamfering points to obtain stable three-dimensional data;

[0010] Based on the stable three-dimensional data, an initial attitude angle is calculated;

[0011] Based on the initial posture angle, obtaining the posture data of the robot, wherein the posture data includes the posture angle of each point position of the robot;

[0012] Based on the posture data, the chamfering of the automobile leaf spring is completed.

[0013] Preferably, the process of obtaining the three-dimensional data of the chamfer points of the glass fiber composite material automobile leaf spring includes:

[0014] Irradiate the laser of the laser line scanning device to the edge of the automobile leaf spring made of glass fiber composite material to obtain the initial point position;

[0015] Based on the laser line scanning device, the three-dimensional coordinates of the chamfering point in the world coordinate system are established;

[0016] Based on the three-dimensional coordinates, the robot is horizontally moved toward the chamfering end point until the robot reaches the chamfering end point, thereby obtaining three-dimensional data of the chamfering point position of the glass fiber composite material automobile leaf spring.

[0017] Preferably, the process of processing the three-dimensional data of the chamfering points includes:

[0018] Based on the sliding window method, outlier detection is performed on the three-dimensional data of the chamfering points. If an outlier occurs, the outlier is corrected based on the linear interpolation method to obtain stable three-dimensional data.

[0019] Preferably, the process of calculating the initial attitude angle includes:

[0020] Acquire an original posture angle when the top of the tool is downward and perpendicular to the horizontal plane, and calculate a first rotation matrix based on the original posture angle, wherein the first rotation matrix represents the posture of the robot when the top of the tool is downward and perpendicular to the horizontal plane;

[0021] Based on the first rotation matrix, a second rotation matrix is ​​calculated, where the second rotation matrix represents the posture of the robot when the top of the tool is downward and perpendicular to the plane of the leaf spring;

[0022] Based on the second rotation matrix, an initial posture angle is calculated.

[0023] Preferably, the calculation formula of the first rotation matrix is:

[0024]

[0025] Among them, w0 is the angle of rotation of the coordinate system around the x-axis of the original coordinate system when the top of the tool is downward and perpendicular to the horizontal plane, p0 is the angle of rotation of the coordinate system around the y-axis of the original coordinate system when the top of the tool is downward and perpendicular to the horizontal plane, r0 is the angle of rotation of the coordinate system around the z-axis of the original coordinate system when the top of the tool is downward and perpendicular to the horizontal plane, and R0 is the rotation matrix when the top of the tool is downward and perpendicular to the horizontal plane, which is used to represent the robot posture when the top of the tool is downward and perpendicular to the horizontal plane.

[0026] Preferably, the calculation formula of the second rotation matrix is:

[0027]

[0028]

[0029] Among them, y1, y2 are the y-axis coordinate values ​​of the first point and the second point collected, z1, z2 are the z-axis coordinate values ​​of the first point and the second point collected, θ1 is the angle between the current tool and the horizontal plane, and R0 is the first rotation matrix.

[0030] Preferably, the calculation formula of the initial attitude angle is:

[0031] make

[0032]

[0033] Among them, w1 is the angle of rotation of the coordinate system corresponding to the initial posture around the x-axis of the original coordinate system, p1 is the angle of rotation of the coordinate system corresponding to the initial posture around the y-axis of the original coordinate system, r1 is the angle of rotation of the coordinate system corresponding to the initial posture around the z-axis of the original coordinate system, m 1,1 is the element in the first row and first column of the R1 matrix, m 1,2 is the element in the first row and second column of the R1 matrix, m 1,3 is the element in the first row and third column of the R1 matrix, m 2,1 is the element in the second row and first column of the R1 matrix, m 2,2 is the element in the second row and second column of the R1 matrix, m 2,3 is the element in the second row and third column of the R1 matrix, m 3,1 is the element in the third row and first column of the R1 matrix, m 3,2 is the element in the third row and second column of the R1 matrix, m 3,3 is the element in the third row and third column of the R1 matrix.

[0034] Preferably, before obtaining the position and posture data of the robot, the method further includes:

[0035] Based on the initial posture angle, calculating the rotation angle of the robot relative to the initial posture in the x-axis direction of the coordinate system;

[0036] Performing abnormality detection and correction on the rotation angle to obtain the point rotation angle of each point;

[0037] Based on the fitting function, the nonlinear least square method is used to fit the point rotation angle to obtain the optimal angle curve.

[0038] Preferably, the process of obtaining the position and posture data of the robot includes:

[0039] Based on the angle optimal curve, the point rotation matrix is ​​obtained;

[0040] Based on the point rotation matrix, a point posture matrix is ​​calculated;

[0041] Based on the point position and posture matrix, the position and posture data of the robot are calculated.

[0042] Preferably, the process of completing the chamfering of the automobile leaf spring includes:

[0043] The posture data is sent to the robot through the host computer, and the robot moves according to the posture data of each point to complete the cutting of the automobile leaf spring chamfer.

[0044] Compared with the prior art, the present invention has the following advantages and technical effects:

[0045] The present invention provides a method for adjusting the posture of a glass fiber composite material automobile leaf spring cutting robot. Based on the three-dimensional data of chamfering points obtained by a laser line scanning device, the positioning accuracy far exceeds the manual chamfering method and the manual teaching method. Compared with manual teaching, the robot posture adjustment time in the technical solution of the present invention is greatly shortened, and the chamfering efficiency is high.

[0046] The technical solution of the present invention has low requirements for the operating environment, the main algorithms are independently designed, and consumes less computing resources, which is suitable for the factory environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0048] Figure 1 The figure is a flow chart of an algorithm according to an embodiment of the present invention. DETAILED DESCRIPTION

[0049] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0050] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0051] Embodiment 1

[0052] This embodiment provides a method for adjusting the posture of a glass fiber composite material automobile leaf spring cutting robot, comprising:

[0053] Obtain 3D data of chamfer points of glass fiber composite automotive leaf springs;

[0054] Processing the three-dimensional data of the chamfering points to obtain stable three-dimensional data;

[0055] Based on the stable three-dimensional data, an initial attitude angle is calculated;

[0056] Based on the initial posture angle, obtaining the posture data of the robot, wherein the posture data includes the posture angle of each point position of the robot;

[0057] Based on the posture data, the chamfering of the automobile leaf spring is completed.

[0058] like Figure 1 As shown, the specific steps include:

[0059] 1. Data Collection Phase

[0060] 1. Move the robot to the initial position and irradiate the edge of the leaf spring with the laser line scanning device.

[0061] 2. Use the laser line scanning device to obtain the three-dimensional coordinates of the chamfering point in the world coordinate system and store them in the host computer.

[0062] 3. Move the robot horizontally a distance l toward the end point of the chamfering.

[0063] 4. Repeat steps 2 and 3 above until the robot reaches the end point of chamfering.

[0064] 2. Data processing stage

[0065] 5. Detect and correct outliers in the collected data.

[0066] For the collected data, the sliding window method is used to calculate the mean and standard deviation of the data in each window, and the data points in the window whose difference from the mean is greater than the threshold are marked as outliers. Then, each outlier is corrected using the linear interpolation method.

[0067] 6. Calculate the initial attitude angle.

[0068] When chamfering, ensure that the tool is perpendicular to the surface of the leaf spring. The posture solution process is as follows:

[0069] First, obtain the angle θ1 between the current tool and the horizontal plane. The solution formula for θ1 is as follows:

[0070]

[0071] Among them, y1 and y2 are the y-axis coordinate values ​​of the first and second points collected, and z1 and z2 are the z-axis coordinate values ​​of the first and second points collected.

[0072] (1) According to the attitude angle when the tool tip is downward and perpendicular to the horizontal plane Calculate the corresponding rotation matrix R0. Where w0 represents the angle of rotation of the coordinate system around the x-axis of the original coordinate system when the tool tip is downward and perpendicular to the horizontal plane, p0 represents the angle of rotation of the coordinate system around the y-axis of the original coordinate system when the tool tip is downward and perpendicular to the horizontal plane, and r0 represents the angle of rotation of the coordinate system around the z-axis of the original coordinate system when the tool tip is downward and perpendicular to the horizontal plane. R0 is the rotation matrix when the tool tip is downward and perpendicular to the horizontal plane, which is used to represent the robot posture when the tool tip is downward and perpendicular to the horizontal plane. The calculation formula of R0 is as follows:

[0073]

[0074] (2) According to the rotation matrix R0 corresponding to the tool being perpendicular to the horizontal plane, the matrix R1 corresponding to the initial posture is calculated. R1 is the rotation matrix when the top of the tool is downward and perpendicular to the plane of the leaf spring, which is used to represent the initial posture of the robot. The calculation formula of R1 is as follows:

[0075]

[0076] (3) According to the rotation matrix R1 of the initial posture, calculate the posture angle of the initial posture The formula is as follows:

[0077] make

[0078]

[0079] 7. For each point P i , calculate the angle θ that the robot should rotate at this point relative to the initial posture in the x-axis direction of the coordinate system i The formula is as follows:

[0080]

[0081] 8. Perform anomaly detection and correction on the calculated angle data.

[0082] For angle data, the sliding window method is used to calculate the mean and standard deviation of the data in each window, and the data points in the window whose difference from the mean is greater than the threshold are marked as outliers. Then, each outlier is corrected using the linear interpolation method.

[0083] 9. Calculate the fitting curve based on the angle data. Update the angle of each point after the calculation is completed.

[0084] Angle errors may cause errors in robot movement, so we need to fit the data. After obtaining the fitted curve, we can use the expression of the fitted curve to calculate the angle of each point and update it.

[0085] The specific algorithm used for fitting the curve is the curve_fit algorithm. The principle of the curve_fit algorithm is to use the nonlinear least squares method to fit the function f and find the optimal curve. The fitting function expression used this time is

[0086] f(x)=C*arctan(ax+b)+d

[0087] 10. Calculate the robot’s attitude angle at each point.

[0088] (1) According to the rotation matrix R corresponding to the i-th point i , calculate the rotation matrix R corresponding to the i+1th point i+1 . Where R i is the rotation matrix of the tool tip at the i-th point, which is used to represent the robot posture at the i-th point. The formula is as follows:

[0089]

[0090] (2) According to the rotation matrix R corresponding to the i+1th point i+1 , calculate the attitude angle corresponding to the i+1th point The formula is as follows:

[0091] make

[0092]

[0093] 11. The posture data obtained above is sent to the robot through the host computer. The robot moves according to the posture data of each point to complete the chamfering.

[0094] Beneficial effects of this embodiment:

[0095] The technical solution of the present invention has accurate positioning, and the three-dimensional data of the chamfering points obtained by the laser line scanning device is much more accurate than the manual chamfering method and the manual teaching method;

[0096] The present invention has low requirements for the operating environment, the main algorithms are independently designed, and consume less computing resources, which is in line with the factory environment;

[0097] The chamfering efficiency of the present invention is high, and the time is greatly shortened compared with manual teaching;

[0098] The present invention has good adaptability, uses anomaly detection and correction methods, can timely discover and correct abnormal points in data, and has stronger adaptability to different leaf springs than manual teaching.

[0099] The above is only a preferred specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for adjusting the posture of a glass fiber composite material automobile leaf spring cutting robot, characterized in that: The following steps are involved: Obtain 3D data of chamfer points of glass fiber composite automotive leaf springs; Processing the three-dimensional data of the chamfering points to obtain stable three-dimensional data; The process of processing the three-dimensional data of the chamfering points includes: Based on the sliding window method, outlier detection is performed on the three-dimensional data of the chamfering points. If an outlier occurs, the outlier is corrected based on the linear interpolation method to obtain stable three-dimensional data; Based on the stable three-dimensional data, an initial attitude angle is calculated; The process of calculating the initial attitude angle includes: Acquire an original posture angle when the top of the tool is downward and perpendicular to the horizontal plane, and calculate a first rotation matrix based on the original posture angle, wherein the first rotation matrix represents the posture of the robot when the top of the tool is downward and perpendicular to the horizontal plane; Based on the first rotation matrix, a second rotation matrix is ​​calculated, where the second rotation matrix represents the posture of the robot when the top of the tool is downward and perpendicular to the plane of the leaf spring; Based on the second rotation matrix, an initial posture angle is calculated; The calculation formula of the first rotation matrix is: Where w0 is the angle of rotation of the coordinate system around the x-axis of the original coordinate system when the tool tip is downward and perpendicular to the horizontal plane, p0 is the angle of rotation of the coordinate system around the y-axis of the original coordinate system when the tool tip is downward and perpendicular to the horizontal plane, r0 is the angle of rotation of the coordinate system around the z-axis of the original coordinate system when the tool tip is downward and perpendicular to the horizontal plane, and R0 is the rotation matrix when the tool tip is downward and perpendicular to the horizontal plane, which is used to represent the robot posture when the tool tip is downward and perpendicular to the horizontal plane; The calculation formula of the second rotation matrix is: Among them, y1, y2 are the y-axis coordinate values ​​of the first and second points collected, z1, z2 are the z-axis coordinate values ​​of the first and second points collected, θ1 is the angle between the current tool and the horizontal plane, and R0 is the first rotation matrix; The calculation formula of the initial attitude angle is: make Among them, w1 is the angle of rotation of the coordinate system corresponding to the initial posture around the x-axis of the original coordinate system, p1 is the angle of rotation of the coordinate system corresponding to the initial posture around the y-axis of the original coordinate system, r1 is the angle of rotation of the coordinate system corresponding to the initial posture around the z-axis of the original coordinate system, m 1,1 is the element in the first row and first column of the R1 matrix, m 1,2 is the element in the first row and second column of the R1 matrix, m 1,3 is the element in the first row and third column of the R1 matrix, m 2,1 is the element in the second row and first column of the R1 matrix, m 2,2 is the element in the second row and second column of the R1 matrix, m 2,3 is the element in the second row and third column of the R1 matrix, m 3,1 is the element in the third row and first column of the R1 matrix, m 3,2 is the element in the third row and second column of the R1 matrix, m 3,3 is the element in the third row and third column of the R1 matrix; Based on the initial posture angle, obtaining the posture data of the robot, wherein the posture data includes the posture angle of each point position of the robot; Based on the posture data, the chamfering of the automobile leaf spring is completed.

2. The method for adjusting the posture of a glass fiber composite material automobile leaf spring cutting robot according to claim 1, characterized in that: The process of obtaining the 3D data of the chamfer points of a glass fiber composite automotive leaf spring includes: Irradiate the laser of the laser line scanning device to the edge of the automobile leaf spring made of glass fiber composite material to obtain the initial point position; Based on the laser line scanning device, the three-dimensional coordinates of the chamfering point in the world coordinate system are established; Based on the three-dimensional coordinates, the robot is horizontally moved toward the chamfering end point until the robot reaches the chamfering end point, thereby obtaining three-dimensional data of the chamfering point position of the glass fiber composite material automobile leaf spring.

3. The method for adjusting the posture of a glass fiber composite material automobile leaf spring cutting robot according to claim 1, characterized in that: Before obtaining the robot's posture data, it also includes: Based on the initial posture angle, calculating the rotation angle of the robot relative to the initial posture in the x-axis direction of the coordinate system; Performing abnormality detection and correction on the rotation angle to obtain the point rotation angle of each point; Based on the fitting function, the nonlinear least square method is used to fit the point rotation angle to obtain the optimal angle curve.

4. The method for adjusting the posture of a glass fiber composite material automobile leaf spring cutting robot according to claim 1, characterized in that: The process of obtaining the robot's posture data includes: Based on the angle optimal curve, the point rotation matrix is ​​obtained; Based on the point rotation matrix, a point posture matrix is ​​calculated; Based on the point position and posture matrix, the position and posture data of the robot are calculated.

5. The method for adjusting the posture of a glass fiber composite material automobile leaf spring cutting robot according to claim 1, characterized in that: The process of completing the chamfering of cutting automotive leaf springs includes: The posture data is sent to the robot through the host computer, and the robot moves according to the posture data of each point to complete the cutting of the automobile leaf spring chamfer.

Citation Information

Patent Citations

  • Robot pose estimation method and device, terminal and computer storage medium

    CN111380514A