Converter steelmaking oxygen lance blackening detection method and device and storage medium
The deep learning model is used to identify oxygen lance blackening images, which solves the problems of low efficiency and poor accuracy of traditional detection methods, achieves efficient and accurate oxygen lance blackening detection, and improves steelmaking efficiency and product quality.
Patent Information
- Application Number
- CN202410698781.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-08-30
AI Technical Summary
The traditional oxygen lance blackening detection method has low efficiency, poor accuracy and safety hazards. It also lacks a specialized deep learning algorithm for oxygen lances in converter steelmaking, resulting in a decrease in steelmaking efficiency and an increase in production costs.
A deep learning model is used to identify oxygen lance burnt images. By acquiring and processing image data, and training a convolutional neural network model, the automatic detection and identification of oxygen lance burnt blackness is achieved.
It improves the efficiency and accuracy of oxygen lance blackening detection, improves the production efficiency and product quality of converter steelmaking, and reduces production costs.
Smart Images

Figure CN118570167A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence, and in particular to a method, a device and a storage medium for detecting blackening of a converter steelmaking oxygen lance. Background Art
[0002] In the converter steelmaking process, the oxygen lance is a key equipment, and its main function is to inject oxygen into the converter molten pool to promote chemical reactions in the furnace and improve steelmaking efficiency. However, during the use of the oxygen lance, due to the influence of harsh environments such as high temperature and high pressure, the oxygen lance head is prone to burn black, resulting in problems such as reduced slag quality and slag inclusion, which in turn affects the quality of molten steel.
[0003] Burning black not only affects the service life of the oxygen lance, but also reduces steelmaking efficiency and increases production costs. The traditional method of detecting burnt black oxygen lances mainly relies on manual observation and empirical judgment, but this method has some problems, such as low efficiency: manual inspection requires regular shutdown, affecting production progress; poor accuracy: manual judgment is affected by subjective factors and is prone to misjudgment; high risk: the operator is close to the high temperature and high pressure oxygen lance for observation, which poses a safety hazard.
[0004] The image-based oxygen lance detection method is mainly through threshold segmentation, but this method is greatly affected by light, and the temperature in the furnace itself varies greatly, which makes the imaging effect inconsistent. Therefore, it is difficult to accurately segment the burnt part of the oxygen lance using traditional image processing, resulting in false detection.
[0005] In recent years, with the development of deep learning technology, image processing and pattern recognition methods based on deep learning have achieved remarkable results in various fields. Deep learning technology can better extract image features and train on large-scale data sets, thereby realizing automatic detection and recognition of blackening phenomena in complex scenes. However, there is currently a lack of specialized deep learning algorithms for blackening detection of converter steelmaking oxygen lances. Summary of the invention
[0006] In view of this, the present invention provides a method, device and storage medium for detecting blackening of oxygen lance in converter steelmaking.
[0007] Specifically, the present invention is achieved through the following technical solutions:
[0008] According to a first aspect of the present invention, a method for detecting blackening of oxygen lance in converter steelmaking is provided, the method comprising the steps of:
[0009] A method for detecting blackening of converter steelmaking oxygen lance, the method comprising the steps of:
[0010] Obtain oxygen gun burnout image data;
[0011] Processing the oxygen gun burnt black image data;
[0012] Get the deep learning model;
[0013] Using the oxygen lance burnt black image data to train the deep learning model;
[0014] Acquire image data of converter steelmaking oxygen lance;
[0015] Output the detection result according to the deep learning model and the converter steelmaking oxygen lance image data. Optionally, the obtaining of the oxygen lance burnout image data comprises the steps of:
[0016] Collect converter mouth video data;
[0017] generating image data of a preset size according to the video data;
[0018] locating oxygen lance image data in the image data;
[0019] discarding black image data surrounding the oxygen gun image data;
[0020] The remaining image data is cropped.
[0021] Optionally, the processing of the oxygen gun burnt black image data comprises the steps of:
[0022] Performing data annotation on the oxygen gun burnt black image data;
[0023] The oxygen gun blackening image data is processed.
[0024] Optionally, the data processing of the oxygen gun blackening image data comprises the steps of:
[0025] Get data annotation results;
[0026] Determine whether each image data in the data annotation result has an initial position and an end position;
[0027] If so, retain the vertical coordinate of the image data;
[0028] If not, mark the image data as -1;
[0029] Perform image enhancement processing on the image data.
[0030] Optionally, the performing image enhancement processing on the image data comprises the steps of:
[0031] Performing image denoising processing on the image data;
[0032] Performing image contrast enhancement processing on the image data;
[0033] Performing image color dithering processing on the image data;
[0034] Performing image brightness dithering processing on the image data.
[0035] Optionally, the using the oxygen gun blackening image data to train the deep learning model comprises the steps of:
[0036] Acquire the oxygen gun burnt black image data;
[0037] Performing linear fitting on the oxygen gun burnout image data;
[0038] Inputting the oxygen gun burnt black image data into the deep learning model;
[0039] Adjusting model parameters of the deep learning model;
[0040] Obtaining a loss value of the deep learning model;
[0041] Determine whether the loss value drops to a preset value;
[0042] If yes, stop training the deep learning model;
[0043] If not, return to the step of inputting the oxygen gun burnt black image data into the deep learning model.
[0044] Optionally, outputting the detection result according to the deep learning model and the converter steelmaking oxygen lance image data comprises the steps of:
[0045] Inputting the converter steelmaking oxygen lance image data into the deep learning model;
[0046] Obtaining an image output of the deep learning model;
[0047] Determining whether there is a burnt image in the image output;
[0048] If yes, output the burnt length of oxygen gun;
[0049] If not, it is judged that the oxygen lance of the converter steelmaking is not burned black.
[0050] According to a second aspect of the present invention, there is provided a converter steelmaking oxygen lance blackening detection device, comprising:
[0051] A burnt black data acquisition module is used to acquire oxygen lance burnt black image data;
[0052] A data processing module, used for processing the oxygen gun burnt black image data;
[0053] Model acquisition module, used to obtain deep learning models;
[0054] A model training module, used for training the deep learning model using the oxygen lance blackening image data;
[0055] Oxygen lance data acquisition module, used to acquire converter steelmaking oxygen lance image data;
[0056] A result output module is used to output the detection result according to the deep learning model and the converter steelmaking oxygen lance image data.
[0057] According to a third aspect of the present invention, there is provided an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the aforementioned methods when executing the program.
[0058] According to a fourth aspect of the present invention, there is provided a storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the steps of any one of the aforementioned methods.
[0059] The technical solution provided by the present invention brings at least the following beneficial effects:
[0060] The present application provides a method, device and storage medium for detecting burnt blackening of oxygen lance in converter steelmaking, which utilizes a deep learning model to efficiently and accurately identify burnt blackening images, thereby improving the production efficiency and product quality of converter steelmaking. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0062] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0063] Figure 1 A schematic flow chart of a method for detecting blackening of a converter steelmaking oxygen lance provided in an embodiment of the present invention;
[0064] Figure 2 A schematic structural diagram of a converter steelmaking oxygen lance blackening detection device provided in an embodiment of the present invention;
[0065] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;
[0066] Figure 4 A schematic diagram of the structure of a storage medium provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0067] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0068] Figure 1 A schematic flow chart of a method for detecting blackening of a converter steelmaking oxygen lance applicable to an embodiment of the present invention is shown schematically.
[0069] See also Figure 1 The embodiment of the present invention provides a method for detecting blackening of oxygen lance in converter steelmaking. The method can be applied to electronic devices, such as PCs, servers, terminals, etc. The method may include the following steps:
[0070] S1: Obtain oxygen gun burnout image data;
[0071] Exemplarily, the step of obtaining oxygen gun burnout image data includes the following steps:
[0072] Collect converter mouth video data;
[0073] generating image data of a preset size according to the video data;
[0074] locating oxygen lance image data in the image data;
[0075] discarding black image data surrounding the oxygen gun image data;
[0076] The remaining image data is cropped.
[0077] In the embodiment of the present application, the high-definition video data of the converter furnace mouth is collected by Haikang robot, and the collected video data is disassembled into images, and the size of each frame image is 2048*2448. Since the image contains oxygen gun image data, but two-thirds of the data is black and no valid information is provided, it is necessary to discard this part of the data, and when discarding, the image part with a width of 2048 and a height of 512 is selected as the effective pixel area, and its starting position is (x, y), and the end position is (x+2048, y+512). This part of the image is cut off, and the oxygen gun is in the center of the image, so the final area of interest is the location area of the oxygen gun, and the size of this part of the image is 512*512. The collected video data is continuously stored in the hard disk, and the data for one week is obtained and saved in the above order for subsequent analysis.
[0078] S2: Processing the oxygen gun burnt black image data;
[0079] Exemplarily, the processing of the oxygen gun burnt black image data comprises the steps of:
[0080] Performing data annotation on the oxygen gun burnt black image data;
[0081] The oxygen gun blackening image data is processed.
[0082] In the embodiment of the present application, in order to facilitate the use of oxygen lance burnt image data to train the deep learning model in the subsequent steps, the oxygen lance burnt image data needs to be annotated and processed in advance.
[0083] Exemplarily, the data processing of the oxygen gun burnt black image data comprises the steps of:
[0084] Get data annotation results;
[0085] Determine whether each image data in the data annotation result has an initial position and an end position;
[0086] If so, retain the vertical coordinate of the image data;
[0087] If not, mark the image data as -1;
[0088] Perform image enhancement processing on the image data.
[0089] In the embodiment of the present application, data annotation refers to annotating the acquired oxygen gun burnt black image data, and the annotation method is to mark the initial position of the oxygen gun burnt black image as (x1, y1), and the end position as (x2, y2). When the oxygen gun is lifted upward, the camera will take a set of continuous image sequences. When there is only the start position in the image, it is marked as start, when there is only the end position, it is marked as end, when there is no start position and end position, it is marked as none, and when there is both, it is marked as both. When there is a start position and an end position in the above annotation data, the y coordinate is retained, and when there is no start position and an end position, it is marked as -1.
[0090] Exemplarily, the performing image enhancement processing on the image data comprises the steps of:
[0091] Performing image denoising processing on the image data;
[0092] Performing image contrast enhancement processing on the image data;
[0093] Performing image color dithering processing on the image data;
[0094] Performing image brightness dithering processing on the image data.
[0095] In the embodiment of the present application, due to the drastic temperature changes in the furnace, the effects presented on the image vary greatly. In order to enhance the generalization performance of the model, the image needs to be enhanced. The enhancement methods include denoising, increasing contrast, color jitter, brightness jitter, etc.
[0096] S3: Get the deep learning model;
[0097] In the embodiment of the present application, the present application adopts a convolutional neural network (CNN) as the core deep learning model, and the backbone network is a residual neural network structure ResNet34. The input of the structure is RGB color image data and data labels. The color, shape, edge and other features of the image are extracted through convolution calculation, and the output is a feature vector. After the feature vector is extracted, the initial position and the end position of the oxygen gun burnt black in the image are predicted through regression. The loss function here is the mean square error, and its calculation formula is:
[0098]
[0099] Among them, N represents the number of samples, indicates that the actual value is the labeled data in the above content, and indicates the predicted value.
[0100] S4: Using the oxygen gun burnt black image data to train the deep learning model;
[0101] Exemplarily, the using the oxygen gun burnt black image data to train the deep learning model comprises the steps of:
[0102] Acquire the oxygen gun burnt black image data;
[0103] Performing linear fitting on the oxygen gun burnout image data;
[0104] Inputting the oxygen gun burnt black image data into the deep learning model;
[0105] Adjusting model parameters of the deep learning model;
[0106] Obtaining a loss value of the deep learning model;
[0107] Determine whether the loss value drops to a preset value;
[0108] If yes, stop training the deep learning model;
[0109] If not, return to the step of inputting the oxygen gun burnt black image data into the deep learning model.
[0110] In an embodiment of the present application, the deep learning model is trained using labeled oxygen gun burnt image data. During the training process, data enhancement is used to prevent overfitting, and an optimization algorithm is used to adjust the model parameters to improve the generalization ability of the model. When the loss value drops to a preset level, the model training is completed.
[0111] S5: Acquiring image data of oxygen lance for steelmaking in converter;
[0112] In the embodiment of the present application, a Hikvision robot is used to collect high-definition video data of the converter furnace mouth, and the collected video data is disassembled into images to obtain image data of the converter steelmaking oxygen lance.
[0113] S6: Output the detection result according to the deep learning model and the converter steelmaking oxygen lance image data.
[0114] Exemplarily, the outputting of the detection result according to the deep learning model and the converter steelmaking oxygen lance image data comprises the steps of:
[0115] Inputting the converter steelmaking oxygen lance image data into the deep learning model;
[0116] Obtaining an image output of the deep learning model;
[0117] Determining whether there is a burnt image in the image output;
[0118] If yes, output the burnt length of oxygen gun;
[0119] If not, it is judged that the oxygen lance of the converter steelmaking is not burned black.
[0120] In the embodiment of the present application, the trained deep learning model is deployed in the software system to detect whether the oxygen lance is burnt black based on the real-time collected oxygen lance data. When the oxygen lance is detected to be burnt black, the starting position of the burnt black image is recorded and saved in the array outy1, and the ending position is saved in the array outy2; linear fitting is performed on outy1 and outy2 respectively to obtain two linear equations f(outy1) and f(outy2). Substitute the intermediate value in outy1 into f(outy1) and f(outy2) respectively to obtain two values a and b. The length of the burnt black oxygen lance is m, then m=ba.
[0121] like Figure 2 The present application provides a converter steelmaking oxygen lance blackening detection device, comprising:
[0122] The burnt black data acquisition module 10 is used to acquire the burnt black image data of the oxygen lance;
[0123] A data processing module 20, used for processing the oxygen gun burnt black image data;
[0124] A model acquisition module 30, used to acquire a deep learning model;
[0125] A model training module 40, used for training the deep learning model using the oxygen lance burnt image data;
[0126] Oxygen lance data acquisition module 50, used to acquire converter steelmaking oxygen lance image data;
[0127] The result output module 60 is used to output the detection result according to the deep learning model and the converter steelmaking oxygen lance image data.
[0128] The present application provides a converter steelmaking oxygen lance burnout detection device that can execute a converter steelmaking oxygen lance burnout detection method provided by the above steps.
[0129] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.
[0130] Reference below Figure 3 , which shows a schematic diagram of the structure of an electronic device 100 suitable for implementing the embodiment of the present disclosure. The electronic device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0131] like Figure 3 As shown, the electronic device 100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 102 or a program loaded from a storage device 108 to a random access memory (RAM) 103. In the RAM 103, various programs and data required for the operation of the electronic device 100 are also stored. The processing device 101, the ROM 102, and the RAM 103 are connected to each other via a bus 104. An input / output (I / O) interface 105 is also connected to the bus 104.
[0132] Typically, the following devices may be connected to the I / O interface 105: an input device 106 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 107 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 108 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 109. The communication device 109 may allow the electronic device 100 to communicate with other devices wirelessly or by wire to exchange data. Although the electronic device 100 having various devices is shown in the figure, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.
[0133] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 109, or installed from the storage device 108, or installed from the ROM 102. When the computer program is executed by the processing device 101, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0134] Reference below Figure 4 , which shows a structural schematic diagram of a computer-readable storage medium suitable for implementing an embodiment of the present disclosure, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it can implement the converter steelmaking oxygen lance blackening detection method as described in any of the above.
[0135] The present application also provides a computer program product, which includes a computer program / computer executable instructions, and when the computer program / computer executable instructions are executed by a processor of an electronic device, the steps of any of the above-mentioned methods for detecting burnout of oxygen lances in converter steelmaking are implemented.
[0136] The present application provides a method, device and storage medium for detecting burnt blackening of oxygen lance in converter steelmaking, which utilizes a deep learning model to efficiently and accurately identify burnt blackening images, thereby improving the production efficiency and product quality of converter steelmaking.
[0137] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0138] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for detecting blackening of oxygen lance in converter steelmaking, characterized in that: The method comprises the steps of: Obtain oxygen gun burnout image data; Processing the oxygen gun burnt black image data; Get the deep learning model; Using the oxygen lance burnt black image data to train the deep learning model; Acquire image data of converter steelmaking oxygen lance; The detection result is output according to the deep learning model and the converter steelmaking oxygen lance image data.
2. The method for detecting blackening of converter steelmaking oxygen lance according to claim 1, characterized in that: The step of obtaining oxygen gun burnout image data comprises: Collect converter mouth video data; generating image data of a preset size according to the video data; locating oxygen lance image data in the image data; discarding black image data surrounding the oxygen gun image data; The remaining image data is cropped.
3. The method for detecting blackening of converter steelmaking oxygen lance according to claim 1, characterized in that: The processing of the oxygen gun burnt black image data comprises the steps of: Performing data annotation on the oxygen gun burnt black image data; The oxygen gun blackening image data is processed.
4. The method for detecting blackening of converter steelmaking oxygen lance according to claim 3, characterized in that: The data processing of the oxygen gun burnt black image data comprises the steps of: Get data annotation results; Determine whether each image data in the data annotation result has an initial position and an end position; If so, retain the vertical coordinate of the image data; If not, mark the image data as -1; Perform image enhancement processing on the image data.
5. The method for detecting blackening of converter steelmaking oxygen lance according to claim 3, characterized in that: The image enhancement processing of the image data comprises the steps of: Performing image denoising processing on the image data; Performing image contrast enhancement processing on the image data; Performing image color dithering processing on the image data; Performing image brightness dithering processing on the image data.
6. The method for detecting blackening of converter steelmaking oxygen lance according to claim 1, characterized in that: The use of the oxygen gun burnt black image data to train the deep learning model comprises the following steps: Acquire the oxygen gun burnt black image data; Performing linear fitting on the oxygen gun burnout image data; Inputting the oxygen gun burnt black image data into the deep learning model; Adjusting model parameters of the deep learning model; Obtaining a loss value of the deep learning model; Determine whether the loss value drops to a preset value; If yes, stop training the deep learning model; If not, return to the step of inputting the oxygen gun burnt black image data into the deep learning model.
7. The method for detecting blackening of converter steelmaking oxygen lance according to claim 1, characterized in that: The outputting of the detection result according to the deep learning model and the converter steelmaking oxygen lance image data comprises the following steps: Inputting the converter steelmaking oxygen lance image data into the deep learning model; Obtaining an image output of the deep learning model; Determining whether there is a burnt image in the image output; If yes, output the burnt length of oxygen gun; If not, it is judged that the oxygen lance of the converter steelmaking is not burned black.
8. A converter steelmaking oxygen lance blackening detection device, characterized in that: include: A burnt black data acquisition module is used to acquire oxygen lance burnt black image data; A data processing module, used for processing the oxygen gun burnt black image data; Model acquisition module, used to obtain deep learning models; A model training module, used for training the deep learning model using the oxygen lance blackening image data; Oxygen lance data acquisition module, used to acquire converter steelmaking oxygen lance image data; A result output module is used to output the detection result according to the deep learning model and the converter steelmaking oxygen lance image data.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
