A 2.5-dimensional braided composite material modeling method based on pixel method
By processing industrial CT images using the pixel method, the problems of high computational cost and insufficient accuracy caused by uneven yarn interlacing in 2.5D woven composite material models are solved, and more accurate geometric structure modeling is achieved.
Patent Information
- Application Number
- CN202210642783.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-08
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-06-08
AI Technical Summary
Existing technologies struggle to effectively eliminate unevenness caused by yarn interlacing when establishing mathematical models for 2.5D woven composite materials, resulting in high computational complexity and insufficient accuracy.
The pixel method is used to process industrial CT images, including median filtering, adaptive threshold segmentation, edge detection, contour extraction and tracking, and singularity elimination. A two-dimensional structural model of warp and weft yarns is established, and a three-dimensional model is constructed through three-dimensional stretching and mesh discretization.
This improves the objectivity of the geometric parameters of the unit cell model, reduces measurement errors, and enhances computational efficiency and accuracy.
Smart Images

Figure CN115017707B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of composite materials, and in particular to a 2.5-dimensional braided composite material modeling method based on a pixel method. Background Art
[0002] 2.5D braided composite materials are braided into preforms by weaving fiber bundles through a weaving process. The structure of the composite materials includes weft yarns, warp yarns, warp reinforcing lining warp yarns and matrix. Due to the interweaving between the warp yarns and the weft yarns, the interlayer performance is better than that of the laminate. Due to the complex internal structure of the braided composite materials, when obtaining the internal stress and strain field of the material and analyzing the internal microscopic deformation and failure mechanism of the material, it is necessary to fully consider the internal inhomogeneity caused by the interweaving of the yarns. Therefore, it is necessary to first establish a mathematical model that can reflect the real microscopic structure of the material. Generally, there are two ways to establish a mesoscopic numerical model of composite materials. One is to simulate the real structure of the material, use microscopic equipment or CT scanning technology to obtain the mesoscopic scale image of the material, and reconstruct its real mesoscopic structure. However, this method is technically difficult and has a large amount of calculation in the later stage. Materials with complex structures require a smaller model grid and consume a huge amount of calculation time. The other is to use the periodic assumption to approximate the real material to a certain extent. At the mesoscopic level, the composite material has a certain periodicity. A unit cell is selected as a representative unit of the mesoscopic structure at an appropriate scale, and then the unit cell is analyzed and simulated to evaluate the macroscopic performance of the entire material. This method has less computational effort and can obtain relatively accurate results from simple calculations. Summary of the invention
[0003] The purpose of the present invention is to provide a 2.5-dimensional woven composite material modeling method based on the pixel method, to perform technical processing and improvement on the images of industrial CT technology, to make the acquired unit cell model geometric structure parameters more objective, and to eliminate measurement errors caused by other factors.
[0004] To achieve the above object, according to one aspect of the present invention, the present invention provides the following technical solution:
[0005] A 2.5-dimensional braided composite material modeling method based on a pixel method comprises the following steps:
[0006] Step 1: Use XCT technology to obtain the warp and weft slices of the 2.5-dimensional woven composite material;
[0007] Step 2: Perform median filtering on the slice image obtained in step 1 to process related noise points;
[0008] Step 3, performing adaptive threshold segmentation on the image obtained in step 2;
[0009] Step 4: Perform edge detection on the image obtained in step 3 to identify the boundaries of warp and weft yarns;
[0010] Step 5: extracting and tracking the contour of the image obtained in step 4;
[0011] Step 6, eliminating singular points of the contour of the image obtained in step 5;
[0012] Step 7: Obtain parameters of the image obtained in step 6;
[0013] Step 8: Use cosine function curve to simulate the warp yarn trajectory and weft yarn profile in the slice diagram to establish a two-dimensional structure model of the warp and weft yarns;
[0014] Step nine: The two-dimensional structure diagram of the 2.5-dimensional woven composite material obtained in step eight is subjected to three-dimensional stretching by computer software to obtain a three-dimensional model of the 2.5-dimensional woven composite material with straight weft yarns;
[0015] Step 10: Use computer software to perform mesh discretization on the three-dimensional model of the 2.5-dimensional woven composite material with straight weft yarns obtained in step 9, and finally establish a 2.5-dimensional woven composite material geometric model.
[0016] The present invention is further configured as follows: in the step one, the slice image taken by XCT contains more than one unit cell structure. In the slice image taken by XCT, a double lens assumption is adopted for the weft yarn cross section of the inner layer of the 2.5-dimensional woven composite material, a rectangular cross section assumption is adopted for the weft yarn cross section of the surface layer of the 2.5-dimensional woven composite material that is not interwoven with the warp yarn, and a double lens assumption is adopted for the weft yarn cross section of the surface layer of the 2.5-dimensional woven composite material that is interwoven with the warp yarn.
[0017] The present invention is further configured that the step 2 specifically comprises:
[0018] Assume that the grayscale values of each point in the slice image form a one-dimensional array p1, p2, ...p n , and assume that the number of points is an odd number k of detection windows,
[0019] Select k values p from the array i-l ,...,p i-1 ,p i ,p i+1 ,...,p i+l , i is the number of the middle pixel, the p i is the center pixel value,
[0020] Arrange these k values in ascending order, remove the middle value and get the output value after the filter is completed, which can be expressed as:
[0021] y i =Med{p i-l,...,p i ,...,p i+l}
[0022] Where Med{} is the filtering operation,
[0023] By generalizing the one-dimensional array operation, the median filter operation of the two-dimensional array is obtained, which can be expressed as follows:
[0024]
[0025] Wherein, the intermediate parameter A is the filter window range, P ij is a two-dimensional array.
[0026] The present invention is further configured that the step three specifically comprises:
[0027] Select a threshold as the calibration value. When the value of the pixel is greater than or equal to the calibration value, it is converted to black. On the contrary, when the value of the pixel is less than the value, it is converted to white.
[0028] Wherein, the threshold is defined as follows:
[0029] Select a middle block from the area to be detected as the real-time pixel value, P in the surrounding block is one of the neighborhood blocks, select a maximum grayscale value in the small range of surrounding neighborhood blocks as B, and the minimum grayscale value in the small range of surrounding neighborhood blocks as C. Then the threshold T can be obtained using the following formula:
[0030]
[0031] Or use the threshold T formula with high credibility,
[0032]
[0033] Where P i is the ith neighborhood block.
[0034] The present invention is further configured that the step 4 is specifically:
[0035] The Canny operator is used as the basic edge detection algorithm to perform edge detection on the binary image.
[0036] Use the first-order derivative of a two-dimensional Gaussian function to smooth the image.
[0037] Let the two-dimensional Gaussian function be,
[0038]
[0039] In the formula, σ is the covariance, which describes the correlation of variables in each dimension, x is the horizontal coordinate of the center point, and y is the vertical coordinate of the center point.
[0040] Two-dimensional Gaussian function gradient vector for,
[0041]
[0042] In the formula, To find the partial derivative with respect to x, Find the partial derivative with respect to y,
[0043] The gradient vector The two filtered convolution templates are decomposed into two one-dimensional row and column filters.
[0044]
[0045]
[0046] In the formula, m and n are the coefficients obtained by partial derivatives.
[0047] Convolve these two row and column filters with the image to obtain a smoothed image I(x,y).
[0048]
[0049] Where f(x,y) is the original image,
[0050] Calculate the first-order partial differential H of each pixel I(i,j) in the smoothed image I(x,y) in the x direction x and the first-order partial differential H in the y direction y , as well as the magnitude M(i,j) and direction O(i,j) of the gradient,
[0051]
[0052]
[0053]
[0054] O(i,j)=arctan(I y (i,j) / I x (i,j))
[0055] Compare the gradient values of pixel I(i,j) with those of the surrounding pixels. If it is not a local maximum, reset the pixel value of the point to 0 to achieve non-maximum suppression of the gradient image.
[0056] For the image that has undergone non-maximum suppression, dual thresholds th1 and th2 (th2 = (2~3)th1) are used for segmentation. Threshold th1 obtains image A, and threshold th2 (th2 = (2~3)th1) obtains image B. Based on the information of image A, the edges of image B are connected.
[0057] The present invention is further configured that the step five is specifically:
[0058] In view of the broken edges, branches and burrs of the image, the extraction rules of the boundary contour are set, and the contour extraction and tracking are performed. The extraction rules of the boundary contour are:
[0059] Assume that the gray value of the background pixel is 0 and the gray value of the target pixel is 1;
[0060] (1) If the central pixel is 0, no matter what the values of the adjacent 8 neighboring pixels are, the central pixel value will always be kept as 0;
[0061] (2) If the central pixel value is 1 and the values of the adjacent 8 neighboring pixels are all 1, then change the central pixel value to 0;
[0062] (3) Except for the above cases, the central pixel value is set to 1.
[0063] The present invention is further configured that the step six specifically comprises:
[0064] For the broken edges, branches and burrs of the image, burrs are removed and breakpoint compensation is performed.
[0065] The burr removal is to temporarily set the burr point and its neighboring points as the background color, and determine the connectivity of each point in its neighborhood. If the neighborhood point is an isolated point, the neighborhood point is removed; otherwise, the point is retained, and then the original pixel values of the burr point and the remaining neighboring points are restored, and then the number of outgoing points of the burr point is determined. If the number of outgoing points is one, the burr point has been removed; otherwise, a heuristic method is used, that is, tracking along a certain neighborhood point until a non-burr point is encountered;
[0066] The breakpoint compensation is to set a radius range r with the breakpoint as the center of the circle. If there are several edge contour points that have not been tracked in this circular area, the contour point with the smallest distance to the breakpoint is connected to the breakpoint with a straight line segment, and the points passed on the straight line segment are the contour points that need to be compensated.
[0067] The present invention is further configured that the step seven specifically comprises:
[0068] The pixel area of the image is accurately calculated and measured through the GIMP software. According to the proportional relationship between the pixel point and the actual size, the yarn cross-sectional area, the length and width of the convex lens and other cross-sectional dimension parameters are obtained.
[0069] Convex lens length,
[0070]
[0071] Convex lens width,
[0072]
[0073] Where a is the pixel length of the long axis, b is the pixel length of the short axis, l′ is the actual length of the long side of the section, and t is the pixel length of the long side of the section.
[0074] Yarn cross-sectional area,
[0075]
[0076] Among them, l1 is the true length of the section, l2 is the true width of the section, k1 is the number of pixels in the cross-sectional area of the fiber bundle, k2 is the total number of pixels in the section, and m is the number of yarn sections.
[0077] The present invention is further configured that the step eight specifically comprises:
[0078] The warp yarn trajectory is described by the cosine function: f(x) = A cos(ωx) + g;
[0079] The weft yarn profile is described by the cosine function: g(x)=A cos(ωx)+h;
[0080] Among them, A, ω, g, and h are all unknown parameters.
[0081] For trigonometric functions, the amplitude A can be regarded as the mean of the difference between the coordinates of the highest and lowest points of the curve, ω1 is related to the period of the curve, g and h are the relative positions of the curve and the local coordinate system, so:
[0082]
[0083]
[0084]
[0085]
[0086] Where w 2w 、w 2j are the heights of the weft and warp sections (mm), T is the minimum period of the trigonometric function related to the spacing of the weft yarns in the same layer, and h w The height between two adjacent layers of weft yarns is related to the number of weft yarn layers:
[0087]
[0088]
[0089] Where H is the overall thickness of the specimen, N w is the number of weft yarn layers, is half of the distance between adjacent weft yarns.
[0090] Establish a two-dimensional structural model of warp and weft yarns.
[0091] The present invention is further configured as follows: step nine is to use UG to perform three-dimensional stretching to obtain a three-dimensional model of a 2.5-dimensional woven composite material with straight weft yarns, and step ten is to use hypermesh software to perform mesh discretization on the three-dimensional model of the 2.5-dimensional woven composite material with straight weft yarns obtained in step nine, and finally establish a 2.5-dimensional woven composite material geometric model.
[0092] Compared with the prior art, the present invention has the following advantages: the present invention performs technical processing and improvement on the images of industrial CT technology, so that the obtained geometric structure parameters of the unit cell model are more objective and the measurement errors caused by other factors are eliminated. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] Figure 1 It is a flow chart of the geometric modeling method of 2.5-dimensional braided composite materials based on pixel method of the present invention;
[0094] Figure 2 This is the XCT slice image of the 2.5D woven composite material with lining warp;
[0095] Figure 3 It is a median filter processing diagram of the CT image;
[0096] Figure 4 middle Figure 4 a is the binary image of the warp yarn trajectory, Figure 4 b is the binary image of the weft yarn cross section;
[0097] Figure 5 is a schematic diagram of adaptive threshold determination;
[0098] Figure 6 is a schematic diagram of the gradient direction;
[0099] Figure 7 middle Figure 7 a is the local edge image before burr removal, Figure 7 b is the local edge image after burrs are removed;
[0100] Figure 8 middle Figure 8 a is the local edge map before breakpoint compensation, Figure 8 b is the local edge map after breakpoint compensation;
[0101] Fig. 9 middle Fig. 9 a is the result of the latitudinal section edge detection. Fig. 9 b is the result of edge detection in the longitudinal section;
[0102] Fig.10 It is a parametric diagram of the weft section of five satin 2.5D woven composite materials;
[0103] Fig.11 It is a schematic diagram of the warp yarn orientation in the weft section of five satin 2.5D woven composite materials;
[0104] Fig.12 middle Fig.12 a is the side view of five satin 2.5D woven composite unit cells, Fig.12 b is the side view of the yarn, Fig.12 c is the yarn top view. DETAILED DESCRIPTION
[0105] The present invention will be further described below in conjunction with the accompanying drawings.
[0106] The present invention provides a 2.5-dimensional woven composite material modeling method based on the pixel method, which performs technical processing and improvement on images of industrial CT technology, so that the acquired geometric structure parameters of the unit cell model are more objective and measurement errors caused by other factors are eliminated.
[0107] A 2.5-dimensional braided composite material modeling method based on a pixel method comprises the following steps:
[0108] Step 1: Use XCT to scan the internal structure of the material. Figure 2 , the double lens assumption is adopted for the cross section of the inner layer weft yarn, and the rectangular cross section assumption is adopted for the weft yarn and lining warp yarn of the 2.5D woven composite material;
[0109] Step 2: Perform median filtering on the slice image obtained in step 1. Figure 3 . Through a floating detection window, which contains an odd number of points, the grayscale median of each point in the detection window is used to replace the grayscale value of the center pixel of the window. The essence of median filtering is to work through statistical sorting. Imagine a one-dimensional array p1, p2, ... p n , the number of detection window points is an odd number k. When performing median filtering on it, the following operations are required:
[0110] (1) Select k values p from the array i-l ,...,p i-1 ,p i ,p i+1 ,...,p i+l , the p i is the center pixel value,
[0111] (2) Arrange these k values in ascending order, remove the middle value and get the output value after the filter is completed. The expression can be expressed as
[0112] y i =Med{p i-l ,...,p i ,...,p i+l}
[0113] By generalizing the one-dimensional array operation, we get the median filter operation of the two-dimensional array. Similarly, it can be expressed as:
[0114]
[0115] The intermediate parameter A is the filter window range, P ij It is a two-dimensional array. In most cases, the two-dimensional filtering effect is significantly stronger than the one-dimensional filtering effect. Since the range of two-dimensional filtering is wider than that of one-dimensional filtering, the size of the window greatly affects the filtering efficiency. Generally, square, linear, circular, etc. are used. The window size can be 3×3 at first, and then gradually increased until the filtering requirements are met.
[0116] Step 3: Perform adaptive threshold segmentation on the image obtained in step 2. Figure 4 . First, you need to select a threshold as the calibration value. When the value of the pixel is greater than or equal to this value, it will be converted to black. Conversely, when the value of the pixel is less than this value, it will be converted to white. Another thing to consider is that the determination of the threshold needs to be judged based on the actual image. If the threshold value is too small, redundant noise points will be generated. If the threshold value is too large, the resolution of the image will be reduced. This is because some points that need to be converted with low probability in the CT image will be mistaken for the bottom layer. Adaptive threshold segmentation first defines a neighborhood window with each pixel as the center, calculates the maximum and minimum values of the pixels in the window, and takes their average as the threshold.
[0117] Down Figure 5 In the figure, the middle block is the real-time pixel value, P in the surrounding block is one of the neighborhood blocks, the maximum grayscale value in the small surrounding neighborhood blocks is selected as B, and the minimum grayscale value in the small surrounding neighborhood blocks is set as C. The following formula can be used to obtain the threshold:
[0118]
[0119] Or use a more reliable
[0120]
[0121] Step 4: Perform edge detection on the image obtained in step 3. A conversion algorithm is used to create a segmentation line that distinguishes the selected area of the image from other backplane colors. The traditional edge detection operator screens the surrounding area of each pixel, performs mathematical analysis on the gray-white distinction, and determines whether it is an edge by the change of the first-order or second-order directional derivative at the edge.
[0122] The implementation steps of the basic Canny operator are as follows:
[0123] First, use the first-order derivative of the two-dimensional Gaussian function to smooth the image. Suppose the two-dimensional Gaussian function is:
[0124]
[0125] Its gradient vector is:
[0126]
[0127] Bundle The two filtered convolution templates are decomposed into two one-dimensional row and column filters:
[0128]
[0129]
[0130] In the formula, m and n are the coefficients obtained by partial derivatives.
[0131] Convolve the image with these two row and column filters to obtain a smoothed image I(x,y).
[0132]
[0133] The 2×2 template shown in the following formula is used to calculate the first-order partial differential of each pixel I(i,j) in the x and y directions within I(x,y), as well as the magnitude M(i,j) and direction O(i,j) of the gradient.
[0134]
[0135]
[0136]
[0137] O(i,j)=arctan(I y (i,j) / I x (i,j))
[0138] Perform non-maximum suppression on the gradient image. Figure 6The four regions shown define the gradient direction O(i,j) of pixel I(i,j), and the local maximum of the gradient is determined by comparing the neighboring pixels in each region. Assuming that the gradient direction of the central pixel I(i,j) is in the fourth region, it is compared with the gradient values of the surrounding neighboring pixels. If it is not a local maximum, the pixel value of the point is reset to 0.
[0139] Use the double threshold method to detect and connect edges. For images that have been non-maximum suppressed, use the double thresholds th1 and th2 (th2 = (2-3) th1) to segment and obtain images A and B. Since image B is segmented using a larger threshold, it does not contain false edges, but the edge information may be lost; while image A has a lower threshold and retains more information. Therefore, according to the information of image A, connect the edges of image B.
[0140] Step 5: Extract and track the contour of the image obtained in step 4. This paper adopts the method of hollowing out internal points to re-extract the contour. The basic idea is: assume that the background color is white and the target color is black. If there is a black pixel in the original image and its 8 neighboring points are all black, it can be determined that the point is an internal point and deleted, that is, hollowing out the internal point. From a morphological point of view, (1) if the central pixel is 0, no matter what the values of the adjacent 8 neighboring pixels are, the central pixel value is always kept as 0;
[0141] (2) If the central pixel value is 1 and the values of the adjacent 8 neighboring pixels are all 1, then change the central pixel value to 0;
[0142] (3) Except for the above cases, the central pixel value is set to 1.
[0143] This process is actually equivalent to corroding the original image with a nine-point structure element, and then subtracting the corroded image from the original image.
[0144] In a binary image, assuming that the grayscale value of the background pixel is 0 and the grayscale value of the target pixel is 1, the extraction rules of the boundary contour are as follows:
[0145] Step 6: Eliminate singular points in the contour of the image obtained in step 5. First, temporarily set the burr point and its neighboring points to the background color, and determine the connectivity of its neighboring points. If its neighboring point is an isolated point, remove the neighboring point; otherwise, keep the point. Then, restore the original pixel values of the burr point and the remaining neighboring points, and then determine the number of outgoing points of the burr point. If the number of outgoing points is one, the burr point has been removed; otherwise, use a heuristic method, that is, track along a certain neighborhood point until a non-burr point is encountered.
[0146] Figure 7As shown in a, during the contour tracking process, when point 2 is tracked, point 2 has two points with equal distances from it, namely point 3 and point 4. According to the above criteria, point 2 is a burr point, so point 2 and its adjacent points (points 1, 3, and 4) are temporarily set to the background color. At this time, point 4 is still connected to an edge point, and point 3 becomes an isolated point, so point 3 is eliminated, and point 2 only has one exit point (point 4), that is, the burr removal is completed. Figure 7 b is the effect after burr removal. During contour tracking, you may encounter breakpoints, which are contour points with only entry points but no exit points. Experiments show that the number of breakpoints in a contour is small (only a few contours appear once), and the distance between two breakpoints is relatively small (generally 1-3 pixels), so it is easier to handle. The following rules are formulated:
[0147] With the breakpoint as the center, set a radius range r (usually 2 pixels). If there are several edge contour points in this circular area that have not been tracked, the contour point with the smallest distance to the breakpoint will be connected to the breakpoint with a straight line segment. The points passing through the straight line segment are the contour points that need to be compensated.
[0148] Depend on Figure 8 It can be found that point 1 is a breakpoint on the tracking path. Within the circle with point 1 as the center and radius r = 2, there is a breakpoint between point 1 and point 3. Therefore, point 1 and point 3 need to be connected. Point 2 is the compensation point, which completes the connection of the two breakpoints. The final edge detection result is as follows: Fig. 9 a, Fig. 9 As shown in b.
[0149] Step 7: Obtain parameters for the image obtained in step 6. Select representative screenshots from two sections, the warp direction and the weft direction. Use the software to adjust the resolution of the bright and dark sides, and use the pixel points to obtain parameters. The specific operations are as follows:
[0150] Similar to the throwing method in mathematical probability problems, the cross-sectional area of the yarn, the length and width of the convex lens can be obtained, such as Fig.10 shown.
[0151] Convex lens length:
[0152]
[0153] Convex lens width:
[0154]
[0155] Where a is the pixel length of the long axis, b is the pixel length of the short axis, l′ is the actual length of the long side of the section, and t is the pixel length of the long side of the section.
[0156] Yarn cross-sectional area,
[0157]
[0158] Among them, l1 is the true length of the section, l2 is the true width of the section, k1 is the number of pixels in the cross-sectional area of the fiber bundle, k2 is the total number of pixels in the section, and m is the number of yarn sections.
[0159] Use the GIMP software to accurately calculate and measure the pixel area of the image. First, use Shift+M to call the measurement tool, check the Use Information Window in the tool options, and freely measure the distance and angle based on pixels in a customized way. Press and hold Ctrl to achieve horizontal and vertical measurement, and press and hold Ctrl+Alt to set the gauge line where needed by double-clicking the mouse. Get the number of pixels in the area by selecting the area.
[0160] From the edge detection effect diagram, the structural outlines of the cross sections of the warp yarn, weft yarn, and lining warp yarn can be obtained. According to the proportional relationship between the pixel points and the actual size, the fiber bundle cross-sectional size measurement results shown in Table 1 are obtained.
[0161] Table 1 Fiber bundle cross-sectional dimensions measurement results
[0162]
[0163]
[0164] Step 8: Use the cosine function curve to simulate the warp yarn trajectory and weft yarn profile in the slice diagram to establish a two-dimensional structure model of the warp yarn and weft yarn. The schematic diagram of the warp yarn trajectory is shown in Fig.11 ;
[0165] The warp yarn trajectory is described by the cosine function: f(x) = Acos(ωx) + g;
[0166] The weft yarn profile is described by the cosine function: g(x)=Acos(ωx)+h;
[0167] Among them, A, ω, g, and h are all unknown parameters.
[0168] For trigonometric functions, the amplitude A can be regarded as the mean of the difference between the coordinates of the highest and lowest points of the curve, ω1 is related to the period of the curve, g and h are the relative positions of the curve and the local coordinate system, so:
[0169]
[0170]
[0171]
[0172]
[0173] Where w 2w 、w 2j are the heights of the weft and warp sections (mm), T is the minimum period of the trigonometric function related to the spacing of the weft yarns in the same layer, and h w The height between two adjacent layers of weft yarns is related to the number of weft yarn layers:
[0174]
[0175]
[0176] Where H is the overall thickness of the specimen, N w is the number of weft yarn layers, It is half of the spacing between adjacent weft yarns, which is statistically measured by the gimp software in step eight, and all warp yarn trajectories in the structure are drawn in a two-dimensional plane.
[0177] Step nine: Based on the two-dimensional structure diagram of the 2.5-dimensional woven composite material obtained in step seven, use UG to perform three-dimensional stretching to obtain a three-dimensional model of the 2.5-dimensional woven composite material with straight weft yarns.
[0178] Step 10: Use the hypermesh software to discretize the 2.5-dimensional woven composite material 3D model with straight weft yarns obtained in step 9, and finally establish the following Fig.12 The geometric model of the composite material with five satin 2.5D braids is shown.
[0179] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A 2.5-dimensional woven composite material modeling method based on pixel method, characterized in that: The following steps are involved: Step 1: Use XCT technology to obtain the warp and weft slices of the 2.5-dimensional woven composite material; Step 2: Perform median filtering on the slice image obtained in step 1 to process related noise points; Step 3, performing adaptive threshold segmentation on the image obtained in step 2; Step 4: Perform edge detection on the image obtained in step 3 to identify the boundaries of warp and weft yarns; Step 5: extracting and tracking the contour of the image obtained in step 4; Step 6, eliminating singular points of the contour of the image obtained in step 5; Step 7: Obtain parameters of the image obtained in step 6; Step 8: Use cosine function curve to simulate the warp yarn trajectory and weft yarn profile in the slice diagram to establish a two-dimensional structure model of the warp and weft yarns; Step nine: The two-dimensional structure diagram of the 2.5-dimensional woven composite material obtained in step eight is subjected to three-dimensional stretching by computer software to obtain a three-dimensional model of the 2.5-dimensional woven composite material with straight weft yarns; Step 10: Using computer software to perform mesh discretization on the 2.5-dimensional woven composite material three-dimensional model with straight weft yarns obtained in step 9, and finally establish a 2.5-dimensional woven composite material geometric model; The step 2 is specifically as follows: Assume that the grayscale values of each point in the slice image form a one-dimensional array , and suppose the number of points is an odd number The detection window, Select from array Values , is the label of the middle pixel, is the center pixel value, ; This The values are arranged in ascending order, and the middle value is the output value after the filter device is completed, which can be expressed by the expression: (1) In the formula, For filtering operation, By generalizing the one-dimensional array operation, the median filter operation of the two-dimensional array is obtained, which can be expressed as follows: (2) In the formula, the intermediate parameter is the filter window range, is a two-dimensional array; The step three is specifically as follows: Select a threshold as the calibration value. When the value of the pixel is greater than or equal to the calibration value, it is converted to black. On the contrary, when the value of the pixel is less than the value, it is converted to white. Wherein, the threshold is defined as follows: Select a middle block from the area to be detected as the real-time pixel value, and the surrounding blocks is one of the neighborhood blocks, and the maximum grayscale value of a small surrounding neighborhood block is set to , the minimum gray value in the small surrounding neighborhood block is set to , the threshold can be obtained using the following formula , (3) Or use a high confidence threshold formula, (4) In the formula, For the Neighborhood blocks; The step 4 is specifically as follows: The Canny operator is used as the basic edge detection algorithm to perform edge detection on the binary image. Use the first-order derivative of a two-dimensional Gaussian function to smooth the image. Let the two-dimensional Gaussian function be, (5) In the formula, is the covariance, describing the correlation of each dimension variable, x is the horizontal coordinate of the center point, y is the vertical coordinate of the center point, Two-dimensional Gaussian function gradient vector for, (6) In the formula, To find the partial derivative with respect to x, Find the partial derivative with respect to y, The gradient vector The two filtered convolution templates are decomposed into two one-dimensional row and column filters. (7) In the formula, , To find the coefficients of partial derivatives, Convolve the image with these two row and column filters to get a smooth image , (8) In the formula, is the original image, Compute smooth image Each pixel The first partial differential in the x direction and the first partial differential in the y direction , and the magnitude of the gradient and direction , (9) (10) (11) (12) Compare Pixels If the gradient value of the neighboring pixels is not a local maximum, the pixel value of the point is reset to 0 to achieve non-maximum suppression of the gradient image. Use double thresholding for images that have undergone non-maximum suppression and Segmentation, threshold Get image A, threshold Get image B, and connect the edges of image B according to the information of image A; The step five is specifically as follows: In view of the broken edges, branches and burrs of the image, the extraction rules of the boundary contour are set, and the contour extraction and tracking are performed. The extraction rules of the boundary contour are: Assume that the gray value of the background pixel is 0 and the gray value of the target pixel is 1; (1) If the central pixel is 0, no matter what the values of the adjacent 8 neighboring pixels are, the central pixel value will be kept as 0; (2) If the central pixel value is 1 and the values of the adjacent 8 neighboring pixels are all 1, then change the central pixel value to 0; (3) Except for the above cases, the central pixel value is set to 1; The step six is specifically as follows: For the broken edges, branches and burrs of the image, burrs are removed and breakpoint compensation is performed. The burr removal is to temporarily set the burr point and its neighboring points as the background color, and determine the connectivity of each point in its neighborhood. If the neighborhood point is an isolated point, the neighborhood point is removed; otherwise, the point is retained, and then the original pixel values of the burr point and the remaining neighboring points are restored, and then the number of outgoing points of the burr point is determined. If the number of outgoing points is one, the burr point has been removed; otherwise, a heuristic method is used, that is, tracking along a certain neighborhood point until a non-burr point is encountered; The breakpoint compensation is to set a radius range r with the breakpoint as the center of the circle. If there are several edge contour points that have not been tracked in this circular area, the contour point with the smallest distance to the breakpoint is connected to the breakpoint with a straight line segment, and the points passed on the straight line segment are the contour points that need to be compensated.
2. A 2.5-dimensional woven composite material modeling method based on pixel method according to claim 1, characterized in that: In the step 1, the slice image taken by XCT contains more than one unit cell structure. In the slice image taken by XCT, a double lens assumption is used for the weft yarn cross section of the inner layer of the 2.5-dimensional woven composite material, a rectangular cross section assumption is used for the weft yarn cross section of the surface layer of the 2.5-dimensional woven composite material that is not interwoven with the warp yarn, and a double lens assumption is used for the weft yarn cross section of the surface layer of the 2.5-dimensional woven composite material that is interwoven with the warp yarn.
3. A 2.5-dimensional woven composite material modeling method based on pixel method according to claim 1, characterized in that: The step seven is specifically as follows: The pixel area of the image is accurately calculated and measured through the GIMP software. According to the proportional relationship between the pixel point and the actual size, the yarn cross-sectional area, the length and width of the convex lens and other cross-sectional dimension parameters are obtained. Convex lens length, (13) Convex lens width, (14) in is the pixel length of the major axis, The pixel length of the minor axis, is the actual length of the long side of the section, is the pixel length of the long side of the section, Yarn cross-sectional area, (15) in is the true length of the section, is the true width of the section, is the number of pixels in the cross-sectional area of the fiber bundle, is the total number of pixels on the cross section, is the number of yarn cross sections.
4. A 2.5-dimensional braided composite material modeling method based on pixel method according to claim 3, characterized in that: The step eight is specifically as follows: The warp yarn trajectory is described by the cosine function. ; The weft yarn profile is described by the cosine function. ; Among them, A, , g, and h are all unknown parameters. For trigonometric functions, the amplitude A can be regarded as the mean of the difference between the coordinates of the highest and lowest points of the curve, Related to the curve period, g, is the relative position of the curve and the local coordinate system, so we have, (16) (17) (18) (19) In the formula , are the heights of the weft and warp sections (mm), T is the minimum period of the trigonometric function and is related to the spacing of the weft yarns in the same layer, The height between two adjacent layers of weft yarns is related to the number of weft yarn layers. (20) (21) Where H is the overall thickness of the specimen, is the number of weft yarn layers, is half of the distance between adjacent weft yarns. Establish a two-dimensional structural model of warp and weft yarns.
5. The 2.5-dimensional woven composite material modeling method based on pixel method according to claim 1 is characterized in that: The step nine is to use UG to perform three-dimensional stretching to obtain a three-dimensional model of a 2.5-dimensional woven composite material with straight weft yarns, and the step ten is to use hypermesh software to perform mesh discretization on the three-dimensional model of the 2.5-dimensional woven composite material with straight weft yarns obtained in step nine, and finally establish a 2.5-dimensional woven composite material geometric model.
