A capacitor heat sealing method, system, electronic device and storage medium
Through image processing and optimization model technology, the sealing position of the capacitor core is automatically identified and the heat sealing parameters are optimized, which solves the problems of complicated heat sealing process and high quality control risk in the existing technology, and achieves high-quality capacitor heat sealing effect.
Patent Information
- Application Number
- CN202310393483.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-13
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2043-04-13
AI Technical Summary
The existing capacitor heat sealing process is complex and poses high product quality control risks. Especially when using different types of capacitor cores, the heat sealing head needs to be manually adjusted, which causes wrinkles in the middle of the capacitor core after sealing, affecting the heat sealing effect.
By obtaining the image information of the winding molded capacitor core, extracting the sealing position information, calculating the scanning path of the heat sealing head, and using the optimization model to optimize the heat sealing parameters, automatic identification and optimization of the heat sealing process can be achieved, avoiding manual adjustment.
It improves the heat sealing quality, reduces sealing wrinkles, and improves the safety performance and production efficiency of capacitors.
Smart Images

Figure CN116313571B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of capacitor manufacturing, and in particular to a capacitor heat sealing method, system, electronic equipment and storage medium. Background Art
[0002] The heat sealing effect of capacitor core is particularly important for the production of qualified capacitors, and is closely related to the safety performance of capacitors. The principle is that after the capacitor core is wound, a heat sealing head is used to seal the interface of the capacitor core. Studies in the prior art have pointed out that the heat sealing temperature, heat sealing pressure, and heat sealing thickness during heat sealing are key factors affecting the heat sealing effect. However, the existing heat sealing process is relatively complicated, and the risk of process product quality control is relatively large. In particular, when the traditional heat sealing process is applied to capacitor cores of different models, the heat sealing head needs to be manually adjusted, which will cause wrinkles in the middle of the capacitor core after sealing. In order to improve the heat sealing process and achieve high-quality heat sealing effects, we propose a capacitor heat sealing method, system, electronic device and storage medium. Summary of the invention
[0003] The purpose of the present invention is to provide a capacitor heat sealing method, system, electronic device and storage medium, and to achieve the technical effect of high-quality heat sealing effect by improving the heat sealing process.
[0004] The first technical solution of the present invention provides a capacitor heat sealing method, comprising:
[0005] Obtaining image information of the wound capacitor core to be sealed;
[0006] Extracting sealing position information of the capacitor core to be sealed based on the image information of the capacitor core to be sealed;
[0007] Calculate the scanning path of the heat sealing head according to the sealing position information of the capacitor core to be sealed;
[0008] The capacitor core to be sealed is heat-sealed according to the scanning path of the heat-sealing head.
[0009] Further, the extracting the sealing position information of the capacitor core to be sealed based on the image information of the capacitor core to be sealed includes:
[0010] The edge detection algorithm is used to scan the image information of the capacitor core to be sealed to obtain edge image information;
[0011] Extract key pixel points of the sealing path of the capacitor core according to the edge image information;
[0012] The mean processing method is used to make the horizontal and vertical coordinates of the key pixel points of the sealing path correspond one to one.
[0013] Furthermore, extracting key pixel points of the sealing path of the capacitor core according to the edge image information includes:
[0014] The two ends of the edge image information are set as the starting point coordinates and the target point coordinates, and the middle point coordinates are calculated based on the starting point coordinates and the target point coordinates.
[0015] Further, the calculating of the heat sealing head scanning path according to the sealing position information of the capacitor core to be sealed includes:
[0016] Read the key point coordinates of the sealing path, and determine the heat sealing head scanning path according to the key point coordinates of the sealing path;
[0017] Get the preset heat sealing parameters that match the heat sealing head scanning path.
[0018] Furthermore, heat-sealing the capacitor core to be sealed according to the scanning path of the heat-sealing head further includes:
[0019] Heat-seal the capacitor core according to the preset heat-seal parameters and the scanning path of the heat-seal head, and collect sample image information of the sealed capacitor core;
[0020] Obtain target defect features in the sample image of the sealed capacitor core and perform preprocessing;
[0021] Constructing an optimization model for predicting heat sealing parameters;
[0022] Obtaining optimization model training sample data and using the training sample data to train the optimization model;
[0023] The optimization model is used to optimize the scanning path of the heat sealing head.
[0024] Further, the obtaining of target defect features in the sealed capacitor core sample image and preprocessing includes:
[0025] Obtaining a heat sealing head height variation trend model of the heat sealing head scanning path;
[0026] Use edge detection algorithm to detect the wrinkle area of the sealed capacitor core;
[0027] The defect features of the wrinkle area of the sealed capacitor core are extracted, and the number of wrinkle areas in the sample image information of the sealed capacitor core is counted.
[0028] Further, the obtaining of optimization model training sample data and using the training sample data to train the optimization model includes:
[0029] Obtain historical heat sealing parameters and historical capacitor core sealing position information;
[0030] Based on the height change trend model, the heat sealing parameters for executing the optimized heat sealing head scanning path are determined, wherein the heat sealing parameters for executing the optimized heat sealing head scanning path at least include: heat sealing temperature, heat sealing depth, and heat sealing pressure.
[0031] The second technical solution of the present invention provides a capacitor heat sealing system, comprising:
[0032] An image acquisition module, used to acquire image information of the capacitor core;
[0033] An image conversion module, used for converting the capacitor core image information into a grayscale image;
[0034] An edge detection module is used to perform edge detection on the grayscale image to obtain an edge detection result;
[0035] Target path feature extraction module, used to extract key pixel points of the sealing path;
[0036] The heat sealing head following control module is used to control the heat sealing head to perform heat sealing according to the key pixel points of the sealing path;
[0037] The optimization module is used to obtain the optimization model training sample data, train the optimization model using the training sample data, and obtain the optimization adjustment parameters;
[0038] The parameter adjustment module is used to adjust the parameters of the heat sealing head based on the optimized adjustment parameters.
[0039] The third aspect of the present invention provides an electronic device, comprising: a processor and a memory connected to the processor in communication; wherein the memory stores instructions executable by the processor, and the instructions are executed by the processor so that the processor can perform the steps of the capacitor heat sealing method described in any one of the technical solutions of the first aspect of the present invention.
[0040] The fourth aspect of the present invention provides a computer-readable storage medium, on which is stored a program for implementing a capacitor heat sealing method. The program for implementing the capacitor heat sealing method is executed by a processor to implement the steps of the capacitor heat sealing method described in any one of the technical solutions of the first aspect of the present invention.
[0041] The beneficial effects of the present invention include:
[0042] 1. The present invention collects images of the wound capacitor core to be sealed, extracts the sealing position information of the capacitor core to be sealed, determines the scanning path of the heat sealing head according to the sealing position information, and realizes a method for automatically identifying the sealing position of the capacitor core. The method can be applied to the heat sealing process of the capacitor core, and there is no need to manually adjust the position of the heat sealing head, thereby improving the heat sealing quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments of the present invention are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0044] Figure 1 A flow chart of a capacitor heat sealing method provided by an embodiment of the present invention;
[0045] Figure 2 A schematic structural diagram of a capacitor heat sealing system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0046] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0047] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0048] Please see Figure 1 , Figure 1 A first aspect of the technical solution of the present invention provided in an embodiment of the present invention provides a capacitor heat sealing method, comprising:
[0049] Step S1: obtaining image information of the capacitor core to be sealed after winding; wherein, the image information of the capacitor core to be sealed obtained in step S1 should also use image enhancement technology such as grayscale conversion to expand the contrast and obtain image information with more obvious features and clarity;
[0050] Step S2: extracting the sealing position information of the capacitor core to be sealed based on the image information of the capacitor core to be sealed;
[0051] In actual application, due to the large number of capacitor core models and types, the position of the heat sealing head needs to be continuously adjusted during the heat sealing process. In this embodiment, the position information of the capacitor core to be sealed is extracted by image recognition technology to provide basic data for the subsequent automatic adjustment of the position of the heat sealing head. In step S2, the sealing position information of the capacitor core to be sealed is extracted based on the image information of the capacitor core to be sealed, including: scanning the image information of the capacitor core to be sealed by using an edge detection algorithm to obtain edge image information; extracting key pixel points of the sealing path of the capacitor core according to the edge image information;
[0052] The method of extracting the key pixel points of the sealing path of the capacitor core according to the edge image information includes: step S21: setting the two ends of the edge image information as the starting point coordinates and the target point coordinates respectively, and calculating the middle point coordinates according to the starting point coordinates and the target point coordinates; it can be understood that by obtaining the key pixel points of the sealing path, the purpose is to use the key pixel points to provide more accurate heat sealing pixel point coordinates for the subsequent calculation of the heat sealing scanning path using the path planning algorithm, so that the heat sealing head performs heat sealing along the key pixel points; wherein, the setting of the key pixel points is not limited to the above-mentioned starting point coordinates, target point coordinates and middle point coordinates, and several key pixel points can be set between the starting point coordinates and the target point coordinates; on the other hand, the setting of the key pixel points can provide reference data for the subsequent heat sealing head adjustment optimization method, for example, by analyzing the temperature changes, pressure changes, and thickness changes on multiple key pixel points of the heat sealing scanning path, a reference model is provided for the subsequent optimization of the heat sealing process parameter setting; the principle is that as the position, height, time, temperature, pressure, thickness and other factors of the interaction between the heat sealing head and the capacitor core continue to change, there are certain differences in the heat sealing effect;
[0053] Step S22: using a mean processing method to make the horizontal and vertical coordinates of the key pixel points of the sealing path correspond one to one, wherein the pixel mean processing is to sum and average the corresponding vertical coordinates of the pixel point set with the same horizontal coordinate, and convert the pixel points with the same horizontal coordinate into a single pixel point, thereby realizing the uniqueness of the pixel points of the heat sealing head scanning path;
[0054] Step S3: calculating the scanning path of the heat sealing head according to the sealing position information of the capacitor core to be sealed;
[0055] In step S3, the step of calculating the scanning path of the heat sealing head according to the sealing position information of the capacitor core to be sealed includes:
[0056] Step S31: reading the coordinates of the key points of the sealing path, and determining the scanning path of the heat sealing head according to the coordinates of the key points of the sealing path;
[0057] Step S32: obtaining preset heat sealing parameters matching the heat sealing head scanning path;
[0058] Among them, the method of calculating the scanning path of the heat sealing head is to convert the coordinates of the key pixel points into the coordinate points of the scanning path of the heat sealing head through the above-mentioned key pixel points. In order to solve the problem of inconsistent coordinate points, the linear interpolation method is used in this embodiment to calculate the scanning path coordinate points corresponding to the key pixel points; it can be understood that the preset heat sealing parameters in step S32 at least include: heat sealing temperature, heat sealing time, and heat sealing pressure. Since different heat sealing scanning paths correspond to different types of capacitor cores, it is necessary to preset heat sealing parameters matching the capacitor core model in advance, which can refer to the size of the capacitor core, the number of winding layers and the material. The heat sealing parameters can also be used as reference data for subsequent optimization of the process;
[0059] Step S4: heat-seal the capacitor core to be sealed according to the scanning path of the heat-sealing head.
[0060] In step S4, heat-sealing the capacitor core to be sealed according to the scanning path of the heat-sealing head further includes:
[0061] Step S41: heat-seal the capacitor core according to preset heat-seal parameters and the scanning path of the heat-seal head, and collect sample image information of the sealed capacitor core;
[0062] Step S42: obtaining target defect features in the sealed capacitor core sample image and performing preprocessing;
[0063] Among them, the acquisition of target defect features in the sample image of the sealed capacitor core and preprocessing includes: acquiring a heat sealing head height change trend model of the heat sealing head scanning path; using an edge detection algorithm to detect the wrinkle area of the sealed capacitor core; extracting defect features of the wrinkle area of the sealed capacitor core, and counting the number of wrinkle areas in the sample image information of the sealed capacitor core; constructing an optimization model for predicting heat sealing parameters; acquiring optimization model training sample data and using the training sample data to train the optimization model; in this embodiment, by acquiring a heat sealing head height change trend model, the height change specifically refers to the distance between the heat sealing head and the target capacitor core, the height change trend model is used as a reference model, and the capacitor core wrinkle defect is determined as a target defect, and finally the machine learning method is used to optimize the heat sealing parameters mentioned in the above implementation; it can be understood that, with reference to the key pixel points in the above embodiment, the optimization model can use the key pixel points to perform local optimization on the sealing of the capacitor core, such as targeted optimization of the area between two key pixel points, which can improve the optimization efficiency and accuracy of the optimization model;
[0064] Wherein, the obtaining of the optimization model training sample data and the use of the training sample data to train the optimization model include: obtaining historical heat sealing parameters and historical capacitor core sealing position information; determining the heat sealing parameters for executing the optimized heat sealing head scanning path based on the height change trend model, wherein the heat sealing parameters for executing the optimized heat sealing head scanning path include at least: heat sealing temperature, heat sealing depth, and heat sealing pressure; optimizing the heat sealing head scanning path using the optimization model; in this embodiment, by training the optimization model, an optimization strategy for the heat sealing parameters and the capacitor core sealing position core can be simultaneously formulated; it can be understood that the optimization provided in this embodiment can effectively optimize the heat sealing parameters while optimizing the heat sealing head scanning path, thereby achieving the technical effect of improving the heat sealing effect;
[0065] The second technical solution of the present invention provides a capacitor heat sealing system, comprising:
[0066] An image acquisition module, used to acquire image information of the capacitor core;
[0067] An image conversion module, used for converting the capacitor core image information into a grayscale image;
[0068] An edge detection module is used to perform edge detection on the grayscale image to obtain an edge detection result;
[0069] Target path feature extraction module, used to extract key pixel points of the sealing path;
[0070] The heat sealing head following control module is used to control the heat sealing head to perform heat sealing according to the key pixel points of the sealing path;
[0071] The optimization module is used to obtain the optimization model training sample data, train the optimization model using the training sample data, and obtain the optimization adjustment parameters;
[0072] The parameter adjustment module is used to adjust the parameters of the heat sealing head based on the optimized adjustment parameters.
[0073] The third aspect of the present invention provides an electronic device, comprising: a processor and a memory connected to the processor in communication; wherein the memory stores instructions executable by the processor, and the instructions are executed by the processor so that the processor can perform the steps of the capacitor heat sealing method described in any one of the technical solutions of the first aspect of the present invention.
[0074] The fourth aspect of the present invention provides a computer-readable storage medium, on which is stored a program for implementing a capacitor heat sealing method. The program for implementing the capacitor heat sealing method is executed by a processor to implement the steps of the capacitor heat sealing method described in any one of the technical solutions of the first aspect of the present invention.
[0075] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A capacitor heat sealing method, It is characterized in that include: Obtaining image information of the wound capacitor core to be sealed; Extracting sealing position information of the capacitor core to be sealed based on the image information of the capacitor core to be sealed, including: The edge detection algorithm is used to scan the image information of the capacitor core to be sealed to obtain edge image information; Extracting key pixel points of the sealing path of the capacitor core according to the edge image information, including: setting the starting point coordinates and the target point coordinates at both ends of the edge image information respectively and calculating the middle point coordinates according to the starting point coordinates and the target point coordinates; The mean processing method is used to make the horizontal and vertical coordinates of the key pixel points of the sealing path correspond one to one; Calculating the scanning path of the heat sealing head according to the sealing position information of the capacitor core to be sealed, including: reading the coordinates of the key points of the sealing path, determining the scanning path of the heat sealing head according to the coordinates of the key points of the sealing path; obtaining the preset heat sealing parameters matching the scanning path of the heat sealing head; Heat seal the capacitor core to be sealed according to the scanning path of the heat sealing head, including: Heat-seal the capacitor core according to the preset heat-seal parameters and the scanning path of the heat-seal head, and collect sample image information of the sealed capacitor core; Obtain the target defect features in the sample image of the sealed capacitor core and perform preprocessing, including: obtaining the heat sealing head scanning path and the heat sealing head height change trend model; using the edge detection algorithm to detect the wrinkle area of the sealed capacitor core; extracting the defect features of the wrinkle area of the sealed capacitor core, and counting the number of wrinkle areas in the sample image information of the sealed capacitor core; Constructing an optimization model for predicting heat sealing parameters; Acquiring optimization model training sample data and using the training sample data to train the optimization model, including: acquiring historical heat sealing parameters and historical capacitor core sealing position information; determining heat sealing parameters for executing the optimized heat sealing head scanning path based on the height change trend model, wherein the heat sealing parameters for executing the optimized heat sealing head scanning path at least include: heat sealing temperature, heat sealing depth, and heat sealing pressure; The optimization model is used to optimize the scanning path of the heat sealing head.
2. A capacitor heat sealing system, It is characterized in that include: An image acquisition module, used to acquire image information of the capacitor core; An image conversion module, used for converting the capacitor core image information into a grayscale image; An edge detection module is used to perform edge detection on the grayscale image to obtain an edge detection result; Target path feature extraction module, used to extract key pixel points of the sealing path; The heat sealing head scanning path calculation module is used to determine the heat sealing head scanning path according to the key point coordinates of the sealing path; and obtain the preset heat sealing parameters matching the heat sealing head scanning path; A heat sealing head following control module is used to control the heat sealing head to perform heat sealing according to the heat sealing head scanning path and collect sample image information of the sealed capacitor core; The target defect feature acquisition module is used to obtain the heat sealing head height change trend model of the heat sealing head scanning path; use the edge detection algorithm to detect the wrinkle area of the sealed capacitor core; extract the defect features of the wrinkle area of the sealed capacitor core, and count the number of wrinkle areas in the sample image information of the sealed capacitor core; The adjustment and optimization module is used to obtain the optimization model training sample data, use the training sample data to train the optimization model, and obtain the optimization adjustment parameters, including: obtaining historical heat sealing parameters and historical capacitor core sealing position information; based on the height change trend model, determining the heat sealing parameters used to execute the optimized heat sealing head scanning path, wherein the heat sealing parameters used to execute the optimized heat sealing head scanning path include at least: heat sealing temperature, heat sealing depth, and heat sealing pressure; the parameter adjustment module is used to adjust the parameters of the heat sealing head based on the optimized adjustment parameters.
3. An electronic device, It is characterized in that The electronic device comprises: a processor and a memory communicatively connected to the processor; wherein the memory stores instructions executable by the processor, and the instructions are executed by the processor so that the processor can perform the steps of the capacitor heat sealing method according to claim 1.
4. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a program for implementing a capacitor heat-sealing method, and the program for implementing a capacitor heat-sealing method is executed by a processor to implement the steps of the capacitor heat-sealing method according to claim 1.
