An intelligent control system and method for seamless steel pipe grinding
The intelligent control system is used to identify and grind surface cracks on seamless steel pipes, which solves the problem of being unable to effectively eliminate surface cracks and intelligently control grinding in the existing technology, and achieves precise grinding of the surface of seamless steel pipes.
Patent Information
- Application Number
- CN202410781534.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-06-18
AI Technical Summary
At this stage, surface cracks cannot be effectively eliminated during the grinding of seamless steel pipes, and the degree of grinding cannot be intelligently controlled, leading to the problem of insufficient grinding.
An intelligent control system is designed, including product classification module, sorting setting module, data collection module, database, warning module, initial inspection analysis module, steel pipe monitoring module and grinding control module. By dividing the seamless steel pipe into equidistant Sampling is segmented, roughness detection points are set, surface images are collected for initial inspection and analysis, grinding signals are generated and grinding parameters are adjusted to realize crack identification and different degrees of grinding on the surface of seamless steel pipes.
Effectively identify cracks on the surface of seamless steel pipes, and carry out grinding operations to varying degrees according to surface roughness to ensure sufficient grinding and improve the accuracy and efficiency of grinding.
Smart Images

Figure CN118357797B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of seamless steel pipes and relates to a grinding control technology, in particular to an intelligent control system for grinding seamless steel pipes. Background Art
[0002] A steel pipe refers to a steel product with a hollow cross-section and a length much greater than its diameter or circumference. It is divided into steel pipes for conveying pipelines, engineering structures, thermal equipment, petrochemical industry, machinery manufacturing, geological drilling, and high-pressure equipment according to its use. A seamless steel pipe is a steel pipe made by perforating a whole round steel bar with no welds on the surface. It is widely used in fluid transportation, transporting water, oil, natural gas, coal gas, etc., and plays an important role in engineering and large-scale equipment. Therefore, it is necessary to grind the seamless steel pipe to ensure that the surface of the pipe is flat and smooth.
[0003] However, at present, when grinding seamless steel pipes, it is impossible to effectively exclude seamless steel pipes with cracks on the surface, and it is also impossible to intelligently control the grinding degree of seamless steel pipes according to the roughness of the steel pipe surface, resulting in insufficient grinding, etc.
[0004] To this end, we propose an intelligent control system and method for seamless steel pipe grinding. Summary of the invention
[0005] The purpose of the present invention is to provide an intelligent control system and method for seamless steel pipe grinding to solve the problems raised in the above background technology.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] An intelligent control system for seamless steel pipe grinding, comprising a product classification module, a sorting setting module, a data acquisition module, a database, an alarm module, an initial inspection and analysis module, a steel pipe monitoring module, a grinding control module and a drive terminal, wherein the database is used to store steel pipe fault data of different types of seamless steel pipes; the product classification module is used to divide the seamless steel pipe into a plurality of sampling segments at equal intervals; the sorting setting module is used to set the analysis order of the sampling segments in the seamless steel pipe and the number of roughness detection points on the sampling segments, and the obtained analysis order of the sampling segments corresponding to the seamless steel pipe and the number of roughness detection points on the sampling segments corresponding to the seamless steel pipe are sent to the data acquisition module;
[0008] The data acquisition module is used to collect the outer surface image of the sampling segment on the seamless steel pipe, and send the outer surface image to the initial inspection analysis module; the initial inspection analysis module is used to perform an initial inspection on the sampling segment of the seamless steel pipe, and the initial inspection generates a normal signal or an abnormal signal of the sampling segment of the seamless steel pipe. If a normal signal of the initial inspection of the segment is generated, it is sent to the data acquisition module, and if a segment abnormal signal is generated, it is sent to the alarm module;
[0009] The data acquisition module is also used to collect the detection point status and real-time height value of the roughness detection point in the sampling segment corresponding to the seamless steel pipe when receiving the normal signal of the initial inspection, and send the detection point status and real-time height value of the roughness detection point in the sampling segment corresponding to the seamless steel pipe to the steel pipe detection module;
[0010] The steel pipe detection module is used to analyze the surface roughness of the sampling segment corresponding to the seamless steel pipe, and the analysis generates a segment normal signal, a primary grinding signal or a secondary grinding signal and sends it to the grinding control module. The steel pipe monitoring module also sends the segment abnormal signal to the alarm module, and the alarm module is used to receive and display the segment abnormal signal corresponding to the sampling segment in the seamless steel pipe;
[0011] The grinding control module is used to control the grinding parameters of the corresponding sampling segments of the seamless steel pipe according to grinding signals of different levels, and send the grinding parameters to the drive terminal, and the drive terminal is used to grind the sampling segments of the seamless steel pipe according to the grinding parameters.
[0012] Preferably, the steel pipe failure data are the product failure rates of different types of seamless steel pipes in the previous quarter, and the number of times the outer surface of the seamless steel pipe has been ground.
[0013] Preferably, the setting process of the sorting setting module is as follows:
[0014] Obtain the number of times the outer surface of the seamless steel pipe has been ground;
[0015] The number of grinding times of the outer surface of the seamless steel pipe is counted to obtain the number of segment grinding times of the outer surface of the seamless steel pipe corresponding to the sampling segment, and the number of segment grinding times is arranged in descending order to obtain the analysis order of the seamless steel pipe corresponding to the sampling segment;
[0016] Then, the product failure rate of the seamless steel pipe is obtained, and the product failure rate is compared with a product failure rate threshold, wherein the product failure rate threshold includes a first product failure rate threshold and a second product failure rate threshold, and the first product failure rate threshold is less than the second product failure rate threshold;
[0017] If the product failure rate is less than the first product failure rate threshold, X1 roughness detection points are set up on the corresponding sampling segment of the seamless steel pipe;
[0018] If the product failure rate is greater than or equal to the first product failure rate threshold and less than the second product failure rate threshold, X2 roughness detection points are set up on the corresponding sampling segment of the seamless steel pipe;
[0019] If the product failure rate is greater than or equal to the second product failure rate threshold, X3 roughness detection points are set up on the corresponding sampling segment of the seamless steel pipe; among them, X1, X2 and X3 are all positive integers with fixed values, and 0<X1<X2<X3.
[0020] Preferably, the process of obtaining the outer surface image corresponding to the sampling segment is:
[0021] The inner and outer surfaces of the corresponding sampling segments of the seamless steel pipe can be regarded as equivalent concentric circles;
[0022] Then, the corresponding sampling segments of the seamless steel pipe are divided into equal angles according to the angle value, and 360° / angle value steel pipe arc segments are obtained;
[0023] The normal direction of each steel pipe arc segment is selected as the acquisition viewing angle, and the outer surface image of the corresponding steel pipe arc is acquired;
[0024] The outer surface images of all the steel pipe curvatures together constitute the outer surface image of the sampling segment.
[0025] Preferably, the initial inspection process of the initial inspection analysis module is as follows:
[0026] Obtain the outer surface images of all the steel pipe curvatures in the sampling segment corresponding to the seamless steel pipe, and splice the outer surface images of all the steel pipe curvatures to obtain the outer surface combination image corresponding to the sampling segment of the seamless steel pipe;
[0027] Taking the geometric center of the outer surface combination map as the origin, a plane rectangular coordinate system is established on the outer surface combination map, and each pixel point is recorded as (Xn, Yn); wherein n is the number of the pixel point, Xn is the abscissa of the pixel point (Xn, Yn), and Yn is the ordinate of the pixel point (Xn, Yn);
[0028] The outer surface composite image is denoised, and the pixel weight value XQZn of each pixel in the outer surface composite image is calculated by the formula. The specific formula is:
[0029] , where e is a natural constant, σ is a value used to describe the Gaussian filtering effect, the larger the value of σ is, the more blurred the image after Gaussian filtering is, and the preferred value range of σ in the present invention is between 0.5 and 1;
[0030] The pixel weight value of each pixel point is multiplied by the pixel value corresponding to the pixel point to obtain the Gaussian pixel value corresponding to each pixel point, and the outer surface composite image is converted into the corresponding Gaussian filter image based on the Gaussian pixel value. At the same time, the pixel points in the Gaussian filter image are defined as edge pixel points and non-edge pixel points. The edge pixel points are the pixel points located at the boundary of the Gaussian filter image, and the non-edge pixel points are the pixel points other than the edge pixel points in the Gaussian filter image.
[0031] Use the horizontal kernel Sx and the vertical kernel Sy of the discrete difference operator to calculate the grayscale approximation of the non-edge pixel in the horizontal direction and the grayscale approximation in the vertical direction respectively, select the m×m window matrix A in the Gaussian filter image, and record the non-edge pixel of the central element in the window matrix as the non-edge matrix pixel z, each element in the window matrix is an edge pixel or a non-edge pixel, and m is an odd number greater than 1;
[0032] The grayscale similarity value of the non-edge matrix pixel point in the horizontal direction in the window matrix is calculated by the formula XSzx=A×Sx and the grayscale similarity value of the non-edge matrix pixel point in the vertical direction is calculated by XSzy=A×Sy;
[0033] Then, the gradient intensity TQDz and gradient direction TFXz of the non-edge matrix pixel are calculated by the formula, where the gradient intensity is used to correspond to the degree of change of the Gaussian pixel value of the non-edge matrix pixel in the window matrix, and the gradient direction is used to correspond to the direction of change of the Gaussian pixel value of the non-edge matrix pixel in the window matrix. The specific formula is as follows:
[0034] ;
[0035] TFXz=atan2(XSx, XSy); where atan2 is the inverse tangent function, and the gradient direction ranges from -π to π;
[0036] The gradient direction is divided into four directions counterclockwise. After calculating the gradient strength and gradient direction of all non-edge matrix pixel points, a gradient map is generated according to the gradient strength and gradient direction of the corresponding non-edge matrix pixel points.
[0037] The non-edge matrix pixel point currently being analyzed is defined as the target pixel point, and the gradient strength of the target pixel point is compared with the same-direction target pixel point and the opposite-direction target pixel point;
[0038] If the difference between the target pixel point and the same-direction target pixel point and the opposite-direction target pixel point in gradient intensity does not exceed the preset percentage of the corresponding gradient value of the target pixel point, no operation is performed;
[0039] If the gradient intensity difference between the target pixel point and the same-direction target pixel point and the opposite-direction target pixel point exceeds a preset percentage of the gradient value corresponding to the target pixel point, the gradient value corresponding to the target pixel point is set to zero;
[0040] Observe whether non-edge matrix pixel points with a gradient intensity of 0 appear continuously in the adjusted gradient map. If non-edge matrix pixel points with a gradient intensity of 0 appear continuously, a segmented abnormal signal is generated and no subsequent operation is performed.
[0041] If non-edge matrix pixel points with a gradient intensity of 0 do not appear continuously, a preliminary inspection normal signal is generated.
[0042] Preferably, the detection point states include a plane state detection point, a convex state detection point and a concave state detection point, and the real-time height value includes zero, a real-time convex height value and a real-time concave depth value.
[0043] Preferably, the analysis process of the steel pipe detection module is as follows:
[0044] Obtain the detection point status and real-time height value of the roughness detection point in the corresponding sampling segment of the seamless steel pipe;
[0045] If the detection point states of all roughness detection points are plane state detection points, a segmented normal signal is generated;
[0046] If there is a roughness detection point whose detection point state is a convex detection point or a concave detection point, obtain the real-time convex height value of the convex detection point or the real-time concave depth value of the concave detection point in the corresponding sampling segment of the seamless steel pipe;
[0047] Draw a roughness line graph of the roughness detection point in the corresponding sampling segment of the seamless steel pipe, with the number of the roughness detection point as the horizontal coordinate, and the real-time convex height value and the real-time concave depth value as the vertical coordinate and recorded as the roughness value CCx; where x is the number of the roughness detection point;
[0048] Obtain the maximum and minimum values of the roughness values, calculate the difference between the maximum roughness value and the minimum roughness value, and record the difference between the maximum roughness value and the minimum roughness value as the roughness floating value;
[0049] If the roughness floating value is greater than or equal to the roughness floating value threshold, a segmented abnormal signal is generated, and the corresponding seamless steel pipe is identified as a low-quality product;
[0050] If the roughness floating value is less than the roughness floating value threshold, the real-time height values of all roughness detection points are obtained. When the real-time height value of any roughness detection point is in the first grinding interval, a first-level grinding signal is generated. When the real-time height values of all roughness detection points are not in the first grinding interval and the real-time height value of any roughness detection point is in the second grinding interval, a second-level grinding signal is generated. When the real-time height values of all roughness detection points are not in the first grinding interval and the second grinding interval, a segmented normal signal is generated.
[0051] Preferably, the right end point of the second grinding interval is less than or equal to the left end point of the first grinding interval, and the grinding intensity of the first-level grinding signal is greater than the grinding intensity of the second-level grinding signal.
[0052] Preferably, the adjustment process of the grinding parameters is as follows:
[0053] If a secondary grinding signal is received, the grinding parameters of the sampling segment are: a grinding wheel with a second grit size is selected to perform initial grinding on the sampling segment of the seamless steel pipe, and the duration of the initial grinding is the duration of the second grinding;
[0054] If a primary grinding signal is received, the grinding parameters of the sampling segment are: firstly, a grinding wheel with a first grit size is selected to grind the sampling segment of the seamless steel pipe, and the duration of the first grinding is the first grinding duration, and then a grinding wheel with a second grit size is selected to grind the sampling segment of the seamless steel pipe for a second time, and the duration of the second grinding is the third grinding duration;
[0055] The first grit size is greater than the second grit size, the third grinding time is shorter than the second grinding time, and the second grinding time is shorter than the first grinding time.
[0056] In the second aspect, an intelligent control method for seamless steel pipe grinding is provided, and the intelligent control method is specifically as follows:
[0057] Step S100, the product division module divides the seamless steel pipe into multiple groups of sampling segments at equal intervals, and the sorting setting module sets the analysis order of the sampling segments in the seamless steel pipe and the number of roughness detection points on the sampling segments, and obtains the analysis order of the sampling segments corresponding to the seamless steel pipe and the number of roughness detection points on the sampling segments corresponding to the seamless steel pipe and sends them to the data acquisition module;
[0058] Step S200, the data acquisition module acquires the outer surface image of the sampled segment on the seamless steel pipe, and sends the outer surface image to the initial inspection and analysis module;
[0059] Step S300, the initial inspection analysis module performs initial inspection on the sampled segments of the seamless steel pipe, and generates an initial inspection normal signal or a segment abnormal signal. If an initial inspection normal signal is generated, it is sent to the data acquisition module, and if a segment abnormal signal is generated, it is sent to the alarm module;
[0060] Step S400, when the data acquisition module receives the normal signal of the initial inspection, it collects the detection point status and real-time height value of the roughness detection point in the sampling segment corresponding to the seamless steel pipe, and sends the detection point status and real-time height value of the roughness detection point in the sampling segment corresponding to the seamless steel pipe to the steel pipe detection module;
[0061] Step S500, the steel pipe detection module analyzes the surface roughness of the sampling segment corresponding to the seamless steel pipe, generates a segment normal signal, a primary grinding signal or a secondary grinding signal, and sends it to the grinding control module. At the same time, the steel pipe monitoring module also sends the segment abnormal signal to the alarm module, and the alarm module receives and displays the segment abnormal signal corresponding to the sampling segment in the seamless steel pipe;
[0062] Step S600, the grinding control module controls the grinding parameters of the corresponding sampling segments of the seamless steel pipe according to the grinding signals of different levels, and sends the grinding parameters to the driving terminal, and the driving terminal grinds the sampling segments of the seamless steel pipe according to the grinding parameters.
[0063] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0064] 1. The present invention first divides the seamless steel pipe into multiple groups of sampling segments at equal intervals through the product division module, and then uses the sorting setting module to set the analysis order of the sampling segments in the seamless steel pipe and the number of roughness detection points on the sampling segments, so as to obtain the analysis order of the sampling segments corresponding to the seamless steel pipe and the number of roughness detection points on the sampling segments corresponding to the seamless steel pipe;
[0065] 2. The present invention utilizes the initial inspection and analysis module to perform the initial inspection on the sampling segments of the seamless steel pipe. The initial inspection generates the initial inspection normal signal or the segmentation abnormal signal. If the segmentation abnormal signal is generated, it is sent to the alarm module. If it is generated, the detection point state and the real-time height value of the roughness detection point in the sampling segment corresponding to the seamless steel pipe are further obtained, and then the steel pipe detection module is used to analyze the surface roughness of the sampling segment corresponding to the seamless steel pipe. The analysis generates the segmentation normal signal, the first-level grinding signal or the second-level grinding signal and sends it to the grinding control module. The grinding control module controls the grinding parameters of the sampling segment corresponding to the seamless steel pipe according to the grinding signals of different levels, and sends the grinding parameters to the driving terminal. The driving terminal grinds the sampling segment of the seamless steel pipe according to the grinding parameters. At the same time, the steel pipe detection module also sends the generated segmentation abnormal signal to the alarm module. The alarm module displays the segmentation abnormal signal corresponding to the sampling segment in the seamless steel pipe. The present invention can effectively identify the cracks on the surface of the seamless steel pipe, and perform different degrees of grinding operations on the seamless steel pipe according to the surface roughness. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0067] Figure 1 It is the overall system block diagram of the present invention.
[0068] Figure 2 It is a schematic diagram of the structure of the sampling segment in the invention.
[0069] Figure 3 It is a schematic diagram of the collection viewing angle of the steel pipe arc segment in the present invention.
[0070] Figure 4 This is a composite diagram of the outer surfaces of the sampling segments in the present invention.
[0071] Figure 5 It is a structural schematic diagram of the external surface coordinate system in the present invention.
[0072] Figure 6 It is a schematic diagram of the gradient map in the present invention.
[0073] Figure 7 It is a schematic diagram of the central pixel point in the 0° gradient direction of the present invention.
[0074] Figure 8 It is a schematic diagram of the central pixel point in the 45° gradient direction of the present invention.
[0075] Fig. 9 It is a schematic diagram of the central pixel point in the 90° gradient direction of the present invention.
[0076] Fig.10 It is a roughness line graph of the roughness detection points in the present invention.
[0077] Fig.11 The present invention is a flow chart of the method. DETAILED DESCRIPTION
[0078] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0079] Example 1, please refer to Figure 1-Figure 11 As shown, the technical solution provided by the present invention is: an intelligent control system for seamless steel pipe grinding, including a product classification module, a sorting setting module, a data acquisition module, a database, an alarm module, a preliminary inspection and analysis module, a steel pipe monitoring module, a grinding control module and a drive terminal;
[0080] The database is used to store steel pipe failure data of different types of seamless steel pipes, wherein the steel pipe failure data is the product failure rate of different types of seamless steel pipes in the previous quarter, and the number of times the outer surface of the seamless steel pipe was repaired, which is obtained by dividing the number of failures of the seamless steel pipe in the previous quarter by the total number of seamless steel pipes sold in the previous quarter;
[0081] The product division module is used to divide the seamless steel pipe into multiple sampling segments at equal intervals. Since the length of the seamless steel pipe generally ranges from a few meters to more than ten meters, it is more difficult to analyze the seamless steel pipe with a longer length. Therefore, the seamless steel pipe is divided into several sampling segments with smaller lengths. In this example, during the analysis, only the sampling segments of the same type of seamless steel pipe are analyzed.
[0082] See also Figure 2 As shown, the sorting setting module is used to set the analysis order of the sampling segments in the seamless steel pipe and the number of roughness detection points on the sampling segments. The setting process is as follows:
[0083] Obtain the number of times the outer surface of the seamless steel pipe has been ground;
[0084] The number of grinding times of the outer surface of the seamless steel pipe is counted to obtain the number of segment grinding times of the outer surface of the seamless steel pipe corresponding to the sampling segment, and the number of segment grinding times is arranged in descending order to obtain the analysis order of the seamless steel pipe corresponding to the sampling segment;
[0085] Then, the product failure rate of the seamless steel pipe is obtained, and the product failure rate is compared with a product failure rate threshold, wherein the product failure rate threshold includes a first product failure rate threshold and a second product failure rate threshold, and the first product failure rate threshold is less than the second product failure rate threshold;
[0086] If the product failure rate is less than the first product failure rate threshold, X1 roughness detection points are set up on the corresponding sampling segment of the seamless steel pipe;
[0087] If the product failure rate is greater than or equal to the first product failure rate threshold and less than the second product failure rate threshold, X2 roughness detection points are set up on the corresponding sampling segment of the seamless steel pipe;
[0088] If the product failure rate is greater than or equal to the second product failure rate threshold, X3 roughness detection points are set on the corresponding sampling segment of the seamless steel pipe; wherein X1, X2 and X3 are all positive integers with fixed values, and 0<X1<X2<X3, and in practice, X1 can be 50, X2 can be 100, and X3 can be 200;
[0089] The sorting setting module sends the analysis order of the seamless steel pipe corresponding to the sampling segment and the number of roughness detection points set up on the seamless steel pipe corresponding to the sampling segment to the data acquisition module.
[0090] See also Figure 3-Figure 5 The data acquisition module is used to collect the outer surface images of the sampled segments on the seamless steel pipe and send the outer surface images to the initial inspection and analysis module, such as Figure 3 As shown, the different viewing angles are as follows: the inner surface and outer surface of the corresponding sampling segment of the seamless steel pipe can be regarded as equivalent concentric circles, and the corresponding sampling segment of the seamless steel pipe is divided into equal angles according to the angle value JD, and 360° / JD steel pipe arc segments are obtained. The normal direction of each steel pipe arc segment is selected as the acquisition viewing angle, and then the outer surface image of the corresponding steel pipe arc is acquired by using an image acquisition device. The outer surface images of all steel pipe arcs can together constitute the outer surface image of the sampling segment;
[0091] The initial inspection analysis module is used to perform initial inspection on the sampling segments of seamless steel pipes. The initial inspection process is as follows:
[0092] like Figure 4 As shown, the outer surface images of all the steel pipe curvatures in the sampling segment are obtained, and the outer surface images of all the steel pipe curvatures are spliced to obtain the outer surface combination image corresponding to the sampling segment of the seamless steel pipe;
[0093] like Figure 5 As shown, with the geometric center of the outer surface combination map as the origin, a plane rectangular coordinate system is established on the outer surface combination map, and each pixel point is recorded as (Xn, Yn), where n is the number of the pixel point, Xn is the horizontal coordinate of the pixel point (Xn, Yn), and Yn is the vertical coordinate of the pixel point (Xn, Yn);
[0094] The outer surface composite image is subjected to a denoising operation. The preferred processing method in the present invention is to remove the noise in the outer surface composite image by Gaussian filtering. Since the noise is concentrated in high-frequency signals, it is easy to be mistakenly identified as an edge. The denoised image is obtained by performing a convolution operation on the pixels in the outer surface composite image, thereby weakening the interference information of the individual pixels.
[0095] The pixel weight value XQZn of each pixel in the outer surface combination map is calculated by the formula, which is:
[0096] , where e is a natural constant, σ is a value used to describe the Gaussian filtering effect, the larger the value of σ is, the more blurred the image after Gaussian filtering is, and the preferred value range of σ in the present invention is between 0.5 and 1;
[0097] The pixel weight value of each pixel point is multiplied by the pixel value corresponding to the pixel point to obtain the Gaussian pixel value corresponding to each pixel point, where the pixel value of the pixel point specifically refers to the RGB value, and the outer surface composite image is converted into the corresponding Gaussian filter image based on the Gaussian pixel value, and the pixel points in the Gaussian filter image are defined as edge pixel points and non-edge pixel points, where the edge pixel points specifically refer to the pixel points located at the boundary of the Gaussian filter image, and the non-edge pixel points refer to the pixel points other than the edge pixel points in the Gaussian filter image;
[0098] It needs to be explained in detail that the difference between the Gaussian filter image and the outer surface combination image is that the pixel values corresponding to the pixel points with the same coordinates are different from the Gaussian pixel values;
[0099] like Figure 6 As shown, the horizontal kernel Sx and the vertical kernel Sy of the discrete difference operator are used to calculate the grayscale approximation of the non-edge pixel in the horizontal direction and the grayscale approximation in the vertical direction respectively, and an m×m window matrix A is selected in the Gaussian filter image, and the non-edge pixel of the central element in the window matrix is recorded as the non-edge matrix pixel z, each element in the window matrix is an edge pixel or a non-edge pixel, m is an odd number greater than 1, and in the present invention, the preferred value of m is m=3;
[0100] The grayscale similarity value of the non-edge matrix pixel point in the horizontal direction in the window matrix is calculated by the formula XSzx=A×Sx and the grayscale similarity value of the non-edge matrix pixel point in the vertical direction is calculated by XSzy=A×Sy;
[0101] The discrete difference operator is a predefined horizontal kernel and a vertical kernel. The discrete difference operator can be a Sobel operator, a Prewitt operator or a Canny operator. The Sobel operator is preferred in the present invention. The horizontal kernel of the Sobel operator is , the vertical kernel of the Sobel operator ;
[0102] The gradient intensity TQDz and gradient direction TFXz of the non-edge matrix pixel are calculated by the formula, where the gradient intensity is used to indicate the degree of change of the Gaussian pixel value of the corresponding non-edge matrix pixel in the window matrix, and the gradient direction is used to indicate the direction of change of the Gaussian pixel value of the corresponding non-edge matrix pixel in the window matrix. The specific formula is as follows:
[0103] , TFXz=atan2(XSx, XSy), atan2 is the inverse tangent function, and the gradient direction TFXz ranges from -π to π, excluding π / 2;
[0104] The gradient direction is divided into four directions according to the counterclockwise direction (i.e. 0°, 45°, 90°, 135°), representing horizontal, diagonal one, vertical, and diagonal two. After calculating the gradient intensity and gradient direction of all non-edge matrix pixels, a gradient map is generated according to the gradient intensity and gradient direction of the corresponding non-edge matrix pixels. The gradient map is as follows: Figure 6 As shown;
[0105] Define the target pixel point as the non-edge matrix pixel point currently being analyzed, and compare the gradient strength of the target pixel point with the same-direction target pixel point and the opposite-direction target pixel point. If the gradient direction of the target pixel point is 0°, then the same-direction target pixel point and the opposite-direction target pixel point are as follows: Figure 7 As shown in , if the gradient direction of the target pixel is 45°, the same-direction target pixel and the opposite-direction target pixel are as follows: Figure 8 As shown in , if the gradient direction of the target pixel is 90°, the same-direction target pixel and the opposite-direction target pixel are as follows: Fig. 9 As shown;
[0106] If the gradient intensity difference between the target pixel point and the same-direction target pixel point and the opposite-direction target pixel point does not exceed the preset percentage of the gradient value corresponding to the target pixel point, no operation is performed; if the gradient intensity difference between the target pixel point and the same-direction target pixel point and the opposite-direction target pixel point exceeds the preset percentage of the gradient value corresponding to the target pixel point, the gradient value of the corresponding target pixel point is set to zero, wherein the value of the preset percentage is determined according to the number of elements of the window matrix selected when calculating the gradient intensity, and is generally twice the number of elements in the window matrix;
[0107] Observe whether non-edge matrix pixel points with a gradient intensity of 0 appear continuously in the adjusted gradient map. If non-edge matrix pixel points with a gradient intensity of 0 appear continuously, a segmented abnormal signal is generated and no subsequent operation is performed.
[0108] If there are no non-edge matrix pixels with a gradient strength of 0 appearing continuously, a normal signal for the initial inspection is generated;
[0109] The initial inspection analysis module sends the initial inspection normal signal corresponding to the sampling segment of the seamless steel pipe to the data acquisition module and sends the segment abnormal signal to the alarm module;
[0110] Further, when the data acquisition module receives the normal initial inspection signal fed back by the initial inspection analysis module, it is also used to collect the detection point state and real-time height value of the roughness detection point in the sampling segment corresponding to the seamless steel pipe. It should be specifically stated that the detection point state includes a plane state detection point, a convex state detection point and a concave state detection point, and the real-time height value includes zero, a real-time convex height value and a real-time concave depth value. During the specific measurement, a corresponding number of roughness detection points are set on the sampling segment according to the product failure rate, and then the roughness detection points are equally distributed on the outer surface of the steel pipe arc segment, and a surface roughness measuring instrument is used to detect the real-time height value of the corresponding roughness detection point, wherein the real-time height value of the plane state detection point is zero. When the real-time height value is zero, the roughness detection point can be approximately regarded as a plane, and the real-time convex height value of the convex state detection point is measured as the real-time height value of the convex state detection point, and the real-time concave depth value of the concave state detection point is measured and the absolute value is taken as the real-time height value of the concave state detection point;
[0111] The data acquisition module sends the detection point status and real-time height value of the roughness detection point in the sampling segment corresponding to the seamless steel pipe to the steel pipe detection module; the steel pipe detection module is used to analyze the surface roughness of the sampling segment corresponding to the seamless steel pipe, and the analysis process is as follows:
[0112] Obtain the detection point status and real-time height value of the roughness detection point in the corresponding sampling segment of the seamless steel pipe;
[0113] If the detection point states of all roughness detection points are plane state detection points, a segmented normal signal is generated;
[0114] If there is a roughness detection point whose detection point state is a convex detection point or a concave detection point, proceed to the next step;
[0115] Obtain the real-time convex height value of the convex state detection point or the real-time concave depth value of the concave state detection point in the corresponding sampling segment of the seamless steel pipe;
[0116] like Fig.10 As shown, a roughness line graph of the roughness detection point in the corresponding sampling segment of the seamless steel pipe is drawn, with the number of the roughness detection point as the horizontal coordinate, and the real-time convex height value and the real-time concave depth value as the vertical coordinate and recorded as the roughness value CCx, where x is the number of the roughness detection point, if it is a convex state detection point, the corresponding roughness floating value is on the upper side of the horizontal coordinate, if it is a concave state detection point, the corresponding roughness floating value is on the lower side of the horizontal coordinate;
[0117] Obtain the maximum and minimum values of the roughness values, calculate the difference between the maximum roughness value and the minimum roughness value, and record the difference between the maximum roughness value and the minimum roughness value as the roughness floating value;
[0118] It can be understood that the larger the value of the roughness floating value is, the rougher the outer surface of the corresponding sampling segment of the seamless steel pipe is;
[0119] If the roughness floating value is greater than or equal to the roughness floating value threshold, a segmented abnormal signal is generated, and the corresponding seamless steel pipe is identified as a low-quality product and does not need to be repaired. The value of the height floating threshold corresponds to h% of the steel pipe wall thickness of the seamless steel pipe, and the preferred value is 6.25% of the steel pipe wall thickness of the corresponding seamless steel pipe;
[0120] If the roughness floating value is less than the roughness floating value threshold, the real-time height values of all roughness detection points are obtained. When the real-time height value of any roughness detection point is in the first grinding interval, a first-level grinding signal is generated. When the real-time height values of all roughness detection points are not in the first grinding interval and the real-time height value of any roughness detection point is in the second grinding interval, a second-level grinding signal is generated. When the real-time height values of all roughness detection points are not in the first grinding interval and the second grinding interval, a segmented normal signal is generated.
[0121] The right endpoint of the second grinding interval is less than or equal to the left endpoint of the first grinding interval, and the grinding intensity of the first grinding signal is greater than the grinding intensity of the second grinding signal. For example, the second grinding interval is [0.25, 0.8], and the first grinding interval is [0.8, 1.5];
[0122] The steel pipe monitoring module sends the segmented normal signal, the primary grinding signal or the secondary grinding signal to the grinding control module. The steel pipe monitoring module also sends the segmented abnormal signal to the warning module. The warning module is used to receive the segmented abnormal signal corresponding to the sampling segment of the seamless steel pipe, and prompt the user that the seamless steel pipe corresponding to the sampling segment is a low-quality steel pipe and does not need to be ground;
[0123] The grinding control module is used to control the grinding parameters of the corresponding sampling segments of the seamless steel pipe according to the grinding signals of different levels, and send the grinding parameters to the driving terminal, and the driving terminal is used to grind the sampling segments of the seamless steel pipe according to the grinding parameters. In the specific implementation, the driving terminal is a grinding device that can be wirelessly connected;
[0124] Specifically, the adjustment process of grinding parameters is as follows:
[0125] If a secondary grinding signal is received, the grinding parameters of the sampling segment are: a grinding wheel with a second grit size is selected to perform initial grinding on the sampling segment of the seamless steel pipe, and the duration of the initial grinding is the duration of the second grinding;
[0126] If a primary grinding signal is received, the grinding parameters of the sampling segment are as follows: first, a grinding wheel of a first grit size is selected to grind the sampling segment of the seamless steel pipe, and the duration of the first grinding is the first grinding duration, and then a grinding wheel of a second grit size is selected to perform a second grinding on the sampling segment of the seamless steel pipe, and the duration of the second grinding is the third grinding duration; wherein the first grit size is greater than the second grit size, the third grinding duration is shorter than the second grinding duration, and the second grinding duration is shorter than the first grinding duration;
[0127] In this application, if corresponding calculation formulas appear, the above calculation formulas are all dimensionless and take their numerical calculations. The weight coefficients, proportional coefficients and other coefficients in the formulas are set to a result value obtained by quantifying each parameter. The size of the weight coefficient and the proportional coefficient can be determined as long as it does not affect the proportional relationship between the parameter and the result value.
[0128] Embodiment 2, based on another concept of the same invention, an intelligent control method for grinding seamless steel pipes is proposed, the method comprises the following steps:
[0129] Step S100, the product division module divides the seamless steel pipe into multiple groups of sampling segments at equal intervals, and the sorting setting module sets the analysis order of the sampling segments in the seamless steel pipe and the number of roughness detection points on the sampling segments, and obtains the analysis order of the sampling segments corresponding to the seamless steel pipe and the number of roughness detection points on the sampling segments corresponding to the seamless steel pipe and sends them to the data acquisition module;
[0130] Step S200, the data acquisition module acquires the outer surface image of the sampled segment on the seamless steel pipe, and sends the outer surface image to the initial inspection and analysis module;
[0131] Step S300, the initial inspection analysis module performs initial inspection on the sampled segments of the seamless steel pipe, and generates an initial inspection normal signal or a segment abnormal signal. If an initial inspection normal signal is generated, it is sent to the data acquisition module, and if a segment abnormal signal is generated, it is sent to the alarm module;
[0132] Step S400, when the data acquisition module receives the normal signal of the initial inspection, it collects the detection point status and real-time height value of the roughness detection point in the sampling segment corresponding to the seamless steel pipe, and sends the detection point status and real-time height value of the roughness detection point in the sampling segment corresponding to the seamless steel pipe to the steel pipe detection module;
[0133] Step S500, the steel pipe detection module analyzes the surface roughness of the sampling segment corresponding to the seamless steel pipe, generates a segment normal signal, a primary grinding signal or a secondary grinding signal, and sends it to the grinding control module. At the same time, the steel pipe monitoring module also sends the segment abnormal signal to the alarm module, and the alarm module receives and displays the segment abnormal signal corresponding to the sampling segment in the seamless steel pipe;
[0134] Step S600, the grinding control module controls the grinding parameters of the corresponding sampling segments of the seamless steel pipe according to the grinding signals of different levels, and sends the grinding parameters to the driving terminal, and the driving terminal grinds the sampling segments of the seamless steel pipe according to the grinding parameters.
[0135] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. An intelligent control system for seamless steel pipe grinding, characterized in that: It includes a product classification module, a sorting setting module, a data acquisition module, a database, an alarm module, a preliminary inspection and analysis module, a steel pipe monitoring module, a grinding control module and a driving terminal. The database is used to store steel pipe fault data of different types of seamless steel pipes; the product classification module is used to divide the seamless steel pipe into multiple groups of sampling segments at equal intervals; the sorting setting module is used to set the analysis order of the sampling segments in the seamless steel pipe and the number of roughness detection points on the sampling segments, and the analysis order of the sampling segments corresponding to the seamless steel pipe and the number of roughness detection points on the sampling segments corresponding to the seamless steel pipe are obtained and sent to the data acquisition module; The data acquisition module is used to collect the outer surface image of the sampling segment on the seamless steel pipe, and send the outer surface image to the initial inspection analysis module; the initial inspection analysis module is used to perform an initial inspection on the sampling segment of the seamless steel pipe, and the initial inspection generates a normal signal or an abnormal signal of the sampling segment of the seamless steel pipe. If a normal signal of the initial inspection of the segment is generated, it is sent to the data acquisition module, and if a segment abnormal signal is generated, it is sent to the alarm module; The data acquisition module is also used to collect the detection point status and real-time height value of the roughness detection point in the sampling segment corresponding to the seamless steel pipe when receiving the normal signal of the initial inspection, and send the detection point status and real-time height value of the roughness detection point in the sampling segment corresponding to the seamless steel pipe to the steel pipe detection module; The steel pipe detection module is used to analyze the surface roughness of the sampling segment corresponding to the seamless steel pipe, and the analysis generates a segment normal signal, a primary grinding signal or a secondary grinding signal and sends it to the grinding control module. The steel pipe monitoring module also sends the segment abnormal signal to the alarm module, and the alarm module is used to receive and display the segment abnormal signal corresponding to the sampling segment in the seamless steel pipe; The grinding control module is used to control the grinding parameters of the corresponding sampling segments of the seamless steel pipe according to grinding signals of different levels, and send the grinding parameters to the drive terminal, and the drive terminal is used to grind the sampling segments of the seamless steel pipe according to the grinding parameters.
2. The intelligent control system for seamless steel pipe grinding according to claim 1, characterized in that: The steel pipe failure data includes the product failure rates of different types of seamless steel pipes in the previous quarter and the number of times the outer surface of the seamless steel pipe was reground.
3. The intelligent control system for seamless steel pipe grinding according to claim 2, characterized in that: The setting process of the sorting setting module is as follows: Obtain the number of times the outer surface of the seamless steel pipe has been ground; The number of grinding times of the outer surface of the seamless steel pipe is counted to obtain the number of segment grinding times of the outer surface of the seamless steel pipe corresponding to the sampling segment, and the number of segment grinding times is arranged in descending order to obtain the analysis order of the seamless steel pipe corresponding to the sampling segment; Then, the product failure rate of the seamless steel pipe is obtained, and the product failure rate is compared with the product failure rate threshold, so as to set up a corresponding number of roughness detection points on the corresponding sampling sections of the seamless steel pipe.
4. The intelligent control system for seamless steel pipe grinding according to claim 1, characterized in that: The process of obtaining the outer surface image corresponding to the sampling segment is: The inner and outer surfaces of the corresponding sampling segments of the seamless steel pipe can be regarded as equivalent concentric circles; Then, the corresponding sampling segments of the seamless steel pipe are divided into equal angles according to the angle values to obtain multiple steel pipe arc segments; The normal direction of each steel pipe arc segment is selected as the acquisition viewing angle, and the outer surface image of the corresponding steel pipe arc is acquired; The outer surface images of all the steel pipe curvatures together constitute the outer surface image of the sampling segment.
5. The intelligent control system for seamless steel pipe grinding according to claim 4, characterized in that: The initial inspection process of the initial inspection analysis module is as follows: Obtain the outer surface images of all the steel pipe curvatures in the sampling segment corresponding to the seamless steel pipe, and splice the outer surface images of all the steel pipe curvatures to obtain the outer surface combination image corresponding to the sampling segment of the seamless steel pipe; Taking the geometric center of the outer surface combination diagram as the origin, a plane rectangular coordinate system is established on the outer surface combination diagram; Perform denoising operation on the outer surface composite image, and calculate the pixel weight value of each pixel point in the outer surface composite image; The pixel weight value of each pixel point is multiplied by the pixel value corresponding to the pixel point to obtain the Gaussian pixel value corresponding to each pixel point, and the outer surface composite image is converted into the corresponding Gaussian filter image based on the Gaussian pixel value, and the pixel points in the Gaussian filter image are defined as edge pixel points and non-edge pixel points. The edge pixel points are the pixel points located at the boundary of the Gaussian filter image, and the non-edge pixel points are the pixel points other than the edge pixel points in the Gaussian filter image; Calculate the grayscale approximation of the non-edge pixel in the horizontal direction and the grayscale approximation of the vertical direction respectively, in the Gaussian filter image window matrix, and record the non-edge pixel of the central element in the window matrix as the non-edge matrix pixel, and each element in the window matrix is an edge pixel or a non-edge pixel; The grayscale similarity value of the non-edge matrix pixel points in the window matrix in the horizontal direction and the grayscale similarity value of the non-edge matrix pixel points in the vertical direction are calculated by the formula; Then, the gradient strength and gradient direction of the non-edge matrix pixel points are calculated by the formula, wherein the gradient strength is used to correspond to the degree of change of the Gaussian pixel value of the non-edge matrix pixel points in the window matrix, and the gradient direction is used to correspond to the direction of change of the Gaussian pixel value of the non-edge matrix pixel points in the window matrix; The gradient direction is divided into four directions counterclockwise. After calculating the gradient strength and gradient direction of all non-edge matrix pixel points, a gradient map is generated according to the gradient strength and gradient direction of the corresponding non-edge matrix pixel points. The non-edge matrix pixel point currently being analyzed is defined as the target pixel point, and the gradient strength of the target pixel point is compared with the same-direction target pixel point and the opposite-direction target pixel point; If the difference between the target pixel point and the same-direction target pixel point and the opposite-direction target pixel point in gradient intensity does not exceed the preset percentage of the corresponding gradient value of the target pixel point, no operation is performed; If the gradient intensity difference between the target pixel point and the same-direction target pixel point and the opposite-direction target pixel point exceeds a preset percentage of the gradient value corresponding to the target pixel point, the gradient value corresponding to the target pixel point is set to zero; Observe whether non-edge matrix pixel points with a gradient intensity of 0 appear continuously in the adjusted gradient map. If non-edge matrix pixel points with a gradient intensity of 0 appear continuously, a segmented abnormal signal is generated and no subsequent operation is performed. If non-edge matrix pixel points with a gradient intensity of 0 do not appear continuously, a preliminary inspection normal signal is generated.
6. The intelligent control system for seamless steel pipe grinding according to claim 1, characterized in that: The detection point states include plane state detection points, convex state detection points and concave state detection points, and the real-time height values include zero, real-time convex height value and real-time concave depth value.
7. The intelligent control system for seamless steel pipe grinding according to claim 6, characterized in that: The analysis process of the steel pipe detection module is as follows: Obtain the detection point status and real-time height value of the roughness detection point in the corresponding sampling segment of the seamless steel pipe; If the detection point states of all roughness detection points are plane state detection points, a segmented normal signal is generated; If there is a roughness detection point whose detection point state is a convex detection point or a concave detection point, obtain the real-time convex height value of the convex detection point or the real-time concave depth value of the concave detection point in the corresponding sampling segment of the seamless steel pipe; Draw a roughness line graph of the roughness detection points in the corresponding sampling segments of the seamless steel pipe, with the numbers of the roughness detection points as the abscissa, and the real-time convex height values and real-time concave depth values as the ordinates and recorded as roughness values; Obtain the maximum and minimum values of the roughness values, calculate the difference between the maximum roughness value and the minimum roughness value, and record the difference between the maximum roughness value and the minimum roughness value as the roughness floating value; If the roughness floating value is greater than or equal to the roughness floating value threshold, a segmented abnormal signal is generated, and the corresponding seamless steel pipe is identified as a low-quality product; If the roughness floating value is less than the roughness floating value threshold, the real-time height values of all roughness detection points are obtained. When the real-time height value of any roughness detection point is in the first grinding interval, a first-level grinding signal is generated. When the real-time height values of all roughness detection points are not in the first grinding interval and the real-time height value of any roughness detection point is in the second grinding interval, a second-level grinding signal is generated. When the real-time height values of all roughness detection points are not in the first grinding interval and the second grinding interval, a segmented normal signal is generated.
8. The intelligent control system for seamless steel pipe grinding according to claim 7, characterized in that: The right end point of the second grinding interval is less than or equal to the left end point of the first grinding interval, and the grinding intensity of the first-level grinding signal is greater than the grinding intensity of the second-level grinding signal.
9. The intelligent control system for seamless steel pipe grinding according to claim 7, characterized in that: The specific process of adjusting and controlling the grinding parameters is as follows: If a secondary grinding signal is received, the grinding parameters of the sampling segment are: a grinding wheel with a second grit size is selected to perform initial grinding on the sampling segment of the seamless steel pipe, and the duration of the initial grinding is the duration of the second grinding; If a primary grinding signal is received, the grinding parameters of the sampling segment are: firstly, a grinding wheel with a first grit size is selected to grind the sampling segment of the seamless steel pipe, and the duration of the first grinding is the first grinding duration, and then a grinding wheel with a second grit size is selected to grind the sampling segment of the seamless steel pipe for a second time, and the duration of the second grinding is the third grinding duration; The first grit size is greater than the second grit size, the third grinding time is shorter than the second grinding time, and the second grinding time is shorter than the first grinding time.
10. An intelligent control method for grinding seamless steel pipes, characterized in that: Based on the intelligent control system for seamless steel pipe grinding according to any one of claims 1 to 9, the intelligent control method is specifically as follows: Step S100, the product division module divides the seamless steel pipe into multiple groups of sampling segments at equal intervals, and the sorting setting module sets the analysis order of the sampling segments in the seamless steel pipe and the number of roughness detection points on the sampling segments, and obtains the analysis order of the sampling segments corresponding to the seamless steel pipe and the number of roughness detection points on the sampling segments corresponding to the seamless steel pipe and sends them to the data acquisition module; Step S200, the data acquisition module acquires the outer surface image of the sampled segment on the seamless steel pipe, and sends the outer surface image to the initial inspection and analysis module; Step S300, the initial inspection analysis module performs initial inspection on the sampled segments of the seamless steel pipe, and generates an initial inspection normal signal or a segment abnormal signal. If an initial inspection normal signal is generated, it is sent to the data acquisition module, and if a segment abnormal signal is generated, it is sent to the alarm module; Step S400, when the data acquisition module receives the normal signal of the initial inspection, it collects the detection point status and real-time height value of the roughness detection point in the sampling segment corresponding to the seamless steel pipe, and sends the detection point status and real-time height value of the roughness detection point in the sampling segment corresponding to the seamless steel pipe to the steel pipe detection module; Step S500, the steel pipe detection module analyzes the surface roughness of the sampling segment corresponding to the seamless steel pipe, generates a segment normal signal, a primary grinding signal or a secondary grinding signal, and sends it to the grinding control module. At the same time, the steel pipe monitoring module also sends the segment abnormal signal to the alarm module, and the alarm module receives and displays the segment abnormal signal corresponding to the sampling segment in the seamless steel pipe; Step S600, the grinding control module controls the grinding parameters of the corresponding sampling segments of the seamless steel pipe according to the grinding signals of different levels, and sends the grinding parameters to the driving terminal, and the driving terminal grinds the sampling segments of the seamless steel pipe according to the grinding parameters.
