Steel pipe diameter measuring method and measuring device for steel pipe production
Through differential analysis and position matrix processing, abnormal areas are screened, and the problem of vibration impact in steel pipe diameter measurement is solved, achieving more accurate diameter measurement.
Patent Information
- Application Number
- CN202411223181.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2044-09-03
AI Technical Summary
In the prior art, the measurement of steel pipe diameter does not take into account the vibration influence when the screw is moved, resulting in poor measurement accuracy.
By obtaining the path distance sensing values at different preset angles, constructing differential distance sequences, obtaining distribution interval points, calculating differentiation evaluations, building position matrix, merging similar regions, performing angle symmetric mapping, filtering abnormal regions, and adjusting marking parameters. Remove vibration effects and make accurate measurements.
It improves the accuracy of steel pipe diameter measurement, can more effectively identify inner wall defects and abnormal areas, avoid vibration influence, and ensure the reliability of measurement results.
Smart Images

Figure CN118758199B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of diameter measurement, and in particular to a steel pipe diameter measurement method and a measuring device used in steel pipe production. Background Art
[0002] The diameter is one of the most important control parameters in steel pipe production. It is crucial to ensure the smooth flow of fluid in the pipe. If the diameter is too small, it may cause the fluid pressure to increase, the flow rate to slow down, or even blockage; if the diameter is too large, it may increase the construction cost; but due to the limitations of the production process, steel pipes with unqualified diameters still exist. In order to screen out qualified steel pipes and strictly monitor the production quality of steel pipes, the measurement of steel pipe diameters has become an important part of the steel pipe production process.
[0003] In the prior art, the diameter of the steel pipe is measured by the length of the laser refraction path. However, since the sensor is hoisted at the top of the diameter gauge, the laser sensor vibrates as the screw rod moves, which will interfere with the length of the laser propagation path at the same time as the unevenness of the abnormal area on the inner wall of the steel pipe. The influence of the vibration is not taken into account, resulting in poor accuracy of the diameter detection. Summary of the invention
[0004] In order to solve the technical problem that the vibration effect of the screw rod during movement is not considered, resulting in poor accuracy of diameter detection, the purpose of the present invention is to provide a steel pipe diameter measurement method and a measuring device for steel pipe production, and the technical scheme adopted is as follows:
[0005] The present invention provides a method for measuring the diameter of a steel pipe used in steel pipe production, the method comprising:
[0006] Obtain the path distance sensing values of the steel pipe to be tested at different positions at each preset angle to form a path distance sensing sequence for each preset angle;
[0007] A differential distance sequence of the path distance sensing sequence is obtained; a plurality of distribution interval points are obtained according to the distribution of data in the differential distance sequence; and a distinguishing evaluation of each distribution interval point is obtained according to the change trend of the data corresponding to each distribution interval point on the differential distance sequence;
[0008] At different preset angles, a position matrix is constructed according to the position distribution of the data on the path distance sensing sequence corresponding to each distribution interval point, and the marked position points in the position matrix are obtained; a merged area is obtained according to the relative distance between the marked position points in the position matrix; different elements in each merged area are angularly symmetrically mapped to obtain a comparison area corresponding to the merged area;
[0009] According to the difference in the number of corresponding positions of elements between each merged area and the comparison area, and the change in the distinguishing evaluation level, the marking parameters of each merged area are obtained; according to the relative position distribution of the elements in each merged area, the marking parameters are adjusted to obtain the weighted marking parameters of each merged area; according to the difference fluctuation trend of the weighted marking parameters between each merged area and the comparison area, the abnormal area is screened out;
[0010] The diameter of the steel pipe is measured according to the distribution of elements in the abnormal area on the diameter distance sensing sequence.
[0011] Furthermore, the method for obtaining the distribution interval points includes:
[0012] The mean of the data in all differential distance sequences is obtained as the first data mean; if there is data in the differential distance sequence that is greater than the first data mean, it is recorded as a distribution interval point.
[0013] Furthermore, the method for obtaining the differentiated evaluation includes:
[0014] Calculate the mean of the data corresponding to all distribution interval points on the differential distance sequence as the average distribution interval; obtain the difference between the data corresponding to each distribution interval point on the differential distance sequence and the average distribution interval as the interval difference;
[0015] Calculate the difference in the corresponding serial number between each distribution interval point and the minimum distribution interval point as the difference distance;
[0016] According to the interval difference and the difference distance corresponding to each distribution interval point, a distinction evaluation of each distribution interval point is obtained, the interval difference is positively correlated with the distinction evaluation, and the difference distance is negatively correlated with the distinction evaluation.
[0017] Furthermore, the method for acquiring the marked position points in the position matrix includes:
[0018] At each preset angle, calculating the mean of all data in the path distance sensing sequence as the second data mean;
[0019] Obtain the first difference between each data and the mean value of the second data on the path distance sensing sequence corresponding to each distribution interval point; select the position of the data with the largest first difference as the target position;
[0020] The preset angles from small to large are used as the row axis of the position matrix, the positions corresponding to the elements in the path distance sensing sequence are used as the column axis of the position matrix, and the target positions are marked in the position matrix as marked position points.
[0021] Furthermore, the method for obtaining the merged area includes:
[0022] Merge adjacent marking position points within a preset neighborhood to form multiple marking areas;
[0023] The position differences of different elements between the marked areas are obtained as relative distances; the average of the minimum relative distances of elements between all marked areas is obtained as the overall distance;
[0024] If the minimum relative distance between elements of the marked regions is smaller than the overall distance, the corresponding marked regions are regarded as the same type of marked regions, and the same type of marked regions of each marked region are obtained to form a merged region.
[0025] Furthermore, the method for obtaining the comparison area includes:
[0026] For each element in the merged area, determine whether the element at the symmetrical position is an element of the marked area. If so, use the element at the symmetrical position as the element in the comparison area. The element at the symmetrical position is an element that has the same column axis position as the merged area element in the position matrix and symmetrical row axis angle.
[0027] Furthermore, the method for obtaining the marking parameter includes:
[0028] For each merged region and compared region, obtaining a first ratio between the numbers of element positions;
[0029] The mean of the corresponding distinguishing evaluation of all elements in each region is obtained as the overall distinguishing evaluation level; the difference between the overall distinguishing evaluation levels of each merged region and all the comparison regions is obtained as the evaluation difference;
[0030] According to the first ratio and the evaluation difference of each merged region, a marking parameter of the corresponding merged region is obtained, and both the first ratio and the evaluation difference are positively correlated with the marking parameter.
[0031] Furthermore, the method for obtaining the weighted marking parameter includes:
[0032] Get the diagonal in the position matrix;
[0033] For each merged region, obtain the relative distance between each element and the diagonal line; obtain the mean of the corresponding relative distances of all elements as the average relative distance;
[0034] The accumulated difference value between the relative distance of all elements and the average relative distance is obtained, and the marking parameter is weighted according to the absolute value of the accumulated difference value to obtain the weighted marking parameter of each merged area.
[0035] Furthermore, the method for obtaining the abnormal area includes:
[0036] Calculate the difference between the weighted marking parameter of each merged area and the average weighted marking parameter of all compared areas as the first difference; obtain the standard deviation of all first differences;
[0037] After arranging the first difference values in descending order, the corresponding difference difference sequence is obtained; when the data in the difference difference sequence is greater than the standard deviation, the merged area of the corresponding data and all previous data corresponding to the first difference value and its comparison area are taken as the abnormal area.
[0038] The present invention also proposes a steel pipe diameter measuring device for steel pipe production, comprising a measuring mechanism, wherein the measuring mechanism comprises: a measuring probe and a detection station, wherein the detection station is used to place the steel pipe to be measured, and the steel pipe diameter measuring device for steel pipe production also comprises a controller, and a measuring sensor connected to the controller by signal; the measuring sensor is used to monitor the position, diameter distance and angle data of the steel pipe to be measured, and the controller obtains the diameter distance sensing values of the steel pipe to be measured at different positions under each preset angle, and constitutes a diameter distance sensing sequence for each preset angle;
[0039] A differential distance sequence of the path distance sensing sequence is obtained; a plurality of distribution interval points are obtained according to the distribution of data in the differential distance sequence; and a distinguishing evaluation of each distribution interval point is obtained according to the change trend of the data corresponding to each distribution interval point on the differential distance sequence;
[0040] At different preset angles, a position matrix is constructed according to the position distribution of the data on the path distance sensing sequence corresponding to each distribution interval point, and the marked position points in the position matrix are obtained; a merged area is obtained according to the relative distance between the marked position points in the position matrix; different elements in each merged area are angularly symmetrically mapped to obtain a comparison area corresponding to the merged area;
[0041] According to the difference in the number of corresponding positions of elements between each merged area and the comparison area, and the change in the distinguishing evaluation level, the marking parameters of each merged area are obtained; according to the relative position distribution of the elements in each merged area, the marking parameters are adjusted to obtain the weighted marking parameters of each merged area; according to the difference fluctuation trend of the weighted marking parameters between each merged area and the comparison area, the abnormal area is screened out;
[0042] The diameter of the steel pipe is measured according to the distribution of elements in the abnormal area on the diameter distance sensing sequence.
[0043] The present invention has the following beneficial effects:
[0044] The present invention can reveal the changing trend and pattern in the data and determine a plurality of distribution interval points by performing differential analysis on the path distance sensing sequence of the steel pipe to be tested at different preset angles; obtain the distinguishing evaluation of each distribution interval point according to the changing trend of the data corresponding to each distribution interval point in the differential distance sequence, and evaluate the distinction between the defective part and the normal part existing at the preset angle corresponding to each distribution interval point in the inner wall; then obtain the marked position points in the position matrix, obtain the merged area according to the relative distance between the marked position points in the position matrix, merge the marked position points in similar areas, and improve the calculation efficiency; perform angle symmetric mapping on different elements in each merged area, obtain the comparison area corresponding to the merged area, and have a more comprehensive understanding of the actual situation of the inner diameter of the steel pipe; according to The difference in the number of corresponding positions of elements between each merged area and the comparison area, as well as the change in distinguishing evaluation levels, are used to obtain the marking parameters of each merged area, reflecting the possibility of inner wall abnormality in each merged area; considering the vibration influence caused by the change in contact surface resistance due to the movement of the support unit at the defect, the marking parameters are adjusted according to the relative position distribution of the elements in each merged area to obtain the weighted marking parameters of each merged area; according to the difference fluctuation trend of the weighted marking parameters between each merged area and the comparison area, the abnormal area is screened out, and the location of the inner wall defect is determined to avoid affecting the measurement of the steel pipe diameter; according to the distribution of the elements in the abnormal area on the diameter distance sensing sequence, the distance sensing data corresponding to the abnormal area is removed to accurately measure the steel pipe diameter. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 A flow chart of a method for measuring the diameter of a steel pipe used in steel pipe production provided by one embodiment of the present invention;
[0047] Figure 2 A flow chart of a method for obtaining a differentiated evaluation provided by an embodiment of the present invention;
[0048] Figure 3 A flow chart of a method for obtaining a merged area provided by an embodiment of the present invention;
[0049] Figure 4 A flow chart of a method for obtaining marking parameters provided by an embodiment of the present invention;
[0050] Figure 5A flow chart of a method for obtaining weighted marking parameters provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a steel pipe diameter measurement method and measuring device for steel pipe production proposed by the present invention, its specific implementation method, structure, features and effects, in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0052] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0053] The following is a detailed description of a method and device for measuring the diameter of a steel pipe used in steel pipe production provided by the present invention in conjunction with the accompanying drawings.
[0054] See also Figure 1 , which shows a flow chart of a method for measuring the diameter of a steel pipe used in steel pipe production provided by an embodiment of the present invention, and the specific method includes:
[0055] Step S1: Obtain the path distance sensing values of the steel pipe to be tested at different positions at each preset angle to form a path distance sensing sequence for each preset angle.
[0056] In an embodiment of the present invention, in order to avoid the influence of vibration on the accuracy of the diameter measurement, it is necessary to collect and analyze the diameter data of the steel pipe to be measured; first, the steel pipe diameter measuring device used for steel pipe production includes a measuring mechanism, which includes: a measuring probe and a detection station, and the detection station is used to place the steel pipe to be measured. In this embodiment, the steel pipe to be measured is horizontally placed on the support unit of the detection station, and the measuring probe is moved to the pipe center position of the steel pipe to be measured for analysis. The measuring probe is rotated to different angles by a rotation control unit to measure in sequence from small to large. The measuring probe includes a sensor support unit for supporting the sensor to reduce the influence of vibration. The diameter laser distance sensor is used to obtain the diameter distance of the steel pipe to be measured, and the length laser distance sensor is used to obtain the position of the measuring probe at the steel pipe to be measured when it moves horizontally; the diameter distance sensing values of the steel pipe to be measured at different positions under each preset angle are obtained to form a diameter distance sensing sequence for each preset angle.
[0057] It should be noted that, in one embodiment of the present invention, the preset angle is specifically set by the implementer from a range of 0° to 360° from small to large according to the specific situation, which will not be elaborated here.
[0058] Step S2: obtaining a differential distance sequence of the path distance sensing sequence; obtaining a plurality of distribution interval points according to the distribution of data in the differential distance sequence of all preset angles; obtaining a distinguishing evaluation of each distribution interval point according to the change trend of the data corresponding to each distribution interval point on the differential distance sequence.
[0059] By calculating the difference of the sequence, the influence of noise in the sequence can be reduced, making the change trend more obvious, and revealing the change trend and pattern in the data, so as to better observe the volatility of the data. Therefore, a differential distance sequence of the path distance sensing sequence is obtained. It should be noted that the path distance sensing sequence is differentially processed to obtain a differential distance sequence; the specific differential processing is a numerical technical means of those skilled in the art, which will not be elaborated here.
[0060] Differential distance sequences at different angles may present different distribution characteristics, which helps to capture the change information from different perspectives; the distribution interval point is the most representative point in the data distribution, which may contain the difference position between the data segment representing the acquisition process and the abnormal vibration data segment, and can reflect the key characteristics and change rules of the data. Therefore, according to the distribution of data in the differential distance sequence of all preset angles, multiple distribution interval points are obtained.
[0061] Preferably, in one embodiment of the present invention, the method for acquiring the distribution interval points includes:
[0062] The mean of the data in all differential distance sequences is obtained as the first data mean; if there is data in the differential distance sequence that is greater than the first data mean, it is recorded as a distribution interval point.
[0063] The changing trend of the data in the differential distance sequence can reveal the dynamic behavior of the data at different time or space intervals, and can evaluate the discrimination of each distribution interval point more comprehensively and accurately. Therefore, according to the changing trend of the data corresponding to each distribution interval point in the differential distance sequence, the discrimination evaluation of each distribution interval point is obtained.
[0064] Preferably, in one embodiment of the present invention, the method for obtaining the differentiated evaluation is as follows: Figure 2 , which shows a flow chart of a method for obtaining a differentiated evaluation provided by an embodiment of the present invention, the method comprising:
[0065] Step S201: Calculate the mean of the data corresponding to all distribution interval points on the differential distance sequence as the average distribution interval; obtain the difference between the data corresponding to each distribution interval point on the differential distance sequence and the average distribution interval as the interval difference.
[0066] It should be noted that the average distribution interval is represented by calculating the mean of the corresponding data of all distribution interval points on the differential distance sequence. The larger the mean, the larger the average distribution interval, which means that the overall distribution interval level on the differential distance sequence is larger; by comparing the corresponding data of each distribution interval point with the average distribution interval, the data change trend at each point can be standardized. The larger the interval difference, the larger the interval at the corresponding distribution interval point relative to the average distribution interval, and the greater the difference in path distance measurement, that is, the more likely there is a larger anomaly.
[0067] In other embodiments of the present invention, the average distribution interval may also be represented by obtaining the median of the data corresponding to all distribution interval points. The larger the median, the larger the average distribution interval.
[0068] Step S202: Calculate the difference in the corresponding serial number between each distribution interval point and the minimum distribution interval point as the difference distance.
[0069] Since the jitter caused by vibration usually manifests itself as an instantaneous or rapidly changing phenomenon, the minimum distribution interval point, that is, the data corresponding to the point with the smallest distribution interval in the differential distance sequence, reflects the point where jitter may occur. The smaller the difference distance means that the distribution interval point is closer to the minimum distribution interval point in the time series, making the data at the corresponding position more likely to be affected by the jitter caused by vibration.
[0070] Step S203: Obtain the discrimination evaluation of each distribution interval point according to the interval difference and difference distance corresponding to each distribution interval point. The interval difference is positively correlated with the discrimination evaluation, and the difference distance is negatively correlated with the discrimination evaluation.
[0071] Among them, the positive correlation indicates that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases, that is, the larger the interval difference, the larger the corresponding differential distance of each distribution interval point and the average distribution interval, the larger the differential distance of the corresponding distribution interval point, the greater the possibility of abnormal conditions, and the greater the differentiation evaluation; the negative correlation indicates that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases, that is, the smaller the difference distance, the closer the corresponding distribution interval point is to the minimum distribution interval point, the closer the distribution interval point is to the jitter caused by vibration, and the higher the differentiation evaluation.
[0072] In one embodiment of the present invention, the formula for distinguishing the evaluation is expressed as:
[0073] ;
[0074] in, Indicates the distribution interval point Differentiated evaluation; Indicates the distribution interval point Corresponding data; Represents the data mean corresponding to all distribution interval points, that is, the average distribution interval; Indicates the minimum distribution interval point; Indicates the distribution interval point and the minimum distribution interval point The difference in the corresponding serial numbers between them is the difference distance.
[0075] In the formula for distinguishing evaluation, Indicates the calculation distribution interval point The difference between the corresponding data and the mean of the data corresponding to all distribution interval points. The larger the difference, the larger the data of the corresponding distribution interval point, that is, the larger the difference distance, the more likely it is that a large deviation has occurred due to abnormal conditions, and the higher the discrimination evaluation; In order to avoid the formula being 0, the larger the difference distance is, the closer it is to the minimum distribution interval point, that is, the larger the difference in the timing of the deviation is, the smaller the possibility of jitter is, and the smaller the distinction evaluation is.
[0076] Step S3: Under different preset angles, according to the position distribution of the data on the path distance sensing sequence corresponding to each distribution interval point, a position matrix is constructed, and the marked position points in the position matrix are obtained; according to the relative distance between the marked position points in the position matrix, a merged area is obtained; different elements in each merged area are angularly symmetrically mapped to obtain a comparison area corresponding to the merged area.
[0077] Since the path distance sensing sequence usually contains a large number of data points, directly processing this data is not only inefficient, but also difficult to directly extract useful information from it. By analyzing the position distribution of the data on the path distance sensing sequence corresponding to each distribution interval point, those data points with defects in position can be identified, which are more likely to be the marked position points of important analysis. The position matrix is an effective way to organize data. It arranges the data points according to their positions in space, so that the spatial distribution characteristics of the data can be understood more intuitively. Therefore, at different preset angles, according to the position distribution of the data on the path distance sensing sequence corresponding to each distribution interval point, the marked position points in the position matrix are obtained.
[0078] Preferably, in one embodiment of the present invention, a method for acquiring a marking position point of a position matrix includes:
[0079] At each preset angle, calculating the mean of all data in the path distance sensing sequence as the second data mean;
[0080] Obtain the first difference between each data and the mean value of the second data on the path distance sensing sequence corresponding to each distribution interval point; select the position of the data with the largest first difference as the target position;
[0081] The preset angles from small to large are used as the row axis of the position matrix, and the positions corresponding to the elements in the path distance sensing sequence are used as the column axis of the position matrix. The target position is marked in the position matrix as the marked position point. The position matrix can clearly show the data changes of the steel pipe at different angles and positions.
[0082] In data analysis, similar areas need to be clustered together to better understand and interpret the data. By analyzing the relative distances between the marked position points, we can identify which ranges of position points are closer in data features, so as to merge them and reduce the analysis errors caused by data dispersion. Therefore, the merged area is obtained according to the relative distances between the marked position points in the position matrix.
[0083] Preferably, in one embodiment of the present invention, the method for obtaining the merged area can be found in Figure 3 , which shows a flow chart of a method for obtaining a merged area provided by an embodiment of the present invention, the method comprising:
[0084] Step S301: merging adjacent marking position points within a preset neighborhood to form a plurality of marking areas.
[0085] It should be noted that, in one embodiment of the present invention, the preset neighborhood range is a 3×3 neighborhood range centered on the marked position point. In other embodiments of the present invention, the size of the preset neighborhood range can be analyzed according to specific circumstances and is not limited or elaborated here.
[0086] Step S302: obtaining the position difference of different elements between the marked areas as the relative distance; obtaining the average of the minimum relative distances of the elements between all the marked areas as the overall distance.
[0087] It should be noted that the distribution of the marked areas is reflected by analyzing the position differences of different elements between the marked areas. The greater the position difference, the less similar regional features exist between the marked areas.
[0088] Step S303: If the minimum relative distance between elements of the marked areas is smaller than the overall distance, the corresponding marked areas are regarded as the same type of marked areas, and the same type of marked areas of each marked area are obtained to form a merged area.
[0089] For matrices with a large number of rows and columns, the computational complexity is often very high. The computational efficiency can be improved by merging similar regions and performing local analysis.
[0090] When there is an abnormal defect on the inner diameter of the copper tube, the sensor obtains an abnormal path distance. When it moves to the symmetrical angle, the sensor support unit may shake at the defect, which causes the sensor to obtain an abnormal path distance. Therefore, by measuring under angle symmetrical mapping, the differences in the corresponding areas can be captured, thereby gaining a more comprehensive understanding of the actual situation of the inner diameter of the copper tube. Angle mapping helps to extract the characteristic information of the elements in the merged area; angle symmetrical mapping is performed on different elements in each merged area to obtain the comparison area corresponding to the merged area.
[0091] Preferably, in one embodiment of the present invention, the method for obtaining the comparison area includes:
[0092] For each element in the merged area, determine whether the element at the symmetrical position is an element of the marked area. If so, use the element at the symmetrical position as the element in the comparison area. The element at the symmetrical position is an element that has the same column axis position as the merged area element in the position matrix and symmetrical row axis angle.
[0093] It should be noted that, in one embodiment of the present invention, angle symmetry is to adjust the preset angle by 180°. If the adjusted angle is greater than 360°, the excess degrees will be recalculated from 0. As an example, in the position matrix, if the corresponding angle of the element in the merged area is 60°, that is, the angle is 240° after symmetrical mapping, the symmetrical position is the angle at 240° and the column axis positions are equal; if the corresponding angle of the element in the merged area is 190°, that is, the angle is 10° after symmetrical mapping, the symmetrical position is the angle at 10° and the column axis positions are equal, if the element in the symmetrical position is an element of the marked area, the element merged area is the element of the comparison area.
[0094] Step S4: According to the difference in the number of corresponding positions of elements between each merged area and the comparison area, and the change in distinguishing evaluation level, the marking parameters of each merged area are obtained; according to the position distribution of each element in each merged area, the marking parameters are adjusted to obtain the weighted marking parameters of each merged area; according to the difference fluctuation trend of the weighted marking parameters between each merged area and the comparison area, the abnormal area is screened out.
[0095] The discrimination evaluation indicates the possibility of abnormality in the steel pipe at each position. The larger the discrimination evaluation, the more likely it is that an abnormality exists. By analyzing the changes in the discrimination evaluation level between the merged area and the comparison area, the abnormality of the corresponding positions in the merged area and the comparison area is judged; because the inner wall abnormality causes abnormality in the path distance sensor, and the screw vibration occurs for a long time and the vibration environment is relatively random, the position distribution generated in the area between the screw vibration and the inner wall abnormality is not similar, the less consistent the number of positions, the less likely it is to be affected by the inner wall abnormality; the more abnormal the defects of the inner wall of the steel pipe itself are, not only will it cause fluctuations in the path laser distance sensor, but also when the support unit moves to the inner wall defect position, the support unit cannot be close to the inner wall, which will cause the vibration during measurement to be affected. Therefore, the position distribution generated in the corresponding area is more similar, the more consistent the number of positions, the larger the marking parameter; according to the difference in the number of corresponding positions of the elements between each merged area and the comparison area, and the changes in the discrimination evaluation level, the marking parameter of each merged area is obtained.
[0096] Preferably, in one embodiment of the present invention, the method for obtaining the marking parameter can be found in Figure 4 , which shows a flow chart of a method for obtaining a marking parameter provided by an embodiment of the present invention, the method comprising:
[0097] Step S401: For each merging region and comparing region, obtain a first ratio between the numbers of element positions.
[0098] Since the inner wall defect will not affect the area and degree of the defect as the angle changes, when the through-path laser distance sensor and the support module move to the defect position, the measured dimensions between the generated abnormal area and its comparison area are similar, that is, the more consistent the number of corresponding positions of elements between the merged area and the comparison area, the larger the first ratio, and the greater the possibility that it is an abnormal area.
[0099] Step S402: obtaining the mean of the corresponding distinction evaluations of all elements in each region as the overall distinction evaluation level; obtaining the difference between the overall distinction evaluation levels of each merged region and all compared regions as the evaluation difference.
[0100] In order to comprehensively reflect the overall situation of the corresponding discrimination evaluation of the elements in each region, the corresponding discrimination evaluation of all elements in each region is quantified by the averaging method to obtain the overall discrimination evaluation level; if the evaluation difference is smaller, the overall discrimination evaluation level of each merged region is closer to the overall discrimination evaluation level of the comparison region, and the possibility of abnormality is higher.
[0101] Step S403: obtaining a marking parameter corresponding to each merged region according to the first ratio and the evaluation difference of each merged region.
[0102] In one embodiment of the present invention, the formula of the marking parameter is expressed as:
[0103] ;
[0104] in, Indicates the merged area The tag parameter of Indicates the merged area The number of element positions in ; Indicates the merged area the number of corresponding element positions in the contrasting regions of ; Indicates the merged area The mean of the distinguishing evaluation in the merged region The overall level of differentiation evaluation; Indicates the merged area The mean of the discrimination evaluation of all contrasting areas in , that is, the overall discrimination evaluation level of all contrasting areas; Represents the first-order derivative of the nonlinear activation function.
[0105] In the formula for the labeled parameter, Indicates calculation of merged area The number of corresponding element positions and merged areas in the comparison area The ratio of the number of element positions in the merged area. The larger the ratio, the more similar the position distribution of the corresponding elements between the merged area and the comparison area, and the higher the similarity between the corresponding merged area and the abnormal area. Indicates calculation of merged area Distinguishing between evaluation mean and merged regions in The difference between the mean values of the distinguishing evaluations of all contrasting regions in the , i.e. the evaluation difference. The closer the evaluation difference is to 0, the more likely the region is to be merged. The closer the mean value of the discrimination evaluation in is to the mean value of the discrimination evaluation in the comparison area, the higher the possibility that the merged area corresponds to the abnormality of the inner wall of the steel pipe.
[0106] It should be noted that The formula of the function is ,in, For variables, when The closer it is to 0, the larger the result. The first derivative of the function will be Mapped to between 0 and 1, when The closer it is to 0, that is, Close to 0, When it is close to 0, the larger the standard parameter is, the higher the possibility of abnormality is. The algorithm of the function is a technical means well known to those skilled in the art and will not be elaborated here.
[0107] Since the sensor support unit contacts the steel pipe contact surface during the measurement process, the contact surface resistance changes, affecting the vibration suppression effect; there are differences in the changes in position distance, resulting in large changes in contact surface resistance, and the increase in vibration intensity affects the correlation between abnormal path distances. By analyzing the relative position distribution of the elements, the impact at the position is quantified, and the marking parameters are adjusted to more accurately reflect the actual impact of vibration on position changes; the marking parameters are adjusted according to the relative position distribution of the elements in each merged area to obtain the weighted marking parameters of each merged area.
[0108] Preferably, in one embodiment of the present invention, the method for obtaining the weighted marking parameter can be found in Figure 5 , which shows a flow chart of a method for obtaining weighted marking parameters provided by an embodiment of the present invention, the method comprising:
[0109] Step S501: Obtain the diagonal lines in the position matrix.
[0110] Since the preset angles from small to large are used as the row axis of the position matrix, and the corresponding positions of the elements in the path distance sensing sequence are used as the column axis of the position matrix, the diagonal line represents the initial position of the minimum angle and the final position of the maximum angle, that is, the line connecting the corresponding elements between the initial moment of the minimum angle and the final moment of the maximum angle reflects the change of the data and can be used as a baseline in the entire measurement process and a basis for comparison with other position data.
[0111] Step S502: For each merged region, obtain the relative distance between each element and the diagonal line; obtain the mean of the relative distances corresponding to all elements as the average relative distance.
[0112] It should be noted that the distance between each element and the diagonal is the distance from the position of this element to the foot of the perpendicular line through the element, which is used as the relative distance; it is used to quantify the relative position characteristics of each position in the region; evaluate the spatial distribution characteristics of the positions in the region; and reflect the level of overall position distribution in the corresponding merged region by analyzing the mean of the corresponding relative distances of all elements.
[0113] Step S503: Obtain the accumulated difference value between the relative distance of all elements and the average relative distance, and weight the marking parameter according to the absolute value of the accumulated difference value to obtain the weighted marking parameter of each merged area.
[0114] By calculating the relative distance of each element to the diagonal and finding the difference between it and the average relative distance, the degree of deviation of each position in the area relative to the overall position distribution level can be quantified, reflecting the unevenness or variability of the position distribution. The larger the absolute value of the accumulated difference value, the more uneven the position distribution is, the more differences exist, and the more obvious the change in resistance on the contact surface is; the smaller the absolute value of the accumulated difference value, the more uniform the position distribution is, and the more uniform the resistance on the contact surface is, and the marking parameters can be analyzed.
[0115] Inner wall defects usually cause the vibration characteristics of the local area to be different from other normal areas. The weighted marking parameters not only take into account the influence of vibration, but also combine the abnormal characteristics that may exist in the area itself. Therefore, by comparing the difference fluctuations of the weighted marking parameters of each merged area with those of the comparison area, those areas that deviate significantly from the normal range can be identified, which are likely to be abnormal areas with inner wall defects. Therefore, according to the difference fluctuation trend of the weighted marking parameters between each merged area and the comparison area, the abnormal area is screened out.
[0116] Preferably, in one embodiment of the present invention, the method for acquiring the abnormal area includes:
[0117] Calculate the difference between the weighted marking parameter of each merged area and the average weighted marking parameter of all compared areas as the first difference; obtain the standard deviation of all first differences;
[0118] After arranging the first difference values in descending order, the corresponding difference difference sequence is obtained; when the data in the difference difference sequence is greater than the standard deviation, the merged area of the corresponding data and all previous data corresponding to the first difference value and its comparison area are taken as the abnormal area.
[0119] Step S5: measuring the diameter of the steel pipe according to the distribution of the elements in the abnormal area on the diameter distance sensing sequence.
[0120] Analyze the possible abnormal positions to avoid the influence of subsequent data calculation and improve the accuracy of path measurement; measure the diameter of the steel pipe according to the distribution of elements in the abnormal area on the path distance sensing sequence.
[0121] Since the measurement is performed at the center of the steel pipe, in other embodiments of the present invention, the data on the path distance sensing sequence corresponding to the elements in the abnormal area are removed, and the mean of other data on all path distance sensing sequences is calculated as the data mean; the sum of the data mean and the data mean is calculated and added to the thickness of the sensor unit obtained in advance by the implementer to obtain the measurement value corresponding to the steel pipe diameter.
[0122] In summary, the present invention analyzes the differential change trend of the data on the path distance sensing sequence to obtain multiple distribution interval points; at different preset angles, according to the position distribution of the data on the path distance sensing sequence corresponding to each distribution interval point, obtain the marked position point in the position matrix; obtain the merged area of the marked position point and the corresponding comparison area; according to the quantitative difference of the corresponding positions of the elements and the change of the distinguishing evaluation level, obtain the marking parameters of each merged area; combine the position distribution of the elements in each merged area to obtain the weighted marking parameters of each merged area; according to the difference fluctuation trend of the weighted marking parameters, screen out the abnormal area; measure the diameter of the steel pipe. The present invention analyzes the accurate marking parameters of each area by considering the influence of vibration, thereby improving the accuracy of the path measurement.
[0123] Based on the same application concept as the steel pipe diameter measurement method for steel pipe production provided in the embodiment of the present application, the present embodiment also proposes a steel pipe diameter measurement device for steel pipe production, the measuring mechanism includes: a measuring probe and a detection station, the detection station is used to place the steel pipe to be measured, and the steel pipe diameter measurement device for steel pipe production also includes a controller and a measuring sensor connected to the controller signal; the measuring sensor is used to monitor the position, diameter distance and angle data of the steel pipe to be measured, and the controller obtains the diameter distance sensing value of the steel pipe to be measured at different positions under each preset angle, and constitutes a diameter distance sensing sequence for each preset angle;
[0124] A differential distance sequence of the path distance sensing sequence is obtained; a plurality of distribution interval points are obtained according to the distribution of data in the differential distance sequence; and a distinguishing evaluation of each distribution interval point is obtained according to the change trend of the data corresponding to each distribution interval point on the differential distance sequence;
[0125] At different preset angles, a position matrix is constructed according to the position distribution of the data on the path distance sensing sequence corresponding to each distribution interval point, and the marked position points in the position matrix are obtained; a merged area is obtained according to the relative distance between the marked position points in the position matrix; different elements in each merged area are angularly symmetrically mapped to obtain a comparison area corresponding to the merged area;
[0126] According to the difference in the number of corresponding positions of elements between each merged area and the comparison area, and the change in the distinguishing evaluation level, the marking parameters of each merged area are obtained; according to the relative position distribution of the elements in each merged area, the marking parameters are adjusted to obtain the weighted marking parameters of each merged area; according to the difference fluctuation trend of the weighted marking parameters between each merged area and the comparison area, the abnormal area is screened out;
[0127] The diameter of the steel pipe is measured according to the distribution of elements in the abnormal area on the diameter distance sensing sequence.
[0128] It should be noted that the system provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device can be divided into different functional modules to complete all or part of the functions described above.
[0129] It should be understood that the system provided in this embodiment is used to execute the above-mentioned steel pipe diameter measurement method for steel pipe production, and therefore has the same beneficial effects as the method adopted, run or implemented by the application program stored therein.
[0130] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0131] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A method for measuring the diameter of a steel pipe used in steel pipe production, characterized in that: The method comprises: Obtain the path distance sensing values of the steel pipe to be tested at different positions at each preset angle to form a path distance sensing sequence for each preset angle; A differential distance sequence of the path distance sensing sequence is obtained; a plurality of distribution interval points are obtained according to the distribution of data in the differential distance sequence; and a distinguishing evaluation of each distribution interval point is obtained according to the change trend of the data corresponding to each distribution interval point on the differential distance sequence; At different preset angles, a position matrix is constructed according to the position distribution of the data on the path distance sensing sequence corresponding to each distribution interval point, and the marked position points in the position matrix are obtained; a merged area is obtained according to the relative distance between the marked position points in the position matrix; different elements in each merged area are angularly symmetrically mapped to obtain a comparison area corresponding to the merged area; According to the difference in the number of corresponding positions of elements between each merged area and the comparison area, and the change in the distinguishing evaluation level, the marking parameters of each merged area are obtained; according to the relative position distribution of the elements in each merged area, the marking parameters are adjusted to obtain the weighted marking parameters of each merged area; according to the difference fluctuation trend of the weighted marking parameters between each merged area and the comparison area, the abnormal area is screened out; According to the distribution of elements in the abnormal area on the path distance sensing sequence, the diameter of the steel pipe is measured; The method for acquiring the differential distance sequence is to perform differential processing on the path distance sensing sequence to obtain the differential distance sequence; The method for obtaining the distribution interval points comprises: The mean of the data in all differential distance sequences is obtained as the first data mean; if there is data in the differential distance sequence that is greater than the first data mean, it is recorded as a distribution interval point.
2. A method for measuring the diameter of a steel pipe used in steel pipe production according to claim 1, characterized in that: The method for obtaining the differentiated evaluation includes: Calculate the mean of the data corresponding to all distribution interval points on the differential distance sequence as the average distribution interval; obtain the difference between the data corresponding to each distribution interval point on the differential distance sequence and the average distribution interval as the interval difference; Calculate the difference in the corresponding serial number between each distribution interval point and the minimum distribution interval point as the difference distance; According to the interval difference and the difference distance corresponding to each distribution interval point, a distinction evaluation of each distribution interval point is obtained, the interval difference is positively correlated with the distinction evaluation, and the difference distance is negatively correlated with the distinction evaluation.
3. A method for measuring the diameter of a steel pipe used in steel pipe production according to claim 1, characterized in that: The method for acquiring the marked position points in the position matrix comprises: At each preset angle, calculating the mean of all data in the path distance sensing sequence as the second data mean; Obtain the first difference between each data and the mean value of the second data on the path distance sensing sequence corresponding to each distribution interval point; select the position of the data with the largest first difference as the target position; The preset angles from small to large are used as the row axis of the position matrix, the positions corresponding to the elements in the path distance sensing sequence are used as the column axis of the position matrix, and the target positions are marked in the position matrix as marked position points.
4. A method for measuring the diameter of a steel pipe used in steel pipe production according to claim 1, characterized in that: The method for obtaining the merged area includes: Merge adjacent marking position points within a preset neighborhood to form multiple marking areas; The position differences of different elements between the marked areas are obtained as relative distances; the average of the minimum relative distances of elements between all marked areas is obtained as the overall distance; If the minimum relative distance between elements of the marked regions is smaller than the overall distance, the corresponding marked regions are regarded as the same type of marked regions, and the same type of marked regions of each marked region are obtained to form a merged region.
5. A method for measuring the diameter of a steel pipe used in steel pipe production according to claim 4, characterized in that: The method for obtaining the comparison area includes: For each element in the merged area, determine whether the element at the symmetrical position is an element of the marked area. If so, use the element at the symmetrical position as the element in the comparison area. The element at the symmetrical position is an element that has the same column axis position as the merged area element in the position matrix and symmetrical row axis angle.
6. A method for measuring the diameter of a steel pipe used in steel pipe production according to claim 1, characterized in that: The method for obtaining the marking parameter includes: For each merged region and compared region, obtaining a first ratio between the numbers of element positions; The mean of the corresponding distinguishing evaluation of all elements in each region is obtained as the overall distinguishing evaluation level; the difference between the overall distinguishing evaluation levels of each merged region and all the comparison regions is obtained as the evaluation difference; According to the first ratio and the evaluation difference of each merged region, a marking parameter of the corresponding merged region is obtained, and both the first ratio and the evaluation difference are positively correlated with the marking parameter.
7. A method for measuring the diameter of a steel pipe used in steel pipe production according to claim 1, characterized in that: The method for obtaining the weighted marking parameter includes: Get the diagonal in the position matrix; For each merged region, obtain the relative distance between each element and the diagonal line; obtain the mean of the corresponding relative distances of all elements as the average relative distance; The accumulated difference value between the relative distance of all elements and the average relative distance is obtained, and the marking parameter is weighted according to the absolute value of the accumulated difference value to obtain the weighted marking parameter of each merged area.
8. A method for measuring the diameter of a steel pipe used in steel pipe production according to claim 1, characterized in that: The method for obtaining the abnormal area includes: Calculate the difference between the weighted marking parameter of each merged area and the average weighted marking parameter of all compared areas as the first difference; obtain the standard deviation of all first differences; After arranging the first difference values in descending order, the corresponding difference difference sequence is obtained; when the data in the difference difference sequence is greater than the standard deviation, the merged area of the corresponding data and all previous data corresponding to the first difference value and its comparison area are taken as the abnormal area.
9. A steel pipe diameter measuring device for steel pipe production, comprising a measuring mechanism, the measuring mechanism comprising: A measuring probe and a detection station, wherein the detection station is used to place the steel pipe to be tested, and is characterized in that the steel pipe diameter measuring device for steel pipe production also includes a controller and a measuring sensor connected to the controller by signal; the measuring sensor is used to monitor the position, diameter distance and angle data of the steel pipe to be tested, and the controller obtains the diameter distance sensing values of the steel pipe to be tested at different positions under each preset angle, forming a diameter distance sensing sequence for each preset angle; A differential distance sequence of the path distance sensing sequence is obtained; a plurality of distribution interval points are obtained according to the distribution of data in the differential distance sequence; and a distinguishing evaluation of each distribution interval point is obtained according to the change trend of the data corresponding to each distribution interval point on the differential distance sequence; At different preset angles, a position matrix is constructed according to the position distribution of the data on the path distance sensing sequence corresponding to each distribution interval point, and the marked position points in the position matrix are obtained; a merged area is obtained according to the relative distance between the marked position points in the position matrix; different elements in each merged area are angularly symmetrically mapped to obtain a comparison area corresponding to the merged area; According to the difference in the number of corresponding positions of elements between each merged area and the comparison area, and the change in the distinguishing evaluation level, the marking parameters of each merged area are obtained; according to the relative position distribution of the elements in each merged area, the marking parameters are adjusted to obtain the weighted marking parameters of each merged area; according to the difference fluctuation trend of the weighted marking parameters between each merged area and the comparison area, the abnormal area is screened out; According to the distribution of elements in the abnormal area on the path distance sensing sequence, the diameter of the steel pipe is measured; The method for acquiring the differential distance sequence is to perform differential processing on the path distance sensing sequence to obtain the differential distance sequence; The method for obtaining the distribution interval points comprises: The mean of the data in all differential distance sequences is obtained as the first data mean; if there is data in the differential distance sequence that is greater than the first data mean, it is recorded as a distribution interval point.
