Elastic modulus optimization method and device for titanium alloy bars based on deformation characteristics analysis
Through deformation characteristic analysis methods and multi-variable testing devices, the problems of large errors and time-consuming and labor-intensive in the elastic modulus test of titanium rods are solved, efficient and accurate measurement of elastic modulus is achieved, and the degree of intelligent testing is improved.
Patent Information
- Application Number
- CN202411224596.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-09-03
AI Technical Summary
The existing titanium rod elastic modulus testing methods have large errors, time-consuming and labor-intensive, and low intelligence. Especially under different tensile forces, the deformation variable changes are small, making it difficult to measure efficiently.
Using a method based on deformation feature analysis, the initial titanium rod set is obtained through a test device composed of forging unit, fixed unit, tensile unit and imaging unit, a sequence of forging deformation value is constructed, outliers are eliminated, the forging elastic modulus is calculated, and the imaging is used. Unit measurement deformation data to improve the intelligence of testing.
It reduces time and human resources consumption, improves the accuracy and intelligence of the elastic modulus test of titanium rods, and reduces measurement errors.
Smart Images

Figure CN118761234B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of titanium rod elastic modulus testing, and in particular to a titanium alloy rod elastic modulus optimization method, device, electronic equipment and computer-readable storage medium based on deformation feature analysis. Background Art
[0002] Titanium rods, mainly made of titanium alloy, have high strength, low density, and good corrosion resistance. They are widely used in aerospace, automobile, medical equipment and other fields. The elastic modulus can quantitatively describe the deformation characteristics of the material under force. Therefore, when judging whether the titanium rod can meet the target use requirements, the elastic modulus needs to be tested.
[0003] Titanium rods are mainly processed by deformation and heat treatment. Therefore, the elastic modulus of titanium rods needs to be optimized by changing the element ratio of titanium rods, changing the processing method, etc. In the existing technology, a tensile test is performed on titanium rods, and the general elastic modulus calculation formula is used to calculate the change in deformation data based on the data obtained during the tensile test. Micrometers are often used for measurement.
[0004] Although the above method can measure the deformation data of the titanium rod, when the tensile test is carried out at different tensile forces, the deformation of the titanium rod changes very little, and the error is large when measured with a micrometer. It is also necessary to measure every time it is stretched, which is time-consuming and laborious, and the degree of intelligence needs to be improved. Summary of the invention
[0005] The present invention provides a titanium alloy bar elastic modulus optimization method based on deformation feature analysis and a computer-readable storage medium, the main purpose of which is to improve the intelligence level of titanium bar elastic modulus testing under different forging deformations and reduce excessive consumption of time and human resources.
[0006] To achieve the above object, the present invention provides a method for optimizing the elastic modulus of a titanium alloy bar based on deformation characteristic analysis, comprising:
[0007] Receiving an elastic modulus performance analysis instruction, and starting an elastic modulus testing device according to the elastic modulus performance analysis instruction, wherein the elastic modulus testing device includes: a forging unit, a fixing unit, a stretching unit and a camera unit;
[0008] Acquire an initial titanium rod set based on a pre-constructed element mass fraction gradient, wherein the initial titanium rod set includes a plurality of initial titanium rods, each of the plurality of initial titanium rods has a different mass fraction of a first element, and each of the plurality of initial titanium rods has the same shape and volume;
[0009] A forging deformation value sequence is constructed based on the forging unit, and a forging operation is performed on the initial titanium rod set based on the forging deformation value sequence and the forging unit to obtain a forged titanium rod sequence, wherein the forging deformation value sequence includes a plurality of forging deformation values, the forged titanium rod sequence includes a plurality of forged titanium rods, and the forging deformation values correspond to the forged titanium rods one by one;
[0010] The forged titanium rods are sequentially extracted from the forged titanium rod sequence, and the following operations are performed on the extracted forged titanium rods:
[0011] Confirm the mass fraction of the first element in the extracted forged titanium rod to obtain the mass fraction of the forged element, fix the extracted forged titanium rod using a fixing unit to obtain a fixed titanium rod, stretch the fixed titanium rod based on the stretching unit to obtain an initial elastic modulus sequence, remove the abnormal value set in the initial elastic modulus sequence to obtain a tensile elastic modulus sequence, calculate the forging elastic modulus of the extracted forged titanium rod based on the tensile elastic modulus sequence, and obtain identification titanium rod data using the forging elastic modulus, the mass fraction of the forging element, the forging deformation value and the extracted forged titanium rod;
[0012] The identified titanium rod data are summarized to obtain the identified titanium rod data set corresponding to the forged titanium rod sequence. The target elastic modulus and the target titanium rod corresponding to the target elastic modulus are confirmed based on the identified titanium rod data set. Based on the target elastic modulus and the target titanium rod, the elastic modulus optimization of the titanium alloy rod based on deformation feature analysis is completed.
[0013] Optionally, the step of fixing the extracted forged titanium rod by a fixing unit to obtain a fixed titanium rod comprises:
[0014] Start the fixing unit, wherein the fixing unit includes: a horizontal platform, a tension sensor, an end fixture and a stretching fixture, the horizontal platform includes: a fixed end and a rotating end, the fixed end is one end of the horizontal platform, the rotating end is the other end of the horizontal platform away from the fixed end, the rotating end is rotatably connected to the fixed end through the horizontal platform, the rotating end is also provided with a titanium rod fixing hole, and the tension sensor is arranged on the horizontal platform;
[0015] The first end, the middle end and the second end of the extracted forged titanium rod are identified, and a fixing operation is performed on the extracted forged titanium rod based on the first end, the middle end, the second end and the started fixing unit to obtain a fixed titanium rod, wherein the fixing operation is: fixing the first end to the end fixer, then passing the extracted forged titanium rod through the titanium rod fixing hole, and connecting the middle end to the tension sensor, and fixing the second end to the tensile fixer.
[0016] Optionally, the step of obtaining an initial elastic modulus sequence by stretching and fixing the titanium rod based on the stretching unit comprises:
[0017] Acquire a stretch value sequence based on a stretch unit, wherein the stretch value sequence includes a plurality of stretch values;
[0018] Extract stretch values from the stretch value sequence in sequence, and perform the following operations on the extracted stretch values:
[0019] A detection segment is constructed according to the first end and the middle end, the detection segment is divided to obtain a plurality of unit segments, unit segments are sequentially extracted from the plurality of unit segments, and the following operations are performed on the extracted unit segments:
[0020] Using a tension sensor to measure the initial tension of the fixed titanium rod, using a camera unit to obtain the initial length and initial radius of the extracted unit section, using a stretching unit to stretch the fixed titanium rod to obtain a stretched titanium rod, using a tension sensor to measure the post-stretching tension of the stretched titanium rod, based on the camera unit to obtain the stretched length and stretched radius of the stretched titanium rod corresponding to the extracted unit section, and calculating the section elastic modulus of the extracted unit section based on the initial length, the stretched length, the initial radius, the stretched radius, the initial tension and the post-stretching tension;
[0021] Summarize the segment elastic moduli to obtain the segment elastic modulus sequence corresponding to the detection segment;
[0022] The segment elastic modulus sequence is summarized to obtain the initial elastic modulus sequence corresponding to the stretch value sequence.
[0023] Optionally, the segment elastic modulus of the unit segment extracted by calculating based on the initial length, the length after stretching, the initial radius, the radius after stretching, the initial tension and the tension after stretching includes:
[0024] A calculation formula for the segment elastic modulus is constructed, and the segment elastic modulus of the extracted unit segment is calculated using the segment elastic modulus calculation formula, the initial length, the length after stretching, the initial radius, the radius after stretching, the initial tension, and the tension after stretching. The calculation formula for the segment elastic modulus is as follows:
[0025] ,
[0026] in, represents the segment elastic modulus, Indicates the initial tension of the fixed titanium rod, Indicates the tensile force of the titanium rod after stretching. represents the initial radius of the extracted unit segment, It represents the stretched radius of the titanium rod in the extracted unit section. represents the initial length of the extracted unit segment, It indicates the stretched length of the titanium rod corresponding to the extracted unit section after stretching.
[0027] Optionally, the obtaining the initial length and initial radius of the extracted unit segment by using a camera unit includes:
[0028] Identify the extracted unit segment to obtain a unit end and a unit end, wherein the unit end is located at the end of the extracted unit segment, and the unit end is located at the other end of the extracted unit segment away from the unit end;
[0029] The rotation step length of the camera unit is obtained. Based on the rotation step length, the extracted unit segment is photographed by the camera unit to obtain a plurality of initial images. The initial images are sequentially extracted from the plurality of initial images, and the following operations are performed on the extracted initial images:
[0030] Based on the pre-constructed image transformation formula, the first end of the unit and the second end of the unit, a perspective transformation is performed on the extracted initial image to obtain a transformed image, a denoising operation is performed on the transformed image to obtain a denoised image, a binarization operation is performed on the denoised image to obtain a binarized image, and a suboptimal length and a suboptimal radius corresponding to the extracted unit segment are obtained according to the binarized image, wherein the grayscale value of the pixel of the unit segment in the binarized image is 255, and the grayscale value of the pixel of the area outside the unit segment in the binarized image is 0;
[0031] Summarize the suboptimal lengths to obtain the suboptimal length sets corresponding to multiple initial images.
[0032] Summarize the suboptimal radii to obtain a suboptimal radius set corresponding to multiple initial images;
[0033] The initial length and initial radius of the extracted unit segment are confirmed based on the suboptimal length set and the suboptimal radius set.
[0034] Optionally, performing perspective transformation on the extracted initial image based on a pre-constructed image transformation formula, a unit end, and a unit end to obtain a transformed image includes:
[0035] Constructing an initial image coordinate system, obtaining a plurality of initial pixel coordinates of the extracted initial image based on the initial image coordinate system, obtaining a plurality of initial positioning coordinates according to the initial image coordinate system, the first end of the unit and the second end of the unit, and confirming a plurality of transformed positioning coordinates based on the plurality of initial positioning coordinates, wherein the plurality of initial pixel coordinates do not include the plurality of initial positioning coordinates, the number of the plurality of initial positioning coordinates is 4, the number of the plurality of transformed positioning coordinates is 4, and the transformed positioning coordinates correspond one to one with the initial positioning coordinates;
[0036] The perspective transformation matrix is calculated according to the multiple initial positioning coordinates and the multiple transformed positioning coordinates, where the perspective transformation matrix is:
[0037] ,
[0038] in, represents the perspective transformation matrix, , , , , , , and These are all elements in the perspective transformation matrix;
[0039] The initial pixel coordinates are sequentially extracted from the multiple initial pixel coordinates, and the transformed pixel coordinates corresponding to the extracted initial pixel coordinates are calculated using the image transformation formula, and the transformed pixel coordinates are summarized to obtain a transformed image, wherein the image transformation formula is:
[0040] ,
[0041] in, represents the transformed pixel coordinates corresponding to the extracted initial pixel coordinates, and , Represents the horizontal coordinate of the transformed pixel coordinate in the coordinate system corresponding to the transformed image, Represents the ordinate of the transformed pixel coordinate in the coordinate system corresponding to the transformed image, represents the initial pixel coordinates extracted, and , represents the horizontal coordinate of the extracted initial pixel coordinate in the initial image coordinate system, Represents the ordinate of the extracted initial pixel coordinate in the initial image coordinate system.
[0042] Optionally, performing a denoising operation on the transformed image to obtain a denoised image includes:
[0043] The denoising operation is performed on the transformed image using the pre-constructed joint bilateral filtering calculation formula to obtain a denoised image, where the joint bilateral filtering calculation formula is:
[0044] ,
[0045] in, represents the center pixel in the transformed image, represents the gray value of the central pixel in the denoised image, represents the normalization factor of the denoising operation in joint bilateral filtering, represents the neighborhood of the central pixel, represents the neighboring pixels adjacent to the central pixel in the neighborhood, represents the gray value of the center pixel in the transformed image, represents the gray value of adjacent pixels in the transformed image, represents the magnitude of the vector between the central pixel and the adjacent pixels, represents the Gaussian filter function consisting of the modulus of the vector between the central pixel and the adjacent pixels, Represents the absolute value of the difference between the grayscale value of the central pixel in the transformed image and the grayscale value of the adjacent pixels in the transformed image. Represents a Gaussian filter function consisting of the absolute value of the difference between the grayscale value of the central pixel in the transformed image and the grayscale value of the adjacent pixels in the transformed image.
[0046] Optionally, the acquiring, according to the binary image, a suboptimal length and a suboptimal radius corresponding to the extracted unit segment includes:
[0047] The binary image is divided to obtain a plurality of column pixel sequences, column pixel sequences are sequentially extracted from the plurality of column pixel sequences, and the following operations are performed on the extracted column pixel sequences:
[0048] Extract column pixels from the extracted column pixel sequence in sequence, and perform the following operations on the extracted column pixels:
[0049] Obtaining the column pixel grayscale value of the extracted column pixel;
[0050] If the grayscale value of the column pixel is 255, it is confirmed that the extracted column pixel is the starting point of the initial length.
[0051] Otherwise, skip the extracted column pixels;
[0052] After the initial length starting point is confirmed, t columns of pixels are obtained based on the initial length starting point and the preset number of noise points, where the number of noise points is t, and t is a positive integer greater than or equal to 4;
[0053] Accumulate the column pixel grayscale values of t column pixels to obtain a pixel accumulated value, and compare the pixel accumulated value with a preset starting point judgment accumulated value;
[0054] If the pixel accumulation value is greater than or equal to the starting point judgment accumulation value, the initial length starting point is confirmed to be the suboptimal length starting point;
[0055] If the pixel cumulative value is less than the starting point judgment cumulative value, the initial length starting point is confirmed to be a non-length starting point, and an optimized column pixel sequence is extracted from the extracted column pixel sequence;
[0056] Comparing the number of column pixels in the optimized column pixel sequence with a preset number, wherein the preset number is m, and m is a positive integer greater than t;
[0057] If the number of column pixels in the optimized column pixel sequence is less than the preset number, it is determined that the extracted column pixel sequence is a noise sequence, the extracted column pixel sequence is skipped, and the step of sequentially extracting column pixel sequences from a plurality of column pixel sequences is returned to until it is determined that the initial length starting point is a suboptimal length starting point or the plurality of column pixel sequences are all extracted;
[0058] If the number of column pixels in the optimized column pixel sequence is greater than or equal to a preset number, skipping the extracted column pixels, and returning to the step of sequentially extracting column pixels from the extracted column pixel sequence until it is confirmed that the initial length starting point is a suboptimal length starting point;
[0059] After the suboptimal length starting point is confirmed, the suboptimal length end point is obtained based on the column pixel sequence, and the unit suboptimal length is calculated based on the suboptimal length starting point and the suboptimal length end point;
[0060] Summarize the unit suboptimal lengths to obtain a unit suboptimal length set, remove the abnormal length set in the unit suboptimal length set to obtain a suboptimal length set, and calculate the suboptimal length based on the suboptimal length set;
[0061] The binary image is divided to obtain a plurality of row pixel sequences, and a suboptimal radius is determined based on the plurality of row pixel sequences.
[0062] Optionally, before removing the abnormal value set in the initial elastic modulus sequence, the method further includes:
[0063] The mean of the initial elastic modulus in the initial elastic modulus sequence is calculated to obtain the initial mean, the initial standard deviation is calculated according to the initial mean and the initial elastic modulus sequence, and the elastic modulus reference range is constructed based on the initial standard deviation and the initial mean, wherein the elastic modulus reference range is:
[0064] ,
[0065] in, represents the initial mean, represents the initial standard deviation;
[0066] The initial elastic moduli are extracted from the initial elastic modulus sequence in sequence, and the following operations are performed on the extracted initial elastic moduli:
[0067] If the extracted initial elastic modulus belongs to the elastic modulus reference range, the extracted initial elastic modulus is skipped;
[0068] Otherwise, the extracted initial elastic modulus is confirmed to be an abnormal value;
[0069] The outliers are aggregated to obtain an outlier set, wherein the outlier set includes zero, one or more outliers.
[0070] To achieve the above object, the present invention also provides a titanium alloy bar elastic modulus optimization device based on deformation characteristic analysis, comprising:
[0071] An initial titanium rod set acquisition module is used to receive an elastic modulus performance analysis instruction, and start an elastic modulus test device according to the elastic modulus performance analysis instruction, wherein the elastic modulus test device includes: a forging unit, a fixing unit, a stretching unit, and a camera unit, and acquires an initial titanium rod set based on a pre-constructed element mass fraction gradient, wherein the initial titanium rod set includes a plurality of initial titanium rods, each of the plurality of initial titanium rods has a different mass fraction of a first element, and each of the plurality of initial titanium rods has the same shape and volume;
[0072] A forged titanium rod acquisition module is used to construct a forging deformation value sequence based on a forging unit, and to perform a forging operation on an initial titanium rod set based on the forging deformation value sequence and the forging unit to obtain a forged titanium rod sequence, wherein the forging deformation value sequence includes a plurality of forging deformation values, the forged titanium rod sequence includes a plurality of forged titanium rods, and the forging deformation values correspond to the forged titanium rods one by one;
[0073] The identification titanium rod data acquisition module is used to sequentially extract forged titanium rods from the forged titanium rod sequence, and perform the following operations on the extracted forged titanium rods: confirm the mass fraction of the first element in the extracted forged titanium rod to obtain the forged element mass fraction, fix the extracted forged titanium rod by using a fixing unit to obtain a fixed titanium rod, stretch the fixed titanium rod based on the stretching unit to obtain an initial elastic modulus sequence, remove the abnormal value set in the initial elastic modulus sequence to obtain a stretching elastic modulus sequence, calculate the forging elastic modulus of the extracted forged titanium rod based on the stretching elastic modulus sequence, and obtain the identification titanium rod data by using the forging elastic modulus, the forging element mass fraction, the forging deformation value and the extracted forged titanium rod;
[0074] The target elastic modulus acquisition module is used to summarize the identified titanium rod data and obtain the identified titanium rod data set corresponding to the forged titanium rod sequence. Based on the identified titanium rod data set, the target elastic modulus and the target titanium rod corresponding to the target elastic modulus are confirmed, and based on the target elastic modulus and the target titanium rod, the elastic modulus optimization of the titanium alloy rod based on deformation feature analysis is completed.
[0075] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:
[0076] A memory storing at least one instruction;
[0077] The processor executes the instructions stored in the memory to implement the above-mentioned method for optimizing the elastic modulus of titanium alloy bars based on deformation feature analysis.
[0078] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the above-mentioned method for optimizing the elastic modulus of titanium alloy bars based on deformation feature analysis.
[0079] The present invention is to solve the problem described in the background technology. The present invention obtains an initial titanium rod set based on a pre-constructed element mass fraction gradient. The elastic modulus performance analysis can be performed on the initial titanium rod set corresponding to different first elements. The present invention constructs a forging deformation value sequence based on a forging unit, performs a forging operation on the initial titanium rod set based on the forging deformation value sequence and the forging unit, and obtains a forged titanium rod sequence. After the initial titanium rod is forged and compressed, the elastic modulus of the forged titanium rod changes. Therefore, the present invention analyzes the elastic modulus of titanium rods with different first elements and different deformation values, so that the analysis data is more complete. The present invention sequentially extracts forged titanium rods from a forged titanium rod sequence, and performs the following operations on the extracted forged titanium rods: confirming the mass fraction of the first element in the extracted forged titanium rod to obtain the forged element mass fraction, fixing the extracted forged titanium rod using a fixing unit to obtain a fixed titanium rod, stretching the fixed titanium rod based on the stretching unit to obtain an initial elastic modulus sequence, eliminating the abnormal value set in the initial elastic modulus sequence to obtain a stretching elastic modulus sequence, calculating the forging elastic modulus of the extracted forged titanium rod based on the stretching elastic modulus sequence, and obtaining identification titanium rod data using the forging elastic modulus, the forging element mass fraction, the forging deformation value and the extracted forged titanium rod. Summarizing the identification titanium rod data to obtain an identification titanium rod data set corresponding to the forged titanium rod sequence, and confirming the target elastic modulus and the target titanium rod corresponding to the target elastic modulus based on the identification titanium rod data set. After the titanium rod is fixed, the camera unit is used to measure the shape of the titanium rod. This method does not directly contact the surface of the titanium rod, saves time and effort, and can query multiple data of the forged titanium rod extracted by identifying the titanium rod data, which is convenient for analyzing the deformation characteristics of the forged titanium rod extracted. Therefore, the present invention can improve the intelligence level of the elastic modulus test of the titanium rod under different forging deformations and reduce the excessive consumption of time and human resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0080] Figure 1 A schematic flow chart of a method for optimizing elastic modulus of a titanium alloy bar based on deformation characteristic analysis provided in one embodiment of the present invention;
[0081] Figure 2 A functional module diagram of a titanium alloy bar elastic modulus optimization device based on deformation feature analysis provided by one embodiment of the present invention;
[0082] Figure 3 A schematic structural diagram of an electronic device for implementing the method for optimizing the elastic modulus of a titanium alloy bar based on deformation feature analysis provided in one embodiment of the present invention.
[0083] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0084] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0085] The embodiment of the present application provides a method for optimizing the elastic modulus of titanium alloy bars based on deformation feature analysis. The execution subject of the method for optimizing the elastic modulus of titanium alloy bars based on deformation feature analysis includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided in the embodiment of the present application. In other words, the method for optimizing the elastic modulus of titanium alloy bars based on deformation feature analysis can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.
[0086] Reference Figure 1 FIG. 1 is a flow chart of a method for optimizing the elastic modulus of a titanium alloy bar based on deformation feature analysis according to an embodiment of the present invention. In this embodiment, the method for optimizing the elastic modulus of a titanium alloy bar based on deformation feature analysis includes:
[0087] S1. Receive an elastic modulus performance analysis instruction, and start an elastic modulus testing device according to the elastic modulus performance analysis instruction.
[0088] Specifically, the elastic modulus testing device includes: a forging unit, a fixing unit, a stretching unit and a camera unit.
[0089] It should be explained that the elastic modulus performance analysis instruction is initiated by the titanium rod elastic modulus tester. For example, Xiao Zhang is a tester of a titanium rod production plant. The plant produces a batch of titanium alloy rods under different deformation processes, which are referred to as titanium rods in the embodiments of the present invention. In order to screen out the target titanium rod with elastic modulus that can meet customer needs, the elastic modulus performance analysis instruction is initiated.
[0090] In the embodiment of the present invention, the elastic modulus testing device is a device for testing the elastic modulus of a titanium alloy rod under different deformation processes, and the elastic modulus testing device is composed of a forging unit, a fixing unit, a stretching unit and a camera unit.
[0091] Importantly, the forging unit is a unit used to forge titanium rods. Optionally, the embodiment of the present invention performs forging compression on the initial titanium rod. For example, the initial titanium rod is a cylinder, and the length of the initial titanium rod is 100 mm. The initial titanium rod is forged and compressed to 95 mm by the forging unit. The main function of the fixing unit is to fix the titanium rod to prevent the titanium rod from shaking when performing elastic modulus performance analysis, resulting in inaccurate testing. In the embodiment of the present invention, the test method of the elastic modulus is: stretching the titanium rod, and calculating the elastic modulus of the titanium rod based on the deformation data before and after stretching the titanium rod. Therefore, the fixing unit also provides a force point for the stretching unit during the process of stretching the titanium rod. The stretching unit is a unit for stretching and fixing the titanium rod, and the camera unit is a unit for photographing the titanium rod, which can calculate the deformation data of the titanium rod based on the captured image.
[0092] S2. Obtain an initial set of titanium rods based on a pre-built element mass fraction gradient.
[0093] Specifically, the initial titanium rod set includes a plurality of initial titanium rods, each of the plurality of initial titanium rods contains a first element with a different mass fraction, and each of the plurality of initial titanium rods has the same shape and volume.
[0094] It can be understood that the pre-constructed element mass fraction gradient is a gradient constructed by the mass fraction of the first element in the initial titanium rod. For example, the first element is aluminum, and the pre-constructed element mass fraction gradient is: 1%, 2%, 3%, 4%, 5% and 6%. Then the initial titanium rod set includes initial titanium rods with an aluminum mass fraction of 1%, initial titanium rods with an aluminum mass fraction of 2%, ..., initial titanium rods with an aluminum mass fraction of 6%, and so on, which will not be repeated here.
[0095] It should be understood that the first element is an element that affects the elastic modulus of the titanium rod. Optionally, the first element includes but is not limited to: aluminum, titanium, carbon or nitrogen, etc. The embodiment of the present invention does not limit the first element. Therefore, the elastic modulus performance analysis can be performed on the initial titanium rod set corresponding to different first elements.
[0096] Specifically, the initial titanium rod set is a collection of multiple initial titanium rods, and each initial titanium rod in the initial titanium rod set has exactly the same shape and volume, but the difference is that the mass fractions of the first element between different initial titanium rods are different.
[0097] Furthermore, the shape of the initial titanium rods in the embodiments of the present invention is cylindrical.
[0098] S3. Construct a forging deformation value sequence based on the forging unit, and perform a forging operation on the initial titanium rod set based on the forging deformation value sequence and the forging unit to obtain a forged titanium rod sequence.
[0099] Furthermore, the forging deformation value sequence includes multiple forging deformation values, the forged titanium rod sequence includes multiple forged titanium rods, and the forging deformation values correspond to the forged titanium rods one by one.
[0100] It should be noted that the forging deformation value sequence is a series of values used to measure the deformation of the initial titanium rod after the forging unit performs a forging operation. This value is the forging deformation value. For example, the length of the initial titanium rod in the initial titanium rod set is 100 mm. In order to study the influence of the deformation value on the elastic modulus during forging compression, the experimenter set the forging deformation value sequence as: 5%, 10%, 15%, 20%, 25%, ..., 50%. The forging unit will forge the initial titanium rod according to the forging deformation value in the forging deformation value sequence. Assuming that the extracted forging deformation value is 5%, the forging unit forges an initial titanium rod to obtain a forged titanium rod, so that the original length of 100 mm is forged and compressed to a length of 95 mm. Among them, the forging compression process is a prior art and will not be repeated here.
[0101] It should be noted that the forged titanium rod is a titanium rod forged by a forging unit. According to the definition of elastic modulus, after the initial titanium rod is forged and compressed, the elastic modulus of the forged titanium rod changes, so the embodiment of the present invention analyzes the elastic modulus of titanium rods with different first elements and different deformation values.
[0102] S4. Extract forged titanium rods from the forged titanium rod sequence in sequence, and perform the following operations on the extracted forged titanium rods: confirm the mass fraction of the first element in the extracted forged titanium rod to obtain the mass fraction of the forging element, and fix the extracted forged titanium rod using a fixing unit to obtain a fixed titanium rod.
[0103] It is understandable that the mass fraction of the forged element is the value of the mass fraction of the first element in the forged titanium rod extracted. The fixed titanium rod is the forged titanium rod after being fixed.
[0104] Furthermore, the method of fixing the extracted forged titanium rod by a fixing unit to obtain a fixed titanium rod comprises:
[0105] Start the fixing unit, wherein the fixing unit includes: a horizontal platform, a tension sensor, an end fixture and a stretching fixture, the horizontal platform includes: a fixed end and a rotating end, the fixed end is one end of the horizontal platform, the rotating end is the other end of the horizontal platform away from the fixed end, the rotating end is rotatably connected to the fixed end through the horizontal platform, the rotating end is also provided with a titanium rod fixing hole, and the tension sensor is arranged on the horizontal platform;
[0106] The first end, the middle end and the second end of the extracted forged titanium rod are identified, and a fixing operation is performed on the extracted forged titanium rod based on the first end, the middle end, the second end and the started fixing unit to obtain a fixed titanium rod, wherein the fixing operation is: fixing the first end to the end fixer, then passing the extracted forged titanium rod through the titanium rod fixing hole, and connecting the middle end to the tension sensor, and fixing the second end to the tensile fixer.
[0107] It should be noted that the horizontal platform is a platform parallel to the horizontal ground. The function of the horizontal platform is to place the tension sensor so that the tension sensor can measure the tension on the fixed titanium rod. The titanium rod fixing hole is a hole for fixing the middle end. The end fixture is a fixture for fixing the first end. The stretching fixture is a fixture for fixing the second end, and the stretching unit applies tension to the extracted forged titanium rod. The fixed end is the end of the horizontal platform away from the extracted forged titanium rod, and the rotating end is the end of the horizontal platform close to the extracted forged titanium rod. For ease of understanding, the horizontal platform is regarded as a lever, then the horizontal platform has and only has one fulcrum, and the fulcrum is at the fixed end. When the extracted forged titanium rod is stretched and deformed due to the stretching, since the forged titanium rod is fixed on the titanium rod fixing hole at the rotating end, the rotating end will move in space with the deformation of the forged titanium rod, and the spatial movement is: rotating around the fixed end around the fulcrum. The tension sensor is a sensor used to measure the tension on the fixed titanium rod.
[0108] It can be understood that the present invention is based on the horizontal ground, wherein the circular cross-section of the cylindrical fixed titanium rod is parallel to the horizontal ground, the direction in which the height of the cylinder in the fixed titanium rod is perpendicular to the horizontal ground, and the forged titanium rod and the fixed titanium rod are placed in the same direction. Therefore, the first end is the end of the forged titanium rod farthest from the horizontal ground, and the second end is the end of the forged titanium rod closest to the horizontal ground. A point is taken in the middle of the first end and the second end as the middle end. Optionally, the embodiment of the present invention takes the distance between the middle end and the second end as one third of the total length of the extracted forged titanium rod.
[0109] S5. Based on the stretching unit, the titanium rod is stretched and fixed to obtain an initial elastic modulus sequence, and an abnormal value set in the initial elastic modulus sequence is eliminated to obtain a stretching elastic modulus sequence.
[0110] It can be understood that the initial elastic modulus sequence is a sequence consisting of a plurality of initial elastic moduli extracted from the forged titanium rod.
[0111] Further, the stretching unit is used to stretch and fix the titanium rod to obtain an initial elastic modulus sequence, including:
[0112] Acquire a stretch value sequence based on a stretch unit, wherein the stretch value sequence includes a plurality of stretch values;
[0113] Extract stretch values from the stretch value sequence in sequence, and perform the following operations on the extracted stretch values:
[0114] A detection segment is constructed according to the first end and the middle end, the detection segment is divided to obtain a plurality of unit segments, unit segments are sequentially extracted from the plurality of unit segments, and the following operations are performed on the extracted unit segments:
[0115] Using a tension sensor to measure the initial tension of the fixed titanium rod, using a camera unit to obtain the initial length and initial radius of the extracted unit section, using a stretching unit to stretch the fixed titanium rod to obtain a stretched titanium rod, using a tension sensor to measure the post-stretching tension of the stretched titanium rod, based on the camera unit to obtain the stretched length and stretched radius of the stretched titanium rod corresponding to the extracted unit section, and calculating the section elastic modulus of the extracted unit section based on the initial length, the stretched length, the initial radius, the stretched radius, the initial tension and the post-stretching tension;
[0116] Summarize the segment elastic moduli to obtain the segment elastic modulus sequence corresponding to the detection segment;
[0117] The segment elastic modulus sequence is summarized to obtain the initial elastic modulus sequence corresponding to the stretch value sequence.
[0118] It should be noted that during the high-speed stretching of the titanium alloy rod, a martensitic phase transformation will occur. Since the martensitic phase transformation affects the elastic modulus of the titanium alloy rod, in the embodiment of the present invention, a stepper motor, a reducer and a shaft system are used as a stretching unit, and the stretching unit is used to stretch the fixed titanium rod, and the speed of the stretching unit stretching the fixed titanium rod is controlled by a controller, thereby avoiding the martensitic phase transformation of the fixed titanium rod during the stretching process. Since the martensitic phase transformation is avoided during the stretching process, the abnormal value in the embodiment of the present invention does not include the sudden elastic modulus caused by the martensitic phase transformation.
[0119] It can be understood that the stretching value sequence is a sequence of multiple pre-set stretching values, and the stretching value is the numerical value of the titanium rod stretched and fixed using the stretching unit. For example, the stretching value sequence is: anm, bnm, cnm, dnm, and the stretching values are extracted from the stretching value sequence in turn. The first extracted stretching value is anm, and the titanium rod is stretched and fixed by anm using the stretching unit, and nm is nanometers.
[0120] Specifically, the detection section is a section used to detect the elastic modulus of the fixed titanium rod. Since the fixing and stretching operations require force to be applied to the surface of the extracted forged titanium rod, the clamped portion of the fixed titanium rod surface will be deformed and blocked. In the embodiment of the present invention, the deformation data of the titanium rod is analyzed by analyzing images. Therefore, it is necessary to define a detection area from the extracted forged titanium rod so that when the detection area is photographed by a camera unit, the detected area will not be blocked. The unit section is one of the sections after the detection section is divided into multiple sections. In order to avoid the difference in shape or material corresponding to the titanium rod at different positions due to material inhomogeneity, the present invention measures the elastic modulus of each section in multiple unit sections to reduce errors.
[0121] It is understandable that the initial tension is the tension exerted on the fixed titanium rod. The embodiment of the present invention considers that after the extracted forged titanium rod is stretched by the stretching unit, the tension exerted on the entire extracted forged titanium rod is equal, and thus the tension exerted on the fixed titanium rod is equal to the initial tension exerted on the extracted unit section. The initial length and initial radius are the length and radius of the fixed titanium rod on the extracted unit section. The stretched titanium rod is the fixed titanium rod stretched by the stretching unit. The tension after stretching is the tension exerted on the titanium rod after stretching. After being stretched by the stretching unit, the extracted unit section will be stretched accordingly, and the length after stretching is the length of the extracted unit section in the stretched titanium rod, and the radius after stretching is the radius of the extracted unit section in the stretched titanium rod. The section elastic modulus is the elastic modulus of the extracted unit section.
[0122] Exemplarily, the shape of the extracted forged titanium rod is a cylinder, and the tensile value sequence is: anm, bnm, cnm, dnm, nm is nanometers, and the tensile values are extracted from the tensile value sequence in sequence. Now assume that the extracted tensile value is anm, and construct a detection section according to the first end and the middle end, and divide the detection section into two unit sections of equal length from the middle of the detection section: the first unit section and the second unit section. The same operation is performed on the first unit section and the second unit section. The initial tension of the fixed titanium rod is measured using a tension sensor, and the initial tension of the first unit section and the second unit section are the same. The camera unit is used to obtain the initial length and initial radius of the first unit segment, and the camera unit is used to obtain the initial length and initial radius of the second unit segment. Depending on the method of dividing the unit segments, the initial length of the first unit segment and the initial length of the second unit segment are not exactly the same. For example, assuming that the unit segment division point is set from the midpoint of the detection segment in this embodiment, the initial lengths of the two unit segments obtained are the same. If the unit segment division point is set at other places except the midpoint, the initial lengths of the two unit segments obtained are different. At the same time, there are manufacturing errors in the manufacturing process of the fixed titanium rod. Therefore, the initial length and initial radius of the first unit segment and the second unit segment must be measured separately. After measuring the initial tension, initial length and initial radius of the first unit segment and the second unit segment respectively, the fixed titanium rod is stretched by the stretching unit to obtain the stretched titanium rod. The reason for performing the stretching operation on the fixed titanium rod instead of the extracted unit segment at this time is that the second end of the fixed titanium rod is directly stretched by the stretching unit. After the fixed titanium rod is stretched, the first unit segment and the second unit segment will both undergo corresponding deformations, which simplifies the stretching operation performed by the stretching unit. If the first unit segment is stretched and then the second unit segment is stretched, this separate stretching method is time-consuming and labor-intensive, and will cause the first unit segment and the second unit segment to be subjected to different stretching forces, making the measurement method more complicated and increasing the error. Therefore, after measuring the initial tension, initial length and initial radius of the first unit segment and the second unit segment, the embodiment of the present invention uses the stretching unit to stretch the fixed titanium rod to obtain the stretched titanium rod. Then, the stretched tension, stretched length and stretched radius corresponding to the unit segment extracted from the stretched titanium rod are detected. Due to the unevenness of the material, the stretched length and stretched radius of the first unit section are not exactly the same as those of the second unit section. Therefore, it is necessary to measure the stretched length and stretched radius of the titanium rod corresponding to the extracted unit section based on the camera unit.
[0123] It is understandable that the segment elastic modulus sequence is a sequence composed of the segment elastic modulus corresponding to each unit segment in a plurality of unit segments. The initial elastic modulus sequence is a sequence composed of the segment elastic modulus sequence corresponding to each stretch value in a plurality of stretch values. For example: a plurality of stretch values are a and b, respectively, the stretch value a is extracted, and the stretch value a corresponds to two unit segments, and the segment elastic moduli corresponding to the two unit segments are m and n, respectively, therefore, the segment elastic modulus sequence is: m, n. The stretch value b corresponds to two unit segments, and the segment elastic moduli corresponding to the two unit segments are p and q, respectively, therefore, the segment elastic modulus sequence corresponding to the stretch value b is: p, q. In summary, the initial elastic modulus sequence corresponding to the stretch value sequence is m, n, p, q.
[0124] It should be noted that when the extracted tensile value of the forged titanium rod does not exceed the elastic limit of the material, as the tensile unit is stretched, the elastic modulus remains a constant and does not change with the change of the tensile value.
[0125] Furthermore, the segment elastic modulus of the unit segment extracted by calculating based on the initial length, the length after stretching, the initial radius, the radius after stretching, the initial tension and the tension after stretching includes:
[0126] A calculation formula for the segment elastic modulus is constructed, and the segment elastic modulus of the extracted unit segment is calculated using the segment elastic modulus calculation formula, the initial length, the length after stretching, the initial radius, the radius after stretching, the initial tension, and the tension after stretching. The calculation formula for the segment elastic modulus is as follows:
[0127] ,
[0128] in, represents the segment elastic modulus, Indicates the initial tension of the fixed titanium rod, Indicates the tensile force of the titanium rod after stretching. represents the initial radius of the extracted unit segment, It represents the stretched radius of the titanium rod in the extracted unit section. represents the initial length of the extracted unit segment, It indicates the stretched length of the titanium rod corresponding to the extracted unit section after stretching.
[0129] Furthermore, the method of obtaining the initial length and initial radius of the extracted unit segment by using the camera unit includes:
[0130] Identify the extracted unit segment to obtain a unit end and a unit end, wherein the unit end is located at the end of the extracted unit segment, and the unit end is located at the other end of the extracted unit segment away from the unit end;
[0131] The rotation step length of the camera unit is obtained. Based on the rotation step length, the extracted unit segment is photographed by the camera unit to obtain a plurality of initial images. The initial images are sequentially extracted from the plurality of initial images, and the following operations are performed on the extracted initial images:
[0132] Based on the pre-constructed image transformation formula, the first end of the unit and the second end of the unit, a perspective transformation is performed on the extracted initial image to obtain a transformed image, a denoising operation is performed on the transformed image to obtain a denoised image, a binarization operation is performed on the denoised image to obtain a binarized image, and a suboptimal length and a suboptimal radius corresponding to the extracted unit segment are obtained according to the binarized image, wherein the grayscale value of the pixel of the unit segment in the binarized image is 255, and the grayscale value of the pixel of the area outside the unit segment in the binarized image is 0;
[0133] Summarize the suboptimal lengths to obtain the suboptimal length sets corresponding to multiple initial images.
[0134] Summarize the suboptimal radii to obtain a suboptimal radius set corresponding to multiple initial images;
[0135] The initial length and initial radius of the extracted unit segment are confirmed based on the suboptimal length set and the suboptimal radius set.
[0136] It should be noted that in the embodiment of the present invention, a camera unit is used to shoot the extracted unit segment, and the captured image is analyzed to measure the radius and length of the titanium rod. The unit end and the unit end are two different endpoints of the extracted unit segment, and the marked unit end and the unit end can be identified in the image. Optionally, the unit end and the unit end are color-marked. The denoised image is the image after the denoising operation, the binarized image is the image after the binarization operation, the suboptimal length is the length of the extracted unit segment calculated according to the camera unit, and the suboptimal radius is the radius of the extracted unit segment calculated according to the camera unit. The suboptimal length set is a set of multiple suboptimal lengths, the suboptimal radius set is a set of multiple suboptimal radii, and the initial length and initial radius are the length and radius of the extracted unit segment.
[0137] For example, the shooting unit shoots two initial images, and the suboptimal initial lengths corresponding to the two initial images are 10 cm and 10.1 cm. Therefore, the suboptimal length set is 10 cm and 10.1 cm. The initial length is the average of all suboptimal lengths in the suboptimal length set, and the initial length is 10.5 cm. The initial radius is the same, and will not be repeated here.
[0138] Specifically, the camera unit includes: a circular track and a camera, the angle of the camera rotating on the circular track is 360°, the rotation step is the angle of the camera moving on the circular track once, the extracted forged titanium rod is located at the center of the circular track, and the camera can shoot the extracted unit section on the circular track. For example, the rotation step is 120°, assuming that the initial position of the camera is 0°, the camera performs shooting operations on the extracted unit section at the positions of 0°, 120° and 240° on the circular track respectively, and the number of multiple initial images is 3 at this time.
[0139] It should be noted that the initial image is an image taken by a shooting unit. According to the fixing method of the forged titanium rod extracted in the embodiment of the present invention, the unit segment extracted in the initial image is a rectangle, and the length of the rectangle is along the column direction of the initial image, and the width of the rectangle is along the row direction of the initial image.
[0140] Further, an initial image coordinate system is constructed, and a plurality of initial pixel coordinates of the extracted initial image are obtained based on the initial image coordinate system, and a plurality of initial positioning coordinates are obtained according to the initial image coordinate system, one end of the unit, and two ends of the unit, and a plurality of transformed positioning coordinates are confirmed based on the plurality of initial positioning coordinates, wherein the plurality of initial pixel coordinates do not include the plurality of initial positioning coordinates, the number of the plurality of initial positioning coordinates is 4, the number of the plurality of transformed positioning coordinates is 4, and the transformed positioning coordinates correspond one to one with the initial positioning coordinates;
[0141] The perspective transformation matrix is calculated according to the multiple initial positioning coordinates and the multiple transformed positioning coordinates, where the perspective transformation matrix is:
[0142] ,
[0143] in, represents the perspective transformation matrix, , , , , , , and These are all elements in the perspective transformation matrix;
[0144] The initial pixel coordinates are sequentially extracted from the multiple initial pixel coordinates, and the transformed pixel coordinates corresponding to the extracted initial pixel coordinates are calculated using the image transformation formula, and the transformed pixel coordinates are summarized to obtain a transformed image, wherein the image transformation formula is:
[0145] ,
[0146] in, represents the transformed pixel coordinates corresponding to the extracted initial pixel coordinates, and , Represents the horizontal coordinate of the transformed pixel coordinate in the coordinate system corresponding to the transformed image, Represents the ordinate of the transformed pixel coordinate in the coordinate system corresponding to the transformed image, represents the initial pixel coordinates extracted, and , represents the horizontal coordinate of the extracted initial pixel coordinate in the initial image coordinate system, Represents the ordinate of the extracted initial pixel coordinate in the initial image coordinate system.
[0147] It is understandable that the image transformation formula is a formula for correcting perspective deformation during the camera process, the initial image coordinate system is a spatial coordinate system constructed based on the image coordinate system of the initial image, and the value of the z-axis in the spatial coordinate system is 1. The construction of the image coordinate system is a prior art, and the coordinate systems used in the embodiments of the present invention are all spatial coordinate systems constructed by the image coordinate system. Therefore, the method for constructing pixels and pixel coordinates in the embodiments of the present invention is also a prior art and will not be repeated here. Multiple initial pixel coordinates are multiple pixel coordinates in the initial image. Multiple initial positioning coordinates are 4 pixel coordinates used for positioning in the initial image.
[0148] For example, one end of the unit is marked with a color, and the mark is: a thick line with a width of 1mm that rotates 360° around the central axis of the extracted forged titanium rod, and the two ends of the unit are marked with a color, and the marks at the two ends of the unit are the same as those at the one end of the unit. In the initial image, the extracted unit segment is projected as a rectangle in the initial image. At this time, the color mark at one end of the unit and the color mark at the two ends of the unit are also displayed on the initial image as rectangles at the two ends of the extracted unit segment. For ease of explanation, the matrix composed of pixels corresponding to one end of the unit in the initial image is assumed to be:
[0149] ,
[0150] in, Represents the matrix of pixels corresponding to one end of the unit in the initial image, , , , , and Both represent the pixel corresponding to one end of the unit in the initial image;
[0151] For example, extract and The two pixel coordinates of the corresponding pixel are used as the two initial positioning coordinates, then , , and The corresponding pixel coordinates are multiple initial pixel coordinates. Similarly, two initial positioning coordinates are extracted from the two ends of the unit, and the two initial positioning coordinates at one end of the unit and the two initial positioning coordinates at the two ends of the unit together constitute the multiple initial positioning coordinates. The transformed positioning coordinates are the coordinates in the transformed image after the initial positioning coordinates are mapped to the transformed image.
[0152] Furthermore, the transformed image can also rotate the initial image, thereby solving the problem of skewness of the unit segment extracted in the initial image and improving the accuracy of subsequent analysis.
[0153] It should be noted that the perspective transformation matrix is a matrix used to calculate the image transformation formula.
[0154] Exemplarily, the calculation method of the elements in the perspective transformation matrix is as follows:
[0155] ,
[0156] in, Indicates The horizontal coordinate of the initial positioning coordinate in the initial image coordinate system, Indicates The ordinate of the initial positioning coordinate in the initial image coordinate system, Indicates The horizontal coordinate of the initial positioning coordinate in the initial image coordinate system, Indicates The ordinate of the initial positioning coordinate in the initial image coordinate system, Indicates The horizontal coordinate of the initial positioning coordinate in the initial image coordinate system, Indicates The ordinate of the initial positioning coordinate in the initial image coordinate system, Indicates The horizontal coordinate of the initial positioning coordinate in the initial image coordinate system, Indicates The ordinate of the initial positioning coordinate in the initial image coordinate system, Indicates The horizontal coordinate of the transformed positioning coordinate in the pre-constructed transformed image coordinate system, Indicates The vertical coordinate of the transformed positioning coordinate in the transformed image coordinate system, Indicates The horizontal coordinate of the transformed positioning coordinate in the transformed image coordinate system, Indicates The vertical coordinate of the transformed positioning coordinate in the transformed image coordinate system, Indicates The horizontal coordinate of the transformed positioning coordinate in the transformed image coordinate system, Indicates The vertical coordinate of the transformed positioning coordinate in the transformed image coordinate system, Indicates The horizontal coordinate of the transformed positioning coordinate in the transformed image coordinate system, Indicates The vertical coordinate of the transformed positioning coordinate in the transformed image coordinate system.
[0157] For example, the initial positioning coordinates are: Initial positioning coordinates, second initial positioning coordinates, Initial positioning coordinates and Initial positioning coordinates. Indicates The horizontal coordinate of the initial positioning coordinate in the initial image coordinate system, Indicates The ordinate of the initial positioning coordinate in the initial image coordinate system, and let Indicates the first of multiple initial positioning coordinates Initial positioning coordinates, then The initial positioning coordinates are expressed as: . The second initial positioning coordinates, Initial positioning coordinates and The initial positioning coordinates and The method for obtaining the initial positioning coordinates is the same and will not be repeated here.
[0158] Furthermore, performing a noise reduction operation on the transformed image to obtain a noise-reduced image includes:
[0159] The denoising operation is performed on the transformed image using the pre-constructed joint bilateral filtering calculation formula to obtain a denoised image, where the joint bilateral filtering calculation formula is:
[0160] ,
[0161] in, represents the center pixel in the transformed image, represents the gray value of the central pixel in the denoised image, represents the normalization factor of the denoising operation in joint bilateral filtering, represents the neighborhood of the central pixel, represents the neighboring pixels adjacent to the central pixel in the neighborhood, represents the gray value of the center pixel in the transformed image, represents the gray value of adjacent pixels in the transformed image, represents the magnitude of the vector between the central pixel and the adjacent pixels, represents the Gaussian filter function consisting of the modulus of the vector between the central pixel and the adjacent pixels, Represents the absolute value of the difference between the grayscale value of the central pixel in the transformed image and the grayscale value of the adjacent pixels in the transformed image. Represents a Gaussian filter function consisting of the absolute value of the difference between the grayscale value of the central pixel in the transformed image and the grayscale value of the adjacent pixels in the transformed image.
[0162] It is understandable that in the embodiment of the present invention, a denoising operation is performed on the transformed image using joint bilateral filtering to obtain a denoised image. The central pixel is a pixel extracted from the transformed image. In the denoising operation, each pixel in the transformed image will be extracted as the central pixel. The normalization factor is a factor used to ensure that the grayscale value of the pixel in the denoised image is within the range of 0 to 255. Optionally, in the embodiment of the present invention, the neighborhood of the central pixel is a square area with the central pixel as the centroid and a preset length as the side length. The preset length is selected by the experimenter based on experimental experience or calculated based on an existing algorithm, and the embodiment of the present invention does not limit this. The adjacent pixels are pixels in the neighborhood that are adjacent to the central pixel.
[0163] Furthermore, the step of obtaining the suboptimal length and suboptimal radius corresponding to the extracted unit segment according to the binary image includes:
[0164] The binary image is divided to obtain a plurality of column pixel sequences, column pixel sequences are sequentially extracted from the plurality of column pixel sequences, and the following operations are performed on the extracted column pixel sequences:
[0165] Extract column pixels from the extracted column pixel sequence in sequence, and perform the following operations on the extracted column pixels:
[0166] Obtaining the column pixel grayscale value of the extracted column pixel;
[0167] If the grayscale value of the column pixel is 255, it is confirmed that the extracted column pixel is the starting point of the initial length.
[0168] Otherwise, skip the extracted column pixels;
[0169] After the initial length starting point is confirmed, t columns of pixels are obtained based on the initial length starting point and the preset number of noise points, where the number of noise points is t, and t is a positive integer greater than or equal to 4;
[0170] Accumulate the column pixel grayscale values of t column pixels to obtain a pixel accumulated value, and compare the pixel accumulated value with a preset starting point judgment accumulated value;
[0171] If the pixel accumulation value is greater than or equal to the starting point judgment accumulation value, the initial length starting point is confirmed to be the suboptimal length starting point;
[0172] If the pixel cumulative value is less than the starting point judgment cumulative value, the initial length starting point is confirmed to be a non-length starting point, and an optimized column pixel sequence is extracted from the extracted column pixel sequence;
[0173] Comparing the number of column pixels in the optimized column pixel sequence with a preset number, wherein the preset number is m, and m is a positive integer greater than t;
[0174] If the number of column pixels in the optimized column pixel sequence is less than the preset number, it is determined that the extracted column pixel sequence is a noise sequence, the extracted column pixel sequence is skipped, and the step of sequentially extracting column pixel sequences from a plurality of column pixel sequences is returned to until it is determined that the initial length starting point is a suboptimal length starting point or the plurality of column pixel sequences are all extracted;
[0175] If the number of column pixels in the optimized column pixel sequence is greater than or equal to a preset number, skipping the extracted column pixels, and returning to the step of sequentially extracting column pixels from the extracted column pixel sequence until it is confirmed that the initial length starting point is a suboptimal length starting point;
[0176] After the suboptimal length starting point is confirmed, the suboptimal length end point is obtained based on the column pixel sequence, and the unit suboptimal length is calculated based on the suboptimal length starting point and the suboptimal length end point;
[0177] Summarize the unit suboptimal lengths to obtain a unit suboptimal length set, remove the abnormal length set in the unit suboptimal length set to obtain a suboptimal length set, and calculate the suboptimal length based on the suboptimal length set;
[0178] The binary image is divided to obtain a plurality of row pixel sequences, and a suboptimal radius is determined based on the plurality of row pixel sequences.
[0179] It can be understood that, taking the image coordinate system of the binary image as an example, the order of extracting the column pixel sequence is to extract in sequence according to the positive direction of the horizontal coordinate in the image coordinate system. The column pixel sequence is the sequence corresponding to a column of pixels in the binary image, and the order of column pixels in the column pixel sequence is the order of pixels in the binary image. Column pixels are pixels in the column pixel sequence. The column pixel gray value is the gray value of the extracted column pixel. The initial length starting point is a starting point preliminarily set for measuring the suboptimal length. The purpose of setting the initial length starting point is: after setting the initial length starting point, a judgment is made based on multiple column pixels after the initial length starting point, and the judgment result is used to confirm whether the initial length starting point is the real starting point, otherwise, the initial length starting point is a non-length starting point. The non-length starting point cannot be used as the starting point for calculating the suboptimal length. The number of noise points is judged to be the number used to judge whether t column pixels are noise points.
[0180] It should be noted that the pixel accumulation value is the accumulation value of the column pixel grayscale values of t column pixels, and the starting point judgment accumulation value is the preset minimum value for confirming the extracted column pixel as the suboptimal length starting point. For example, in the embodiment of the present invention, t=4, and when there are 3 column pixels among the 4 column pixels as the extracted unit segment, the extracted column pixel is considered to be the suboptimal length starting point, and there is only one pixel among the 4 column pixels that does not correspond to the extracted unit segment. This noise point is ignored in the present invention. At this time, the starting point judgment accumulation value is 765. If the column pixel grayscale values of 4 column pixels are accumulated in the actual binary image, the pixel accumulation value obtained is 255, then the pixel accumulation value is less than the starting point judgment accumulation value, indicating that the initial length starting point at this time is not the starting point that can be used as the length of the extracted unit segment, so the initial length starting point is confirmed to be a non-length starting point.
[0181] It should be noted that, in the embodiment of the present invention, the suboptimal length is measured by analyzing the pixels corresponding to the unit segment extracted from the binary image. This is because the deformation change of the titanium rod is extremely small, and the use of a traditional micrometer to measure will result in a large measurement error, and will also damage the surface of the titanium rod, affecting the accuracy of the deformation data measurement. This method in the embodiment of the present invention does not directly contact the surface of the titanium rod, and saves time and effort. The starting point of the suboptimal length is the starting point for ultimately calculating the length of the extracted unit segment. The optimized column pixel sequence is a sequence consisting of the remaining column pixels after skipping the extracted column pixels and the column pixels before the extracted column pixels. For example, the column pixel sequence is: , where the extracted column pixels are , then the optimized column pixel sequence is: . A noise sequence is a sequence that is determined to be unable to calculate the suboptimal length of the extracted unit segment. When the number of column pixels in the optimized column pixel sequence is less than the preset number, the suboptimal length starting point is still not output, indicating that the column pixels extracted from the extracted column pixel sequence in sequence are not pixels in the extracted unit segment, and the number of column pixels in the remaining optimized column pixel sequence is too small to be used to calculate the suboptimal length of the extracted unit segment. Therefore, the column pixel sequence extracted at this time is confirmed as a noise sequence. For example, the length of the extracted forged titanium rod is about 10 cm. The multiple column pixels extracted from the extracted column pixel sequence in sequence are not pixels in the extracted unit segment, and the number of column pixels in the optimized column pixel sequence composed of the remaining column pixels is 10, and 10 is less than the preset number. Even if these 10 column pixels are all pixels in the unit segment, the length of the extracted forged titanium rod cannot be determined. Therefore, the extracted column pixel sequence is identified as a noise sequence at this time.
[0182] Further, the preset number is a number of pixels that are pre-set to be considered as the number of optimized column pixel sequences that cannot be used to calculate the unit length. Optionally, the preset number is selected based on the experience of the experimenter or based on an existing algorithm. The suboptimal length end point is the end point in the extracted unit segment for calculating the suboptimal length, and the method for obtaining the suboptimal length end point is basically the same as the method for obtaining the suboptimal length starting point, which will not be repeated here.
[0183] Exemplarily, the extracted column pixels are assumed to be:
[0184] ,
[0185] ,
[0186] in, represents the extracted column pixel sequence, represents a sequence of column pixel grayscale values of each column pixel in the extracted column pixel sequence, so, and The elements in are in one-to-one correspondence. , , , , , , , , , and Both represent column pixels in the extracted column pixel sequence, Indicates that the gray value of the column pixel corresponding to the column pixel is 0. Indicates that the grayscale value of the column pixel corresponding to the column pixel is 255. Represents the transposed matrix symbol.
[0187] For example, the column pixels are sequentially extracted from the extracted column pixel sequence, and the first extracted column pixel If the gray value of the corresponding column pixel is 0, it is skipped and the second extracted column pixel If the gray value of the corresponding column pixel is 0, it is skipped. The third extracted column pixel The corresponding column pixel grayscale value is 255, then confirm is the starting point of the initial length. Assuming the number of noise points is 4, 4 columns of pixels are obtained. At this time, the 4 columns of pixels are: , the column pixel grayscale values corresponding to the 4 column pixels are: , the grayscale values of the four column pixels are accumulated to obtain a pixel cumulative value of 765. The preset starting point judgment cumulative value is 765, so the third extracted column pixel is confirmed. The starting point for the suboptimal length.
[0188] Exemplarily, to identify the suboptimal length endpoint, column pixels are extracted sequentially, and the fourth extracted column pixel The corresponding column pixel grayscale value is 0, then the fourth extracted column pixel Confirm that it is the end point of the initial length. Assume that the number of noise points judged at the end point is 4, and then obtain 4 column pixels: , at this time, the grayscale values of the 4 column pixels corresponding to the 4 column pixels are: , the grayscale values of the four column pixels are accumulated, and the accumulated value of the end point pixel is 765. The preset end point judgment accumulated value is 255, so the fourth extracted column pixel It is not the end of the suboptimal length. At this time, the fifth extracted column pixel is extracted. , and returns to the step of extracting column pixels in sequence as described in the first line of this example paragraph until the suboptimal length endpoint is confirmed. It should be noted that the names in this example paragraph correspond in meaning to the names in the previous example paragraph. The suboptimal length endpoint is the endpoint ultimately used to calculate the length of the extracted unit segment, the initial length endpoint is the endpoint preliminarily set for measuring the suboptimal length, and the endpoint judgment noise point number is the number of noise points used to judge whether t column pixels correspond to the endpoint. In the suboptimal length endpoint judgment of the endpoint pixel cumulative value, the column pixel grayscale values of t column pixels are accumulated and the endpoint judgment accumulated value is the preset minimum value for confirming the extracted column pixel as the suboptimal length endpoint.
[0189] It should be noted that if the number of column pixels in the optimized column pixel sequence is greater than or equal to the preset number, the reason for skipping the extracted column pixel is: when the number of column pixels in the optimized column pixel sequence is greater than or equal to the preset number, it means that when the pixel cumulative value is less than the starting point judgment cumulative value, the t column pixels include too many noise points. At the same time, there are still many column pixels behind the extracted column pixels that need to be judged. At this time, the extracted column pixel is skipped, and the next column pixel adjacent to the extracted column pixel is extracted for cyclic judgment.
[0190] It should be noted that, since the transformed image is marked using the unit end one and the unit end two, after confirming the suboptimal length starting point, when confirming the suboptimal length end point, the situation where the suboptimal length end point cannot be found will not occur, and there is no need to set the noise point sequence. The judgment logic of the suboptimal length end point is the same as that of the suboptimal length starting point, which will not be repeated here.
[0191] Specifically, in the above example, assuming that the third extracted column pixel The ninth extracted column pixel is the suboptimal length starting point. If it is the end point of the suboptimal length, the modulus of the vector between the third extracted column pixel and the ninth extracted column pixel is calculated as the unit suboptimal length of the extracted column pixel sequence.
[0192] Further, the unit suboptimal length is the length of the extracted unit segment calculated according to the extracted column pixel sequence. The unit suboptimal length set is a set of multiple unit suboptimal lengths. The abnormal length set is an inaccurate measurement value caused by image noise, image skew, etc. For example, the length of the extracted unit segment is about 10 cm, but due to image noise, the length of the extracted unit segment is measured to be 1 cm. At this time, the length of the extracted unit segment is 1 cm, which is an abnormal length and needs to be eliminated.
[0193] It should be noted that the row pixel sequence is a sequence of pixels in a row obtained by dividing the binary image into rows. The method for confirming the suboptimal radius is the same as the method for the suboptimal length, which will not be described in detail here.
[0194] Furthermore, before removing the abnormal value set in the initial elastic modulus sequence, the method further includes:
[0195] The mean of the initial elastic modulus in the initial elastic modulus sequence is calculated to obtain the initial mean, the initial standard deviation is calculated according to the initial mean and the initial elastic modulus sequence, and the elastic modulus reference range is constructed based on the initial standard deviation and the initial mean, wherein the elastic modulus reference range is:
[0196] ,
[0197] in, represents the initial mean, represents the initial standard deviation;
[0198] The initial elastic moduli are extracted from the initial elastic modulus sequence in sequence, and the following operations are performed on the extracted initial elastic moduli:
[0199] If the extracted initial elastic modulus belongs to the elastic modulus reference range, the extracted initial elastic modulus is skipped;
[0200] Otherwise, the extracted initial elastic modulus is confirmed to be an abnormal value;
[0201] The outliers are aggregated to obtain an outlier set, wherein the outlier set includes zero, one or more outliers.
[0202] It is understandable that the initial mean is the mean of all initial elastic moduli in the initial elastic modulus sequence, the initial standard deviation is the standard deviation of the initial elastic modulus sequence, and the calculation formulas for the standard deviation and the mean are prior art and will not be repeated here.
[0203] Furthermore, the elastic modulus reference range is an interval for screening the initial elastic modulus sequence, and the abnormal value is the initial elastic modulus outside the elastic modulus reference range. The abnormal value set is a set consisting of zero, one or more abnormal values.
[0204] S6. Calculate the forging elastic modulus of the extracted forged titanium rod based on the tensile elastic modulus sequence, and obtain identification titanium rod data using the forging elastic modulus, the mass fraction of the forging element, the forging deformation value and the extracted forged titanium rod.
[0205] Furthermore, the forging elastic modulus is the elastic modulus of the extracted forged titanium rod, which can represent the elastic deformation characteristic parameters of the extracted forged titanium rod. The purpose of obtaining the identified titanium rod data is to aggregate multiple different data corresponding to the forged titanium rod into a structured data, so that multiple data of the forged titanium rod can be queried through the identified titanium rod data, which is convenient for analyzing the deformation characteristics of the forged titanium rod. The identified titanium rod data includes but is not limited to: forging elastic modulus, mass fraction of forging elements and forging deformation value. Therefore, according to needs, the identified titanium rod data also includes: binary image, transformation image, segment elastic modulus, etc., which are not limited in the embodiment of the present invention.
[0206] S7. Summarize the identified titanium rod data to obtain the identified titanium rod data set corresponding to the forged titanium rod sequence, confirm the target elastic modulus and the target titanium rod corresponding to the target elastic modulus based on the identified titanium rod data set, and complete the elastic modulus optimization of the titanium alloy rod based on the deformation feature analysis based on the target elastic modulus and the target titanium rod.
[0207] It is understandable that the identified titanium rod data set is a collection of multiple identified titanium rod data, the target elastic modulus is the elastic modulus of the titanium rod determined by the experimenter according to actual usage requirements, and the target titanium rod is a titanium alloy rod corresponding to the target elastic modulus.
[0208] For example, the experimenter wants to use a titanium alloy rod on the wing of the aircraft, so the target elastic modulus is preset, and then the relevant data of the target titanium rod that meets the target elastic modulus is confirmed from the identified titanium rod data set, thereby obtaining the target titanium rod.
[0209] The present invention is to solve the problem described in the background technology. The present invention obtains an initial titanium rod set based on a pre-constructed element mass fraction gradient. The elastic modulus performance analysis can be performed on the initial titanium rod set corresponding to different first elements. The present invention constructs a forging deformation value sequence based on a forging unit, performs a forging operation on the initial titanium rod set based on the forging deformation value sequence and the forging unit, and obtains a forged titanium rod sequence. After the initial titanium rod is forged and compressed, the elastic modulus of the forged titanium rod changes. Therefore, the present invention analyzes the elastic modulus of titanium rods with different first elements and different deformation values, so that the analysis data is more complete. The present invention sequentially extracts forged titanium rods from a forged titanium rod sequence, and performs the following operations on the extracted forged titanium rods: confirming the mass fraction of the first element in the extracted forged titanium rod to obtain the forged element mass fraction, fixing the extracted forged titanium rod using a fixing unit to obtain a fixed titanium rod, stretching the fixed titanium rod based on the stretching unit to obtain an initial elastic modulus sequence, eliminating the abnormal value set in the initial elastic modulus sequence to obtain a stretching elastic modulus sequence, calculating the forging elastic modulus of the extracted forged titanium rod based on the stretching elastic modulus sequence, and obtaining identification titanium rod data using the forging elastic modulus, the forging element mass fraction, the forging deformation value and the extracted forged titanium rod. Summarizing the identification titanium rod data to obtain an identification titanium rod data set corresponding to the forged titanium rod sequence, and confirming the target elastic modulus and the target titanium rod corresponding to the target elastic modulus based on the identification titanium rod data set. After the titanium rod is fixed, the camera unit is used to measure the shape of the titanium rod. This method does not directly contact the surface of the titanium rod, saves time and effort, and can query multiple data of the forged titanium rod extracted by identifying the titanium rod data, which is convenient for analyzing the deformation characteristics of the forged titanium rod extracted. Therefore, the present invention can improve the intelligence level of the elastic modulus test of the titanium rod under different forging deformations and reduce the excessive consumption of time and human resources.
[0210] like Figure 2 , which is a functional module diagram of a titanium alloy bar elastic modulus optimization device based on deformation feature analysis provided by one embodiment of the present invention.
[0211] The elastic modulus optimization device 100 for titanium alloy bars based on deformation feature analysis of the present invention can be installed in an electronic device. According to the functions implemented, the elastic modulus optimization device 100 for titanium alloy bars based on deformation feature analysis can include an initial titanium bar set acquisition module 101, a forged titanium bar acquisition module 102, an identified titanium bar data acquisition module 103 and a target elastic modulus acquisition module 104. The module of the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0212] The initial titanium rod set acquisition module 101 is used to receive an elastic modulus performance analysis instruction, and start an elastic modulus testing device according to the elastic modulus performance analysis instruction, wherein the elastic modulus testing device includes: a forging unit, a fixing unit, a stretching unit and a camera unit, and acquires an initial titanium rod set based on a pre-constructed element mass fraction gradient, wherein the initial titanium rod set includes a plurality of initial titanium rods, each of the plurality of initial titanium rods has a different mass fraction of the first element, and each of the plurality of initial titanium rods has the same shape and volume;
[0213] The forged titanium rod acquisition module 102 is used to construct a forging deformation value sequence based on the forging unit, and perform a forging operation on the initial titanium rod set based on the forging deformation value sequence and the forging unit to obtain a forged titanium rod sequence, wherein the forging deformation value sequence includes a plurality of forging deformation values, the forged titanium rod sequence includes a plurality of forged titanium rods, and the forging deformation values correspond to the forged titanium rods one by one;
[0214] The identification titanium rod data acquisition module 103 is used to extract forged titanium rods from the forged titanium rod sequence in sequence, and perform the following operations on the extracted forged titanium rods: confirm the mass fraction of the first element in the extracted forged titanium rod to obtain the forged element mass fraction, fix the extracted forged titanium rod using a fixing unit to obtain a fixed titanium rod, stretch the fixed titanium rod based on the stretching unit to obtain an initial elastic modulus sequence, remove the abnormal value set in the initial elastic modulus sequence to obtain a stretching elastic modulus sequence, calculate the forging elastic modulus of the extracted forged titanium rod based on the stretching elastic modulus sequence, and obtain the identification titanium rod data using the forging elastic modulus, the forging element mass fraction, the forging deformation value and the extracted forged titanium rod;
[0215] The target elastic modulus acquisition module 104 is used to summarize the identified titanium rod data, obtain the identified titanium rod data set corresponding to the forged titanium rod sequence, confirm the target elastic modulus and the target titanium rod corresponding to the target elastic modulus based on the identified titanium rod data set, and complete the elastic modulus optimization of the titanium alloy rod based on deformation feature analysis based on the target elastic modulus and the target titanium rod.
[0216] In detail, each module in the titanium alloy bar elastic modulus optimization device 100 based on deformation feature analysis in the embodiment of the present invention is used in the same manner as described above. Figure 1 The same technical means are used as the method for optimizing the elastic modulus of titanium alloy bars based on deformation feature analysis described in the text, and can produce the same technical effects, so they will not be repeated here.
[0217] like Figure 3 , which is a schematic diagram of the structure of an electronic device for implementing a method for optimizing the elastic modulus of a titanium alloy bar based on deformation feature analysis provided by an embodiment of the present invention.
[0218] The electronic device 1 may include a processor 10, a memory 11 and a bus 12, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a method program for optimizing the elastic modulus of a titanium alloy bar based on deformation feature analysis.
[0219] Wherein, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 can also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 also includes an internal storage unit of the electronic device 1 and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the program of the elastic modulus optimization method of the titanium alloy bar based on the deformation feature analysis, but also can be used to temporarily store the data that has been output or is to be output.
[0220] In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or runs programs or modules stored in the memory 11 (for example, a method program for optimizing the elastic modulus of titanium alloy bars based on deformation feature analysis, etc.), and calls data stored in the memory 11 to execute various functions of the electronic device 1 and process data.
[0221] The bus 12 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 12 may be divided into an address bus, a data bus, a control bus, etc. The bus 12 is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.
[0222] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0223] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0224] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices.
[0225] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.
[0226] The program of the method for optimizing the elastic modulus of titanium alloy bars based on deformation feature analysis stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, the following can be achieved:
[0227] Receiving an elastic modulus performance analysis instruction, and starting an elastic modulus testing device according to the elastic modulus performance analysis instruction, wherein the elastic modulus testing device includes: a forging unit, a fixing unit, a stretching unit and a camera unit;
[0228] Acquire an initial titanium rod set based on a pre-constructed element mass fraction gradient, wherein the initial titanium rod set includes a plurality of initial titanium rods, each of the plurality of initial titanium rods has a different mass fraction of a first element, and each of the plurality of initial titanium rods has the same shape and volume;
[0229] A forging deformation value sequence is constructed based on the forging unit, and a forging operation is performed on the initial titanium rod set based on the forging deformation value sequence and the forging unit to obtain a forged titanium rod sequence, wherein the forging deformation value sequence includes a plurality of forging deformation values, the forged titanium rod sequence includes a plurality of forged titanium rods, and the forging deformation values correspond to the forged titanium rods one by one;
[0230] The forged titanium rods are sequentially extracted from the forged titanium rod sequence, and the following operations are performed on the extracted forged titanium rods:
[0231] Confirm the mass fraction of the first element in the extracted forged titanium rod to obtain the mass fraction of the forged element, fix the extracted forged titanium rod using a fixing unit to obtain a fixed titanium rod, stretch the fixed titanium rod based on the stretching unit to obtain an initial elastic modulus sequence, remove the abnormal value set in the initial elastic modulus sequence to obtain a tensile elastic modulus sequence, calculate the forging elastic modulus of the extracted forged titanium rod based on the tensile elastic modulus sequence, and obtain identification titanium rod data using the forging elastic modulus, the mass fraction of the forging element, the forging deformation value and the extracted forged titanium rod;
[0232] The identified titanium rod data are summarized to obtain the identified titanium rod data set corresponding to the forged titanium rod sequence. The target elastic modulus and the target titanium rod corresponding to the target elastic modulus are confirmed based on the identified titanium rod data set. Based on the target elastic modulus and the target titanium rod, the elastic modulus optimization of the titanium alloy rod based on deformation feature analysis is completed.
[0233] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figures 1 to 3 The description of the relevant steps in the corresponding embodiments will not be repeated here.
[0234] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0235] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:
[0236] Receiving an elastic modulus performance analysis instruction, and starting an elastic modulus testing device according to the elastic modulus performance analysis instruction, wherein the elastic modulus testing device includes: a forging unit, a fixing unit, a stretching unit and a camera unit;
[0237] Acquire an initial titanium rod set based on a pre-constructed element mass fraction gradient, wherein the initial titanium rod set includes a plurality of initial titanium rods, each of the plurality of initial titanium rods has a different mass fraction of a first element, and each of the plurality of initial titanium rods has the same shape and volume;
[0238] A forging deformation value sequence is constructed based on the forging unit, and a forging operation is performed on the initial titanium rod set based on the forging deformation value sequence and the forging unit to obtain a forged titanium rod sequence, wherein the forging deformation value sequence includes a plurality of forging deformation values, the forged titanium rod sequence includes a plurality of forged titanium rods, and the forging deformation values correspond to the forged titanium rods one by one;
[0239] The forged titanium rods are sequentially extracted from the forged titanium rod sequence, and the following operations are performed on the extracted forged titanium rods:
[0240] Confirm the mass fraction of the first element in the extracted forged titanium rod to obtain the mass fraction of the forged element, fix the extracted forged titanium rod using a fixing unit to obtain a fixed titanium rod, stretch the fixed titanium rod based on the stretching unit to obtain an initial elastic modulus sequence, remove the abnormal value set in the initial elastic modulus sequence to obtain a tensile elastic modulus sequence, calculate the forging elastic modulus of the extracted forged titanium rod based on the tensile elastic modulus sequence, and obtain identification titanium rod data using the forging elastic modulus, the mass fraction of the forging element, the forging deformation value and the extracted forged titanium rod;
[0241] The identified titanium rod data are summarized to obtain the identified titanium rod data set corresponding to the forged titanium rod sequence. The target elastic modulus and the target titanium rod corresponding to the target elastic modulus are confirmed based on the identified titanium rod data set. Based on the target elastic modulus and the target titanium rod, the elastic modulus optimization of the titanium alloy rod based on deformation feature analysis is completed.
[0242] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, and actual implementation may have other division methods.
[0243] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0244] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0245] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0246] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for optimizing the elastic modulus of titanium alloy bars based on deformation characteristic analysis, characterized in that: The method comprises: Receiving an elastic modulus performance analysis instruction, and starting an elastic modulus testing device according to the elastic modulus performance analysis instruction, wherein the elastic modulus testing device includes: a forging unit, a fixing unit, a stretching unit and a camera unit; Acquire an initial titanium rod set based on a pre-constructed element mass fraction gradient, wherein the initial titanium rod set includes a plurality of initial titanium rods, each of the plurality of initial titanium rods has a different mass fraction of a first element, and each of the plurality of initial titanium rods has the same shape and volume; A forging deformation value sequence is constructed based on the forging unit, and a forging operation is performed on the initial titanium rod set based on the forging deformation value sequence and the forging unit to obtain a forged titanium rod sequence, wherein the forging deformation value sequence includes a plurality of forging deformation values, the forged titanium rod sequence includes a plurality of forged titanium rods, and the forging deformation values correspond to the forged titanium rods one by one; The forged titanium rods are sequentially extracted from the forged titanium rod sequence, and the following operations are performed on the extracted forged titanium rods: Confirm the mass fraction of the first element in the extracted forged titanium rod to obtain the mass fraction of the forged element, fix the extracted forged titanium rod using a fixing unit to obtain a fixed titanium rod, stretch the fixed titanium rod based on the stretching unit to obtain an initial elastic modulus sequence, remove the abnormal value set in the initial elastic modulus sequence to obtain a tensile elastic modulus sequence, calculate the forging elastic modulus of the extracted forged titanium rod based on the tensile elastic modulus sequence, and obtain identification titanium rod data using the forging elastic modulus, the mass fraction of the forging element, the forging deformation value and the extracted forged titanium rod; The method of fixing the extracted forged titanium rod by a fixing unit to obtain a fixed titanium rod comprises: Start the fixing unit, wherein the fixing unit includes: a horizontal platform, a tension sensor, an end fixture and a stretching fixture, the horizontal platform includes: a fixed end and a rotating end, the fixed end is one end of the horizontal platform, the rotating end is the other end of the horizontal platform away from the fixed end, the rotating end is rotatably connected to the fixed end through the horizontal platform, the rotating end is also provided with a titanium rod fixing hole, and the tension sensor is arranged on the horizontal platform; The first end, the middle end and the second end of the extracted forged titanium rod are identified, and a fixing operation is performed on the extracted forged titanium rod based on the first end, the middle end, the second end and the started fixing unit to obtain a fixed titanium rod, wherein the fixing operation is: the first end is fixedly connected to the end fixture, and then the extracted forged titanium rod is passed through the titanium rod fixing hole, and the middle end is connected to the tension sensor, and the second end is fixedly connected to the tensile fixture; The identified titanium rod data are summarized to obtain the identified titanium rod data set corresponding to the forged titanium rod sequence. The target elastic modulus and the target titanium rod corresponding to the target elastic modulus are confirmed based on the identified titanium rod data set. Based on the target elastic modulus and the target titanium rod, the elastic modulus optimization of the titanium alloy rod based on deformation feature analysis is completed.
2. The method for optimizing the elastic modulus of a titanium alloy bar based on deformation characteristic analysis according to claim 1, characterized in that: The method of obtaining an initial elastic modulus sequence by stretching and fixing the titanium rod based on the stretching unit comprises: Acquire a stretch value sequence based on a stretch unit, wherein the stretch value sequence includes a plurality of stretch values; Extract stretch values from the stretch value sequence in sequence, and perform the following operations on the extracted stretch values: A detection segment is constructed according to the first end and the middle end, the detection segment is divided to obtain a plurality of unit segments, unit segments are sequentially extracted from the plurality of unit segments, and the following operations are performed on the extracted unit segments: Using a tension sensor to measure the initial tension of the fixed titanium rod, using a camera unit to obtain the initial length and initial radius of the extracted unit section, using a stretching unit to stretch the fixed titanium rod to obtain a stretched titanium rod, using a tension sensor to measure the post-stretching tension of the stretched titanium rod, based on the camera unit to obtain the stretched length and stretched radius of the stretched titanium rod corresponding to the extracted unit section, and calculating the section elastic modulus of the extracted unit section based on the initial length, the stretched length, the initial radius, the stretched radius, the initial tension and the post-stretching tension; Summarize the segment elastic moduli to obtain the segment elastic modulus sequence corresponding to the detection segment; The segment elastic modulus sequence is summarized to obtain the initial elastic modulus sequence corresponding to the stretch value sequence.
3. The method for optimizing the elastic modulus of a titanium alloy bar based on deformation characteristic analysis according to claim 2, characterized in that: The segment elastic modulus of the unit segment extracted by calculating based on the initial length, the length after stretching, the initial radius, the radius after stretching, the initial tension and the tension after stretching includes: A calculation formula for the segment elastic modulus is constructed, and the segment elastic modulus of the extracted unit segment is calculated using the segment elastic modulus calculation formula, the initial length, the length after stretching, the initial radius, the radius after stretching, the initial tension, and the tension after stretching. The calculation formula for the segment elastic modulus is as follows: , in, represents the segment elastic modulus, Indicates the initial tension of the fixed titanium rod, Indicates the tensile force of the titanium rod after stretching. represents the initial radius of the extracted unit segment, It represents the stretched radius of the titanium rod in the extracted unit section. represents the initial length of the extracted unit segment, It indicates the stretched length of the titanium rod corresponding to the extracted unit section after stretching.
4. The method for optimizing the elastic modulus of a titanium alloy bar based on deformation characteristic analysis according to claim 2, characterized in that: The method of obtaining the initial length and initial radius of the extracted unit section by using the camera unit includes: Identify the extracted unit segment to obtain a unit end and a unit end, wherein the unit end is located at the end of the extracted unit segment, and the unit end is located at the other end of the extracted unit segment away from the unit end; The rotation step length of the camera unit is obtained. Based on the rotation step length, the extracted unit segment is photographed by the camera unit to obtain a plurality of initial images. The initial images are sequentially extracted from the plurality of initial images, and the following operations are performed on the extracted initial images: Based on the pre-constructed image transformation formula, the first end of the unit and the second end of the unit, a perspective transformation is performed on the extracted initial image to obtain a transformed image, a denoising operation is performed on the transformed image to obtain a denoised image, a binarization operation is performed on the denoised image to obtain a binarized image, and a suboptimal length and a suboptimal radius corresponding to the extracted unit segment are obtained according to the binarized image, wherein the grayscale value of the pixel of the unit segment in the binarized image is 255, and the grayscale value of the pixel of the area outside the unit segment in the binarized image is 0; Summarize the suboptimal lengths to obtain the suboptimal length sets corresponding to multiple initial images. Summarize the suboptimal radii to obtain a suboptimal radius set corresponding to multiple initial images; The initial length and initial radius of the extracted unit segment are confirmed based on the suboptimal length set and the suboptimal radius set.
5. The method for optimizing the elastic modulus of a titanium alloy bar based on deformation characteristic analysis according to claim 4, characterized in that: The method performs perspective transformation on the extracted initial image based on the pre-constructed image transformation formula, the unit one end and the unit two end to obtain a transformed image, including: Constructing an initial image coordinate system, obtaining a plurality of initial pixel coordinates of the extracted initial image based on the initial image coordinate system, obtaining a plurality of initial positioning coordinates according to the initial image coordinate system, the first end of the unit and the second end of the unit, and confirming a plurality of transformed positioning coordinates based on the plurality of initial positioning coordinates, wherein the plurality of initial pixel coordinates do not include the plurality of initial positioning coordinates, the number of the plurality of initial positioning coordinates is 4, the number of the plurality of transformed positioning coordinates is 4, and the transformed positioning coordinates correspond one to one with the initial positioning coordinates; The perspective transformation matrix is calculated according to the multiple initial positioning coordinates and the multiple transformed positioning coordinates, where the perspective transformation matrix is: , in, represents the perspective transformation matrix, , , , , , , and These are all elements in the perspective transformation matrix; The initial pixel coordinates are sequentially extracted from the multiple initial pixel coordinates, and the transformed pixel coordinates corresponding to the extracted initial pixel coordinates are calculated using the image transformation formula, and the transformed pixel coordinates are summarized to obtain a transformed image, wherein the image transformation formula is: , in, represents the transformed pixel coordinates corresponding to the extracted initial pixel coordinates, and , Represents the horizontal coordinate of the transformed pixel coordinate in the coordinate system corresponding to the transformed image, Represents the ordinate of the transformed pixel coordinate in the coordinate system corresponding to the transformed image, represents the initial pixel coordinates extracted, and , represents the horizontal coordinate of the extracted initial pixel coordinate in the initial image coordinate system, Represents the ordinate of the extracted initial pixel coordinate in the initial image coordinate system.
6. The method for optimizing the elastic modulus of a titanium alloy bar based on deformation characteristic analysis according to claim 5, characterized in that: The performing of a noise reduction operation on the transformed image to obtain a noise-reduced image comprises: The denoising operation is performed on the transformed image using the pre-built joint bilateral filtering calculation formula to obtain a denoised image, where the joint bilateral filtering calculation formula is: , in, represents the center pixel in the transformed image, represents the gray value of the central pixel in the denoised image, represents the normalization factor of the denoising operation in joint bilateral filtering, represents the neighborhood of the central pixel, represents the neighboring pixels adjacent to the central pixel in the neighborhood, represents the gray value of the center pixel in the transformed image, represents the gray value of adjacent pixels in the transformed image, represents the magnitude of the vector between the central pixel and the adjacent pixels, represents the Gaussian filter function consisting of the modulus of the vector between the central pixel and the adjacent pixels, Represents the absolute value of the difference between the grayscale value of the central pixel in the transformed image and the grayscale value of the adjacent pixels in the transformed image. Represents a Gaussian filter function consisting of the absolute value of the difference between the grayscale value of the central pixel in the transformed image and the grayscale value of the adjacent pixels in the transformed image.
7. The method for optimizing the elastic modulus of a titanium alloy bar based on deformation characteristic analysis according to claim 6, characterized in that: The step of obtaining the suboptimal length and suboptimal radius corresponding to the extracted unit segment according to the binary image includes: The binary image is divided to obtain a plurality of column pixel sequences, column pixel sequences are sequentially extracted from the plurality of column pixel sequences, and the following operations are performed on the extracted column pixel sequences: Extract column pixels from the extracted column pixel sequence in sequence, and perform the following operations on the extracted column pixels: Obtaining the column pixel grayscale value of the extracted column pixel; If the grayscale value of the column pixel is 255, it is confirmed that the extracted column pixel is the starting point of the initial length. Otherwise, skip the extracted column pixels; After the initial length starting point is confirmed, t columns of pixels are obtained based on the initial length starting point and the preset number of noise points, where the number of noise points is t, and t is a positive integer greater than or equal to 4; Accumulate the column pixel grayscale values of t column pixels to obtain a pixel accumulated value, and compare the pixel accumulated value with a preset starting point judgment accumulated value; If the pixel accumulation value is greater than or equal to the starting point judgment accumulation value, the initial length starting point is confirmed to be the suboptimal length starting point; If the pixel cumulative value is less than the starting point judgment cumulative value, the initial length starting point is confirmed to be a non-length starting point, and an optimized column pixel sequence is extracted from the extracted column pixel sequence; Comparing the number of column pixels in the optimized column pixel sequence with a preset number, wherein the preset number is m, and m is a positive integer greater than t; If the number of column pixels in the optimized column pixel sequence is less than the preset number, it is determined that the extracted column pixel sequence is a noise sequence, the extracted column pixel sequence is skipped, and the step of sequentially extracting column pixel sequences from a plurality of column pixel sequences is returned to until it is determined that the initial length starting point is a suboptimal length starting point or the plurality of column pixel sequences are all extracted; If the number of column pixels in the optimized column pixel sequence is greater than or equal to a preset number, skipping the extracted column pixels, and returning to the step of sequentially extracting column pixels from the extracted column pixel sequence until it is confirmed that the initial length starting point is a suboptimal length starting point; After the suboptimal length starting point is confirmed, the suboptimal length end point is obtained based on the column pixel sequence, and the unit suboptimal length is calculated based on the suboptimal length starting point and the suboptimal length end point; Summarize the unit suboptimal lengths to obtain a unit suboptimal length set, remove the abnormal length set in the unit suboptimal length set to obtain a suboptimal length set, and calculate the suboptimal length based on the suboptimal length set; The binary image is divided to obtain a plurality of row pixel sequences, and a suboptimal radius is determined based on the plurality of row pixel sequences.
8. The method for optimizing the elastic modulus of a titanium alloy bar based on deformation characteristic analysis according to claim 7, characterized in that: Before removing the abnormal value set in the initial elastic modulus sequence, the method further includes: The mean of the initial elastic modulus in the initial elastic modulus sequence is calculated to obtain the initial mean, the initial standard deviation is calculated according to the initial mean and the initial elastic modulus sequence, and the elastic modulus reference range is constructed based on the initial standard deviation and the initial mean, wherein the elastic modulus reference range is: , in, represents the initial mean, represents the initial standard deviation; The initial elastic moduli are extracted from the initial elastic modulus sequence in sequence, and the following operations are performed on the extracted initial elastic moduli: If the extracted initial elastic modulus belongs to the elastic modulus reference range, the extracted initial elastic modulus is skipped; Otherwise, the extracted initial elastic modulus is confirmed to be an abnormal value; The outliers are aggregated to obtain an outlier set, wherein the outlier set includes zero, one or more outliers.
9. A device for optimizing elastic modulus of titanium alloy bars based on deformation characteristic analysis, characterized in that: The device comprises: An initial titanium rod set acquisition module is used to receive an elastic modulus performance analysis instruction, and start an elastic modulus test device according to the elastic modulus performance analysis instruction, wherein the elastic modulus test device includes: a forging unit, a fixing unit, a stretching unit, and a camera unit, and acquires an initial titanium rod set based on a pre-constructed element mass fraction gradient, wherein the initial titanium rod set includes a plurality of initial titanium rods, each of the plurality of initial titanium rods has a different mass fraction of a first element, and each of the plurality of initial titanium rods has the same shape and volume; A forged titanium rod acquisition module is used to construct a forging deformation value sequence based on a forging unit, and to perform a forging operation on an initial titanium rod set based on the forging deformation value sequence and the forging unit to obtain a forged titanium rod sequence, wherein the forging deformation value sequence includes a plurality of forging deformation values, the forged titanium rod sequence includes a plurality of forged titanium rods, and the forging deformation values correspond to the forged titanium rods one by one; The identification titanium rod data acquisition module is used to sequentially extract forged titanium rods from the forged titanium rod sequence, and perform the following operations on the extracted forged titanium rods: confirm the mass fraction of the first element in the extracted forged titanium rod to obtain the forged element mass fraction, fix the extracted forged titanium rod by using a fixing unit to obtain a fixed titanium rod, stretch the fixed titanium rod based on the stretching unit to obtain an initial elastic modulus sequence, remove the abnormal value set in the initial elastic modulus sequence to obtain a stretching elastic modulus sequence, calculate the forging elastic modulus of the extracted forged titanium rod based on the stretching elastic modulus sequence, and obtain the identification titanium rod data by using the forging elastic modulus, the forging element mass fraction, the forging deformation value and the extracted forged titanium rod; The method of fixing the extracted forged titanium rod by a fixing unit to obtain a fixed titanium rod comprises: Start the fixing unit, wherein the fixing unit includes: a horizontal platform, a tension sensor, an end fixture and a stretching fixture, the horizontal platform includes: a fixed end and a rotating end, the fixed end is one end of the horizontal platform, the rotating end is the other end of the horizontal platform away from the fixed end, the rotating end is rotatably connected to the fixed end through the horizontal platform, the rotating end is also provided with a titanium rod fixing hole, and the tension sensor is arranged on the horizontal platform; The first end, the middle end and the second end of the extracted forged titanium rod are identified, and a fixing operation is performed on the extracted forged titanium rod based on the first end, the middle end, the second end and the started fixing unit to obtain a fixed titanium rod, wherein the fixing operation is: the first end is fixedly connected to the end fixture, and then the extracted forged titanium rod is passed through the titanium rod fixing hole, and the middle end is connected to the tension sensor, and the second end is fixedly connected to the tensile fixture; The target elastic modulus acquisition module is used to summarize the identified titanium rod data and obtain the identified titanium rod data set corresponding to the forged titanium rod sequence. Based on the identified titanium rod data set, the target elastic modulus and the target titanium rod corresponding to the target elastic modulus are confirmed, and based on the target elastic modulus and the target titanium rod, the elastic modulus optimization of the titanium alloy rod based on deformation feature analysis is completed.
Citation Information
Patent Citations
Preparation method of high-temperature titanium alloy bar
CN109234554A
High strength fastener stock of wrought titanium alloy and method of manufacturing the same
US20210310104A1
