A casting sheet stretching control method and system based on machine vision
Through machine vision and Kalman filter technology, the problems of low measurement accuracy and poor control accuracy of the traditional cast sheet stretch control system are solved, and high-precision automated cast sheet stretch control is achieved, which is suitable for lithium battery separator production.
Patent Information
- Application Number
- CN202410837136.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-06-26
AI Technical Summary
The traditional cast sheet stretch control system has low measurement accuracy and poor control accuracy, and requires professional and technical personnel to operate, which is limited by experience and operational influences.
Methods based on machine vision and image processing are used to obtain multi-dimensional tensile status data from the cast image, and combined with Kalman filtering technology to accurately control the micro-force sensor to achieve automated cast stretch control.
It improves the measurement accuracy and timeliness of cast sheet stretch control, realizes high-precision automated control, and is suitable for the production of lithium battery separators.
Smart Images

Figure CN118418436B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cast sheet stretching control, and in particular to a cast sheet stretching control method and system based on machine vision. Background Art
[0002] Lithium battery separator is an important component of lithium-ion battery, which can effectively block the transmission of electrons inside the battery. The production of lithium battery separator requires adding additives such as resin to the mixture, and then extruding it for bidirectional synchronous stretching. Among them, bidirectional synchronous stretching is completed by the casting stretching system. Through stretching, the molecular chain of the separator is oriented in both the vertical and horizontal directions, thereby improving and enhancing the application performance of the product.
[0003] At present, the commonly used casting sheet stretching control system uses a thickness gauge to measure the casting sheet thickness, and then controls the longitudinal stretching and transverse stretching equipment to achieve casting sheet thickness control. However, the traditional stretching control method faces the problems of low measurement accuracy and poor stretching control precision. In addition, the traditional stretching control method requires professional technicians to operate the machine, which is affected by the experience and operation of professional technicians. Summary of the invention
[0004] In view of this, the present invention provides a casting sheet stretching control method and system based on machine vision, the purpose of which is to provide a casting sheet stretching state measurement and control method based on machine vision and image processing, which senses the casting sheet stretching state from multiple dimensions such as casting sheet thickness, transverse stretching length, and longitudinal stretching speed, and uses image processing methods to obtain high-accuracy casting sheet measurement data, thereby controlling the micro-force sensor to realize automatic casting sheet stretching control. At the same time, the Kalman filtering method is used to control the magnitude of the current in the electromagnetic coil of the micro-force sensor to realize accurate casting sheet stretching control.
[0005] To achieve the above object, the present invention provides a casting sheet stretching control method based on machine vision, comprising the following steps:
[0006] S1: During the casting sheet stretching process, the casting sheet image is collected and the image is denoised to obtain a denoised casting sheet image;
[0007] S2: Rotate and register the denoised slab image, and use a semantic segmentation network to identify the registered slab image, and classify it to obtain a slab thickness image and a slab plane image;
[0008] S3: Selecting a casting sheet thickness image from the classified casting sheet images, determining a casting sheet thickness area, and measuring casting sheet thickness data;
[0009] S4: selecting a casting plane image from the classified casting images, and calculating the transverse stretching length and the longitudinal stretching speed;
[0010] S5: Input the casting thickness data obtained in step S3 and the transverse stretching length and longitudinal stretching speed obtained in step S4 into the micro-force sensor control system to realize casting stretching control.
[0011] As a further improvement method of the present invention:
[0012] Optionally, in step S1, collecting the casting image and denoising the image to obtain the denoised casting image includes:
[0013] S101: storing the casting image as a grayscale image of 512 pixels×512 pixels, cropping 10% of the pixels before and after the histogram, and redistributing the remaining pixel data of the histogram to obtain balanced histogram data, thereby enhancing the contrast of the casting image;
[0014] S102: Identify each pixel of the casting image obtained in step S101 and mark the pixel to be blurred:
[0015] ;
[0016] in, Represents the pixel index of the casting image, Indicates that the pixel is the pixel to be blurred. Indicates that the pixel does not need to be processed. Indicates the window size is Pixel Pixels, Represents the pixel value at the center of the window, Represents the maximum value of pixels in the window, Indicates the minimum value of pixels in the window;
[0017] S103: Apply a two-dimensional Gaussian function to calculate the Gaussian weight of the pixel to be blurred:
[0018] ;
[0019] in, represents the Gaussian weight of the pixel, Indicates the variance of pixel index, which is 1.5;
[0020] Calculate the Gaussian blur value and adjust the pixel value of the pixel to be blurred to the Gaussian blur value to obtain the denoised casting image:
[0021] ;
[0022] in, Indicates the Gaussian blur value of the pixel to be blurred.
[0023] Optionally, in step S2, the denoised cast sheet image is rotationally registered, and a semantic segmentation network is used to identify the registered cast sheet image, and the cast sheet thickness image and the cast sheet plane image are classified, including:
[0024] S201: Rotate the denoised casting image to obtain a rotation Angled casting image , the casting image Compare with the standard images in the image library and calculate the similarity between the images: ;
[0025] in, Indicates the casting image The similarity between the image and the standard image in the image library, Indicates the casting image Pixel data, Represents the pixel data of a standard image in the image library, represents the brightness contrast function, represents the contrast function, represents the structural contrast function, Respectively represent the weights of brightness, contrast, and structure in the image similarity index;
[0026] S202: Finding a casting image having the greatest similarity to a standard image in the image library, and determining that the casting image is a casting image after rotational registration;
[0027] S203: constructing a data set of casting thickness images and casting plane images using standard images in the image library, and training a semantic segmentation network;
[0028] S204: using the trained semantic segmentation network, classify and identify the rotationally registered casting image, and annotate the casting thickness image and the casting plane image.
[0029] Optionally, in step S3, selecting a casting thickness image from the classified casting images, determining a casting thickness area, and measuring casting thickness data include:
[0030] S301: for the casting thickness image, traverse the pixel points and determine the minimum pixel value , set the detection threshold , The initial value is set to , the threshold growth factor is ;
[0031] S302: traverse the pixel points of the casting thickness image again, and compare the pixel value of each point with the threshold , determine the target area:
[0032] ;
[0033] in, Indicates that the pixel is the target area. Represents the pixel value of each point and constructs the pixel point set of the target area ;
[0034] S303: Threshold Increase Repeat step S202, record each threshold increase, pixel set rate of change;
[0035] S304: Repeat step S203 until the pixel point set is empty;
[0036] S305: Determine pixel point set The minimum value of the change rate. At this time, the target area is the casting thickness area. The number of pixels in this area is measured and recorded as the casting thickness. .
[0037] Optionally, in step S4, selecting a casting sheet plane image from the classified casting sheet images and calculating the transverse stretching length and the longitudinal stretching speed comprises:
[0038] S401: for the plane image of the casting sheet, a statistical ordered constant false alarm algorithm is used in the horizontal direction, and a unit average constant false alarm algorithm is used in the vertical direction to determine the pixel unit where the target is located;
[0039] S402: Calculate the target area:
[0040] ;
[0041] in, represents the target area, Indicates the horizontal length of the target area. Indicates the vertical length of the target area;
[0042] Sort the plane images of the castings according to the target area from small to large, and construct a sequence of plane images of the castings , Represents a sequence index;
[0043] S403: Select an image in the casting plane image sequence , record the horizontal length of the target area as the initial horizontal length ;
[0044] Select an image from the Cast Plane image sequence , Indicates the maximum value of the sequence index, and records the horizontal length of the target area as the latest horizontal length ;
[0045] Calculate the horizontal stretch length of the target area:
[0046] ;
[0047] in, Indicates the transverse stretch length;
[0048] S404: Select an image in the casting plane image sequence , record the vertical length of the target area as the latest vertical length ;
[0049] Select an image from the Cast Plane image sequence , record the vertical length of the target area as ;
[0050] Calculate the longitudinal stretching velocity of the target area:
[0051] ;
[0052] in, represents the longitudinal stretching speed, Representing images With image Collection time interval.
[0053] Optionally, in step S5, the casting thickness data obtained in step S3 and the transverse stretching length and longitudinal stretching speed obtained in step S4 are input into a micro-force sensor control system to implement casting stretching control, including:
[0054] During the stretching process of the casting, the micro-force sensor is responsible for detecting the stretching force and providing a high-precision constant stretching force; the micro-force sensor uses an electromagnetic structure to provide the stretching force, and the magnitude of the stretching force is controlled by the current in the electromagnetic coil;
[0055] S501: Input the casting thickness data obtained in step S3 and the transverse stretching length and longitudinal stretching speed obtained in step S4 into the micro-force sensor control system to construct an initial measurement vector of the micro-force sensor control system:
[0056] ;
[0057] in, represents the initial measurement vector of the micro-force sensor, Represents the tensile force detected by the micro-force sensor;
[0058] Using the initial current in the electromagnetic coil , construct the initial state vector of the micro-force sensor control system:
[0059] ;
[0060] in, Represents the initial state vector of the micro-force sensor control system;
[0061] S502: Establishing a discrete state space model for electromagnetic coil current estimation:
[0062] ;
[0063] ;
[0064] in, Indicates that the micro-force sensor control system is The real state vector at time, Indicated in The process Gaussian noise at time instant, Indicates that the micro-force sensor control system is The measurement vector at time, represents the observation matrix, Indicated in The observation noise at the moment;
[0065] S503: Prediction The current required in the electromagnetic coil at this moment:
[0066] ;
[0067] ;
[0068] ;
[0069] in, express The moment Kalman gain, express The moment covariance matrix value, express The moment process noise covariance matrix, Representation Matrix Transpose, represents the observation noise covariance, express The estimated value of the covariance matrix at time , represents the unit diagonal matrix, Represents the matrix Seek the inverse, express The state vector prediction value of the micro-force sensor control system at time, Indicates that the micro-force sensor control system is The measurement vector of the moment;
[0070] S504: Obtain the current value required by the electromagnetic coil , to achieve casting stretching control.
[0071] The present invention also provides a casting sheet stretching control system based on machine vision, comprising:
[0072] Casting image acquisition and denoising module: acquire casting images and denoise the images;
[0073] Image feature recognition module: performs rotation registration on the denoised casting image and uses a semantic segmentation network to identify the casting image;
[0074] Casting thickness measurement module: selects a casting thickness image from the classified casting images and measures the casting thickness data;
[0075] Casting piece stretching measurement module: selects the casting piece plane image from the classified casting piece images, and measures the transverse stretching length and longitudinal stretching speed;
[0076] Micro-force sensor control module: input casting thickness data, transverse stretching length and longitudinal stretching speed to realize casting stretching control.
[0077] Beneficial effects:
[0078] The method of the present invention is based on machine vision. By collecting and processing the cast sheet images, the cast sheet thickness image and the cast sheet plane image can be quickly distinguished, the cast sheet thickness data, the transverse stretching length and the longitudinal stretching speed can be accurately measured, and the multi-dimensional stretching state of the cast sheet can be obtained in real time, thereby improving the measurement accuracy and timeliness. The faster the longitudinal stretching speed, the shorter the heating time of the lithium battery separator, and the stretching temperature needs to be increased accordingly; the method of the present invention measures the longitudinal stretching speed of the cast sheet, which is conducive to accurately controlling the stretching temperature.
[0079] The method of the present invention integrates the casting thickness data, the transverse stretching length and the longitudinal stretching speed, performs micro-force sensor control, and can obtain more comprehensive and accurate control results.
[0080] The method of the invention adopts a micro-force sensor control system based on Kalman filtering to accurately control the magnitude of the current in the electromagnetic coil of the micro-force sensor, which is conducive to realizing high-precision and automatic casting stretching control. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] Figure 1 The present invention is a flowchart of a casting stretching control method based on machine vision according to an embodiment of the present invention. DETAILED DESCRIPTION
[0082] The present invention is further described below in conjunction with the accompanying drawings, but the present invention is not limited in any way. Any changes or substitutions made based on the teachings of the present invention belong to the protection scope of the present invention.
[0083] Embodiment 1: A casting sheet stretching control method based on machine vision, such as Figure 1 As shown, the following steps are included:
[0084] S1: During the stretching process of the casting sheet, the casting sheet image is collected and the image is denoised to obtain a denoised casting sheet image.
[0085] S101: storing the casting image obtained in step S101 as a grayscale image of 512 pixels×512 pixels, cropping 10% of the pixels before and after the histogram, and redistributing the remaining pixel data of the histogram to obtain balanced histogram data, thereby enhancing the contrast of the casting image;
[0086] S102: Identify each pixel of the casting image obtained in step S101 and mark the pixel to be blurred:
[0087] ;
[0088] in, Represents the pixel index of the casting image, Indicates that the pixel is the pixel to be blurred. Indicates that the pixel does not need to be processed. represents the pixel value at the center of a 3-pixel × 3-pixel window, Indicates the maximum value of the pixels in the corresponding window, Indicates the minimum value of the pixels in the corresponding window;
[0089] S103: Apply a two-dimensional Gaussian function to calculate the Gaussian weight of the pixel to be blurred:
[0090] ;
[0091] in, represents the Gaussian weight of the pixel, Indicates the variance of pixel index, which is 1.5;
[0092] Calculate the Gaussian blur value and adjust the pixel value of the pixel to be blurred to the Gaussian blur value to obtain the denoised casting image:
[0093] ;
[0094] in, Indicates the Gaussian blur value of the pixel to be blurred.
[0095] S2: The denoised casting image is rotationally registered, and a semantic segmentation network is used to identify the registered casting image, and the casting thickness image and the casting plane image are classified.
[0096] S201: Rotate the denoised casting image to obtain a rotation Angled casting image , the casting image Compare with the standard images in the image library and calculate the similarity between the images: ;
[0097] in, Indicates the casting image The similarity between the image and the standard image in the image library, Indicates the casting image Pixel data, Represents the pixel data of a standard image in the image library, represents the brightness contrast function, represents the contrast function, represents the structural contrast function, Respectively represent the weights of brightness, contrast, and structure in the image similarity index;
[0098] S202: Finding a casting image having the greatest similarity to a standard image in the image library, and determining that the casting image is a casting image after rotational registration;
[0099] S203: constructing a data set of casting thickness images and casting plane images using standard images in the image library, and training a semantic segmentation network;
[0100] S204: using the trained semantic segmentation network, classify and identify the rotationally registered casting image, and annotate the casting thickness image and the casting plane image.
[0101] S3: Selecting a casting thickness image from the classified casting images, determining a casting thickness area, and measuring casting thickness data.
[0102] S301: for the casting thickness image, traverse the pixel points and determine the minimum pixel value , set the detection threshold , The initial value is set to , the threshold growth factor is ;
[0103] S302: traverse the pixel points of the casting thickness image again, and compare the pixel value of each point with the threshold , determine the target area:
[0104] ;
[0105] in, Indicates that the pixel is the target area. Represents the pixel value of each point and constructs the pixel point set of the target area ;
[0106] S303: Threshold Increase Repeat step S202, record each threshold increase, pixel set rate of change;
[0107] S304: Repeat step S203 until the pixel point set is empty;
[0108] S305: Determine a pixel point set The minimum value of the change rate. At this time, the target area is the casting thickness area. The number of pixels in this area is measured and recorded as the casting thickness. .
[0109] S4: Select a casting plane image from the classified casting images, and calculate the transverse stretching length and the longitudinal stretching speed.
[0110] S401: for the plane image of the casting sheet, a statistical ordered constant false alarm algorithm is used in the horizontal direction, and a unit average constant false alarm algorithm is used in the vertical direction to determine the pixel unit where the target is located;
[0111] S402: Calculate the target area:
[0112] ;
[0113] in, represents the target area, Indicates the horizontal length of the target area. Indicates the vertical length of the target area;
[0114] Sort the plane images of the castings according to the target area from small to large, and construct a sequence of plane images of the castings , Represents a sequence index;
[0115] S403: Select an image in the casting plane image sequence , record the horizontal length of the target area as the initial horizontal length ;
[0116] Select an image from the Cast Plane image sequence , Indicates the maximum value of the sequence index, and records the horizontal length of the target area as the latest horizontal length ;
[0117] Calculate the horizontal stretch length of the target area:
[0118] ;
[0119] in, Indicates the transverse stretch length;
[0120] S404: Select an image in the casting plane image sequence , record the vertical length of the target area as the latest vertical length ;
[0121] Select an image from the Cast Plane image sequence , record the vertical length of the target area as ;
[0122] Calculate the longitudinal stretching velocity of the target area:
[0123] ;
[0124] in, represents the longitudinal stretching speed, Representing images With image Collection time interval.
[0125] S5: Inputting the casting thickness data obtained in step S3 and the transverse stretching length and longitudinal stretching speed obtained in step S4 into the micro-force sensor control system to realize casting stretching control, including:
[0126] During the stretching process of the casting, the micro-force sensor is responsible for detecting the stretching force and providing a high-precision constant stretching force; the micro-force sensor uses an electromagnetic structure to provide the stretching force, and the magnitude of the stretching force is controlled by the current in the electromagnetic coil;
[0127] S501: Input the casting thickness data obtained in step S3 and the transverse stretching length and longitudinal stretching speed obtained in step S4 into the micro-force sensor control system to construct an initial measurement vector of the micro-force sensor control system:
[0128] ;
[0129] in, represents the initial measurement vector of the micro-force sensor, Represents the tensile force detected by the micro-force sensor;
[0130] Using the initial current in the electromagnetic coil , construct the initial state vector of the micro-force sensor control system:
[0131] ;
[0132] in, Represents the initial state vector of the micro-force sensor control system;
[0133] S502: Establishing a discrete state space model for electromagnetic coil current estimation:
[0134] ;
[0135] ;
[0136] in, Indicates that the micro-force sensor control system is The real state vector at time, Indicated in The process Gaussian noise at time instant, Indicates that the micro-force sensor control system is The measurement vector at time, represents the observation matrix, Indicated in The observation noise at the moment;
[0137] S503: Prediction The current required in the electromagnetic coil at this moment:
[0138] ;
[0139] ;
[0140] ;
[0141] in, express The moment Kalman gain, express The moment covariance matrix value, express The moment process noise covariance matrix, Representation Matrix Transpose, represents the observation noise covariance, express The estimated value of the covariance matrix at time , represents the unit diagonal matrix, Represents the matrix Seek the inverse, express The state vector prediction value of the micro-force sensor control system at time, Indicates that the micro-force sensor control system is The measurement vector of the moment;
[0142] S504: Obtain the current value required by the electromagnetic coil , to achieve casting stretching control.
[0143] Embodiment 2: The present invention also discloses a casting sheet stretching control method and system based on machine vision, comprising the following five modules:
[0144] Casting image acquisition and denoising module: acquire casting images and denoise the images;
[0145] Image feature recognition module: performs rotation registration on the denoised casting image and uses a semantic segmentation network to identify the casting image;
[0146] Casting thickness measurement module: selects a casting thickness image from the classified casting images and measures the casting thickness data;
[0147] Casting piece stretching measurement module: selects the casting piece plane image from the classified casting piece images, and measures the transverse stretching length and longitudinal stretching speed;
[0148] Micro-force sensor control module: input casting thickness data, transverse stretching length and longitudinal stretching speed to realize casting stretching control.
[0149] It should be noted that the serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. And the terms "including", "comprising" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method 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, device, article or method. In the absence of further restrictions, an element defined by the sentence "including a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0150] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0151] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A casting sheet stretching control method based on machine vision, It is characterized in that The following steps are involved: S1: During the casting sheet stretching process, the casting sheet image is collected and the image is denoised to obtain a denoised casting sheet image; The step S1 comprises: S101: equalizing the histogram of the casting image to achieve contrast enhancement of the casting image; S102: Identify each pixel of the casting image obtained in step S101 and mark the pixel to be blurred: ; in, Represents the pixel index of the casting image, Indicates that the pixel is the pixel to be blurred. Indicates that the pixel does not need to be processed. Indicates the window size is Pixel Pixels, Represents the pixel value at the center of the window, Represents the maximum value of pixels in the window, Indicates the minimum value of pixels in the window; S103: Apply a two-dimensional Gaussian function to calculate the Gaussian weight of the pixel to be blurred: ; in, represents the Gaussian weight of the pixel, represents the variance of pixel index; Calculate the Gaussian blur value and adjust the pixel value of the pixel to be blurred to the Gaussian blur value to obtain the denoised casting image: ; in, The Gaussian blur value of the pixel to be blurred; S2: Rotate and register the denoised slab image, and use a semantic segmentation network to identify the registered slab image, and classify it to obtain a slab thickness image and a slab plane image; S3: Selecting a casting sheet thickness image from the classified casting sheet images, determining a casting sheet thickness area, and measuring casting sheet thickness data; The step S3 comprises: S301: for the casting thickness image, traverse the pixel points and determine the minimum pixel value , set the detection threshold , The initial value is set to , the threshold growth factor is ; S302: traverse the pixel points of the casting thickness image again, and compare the pixel value of each point with the threshold , determine the target area: ; in, Indicates that the pixel is the target area. Represents the pixel value of each point and constructs the pixel point set of the target area ; S303: Threshold Increase Repeat step S202, record each threshold increase, pixel set rate of change; S304: Repeat step S203 until the pixel point set is empty; S305: Determine pixel point set The minimum value of the change rate. At this time, the target area is the casting thickness area. The number of pixels in this area is measured and recorded as the casting thickness. ; S4: selecting a casting plane image from the classified casting images, and calculating the transverse stretching length and the longitudinal stretching speed; The step S4 comprises: S401: for the plane image of the casting sheet, a statistical ordered constant false alarm algorithm is used in the horizontal direction, and a unit average constant false alarm algorithm is used in the vertical direction to determine the pixel unit where the target is located; S402: Calculate the target area: ; in, represents the target area, Indicates the horizontal length of the target area. Indicates the vertical length of the target area; Sort the plane images of the castings according to the target area from small to large, and construct a sequence of plane images of the castings , Represents a sequence index; S403: Select an image in the casting plane image sequence , record the horizontal length of the target area as the initial horizontal length ; Select an image from the Cast Plane image sequence , Indicates the maximum value of the sequence index, and records the horizontal length of the target area as the latest horizontal length ; Calculate the horizontal stretch length of the target area: ; in, Indicates the transverse stretch length; S404: Select an image in the casting plane image sequence , record the vertical length of the target area as the latest vertical length ; Select an image from the Cast Plane image sequence , record the vertical length of the target area as ; Calculate the longitudinal stretching velocity of the target area: ; in, represents the longitudinal stretching speed, Representing images With image Collection time interval; S5: Input the casting thickness data obtained in step S3 and the transverse stretching length and longitudinal stretching speed obtained in step S4 into the micro-force sensor control system to realize casting stretching control.
2. The casting sheet stretching control method based on machine vision according to claim 1, It is characterized in that The step S2 comprises: S201: Rotate the denoised casting image to obtain a rotation Angled casting image , the casting image Compare with the standard images in the image library and calculate the similarity between the images: ; in, Represents the casting image The similarity between the image and the standard image in the image library, Indicates the casting image Pixel data, Represents the pixel data of a standard image in the image library, represents the brightness contrast function, represents the contrast function, represents the structural contrast function, Respectively represent the weights of brightness, contrast, and structure in the image similarity index; S202: Finding a casting image having the greatest similarity to a standard image in the image library, and determining that the casting image is a casting image after rotational registration; S203: constructing a data set of casting thickness images and casting plane images using standard images in the image library, and training a semantic segmentation network; S204: using the trained semantic segmentation network, classify and identify the rotationally registered casting image, and annotate the casting thickness image and the casting plane image.
3. The casting sheet stretching control method based on machine vision according to claim 2, It is characterized in that The step S5 comprises: During the stretching process of the casting, the micro-force sensor is responsible for detecting the stretching force and providing a high-precision constant stretching force; the micro-force sensor uses an electromagnetic structure to provide the stretching force, and the magnitude of the stretching force is controlled by the current in the electromagnetic coil; S501: Input the casting thickness data obtained in step S3 and the transverse stretching length and longitudinal stretching speed obtained in step S4 into the micro-force sensor control system to construct an initial measurement vector of the micro-force sensor control system: ; in, represents the initial measurement vector of the micro-force sensor, Represents the tensile force detected by the micro-force sensor; Using the initial current in the electromagnetic coil , construct the initial state vector of the micro-force sensor control system: ; in, Represents the initial state vector of the micro-force sensor control system; S502: Establishing a discrete state space model for electromagnetic coil current estimation: ; ; in, Indicates that the micro-force sensor control system is The real state vector at time, Indicated in The process Gaussian noise at time instant, Indicates that the micro-force sensor control system is The measurement vector at time, represents the observation matrix, Indicated in The observation noise at the moment; S503: Prediction The current required in the electromagnetic coil at this moment: ; ; ; in, express The moment Kalman gain, express The moment covariance matrix value, express The moment process noise covariance matrix, Representation Matrix Transpose, represents the observation noise covariance, express The estimated value of the covariance matrix at time , represents the unit diagonal matrix, Represents the matrix Seek the inverse, express The state vector prediction value of the micro-force sensor control system at time, Indicates that the micro-force sensor control system is The measurement vector of the moment; S504: Obtain the current value required by the electromagnetic coil , to achieve casting stretching control.
4. A casting sheet stretching control system based on machine vision, It is characterized in that include: Casting image acquisition and denoising module: acquire casting images and denoise the images; Image feature recognition module: performs rotation registration on the denoised casting image and uses a semantic segmentation network to identify the casting image; Casting thickness measurement module: selects a casting thickness image from the classified casting images and measures the casting thickness data; Casting piece stretching measurement module: selects the casting piece plane image from the classified casting piece images, and measures the transverse stretching length and longitudinal stretching speed; Micro-force sensor control module: inputs the casting thickness data, transverse stretching length and longitudinal stretching speed to realize casting stretching control; To realize a casting stretching control method based on machine vision as described in any one of claims 1-3.
