Visual measurement method and related equipment for ring shape change during hot ring rolling

By collecting and processing ring images with high-speed cameras, precise morphological measurement during the hot rolling process of rings is achieved, which solves the problem of difficult control of morphological changes in the existing technology and improves the stability and efficiency of the rolling process.

CN115100106BActive Publication Date: 2024-10-29JIANGHAN UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210516373.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-12
Publication Date
2024-10-29
Estimated Expiration
2042-05-12

AI Technical Summary

Technical Problem

It is difficult to accurately measure the morphological changes of the ring in real time during the existing ring hot rolling process, which makes it difficult to control the rolling process and affects the ring forming quality and efficiency.

Method used

A high-speed camera is used to collect the ring image. Through frame sampling, preprocessing, image edge extraction, contour extraction, least squares fitting and segmented sampling, the precise morphological data of the ring is obtained and the rolling parameters are adjusted in real time.

Benefits of technology

It achieves accurate morphological measurement during the hot rolling process of rings, improves the stability and efficiency of the rolling process, and ensures the improvement of ring quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115100106B_ABST
    Figure CN115100106B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a visual measurement method and related equipment for the morphological changes of rings during hot rolling of rings. The method includes: collecting the image of the rings during hot rolling by a high-speed camera; sampling the ring images to obtain a first image; preprocessing the first image to obtain a second image, wherein the preprocessing includes ROI region extraction processing and threshold processing; performing image edge extraction processing on the second image to obtain a third image; performing contour extraction processing on the third image to obtain a fourth image; filtering the drive roller image and the core roller image in the fourth image to obtain a fifth image; performing least squares fitting filtering on the fifth image to filter out abnormal points in the fifth image to obtain a sixth image; performing segmented sampling on the contour points of the rings in the sixth image to obtain sampling data; and measuring the rings according to the sampling data. This scheme can accurately measure the morphological changes of rings during hot rolling of rings.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a visual measurement method and related equipment for ring morphology changes during hot-rolling of rings. Background Art

[0002] In the current ring production, the size of the rollers in the rolling mill and the movement specifications of the rollers are designed after theoretical calculations, and automatic rolling is performed during production. It is difficult to control the changes in the shape and size of the rings during the rolling process. Generally, a rounding stage is added at the end of the rolling process to improve the roundness of the rings. However, in the automated rolling process, it is difficult to control the parameters that affect the quality of the ring forming, such as the change in the roundness of the rings, the maximum difference in the ring size, the swing of the rings, and the rolling vibration. Therefore, it is necessary to understand the morphological changes of the ring rolling process and study the influencing mechanism of the morphological changes, so as to adjust the rolling process parameters in real time, so that the rolling process can achieve real-time steady-state rolling and improve the quality of the rings and rolling efficiency.

[0003] Existing research on the measurement methods of rings includes laser, industrial vision and other types of contact measurement. Most of these measurement methods are based on cold rolling, or use laser beam systems to obtain the size of the cooled rings. These methods can only obtain local features, are costly, and have limited usage scenarios. During the hot ring rolling process, a large amount of oxide scale will fly out, resulting in poor accuracy of the above methods and unrealistic results. Summary of the invention

[0004] The embodiments of the present application provide a visual measurement method and related equipment for the morphological changes of rings during hot-rolling of rings, which can accurately measure the morphological changes of rings during hot-rolling of rings.

[0005] In a first aspect, an embodiment of the present application provides a method for visually measuring the morphological changes of a ring during hot rolling of a ring, which comprises:

[0006] The ring image of the ring being hot-rolled is collected by a high-speed camera;

[0007] Performing frame sampling on the ring image according to a preset frame sampling frequency to obtain a first image;

[0008] Preprocessing the first image to obtain a second image, wherein the preprocessing includes ROI region extraction processing and threshold processing;

[0009] Performing image edge extraction processing on the second image to obtain a third image;

[0010] Performing contour extraction processing on the third image to obtain a fourth image;

[0011] filtering the driving roller image and the core roller image in the fourth image to obtain a fifth image;

[0012] Performing least squares fitting filtering on the fifth image to filter out abnormal points in the fifth image to obtain a sixth image;

[0013] Segmentally sampling the contour points of the ring in the sixth image to obtain sampling data;

[0014] The ring is measured according to the sampling data.

[0015] In some embodiments, preprocessing the first image to obtain the second image includes:

[0016] Cropping the first image to obtain a ROI area image of the ring;

[0017] The ROI region image is binarized according to a preset threshold to obtain the second image.

[0018] In some embodiments, filtering the driving roller image and the core roller image in the fourth image to obtain the fifth image includes:

[0019] Filtering the core roller image according to the coordinates of the inner contour points of the ring in the fourth image and a preset inner contour point filtering formula;

[0020] The drive roller image is filtered according to the coordinates of the outer contour points of the ring in the fourth image and a preset outer contour point filtering formula to obtain the fifth image.

[0021] In some embodiments, performing least squares fitting filtering on the fifth image to filter out abnormal points in the fifth image to obtain a sixth image includes:

[0022] Performing least squares fitting on the coordinates of the contour points in the fifth image to obtain the coordinates of the fitting circle center of the ring;

[0023] Determine the abnormal point according to the distance from the contour point to the center of the fitting circle;

[0024] The outliers in the fifth image are removed to obtain the sixth image.

[0025] In some embodiments, the segmented sampling of the contour points of the ring in the sixth image to obtain the sampling data includes:

[0026] The contour points of the ring in the sixth image are sampled in sections at intervals of 10 degrees to obtain the sampling data containing 36 sampling points.

[0027] In some embodiments, measuring the ring according to the sampled data includes:

[0028] According to the sampling data, respectively calculate the inner ring center coordinate change curve, outer ring center coordinate change curve, inner ring radius change curve, outer ring radius change curve, inner and outer ring center distance change curve, and inner and outer ring radius difference change curve within the current time period of the ring; and,

[0029] The ring exit roll variation curve, the ring entry roll variation curve and the lowest point radius variation curve are calculated according to the sampling data.

[0030] In some embodiments, after measuring the ring according to the sampling data, the method further includes:

[0031] determining a current size of the ring according to the sampled data;

[0032] Determine the control parameters of the rolling mill according to the difference between the current size and the preset target size;

[0033] The rolling mill is controlled according to the control parameters.

[0034] In a second aspect, the present application also provides a visual measurement device for the morphological changes of rings during hot rolling of rings, which includes: a collection unit and a processing unit:

[0035] The acquisition unit is used to acquire the ring image of the ring being hot-rolled by means of a high-speed camera;

[0036] The processing unit is used to perform frame sampling on the ring image according to a preset frame sampling frequency to obtain a first image; perform preprocessing on the first image to obtain a second image, wherein the preprocessing includes ROI area extraction processing and threshold processing; perform image edge extraction processing on the second image to obtain a third image; perform contour extraction processing on the third image to obtain a fourth image; filter the drive roller image and the core roller image in the fourth image to obtain a fifth image; perform least squares fitting filtering on the fifth image to filter out abnormal points in the fifth image to obtain a sixth image; perform segmented sampling on the contour points of the ring in the sixth image to obtain sampling data; and measure the ring according to the sampling data.

[0037] In a third aspect, an embodiment of the present application further provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.

[0038] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and wherein the program instructions can implement the above method when executed by a processor.

[0039] The embodiment of the present application provides a visual measurement method and related equipment for the morphological changes of rings during hot rolling of rings. The method includes: collecting the image of the rings undergoing hot rolling by a high-speed camera; sampling the image of the rings according to a preset frame sampling frequency to obtain a first image; preprocessing the first image to obtain a second image, wherein the preprocessing includes ROI area extraction processing and threshold processing; performing image edge extraction processing on the second image to obtain a third image; performing contour extraction processing on the third image to obtain a fourth image; filtering the drive roller image and the core roller image in the fourth image to obtain a fifth image; performing least squares fitting filtering on the fifth image to filter out abnormal points in the fifth image to obtain a sixth image; performing segmented sampling on the contour points of the rings in the sixth image to obtain sampling data; and measuring the rings according to the sampling data. Through this solution, the morphological changes of the rings can be accurately measured during hot rolling of rings. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0041] Figure 1 A schematic diagram of an application scenario of the visual measurement method for ring morphology changes during hot rolling of rings provided in an embodiment of the present application;

[0042] Figure 2 A schematic flow chart of a method for visually measuring the morphological changes of rings during hot rolling of rings provided in an embodiment of the present application;

[0043] Figure 3 A schematic diagram of an image during image processing in a method for visually measuring ring morphology changes during hot rolling of rings provided in an embodiment of the present application;

[0044] Figure 4 A schematic diagram of a curve showing changes in the position and radius of a ring in a visual measurement method for changes in the shape of a ring during hot rolling of a ring provided in an embodiment of the present application;

[0045] Figure 5A schematic diagram of a curve showing the radius variation of the entry and exit rollers and the lowest point of a ring in a visual measurement method for the ring shape variation during hot rolling of a ring provided in an embodiment of the present application;

[0046] Figure 6 A schematic flow chart of a method for visually measuring the morphological changes of rings during hot rolling of rings provided in another embodiment of the present application;

[0047] Figure 7 A schematic block diagram of a visual measurement device for ring morphology changes during hot rolling of rings provided in an embodiment of the present application;

[0048] Figure 8 A schematic block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0050] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0051] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0052] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0053] The embodiments of the present application provide a visual measurement method and related equipment for the morphological changes of rings during hot rolling of rings.

[0054] The executor of the method for visually measuring the changes in the shape of a ring during hot rolling of a ring may be the visual measuring device for the changes in the shape of a ring during hot rolling of a ring provided in the embodiment of the present application, or a computer device integrating the visual measuring device for the changes in the shape of a ring during hot rolling of a ring, wherein the visual measuring device for the changes in the shape of a ring during hot rolling of a ring may be implemented in hardware or software, the computer device may be a terminal or a server, and the terminal may be a smart phone, a tablet computer, a PDA, or a laptop computer, etc.

[0055] See also Figure 1 , Figure 1 Schematic diagram of the application scenario of the visual measurement method for the ring morphology change during hot rolling of the ring provided in the embodiment of the present application. The visual measurement method for the ring morphology change during hot rolling of the ring is applied to Figure 1 In the computer device 10 in the invention, the computer device 10 collects the ring image of the ring being hot rolled in the rolling mill 30 (including the driving roller, the core roller and the guide roller) through the high-speed camera 20; the ring image is frame-sampled according to the preset frame sampling frequency to obtain the first image; the first image is preprocessed to obtain the second image, and the preprocessing includes ROI area extraction processing and threshold processing; the second image is image edge extraction processing to obtain the third image; the third image is contour extraction processing to obtain the fourth image; the driving roller image and the core roller image in the fourth image are filtered to obtain the fifth image; the fifth image is least square fitting filtered to filter out the abnormal points in the fifth image to obtain the sixth image; the contour points of the ring in the sixth image are segmentedly sampled to obtain sampling data; and the ring is measured according to the sampling data.

[0056] Figure 2 1 is a flow chart of a method for visually measuring the morphological changes of rings during hot rolling of rings provided in an embodiment of the present application. Figure 2 As shown, the method includes the following steps S110-190.

[0057] S110, collecting the ring image of the ring being hot rolled by using a high-speed camera.

[0058] In this embodiment, when the ring is hot rolled in the rolling mill, the image of the ring being rolled in the rolling mill is collected by a high-speed camera. Since the hot ring rolling process is a high-speed motion, in order to obtain a clear image of the ring, a high-speed camera is required to collect the image of the ring.

[0059] The resolution of the high-speed camera is 2320*1720, the frame rate is 400FPS, and the image only contains grayscale.

[0060] Many changes will occur during the processing of hot rings. For example, a large amount of oxide scale will fly out at the beginning of processing, the ring will swing widely, the shape will change quickly, and the actual edge will not be obvious. These characteristics bring certain difficulties to the collection and processing of images, so this application requires further processing of the collected images.

[0061] The heated ring is always in a high-brightness state during the hot rolling process, and no additional fill light is required during the acquisition process, which is more beneficial for image segmentation.

[0062] S120: Sampling the ring image according to a preset frame sampling frequency to obtain a first image.

[0063] After the ring image is collected, in order to reduce the amount of calculation and make the sampled data meet the requirements, the present application needs to extract the ring image according to a preset frame sampling frequency, wherein the frame sampling frequency can be one frame for every 10 frames.

[0064] See also Figure 3 , Figure 3 (a) is a schematic diagram of the first image.

[0065] S130 , preprocessing the first image to obtain a second image, wherein the preprocessing includes ROI region extraction processing and threshold processing.

[0066] In some embodiments, step S130 includes: cropping the first image to obtain a ROI area image of the ring; and binarizing the ROI area image according to a preset threshold to obtain the second image.

[0067] Specifically, after the frame is extracted, the image needs to be preprocessed in a conventional manner, including cropping to obtain the region of interest (ROI) and threshold processing, wherein the specific threshold is related to the ambient light. In a single scene, the threshold can be fixed to a specified value. For the second image, please refer to Figure 3 (b) in .

[0068] Among them, the expression of obtaining the second image by threshold processing the first image is:

[0069]

[0070] S140: Perform image edge extraction processing on the second image to obtain a third image.

[0071] In this embodiment, after obtaining the second image after threshold processing, edge extraction processing is performed on the second image to obtain the third image.

[0072] S150: Perform contour extraction processing on the third image to obtain a fourth image.

[0073] After threshold processing, the edge of the image is extracted. The edge image (the third image) is only more obvious in the image. In fact, it is not structured data and cannot be processed. Therefore, it is necessary to further extract the contour of the edge and filter out the oxide scale contour according to the contour area. The schematic diagram of the fourth image is shown in Figure 3 (c) in .

[0074] S160: Filter the driving roller image and the core roller image in the fourth image to obtain a fifth image.

[0075] In some embodiments, specifically, step S160 includes: filtering the core roller image according to the coordinates of the inner contour points of the ring in the fourth image and a preset inner contour point filtering formula; filtering the drive roller image according to the coordinates of the outer contour points of the ring in the fourth image and a preset outer contour point filtering formula to obtain the fifth image.

[0076] The collected ring image is not completely facing the camera, so the drive roller and core roller will partially block the image of the ring; in addition, at the beginning of processing, a large amount of oxide scale will fall off, resulting in uneven brightness and irregular contours of the image. Figure 3 (b) and Figure 3 In the upper right corner of (c), a large number of abnormal points will be generated in the image at the moment when the oxide scale flies out and after it flies out. These abnormal points will affect the subsequent calculations. It is necessary to filter out irrelevant points first. During the rolling process, the driving roller moves down and the position of the core roller remains unchanged, so position filtering can be used.

[0077] First, come to the drive roller and core roller in the image.

[0078] When filtering the core roller, the coordinate points of the inner contour can be substituted into the following inner contour point filtering formula for filtering, where the inner contour point filtering formula is a straight line equation:

[0079]

[0080] Among them, the y-axis of the image is downward, and px and py represent the x-axis and y-axis coordinates of the inner contour point p.

[0081] When filtering the drive roller, the outer contour can be filtered according to the area. Specifically, it is filtered according to the following outer contour point filtering formula:

[0082]

[0083] Among them, the fifth image in which the driving roller image and the core roller image are filtered out is as follows: Figure 3 As shown in (d) in .

[0084] S170: Perform least squares fitting filtering on the fifth image to filter out abnormal points in the fifth image to obtain a sixth image.

[0085] Although the fifth image obtained filters the contours of the driving roller and the core roller, there is still interference from the oxide scale that has not yet been completely eliminated. The oxide scale is defined as an abnormal point. In order to obtain a more accurate image, this application also needs to filter the abnormal points.

[0086] In some embodiments, step S170 includes: performing least squares fitting on the coordinates of the contour points in the fifth image to obtain the coordinates of the fitting center of the ring; determining the abnormal point based on the distance from the contour point to the fitting center; removing the abnormal point in the fifth image to obtain the sixth image.

[0087] Specifically, the least squares method is used to fit, that is, to solve the linear equation system:

[0088]

[0089] Among them, X i , Y i is the coordinate of the contour point. After solving the parameters A, B, and C, the coordinate of the center of the fitting circle (C x ,C y ) and radius C r ,in:

[0090]

[0091] After solving, calculate the distance from the contour point to the fitting center. If it is greater than a certain threshold, it is considered an abnormal point. Here, the threshold is the fitting radius plus the compensation value. Perform secondary filtering;

[0092]

[0093]

[0094] S180: Segmentally sample the contour points of the ring in the sixth image to obtain sampling data.

[0095] In some embodiments, the contour points of the ring in the sixth image are sampled in sections at intervals of 10 degrees to obtain the sampling data containing 36 sampling points.

[0096] Specifically, after the contour points are obtained, the contour points are sampled. Referring to the plane rectangular coordinate system, the horizontal right direction is taken as the starting position, the counterclockwise direction is taken as the positive direction, 10° is taken as a group, and the points are divided into 36 groups according to the angle.

[0097] Since the circular contour points are discrete and non-uniform, the number of points in each group of ten degrees will be different. If any point in the group is randomly selected as a sampling point, a point with a large sampling error may be sampled. Therefore, after grouping according to the angle, a weighted average is required to offset the error caused by uneven data distribution. The weighted average of the different numbers of points in each group is 36 points, of which the points with indexes of 6 to 12 (angles of 60° to 120°) are the positions of the driving rollers that are filtered out. The results are shown in Figure 3 (f) in.

[0098] The sampling algorithm is as follows:

[0099] Calculate the vector from the center of the fitted circle to this point:

[0100]

[0101] Find the angle of the vector, divide the angle by 10 to get the group index index, and store the point coordinates in the corresponding index array. The index index is an integer that represents the group of the point. In computer programs, the index of the first value starts at 0, for example, index = 0 represents the first group, and so on.

[0102]

[0103] After calculation, the vector with an angle of [0,10) degrees has a quotient of 0 after being divided by 10, so the index is 0 and is stored in the first group; the vector with an angle of [10,20) degrees has a quotient of 1 after being divided by 10 and is stored in the second group; after traversing all angles, all outer contour points can be divided into 36 groups. The weighted average of the point coordinates in each group is used to obtain 36 sampling points, which can basically characterize the outer contour of the ring.

[0104] S190: Measure the ring according to the sampling data.

[0105] This embodiment can visualize the hot ring processing process according to the sampling data. For example, the hot ring processing process within 10 seconds can be visualized to obtain Figure 4 .from Figure 4 It can be seen from Figure (a) and Figure (b) that the approximate center of the circle is moving downward (the Y coordinate increases). Figure 4 From Figures (c) and (d), we can see that the radius of the ring is increasing. Figure 4 Figure (e) shows that the approximate center distance of the inner and outer contours fluctuates repeatedly. Figure 4 Figure (f) shows that the wall thickness is decreasing.

[0106] In order to describe the changing curve of the ring during rolling, simple fitting will lose the characteristics of each segment. Therefore, we sampled the above-mentioned local segments and processed them to obtain the compression deformation of the ring entering and exiting the driving roller.

[0107] This application takes the outer edge Figure 3 In (f) of the figure, the indices are 5, 12, and 27, three representative locations, and the approximate radius is calculated and plotted. Figure 5 The sampling point with index 5 is the point out of the driving roller, the sampling point with index 12 is the point into the driving roller, and the point with index 27 is the position of the lowest point of the ring.

[0108] Figure 5 The points are drawn through different curves. It can be seen that the exit position is thinner than the entrance, and the lowest point is between the two. Due to the memory limitation of the camera, the rolling was still in progress when the shooting was finished, so the final state should be that the three curves tend to overlap.

[0109] In some embodiments, step S190 includes: calculating the inner ring center coordinate change curve, outer ring center coordinate change curve, inner ring radius change curve, outer ring radius change curve, inner and outer ring center distance change curve, and inner and outer ring radius difference change curve of the ring in the current time period according to the sampling data; and, calculating the ring exit roller change curve, entrance roller change curve and lowest point radius change curve according to the sampling data.

[0110] This method can preliminarily obtain the swing and deformation of the ring through the selection of cameras, the collection of on-site hot ring images, and the combination of image segmentation, fitting, point sampling and other image processing methods and data analysis, which can reflect the change law of the hot-rolled ring during the processing to a certain extent.

[0111] Figure 6 FIG. 1 is a flow chart of a method for visually measuring the shape change of a ring during hot rolling of a ring provided in another embodiment of the present application. Figure 6 As shown, the visual measurement method of the ring morphology change during the hot rolling of the ring in this embodiment includes steps S210-S290. Steps S210-S290 are similar to steps S110-S190 in the above embodiment and are not described here. The steps S2100-S270 added in this embodiment are described in detail below.

[0112] S2100: Determine the current size of the ring according to the sampling data.

[0113] The current size of the ring includes the inner ring radius, the outer ring radius and the thickness.

[0114] S2110, determine whether the difference between the current size and the preset target size is less than the preset difference, if so, execute step S2120, if not, execute step S2130.

[0115] Specifically, if the difference between the current size and the preset target size is greater than the preset difference, the control parameter is output; if the difference between the current size and the preset target size is not greater than the preset difference, the rolling of the ring is terminated.

[0116] S2120, end the ring rolling.

[0117] S2130. Determine control parameters of the rolling mill according to the difference.

[0118] S2140. Control the rolling mill according to the control parameters.

[0119] Among them, the present application performs PID control according to the difference between the observed size value and the set target value, and the output control parameters are nonlinear in different time periods, which can improve the processing efficiency and processing quality.

[0120] Figure 7 1 is a schematic block diagram of a visual measurement device for the change of ring shape during hot rolling of a ring provided in an embodiment of the present application. Figure 7 As shown, corresponding to the above visual measurement method for the shape change of rings during hot rolling, the present application also provides a visual measurement device for the shape change of rings during hot rolling. The visual measurement device for the shape change of rings during hot rolling includes a unit for executing the above visual measurement method for the shape change of rings during hot rolling, and the device can be configured in a desktop computer, tablet computer, laptop computer, etc. Specifically, please refer to Figure 7 The visual measurement device for the ring shape change during hot-rolling of the ring comprises: a collection unit 701 and a processing unit 702:

[0121] The acquisition unit 701 is used to acquire the ring image of the ring being hot-rolled by using a high-speed camera;

[0122] The processing unit 702 is used to perform frame sampling on the ring image according to a preset frame sampling frequency to obtain a first image; perform preprocessing on the first image to obtain a second image, wherein the preprocessing includes ROI area extraction processing and threshold processing; perform image edge extraction processing on the second image to obtain a third image; perform contour extraction processing on the third image to obtain a fourth image; filter the drive roller image and the core roller image in the fourth image to obtain a fifth image; perform least squares fitting filtering on the fifth image to filter out abnormal points in the fifth image to obtain a sixth image; perform segmented sampling on the contour points of the ring in the sixth image to obtain sampling data; and measure the ring according to the sampling data.

[0123] In some embodiments, when implementing the step of preprocessing the first image to obtain the second image, the processing unit 702 is specifically used to:

[0124] Cropping the first image to obtain a ROI area image of the ring;

[0125] The ROI region image is binarized according to a preset threshold to obtain the second image.

[0126] In some embodiments, when the processing unit 702 implements the step of filtering the driving roller image and the core roller image in the fourth image to obtain the fifth image, it is specifically used to:

[0127] Filtering the core roller image according to the coordinates of the inner contour points of the ring in the fourth image and a preset inner contour point filtering formula;

[0128] The drive roller image is filtered according to the coordinates of the outer contour points of the ring in the fourth image and a preset outer contour point filtering formula to obtain the fifth image.

[0129] In some embodiments, when the processing unit 702 implements the step of performing least squares fitting filtering on the fifth image to filter out abnormal points in the fifth image to obtain the sixth image, it is specifically used to:

[0130] Performing least squares fitting on the coordinates of the contour points in the fifth image to obtain the coordinates of the fitting circle center of the ring;

[0131] Determine the abnormal point according to the distance from the contour point to the center of the fitting circle;

[0132] The outliers in the fifth image are removed to obtain the sixth image.

[0133] In some embodiments, when the processing unit 702 implements the step of performing segmented sampling on the contour points of the ring in the sixth image to obtain sampling data, it is specifically configured to:

[0134] The contour points of the ring in the sixth image are sampled in sections at intervals of 10 degrees to obtain the sampling data containing 36 sampling points.

[0135] In some embodiments, when the processing unit 702 implements the step of measuring the ring according to the sampling data, it is specifically used to: calculate the inner ring center coordinate change curve, the outer ring center coordinate change curve, the inner ring radius change curve, the outer ring radius change curve, the inner and outer ring center distance change curve, and the inner and outer ring radius difference change curve of the ring in the current time period according to the sampling data; and,

[0136] The ring exit roll variation curve, the ring entry roll variation curve and the lowest point radius variation curve are calculated according to the sampling data.

[0137] In some embodiments, after implementing the step of measuring the ring according to the sampling data, the processing unit 702 is further configured to:

[0138] determining a current size of the ring according to the sampled data;

[0139] Determine the control parameters of the rolling mill according to the difference between the current size and the preset target size;

[0140] The rolling mill is controlled according to the control parameters.

[0141] It should be noted that technicians in the relevant field can clearly understand that the specific implementation process of the visual measurement device for the ring morphology changes during the hot rolling of the rings and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, they will not be repeated here.

[0142] The visual measuring device for the ring morphology change during hot ring rolling can be implemented in the form of a computer program. The computer program can be used in Figure 8 Runs on the computer device shown.

[0143] See also Figure 8 , Figure 8 800 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 800 may be a terminal or a server, wherein the terminal may be an electronic device with communication functions such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of multiple servers.

[0144] See also Figure 8 The computer device 800 includes a processor 802 , a memory and a network interface 805 connected via a system bus 801 , wherein the memory may include a non-volatile storage medium 803 and an internal memory 804 .

[0145] The non-volatile storage medium 803 can store an operating system 8031 ​​and a computer program 8032. The computer program 8032 includes program instructions, which, when executed, can enable the processor 802 to execute a visual measurement method for ring morphology changes during hot ring rolling.

[0146] The processor 802 is used to provide computing and control capabilities to support the operation of the entire computer device 800 .

[0147] The internal memory 804 provides an environment for the operation of the computer program 8032 in the non-volatile storage medium 803. When the computer program 8032 is executed by the processor 802, the processor 802 can execute a visual measurement method for the morphological changes of rings during hot rolling of rings.

[0148] The network interface 805 is used to communicate with other devices over the network. Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 800 to which the solution of the present application is applied. The specific computer device 800 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0149] The processor 802 is used to run the computer program 8032 stored in the memory to implement the following steps:

[0150] The ring image of the ring being hot-rolled is collected by a high-speed camera;

[0151] Performing frame sampling on the ring image according to a preset frame sampling frequency to obtain a first image;

[0152] Preprocessing the first image to obtain a second image, wherein the preprocessing includes ROI region extraction processing and threshold processing;

[0153] Performing image edge extraction processing on the second image to obtain a third image;

[0154] Performing contour extraction processing on the third image to obtain a fourth image;

[0155] filtering the driving roller image and the core roller image in the fourth image to obtain a fifth image;

[0156] Performing least squares fitting filtering on the fifth image to filter out abnormal points in the fifth image to obtain a sixth image;

[0157] Segmentally sampling the contour points of the ring in the sixth image to obtain sampling data;

[0158] The ring is measured according to the sampling data.

[0159] In some embodiments, when the processor 802 implements the step of preprocessing the first image to obtain the second image, the processor 802 specifically implements the following steps:

[0160] Cropping the first image to obtain a ROI area image of the ring;

[0161] The ROI region image is binarized according to a preset threshold to obtain the second image.

[0162] In some embodiments, when the processor 802 implements the step of filtering the driving roller image and the core roller image in the fourth image to obtain the fifth image, the processor 802 specifically implements the following steps:

[0163] Filtering the core roller image according to the coordinates of the inner contour points of the ring in the fourth image and a preset inner contour point filtering formula;

[0164] The drive roller image is filtered according to the coordinates of the outer contour points of the ring in the fourth image and a preset outer contour point filtering formula to obtain the fifth image.

[0165] In some embodiments, when the processor 802 implements the step of performing least squares fitting filtering on the fifth image to filter out abnormal points in the fifth image to obtain the sixth image, the processor 802 specifically implements the following steps:

[0166] Performing least squares fitting on the coordinates of the contour points in the fifth image to obtain the coordinates of the fitting circle center of the ring;

[0167] Determine the abnormal point according to the distance from the contour point to the center of the fitting circle;

[0168] The outliers in the fifth image are removed to obtain the sixth image.

[0169] In some embodiments, when the processor 802 implements the step of performing segmented sampling on the contour points of the ring in the sixth image to obtain sampling data, the processor 802 specifically implements the following steps:

[0170] The contour points of the ring in the sixth image are sampled in sections at intervals of 10 degrees to obtain the sampling data containing 36 sampling points.

[0171] In some embodiments, when the processor 802 implements the step of measuring the ring according to the sampling data, it specifically implements the following steps:

[0172] According to the sampling data, respectively calculate the inner ring center coordinate change curve, outer ring center coordinate change curve, inner ring radius change curve, outer ring radius change curve, inner and outer ring center distance change curve, and inner and outer ring radius difference change curve within the current time period of the ring; and,

[0173] The ring exit roll variation curve, the ring entry roll variation curve and the lowest point radius variation curve are calculated according to the sampling data.

[0174] In some embodiments, after implementing the step of measuring the ring according to the sampling data, the processor 802 further implements the following steps:

[0175] determining a current size of the ring according to the sampled data;

[0176] Determine the control parameters of the rolling mill according to the difference between the current size and the preset target size;

[0177] The rolling mill is controlled according to the control parameters.

[0178] It should be understood that in the embodiment of the present application, the processor 802 may be a central processing unit (CPU), and the processor 802 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0179] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0180] Therefore, the present application also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the following steps:

[0181] The ring image of the ring being hot-rolled is collected by a high-speed camera;

[0182] Performing frame sampling on the ring image according to a preset frame sampling frequency to obtain a first image;

[0183] Preprocessing the first image to obtain a second image, wherein the preprocessing includes ROI region extraction processing and threshold processing;

[0184] Performing image edge extraction processing on the second image to obtain a third image;

[0185] Performing contour extraction processing on the third image to obtain a fourth image;

[0186] filtering the driving roller image and the core roller image in the fourth image to obtain a fifth image;

[0187] Performing least squares fitting filtering on the fifth image to filter out abnormal points in the fifth image to obtain a sixth image;

[0188] Segmentally sampling the contour points of the ring in the sixth image to obtain sampling data;

[0189] The ring is measured according to the sampling data.

[0190] In some embodiments, when the processor executes the program instructions to implement the step of preprocessing the first image to obtain the second image, the processor specifically implements the following steps:

[0191] Cropping the first image to obtain a ROI area image of the ring;

[0192] The ROI region image is binarized according to a preset threshold to obtain the second image.

[0193] In some embodiments, when the processor executes the program instructions to implement the step of filtering the drive roller image and the core roller image in the fourth image to obtain the fifth image, the following steps are specifically implemented:

[0194] Filtering the core roller image according to the coordinates of the inner contour points of the ring in the fourth image and a preset inner contour point filtering formula;

[0195] The drive roller image is filtered according to the coordinates of the outer contour points of the ring in the fourth image and a preset outer contour point filtering formula to obtain the fifth image.

[0196] In some embodiments, when the processor executes the program instructions to implement the step of performing least squares fitting filtering on the fifth image to filter out abnormal points in the fifth image to obtain the sixth image, the following steps are specifically implemented:

[0197] Performing least squares fitting on the coordinates of the contour points in the fifth image to obtain the coordinates of the fitting circle center of the ring;

[0198] Determine the abnormal point according to the distance from the contour point to the center of the fitting circle;

[0199] The outliers in the fifth image are removed to obtain the sixth image.

[0200] In some embodiments, when the processor executes the program instructions to implement the step of performing segmented sampling on the contour points of the ring in the sixth image to obtain sampling data, the processor specifically implements the following steps:

[0201] The contour points of the ring in the sixth image are sampled in sections at intervals of 10 degrees to obtain the sampling data containing 36 sampling points.

[0202] In some embodiments, when the processor executes the program instructions to implement the step of measuring the ring according to the sampled data, the processor specifically implements the following steps:

[0203] According to the sampling data, respectively calculate the inner ring center coordinate change curve, outer ring center coordinate change curve, inner ring radius change curve, outer ring radius change curve, inner and outer ring center distance change curve, and inner and outer ring radius difference change curve within the current time period of the ring; and,

[0204] The ring exit roll variation curve, the ring entry roll variation curve and the lowest point radius variation curve are calculated according to the sampling data.

[0205] In some embodiments, after executing the program instructions to implement the step of measuring the ring according to the sampled data, the processor further implements the following steps:

[0206] determining a current size of the ring according to the sampled data;

[0207] Determine the control parameters of the rolling mill according to the difference between the current size and the preset target size;

[0208] The rolling mill is controlled according to the control parameters.

[0209] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.

[0210] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0211] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0212] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present application can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0213] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.

[0214] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for visually measuring the morphological changes of rings during hot-rolling of rings, characterized in that: include: The ring image of the ring being hot-rolled is collected by a high-speed camera; Performing frame sampling on the ring part image according to a preset frame sampling frequency to obtain a first image; Preprocessing the first image to obtain a second image, wherein the preprocessing includes ROI region extraction processing and threshold processing; performing image edge extraction processing on the second image to obtain a third image; performing contour extraction processing on the third image to obtain a fourth image; filtering the driving roller image and the core roller image in the fourth image to obtain a fifth image; performing least squares fitting filtering on the fifth image to filter out abnormal points in the fifth image to obtain a sixth image; Performing segmented sampling on the contour points of the ring in the sixth image to obtain sampling data; measuring the ring according to the sampling data; The sampling algorithm is as follows: Calculate the vector from the center of the fitted circle to the contour point Pair Vector Calculate the angle, divide the angle by 10 to get the group index index, and store the contour point coordinates in the corresponding index array. The index index is an integer that represents the group of the contour point. In the computer program, the index of the first value starts at 0, that is, index = 0 represents the first group, and so on. The calculation formula of the group index index is: After calculation, the vector with angles of 0 and 10 degrees has a quotient of 0 after being divided by 10, and the index is 0, which is stored in the first group; the vector with angles of 10 and 20 degrees has a quotient of 1 after being divided by 10, and is stored in the second group; after traversing all angles, all outer contour points can be divided into 36 groups, and the weighted average of the point coordinates in each group is obtained to obtain 36 sampling points, which represent the outer contour of the ring; X i 、Y i is the coordinate of the contour point, C x 、C y are the coordinates of the center of the fitted circle.

2. The method according to claim 1, characterized in that The preprocessing of the first image to obtain the second image includes: Cropping the first image to obtain an ROI area image of the ring; The ROI region image is binarized according to a preset threshold to obtain the second image.

3. The method according to claim 1, characterized in that The filtering of the driving roller image and the core roller image in the fourth image to obtain the fifth image includes: filtering the core roller image according to the coordinates of the inner contour points of the ring in the fourth image and a preset inner contour point filtering formula; The driving roller image is filtered according to the coordinates of the outer contour points of the ring in the fourth image and a preset outer contour point filtering formula to obtain the fifth image.

4. The method according to claim 1, wherein The performing least squares fitting filtering on the fifth image to filter out abnormal points in the fifth image to obtain a sixth image includes: Performing least squares fitting on the coordinates of the contour points in the fifth image to obtain the coordinates of the fitting circle center of the ring; Determine the abnormal point according to the distance from the contour point to the center of the fitting circle; The outliers in the fifth image are removed to obtain the sixth image.

5. The method according to claim 1, characterized in that The segmented sampling of the contour points of the ring in the sixth image to obtain sampling data includes: The contour points of the ring in the sixth image are segmented and sampled at intervals of 10 degrees to obtain the sampling data containing 36 sampling points.

6. The method according to claim 1, characterized in that The measuring of the ring according to the sampling data includes: Calculate the inner ring center coordinate change curve, outer ring center coordinate change curve, inner ring radius change curve, outer ring radius change curve, inner and outer ring center distance change curve, and inner and outer ring radius difference change curve within the current time period of the ring according to the sampling data; and The ring exit roller variation curve, the ring entry roller variation curve and the lowest point radius variation curve are calculated based on the sampling data.

7. The method according to any one of claims 1 to 6, characterized in that After measuring the ring according to the sampling data, the method further includes: determining a current size of the ring according to the sampled data; Determine the control parameters of the rolling mill according to the difference between the current size and the preset target size; The rolling mill is controlled according to the control parameters.

8. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.

9. A computer-readable storage medium, characterized in that The storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 7 can be implemented.

Citation Information

Patent Citations

  • Visual testing method for planar holes

    CN107067435A

  • Geometric parameter online measurement method and device in rolling forming process of hot-state ring piece

    CN113758439A