Method for detecting surface appearance of fleece fabric
Through laser stripe image shooting and three-dimensional reconstruction of the surface of the fleece fabric, a relief parameter model was established, which solved the problem of manual subjective evaluation, achieved objective and quantitative assessment of the quality of the fleece fabric, and improved detection efficiency and accuracy.
Patent Information
- Application Number
- CN202410681071.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-09-10
AI Technical Summary
In the existing technology, the quality inspection of fleece fabrics relies on manual subjective assessment, which is labor-intensive and cannot form objective and quantitative assessment results.
By taking continuous Q-frame shots of the surface of the fleece fabric, the laser stripe image is obtained, the center line is extracted, three-dimensional reconstruction is performed, and a relief parameter model is established to quantitatively characterize the surface quality of the fleece fabric.
It achieves objective and quantitative assessment of the surface morphology of fleece fabrics, reduces the influence of manual subjective assessment, and improves detection efficiency and accuracy.
Smart Images

Figure CN118624636A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of fabric surface detection methods and relates to a method for detecting the surface morphology of fleece fabrics. Background Art
[0002] Fleece fabrics are widely used and come in many varieties. They are widely sold in military and civilian markets. However, there are certain quality problems in the fleece process, which will affect the comfort level to a certain extent, thus affecting the product quality of the textile industry. At present, the main quality testing method for fleece fabrics is human subjective evaluation, and quality testing is carried out according to textile identification standards. Human subjective evaluation is labor-intensive, and the evaluation results are related to the operator's work experience, and it is impossible to form an objective and quantitative evaluation result. Summary of the invention
[0003] The purpose of the present invention is to provide a method for detecting the surface morphology of fleece fabrics, which solves the problem in the prior art that manual subjective evaluation has high labor intensity and cannot form objective and quantitative evaluation results.
[0004] The technical solution adopted by the present invention is a method for detecting the surface morphology of fleece fabrics, which is specifically implemented according to the following steps:
[0005] Step 1, continuously shooting Q frames of the fleece fabric surface to obtain Q frames of laser stripe images on the fleece fabric surface, each frame of the laser stripe image having one laser stripe;
[0006] Step 2, extracting the center line of each frame of laser stripe image;
[0007] Step 3, three-dimensionally reconstructing the fleece fabric surface through the center line of each frame of the laser stripe image to obtain a three-dimensional point cloud image of the fleece fabric surface;
[0008] Step 4: establishing a fluctuation parameter model of the surface quality of the fleece fabric according to the three-dimensional point cloud image of the fleece fabric surface for quantitative characterization, and evaluating the surface morphology of the fleece fabric according to the quantitative characterization of the fluctuation parameter model.
[0009] The present invention is also characterized in that
[0010] Step 2 is as follows:
[0011] Step 2.1, obtain the Hessian matrix corresponding to each frame of laser stripe image, specifically:
[0012]
[0013] Where n is the laser stripe image of any frame, (x, y) is any point on the laser stripe of the laser stripe image, G(x, y) is a two-dimensional Gaussian function* represents the convolution operation, Gxx is the second-order derivative of the Gaussian function along the x direction, Gyy is the second-order derivative of the Gaussian function along the y direction, Gxy is the second-order derivative of the Gaussian function along the x and y directions, and Gyx is the second-order derivative of the Gaussian function along the y and x directions;
[0014] Step 2.2, obtain the eigenvector corresponding to the maximum eigenvalue of the Hessian matrix. This eigenvector is the normal direction of the laser stripe. (n x , n y ) indicates that, assuming the standard point (x0, y0), the sub-pixel coordinates of the center of the laser stripe (p x , p y )=(x0+tn x ,y0+tn y ), then the standard point grayscale is:
[0015] z(x0+tn x ,y0+tn y )=z(x0,y0)+N(r x , r y ) T +NH(x,y)N T / twenty two)
[0016] Among them, t is the unknown number, r x is the first-order partial derivative of the laser stripe image along the x direction, r y is the first-order partial derivative of the laser stripe image along the y direction; z(x, y) is the pixel value of point (x, y);
[0017] because:
[0018] Then we have:
[0019]
[0020] Among them, r xx is the second-order partial derivative of the laser stripe image along the x direction, r yy is the second-order partial derivative of the laser stripe image along the y direction;
[0021] If (tn x ,tn y )∈[-0.5,0.5]×[-0.5,0.5], then the standard point (x0, y0) is the center point of the laser stripe;
[0022] Step 2.3, converge all standard points in the corresponding laser stripe image that meet the conditions in step 2.2 and can be used as center points into a line to obtain the center line of the laser stripe image.
[0023] Step 3 is specifically as follows: convert the pixels of the center line of the laser stripe in each frame of the laser stripe image obtained through step 2 into three-dimensional point cloud data, align the three-dimensional point cloud data of the center line of each frame of the laser stripe by using the iterative nearest point method, and then minimize the point-to-point distance between the two frames to accurately align each frame of data, and form a complete and coherent point cloud data through frame-by-frame integration, which is the three-dimensional point cloud map of the surface of the fleece fabric.
[0024] In step 4, a fluctuation parameter model of the surface quality of the fleece fabric is established based on the three-dimensional point cloud image of the fleece fabric surface for quantitative characterization, specifically:
[0025] Step 4.1, use the three-dimensional point cloud of the fleece fabric surface to fit the least squares reference surface ξ(x i ,y j ):
[0026] ξ(x i ,y j )=ax i +by j +d (4)
[0027] Wherein, i = 1, 2, 3, ..., M, j = 1, 2, 3, ..., N, M and N represent the number of discrete sampling points along the x-axis and y-axis in the 3D point cloud image, respectively, and a, b, d are coefficients;
[0028] Step 4.2, calculate the distance from each point on the fleece fabric surface contour to the least squares reference plane to obtain the residual surface η(x i ,y j ):
[0029] η(x i ,y j )=f(x i ,y j )-ξ(x i ,y j ) (5)
[0030] Among them, f(x i ,y j ) represents the horizontal and vertical coordinates of the three-dimensional point cloud of the fleece fabric surface, respectively x i ,y j point;
[0031] Step 4.3, according to the residual surface η(x i ,y j) Establish the fluctuation parameter S for evaluating the smoothness of the local area of the fleece fabric surface q :
[0032]
[0033] Among them, M and N represent the number of discrete sampling points along the x-axis and y-axis in the 3D point cloud image, respectively.
[0034] The quantitative characterization and evaluation of the fleece fabric surface morphology based on the fluctuation parameter model is as follows:
[0035] Fluctuation parameter S q It is the root mean square deviation of the fleece fabric surface profile, S q The smaller the value, the smaller the surface contour of the fleece fabric is, and the flatter the surface is; conversely, the surface is more uneven.
[0036] A linear acquisition device is used to perform continuous Q-frame shooting of the fleece fabric surface, including a support frame, with a loading port and a unloading port respectively arranged on the corresponding two side surfaces of the support frame, a conveying mechanism is arranged between the loading port and the unloading port in the support frame, the conveying mechanism is connected to a driving mechanism, a laser is arranged above the conveying mechanism inside one side of the support frame where the loading port is arranged, a light supply unit is also arranged above the conveying mechanism on the support frame, and an image acquisition unit is also arranged directly above the conveying mechanism on the support frame, the fleece fabric is horizontally transported from the loading port to the unloading port via the conveying mechanism in the support frame, and the driving mechanism is connected to a control unit via a wire.
[0037] The laser line emitted by the laser forms an angle of 30° with the surface of the fleece fabric, and the laser projects the laser onto the surface of the fleece fabric to form a laser stripe image; the optical axis of the image acquisition unit is perpendicular to the surface of the fleece fabric.
[0038] The transmission mechanism includes rotating shafts arranged in the support frame at the positions corresponding to the loading port and the unloading port, respectively, the rotating shafts are connected to the driving mechanism, rotating rollers are fixedly installed on the two rotating shafts, and a synchronous belt is commonly provided on the two rotating rollers.
[0039] Deep groove ball bearings are connected at both ends of the rotating shaft, and the deep groove ball bearings are fixed at corresponding positions of the supporting frame through bearing seats.
[0040] The driving unit comprises a stepper motor fixedly connected to the supporting frame, the output end of the stepper motor is connected to any rotating shaft through a coupling, and the stepper motor is connected to the control unit through a wire.
[0041] A laser bracket support rod is fixedly connected to the laser bracket inside one side of the support frame where the feeding port is arranged and located above the conveying mechanism. The laser bracket support rod is connected to the laser bracket, and the laser is fixed on the laser bracket.
[0042] The light supply unit includes a light panel fixed on the top of the support frame;
[0043] The image acquisition unit includes a camera bracket fixedly connected to the inner side of the top of the support frame, the camera bracket is located directly above the synchronous belt, a camera clamp is fixedly connected to the camera bracket, a camera is fixedly connected to the camera clamp, and the camera optical axis is perpendicular to the surface of the fleece fabric.
[0044] The support frame is a three-layer support frame of a rectangular structure. The top, bottom, left and right sides of the support frame are respectively provided with an upper end cover, a base plate, a left baffle and a right baffle. The left baffle and the right baffle are respectively provided with a loading port and a unloading port at the positions corresponding to the middle layer of the support frame, and the bearing seat is fixed on the middle layer of the support frame.
[0045] The control unit comprises a PLC controller arranged on a bottom plate, the PLC controller is sequentially connected to a motor driver and a frequency converter through cables, and the frequency converter is connected to a stepper motor through cables.
[0046] The beneficial effects of the present invention are:
[0047] The present invention obtains a Q-frame laser stripe image of the fleece fabric surface, obtains a three-dimensional point cloud map of the fleece fabric surface according to the laser stripe image, then establishes a fluctuation parameter model of the fleece fabric surface quality according to the three-dimensional point cloud map of the fleece fabric surface for quantitative characterization, evaluates the fleece fabric surface morphology according to the quantitative characterization of the fluctuation parameter model, and realizes an objective and quantitative evaluation of the fleece fabric surface morphology.
[0048] The linear acquisition device of the present invention, under the action of the laser and the image acquisition unit, performs single-frame shooting of the light stripe image, and through the operation of the transmission mechanism, performs continuous frame shooting of the light stripe image on the surface of the fleece fabric, and shoots high-quality laser stripe images; by irradiating the stripe laser, the deep information of the fleece fabric can be obtained, and some small and complex parts can be captured. Through multi-frame continuous frame shooting, preparation is made for the three-dimensional reconstruction of the fleece fabric surface, and the light unit is set to shoot under the same lighting conditions, which reduces the impact on the accuracy of the subsequent three-dimensional reconstruction. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 is a schematic structural diagram of a linear acquisition device in Embodiment 2 of the present invention;
[0050] Figure 2 is a schematic diagram of the structure of the transmission mechanism in the linear acquisition device in Example 2 of the present invention;
[0051] Figure 3 is a schematic diagram of the installation structure of the camera and the laser in the linear acquisition device in Example 2 of the present invention;
[0052] Figure 4 It is a schematic diagram of the structure of the feed port in the linear collection device in Example 2 of the present invention;
[0053] Figure 5 Schematic diagram of the structure of the feed port in the linear collection device in Example 2 of the present invention
[0054] Figure 6 is a schematic diagram of the original fleece fabric in Example 4 of the present invention;
[0055] Figure 7 is the laser stripe image captured in Example 4 of the present invention;
[0056] Figure 8 is the center line of the laser stripe image extracted in Example 4 of the present invention;
[0057] Fig. 9 It is the three-dimensional point cloud image obtained in Example 4 of the present invention.
[0058] In the figure: 1. PLC controller, 2. camera bracket, 3. camera clamp, 4. laser bracket support rod, 5. support frame, 6. frequency converter, 7. motor driver, 8. rotating shaft, 9. rotating roller, 10. synchronous belt, 11. bearing seat, 12. bottom plate, 13. camera, 14. laser, 15. laser bracket, 16. base, 17. nut, 18. stepper motor, 19. deep groove ball bearing, 20. motor bracket, 21. upper end cover, 22. left baffle, 23. right baffle, 24. coupling, 26. gusset, 27. loading port, 28. unloading port. DETAILED DESCRIPTION
[0059] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0060] Example 1
[0061] The method for detecting the surface morphology of fleece fabric is specifically implemented according to the following steps:
[0062] Step 1, continuously shooting Q frames of the fleece fabric surface to obtain Q frames of laser stripe images on the fleece fabric surface, each frame of the laser stripe image having one laser stripe;
[0063] Step 2, extract the center line of each frame of laser stripe image; specifically:
[0064] Step 2.1, obtain the Hessian matrix corresponding to each frame of laser stripe image, specifically:
[0065]
[0066] Where n is the laser stripe image of any frame, (x, y) is any point on the laser stripe of the laser stripe image, G(x, y) is a two-dimensional Gaussian function* represents the convolution operation, Gxx is the second-order derivative of the Gaussian function along the x direction, Gyy is the second-order derivative of the Gaussian function along the y direction, Gxy is the second-order derivative of the Gaussian function along the x and y directions, and Gyx is the second-order derivative of the Gaussian function along the y and x directions;
[0067] Step 2.2, obtain the eigenvector corresponding to the maximum eigenvalue of the Hessian matrix. This eigenvector is the normal direction of the laser stripe. (n x , n y ) indicates that, assuming the standard point (x0, y0), the sub-pixel coordinates of the center of the laser stripe (p x , p y )=(x0+tn x ,y0+tn y ), then the standard point grayscale is:
[0068] z(x0+tn x ,y0+tn y )=z(x0,y0)+N(r x , r y ) T +NH(x,y)N T / twenty two)
[0069] Among them, t is the unknown number, r x is the first-order partial derivative of the laser stripe image along the x direction, r y is the first-order partial derivative of the laser stripe image along the y direction; z(x, y) is the pixel value of point (x, y);
[0070] because:
[0071] Then we have:
[0072]
[0073] Among them, r xx is the second-order partial derivative of the laser stripe image along the x direction, r yy is the second-order partial derivative of the laser stripe image along the y direction;
[0074] If (tn x ,tn y )∈[-0.5,0.5]×[-0.5,0.5], then the standard point (x0, y0) is the center point of the laser stripe;
[0075] Step 2.3, converge all standard points in the corresponding laser stripe image that meet the conditions in step 2.2 and can be used as center points into a line to obtain the center line of the laser stripe image.
[0076] Step 3, reconstructing the fleece fabric surface in three dimensions through the center line of each frame of laser stripe image to obtain a three-dimensional point cloud map of the fleece fabric surface, specifically: converting the pixels of the center line of the laser stripe in each frame of laser stripe image obtained through step 2 into three-dimensional point cloud data, aligning the three-dimensional point cloud data of the center line of each frame of laser stripe by the iterative nearest point method, and then minimizing the point-to-point distance between the two frames to accurately align each frame of data, and forming a complete and coherent point cloud data through frame-by-frame integration, which is the three-dimensional point cloud map of the fleece fabric surface.
[0077] Step 4: According to the three-dimensional point cloud image of the fleece fabric surface, a fluctuation parameter model of the fleece fabric surface quality is established for quantitative characterization, specifically:
[0078] Step 4.1, use the three-dimensional point cloud of the fleece fabric surface to fit the least squares reference surface ξ(x i ,y j ):
[0079] ξ(x i ,y j )=ax i +by j +d (4)
[0080] Wherein, i=1, 2, 3, ..., M, j=1, 2, 3, ..., N, M and N represent the number of discrete sampling points along the x-axis and y-axis in the three-dimensional point cloud image, respectively, and a, b, d are coefficients;
[0081] Step 4.2, calculate the distance from each point on the fleece fabric surface contour to the least squares reference plane to obtain the residual surface η(x i ,y j ):
[0082] η(x i ,y j )=f(x i ,y j )-ξ(x i ,y j ) (5)
[0083] Among them, f(x i ,y j ) represents the horizontal and vertical coordinates of the three-dimensional point cloud of the fleece fabric surface, respectively x i ,y j point;
[0084] Step 4.3, according to the residual surface η(x i ,y j ) Establish the fluctuation parameter S for evaluating the smoothness of the local area of the fleece fabric surface q :
[0085]
[0086] Wherein, M and N represent the number of discrete sampling points along the x-axis and y-axis directions in the three-dimensional point cloud image, respectively;
[0087] Then, the surface morphology of the fleece fabric is evaluated based on the quantitative characterization of the fluctuation parameter model:
[0088] Fluctuation parameter S q It is the root mean square deviation of the surface profile of the fleece fabric, which can well reflect the large peaks or valleys of the fibers on the surface of the fleece fabric. q The smaller the value, the smaller the surface contour of the fleece fabric is, and the flatter the surface is; conversely, the surface is more uneven.
[0089] Example 2
[0090] Based on Example 1, the derivation process of the Hessian matrix is:
[0091] Select any point (x, y) on the laser stripe, and its Hessian matrix expression is:
[0092]
[0093] Where: r x With r y Respectively represent the first-order partial derivatives of the image along x and y, r xx With r yy Represent the second-order partial derivatives of the image along x and y respectively.
[0094] Perform a forward recursion on the image. Let the input image be n. The expression of the Gaussian convolution forward output is:
[0095] w(n)=Bin(n)+(b1w(n-1)+b2w(n-2)+b3w(n-3)) / b0 (8)
[0096] The Bin() function converts an integer or long integer into a binary string.
[0097] The forward recursive outputs of the first-order and second-order differentials through Gaussian convolution are w′(n) and w”(n).
[0098] According to the output result, do another backward recursion, the expression is:
[0099] out(n)=Bw(n)+(b1out(n+1)+b2out(n+2)+b3out(n+3)) / b0 (9)
[0100] Using Gaussian convolution for backward recursive processing, the outputs of the first-order differential and the second-order differential are out'(n) and out"(n);
[0101] in:
[0102] B=1-((b1+b2+b3) / b0) (10)
[0103] b0=1.57825+2.44413q+1.428q 2 +0.422205q 3
[0104] b1=2.44413q+2.85619q 2 +1.26661q 3
[0105] b2=-(1.4281q 2 +1.26661q 3 )
[0106] b3=0.4222205q 3
[0107]
[0108] First determine the Gaussian function δ0, and obtain the recursive coefficients q, B, b0, b1, b2, b3. According to the separable characteristics of the Gaussian function, the recursive expression of the Gaussian function and its differential form is used to calculate r. x 、r y 、r xx 、r yy 、r xy , the Hessian matrix can be solved, and the expression is:
[0109]
[0110] Where n is the input image, that is, the laser stripe image of any frame, and * represents the convolution operation.
[0111] Example 3
[0112] On the basis of Example 1, a linear acquisition device is used to continuously capture Q frames of the fleece fabric surface, and its structure is as follows: Figure 1As shown, it includes a support frame 5, and the corresponding two side surfaces of the support frame 5 are respectively provided with a loading port 27 and a unloading port 28. A conveying mechanism is provided between the loading port 27 and the unloading port 28 in the support frame 5, and the conveying mechanism is connected to a driving mechanism. A laser 14 is provided inside the side of the support frame 5 where the loading port 27 is provided, and is located above the conveying mechanism. A light supply unit is connected to the upper end cover 21 of the support frame 5. An image acquisition unit is also provided on the support frame 5 just above the conveying mechanism. The fleece fabric is horizontally transported from the loading port 27 to the unloading port 28 through the conveying mechanism in the support frame 5. The driving mechanism is connected to a control unit through a wire. The laser line emitted by the laser 14 forms an angle of 30° with the surface of the fleece fabric. The laser 14 projects the laser onto the surface of the fleece fabric to form a laser stripe image; the optical axis of the image acquisition unit is perpendicular to the surface of the fleece fabric. The control unit controls the driving mechanism to drive the conveying mechanism, and the fleece fabric is horizontally transported from the loading port 27 to the unloading port 28 through the conveying mechanism in the support frame 5. During the conveying process, the laser 14 projects laser light onto the surface of the fleece fabric, and the image acquisition unit realizes continuous frame capture of light stripe images under the action of the conveying mechanism.
[0113] like Figure 2 As shown, the conveying mechanism includes a rotating shaft 8 that is arranged in the supporting frame 5 and is rotatably arranged at the corresponding loading port 27 and unloading port 28. The rotating shaft 8 is connected to the driving mechanism. Rotating rollers 9 are fixedly installed on the two rotating shafts 8. A synchronous belt 10 is commonly sleeved on the two rotating rollers 9. Deep groove ball bearings 19 are connected to both ends of the rotating shaft 8. The deep groove ball bearings 19 are fixed at the corresponding positions of the supporting frame 5 through bearing seats 11.
[0114] The control unit controls the driving mechanism to drive the rotating shaft 8 to rotate, so that the synchronous belt 10 rotates synchronously, the laser 14 projects laser onto the fleece fabric surface on the synchronous belt 10, and then the image acquisition unit uses continuous frame shooting of the light stripe image on the fleece fabric surface on the synchronous belt 10.
[0115] The driving unit includes a stepper motor 18 fixedly connected to the supporting frame 5 , an output end of the stepper motor 18 is connected to any one of the rotating shafts 8 via a coupling 24 , and the stepper motor 18 is connected to the control unit via a wire.
[0116] The driving unit includes a stepper motor 18 fixedly connected to the support frame 5. The output end of the stepper motor 18 is connected to the rotating shaft 8 through a coupling 24. The rotating shaft 8 is connected to the bearing seat 11 through a deep groove ball bearing 19. The stepper motor 18 can drive the rotating shaft 8 to rotate, and the rotating roller 9 and the synchronous belt 10 rotate synchronously.
[0117] The stepper motor 18 is connected to the support frame 5 via a motor bracket 20, which can increase the overall stability. The connection is made by screws.
[0118] like Figure 3 As shown, a laser bracket support rod 4 is fixedly connected to the inner side of the feeding port 27 of the support frame 5 above the conveying mechanism, the laser bracket support rod 4 is connected to the laser bracket 15, and the laser 14 is fixed on the laser bracket 15. The image acquisition unit includes a camera bracket 2 fixedly connected to the inner side of the top of the support frame 5, the camera bracket 2 is located directly above the synchronous belt 10, the camera bracket 2 is fixedly connected to the camera clamp 3, the camera clamp 3 is fixedly connected to the camera 13, and the optical axis of the camera 13 is perpendicular to the surface of the fleece fabric.
[0119] The light supply unit comprises a light panel fixed on the top of the support frame 5, and the light panel is a light panel with adjustable light intensity to adjust the light brightness.
[0120] like Figure 4-5 As shown, the support frame 5 is a three-layer support frame of a rectangular parallelepiped structure, and the top, bottom, left and right sides of the support frame 5 are respectively provided with an upper end cover 21, a bottom plate 12, a left baffle 22, and a right baffle 23. The left baffle 22 and the right baffle 23 are respectively provided with a loading port 27 and a unloading port 28 at positions corresponding to the middle layer of the support frame 5. The bearing seat 11 is fixed to the middle layer of the support frame 5. After the fleece-pulling process, the fabric is cut to a certain length by a slitting device, and is directly loaded from the slitting device through the loading port 27. With the synchronous transmission of the conveying mechanism, the light stripe image is continuously captured, and the conveying mechanism gradually transports the fleece fabric to the unloading port for unloading. This reciprocating process is carried out to achieve continuous loading and unloading.
[0121] The control unit includes a PLC controller 1 arranged on a base plate 12 . The PLC controller 1 is sequentially connected to a motor driver 7 and a frequency converter 6 through cables. The frequency converter 6 is connected to a stepper motor 18 through cables.
[0122] The PLC controller 1 is connected to the motor driver 7 through a cable, the motor driver 7 is connected to the motor 18 through a cable, and the frequency converter 6 is connected to the stepper motor 18 through a cable. The PLC controller 1 adopts Siemens S7-1200PLC, the motor driver 7 is used to control the unidirectional operation of the motor 18, and the frequency converter 6 is used to realize the variable speed operation of the stepper motor 18. The PLC controller 1 transmits the signal to the motor driver 7 through a high-speed pulse instruction, and then the motor driver 7 controls the motor 18 to operate at different speeds. The PLC controller 1 transmits the high-speed pulse signal to the motor driver 7, and the motor driver 7 drives the stepper motor 18 to start, and the conveying mechanism starts to move to perform the loading task. Under the operation of the conveying mechanism, continuous frame shooting of the light stripes on the surface of the fleece fabric is realized, and the conveying mechanism conveys the fleece fabric to the unloading port and unloads it through the unloading port.
[0123] The support frame 5 is also provided with a gusset plate 26 at each corner.
[0124] The working principle of the linear acquisition device is as follows: when loading, the PLC controller 1 transmits a high-speed pulse signal to the motor driver 7, and the motor driver 7 drives the motor 18 to rotate. The frequency converter 6 is used to adjust the rotation speed of the motor during loading, so that the motor rotates slowly and passes through the loading port 27. After the loading work is completed, the frequency converter 6 adjusts the power of the motor to make the motor run at a normal speed. The motor rotates the rotating shaft 8 in the transmission mechanism through the coupling 24. The rotating shaft 8 is fixedly connected to the rotating roller 9 and the synchronous belt 10 to rotate at the same speed. The laser 14 projects the laser onto the surface of the fleece fabric on the synchronous belt 10. The optical axis of the camera 13 is perpendicular to the surface of the fleece fabric placed on the synchronous belt 10. The camera 13 takes continuous frame shots of the light stripe image when the synchronous belt 10 is running, forming a dynamic shooting process. In order to ensure the imaging quality, continuous loading and unloading is formed through the rotation of the transmission mechanism to achieve continuous imaging of the fleece fabric.
[0125] The working time of the stepper motor 18 is controlled by the PLC controller 1, and the speed of the motor 18 is controlled by the frequency converter 6. The laser 14 projects laser onto the surface of the fleece fabric. Based on the laser triangulation method, the angle between the laser line and the surface of the fleece fabric is 30°. The optical axis of the camera 13 is perpendicular to the surface of the fleece fabric. Continuous frame shooting of the laser stripe image is achieved under the action of the transmission mechanism. The overall structure is simple and easy to manufacture and install.
[0126] Example 4
[0127] Based on Example 3, Figure 6 The fleece fabric shown in the figure is subjected to an image acquisition device to acquire a laser stripe image, such as Figure 7 As shown, then the center line of the laser stripe in the extracted laser stripe image is extracted, and the extraction result is as follows Figure 8 As shown, Figure 8 The pixel coordinates of the center line of the single-frame light stripe image extracted from the single-frame light stripe image shown in the figure are converted into three-dimensional point cloud data. For the sample fabric, 200 frames of light stripe images are collected, and the center line of each frame of the light stripe image is extracted and converted into a three-dimensional point cloud image. The three-dimensional point cloud data of each frame is aligned by the iterative nearest point method. Each frame of data is accurately aligned by minimizing the point-to-point distance between the two frames, and a complete and coherent point cloud data is formed by integrating frame by frame, which is the surface point cloud data of the fleece fabric, as shown in FIG. Fig. 9 shown.
Claims
1. A method for detecting the surface morphology of fleece fabrics, characterized in that: The specific steps are as follows: Step 1, continuously shooting Q frames of the fleece fabric surface to obtain Q frames of laser stripe images on the fleece fabric surface, each frame of the laser stripe image having one laser stripe; Step 2, extracting the center line of each frame of laser stripe image; Step 3, three-dimensionally reconstructing the fleece fabric surface through the center line of each frame of the laser stripe image to obtain a three-dimensional point cloud image of the fleece fabric surface; Step 4: establishing a fluctuation parameter model of the surface quality of the fleece fabric according to the three-dimensional point cloud image of the fleece fabric surface for quantitative characterization, and evaluating the surface morphology of the fleece fabric according to the quantitative characterization of the fluctuation parameter model.
2. The method for detecting the surface morphology of fleece fabric according to claim 1, characterized in that: The step 2 is specifically as follows: Step 2.1, obtain the Hessian matrix corresponding to each frame of laser stripe image, specifically: Where n is the laser stripe image of any frame, (x, y) is any point on the laser stripe of the laser stripe image, G(x, y) is a two-dimensional Gaussian function* represents the convolution operation, Gxx is the second-order derivative of the Gaussian function along the x direction, Gyy is the second-order derivative of the Gaussian function along the y direction, Gxy is the second-order derivative of the Gaussian function along the x and y directions, and Gyx is the second-order derivative of the Gaussian function along the y and x directions; Step 2.2, obtain the eigenvector corresponding to the maximum eigenvalue of the Hessian matrix. This eigenvector is the normal direction of the laser stripe. (n x ,b y ) indicates that, assuming the standard point (x0, y0), the sub-pixel coordinates of the center of the laser stripe (p x ,p y )=(x0+tn x ,y0+tn y ), then the standard point grayscale is: z(x0+tn x ,y0+tn y )=z(x0,y0)+N(r x ,r y ) T +NH(x,y)N T / 2(2) Among them, t is the unknown number, r x is the first-order partial derivative of the laser stripe image along the x direction, r y is the first-order partial derivative of the laser stripe image along the y direction; z(x,y) is the pixel value of point (x,y); because: Then we have: Among them, r xx is the second-order partial derivative of the laser stripe image along the x direction, r yy is the second-order partial derivative of the laser stripe image along the y direction; If (tn x ,tn y )∈[-0.5,0.5]×[-0.5,0.5], then the standard point (x0, y0) is the center point of the laser stripe; Step 2.3, converge all standard points in the corresponding laser stripe image that meet the conditions in step 2.2 and can be used as center points into a line to obtain the center line of the laser stripe image.
3. The method for detecting the surface morphology of fleece fabric according to claim 2, characterized in that: The step 3 is specifically as follows: converting the pixels of the center line of the laser stripe in each frame of the laser stripe image obtained through step 2 into three-dimensional point cloud data, aligning the three-dimensional point cloud data of the center line of each frame of the laser stripe by using the iterative nearest point method, and then minimizing the point-to-point distance between the two frames to accurately align each frame of data, and forming a complete and coherent point cloud data by integrating frame by frame, which is the three-dimensional point cloud map of the surface of the fleece fabric.
4. The method for detecting the surface morphology of fleece fabric according to claim 3, characterized in that: In step 4, the fluctuation parameter model of the fleece fabric surface quality is established based on the three-dimensional point cloud image of the fleece fabric surface for quantitative characterization, specifically: Step 4.1, use the three-dimensional point cloud of the fleece fabric surface to fit the least squares reference surface ξ(x i ,y j ): ξ(x i ,y j )=ax i +by j +d(4) Wherein, i = 1, 2, 3, ..., M, j = 1, 2, 3, ..., N, M and N represent the number of discrete sampling points along the x-axis and y-axis in the 3D point cloud image, respectively, and a, b, d are coefficients; Step 4.2, calculate the distance from each point on the fleece fabric surface contour to the least squares reference plane to obtain the residual surface η(x i ,y j ): η(x i ,and j )=f(x i ,and j )-ξ(x i ,and j )(5) Among them, f(x i ,y j ) represents the horizontal and vertical coordinates of the three-dimensional point cloud of the fleece fabric surface, respectively x i ,y j point; Step 4.3, according to the residual surface η(x i ,y j ) Establish the fluctuation parameter S for evaluating the smoothness of the local area of the fleece fabric surface q : Among them, M and N represent the number of discrete sampling points along the x-axis and y-axis in the 3D point cloud image, respectively.
5. The method for detecting the surface morphology of fleece fabric according to claim 4, characterized in that: The quantitative characterization and evaluation of the fleece fabric surface morphology according to the fluctuation parameter model is specifically as follows: Fluctuation parameter S q It is the root mean square deviation of the fleece fabric surface profile, S q The smaller the value, the smaller the surface contour of the fleece fabric is, and the flatter the surface is; conversely, the surface is more uneven.
6. The method for detecting the surface morphology of fleece fabric according to claim 1, characterized in that: The continuous Q-frame shooting of the fleece fabric surface adopts a linear acquisition device, comprising a support frame (5), wherein corresponding two side surfaces of the support frame (5) are respectively provided with a loading port (27) and a unloading port (28), wherein a conveying mechanism is provided in the support frame (5) between the loading port (27) and the unloading port (28), wherein the conveying mechanism is connected to a driving mechanism, wherein a laser (14) is provided inside the side of the support frame (5) where the loading port (27) is provided and located above the conveying mechanism, wherein a light supply unit is also provided on the support frame (5) and located above the conveying mechanism, wherein an image acquisition unit is also provided on the support frame (5) and located directly above the conveying mechanism, wherein the fleece fabric is horizontally transported from the loading port (27) to the unloading port (28) via the conveying mechanism in the support frame (5), and wherein the driving mechanism is connected to a control unit via a wire.
7. The method for detecting the surface morphology of fleece fabric according to claim 6, characterized in that: The laser line emitted by the laser (14) forms an angle of 30° with the fleece fabric surface and the laser (14) projects the laser onto the fleece fabric surface to form a laser stripe image, and the optical axis of the image acquisition unit is perpendicular to the fleece fabric surface.
8. The method for detecting the surface morphology of fleece fabric according to claim 7, characterized in that: The conveying mechanism comprises rotating shafts (8) arranged in the supporting frame (5) at positions corresponding to the loading port (27) and the unloading port (28) and rotatably arranged respectively, the rotating shafts (8) being connected to the driving mechanism, rotating rollers (9) being fixedly mounted on the two rotating shafts (8), and a synchronous belt (10) being commonly sleeved on the two rotating rollers (9); Deep groove ball bearings (19) are connected to both ends of the rotating shaft (8), and the deep groove ball bearings (19) are fixed at corresponding positions of the supporting frame (5) through bearing seats (11); The driving unit comprises a stepper motor (18) fixedly connected to a support frame (5), an output end of the stepper motor (18) being connected to any one of the rotating shafts (8) via a coupling (9), and the stepper motor (18) being connected to the control unit via a wire.
9. The method for detecting the surface morphology of fleece fabric according to claim 8, characterized in that: A laser support support rod (4) is fixedly connected to the laser support rod (15) on one side of the support frame (5) where the loading port (27) is arranged, and is located above the conveying mechanism. The laser support rod (4) is connected to the laser support rod (15), and the laser (14) is fixed to the laser support rod (15). The light supply unit comprises a light panel fixed on the top of the support frame (5); The image acquisition unit comprises a camera bracket (2) fixedly connected to the inner side of the top of the support frame (5), the camera bracket (2) is located directly above the synchronous belt (10), a camera clamping plate (3) is fixedly connected to the camera bracket (2), a camera (13) is fixedly connected to the camera clamping plate (3), and an optical axis of the camera (13) is perpendicular to the surface of the fleece fabric.
10. The method for detecting the surface morphology of fleece fabric according to claim 9, characterized in that: The support frame (5) is a three-layer support frame of a rectangular parallelepiped structure. The top, bottom, left and right sides of the support frame (5) are respectively provided with an upper end cover (21), a bottom plate (12), a left baffle (22) and a right baffle (23). The left baffle (22) and the right baffle (23) are respectively provided with a loading port (27) and a unloading port (28) at positions corresponding to the middle layer of the support frame (5). The bearing seat (11) is fixed to the middle layer of the support frame (5). The control unit comprises a PLC controller (1) arranged on a base plate (12); the PLC controller (1) is sequentially connected to a motor driver (7) and a frequency converter (6) via cables; the frequency converter (6) is connected to the stepping motor (18) via cables.
