Quality detection method suitable for titanium alloy bar

By acquiring and correcting surface temperature and vibration information during the inspection of titanium alloy bars, high-precision 3D point cloud data is generated, which solves the problem of insufficient detection accuracy caused by vibration and temperature changes in the existing technology, and realizes accurate detection of surface defects of titanium alloy bars.

CN121114058AActive Publication Date: 2025-12-12BAOJI XINBAOTAI METAL MATERIAL PROCESSING CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202511633877.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-10
Publication Date
2025-12-12
Estimated Expiration
2045-11-10

AI Technical Summary

Technical Problem

Existing methods for testing titanium alloy bars lack sufficient accuracy when considering vibration and temperature changes, resulting in inaccurate quality testing.

Method used

By rotating a titanium alloy rod at a constant speed, a detection light is emitted and the reflected light is photographed to form an image, thus obtaining the first 3D point cloud data. The data is then corrected by combining surface temperature and vibration information to generate the second 3D point cloud data. A target model is then constructed to output the surface defect type and size.

Benefits of technology

It improves the accuracy of titanium alloy bar inspection, enabling accurate acquisition of the depth, length, and width of surface defects, reducing the influence of false defect signals, and enhancing anti-interference capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121114058A_ABST
    Figure CN121114058A_ABST
Patent Text Reader

Abstract

The invention relates to the field of bar detection, in particular to a quality detection method suitable for a titanium alloy bar, which specifically comprises the following steps: S1, rotating the titanium alloy bar at a constant speed, and emitting detection light to the surface of the titanium alloy bar; s2, shooting the detection light reflected from the surface of the titanium alloy rod to obtain a detection image, and extracting first 3D point cloud data of the surface of the titanium alloy rod according to the detection image; s3, acquiring the surface temperature at each moment and vibration information of the titanium alloy rod, wherein the vibration information comprises vibration acceleration and vibration angular velocity; filtering parameters and gains at different temperatures are calculated through an experiment mode, compared with other point cloud data compensation methods, independent influences of temperature and vibration on point cloud data precision are considered, the mutual influence relation between the temperature and the vibration is also considered, and the accuracy of the point cloud data is improved. The precision of compensating the point cloud data in the later period can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of bar testing, specifically to a quality testing method applicable to titanium alloy bars. Background Technology

[0002] Titanium alloy bars are metallic materials with titanium and titanium alloys as the main components. During the production and processing of titanium metal bars, surface defects may occur, including surface cracks, inclusions, porosity, scratches, and pits. Each defect affects the quality of the titanium alloy bar. Existing surface inspection methods mainly use laser scanning of the titanium alloy bar to receive reflected light and construct three-dimensional point cloud data, and then analyze the surface defects of the titanium alloy bar based on the three-dimensional point cloud data. However, during the laser scanning process of the titanium alloy bar, the titanium alloy bar is in a rotating state, which will cause a certain degree of vibration and temperature change. Vibration and temperature change will affect the accuracy of the three-dimensional point cloud data. If this factor is not considered, the quality inspection accuracy of the titanium alloy bar will be significantly reduced. Therefore, this invention proposes a quality inspection method suitable for titanium alloy bars. Summary of the Invention

[0003] To address the shortcomings of existing technologies, this invention provides a quality inspection method for titanium alloy bars, thus solving the technical problems mentioned in the background section.

[0004] To achieve the above objectives, the present invention provides the following technical solution:

[0005] The quality inspection method applicable to titanium alloy bars specifically includes the following steps:

[0006] S1. Rotate the titanium alloy rod at a constant speed and emit detection light towards the surface of the titanium alloy rod;

[0007] S2. Capture the detection light reflected from the surface of the titanium alloy rod to obtain a detection image, and extract the first 3D point cloud data of the surface of the titanium alloy rod based on the detection image;

[0008] S3. Obtain the surface temperature and vibration information of the titanium alloy rod at each moment. The vibration information includes vibration acceleration and vibration angular velocity.

[0009] S4. Correct the first 3D point cloud data based on surface temperature and vibration information to generate the second 3D point cloud data;

[0010] S5. Construct the target model by inputting the second 3D point cloud data into the target model and outputting the types and sizes of all surface defects.

[0011] Furthermore, the incident angle of the detected light is between 30 degrees and 60 degrees, and the receiving angle of the detected light receiver is between 30 degrees and 60 degrees.

[0012] Furthermore, step S2 specifically includes the following steps:

[0013] S21. Construct an image coordinate system with the top left corner of the detected image as the origin 0, and the top and left sides of the detected image as the x-axis and y-axis, respectively.

[0014] S22. Preprocess the detected image to obtain the image to be used. ;

[0015] S23. Use the grayscale centroid method on the image to be processed. Each row of pixels is scanned to extract the center position of the laser line. The calculation formula is as follows:

[0016]

[0017] In the formula, This represents the pixel intensity of the pixel in the i-th row of the c-th column; This represents the maximum number of rows of pixels in the image to be used;

[0018] S24. With the camera position as the origin O1, construct a camera coordinate system with the east-west direction, the north-south direction, and the vertical direction as the X-axis, Y-axis, and Z-axis, respectively. Then, determine the center position of the laser line. Convert to 3D coordinates in camera coordinate system ;

[0019] S25. Repeat S21-S24 for each frame of the detected image to obtain the first 3D point cloud data of the titanium alloy rod surface.

[0020] Furthermore, step S22 specifically includes the following steps:

[0021] S221. Obtain a control image of the titanium alloy rod that is not affected by the detection light, and find the control image that corresponds to the detection image.

[0022] S222. Subtract the control image from the detected image to obtain the first preprocessed image. Its expression is:

[0023]

[0024] In the formula, Indicates the detection of pixels in the image Pixel intensity; Represents the pixels in the comparison image Pixel intensity;

[0025] S223, Process the first preprocessed image Perform Gaussian filtering to obtain the image to be used. Its expression is:

[0026]

[0027] In the formula, This represents the pixel coordinates of a pixel within the Gaussian kernel relative to its center point. Indicates standard deviation; Represents the natural constant.

[0028] Furthermore, step S24 specifically includes the following steps:

[0029] S241. Obtain the camera's intrinsic parameter matrix. Its expression is:

[0030]

[0031] In the formula, and These represent the camera focal length in pixels; and These represent the intersection points of the camera's optical axis and the detection image plane, respectively.

[0032] S242. Construct the plane equation under the detection ray plane to calculate the camera's extrinsic parameters, including the plane normal vector. and constant term The equation of the plane is expressed as:

[0033]

[0034] S243, via the intrinsic parameter matrix Calculate the center position of the laser line In the three-dimensional coordinates of the camera coordinate system Its expression is:

[0035]

[0036] in,

[0037] ;

[0038] In the formula, Indicates the center position of the laser line One pixel; This represents the direction vector of a 3D ray in the camera coordinate system; Represents a point on a three-dimensional ray; Indicates the scale factor;

[0039] S244, Point Substitute into the plane equation to calculate the scale factor. The calculation formula is as follows:

[0040]

[0041] In the formula, Represents the scale factor.

[0042] Furthermore, step S4 specifically includes the following steps:

[0043] S41. Set up a parameter detection test to calculate the filter parameters at each temperature. and gain ;

[0044] S42. Obtain the linear thermal expansion coefficient of the titanium alloy rod and calculate its actual length at the current temperature. The calculation formula is as follows:

[0045]

[0046] In the formula, This indicates the standard length of the titanium alloy bar at the reference temperature; The linear thermal expansion coefficient of the titanium alloy rod; Indicates reference temperature;

[0047] S43. Extract filter parameters based on the current temperature. and gain The instantaneous deflection angle is calculated based on it. and instantaneous displacement The calculation formulas are as follows:

[0048]

[0049]

[0050] In the formula, Indicates the current moment The vibration angular velocity of the titanium alloy rod; Indicates at time The instantaneous deflection angle; Indicates the current moment Vibration velocity of the titanium alloy rod; Indicates at time The instantaneous displacement;

[0051] S44, based on the instantaneous deflection angle and instantaneous displacement Constructing the vibration transformation matrix Its expression is:

[0052]

[0053] In the formula, Represents the rotation matrix;

[0054] S45. According to the vibration transformation matrix The first 3D point cloud data is corrected to generate vibration-compensated point cloud data. The calculation formula is as follows:

[0055]

[0056] In the formula, This represents the first 3D point cloud data; This represents vibration-compensated point cloud data;

[0057] S46. Based on actual length Vibration compensation point cloud data The correction is performed to generate a second 3D point cloud data, and its calculation formula is as follows:

[0058]

[0059] In the formula, This represents the second 3D point cloud data.

[0060] Furthermore, step S41 specifically includes the following steps:

[0061] S411. Install a standard titanium alloy rod, set several temperatures, and rotate the standard titanium alloy rod to detect the test parameters of the standard titanium alloy rod at each temperature. The test parameters include the actual vibration displacement and vibration velocity.

[0062] S412, for each temperature Calculate linear acceleration based on vibration acceleration The calculation formula is as follows:

[0063]

[0064] In the formula, Indicates vibration acceleration; Represents gravitational acceleration;

[0065] S413, Define filter parameters and gain The range of values ​​for;

[0066] S414, Select any pair of filter parameters and gain And estimate the vibration displacement based on its calculation. ;

[0067] S415. Calculate and estimate vibration displacement. The root mean square error between the actual vibration displacement and the actual vibration displacement The calculation formula is as follows:

[0068]

[0069] In the formula, This indicates the total number of times the experimental parameter was tested; Indicates the first The actual vibration displacement of the test parameters was detected in the second experiment. No. Estimated vibration displacement based on the parameters of the second test experiment;

[0070] S416. Use optimization algorithms to find the root mean square error. Minimum filter parameters and gain .

[0071] Further, in step S414, the vibration displacement is estimated. The calculation formula is:

[0072]

[0073] In the formula, Indicates in Estimated vibration displacement at time; Indicates in The vibration velocity of the titanium alloy rod at any given moment; Indicates at time The vibration acceleration; Indicates the current time and the current moment The time interval between them.

[0074] Furthermore, in step S5, the PointNet neural network is selected as the basis, and other titanium alloy rods of the same size and model are selected to generate corresponding point cloud data as training samples. Then, the size and type of each surface defect are manually labeled as sample labels. The neural network is trained using the training samples and sample labels to obtain the target model.

[0075] Compared with the prior art, the present invention provides a quality inspection method suitable for titanium alloy bars, which has the following beneficial effects:

[0076] 1. This invention calculates the filtering parameters and gain at different temperatures through experiments. Compared with other point cloud data compensation methods, it not only considers the individual effects of temperature and vibration on the accuracy of point cloud data, but also the mutual influence between temperature and vibration, which can improve the accuracy of subsequent point cloud data compensation.

[0077] 2. This invention uses a laser to irradiate the surface of a rotating titanium alloy rod, and then constructs 3D point cloud data based on the pattern formed by laser reflection. Compared with the method of directly analyzing surface defects based on 2D images, it can obtain the three-dimensional dimensions of surface defects such as depth, length, and width more accurately, and is not affected by false defect signals such as surface color difference, oxidation marks, and oil stains, and has strong anti-interference ability. Attached Figure Description

[0078] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0079] Figure 1 This is a schematic diagram of the quality inspection method for titanium alloy bars according to the present invention. Detailed Implementation

[0080] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. This will allow for a full understanding of how the present application uses technical means to solve technical problems and achieve technical effects, and to facilitate its implementation.

[0081] Those skilled in the art will understand that all or part of the steps in the methods of the following embodiments can be implemented by a program instructing related hardware. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0082] Titanium alloy bars are metallic materials with titanium and titanium alloys as the main components. During the production and processing of titanium metal bars, some defects may appear on their surface, including surface cracks, inclusions, porosity, scratches, and pits. Each defect will affect the quality of the titanium alloy bar, and the impact of each defect on the quality of the titanium alloy bar is as follows:

[0083] 1. Surface cracks: Cracks are sharp notches that generate huge stress concentrations at their tips. When components operate under alternating loads (such as engine rotor rotation or landing gear retraction and extension), the stress concentrates at the crack tip, causing the crack to gradually propagate and become a fatigue source, thus significantly reducing fatigue strength.

[0084] 2. Inclusions: Due to their significant difference in hardness from the aggregate, they generate extremely high stress concentrations around them, making them a very dangerous source of fatigue and easily leading to fatigue failure.

[0085] 3. Porosity: The sharp edges of pores are like micro-cracks, which can become fatigue sources. In particular, aggregated porosity can significantly reduce the strength and plasticity of materials. Furthermore, under impact loads, pores may become channels for rapid crack propagation, reducing impact toughness.

[0086] 4. Scratches and dents: Although not as sharp as cracks, deep scratches and dents can also disrupt the smoothness and continuity of the surface, becoming potential sources of fatigue and initiating microcracks. In addition, for parts with dimensional accuracy requirements, these damages may lead to their direct scrapping.

[0087] To avoid the aforementioned problems in the production and practical application of titanium alloy bars, please refer to [link / reference needed]. Figure 1 As shown, a quality inspection method suitable for titanium alloy bars is proposed, which specifically includes the following steps:

[0088] S1. Rotate the titanium alloy rod at a constant speed and emit a detection light beam onto the surface of the titanium alloy rod; specifically, the incident angle of the detection light beam is between 30 degrees and 60 degrees, and the receiving angle of the detection light beam receiver is also between 30 degrees and 60 degrees; specifically, in actual industrial systems, a laser scanner is typically used to emit a laser (i.e., the detection light beam), and a camera is used to detect the laser beam. The laser scanner and the camera are symmetrically distributed with respect to the normal of the titanium alloy rod surface; it should be noted that the detection light beam is a row of laser beams, and its arrangement direction is...

[0089] S2. Capture the detection light reflected from the surface of the titanium alloy rod to obtain a detection image, and extract the first 3D point cloud data of the titanium alloy rod surface based on the detection image. Specifically, common surface defect detection methods calculate the location and size of surface defects based on pixel change information in 2D images. However, this method heavily relies on pixel changes in the image. If the surface of the titanium alloy rod is affected by false defect signals such as color difference, oxidation marks, and oil stains, the detection accuracy of this method will be severely affected. Therefore, step S2 specifically includes the following steps:

[0090] S21. Construct an image coordinate system with the top left corner of the detected image as the origin 0, and the top and left sides of the detected image as the x-axis and y-axis, respectively.

[0091] S22. Preprocess the detected image to obtain the image to be used. Specifically, step S22 includes the following steps:

[0092] S221. Obtain a reference image of the titanium alloy rod without the influence of the detection light, and find the reference image corresponding to the detection image; specifically, when rotating the titanium alloy rod, match the corresponding reference image according to the rotation angle of the clamp used to fix the titanium alloy rod (or the rotation angle of the motor driving the clamp).

[0093] S222. Subtract the control image from the detected image to obtain the first preprocessed image. Its expression is:

[0094]

[0095] In the formula, Indicates the detection of pixels in the image Pixel intensity; Represents the pixels in the comparison image Pixel intensity;

[0096] S223, Process the first preprocessed image Perform Gaussian filtering to obtain the image to be used. Its expression is:

[0097]

[0098] In the formula, This represents the pixel coordinates of a pixel within the Gaussian kernel relative to its center point. Indicates standard deviation; This represents the natural constant. Specifically, when performing Gaussian filtering, a Gaussian kernel is first defined, and then the image is convolved using the Gaussian kernel to complete the filtering operation. The pixel coordinates of the center point of the Gaussian kernel are (0, 0). The distance from the center point of the Gaussian kernel is determined. For example, if the size of the Gaussian kernel is 3×3, then the pixel coordinates of the pixel in the upper left corner are (-1, -1). For custom parameters;

[0099] S23. Use the grayscale centroid method on the image to be processed. Each row of pixels is scanned to extract the center position of the laser line. The calculation formula is as follows:

[0100]

[0101] In the formula, This represents the pixel intensity of the pixel in the i-th row of the c-th column; This represents the maximum number of rows of pixels in the image to be used;

[0102] S24. With the camera position as the origin O1, construct a camera coordinate system with the east-west direction, the north-south direction, and the vertical direction as the X-axis, Y-axis, and Z-axis, respectively. Then, determine the center position of the laser line. Convert to 3D coordinates in camera coordinate system Specifically, step S24 includes the following steps:

[0103] S241. Obtain the camera's intrinsic parameter matrix. Its expression is:

[0104]

[0105] In the formula, and These represent the camera focal length in pixels; and These represent the intersection points of the camera's optical axis and the detection image plane, respectively.

[0106] S242. Construct the plane equation under the detection ray plane to calculate the camera's extrinsic parameters, including the plane normal vector. and constant term The equation of the plane is expressed as:

[0107]

[0108] Specifically, in solving the plane equation, a calibration block with a defined shape and size can be set up and fixed on a fixture of a titanium alloy rod. A laser is emitted onto the titanium alloy rod, and several images are captured. For each image, the pixel coordinates of the laser line's center point are extracted. Since the shape and size of the calibration block are known, and the distances between the calibration block and the camera and laser scanner are also determined, the intrinsic parameter matrix of the camera can be used as a reference. The pixel coordinates of the laser line center point in the camera coordinate system are obtained. The three-dimensional coordinates of the laser line center point in these images are then fitted using a plane fitting algorithm (such as the least squares method) to obtain the camera's extrinsic parameters.

[0109] S243, via the intrinsic parameter matrix Calculate the center position of the laser line In the three-dimensional coordinates of the camera coordinate system Its expression is:

[0110]

[0111] in,

[0112] ;

[0113] In the formula, Indicates the center position of the laser line One pixel; This represents the direction vector of a 3D ray in the camera coordinate system; Represents a point on a three-dimensional ray; Indicates the scale factor;

[0114] S244, Point Substitute into the plane equation to calculate the scale factor. The calculation formula is as follows:

[0115]

[0116] Specifically, the equation of the detection ray plane in the camera coordinate system is: Substitute the three-dimensional ray calculation formula into the above equation to obtain the scale factor.

[0117] S25. Repeat S21-S24 for each frame of the detected image to obtain the first 3D point cloud data of the titanium alloy rod surface.

[0118] In this invention, a laser is used to irradiate the surface of a rotating titanium alloy rod, and then 3D point cloud data is constructed based on the pattern formed by laser reflection. Compared with the method of directly analyzing surface defects based on 2D images, the three-dimensional dimensions of surface defects such as depth, length, and width can be obtained more accurately, and it is not affected by false defect signals such as surface color difference, oxidation marks, and oil stains, and has strong anti-interference ability.

[0119] S3. Acquire the surface temperature and vibration information of the titanium alloy rod at each moment. The vibration information includes vibration acceleration and vibration angular velocity. Specifically, since the detection image is taken during the rotation of the titanium alloy rod, the vibration caused by the rotation of the titanium alloy rod will reduce the accuracy of the detection image. In addition, the titanium alloy rod will expand or contract with temperature changes. If the above factors are not considered, the first 3D point cloud data will not be accurate enough. Therefore, it is necessary to detect the vibration and surface temperature of the titanium alloy rod. The vibration of the titanium alloy rod is obtained by an acceleration sensor, and the surface temperature is obtained by a temperature sensor.

[0120] S4. Correct the first 3D point cloud data based on surface temperature and vibration information to generate the second 3D point cloud data. Specifically, common point cloud data correction methods only consider the individual effects of component vibration and temperature changes on the point cloud data, without considering the combined effects of vibration and temperature on the titanium alloy rod. For example, the elastic modulus (stiffness) of the titanium alloy rod will decrease slightly with increasing temperature. Therefore, under the same rotational driving force or external disturbance, the titanium alloy rod with lower stiffness (at high temperature) will produce a larger amplitude and different vibration frequency. In other words, temperature changes will change the dynamic characteristics of the entire titanium alloy rod vibration system, thereby affecting the generation accuracy of the first 3D point cloud data. Therefore, step S4 specifically includes the following steps:

[0121] S41. Set up a parameter detection test to calculate the filter parameters at each temperature. and gain Specifically, step S41 includes the following steps:

[0122] S411. Install a standard titanium alloy rod, set several temperatures, and rotate the standard titanium alloy rod to detect the test parameters of the standard titanium alloy rod at each temperature. The test parameters include the actual vibration displacement and vibration velocity. Specifically, reflective marks can be attached to the standard titanium alloy rod, and its motion trajectory can be directly tracked in three dimensions using an optical motion capture system such as Vicon or OptiTrack.

[0123] S412, for each temperature Calculate linear acceleration based on vibration acceleration The calculation formula is as follows:

[0124]

[0125] In the formula, Indicates vibration acceleration; Represents gravitational acceleration;

[0126] S413, Define filter parameters and gain The range of values; specifically, The value range is (0.01, 0.5). The value range is (0.8, 1.2).

[0127] S414, Select any pair of filter parameters and gain And estimate the vibration displacement based on its calculation. The calculation formula is as follows:

[0128]

[0129] In the formula, Indicates in Estimated vibration displacement at time; Indicates in The vibration velocity of the titanium alloy rod at any given moment; Indicates at time The vibration acceleration; Indicates the current time and the current moment The time interval between;

[0130] S415. Calculate and estimate vibration displacement. The root mean square error between the actual vibration displacement and the actual vibration displacement The calculation formula is as follows:

[0131]

[0132] In the formula, This indicates the total number of times the experimental parameter was tested; Indicates the first The actual vibration displacement of the test parameters was detected in the second experiment. No. Estimated vibration displacement based on the parameters of the second test experiment;

[0133] S416. Use optimization algorithms to find the root mean square error. Minimum filter parameters and gain .

[0134] In this invention, the filtering parameters and gain at different temperatures are calculated experimentally. Compared with other point cloud data compensation methods, this method not only considers the individual effects of temperature and vibration on the accuracy of point cloud data, but also the mutual influence between temperature and vibration, which can improve the accuracy of subsequent point cloud data compensation.

[0135] S42. Obtain the linear thermal expansion coefficient of the titanium alloy rod and calculate its actual length at the current temperature. The calculation formula is as follows:

[0136]

[0137] In the formula, This indicates the standard length of the titanium alloy bar at the reference temperature; The linear thermal expansion coefficient of the titanium alloy rod; Indicates a reference temperature; specifically, It is 25 degrees Celsius; for ; and The dimensions are consistent;

[0138] S43. Extract filter parameters based on the current temperature. and gain The instantaneous deflection angle is calculated based on it. and instantaneous displacement The calculation formulas are as follows:

[0139]

[0140]

[0141] In the formula, Indicates the current moment The vibration angular velocity of the titanium alloy rod; Indicates at time The instantaneous deflection angle; Indicates the current moment Vibration velocity of the titanium alloy rod; Indicates at time The instantaneous displacement; specifically, It can be calculated based on vibration acceleration; when When the value is 1, it indicates that the titanium alloy rod was at rest at the previous moment. and All are 0;

[0142] S44, based on the instantaneous deflection angle and instantaneous displacement Constructing the vibration transformation matrix Its expression is:

[0143]

[0144] In the formula, Represents the rotation matrix;

[0145] Specifically, , ; ; ;in, , and These represent the deflection angles of the titanium alloy rod around the X, Y, and Z axes of the camera coordinate system, respectively; it should be noted that... , and It can be based on the instantaneous deflection angle Calculated; and The dimensions are consistent;

[0146] S45. According to the vibration transformation matrix The first 3D point cloud data is corrected to generate vibration-compensated point cloud data. The calculation formula is as follows:

[0147]

[0148] In the formula, This represents the first 3D point cloud data; This represents vibration-compensated point cloud data;

[0149] S46. Based on actual length Vibration compensation point cloud data The correction is performed to generate a second 3D point cloud data, and its calculation formula is as follows:

[0150]

[0151] In the formula, This represents the second 3D point cloud data.

[0152] S5. Construct the target model by inputting the second 3D point cloud data into the target model and outputting the types and sizes of all surface defects. Specifically, in step S5, a PointNet neural network is selected as the basis, and other titanium alloy rods of the same size and model are selected to generate corresponding point cloud data as training samples. Then, the size and type of each surface defect are manually labeled as sample labels. The neural network is trained using the training samples and sample labels to obtain the target model. Alternatively, PointNet++ and DGCNN, which can process point cloud data, can be used as the basis for constructing the target model. These are all existing technologies and will not be elaborated here.

[0153] The target model outputs the type and size of surface defects and feeds them back to the control terminal so that the operator can analyze the cause of the surface defects, adjust the production process, and remove unqualified titanium alloy rods.

[0154] The above embodiments provide a detailed description of the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A quality inspection method applicable to titanium alloy bars, characterized in that, Specifically, the following steps are included: S1. Rotate the titanium alloy rod at a constant speed and emit detection light towards the surface of the titanium alloy rod; S2. Capture the detection light reflected from the surface of the titanium alloy rod to obtain a detection image, and extract the first 3D point cloud data of the surface of the titanium alloy rod based on the detection image; S3. Obtain the surface temperature and vibration information of the titanium alloy rod at each moment. The vibration information includes vibration acceleration and vibration angular velocity. S4. Correct the first 3D point cloud data based on surface temperature and vibration information to generate the second 3D point cloud data; S5. Construct the target model by inputting the second 3D point cloud data into the target model and outputting the types and sizes of all surface defects.

2. The quality inspection method for titanium alloy bars according to claim 1, characterized in that, The incident angle of the light source is between 30 and 60 degrees, and the receiving angle of the light receiver is also between 30 and 60 degrees.

3. The quality inspection method for titanium alloy bars according to claim 1, characterized in that, Step S2 specifically includes the following steps: S21. Construct an image coordinate system with the top left corner of the detected image as the origin 0, and the top and left sides of the detected image as the x-axis and y-axis, respectively. S22. Preprocess the detected image to obtain the image to be used. ; S23. Use the grayscale centroid method on the image to be processed. Each row of pixels is scanned to extract the center position of the laser line. The calculation formula is as follows: In the formula, This represents the pixel intensity of the pixel in the i-th row of the c-th column; This represents the maximum number of rows of pixels in the image to be used; S24. With the camera position as the origin O1, construct a camera coordinate system with the east-west direction, the north-south direction, and the vertical direction as the X-axis, Y-axis, and Z-axis, respectively. Then, determine the center position of the laser line. Convert to 3D coordinates in camera coordinate system ; S25. Repeat S21-S24 for each frame of the detected image to obtain the first 3D point cloud data of the titanium alloy rod surface.

4. The quality inspection method for titanium alloy bars according to claim 3, characterized in that, Step S22 specifically includes the following steps: S221. Obtain a control image of the titanium alloy rod that is not affected by the detection light, and find the control image that corresponds to the detection image. S222. Subtract the control image from the detected image to obtain the first preprocessed image. Its expression is: In the formula, Indicates the detection of pixels in the image Pixel intensity; Represents the pixels in the comparison image Pixel intensity; S223, Process the first preprocessed image Perform Gaussian filtering to obtain the image to be used. Its expression is: In the formula, This represents the pixel coordinates of a pixel within the Gaussian kernel relative to its center point. Indicates standard deviation; Represents the natural constant.

5. The quality inspection method for titanium alloy bars according to claim 3, characterized in that, Step S24 specifically includes the following steps: S241. Obtain the camera's intrinsic parameter matrix. Its expression is: In the formula, and These represent the camera focal length in pixels; and These represent the intersection points of the camera's optical axis and the detection image plane, respectively. S242. Construct the plane equation under the detection ray plane to calculate the camera's extrinsic parameters, including the plane normal vector. and constant term The equation of the plane is expressed as: S243, via the intrinsic parameter matrix Calculate the center position of the laser line In the three-dimensional coordinates of the camera coordinate system Its expression is: in, In the formula, Indicates the center position of the laser line One pixel; This represents the direction vector of a 3D ray in the camera coordinate system; Represents a point on a three-dimensional ray; Indicates the scale factor; S244, Point Substitute into the plane equation to calculate the scale factor. The calculation formula is as follows: In the formula, Represents the scale factor.

6. The quality inspection method for titanium alloy bars according to claim 1, characterized in that, Step S4 specifically includes the following steps: S41. Set up a parameter detection test to calculate the filter parameters at each temperature. and gain ; S42. Obtain the linear thermal expansion coefficient of the titanium alloy rod and calculate its actual length at the current temperature. The calculation formula is as follows: In the formula, This indicates the standard length of the titanium alloy bar at the reference temperature; The linear thermal expansion coefficient of the titanium alloy rod; Indicates reference temperature; S43. Extract filter parameters based on the current temperature. and gain The instantaneous deflection angle is calculated based on it. and instantaneous displacement The calculation formulas are as follows: In the formula, Indicates the current moment The vibration angular velocity of the titanium alloy rod; Indicates at time The instantaneous deflection angle; Indicates the current moment Vibration velocity of the titanium alloy rod; Indicates at time The instantaneous displacement; S44, based on the instantaneous deflection angle and instantaneous displacement Constructing the vibration transformation matrix Its expression is: In the formula, Represents the rotation matrix; S45. According to the vibration transformation matrix The first 3D point cloud data is corrected to generate vibration-compensated point cloud data. The calculation formula is as follows: In the formula, This represents the first 3D point cloud data; This represents vibration-compensated point cloud data; S46. Based on actual length Vibration compensation point cloud data The correction is performed to generate a second 3D point cloud data, and its calculation formula is as follows: In the formula, This represents the second 3D point cloud data.

7. The quality inspection method for titanium alloy bars according to claim 6, characterized in that, Step S41 specifically includes the following steps: S411. Install a standard titanium alloy rod, set several temperatures, and rotate the standard titanium alloy rod to detect the test parameters of the standard titanium alloy rod at each temperature. The test parameters include the actual vibration displacement and vibration velocity. S412, for each temperature Calculate linear acceleration based on vibration acceleration The calculation formula is as follows: In the formula, Indicates vibration acceleration; Represents gravitational acceleration; S413, Define filter parameters and gain The range of values ​​for; S414, Select any pair of filter parameters and gain And estimate the vibration displacement based on its calculation. ; S415. Calculate and estimate vibration displacement. The root mean square error between the actual vibration displacement and the actual vibration displacement The calculation formula is as follows: In the formula, This indicates the total number of times the experimental parameter was tested; Indicates the first The actual vibration displacement of the test parameters was detected in the second experiment. No. Estimated vibration displacement based on the parameters of the second test experiment; S416. Use optimization algorithms to find the root mean square error. Minimum filter parameters and gain .

8. The quality inspection method for titanium alloy bars according to claim 7, characterized in that, In step S414, the vibration displacement is estimated. The calculation formula is: In the formula, Indicates in Estimated vibration displacement at time; Indicates in The vibration velocity of the titanium alloy rod at any given moment; Indicates at time The vibration acceleration; Indicates the current time and the current moment The time interval between them.

9. The quality inspection method for titanium alloy bars according to claim 1, characterized in that, In step S5, PointNet neural network is selected as the basis, and other titanium alloy rods of the same size and model are selected to generate corresponding point cloud data as training samples. Then, the size and type of each surface defect are manually labeled as sample labels. The neural network is trained using the training samples and sample labels to obtain the target model.

Citation Information

Patent Citations

  • Dynamic calibration type laser surface real-time detection method and system

    CN120446138A

  • Pentahedron machining center precision calibration method and system based on multi-sensor fusion

    CN120480662A

  • Building structure three-dimensional intelligent surveying and mapping system based on multi-modal point cloud fusion

    CN120538483A

  • Nut thread defect detection method and system and medium

    CN120765572A

  • Titanium alloy bar quality detection system and method

    CN120908307A