Ultrasonic punch service life detection method, system, device and storage medium
By applying pigment on the ultrasonic punch and using image analysis and empirical models, the problem of difficult detection of the service life of the ultrasonic punch is solved, and the effective life of the ultrasonic punch is evaluated, reducing waste and improving the quality of the automotive punching process.
Patent Information
- Application Number
- CN202111255487.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-27
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2041-10-27
AI Technical Summary
The service life of existing ultrasonic punches is difficult to detect in advance, resulting in poor processing or waste, and increasing process costs.
By coating pigment on ultrasonic punches, images are collected to determine the pigment adhesion ratio, and combined with a pre-established empirical model, the pulses and remaining service life have been calculated.
Effectively detect the use of ultrasonic punches, reduce unnecessary waste, improve the quality of automobile punching process, and reduce process costs.
Smart Images

Figure CN114021274B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to a method, system, device and storage medium for detecting the service life of an ultrasonic punch. Background Art
[0002] The punching process of automobiles is mainly used for the installation of automobile parts and automobile towing, etc., and is generally realized based on ultrasonic punching. Ultrasonic punching adopts the principle of ultrasound. The high-frequency vibration of the ultrasonic punch and the heat generated on the surface of the material dissolve the soluble sheet. The dissolved sheet is continuously peeled off on the surface of the material, and finally a through hole is formed. Ultrasonic punching technology is widely used due to its advantages such as high dimensional accuracy, small surface roughness and few burrs.
[0003] However, due to high-frequency vibration, the contact area between the ultrasonic punch and the material is small, and the pressure is high, which will accelerate the wear of the punch. Due to differences in processing accuracy and usage status, there are certain differences in the use of different ultrasonic punches. The number of times the ultrasonic punches put into use may vary greatly over a period of time. If the number of times the ultrasonic punch has been used exceeds the designed number of times, it is likely to have an adverse effect on the processing of the car; and the use of batch scrapping of ultrasonic punches will cause waste and increase the cost of the process. Summary of the invention
[0004] The purpose of this application is to solve one of the technical problems existing in the related art to at least a certain extent.
[0005] To this end, one purpose of an embodiment of the present application is to provide a method for detecting the service life of an ultrasonic punch, which effectively detects the number of times the ultrasonic punch has been used, facilitates the determination of the remaining number of times or the remaining use time of the ultrasonic punch, thereby improving the quality of the automobile punching process, while reducing process costs and unnecessary waste.
[0006] Another object of an embodiment of the present application is to provide an ultrasonic punch service life detection system.
[0007] In order to achieve the above technical objectives, the technical solutions adopted by the embodiments of the present application include:
[0008] In a first aspect, an embodiment of the present application provides a method for detecting the service life of an ultrasonic punch, comprising the following steps:
[0009] Outputting an action instruction, wherein the action instruction is used to control the ultrasonic punch to impact the base die; the base die is coated with a pigment having a color different from that of the ultrasonic punch;
[0010] collecting an image of the ultrasonic punch, and determining the adhesion ratio of the pigment according to the image;
[0011] According to a pre-established empirical model, the number of strokes used by the ultrasonic punch is determined by the adhesion ratio;
[0012] The remaining service life of the ultrasonic punch is determined according to the number of strokes used and the length of time the ultrasonic punch has been put into use; the remaining service life includes the remaining number of strokes or the remaining length of time of use.
[0013] In addition, the ultrasonic punch service life detection method according to the above embodiment of the present application may also have the following additional technical features:
[0014] Further, in an embodiment of the present application, the pigment includes any one of red lead powder, blue lead powder or yellow lead powder.
[0015] Furthermore, in one embodiment of the present application, the thickness of the pigment coated in the base concave mold is greater than 50 nanometers.
[0016] Further, in one embodiment of the present application, determining the adhesion ratio of the pigment according to the image includes:
[0017] intercepting a target image of a target acquisition area from the image;
[0018] detecting a total pixel value in the target image and a first pixel value in the target image that is displayed as a color of the pigment;
[0019] The adhesion ratio of the pigment is determined according to the ratio of the first pixel value to the total pixel value.
[0020] Furthermore, in one embodiment of the present application, the empirical model is established by the following steps:
[0021] Select a batch of sample ultrasonic punches with punch usage labels;
[0022] Controlling each of the sample ultrasonic punches to impact the base die; the base die is coated with a pigment having a color different from that of the ultrasonic punch;
[0023] Collecting sample images of each of the sample ultrasonic punches, and determining the pigment adhesion ratio corresponding to the sample ultrasonic punch according to the sample images;
[0024] The empirical model is established according to the usage labels corresponding to each of the sample ultrasonic punches and the pigment adhesion ratio.
[0025] Furthermore, in one embodiment of the present application, the formula of the empirical model is:
[0026] y=a*xb ;
[0027] Where y represents the number of times the ultrasonic punch has been used, x represents the adhesion ratio, and a and b are numerical parameters.
[0028] Furthermore, in one embodiment of the present application, the method further comprises the following steps:
[0029] When the number of strokes used exceeds the designed number of strokes of the ultrasonic punch, a prompt message is output to remind the user to replace the ultrasonic punch.
[0030] In a second aspect, an embodiment of the present application provides an ultrasonic punch service life detection system, comprising:
[0031] An output module is used to output an action instruction, wherein the action instruction is used to control the ultrasonic punch to impact the base die; the base die is coated with a pigment with a color different from that of the ultrasonic punch;
[0032] An acquisition module, used for acquiring an image of the ultrasonic punch and determining the adhesion ratio of the pigment according to the image;
[0033] A processing module, used to determine the number of strokes used by the ultrasonic punch through the adhesion ratio according to a pre-established empirical model;
[0034] The prediction module is used to determine the remaining service life of the ultrasonic punch according to the number of strokes used and the length of time the ultrasonic punch has been put into use; the remaining service life includes the remaining number of strokes or the remaining length of time of use.
[0035] In a third aspect, an embodiment of the present application provides an ultrasonic punch service life detection device, comprising:
[0036] at least one processor;
[0037] at least one memory for storing at least one program;
[0038] When the at least one program is executed by the at least one processor, the at least one processor implements the ultrasonic punch service life detection method described in the first aspect.
[0039] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a program executable by a processor, and when the program executable by the processor is executed by the processor, it is used to implement the ultrasonic punch service life detection method described in the first aspect.
[0040] The advantages and benefits of the present application will be partially given in the following description, and partially become apparent from the following description, or be understood through the practice of the present application:
[0041] The ultrasonic punch service life detection method provided in the embodiment of the present application includes outputting an action instruction, the action instruction is used to control the ultrasonic punch to impact the base die; the base die is coated with a pigment of a different color from the ultrasonic punch; an image of the ultrasonic punch is collected, and the adhesion ratio of the pigment is determined according to the image; according to a pre-established empirical model, the number of times the ultrasonic punch has been used is determined by the adhesion ratio; according to the number of times the ultrasonic punch has been used and the length of time the ultrasonic punch has been put into use, the remaining service life of the ultrasonic punch is determined; the remaining service life includes the remaining number of times the ultrasonic punch has been used or the remaining length of time of use. This method effectively detects the number of times the ultrasonic punch has been used, and facilitates the determination of the remaining number of times the ultrasonic punch has been used or the remaining length of time of use, thereby improving the quality of the automobile punching process, while reducing process costs and unnecessary waste. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following introduction is made to the drawings of the embodiments of the present application or the related technical solutions in the prior art. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present application. For technical personnel in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0043] Figure 1 This is a flow chart of a specific embodiment of a method for detecting the service life of an ultrasonic punch according to the present application;
[0044] Figure 2 This is a schematic structural diagram of a specific embodiment of an ultrasonic punch service life detection system of the present application;
[0045] Figure 3 This is a structural schematic diagram of a specific embodiment of an ultrasonic punch service life detection device of the present application. DETAILED DESCRIPTION
[0046] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and are not to be construed as limitations on the present application. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.
[0047] At present, there is a demand for punching in automobile-related processes. For example, the bumper punching process is mainly used for the installation of automobile radars and automobile towing, etc., which is generally achieved based on ultrasonic punching. Ultrasonic punching technology adopts the ultrasonic principle. The high-frequency vibration of the ultrasonic punch and the heat generated on the surface of the material dissolve the soluble sheet. The dissolved sheet is continuously peeled off on the surface of the material, and finally a through hole is formed. Ultrasonic punching technology is widely used due to its advantages such as high dimensional accuracy, small surface roughness, and few burrs. Due to high-frequency vibration, the contact area between the ultrasonic punch and the material is small, and the pressure is strong, which will accelerate the wear of the punch. Due to differences in processing accuracy and usage status, there are certain differences in the use of different ultrasonic punches. The same batch of ultrasonic punches may have very different usage times over a period of time.
[0048] In the related art, it is difficult to know the service life of the ultrasonic punch in advance (for example, the remaining number of punches), and it is impossible to estimate the life of the punch. Therefore, the employees who use the punch need to pay attention to the quality status of the hole position at all times to assist in judging the wear of the punch. During use, when the service life of the ultrasonic punch has reached the end and the hole position is poor, it is known that the punch can no longer be used, which has an adverse effect on the process; and replacing the ultrasonic punch with a new one when the number of punches is small will cause waste and increase the cost of the process.
[0049] In view of the technical problems existing in the above-mentioned related technologies, a method for detecting the service life of an ultrasonic punch is provided in an embodiment of the present application. The method can effectively detect the number of punches used by the ultrasonic punch, and facilitate the determination of the remaining number of punches or the remaining use time of the ultrasonic punch, thereby improving the quality of the automobile punching process, while reducing the process cost and reducing unnecessary waste.
[0050] In some embodiments, the method in the embodiments of the present application can be executed in a terminal, for example, the method can be implemented based on a processor in the terminal, that is, the method can be run in the processor of the terminal in the form of a program, and the method is implemented by executing a related program. Specifically, the aforementioned terminal can be a mobile phone, a smart wearable device, a tablet computer, a laptop computer, etc., but is not limited thereto.
[0051] In some embodiments, the method in the embodiments of the present application may also be executed in a server. The server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0052] Of course, the above implementation scenarios are only used to illustrate the execution of the method in this application, and do not mean to specifically limit it. The following mainly takes the execution of the method in the above implementation environment as an example to explain and introduce it in detail.
[0053] Please refer to Figure 1 , the method mainly comprises the following steps:
[0054] Step 110, outputting an action instruction, wherein the action instruction is used to control the ultrasonic punch to impact the base die; the base die is coated with a pigment having a different color from that of the ultrasonic punch;
[0055] In this step, when the life of the ultrasonic punch is detected, an action instruction can be output to it first, and the action instruction is used to trigger the ultrasonic punch to move for a period of time or a specified number of times, such as moving for 1 second or completing 10 impact actions. Below the ultrasonic punch, a base die is provided, and a pigment is coated in the base die, and the color of the pigment is different from the color of the ultrasonic punch, preferably a color with obvious distinction. Specifically, the pigment can include any one of red lead powder, blue lead powder or yellow lead powder. In an embodiment of the present application, the pigment coated in the base die can adhere to the ultrasonic punch when it contacts it. The degree of adhesion is positively correlated with the number of times the ultrasonic punch has been used, because: during the use of the ultrasonic punch, the punch will gradually curl and become rough, and the more times the punch has been used, the more serious the curling situation is, and the more pigment adheres. In an embodiment of the present application, the base die and the ultrasonic punch can be of clearance fit, and a layer of powdered pigment is evenly applied on the inner wall of the base die so that the punch cooperates with the base die when moving downward. The powdered coating on the inner wall of the base die adheres due to the curling of the punch, wherein the thickness of the pigment coated in the base die can be greater than 50 nanometers to facilitate the adhesion of the pigment.
[0056] Step 120, collecting an image of the ultrasonic punch, and determining the adhesion ratio of the pigment according to the image;
[0057] In this step, after the ultrasonic punch is turned on to impact the base die, an image of the ultrasonic punch can be collected, and then the adhesion ratio of the pigment on the ultrasonic punch can be determined based on the collected image. Specifically, the adhesion ratio can be the ratio of the coverage area of the side of the punch with the pigment to the total area of the side of the punch. Specifically, step 120 can further include the following steps:
[0058] Step 1201, intercepting a target image of a target acquisition area from the image;
[0059] Step 1202, detecting a total pixel value in the target image and a first pixel value of the color of the pigment in the target image;
[0060] Step 1203: Determine the adhesion ratio of the pigment according to the ratio of the first pixel value to the total pixel value.
[0061] In the embodiment of the present application, after the image of the ultrasonic punch is collected, the image may also include some background-independent image information. At this time, the image of the target collection area can be first intercepted from the image to obtain the target image. The target collection area is the area of the ultrasonic punch. When intercepting, an image segmentation algorithm can be used to segment the target collection area from the original image, and then the target image is obtained. Further, after obtaining the target image, the total pixel value in the target image and the pixel value of the color of the pigment in the base concave mold in the target image can be detected, recorded as the first pixel value, and then the adhesion ratio of the pigment is determined according to the ratio of the first pixel value to the total pixel value. The pixel value here can be the number of pixels in the image. For example, there are 1189 pixels in the target image, and the pigment is red lead powder. The number of pixels displayed as red in the target image is 277, and the adhesion ratio is 277 / 1189=0.233.
[0062] Step 130, determining the number of times the ultrasonic punch has been used through the adhesion ratio according to a pre-established empirical model;
[0063] In this step, after obtaining the adhesion ratio corresponding to the ultrasonic punch, the number of times the ultrasonic punch has been used can be determined according to the adhesion ratio based on a pre-established empirical model. Specifically, the empirical model used here can be established through the following steps:
[0064] Step 1301, selecting a batch of sample ultrasonic punches with punching times labels;
[0065] Step 1302, controlling each of the sample ultrasonic punches to impact the base die; the base die is coated with a pigment having a color different from that of the ultrasonic punch;
[0066] Step 1303, collecting sample images of each of the sample ultrasonic punches, and determining the pigment adhesion ratio corresponding to the sample ultrasonic punch according to the sample images;
[0067] Step 1304: Establish the empirical model according to the usage labels corresponding to each of the sample ultrasonic punches and the pigment adhesion ratio.
[0068] In an embodiment of the present application, when establishing an empirical model, a batch of sample ultrasonic punches carrying a usage label can be selected. The usage label records the number of times the ultrasonic punch has been used, for example, five thousand times, three thousand seven hundred times, and so on. Then, a pigment coating test is performed on each sample ultrasonic punch to determine its corresponding pigment adhesion ratio. This part is similar to the aforementioned steps 110 to 120 and will not be repeated here. Furthermore, an empirical model can be established based on the usage labels and pigment adhesion ratios corresponding to each sample ultrasonic punch. For example, in an embodiment of the present application, the established empirical model can be expressed by the formula:
[0069] y=a*x b ;
[0070] Wherein, y represents the number of times the ultrasonic punch has been used, x represents the adhesion ratio, and a and b are numerical parameters, wherein, in some embodiments, a=16743.2, b=0.50178. It can be understood that for different types of ultrasonic punches, different empirical models can be established for independent analysis.
[0071] Step 140: Determine the remaining service life of the ultrasonic punch according to the number of strokes used and the length of time the ultrasonic punch has been used; the remaining service life includes the remaining number of strokes or the remaining length of time of use.
[0072] In this step, after obtaining the number of strokes used by the ultrasonic punch, its remaining service life can be determined. Specifically, the remaining service life of the ultrasonic punch can be expressed by the remaining number of strokes used or by the remaining use time. The remaining use time here refers to the length of time before the ultrasonic punch needs to be scrapped, not the total time that can be used continuously. Among them, the remaining number of strokes used can be obtained by subtracting the number of strokes used from the design use number of the ultrasonic punch. For example, the design use number of strokes of a certain ultrasonic punch is 9,000 times, and the number of strokes used is 8,000 times, then the remaining number of strokes used is 1,000 times. The remaining use time can be determined by the relationship between the number of strokes used and the time put into use. For example, the design use number of strokes of a certain ultrasonic punch is 9,000 times, the number of strokes used is 8,000 times, and it has been put into use for 8 weeks, then its remaining use time can be determined as 1 week. In other words, the ultrasonic punch needs to be scrapped after 1 week.
[0073] In some possible implementations, the method in the present application further includes the following steps:
[0074] When the number of strokes used exceeds the designed number of strokes of the ultrasonic punch, a prompt message is output to remind the user to replace the ultrasonic punch.
[0075] In an embodiment of the present application, a function of automatically reminding the user to scrap the ultrasonic punch may also be included: when the number of times the ultrasonic punch has been used exceeds its corresponding designed number of times, a prompt message, such as sound and light information, may be output to remind the user to replace the ultrasonic punch with a new one to prevent adverse effects on the process and reduce the quality of the product.
[0076] The ultrasonic punch service life detection system and device proposed in accordance with the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0077] Reference Figure 2 The automobile steering wheel detection system proposed in the embodiment of the present application includes:
[0078] The output module 101 is used to output an action instruction, wherein the action instruction is used to control the ultrasonic punch to impact the base die; the base die is coated with a pigment having a different color from that of the ultrasonic punch;
[0079] An acquisition module 102 is used to acquire an image of the ultrasonic punch and determine the adhesion ratio of the pigment according to the image;
[0080] A processing module 103 is used to determine the number of times the ultrasonic punch has been used through the adhesion ratio according to a pre-established empirical model;
[0081] The prediction module 104 is used to determine the remaining service life of the ultrasonic punch according to the number of strokes used and the length of time the ultrasonic punch has been put into use; the remaining service life includes the remaining number of strokes or the remaining length of time of use.
[0082] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0083] Reference Figure 3 The embodiment of the present application provides an ultrasonic punch service life detection device, comprising:
[0084] at least one processor 201;
[0085] At least one memory 202, used to store at least one program;
[0086] When at least one program is executed by at least one processor 201, the at least one processor 201 implements the ultrasonic punch service life detection method.
[0087] Similarly, the contents of the above method embodiments are all applicable to the present device embodiments. The functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0088] The embodiment of the present application further provides a computer-readable storage medium, in which a program executable by the processor 201 is stored. When the program executable by the processor 201 is executed by the processor 201, it is used to execute the above-mentioned ultrasonic punch service life detection method.
[0089] Similarly, the contents of the above method embodiments are all applicable to the computer-readable storage medium embodiments. The functions specifically implemented by the computer-readable storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0090] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part described as a larger operation is performed independently.
[0091] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional techniques of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the attached claims and their equivalents.
[0092] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.
[0093] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0094] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0095] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0096] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0097] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
[0098] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the embodiments. Technical personnel familiar with the field can make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A method for detecting the service life of an ultrasonic punch, characterized in that: The following steps are involved: Outputting an action instruction, wherein the action instruction is used to control the ultrasonic punch to impact the base die; the base die is coated with a pigment having a color different from that of the ultrasonic punch; collecting an image of the ultrasonic punch, and determining the adhesion ratio of the pigment according to the image; According to a pre-established empirical model, the number of strokes used by the ultrasonic punch is determined by the adhesion ratio; Determine the remaining service life of the ultrasonic punch according to the number of strokes used and the length of time the ultrasonic punch has been put into use; the remaining service life includes the remaining number of strokes or the remaining length of time of use; The empirical model is established by the following steps: Select a batch of sample ultrasonic punches with punch usage labels; Controlling each of the sample ultrasonic punches to impact the base die; the base die is coated with a pigment having a color different from that of the ultrasonic punch; Collecting sample images of each of the sample ultrasonic punches, and determining the pigment adhesion ratio corresponding to the sample ultrasonic punch according to the sample images; The empirical model is established according to the usage labels corresponding to each of the sample ultrasonic punches and the pigment adhesion ratio.
2. The ultrasonic punch service life detection method according to claim 1, characterized in that: The pigment includes any one of red lead powder, blue lead powder or yellow lead powder.
3. The ultrasonic punch service life detection method according to claim 1, characterized in that: The thickness of the pigment coated in the base concave mold is greater than 50 nanometers.
4. The ultrasonic punch service life detection method according to any one of claims 1 to 3, characterized in that: Determining the adhesion ratio of the pigment according to the image includes: intercepting a target image of a target acquisition area from the image; Detecting the total number of pixels in the target image and the number of first pixels in the target image that are displayed as the color of the pigment; The adhesion ratio of the pigment is determined according to the ratio of the first number of pixels to the total number of pixels.
5. The ultrasonic punch service life detection method according to claim 1, characterized in that: The formula of the empirical model is: y=a*x b ; Where y represents the number of times the ultrasonic punch has been used, x represents the adhesion ratio, and a and b are numerical parameters.
6. The ultrasonic punch service life detection method according to claim 1, characterized in that: The method further comprises the following steps: When the number of strokes used exceeds the designed number of strokes of the ultrasonic punch, a prompt message is output to remind the user to replace the ultrasonic punch.
7. An ultrasonic punch service life detection system, characterized in that: include: An output module is used to output an action instruction, wherein the action instruction is used to control the ultrasonic punch to impact the base die; the base die is coated with a pigment with a color different from that of the ultrasonic punch; An acquisition module, used for acquiring an image of the ultrasonic punch and determining the adhesion ratio of the pigment according to the image; A processing module, used to determine the number of strokes used by the ultrasonic punch through the adhesion ratio according to a pre-established empirical model; A prediction module, used to determine the remaining service life of the ultrasonic punch according to the number of strokes used and the length of time the ultrasonic punch has been put into use; the remaining service life includes the remaining number of strokes or the remaining length of time of use; The empirical model is established by the following steps: Select a batch of sample ultrasonic punches with punch usage labels; Controlling each of the sample ultrasonic punches to impact the base die; the base die is coated with a pigment having a color different from that of the ultrasonic punch; Collecting sample images of each of the sample ultrasonic punches, and determining the pigment adhesion ratio corresponding to the sample ultrasonic punch according to the sample images; The empirical model is established according to the usage labels corresponding to each of the sample ultrasonic punches and the pigment adhesion ratio.
8. An ultrasonic punch service life detection device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the ultrasonic punch service life detection method as described in any one of claims 1-6.
9. A computer-readable storage medium storing a program executable by a processor, characterized in that: The program executable by the processor is used to implement the ultrasonic punch service life detection method as described in any one of claims 1 to 6 when executed by the processor.
