A method for intelligent cutting and sizing of continuous casting billets

By using visible light cameras and neural network technology to determine the end face position and edge of the continuous casting billet, it solves the shortcomings of the traditional infrared sizing method under low temperature conditions and the low accuracy of the integral calculation of the casting machine, and achieves higher cutting accuracy. and fixed-length detection accuracy, reducing equipment costs.

CN113780646BActive Publication Date: 2024-10-08WISDRI ENG & RES INC LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111022743.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-01
Publication Date
2024-10-08
Estimated Expiration
2041-09-01

AI Technical Summary

Technical Problem

Existing technology In the production of continuous casting billets, the traditional infrared sizing method cannot be applied to the low-temperature conditions of the surface of the continuous casting billet, and the online sizing value calculated through the speed integral of the casting machine has low accuracy and cannot be used in the production of tail billets. , resulting in low cut-to-length qualification rate and low cutting accuracy.

Method used

A visible light camera is used to capture the position of the end face of the continuous casting billet, and the image annotation training neural network and the color edge detection method are combined to determine the accurate position of the end face edge of the billet, and by correcting the detection delay error and optimizing the cutting accuracy, the online fixed-length detection value is monitored and redundancy.

Benefits of technology

It improves the cutting accuracy of continuous casting billets, overcomes the shortcomings of traditional methods under low-temperature conditions, reduces equipment costs, and achieves higher fixed-length detection accuracy and cutting accuracy in tail billet production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113780646B_ABST
    Figure CN113780646B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for intelligent cutting and sizing of continuous casting billets, which may include the following steps: S1. photographing the end face position of the billet using a visible light camera; S2. using a picture annotation training neural network to determine the approximate position of the end face of the billet in the image taken back by the visible light camera; S3. using a color edge detection method to determine the accurate position of the end face edge of the billet; S4. compensating for the delay error of the sizing detection value caused by the detection delay; S5. correcting the end face edge position point of the billet; S6. initializing the corresponding relationship between the sizing detection value in the image and the end face edge position point of the billet; S7. optimizing the billet cutting accuracy; S8. using the billet drawing machine speed integral to monitor the online sizing detection value and redundant standby when the non-tail billet is produced. The present invention overcomes the defects of the traditional infrared cutting and sizing method, and has the advantages of high accuracy and low cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of steelmaking, and in particular to a method for intelligently cutting and sizing continuous casting billets. Background Art

[0002] The molten steel smelted in the steelmaking plant is continuously cast into billets through the continuous casting machine. The billets are cut into billets of a certain length according to the needs of the next process. That is, on the continuous casting billet production line, it is often necessary to perform online sizing detection and cutting on the continuous billet stream produced by the continuous casting machine according to the length requirements of the finished billet. The former is to obtain the online length of the billet stream end face position relative to the starting cutting point of the flame cutting machine by the speed integral calculation of the billet drawing machine after the continuous casting machine or the imaging recognition technology as the online detection length of the billet. The latter is to start the flame cutting machine to clamp and synchronously cut the billet stream when the online detection length of the billet reaches the required finished billet length, so that the billet length can obtain the required finished billet length. Whether the billet cutting sizing can meet the standard requirements (i.e., the sizing pass rate) is related to whether the continuous casting machine can provide qualified products for the next process. If the billet sizing is longer than the standard sizing, the billet will be wasted, and if it is shorter, it will become waste. Therefore, the sizing pass rate of the billet becomes an important indicator of qualified continuous casting billets. The accuracy of the online detection length of the billet, that is, the online sizing value of the billet, is a key factor affecting whether the length of the cut finished billet reaches the required accuracy.

[0003] The disadvantages of calculating the online length value of the billet by integrating the speed of the billet drawing machine after the continuous casting machine are that, first, when there is sliding between the billet drawing machine and the billet flow, the billet length value accuracy will be low; second, when producing the tail billet, since the billet flow has been out of contact with the billet drawing machine, the billet length value cannot be calculated by integrating the billet drawing machine speed, that is, when drawing the tail billet, the straightening machine is not in contact with the billet, and the operator manually handles the tail billet through the operating table. There are five problems in manual length cutting of billets: first, the length qualification rate is low, only 70% at most; second, the long-term waste of gas is serious; third, the billet transport roller is seriously damaged after cutting, and it needs to be replaced frequently; fourth, the motors of the first and second billet transport rollers are seriously damaged due to excessive slag accumulation on the rollers; fifth, the labor intensity of the cutting workers is high and the labor productivity is low.

[0004] The traditional and commonly used method for detecting the online length of the billet is to use infrared imaging recognition technology to obtain the online length of the billet end face relative to the starting cutting point of the flame cutting machine as the online detection length of the billet. Although this method can also obtain the billet length value when producing the tail billet, it is only applicable to the working condition where the surface temperature of the continuous casting billet is high enough. For the working condition where the surface temperature of the continuous casting billet is low due to the large cross-sectional specifications of the continuous casting billet or the flame cutting machine is far away from the continuous casting machine, this traditional infrared length determination method will no longer be used.

[0005] The surface of the continuous casting billet is cold due to the large cross-sectional specifications of the continuous casting billet or the flame cutting machine is far away from the continuous casting machine, making it impossible to use the traditional infrared sizing method to size the billet online. If only the billet drawing machine speed integral is used to calculate the online sizing value of the billet, the accuracy of the online sizing value of the billet will be low and this method cannot be used to calculate the online sizing value of the billet when producing the tail billet. Summary of the invention

[0006] The present invention aims to provide a method for intelligently cutting and sizing continuous casting billets to solve the above problems. To this end, the specific technical solutions adopted by the present invention are as follows:

[0007] A method for intelligently cutting and sizing continuous casting billets may include the following steps:

[0008] S1. Use a visible light camera to photograph the end surface position of the ingot;

[0009] S2. Using image annotation to train a neural network to determine the approximate position of the end face of the ingot in the image captured by the visible light camera;

[0010] S3. Use color edge detection method to determine the exact position of the edge of the end face of the ingot;

[0011] S4. Compensate for the delay error of the fixed-length detection value caused by the detection delay;

[0012] S5. Correct the edge position of the end face of the ingot;

[0013] S6. Initialize the correspondence between the fixed-length detection value in the image and the edge position point of the end face of the casting billet;

[0014] S7. Optimize the cutting accuracy of the ingot;

[0015] S8. During non-tail billet production, the drawing machine speed integral is used to monitor the online length detection value and provide redundant backup.

[0016] Furthermore, the specific process of S2 is:

[0017] S21. Use the image annotation tool to annotate the approximate position of the end face of the ingot in the image taken by the visible light camera;

[0018] S22. Using the annotated images to train a neural network capable of identifying the approximate position of the end face of the ingot;

[0019] S23. Use the trained neural network to identify the approximate position of the end face of the ingot.

[0020] Furthermore, the image annotation tool is LabelImg, and the neural network is yolo.

[0021] Furthermore, the specific process of S3 is:

[0022] S31. In each color RGB image captured by the visible light camera, a straight line is set along the trajectory of the end face of the billet, and the direction of the straight line is consistent with the running direction of the billet;

[0023] S32. two adjacent rectangular frames are arranged along the straight line, so that the midpoint of the right line of the left rectangular frame coincides with the midpoint of the left line of the right rectangular frame, and the two rectangular frames are moved by keeping the coincident midpoint on the straight line and moving the coincident midpoint from the starting point of the straight line along the running direction of the casting billet, and the R, G, B average values ​​of all pixels in each of the two rectangular frames are calculated;

[0024] S33. Assume that the average values ​​of R, G, and B of all pixels in the two rectangular boxes are R11, G11, B11, R12, G12, and B12 respectively, and then calculate the similarity of the two adjacent rectangular boxes through the normalization formula XSD1=1-(|R11-R12|+|G11-G12|+|B11-B12|) / (255*3). When the similarity XSD1 is lower than the set threshold FZ1 for the first time, it is considered that the intersection of the common edge of the two adjacent rectangular boxes and the straight line is the detected edge position point of the ingot end face.

[0025] Furthermore, the specific process of S4 is: in each color RGB image taken by the visible light camera, the moving speed V of the edge position point of the end face of the ingot is calculated, the fixed-length detection value detection delay time DT1 is set, and the fixed-length detection value delay error E1=V*DT1 caused by the detection delay is obtained.

[0026] Furthermore, the specific process of S5 is: record the time TS when the last image processing is completed, record the fixed-length detection value VS obtained after the last image processing and compensating for the delay error of the fixed-length detection value caused by the detection delay, suppose the current time is TA, then the edge position point of the end face of the ingot after image processing correction at the current time XB = VS + (TA-TS) * V, where V is the moving speed of the edge position point of the end face of the ingot.

[0027] Furthermore, the specific process of S6 is: during initialization, first let the in-image fixed-sizing detection value YB = the online fixed-sizing detection value P obtained by integrating the speed of the billet drawing machine, and then record the in-image fixed-sizing detection value YB and the edge position point XB of the billet end face at different positions as the corresponding relationship between them during initialization.

[0028] Furthermore, the specific process of S7 is:

[0029] S71. For each length dimension of the billet fixed length value, set the billet cutting length target value PS, and issue a cutting command to cut the billet when the billet fixed length detection value reaches the cutting length target value PS;

[0030] S72. Measure the actual length A of the cut ingot, and obtain the cutting accuracy optimization error of the cut ingot of this length = AT;

[0031] S73. Input the optimized cutting accuracy error of the billet length value of this length dimension into the sizing system as the optimized cutting accuracy error of the billet length value of this length dimension and superimpose it on the online sizing detection value to obtain a new online sizing detection value of this length dimension;

[0032] S74. When the new online sizing detection value reaches near the cutting length target value PS, a cutting command is issued to cut out the ingot.

[0033] Furthermore, the specific process of S8 is: when non-tail billet production is in progress, the difference between the online cut-length detection value PF obtained by calculating the integral of the billet drawing machine speed and the online cut-length detection value YBS obtained by image analysis is compared in real time; when the difference is less than or equal to a preset threshold, the online cut-length detection value YBS is automatically selected as the online cut-length detection value; when the difference is greater than the preset threshold, an alarm message is generated, and the online cut-length detection value PF or the online cut-length detection value YBS is selected as the online cut-length detection value according to the preset selection.

[0034] The present invention adopts the above technical scheme, and has the beneficial effects of: the present invention can effectively overcome the defects of the traditional infrared sizing method that cannot be applied to the low temperature working condition of the continuous casting billet surface, the defect that the traditional method of calculating the online sizing value of the steel billet by integrating the speed of the billet drawing machine cannot be applied to the production condition of the tail billet of the continuous casting billet, and the defect of low accuracy of the traditional method of calculating the online sizing value of the steel billet by integrating the speed of the billet drawing machine. In addition, through this method, the optimization of the cutting accuracy of the continuous casting billet can be easily achieved, that is, by using a higher pixel visible light camera to shoot the end face position of the continuous casting billet, a higher continuous casting billet cutting accuracy can be obtained. At the same time, using a visible light camera to shoot the end face position of the continuous casting billet has the advantage of lower equipment cost compared with the traditional infrared cutting and sizing method that uses an infrared camera to shoot the end face position of the continuous casting billet. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] To further illustrate the various embodiments, the present invention provides drawings. These drawings are part of the disclosure of the present invention, which are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, a person of ordinary skill in the art should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.

[0036] Figure 1 This is a flow chart of a method for intelligently cutting and sizing continuous casting slabs of the present invention;

[0037] Figure 2It is an architecture diagram of the intelligent cutting and sizing system based on a visible light camera of the present invention;

[0038] Figure 3 It is a schematic diagram for marking the approximate position of the end face of the ingot in the picture taken by the visible light camera using the picture annotation tool;

[0039] Figure 4 It is a schematic diagram of using the trained neural network to identify the approximate position of the end face of the ingot;

[0040] Figure 5 It is a schematic diagram for determining the exact position of the edge of the end face of the ingot;

[0041] Figure 6 It is a screenshot of the status before the cut-to-length system sends out the cutting signal;

[0042] Figure 7 This is a screenshot of the status when the cut-to-length system sends a cutting signal. DETAILED DESCRIPTION

[0043] The present invention will now be further described with reference to the accompanying drawings and specific implementation methods.

[0044] like Figure 1 and 2 As shown, a method for intelligently cutting and sizing continuous casting billets may include the following steps:

[0045] S1. Use a visible light camera to photograph the end surface position of the ingot. Figure 2 The architecture of the intelligent cutting and sizing system based on visible light camera is shown, and its purpose is to accurately locate and detect the end surface position of the continuous casting billet by using the visible light camera to achieve accurate sizing and cutting of the continuous casting billet. The system can select one or more visible light cameras according to the number of streams of the continuous casting machine. An industrial computer is installed in the operation room as the host for the sizing and cutting of the billet. The visible light camera converts the camera network port to the optical port through the electrical port to optical port converter, and then connects to the optical port to electrical port converter in the operation room through the optical fiber, and then connects to the network port of the sizing and cutting host through the Ethernet cable. The network port of the sizing system host is connected to the switch of the external continuous casting machine control system to send the sizing detection value and the flame cutting machine cutting command to the external continuous casting machine control system. The sizing system host is equipped with a display, keyboard and mouse for display and operation. The visible light camera communicates with the sizing and cutting system host through the TCP / IP protocol. The sizing and cutting system host communicates with the external continuous casting machine control system through the TCP / IP protocol.

[0046] S2. Use image annotation to train the neural network to determine the approximate position of the end face of the ingot in the image taken by the visible light camera. Specifically, first use an image annotation tool (such as LabelImg) to annotate the approximate position of the end face of the ingot in the image taken by the visible light camera, such as Figure 3As shown; then use the labeled pictures to train a neural network (such as yolo) that can identify the approximate position of the end face of the ingot; then use the trained neural network to identify the approximate position of the end face of the ingot, as shown Figure 4 shown.

[0047] S3. Use the color edge detection method to determine the exact position of the edge of the end face of the ingot. Specifically, in each color RGB image captured by the visible light camera, a straight line 1 (i.e. Figure 5 The direction of the straight line 1 is consistent with the running direction of the casting billet. Two adjacent rectangular frames 2R and 2L are set along the straight line 1 (i.e. Figure 5 The two small white rectangular boxes in the middle) make the midpoint of the right line of the left rectangular box 2L coincide with the midpoint of the left line of the right rectangular box 2R, by keeping the coincident midpoints on the straight line 1 and from the starting point of the straight line 1 along the running direction of the billet ( Figure 5 The two rectangular frames 2R and 2L are moved by moving the overlapping midpoints (the running direction of the middle casting billet is from left to right). Figure 5 The large rectangular frame 3L on the left is the approximate position of the end face of the casting billet obtained in step S2. The rectangular frame 3L is moved along the running direction of the casting billet by half the width of the rectangular frame 3L to obtain Figure 5 The large rectangular box on the middle right is 3R. Figure 5 The intersection of the left line of the large rectangular box 3R on the right and the straight line 1 will be Figure 5 The moving starting point of the coincident midpoint of the two small rectangular boxes 2R and 2L, Figure 5 The intersection of the right line of the large rectangular box 3R on the right and the straight line 1 will be used as Figure 5 The moving end point of the overlapping midpoint of the two small rectangular frames 2R and 2L is moved by moving the overlapping midpoint from the moving starting point of the overlapping midpoint on straight line 1 until the overlapping midpoint moves to the moving end point, and the overlapping midpoint of the two small rectangular frames 2R and 2L is moved and the R, G, and B average values ​​of all pixel points in the two small rectangular frames 2R and 2L are calculated. Assuming that the average values ​​of R, G, and B of all pixels in the two small rectangular boxes 2R and 2L are R11, G11, B11, R12, G12, and B12 respectively, the similarity XSD1 of the two adjacent small rectangular boxes 2R and 2L is calculated by the normalization formula = 1-(|R11-R12|+|G11-G12|+|B11-B12|) / (255*3). When the similarity XSD1 is lower than the set threshold FZ1 for the first time, it is considered that the intersection of the common edge of the two adjacent small rectangular boxes 2R and 2L and the straight line 1 (i.e., the overlapping midpoint) is the detected edge position point of the end face of the ingot.

[0048] S4. Compensate for the delay error of the fixed-length detection value caused by the detection delay. Specifically, let the edge position point of the end face of the ingot obtained by analyzing the image taken by the visible light camera be XA. In each color RGB image taken by the visible light camera, the moving speed VA of the edge position point XA of the end face of the ingot is calculated according to the edge position point XA of the end face of the ingot. VA is filtered and limited to obtain V, that is, when VA is less than the lower limit threshold VAL, let V=0, when VA is greater than the upper limit threshold VAU, let V=VAU, and in other cases let V=VA. Set the detection delay time of the length detection value to DT1, and obtain the delay error of the fixed-length detection value caused by the detection delay E1=V*DT1. Let the edge position point of the end face of the ingot obtained after compensating for the delay error of the fixed-length detection value caused by the detection delay be VS, then VS=XA+E1.

[0049] S5. Correct the end edge position point of the billet. Specifically, record the moment value TS when the last image processing is completed to obtain the end edge position point VS of the billet, and set the current moment value as TA, then the end edge position point XB of the billet corrected by the image processing at the current moment = VS + (TA-TS) * V, where V is the moving speed of the end edge position point XA of the billet calculated in step S4. By adding the moving speed integral of the end edge position point XA of the billet between two image processings to interpolate, the accuracy of the fixed-length detection value at the current moment can be improved.

[0050] S6. Initialize the correspondence between the in-image fixed-sizing detection value YB and the edge position point XB of the end face of the casting. Specifically, during the initialization, the in-image fixed-sizing detection value YB is first set to be the online fixed-sizing detection value P obtained by the integral calculation of the casting machine speed, wherein the determination method of the online fixed-sizing detection value P obtained by the integral calculation of the casting machine speed is: at the rising edge of each flame cutting machine starting cutting command, P is reset to zero, and then the online fixed-sizing detection value P is obtained by the integral calculation of the casting machine speed. Then record the in-image fixed-sizing detection value YB and the edge position point XB of the end face of the casting at different positions as the correspondence between them during initialization.

[0051] S7. Optimize the billet cutting accuracy. Specifically, the optimization step adopts two methods. The first method is to optimize the billet cutting accuracy without waste loss when cutting the billet by using the online sizing detection value P obtained by the integral calculation of the billet drawing machine speed: for each billet sizing value of the length size, set the billet cutting length target value PS, and issue a cutting command to cut the billet when P reaches the billet cutting length target value PS according to the online sizing detection value P obtained in step S6; actually measure the actual length A of the billet cut; obtain the billet sizing value cutting accuracy optimization error DYB1=A-PS of the length size; input DYB1 into the sizing system as the billet sizing value cutting accuracy optimization error of the length size, and superimpose it on the online sizing detection value P to obtain the online sizing detection value PF of the length size obtained by the integral calculation of the billet drawing machine speed, that is, PF=P+DYB1; then issue a cutting command to cut the billet when PF reaches the billet cutting length target value PS. Before the precision of the ingot cutting is optimized, the ingot cutting is performed according to the online ingot cutting detection value P obtained in step S6. The ingot cutting precision is low but no waste is generated. After the cutting precision optimization error DYB1 is superimposed on the online ingot cutting detection value P, the ingot cutting is performed according to PF=P+DYB1. The ingot cutting precision is improved and no waste is generated.

[0052] The second is a method for optimizing the cutting accuracy of ingots without waste loss when cutting ingots by using the in-image cut-length detection value YB: for each length dimension of the ingot cut-length value, set the ingot cutting length target value PS, calculate the online YB by online XB interpolation according to the initialization correspondence between the ingot cut-length detection value YB and XB obtained in step S7, and issue a cutting command to cut the ingot when YB reaches the vicinity of the ingot cutting length target value PS; actually measure the actual length A of the cut ingot; obtain the cutting accuracy optimization error DYB2=A-PS of the ingot cut-length value of this length dimension; input DYB2 into the cut-length system as the cutting accuracy optimization error of the ingot cut-length value of this length dimension, and superimpose it on the online cut-length detection value YB obtained in step S7 to obtain the online cut-length detection value YBS detected by the image analysis of this length dimension, that is, YBS=YB+DYB2; and then issue a cutting command to cut the ingot when YBS reaches the vicinity of the ingot cutting length target value PS. According to the initialization correspondence between YB and XB described in step S6, it is ensured that before the optimization error DYB2 for cutting accuracy of the ingot is superimposed, the ingot is cut to size according to YBS=YB=online size detection value P calculated by integrating the speed of the billet drawing machine, and the ingot cutting accuracy is low but no waste is generated. After the optimization error DYB2 for cutting accuracy of the ingot is superimposed, the ingot is cut to size according to YBS=YB+DYB2, and the ingot cutting accuracy is improved without generating waste.

[0053] S8. When the non-tail billet is produced, the billet drawing machine speed integral is used to monitor and redundantly reserve the online sizing detection value. Specifically, when the non-tail billet is produced, the difference between the online sizing detection value PF obtained by the billet drawing machine speed integral calculation and the online sizing detection value YBS obtained by image analysis is compared in real time. When the difference is less than or equal to the preset threshold, the online sizing detection value YBS is automatically selected as the online sizing detection value. When the difference is greater than the preset threshold, an alarm message is generated, and the spare online sizing detection value PF or the online sizing detection value YBS is selected as the online sizing detection value according to the preset selection. In this way, the redundancy and reliability of the online sizing detection value of the billet cutting and sizing system can be improved.

[0054] Examples

[0055] Actual car cutting verification: The No. 3 continuous casting machine of the first steelmaking branch of Wuhan Iron and Steel CSP Strip Plant has a problem that the cross-sectional specifications of the continuous casting billet are large, resulting in low temperature on the surface of the continuous casting billet and making it impossible to use the traditional infrared sizing method. The online actual car cutting of the continuous casting billet of the continuous casting machine is experimentally verified by using the continuous casting billet intelligent cutting and sizing method proposed in the present invention. Figure 6 and Figure 7 This is a screenshot of the online real car cutting experiment process. Figure 6 and Figure 7 In the example, the target cutting length is set as PS, the cutting signal sent by the sizing system is DQ, and the length of the ingot detected by the sizing system is YBS. Figure 7 It can be seen that when the target cutting length PS of the billet is set to 5560.0 mm, the system detects the billet length YBS = 5557.1 mm, and the sizing system starts to send a cutting signal DQ = 1. After the billet is cut, the actual length of the billet is manually measured to confirm that A = 5565.0 mm, and the actual cutting accuracy = A-PS = 5.0 mm. It can be seen that the method of the present invention effectively overcomes the working conditions where the traditional infrared sizing method cannot be used due to the large cross-sectional specifications of the continuous casting billet or the flame cutting machine is far away from the continuous casting machine, resulting in the low temperature on the surface of the continuous casting billet. The sizing cutting accuracy reaches the expected accuracy of 2 cm, and has good billet length detection capabilities, billet precision sizing and cutting capabilities, and continuous casting online application capabilities. In addition, by using visible light cameras with different resolutions and the intelligent cutting and sizing method for continuous casting billets proposed in this paper, the cutting accuracy of continuous casting billets can be easily optimized. For example, the actual vehicle cutting experiment of Wuhan Iron and Steel Corporation used a visible light camera with an effective resolution of 1600 pixels to shoot the end surface position of the continuous casting billet to achieve a continuous casting billet cutting accuracy of 2 cm. By using a higher pixel visible light camera to shoot the end surface position of the continuous casting billet, a higher continuous casting billet cutting accuracy can be achieved. At the same time, using a visible light camera to shoot the end surface position of the continuous casting billet has an advantage in equipment cost compared to the traditional method of using an infrared camera to shoot the end surface position of the continuous casting billet.

[0056] Although the present invention has been specifically shown and described in conjunction with the preferred embodiments, it should be understood by those skilled in the art that various changes may be made to the present invention in form and details without departing from the spirit and scope of the present invention as defined by the appended claims, all of which are within the scope of protection of the present invention.

Claims

1. A method for intelligent cutting and sizing of continuous casting billets, characterized in that: The following steps are involved: S1. Use a visible light camera to photograph the end surface position of the ingot; S2. Using image annotation to train a neural network to determine the approximate position of the end face of the ingot in the image captured by the visible light camera; S3. Use color edge detection method to determine the exact position of the edge of the end face of the ingot; S4. Compensate for the delay error of the fixed-length detection value caused by the detection delay; S5. Correct the edge position of the end face of the ingot; S6. Initialize the correspondence between the fixed-length detection value in the image and the edge position point of the end face of the casting billet; S7. Optimize the cutting accuracy of the ingot; S8. Use the drawing machine speed integral to monitor the online length detection value and provide redundancy when not producing tail billets; The specific process of S3 is as follows: S31. In each color RGB image captured by the visible light camera, a straight line is set along the trajectory of the end face of the billet, and the direction of the straight line is consistent with the running direction of the billet; S32. two adjacent rectangular frames are arranged along the straight line, so that the midpoint of the right line of the left rectangular frame coincides with the midpoint of the left line of the right rectangular frame, and the two rectangular frames are moved by keeping the coincident midpoint on the straight line and moving the coincident midpoint from the starting point of the straight line along the running direction of the casting billet, and the R, G, B average values ​​of all pixels in each of the two rectangular frames are calculated; S33. Assume that the average values ​​of R, G, and B of all pixels in the two rectangular boxes are R11, G11, B11, R12, G12, and B12 respectively, and then calculate the similarity of the two adjacent rectangular boxes through the normalization formula XSD1=1-(|R11-R12|+|G11-G12|+|B11-B12|) / (255*3). When the similarity XSD1 is lower than the set threshold FZ1 for the first time, it is considered that the intersection of the common edge of the two adjacent rectangular boxes and the straight line is the detected edge position point of the ingot end face.

2. The method according to claim 1, characterized in that The specific process of S2 is: S21. Use the image annotation tool to annotate the approximate position of the end face of the ingot in the image taken by the visible light camera; S22. Using the annotated images to train a neural network capable of identifying the approximate position of the end face of the ingot; S23. Use the trained neural network to identify the approximate position of the end face of the ingot.

3. The method according to claim 2, characterized in that The image annotation tool is LabelImg, and the neural network is yolo.

4. The method according to claim 1, characterized in that The specific process of S4 is: in each color RGB image taken by the visible light camera, the moving speed V of the edge position point of the end face of the ingot is calculated, and the fixed-length detection value detection delay time DT1 is set to obtain the fixed-length detection value delay error E1=V*DT1 caused by the detection delay.

5. The method according to claim 1, characterized in that The specific process of S5 is: record the time TS when the last image processing is completed, record the fixed-length detection value VS obtained after the last image processing and compensating for the delay error of the fixed-length detection value caused by the detection delay, suppose the current time is TA, then the edge position point of the end face of the ingot after image processing correction at the current time XB = VS + (TA-TS) * V, where V is the moving speed of the edge position point of the end face of the ingot.

6. The method according to claim 1, characterized in that The specific process of S6 is: during initialization, first set the in-image fixed-sizing detection value YB = the online fixed-sizing detection value P calculated by integrating the speed of the billet drawing machine, and then record the in-image fixed-sizing detection value YB and the edge position point XB of the billet end face at different positions as the corresponding relationship between them during initialization.

7. The method according to claim 1, characterized in that The specific process of S7 is as follows: S71. For each length dimension of the billet fixed length value, set the billet cutting length target value PS, and issue a cutting command to cut the billet when the billet fixed length detection value reaches the cutting length target value PS; S72. Measure the actual length A of the cut ingot, and obtain the cutting accuracy optimization error of the cut ingot of this length = AT; S73. Input the optimized cutting accuracy error of the billet length value of this length dimension into the sizing system as the optimized cutting accuracy error of the billet length value of this length dimension and superimpose it on the online sizing detection value to obtain a new online sizing detection value of this length dimension; S74. When the new online sizing detection value reaches near the cutting length target value PS, a cutting command is issued to cut out the ingot.

8. The method according to claim 1, characterized in that The specific process of S8 is: when non-tail billet production is in progress, the difference between the online cut-length detection value PF obtained by calculating the integral of the billet drawing machine speed and the online cut-length detection value YBS obtained by image analysis is compared in real time; when the difference is less than or equal to the preset threshold, the online cut-length detection value YBS is automatically selected as the online cut-length detection value; when the difference is greater than the preset threshold, an alarm message is generated, and the online cut-length detection value PF or the online cut-length detection value YBS is selected as the online cut-length detection value according to the preset selection.