A straightness detection method

By using an imaging camera to detect the outer edge straightness of the material during its movement, the problems of low straightness detection accuracy and poor adaptability in the existing technology are solved, online straightness detection and real-time display are realized, and production costs and residuals are reduced. The defective product rate improves detection efficiency and accuracy.

CN118293830BActive Publication Date: 2024-09-10SUZHOU MOXIANG VISION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410712827.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-10
Estimated Expiration
2044-06-04

AI Technical Summary

Technical Problem

Existing straightness detection methods have problems such as low accuracy, poor adaptability, and poor functionality. Manual detection efficiency is low and the cost is high. Laser detection cannot mark out-of-limit areas or points, and it is inconvenient to adjust equipment.

Method used

An imaging camera is used to detect the outer edge straightness of the material while it is moving at a constant speed in the preset direction. By acquiring the image, establishing a coordinate system, determining the edge coordinates, calculating the linear profile and straightness curve, the material moving speed is monitored in real time and the straightness is drawn. chart and displayed on the monitor.

Benefits of technology

It realizes online straightness detection, displays material straightness in real time, facilitates equipment adjustment, reduces production costs and defective product rate, improves detection accuracy and efficiency, and avoids destructive testing of materials.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118293830B
    Figure CN118293830B
Patent Text Reader

Abstract

The present invention relates to the technical field of straightness detection, and in particular to a straightness detection method, comprising S1, acquiring an image and establishing a coordinate system, wherein an imaging camera acquires a first image of a material corresponding to the first image within a field of view, and establishes a two-dimensional coordinate system based on the first image, and determines the coordinates of two edge points corresponding to the first direction in the first image; S2, based on the coordinates of the two points acquired in step S1, determining the imaging frequency of the imaging camera; S3, the imaging camera continues to capture images according to the imaging frequency, and then repeats the above step S2; S4, based on the obtained coordinate values, determining the straight line profile along the x-axis direction and the y-axis direction, and calculating the straightness of the outer edge of the material, and feeding back through a straightness curve; the present invention can display the straightness of the material in real time, facilitate online adjustment of subsequent products, reduce the occurrence of defective products, and reduce losses and production costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of straightness detection, and in particular to a straightness detection method. Background Art

[0002] Straightness is one of the important parameters used to measure the quality of workpieces. Currently, there are two main methods: manual detection and laser detection. However, there are the following defects in the detection process:

[0003] First, manual inspection: generally including fishing line inspection, plug gauge inspection, etc., which has low work efficiency and high cost. Some inspection methods even require destructive testing of the product. In addition, manual operation will cause unpredictable impact on the inspection results due to the personnel status, and has poor applicability.

[0004] Second, laser detection: The function is limited. It can only detect whether the material meets the straightness requirements of the customer. It cannot mark and display the out-of-limit areas or points, which is inconvenient for equipment adjustment.

[0005] Therefore, the present invention develops a straightness detection method to solve the problems existing in the prior art. Summary of the invention

[0006] The purpose of the present invention is to provide a straightness detection method to solve the problems of low accuracy, poor adaptability and poor functionality of traditional detection methods in the prior art.

[0007] The technical solution of the present invention is: a straightness detection method, which is used to detect the straightness of the outer edge of a material during the uniform motion of the material along a preset first direction, wherein an imaging camera is arranged at a fixed position above the material, and the detection method is specifically as follows:

[0008] S1. Acquire an image and establish a coordinate system. The imaging camera collects the first image of the material within the field of view, and establishes a two-dimensional coordinate system based on the first image; wherein the axis parallel to the first direction is the x-axis, and the axis perpendicular to the first direction is the y-axis; and determine the coordinates of the two edge points corresponding to the first direction in the first image;

[0009] S2. Determine the imaging frequency of the imaging camera based on the coordinates of the two points acquired in step S1;

[0010] S3, the imaging camera continues to capture images at the imaging frequency, and then repeats the above step S2; thereby obtaining a plurality of reference images, and determining the coordinates of two edge points corresponding to each reference image along the first direction in the two-dimensional coordinate system;

[0011] S4. Based on the obtained coordinate values, determine the straight line profile along the x-axis and y-axis directions, calculate the straightness of the outer edge of the material, and feedback through the straightness curve.

[0012] Preferably, the coordinates of the two points in S1 are set to A (x1, y1) and B (x2, y2). Since the material moving speed V and the distance S1 between points A and B in the x-axis direction are known, the next imaging interval of the imaging camera is determined according to the formula t1=S1 / V, where S1=│x2-x1│.

[0013] When the camera continues to shoot during the material movement, the interval between the current reference image and the last image is t n-1 , and used to determine the coordinates of two points A (x n ,y n ), B(x n+1 ,y n+1 ), where n is the number of image acquisitions; the coordinates of point A in the currently acquired image coordinates are consistent with the coordinates of point B in the last acquired image coordinates; at the same time, a data table is established in the database, and the coordinate information is synchronized to the data table.

[0014] Preferably, the image taking interval time t corresponding to each round of shooting is n-1 =S n-1 / V=│x n -x n-1 │ / V.

[0015] Preferably, in S4, the determination of the straight line profile along the x-axis direction and the y-axis direction, and the straightness curve are calculated using the following method:

[0016] Get Line Profile X n and straight line profile Y n :According to formula X n =V·t n-1 +X n-1 , get the current total moving distance of the material along the x-axis, that is, the straight line profile X n According to formula Y n =Y n-1 +y n+1 -y n , get the deviation value of the two points perpendicular to the x-axis, that is, the straight line profile Y n , and the straight line profile X n and straight line profile Y n Synchronize to the data table;

[0017] Draw the straightness curve: Substitute the X n , X n+1 , Y n , Y n+1 Substitute into the formula Y=K n ·X+B n The slope K is calculated n and intercept B n, and then K n and B n Substitute into the algorithm formula In the above example, we calculate Z n , and synchronized to the data table, and finally according to X n and Z n Draw a straightness curve, obtain a straightness chart, and display it on a monitor.

[0018] Preferably, the straight line profile X is calculated n and straight line profile Y n When n≥2, and X1=0, Y1=y2-y1.

[0019] Preferably, the straightness curve has an upper limit and a lower limit for its reasonable fluctuation, and the areas and points where the straightness curve fluctuates above and below the upper limit and the lower limit are displayed in a graph.

[0020] Preferably, the moving speed of the material moving uniformly along the preset first direction is obtained by real-time monitoring by an encoder.

[0021] Preferably, the number of the imaging cameras is at least one, and when the number of the imaging cameras is greater than two, the central axis of the imaging camera forms an angle on a projection plane perpendicular to the direction of material movement.

[0022] Compared with the prior art, the advantages of the present invention are:

[0023] (1) The present invention is used to realize online straightness detection of materials during the production process, and can display the straightness of the materials in real time, so as to facilitate online adjustment of subsequent products, reduce the occurrence of defective products, and reduce losses and production costs.

[0024] (2) The measurement method adopted by the present invention does not require cutting of the material. Compared with the traditional plug gauge detection, there is no need for trial production. The actual straightness of the product generated by the equipment can be displayed through data, thereby reducing the initial cost of the equipment.

[0025] (3) Compared with manual inspection, the imaging camera used in this method can be directly set up on the production line for inspection without the need for a separate workstation. It has advantages in terms of manpower and on-site equipment, and is more accurate and efficient than manual inspection.

[0026] (4) Compared with laser detection, the detection method involved in the present invention can not only show whether the product meets the specified straightness, but also display the areas and points where the straightness exceeds the specified range in the chart, so as to facilitate users to find the reasons why the straightness exceeds the range and help users to adjust the production equipment in time. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The present invention will be further described below in conjunction with the accompanying drawings and embodiments:

[0028] Figure 1 A straightness curve chart of the 2-10m segment when the straightness detection method of the present invention is applied to actual coil measurement;

[0029] Figure 2 The straightness curve chart of the 50-58m segment in which the straightness detection method described in the present invention is applied to actual material roll measurement. DETAILED DESCRIPTION

[0030] The present invention is further described in detail below in conjunction with specific embodiments:

[0031] A straightness detection method is used to detect the straightness of the outer edge of a material while it is moving at a uniform speed along a set first direction. An imaging camera is arranged at a fixed position above the material. The number of the imaging cameras is greater than or equal to one. A single camera or multiple cameras can be used to acquire images. When multiple imaging cameras are used, the central axis of the imaging camera can be set to have an angle on a projection plane perpendicular to the direction of material movement. For materials with thickness, it can be used to collect images of the outer contour of the upper end surface and the outer contour of the lower end surface, and used for detection and analysis, so that the straightness feedback is more realistic.

[0032] The detection method is as follows:

[0033] (1) Acquire an image and establish a coordinate system. The imaging camera captures the first image of the material within the field of view, and establishes a two-dimensional coordinate system based on the first image; wherein the x-axis is parallel to the first direction, and the y-axis is perpendicular to the first direction; and determine the coordinates of two edge points corresponding to the first direction in the first image; the coordinates of the two points are A (x1, y1) and B (x2, y2) respectively;

[0034] (2) Determine the image acquisition frequency: Since the material movement speed V and the distance S1 between points A and B in the x-axis direction are known, the next image acquisition interval of the image acquisition camera is determined according to the formula t1=S1 / V, where S1=│x2-x1│. The material movement speed is obtained by real-time monitoring of the encoder;

[0035] (3) Continuously capture images and establish a data table: The camera continues to capture images after an interval of t1, repeating steps (1) and (2) to obtain several reference images; the interval between the acquisition of the current reference image and the last image acquisition is t n-1 , and used to determine the coordinates of two points A (x n ,y n ), B(x n+1 ,y n+1 ), where t n-1 =Sn-1 / V=│x n -x n-1 │ / V, n is the number of image acquisitions; the coordinates of point A in the currently acquired image coordinates are consistent with the coordinates of point B in the last acquired image coordinates; at the same time, a data table is established in the database, and the coordinate information is synchronized to the data table;

[0036] (4) Obtain the straight line profile X n and straight line profile Y n :According to formula X n =V·t n-1 +X n-1 (n≥2), get the current total moving distance of the material along the x-axis, that is, the straight line profile X n , where X1=0; according to the formula Y n =Y n-1 +y n+1 -y n (n≥2), get the deviation value of the two points perpendicular to the x-axis, that is, the straight line profile Y n , where Y1=y2-y1, and the straight line contour X n and straight line profile Y n Synchronize to the data table;

[0037] Table 1. Relevant data in the data sheet;

[0038]

[0039] (5) Draw a straightness curve: Substitute the X n , X n+1 , Y n , Y n+1 Substitute into the formula Y=K n ·X+B n The slope K is calculated n and intercept B n , and then through the formula Calculate Z n The value of a=K n , b=-1, c=B n , which will be K n and B n Substitute into the algorithm formula In the above example, we calculate Z n , and synchronized to the data table, and finally according to X n and Z n A straightness curve is drawn to obtain a straightness chart, which is displayed on a display; since the straightness curve has an upper limit and a lower limit for its reasonable fluctuation, the area and point where the straightness curve fluctuates above and below the upper limit and the lower limit are displayed on a chart.

[0040] This embodiment takes the actual measurement of the material roll as an example, performs an analysis every 8m, and obtains a straightness chart. The X obtained by measuring the 8m material roll is n and Z n There are about 150 sets of data.

[0041] First, analyze the data of the 2-10m segment and draw the Figure 1 The straightness diagram shown, Figure 1 The curve inside the rectangular box is the straightness curve of the 1m material in the 2-10m segment. n and Z n The data is as follows:

[0042] Table 2. Figure 1 X corresponding to the straightness curve n and Z n data;

[0043]

[0044] Second, the data from the 50-58m segment was analyzed and plotted. Figure 2 The straightness diagram shown, Figure 2 The curve inside the middle rectangle is the straightness curve of the 8th material in the 50-58m segment. n and Z n The data is as follows:

[0045] Table 3. Figure 2 X corresponding to the straightness curve n and Z n data;

[0046]

[0047] The upper and lower limits can be set for straightness detection. When the straightness curve fluctuates up and down, the areas and points that exceed the upper and lower limits can be Figure 1 and Figure 2 The chart shown is displayed to facilitate users to find the reason why the straightness is out of range and help users to adjust the production equipment in time.

[0048] In this application, it is used to realize the online straightness detection of materials during the production process, and can display the straightness of materials in real time, so as to facilitate online adjustment of subsequent products, reduce the appearance of defective products, and reduce losses and production costs. Compared with traditional methods, it can reduce the initial cost of equipment, have higher detection accuracy and efficiency, and can find the defect location and make adjustments in time.

[0049] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with this technology to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the scope of protection of the present invention. For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is limited by the attached claims rather than the above description, and it is intended to include all changes within the meaning and scope of the equivalent elements of the claims in the present invention.

Claims

1. A straightness detection method, characterized in that: It is used to detect the straightness of the outer edge of the material during the uniform motion of the material along the preset first direction. An imaging camera is arranged at a fixed position above the material. The detection method is as follows: S1. Acquire an image and establish a coordinate system. The imaging camera collects the first image of the material within the field of view, and establishes a two-dimensional coordinate system based on the first image; wherein the axis parallel to the first direction is the x-axis, and the axis perpendicular to the first direction is the y-axis; and determine the coordinates of the two edge points corresponding to the first direction in the first image; S2. Determine the imaging frequency of the imaging camera based on the coordinates of the two points acquired in step S1; S3, the imaging camera continues to capture images at the imaging frequency, and then repeats the above step S2; thereby obtaining a plurality of reference images, and determining the coordinates of two edge points corresponding to each reference image along the first direction in the two-dimensional coordinate system; S4. Based on the obtained coordinate values, determine the straight line profile along the x-axis direction and the y-axis direction, calculate the straightness of the outer edge of the material, and feedback through the straightness curve; The coordinates of the two points in S1 are set to A (x1, y1) and B (x2, y2). Since the material moving speed V and the distance S1 between points A and B in the x-axis direction are known, the next imaging interval of the imaging camera is determined according to the formula t1=S1 / V, where S1=│x2-x1│. When the camera continues to shoot during the material movement, the interval between the current reference image and the last image is t n-1 , the imaging interval time t corresponding to each round of shooting n-1 =S n-1 / V=│x n -x n-1 │ / V, and used to determine the coordinates of two points A (x n ,y n ), B(x n+1 ,y n+1 ), where n is the number of image acquisitions; the coordinates of point A in the currently acquired image coordinates are consistent with the coordinates of point B in the last acquired image coordinates; at the same time, a data table is established in the database, and the coordinate information is synchronized to the data table; In S4, the straight line profiles along the x-axis and y-axis directions, and the straightness curve are determined by the following calculation method: Get Line Profile X n and straight line profile Y n :According to formula X n =V·t n-1 +X n-1 , get the current total moving distance of the material along the x-axis, that is, the straight line profile X n According to formula Y n =Y n-1 +y n+1 -y n , get the deviation value of the two points perpendicular to the x-axis, that is, the straight line profile Y n , and the straight line profile X n and straight line profile Y n Synchronize to the data table; Draw the straightness curve: Substitute the X n , X n+1 , Y n , Y n+1 Substitute into the formula Y=K n ·X+B n The slope K is calculated n and intercept B n , and then K n and B n Substitute into the algorithm formula In the above example, we calculate Z n , and synchronized to the data table, and finally according to X n and Z n Draw a straightness curve, obtain a straightness chart, and display it on a monitor.

2. A straightness detection method according to claim 1, characterized in that: Calculate the straight line profile X n and straight line profile Y n When n≥2, and X1=0, Y1=y2-y1.

3. A straightness detection method according to claim 1, characterized in that: The straightness curve has an upper limit and a lower limit for reasonable fluctuation. When the straightness curve fluctuates up and down beyond the upper limit and the lower limit, the area and point are displayed through a graph.

4. A straightness detection method according to claim 1, characterized in that: The moving speed of the material moving uniformly along the preset first direction is obtained by real-time monitoring by an encoder.

5. A straightness detection method according to claim 1, characterized in that: The number of the imaging cameras is at least one, and when the number of the imaging cameras is greater than two, the central axis of the imaging camera has an angle on a projection plane perpendicular to the moving direction of the material.