A wave edge detection system and method based on lithium battery coating process
By using the wavy edge detection system in the lithium battery coating process and using a combination of processing, determination, detection and control modules, the problem of inaccurate wavy edge detection in the lithium battery coating process is solved, and the coating surface and appearance quality are improved, and Eliminate wavy edges by adjusting the die position in real time.
Patent Information
- Application Number
- CN202310826094.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-06
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-07-06
AI Technical Summary
Existing technology cannot accurately detect the wavy edges in the lithium battery coating process, resulting in deviations in ceramic boundary calculations and affecting the coating surface and appearance quality.
A wavy edge detection system based on lithium battery coating technology is used, including a processing module, a determination module, a detection module and a control module. It preprocesses by obtaining the initial image, extracts the contour feature map, performs defect detection, and manages and controls lithium based on the detection results. Die position of battery coating machine.
It achieves accurate detection of wavy edges in the lithium battery coating process, avoids ceramic boundary calculation deviations, improves coating surface and appearance quality, and eliminates wavy edges by moving the die in real time, further improving detection quality.
Smart Images

Figure CN116958070B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of lithium batteries, and in particular to a wave edge detection system and method based on a lithium battery coating process. Background Art
[0002] The lithium battery coating process is a process based on the study of fluid properties. It is a process of coating one or more layers of liquid on a substrate. The substrate is usually a flexible film or backing paper. The coated liquid coating is then dried in an oven or cured to form a film layer with special functions. The coating process is to evenly apply the positive and negative electrode slurry on the base layer. The coating process is divided into positive and negative electrode pre-coating coating and positive and negative electrode slurry coating. The main methods of coating lithium-ion battery pole pieces are currently comma roller transfer coating, slit extrusion coating, etc.
[0003] Since the coating discharge from the coating nozzle will change, the ceramic boundary and the electrode boundary will often form a wavy edge problem. This wavy edge will cause deviations in the calculation of the ceramic boundary. The current grayscale edge grasping method is used to detect the wavy edge. The ceramic boundary is obtained by extracting the ceramic grayscale set on the interface. At the same time, the ceramic peak detection is performed and binarization is extracted to obtain the boundary of the ceramic area. Then, the leftmost side of the ceramic area is obtained by obtaining the leftmost side of this area, and the ceramic peak position is obtained. Finally, the wavy edge grasping position is obtained. However, this detection method seriously affects the appearance quality of the coating, and will have a great impact on the measurement of the ceramic width boundary, resulting in unstable edge grasping.
[0004] Therefore, how to provide a system and method for effectively detecting the wavy edges in the lithium battery coating process is a technical problem that needs to be solved. Summary of the invention
[0005] The embodiment of the present invention provides a wave edge detection system and method based on a lithium battery coating process, which is used to solve the technical problem in the prior art that the wave edge in the lithium battery coating process cannot be accurately detected and the coating surface detection quality cannot be improved.
[0006] In order to achieve the above object, the present invention provides a wave edge detection system based on lithium battery coating process, the system comprising:
[0007] A processing module, used to obtain an initial image of the lithium battery coating process, and preprocess the initial image to obtain an image to be detected, wherein the preprocessing includes median filtering, mean shift processing and histogram equalization processing;
[0008] A determination module, used for extracting characteristic parameters of the image to be detected, and determining a contour feature map of the image to be detected based on the characteristic parameters;
[0009] A detection module, used for inputting the contour feature map into a pre-built defect detection model, performing defect detection on the contour feature map, and determining whether there are defects in the contour feature map;
[0010] The control module is used to manage and control the die head position of the lithium battery coating machine according to the detection results.
[0011] In one embodiment, the determining module is specifically used to:
[0012] The determination module is used to perform grayscale processing on the image to be detected to determine a grayscale image;
[0013] The determination module is used to calculate the pixel value of each pixel point on the grayscale image, and compare the pixel value of each pixel point with a preset pixel threshold value.
[0014] The determination module is used to generate a first pixel point set according to the corresponding pixel point when the pixel value of the pixel point is greater than the pixel threshold;
[0015] The determination module is used to generate a second pixel point set according to the corresponding pixel point when the pixel value of the pixel point is less than or equal to the pixel threshold;
[0016] The determination module is used to delete the second pixel point set and calculate the mean value of the first pixel points of the first pixel point set;
[0017] The determination module is used to determine the contour feature map of the image to be detected according to the first pixel point mean value.
[0018] In one embodiment, the determining module is specifically used to:
[0019] The determination module is used to determine whether the contour feature map of the image to be detected can be constructed based on the first pixel point set according to the relationship between the first pixel point mean and the pixel point mean threshold;
[0020] The determination module is used to determine that the contour feature map of the image to be detected can be constructed based on the first pixel point set when the first pixel point mean is greater than or equal to the pixel point mean threshold;
[0021] The determination module is used to determine that the contour feature map of the image to be detected cannot be constructed based on the first pixel point set when the first pixel point mean value is less than the pixel point mean value threshold value.
[0022] In one embodiment, the determining module is specifically used to:
[0023] The determination module is used for sorting the pixel points in the first pixel point set by numerical value and obtaining a third pixel point set when it is determined that the contour feature map of the image to be detected cannot be constructed according to the first pixel point set;
[0024] The determination module is used to delete the smallest pixel point in the third pixel point set, and generate a fourth pixel point set according to the remaining pixel points;
[0025] The determination module is used to calculate a second pixel mean of the fourth pixel set, and determine whether a contour feature map of the image to be detected can be constructed based on the fourth pixel set according to a relationship between the second pixel mean and the pixel mean threshold;
[0026] The determination module is used for determining that a contour feature map of the image to be detected can be constructed according to the fourth pixel point set when the second pixel point mean is greater than or equal to the pixel point mean threshold;
[0027] The determination module is used to determine that the contour feature map of the image to be detected cannot be constructed based on the fourth pixel set when the second pixel mean is less than the pixel mean threshold, and to re-acquire the initial image of the lithium battery coating process.
[0028] In one embodiment, the detection module is specifically used for:
[0029] The detection module is used to perform a convolution operation on the contour feature map and obtain a convolution value;
[0030] The detection module is used to determine whether the contour feature map has defects according to the relationship between the convolution value and the preset convolution value;
[0031] The detection module is used to determine that there is a defect in the contour feature map when the convolution value is greater than the preset convolution value;
[0032] The detection module is used to determine that there is no defect in the contour feature map when the convolution value is less than or equal to the preset convolution value.
[0033] In one embodiment, the control module is specifically used for:
[0034] The control module is used for establishing a first plane rectangular coordinate system and a second plane rectangular coordinate system associated with the contour feature map and the standard contour feature map respectively when there is a defect in the contour feature map;
[0035] The control module is used to determine a standard point, and obtain a first coordinate point of the standard point in the first plane rectangular coordinate system, and obtain a second coordinate point of the standard point in the second plane rectangular coordinate system;
[0036] The control module is used to calculate the defect offset A of the contour feature map according to the first coordinate point and the second coordinate point;
[0037] The control module is used to manage and control the die head position of the lithium battery coating machine according to the defect offset A.
[0038] In one embodiment, the control module is specifically used for:
[0039] The control module is used to set the driving power and driving time of the first motor and the second motor in the lithium battery coating machine according to the defect offset A of the contour feature graph;
[0040] The control module is used to preset a defect offset matrix B of the profile feature map, and set B (B1, B2, B3, B4), wherein B1 is a first preset defect offset, B2 is a second preset defect offset, B3 is a third preset defect offset, B4 is a fourth preset defect offset, and B1<B2<B3<B4;
[0041] The control module is used to preset a driving power matrix C, set C (C1, C2, C3, C4, C5), wherein C1 is a first preset driving power, C2 is a second preset driving power, C3 is a third preset driving power, C4 is a fourth preset driving power, C5 is a fifth preset driving power, and C1<C2<C3<C4<C5;
[0042] The control module is used to preset a driving time matrix D, set D (D1, D2, D3, D4, D5), wherein D1 is a first preset driving time, D2 is a second preset driving time, D3 is a third preset driving time, D4 is a fourth preset driving time, D5 is a fifth preset driving time, and D1<D2<D3<D4<D5;
[0043] The control module is further used to set the driving power and driving time of the first motor and the second motor according to the relationship between the defect offset A of the contour feature graph and each preset defect offset:
[0044] When A<B1, the first preset driving power C1 is selected as the driving power of the first motor and the second motor, and the first preset driving time D1 is selected as the driving time of the first motor and the second motor;
[0045] When B1≤A<B2, the second preset driving power C2 is selected as the driving power of the first motor and the second motor, and the second preset driving time D2 is selected as the driving time of the first motor and the second motor;
[0046] When B2≤A<B3, the third preset driving power C3 is selected as the driving power of the first motor and the second motor, and the third preset driving time D3 is selected as the driving time of the first motor and the second motor;
[0047] When B3≤A<B4, the fourth preset driving power C4 is selected as the driving power of the first motor and the second motor, and the fourth preset driving time D4 is selected as the driving time of the first motor and the second motor;
[0048] When B4≤A, the fifth preset driving power C5 is selected as the driving power of the first motor and the second motor, and the fifth preset driving time D5 is selected as the driving time of the first motor and the second motor.
[0049] In one embodiment, the control module is specifically used for:
[0050] The control module is used to detect the inclination angle E of the die head in the lithium battery coating machine after managing and controlling the die head position of the lithium battery coating machine according to the defect offset A;
[0051] The control module is used to correct the driving power and driving time of the second motor according to the inclination angle E of the die head in the lithium battery coating machine.
[0052] In one embodiment, the control module is specifically used for:
[0053] The control module is used to detect the inclination angle E of the die head in the lithium battery coating machine after managing and controlling the die head position of the lithium battery coating machine according to the defect offset A;
[0054] The control module is used to correct the driving power and driving time of the second motor according to the inclination angle E of the die head in the lithium battery coating machine;
[0055] The control module is used to preset the inclination angle matrix G of the die head in the lithium battery coating machine, and set G (G1, G2, G3, G4), wherein G1 is the first preset inclination angle, G2 is the second preset inclination angle, G3 is the third preset inclination angle, G4 is the fourth preset inclination angle, and G1<G2<G3<G4;
[0056] The control module is used to preset a driving power correction coefficient matrix h, and set h (h1, h2, h3, h4, h5), wherein h1 is a first preset driving power correction coefficient, h2 is a second preset driving power correction coefficient, h3 is a third preset driving power correction coefficient, h4 is a fourth preset driving power correction coefficient, h5 is a fifth preset driving power correction coefficient, and 0.8
[0057] The control module is used to preset a driving time correction coefficient matrix y, and set y (y1, y2, y3, y4, y5), wherein y1 is a first preset driving time correction coefficient, y2 is a second preset driving time correction coefficient, y3 is a third preset driving time correction coefficient, y4 is a fourth preset driving time correction coefficient, y5 is a fifth preset driving time correction coefficient, and 0.8<y1<y2<y3<y4<y5<1.2;
[0058] When the control module sets the driving power and driving time of the second motor to the i-th preset driving power Ci and the i-th preset driving time Di respectively, i=1, 2, 3, 4, 5, the control module is also used to correct the driving power and driving time of the second motor according to the relationship between the inclination angle E of the die head in the lithium battery coating machine and each preset inclination angle:
[0059] When E<G1, the first preset driving power correction coefficient h1 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h1, and the first preset driving time correction coefficient y1 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y1;
[0060] When G1≤E<G2, the second preset driving power correction coefficient h2 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h2, and the second preset driving time correction coefficient y2 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y2;
[0061] When G2≤E<G3, the third preset driving power correction coefficient h3 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h3, and the third preset driving time correction coefficient y3 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y3;
[0062] When G3≤E<G4, the fourth preset driving power correction coefficient h4 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h4, and the fourth preset driving time correction coefficient y4 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y4;
[0063] When G4≤E, the fifth preset driving power correction coefficient h5 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h5. The fifth preset driving time correction coefficient y5 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y5.
[0064] In order to achieve the above object, the present invention provides a wave edge detection method based on lithium battery coating process, characterized in that the method comprises:
[0065] Acquire an initial image of the lithium battery coating process, and preprocess the initial image to obtain an image to be detected, wherein the preprocessing includes median filtering, mean shift processing, and histogram equalization processing;
[0066] Extracting characteristic parameters of the image to be detected, and determining a contour feature map of the image to be detected based on the characteristic parameters;
[0067] Inputting the contour feature map into a pre-built defect detection model, performing defect detection on the contour feature map, and determining whether there is a defect in the contour feature map;
[0068] The die head position of the lithium battery coating machine is managed and controlled according to the test results.
[0069] The present invention provides a wave edge detection system and method based on lithium battery coating process, which has the following beneficial effects compared with the prior art:
[0070] The present invention discloses a wave edge detection system and method based on lithium battery coating process, including: a processing module, a determination module, a detection module and a control module, the processing module is used to obtain the initial image of the lithium battery coating process, pre-process the initial image, and obtain the image to be detected, the determination module is used to extract the characteristic parameters of the image to be detected, and determine the contour feature map of the image to be detected based on the characteristic parameters, the detection module is used to input the contour feature map into the defect detection model, perform defect detection on the contour feature map, and determine whether there are defects in the contour feature map, and the control module is used to manage and control the die position of the lithium battery coating machine according to the detection results. The present invention solves the technical problem that the wave edge in the lithium battery coating process cannot be accurately detected, avoids the phenomenon that the wave edge produces deviations in the calculation of the ceramic boundary, and improves the coating surface detection quality and the coating appearance quality.
[0071] In particular, the present invention can also achieve the effect of real-time movement of the die head by managing and controlling the die head position of the lithium battery coating machine, thereby eliminating the wavy edge and further improving the coating surface detection quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Figure 1 A schematic structural diagram of a wave edge detection system based on a lithium battery coating process in an embodiment of the present invention is shown;
[0073] Figure 2 A schematic structural diagram of a lithium battery coating machine according to an embodiment of the present invention is shown;
[0074] Figure 3 A schematic flow chart of a wave edge detection method based on a lithium battery coating process in an embodiment of the present invention is shown.
[0075] In the figure, 1, the first motor; 2, the second motor; 3, the die head. DETAILED DESCRIPTION
[0076] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0077] In the description of the present application, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0078] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0079] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0080] The following is a description of preferred embodiments of the present invention with reference to the accompanying drawings.
[0081] like Figure 1 As shown, an embodiment of the present invention discloses a wave edge detection system based on a lithium battery coating process, and the system includes: a processing module, a determination module, a detection module and a control module.
[0082] It should be understood that the processing module is used to obtain the initial image of the lithium battery coating process and preprocess the initial image to obtain the image to be detected, wherein the preprocessing includes median filtering, mean shift processing and histogram equalization processing; the determination module is used to extract the characteristic parameters of the image to be detected and determine the contour feature map of the image to be detected based on the characteristic parameters; the detection module is used to input the contour feature map into a pre-built defect detection model, perform defect detection on the contour feature map, and determine whether there are defects in the contour feature map; the control module is used to manage and control the die position of the lithium battery coating machine according to the detection results.
[0083] In this embodiment, the initial image of the lithium battery coating process refers to the image of the ceramic boundary when the coating is discharged from the die head;
[0084] The beneficial effects of the above technical solution are: solving the technical problem of being unable to accurately detect the wavy edges in the lithium battery coating process, avoiding the phenomenon that the wavy edges cause deviations in the calculation of the ceramic boundaries, and improving the coating surface detection quality and the coating appearance quality.
[0085] In particular, the present invention can also achieve the effect of real-time movement of the die head by managing and controlling the die head position of the lithium battery coating machine, thereby eliminating the wavy edge and further improving the coating surface detection quality.
[0086] In some embodiments of the present application, the determining module is specifically used to:
[0087] The determination module is used to perform grayscale processing on the image to be detected to determine a grayscale image;
[0088] The determination module is used to calculate the pixel value of each pixel point on the grayscale image, and compare the pixel value of each pixel point with a preset pixel threshold value.
[0089] The determination module is used to generate a first pixel point set according to the corresponding pixel point when the pixel value of the pixel point is greater than the pixel threshold;
[0090] The determination module is used to generate a second pixel point set according to the corresponding pixel point when the pixel value of the pixel point is less than or equal to the pixel threshold;
[0091] The determination module is used to delete the second pixel point set and calculate the mean value of the first pixel points of the first pixel point set;
[0092] The determination module is used to determine the contour feature map of the image to be detected according to the first pixel point mean value.
[0093] In this embodiment, when grayscale processing is performed on the image to be detected, the image to be detected is color classified, and weight values corresponding to the color channel values in the RGB color space are determined. A weighted average calculation is performed on the image to be detected based on the weight values, and the result of the weighted average calculation is used as the grayscale value. The image to be detected is grayscale processed based on the grayscale value.
[0094] In this embodiment, a pixel is a basic element of a pixel, which is a single point or a single pixel in a digital image. A pixel value is a value assigned by a computer when a grayscale image is digitized, which represents the average brightness information of a small square of the original, or the average reflection (transmission) density information of the small square.
[0095] The beneficial effect of the above technical solution is that the present invention deletes smaller pixels and then uses the remaining pixels as the basis for determining the contour feature map, thereby ensuring the clarity of the contour feature map.
[0096] In some embodiments of the present application, the determining module is specifically used to:
[0097] The determination module is used to determine whether the contour feature map of the image to be detected can be constructed based on the first pixel point set according to the relationship between the first pixel point mean and the pixel point mean threshold;
[0098] The determination module is used to determine that the contour feature map of the image to be detected can be constructed based on the first pixel point set when the first pixel point mean is greater than or equal to the pixel point mean threshold;
[0099] The determination module is used to determine that the contour feature map of the image to be detected cannot be constructed based on the first pixel point set when the first pixel point mean value is less than the pixel point mean value threshold value.
[0100] In this embodiment, the pixel mean value threshold is a standard for measuring whether a contour feature map can be constructed. The specific value can be set according to actual conditions and is not specifically limited here.
[0101] The beneficial effect of the above technical solution is: by comparing the first pixel mean with the pixel mean threshold, it can further ensure that the constructed contour feature map can meet the preset requirements.
[0102] In some embodiments of the present application, the determining module is specifically used to:
[0103] The determination module is used for sorting the pixel points in the first pixel point set by numerical value and obtaining a third pixel point set when it is determined that the contour feature map of the image to be detected cannot be constructed according to the first pixel point set;
[0104] The determination module is used to delete the smallest pixel point in the third pixel point set, and generate a fourth pixel point set according to the remaining pixel points;
[0105] The determination module is used to calculate a second pixel mean of the fourth pixel set, and determine whether a contour feature map of the image to be detected can be constructed based on the fourth pixel set according to a relationship between the second pixel mean and the pixel mean threshold;
[0106] The determination module is used for determining that a contour feature map of the image to be detected can be constructed according to the fourth pixel point set when the second pixel point mean is greater than or equal to the pixel point mean threshold;
[0107] The determination module is used to determine that the contour feature map of the image to be detected cannot be constructed based on the fourth pixel set when the second pixel mean is less than the pixel mean threshold, and to re-acquire the initial image of the lithium battery coating process.
[0108] In this embodiment, when deleting the smallest pixel in the third pixel set, if there is only one smallest pixel, the corresponding pixel is directly deleted; if there are two or more smallest pixels, a pixel is randomly selected for deletion;
[0109] In this embodiment, when the initial image of the lithium battery coating process is re-acquired, there may be an operational error in acquiring the initial image, so the initial image of the lithium battery coating process is re-acquired and re-detected.
[0110] The beneficial effect of the above technical solution is: by deleting the smallest pixel in the third pixel set, the numerical value of the second pixel mean can be increased, so that the fourth pixel set can meet the needs of constructing a contour feature map, providing reliable data support for subsequent judgment of whether there are defects in the lithium battery coating process.
[0111] In some embodiments of the present application, the detection module is specifically used to:
[0112] The detection module is used to perform a convolution operation on the contour feature map and obtain a convolution value;
[0113] The detection module is used to determine whether the contour feature map has defects according to the relationship between the convolution value and the preset convolution value;
[0114] The detection module is used to determine that there is a defect in the contour feature map when the convolution value is greater than the preset convolution value;
[0115] The detection module is used to determine that there is no defect in the contour feature map when the convolution value is less than or equal to the preset convolution value.
[0116] In this embodiment, the preset convolution value is a standard used to measure whether there is a defect in the contour feature map, and the preset convolution value can be obtained by training based on a contour feature map without defects.
[0117] The beneficial effect of the above technical solution is that the present invention can ensure the accuracy of judgment and accurately identify the wavy edge of the ceramic boundary by judging whether there is a defect in the contour feature map based on the relationship between the convolution value and the preset convolution value.
[0118] In some embodiments of the present application, the control module is specifically used to:
[0119] The control module is used for establishing a first plane rectangular coordinate system and a second plane rectangular coordinate system associated with the contour feature map and the standard contour feature map respectively when there is a defect in the contour feature map;
[0120] The control module is used to determine a standard point, and obtain a first coordinate point of the standard point in the first plane rectangular coordinate system, and obtain a second coordinate point of the standard point in the second plane rectangular coordinate system;
[0121] The control module is used to calculate the defect offset A of the contour feature map according to the first coordinate point and the second coordinate point;
[0122] The control module is used to manage and control the die head position of the lithium battery coating machine according to the defect offset A.
[0123] In this embodiment, establishing the associated plane rectangular coordinate system means establishing the plane rectangular coordinate system with the center point of the contour feature map and the standard contour feature map as the origin, and the origin, positive direction and unit length of the plane rectangular coordinate system are the same. Thus, each point in the contour feature map can be consistent with the standard contour feature map, which is convenient for subsequent extraction of position information. Thus, each point in the image can be represented by the established rectangular coordinate system.
[0124] In this embodiment, the standard point can be any point on the edge of the wave.
[0125] In this embodiment, when the defect offset A of the contour feature map is calculated based on the first coordinate point and the second coordinate point, the first coordinate point is (x1, y1) and the second coordinate point is (x2, y2), then the defect offset A= ;
[0126] The beneficial effect of the above technical solution is that the defect offset A of the contour feature map can be accurately determined according to the coordinates of the standard point on the plane rectangular coordinate system, thereby providing reliable data support for the position control of the die head of the lithium battery coating machine.
[0127] like Figure 2 As shown, in some embodiments of the present application, the lithium battery coating machine includes a first motor 1, a second motor 2 and a die head 3, and the lithium battery coating process is performed through the die head 3.
[0128] In some embodiments of the present application, the control module is specifically used to:
[0129] The control module is used to set the driving power and driving time of the first motor and the second motor in the lithium battery coating machine according to the defect offset A of the contour feature graph;
[0130] The control module is used to preset a defect offset matrix B of the profile feature map, and set B (B1, B2, B3, B4), wherein B1 is a first preset defect offset, B2 is a second preset defect offset, B3 is a third preset defect offset, B4 is a fourth preset defect offset, and B1<B2<B3<B4;
[0131] The control module is used to preset a driving power matrix C, set C (C1, C2, C3, C4, C5), wherein C1 is a first preset driving power, C2 is a second preset driving power, C3 is a third preset driving power, C4 is a fourth preset driving power, C5 is a fifth preset driving power, and C1<C2<C3<C4<C5;
[0132] The control module is used to preset a driving time matrix D, set D (D1, D2, D3, D4, D5), wherein D1 is a first preset driving time, D2 is a second preset driving time, D3 is a third preset driving time, D4 is a fourth preset driving time, D5 is a fifth preset driving time, and D1<D2<D3<D4<D5;
[0133] The control module is further used to set the driving power and driving time of the first motor and the second motor according to the relationship between the defect offset A of the contour feature graph and each preset defect offset:
[0134] When A<B1, the first preset driving power C1 is selected as the driving power of the first motor and the second motor, and the first preset driving time D1 is selected as the driving time of the first motor and the second motor;
[0135] When B1≤A<B2, the second preset driving power C2 is selected as the driving power of the first motor and the second motor, and the second preset driving time D2 is selected as the driving time of the first motor and the second motor;
[0136] When B2≤A<B3, the third preset driving power C3 is selected as the driving power of the first motor and the second motor, and the third preset driving time D3 is selected as the driving time of the first motor and the second motor;
[0137] When B3≤A<B4, the fourth preset driving power C4 is selected as the driving power of the first motor and the second motor, and the fourth preset driving time D4 is selected as the driving time of the first motor and the second motor;
[0138] When B4≤A, the fifth preset driving power C5 is selected as the driving power of the first motor and the second motor, and the fifth preset driving time D5 is selected as the driving time of the first motor and the second motor.
[0139] In this embodiment, the first motor and the second motor can change the height position of the die in the lithium battery coating machine by moving in opposite directions at the same time. When the first motor moves in the W direction and the second motor moves in the E direction, the height position of the die in the lithium battery coating machine is lowered. When the first motor moves in the E direction and the second motor moves in the W direction, the height position of the die in the lithium battery coating machine is raised. It should be noted that before setting the driving power and driving time of the first motor and the second motor according to the relationship between the defect offset A of the contour feature diagram and each preset defect offset, first determine whether to raise or lower the height position of the die in the lithium battery coating machine.
[0140] The beneficial effect of the above technical solution is: the control module is also used to set the driving power and driving time of the first motor and the second motor according to the relationship between the defect offset A of the contour feature diagram and each preset defect offset, and set the driving power and driving time of the first motor and the second motor at the same time, which can ensure that the first motor and the second motor move at the same time, ensure the smooth movement of the die head in the lithium battery coating machine, avoid the phenomenon that one side of the die head in the lithium battery coating machine is higher than the other side, and can also accurately change the nozzle discharge position of the die head in the lithium battery coating machine, thereby achieving precise coating of the lithium battery and avoiding the appearance of wavy edges.
[0141] In some embodiments of the present application, the control module is specifically used to:
[0142] The control module is used to detect the inclination angle E of the die head in the lithium battery coating machine after managing and controlling the die head position of the lithium battery coating machine according to the defect offset A;
[0143] The control module is used to correct the driving power and driving time of the second motor according to the inclination angle E of the die head in the lithium battery coating machine.
[0144] In this embodiment, after managing and controlling the die position of the lithium battery coater according to the defect offset A, the height position of the die of the lithium battery coater is adjusted, and the inclination angle E of the die in the lithium battery coater is detected, and then the inclination angle of the die in the lithium battery coater is adjusted.
[0145] In some embodiments of the present application, the control module is specifically used to:
[0146] The control module is used to preset the inclination angle matrix G of the die head in the lithium battery coating machine, and set G (G1, G2, G3, G4), wherein G1 is the first preset inclination angle, G2 is the second preset inclination angle, G3 is the third preset inclination angle, G4 is the fourth preset inclination angle, and G1<G2<G3<G4;
[0147] The control module is used to preset a driving power correction coefficient matrix h, and set h (h1, h2, h3, h4, h5), wherein h1 is a first preset driving power correction coefficient, h2 is a second preset driving power correction coefficient, h3 is a third preset driving power correction coefficient, h4 is a fourth preset driving power correction coefficient, h5 is a fifth preset driving power correction coefficient, and 0.8
[0148] The control module is used to preset a driving time correction coefficient matrix y, and set y (y1, y2, y3, y4, y5), wherein y1 is a first preset driving time correction coefficient, y2 is a second preset driving time correction coefficient, y3 is a third preset driving time correction coefficient, y4 is a fourth preset driving time correction coefficient, y5 is a fifth preset driving time correction coefficient, and 0.8<y1<y2<y3<y4<y5<1.2;
[0149] When the control module sets the driving power and driving time of the second motor to the i-th preset driving power Ci and the i-th preset driving time Di respectively, i=1, 2, 3, 4, 5, the control module is also used to correct the driving power and driving time of the second motor according to the relationship between the inclination angle E of the die head in the lithium battery coating machine and each preset inclination angle:
[0150] When E<G1, the first preset driving power correction coefficient h1 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h1, and the first preset driving time correction coefficient y1 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y1;
[0151] When G1≤E<G2, the second preset driving power correction coefficient h2 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h2, and the second preset driving time correction coefficient y2 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y2;
[0152] When G2≤E<G3, the third preset driving power correction coefficient h3 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h3, and the third preset driving time correction coefficient y3 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y3;
[0153] When G3≤E<G4, the fourth preset driving power correction coefficient h4 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h4, and the fourth preset driving time correction coefficient y4 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y4;
[0154] When G4≤E, the fifth preset driving power correction coefficient h5 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h5. The fifth preset driving time correction coefficient y5 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y5.
[0155] In this embodiment, the inclination angle refers to the inclination angle between the die head and the horizontal plane in the lithium battery coating machine.
[0156] In this embodiment, the inclination angle E of the die head in the lithium battery coating machine refers to the inclination angle of the die head in the lithium battery coating machine before setting the driving power and driving time of the first motor and the second motor in the lithium battery coating machine according to the defect offset A of the profile feature diagram.
[0157] In this embodiment, when the inclination angle E of the die in the lithium battery coating machine is adjusted, the state of the first motor is not changed, and the second motor is adjusted. It should be noted that when the second motor is adjusted, the inclination position of the die in the lithium battery coating machine is also judged. For example, when the die in the lithium battery coating machine wants to tilt in the N direction, the second motor is controlled to move in the W direction. When the die in the lithium battery coating machine wants to tilt in the S direction, the second motor is controlled to move in the E direction.
[0158] The beneficial effect of the above technical solution is: when the control module sets the driving power and driving time of the second motor to the i-th preset driving power Ci and the i-th preset driving time Di respectively, i=1, 2, 3, 4, 5, the control module is also used to correct the driving power and driving time of the second motor according to the relationship between the inclination angle E of the die head in the lithium battery coating machine and each preset inclination angle, thereby achieving precise correction of the inclination angle of the die head in the lithium battery coating machine, ensuring that the corrected inclination angle of the die head in the lithium battery coating machine can meet the preset requirements, further eliminating the wavy edge, avoiding the phenomenon that the wavy edge causes deviation in the calculation of the ceramic boundary, and improving the coating surface detection quality and the coating appearance quality.
[0159] In order to further explain the technical idea of the present invention, the technical solution of the present invention is now described in combination with specific application scenarios.
[0160] Correspondingly, such as Figure 3As shown, the present application also provides a wave edge detection method based on a lithium battery coating process, characterized in that the method comprises:
[0161] S110: acquiring an initial image of the lithium battery coating process, and preprocessing the initial image to obtain an image to be detected, wherein the preprocessing includes median filtering, mean shift processing, and histogram equalization processing;
[0162] S120: extracting characteristic parameters of the image to be detected, and determining a contour feature map of the image to be detected based on the characteristic parameters;
[0163] S130: inputting the contour feature map into a pre-built defect detection model, performing defect detection on the contour feature map, and determining whether there is a defect in the contour feature map;
[0164] S140: managing and controlling the die position of the lithium battery coating machine according to the detection results.
[0165] In the description of the above embodiments, specific features, structures, materials or characteristics may be combined in a suitable manner in any one or more embodiments or examples.
[0166] Although the present invention has been described above with reference to the embodiments, various modifications may be made thereto and parts thereof may be replaced with equivalents without departing from the scope of the present invention. In particular, as long as there is no structural conflict, the various features in the embodiments disclosed by the present invention may be used in combination with each other in any manner, and the fact that these combinations are not fully described in this specification is only for the sake of omitting space and saving resources. Therefore, the present invention is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.
[0167] Those skilled in the art can understand that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions recorded in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A wave edge detection system based on lithium battery coating process, characterized in that: The system comprises: A processing module, used to obtain an initial image of the lithium battery coating process, and preprocess the initial image to obtain an image to be detected, wherein the preprocessing includes median filtering, mean shift processing and histogram equalization processing; A determination module, used for extracting characteristic parameters of the image to be detected, and determining a contour feature map of the image to be detected based on the characteristic parameters; A detection module, used for inputting the contour feature map into a pre-built defect detection model, performing defect detection on the contour feature map, and determining whether there are defects in the contour feature map; A control module is used to manage and control the die position of the lithium battery coating machine according to the detection results; The control module is specifically used for: The control module is used for establishing a first plane rectangular coordinate system and a second plane rectangular coordinate system associated with the contour feature map and the standard contour feature map respectively when there is a defect in the contour feature map; The control module is used to determine a standard point, and obtain a first coordinate point of the standard point in the first plane rectangular coordinate system, and obtain a second coordinate point of the standard point in the second plane rectangular coordinate system; The control module is used to calculate the defect offset A of the contour feature map according to the first coordinate point and the second coordinate point; The control module is used to manage and control the die position of the lithium battery coating machine according to the defect offset A; The control module is used to set the driving power and driving time of the first motor and the second motor in the lithium battery coating machine according to the defect offset A of the contour feature graph; The control module is used to preset a defect offset matrix B of the profile feature map, and set B (B1, B2, B3, B4), wherein B1 is a first preset defect offset, B2 is a second preset defect offset, B3 is a third preset defect offset, B4 is a fourth preset defect offset, and B1<B2<B3<B4; The control module is used to preset a driving power matrix C, set C (C1, C2, C3, C4, C5), wherein C1 is a first preset driving power, C2 is a second preset driving power, C3 is a third preset driving power, C4 is a fourth preset driving power, C5 is a fifth preset driving power, and C1<C2<C3<C4<C5; The control module is used to preset a driving time matrix D, set D (D1, D2, D3, D4, D5), wherein D1 is a first preset driving time, D2 is a second preset driving time, D3 is a third preset driving time, D4 is a fourth preset driving time, D5 is a fifth preset driving time, and D1<D2<D3<D4<D5; The control module is further used to set the driving power and driving time of the first motor and the second motor according to the relationship between the defect offset A of the contour feature graph and each preset defect offset: When A<B1, the first preset driving power C1 is selected as the driving power of the first motor and the second motor, and the first preset driving time D1 is selected as the driving time of the first motor and the second motor; When B1≤A<B2, the second preset driving power C2 is selected as the driving power of the first motor and the second motor, and the second preset driving time D2 is selected as the driving time of the first motor and the second motor; When B2≤A<B3, the third preset driving power C3 is selected as the driving power of the first motor and the second motor, and the third preset driving time D3 is selected as the driving time of the first motor and the second motor; When B3≤A<B4, the fourth preset driving power C4 is selected as the driving power of the first motor and the second motor, and the fourth preset driving time D4 is selected as the driving time of the first motor and the second motor; When B4≤A, the fifth preset driving power C5 is selected as the driving power of the first motor and the second motor, and the fifth preset driving time D5 is selected as the driving time of the first motor and the second motor.
2. The wave edge detection system based on lithium battery coating process according to claim 1 is characterized in that: The determination module is specifically used for: The determination module is used to perform grayscale processing on the image to be detected to determine a grayscale image; The determination module is used to calculate the pixel value of each pixel point on the grayscale image, and compare the pixel value of each pixel point with a preset pixel threshold. The determination module is used to generate a first pixel point set according to the corresponding pixel point when the pixel value of the pixel point is greater than the pixel threshold; The determination module is used to generate a second pixel point set according to the corresponding pixel point when the pixel value of the pixel point is less than or equal to the pixel threshold; The determination module is used to delete the second pixel point set and calculate the mean value of the first pixel points of the first pixel point set; The determination module is used to determine the contour feature map of the image to be detected according to the first pixel point mean value.
3. The wave edge detection system based on lithium battery coating process according to claim 2 is characterized in that: The determination module is specifically used for: The determination module is used to determine whether the contour feature map of the image to be detected can be constructed based on the first pixel point set according to the relationship between the first pixel point mean and the pixel point mean threshold; The determination module is used to determine that the contour feature map of the image to be detected can be constructed based on the first pixel point set when the first pixel point mean is greater than or equal to the pixel point mean threshold; The determination module is used to determine that the contour feature map of the image to be detected cannot be constructed based on the first pixel point set when the first pixel point mean value is less than the pixel point mean value threshold value.
4. The wave edge detection system based on lithium battery coating process according to claim 3 is characterized in that: The determination module is specifically used for: The determination module is used for sorting the pixel points in the first pixel point set by numerical value and obtaining a third pixel point set when it is determined that the contour feature map of the image to be detected cannot be constructed according to the first pixel point set; The determination module is used to delete the smallest pixel point in the third pixel point set, and generate a fourth pixel point set according to the remaining pixel points; The determination module is used to calculate a second pixel mean of the fourth pixel set, and determine whether a contour feature map of the image to be detected can be constructed based on the fourth pixel set according to a relationship between the second pixel mean and the pixel mean threshold; The determination module is used for determining that a contour feature map of the image to be detected can be constructed according to the fourth pixel point set when the second pixel point mean is greater than or equal to the pixel point mean threshold; The determination module is used to determine that the contour feature map of the image to be detected cannot be constructed based on the fourth pixel set when the second pixel mean is less than the pixel mean threshold, and to re-acquire the initial image of the lithium battery coating process.
5. The wave edge detection system based on lithium battery coating process according to claim 1 is characterized in that: The detection module is specifically used for: The detection module is used to perform a convolution operation on the contour feature map and obtain a convolution value; The detection module is used to determine whether the contour feature map has defects according to the relationship between the convolution value and the preset convolution value; The detection module is used to determine that there is a defect in the contour feature map when the convolution value is greater than the preset convolution value; The detection module is used to determine that there is no defect in the contour feature map when the convolution value is less than or equal to the preset convolution value.
6. The wave edge detection system based on lithium battery coating process according to claim 1 is characterized in that: The control module is specifically used for: The control module is used to detect the inclination angle E of the die head in the lithium battery coating machine after managing and controlling the die head position of the lithium battery coating machine according to the defect offset A; The control module is used to correct the driving power and driving time of the second motor according to the inclination angle E of the die head in the lithium battery coating machine.
7. The wave edge detection system based on lithium battery coating process according to claim 6 is characterized in that: The control module is specifically used for: The control module is used to preset the inclination angle matrix G of the die head in the lithium battery coating machine, and set G (G1, G2, G3, G4), wherein G1 is the first preset inclination angle, G2 is the second preset inclination angle, G3 is the third preset inclination angle, G4 is the fourth preset inclination angle, and G1<G2<G3<G4; The control module is used to preset a driving power correction coefficient matrix h, and set h (h1, h2, h3, h4, h5), wherein h1 is a first preset driving power correction coefficient, h2 is a second preset driving power correction coefficient, h3 is a third preset driving power correction coefficient, h4 is a fourth preset driving power correction coefficient, h5 is a fifth preset driving power correction coefficient, and 0.8<h1<h2<h3<h4<h5<1.2; The control module is used to preset a driving time correction coefficient matrix y, and set y (y1, y2, y3, y4, y5), wherein y1 is a first preset driving time correction coefficient, y2 is a second preset driving time correction coefficient, y3 is a third preset driving time correction coefficient, y4 is a fourth preset driving time correction coefficient, y5 is a fifth preset driving time correction coefficient, and 0.8<y1<y2<y3<y4<y5<1.2; When the control module sets the driving power and driving time of the second motor to the i-th preset driving power Ci and the i-th preset driving time Di respectively, i=1, 2, 3, 4, 5, the control module is also used to correct the driving power and driving time of the second motor according to the relationship between the inclination angle E of the die head in the lithium battery coating machine and each preset inclination angle: When E<G1, the first preset driving power correction coefficient h1 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h1, and the first preset driving time correction coefficient y1 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y1; When G1≤E<G2, the second preset driving power correction coefficient h2 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h2, and the second preset driving time correction coefficient y2 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y2; When G2≤E<G3, the third preset driving power correction coefficient h3 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h3, and the third preset driving time correction coefficient y3 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y3; When G3≤E<G4, the fourth preset driving power correction coefficient h4 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h4, and the fourth preset driving time correction coefficient y4 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y4; When G4≤E, the fifth preset driving power correction coefficient h5 is selected to correct the i-th preset driving power Ci, and the corrected driving power of the second motor is Ci*h5. The fifth preset driving time correction coefficient y5 is selected to correct the i-th preset driving time Di, and the corrected driving time of the second motor is Di*y5.
8. A wave edge detection method based on a lithium battery coating process, applied to a wave edge detection system for a lithium battery coating process as claimed in any one of claims 1 to 7, characterized in that: The method comprises: Acquire an initial image of the lithium battery coating process, and preprocess the initial image to obtain an image to be detected, wherein the preprocessing includes median filtering, mean shift processing, and histogram equalization processing; Extracting characteristic parameters of the image to be detected, and determining a contour feature map of the image to be detected based on the characteristic parameters; Inputting the contour feature map into a pre-built defect detection model, performing defect detection on the contour feature map, and determining whether there is a defect in the contour feature map; The die head position of the lithium battery coating machine is managed and controlled according to the test results.
