CN117245843A - Method, apparatus and computer storage medium for injection molding connector - Google Patents

Method, apparatus and computer storage medium for injection molding connector Download PDF

Info

Publication number
CN117245843A
CN117245843A CN202311166520.5A CN202311166520A CN117245843A CN 117245843 A CN117245843 A CN 117245843A CN 202311166520 A CN202311166520 A CN 202311166520A CN 117245843 A CN117245843 A CN 117245843A
Authority
CN
China
Prior art keywords
detection
connector
appearance
qualified
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311166520.5A
Other languages
Chinese (zh)
Inventor
罗志兵
陈裕楷
谢水来
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lehu Electronic Co ltd
Original Assignee
Lehu Electronic Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lehu Electronic Co ltd filed Critical Lehu Electronic Co ltd
Priority to CN202311166520.5A priority Critical patent/CN117245843A/en
Publication of CN117245843A publication Critical patent/CN117245843A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C45/00Injection moulding, i.e. forcing the required volume of moulding material through a nozzle into a closed mould; Apparatus therefor
    • B29C45/14Injection moulding, i.e. forcing the required volume of moulding material through a nozzle into a closed mould; Apparatus therefor incorporating preformed parts or layers, e.g. injection moulding around inserts or for coating articles
    • B29C45/14008Inserting articles into the mould
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B07SEPARATING SOLIDS FROM SOLIDS; SORTING
    • B07CPOSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
    • B07C5/00Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
    • B07C5/34Sorting according to other particular properties
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B07SEPARATING SOLIDS FROM SOLIDS; SORTING
    • B07CPOSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
    • B07C5/00Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
    • B07C5/34Sorting according to other particular properties
    • B07C5/344Sorting according to other particular properties according to electric or electromagnetic properties
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B07SEPARATING SOLIDS FROM SOLIDS; SORTING
    • B07CPOSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
    • B07C5/00Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
    • B07C5/36Sorting apparatus characterised by the means used for distribution
    • B07C5/361Processing or control devices therefor, e.g. escort memory
    • B07C5/362Separating or distributor mechanisms
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C45/00Injection moulding, i.e. forcing the required volume of moulding material through a nozzle into a closed mould; Apparatus therefor
    • B29C45/17Component parts, details or accessories; Auxiliary operations
    • B29C45/76Measuring, controlling or regulating

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Mechanical Engineering (AREA)
  • Injection Moulding Of Plastics Or The Like (AREA)

Abstract

The application relates to the field of injection molding, and provides a connector injection molding method, a connector injection molding device and a computer storage medium. The method comprises the following steps: after the link of injection molding is implemented on the target connector, the electrical property detection is carried out on the injection molded connector; if the detection result of the electrical attribute detection is that the electrical attribute detection is not qualified, cutting the connector which is not qualified in the electrical attribute detection; if the detection result of the electrical attribute detection is that the electrical attribute detection is qualified, performing appearance detection on the connector which is qualified in the electrical attribute detection; if the appearance detection result is that the appearance detection is unqualified, cutting the connector which is unqualified in the appearance detection; and if the appearance detection result of the appearance detection is that the appearance detection is qualified, automatically assembling the connector which is qualified in the appearance detection. The technical scheme of the application can discover the abnormality of the connector process link in time and avoid resource waste.

Description

Method, apparatus and computer storage medium for injection molding connector
Technical Field
The present disclosure relates to the field of injection molding, and in particular, to a method, an apparatus, and a computer storage medium for injection molding a connector.
Background
Connectors are an assembly used in the information age to connect electronic devices, wires or cables, which provide a reliable physical connection so that signals, data or power can be transmitted between different devices. Connectors are typically made of metal and/or plastic with pins and sockets for plugging connections. Connectors are widely used in a variety of fields including electronics, telecommunications, computers, automotive, aerospace, etc., and common connector types are USB, HDMI, RJ (wire), D-sub, audio/video connectors, etc.
Injection molding (insert molding) is a process for producing plastic parts with embedded metal parts. In this process, the metal part is pre-installed at a specific position in the injection mold. The molten plastic material is then injected through a nozzle into the mold, filling the mold with plastic and solidifying. The final plastic part will encase the metal part, forming an integral embedded structure.
The existing injection molding method of the connector is to directly assemble the finished product after the metal parts of the connector are injection molded. However, once the injection molding process is found after assembly, the process is abnormal, which means that the finished products are scrapped in batches, and great waste is caused.
Disclosure of Invention
The application provides a method, a device and a computer storage medium for connector injection molding, which can discover the abnormality of a connector manufacturing procedure link in time and avoid resource waste.
In one aspect, the present application provides a method of injection molding a connector, the method comprising:
after the link of injection molding is implemented on the target connector, the electrical property detection is carried out on the injection molded connector;
if the detection result of the electrical attribute detection is that the electrical attribute detection is not qualified, cutting the connector which is not qualified in the electrical attribute detection;
if the detection result of the electrical attribute detection is that the electrical attribute detection is qualified, performing appearance detection on the connector which is qualified in the electrical attribute detection;
if the appearance detection result is that the appearance detection is unqualified, cutting the connector which is unqualified in the appearance detection;
and if the appearance detection result of the appearance detection is that the appearance detection is qualified, automatically assembling the connector which is qualified in the appearance detection.
In another aspect, the present application provides an apparatus for injection molding a connector, the apparatus comprising:
the first detection module is used for detecting the electrical property of the injection molded connector after the link of injection molding is finished on the target connector;
the first cutting module is used for cutting the connector with unqualified electric attribute detection if the detection result of the electric attribute detection is that the electric attribute detection is unqualified;
the second detection module is used for carrying out appearance detection on the connector with qualified electric attribute detection if the detection result of the electric attribute detection is that the electric attribute detection is qualified;
the second cutting module is used for cutting the connector with unqualified appearance detection if the detection result of the appearance detection is that the appearance detection is unqualified;
and the assembly module is used for automatically assembling the connector with qualified appearance detection if the appearance detection result of the appearance detection is that the appearance detection is qualified.
In a third aspect, the present application provides an apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the technical solution of the method for injection moulding a connector as described above when the computer program is executed.
In a fourth aspect, the present application provides a computer storage medium storing a computer program which, when executed by a processor, implements the steps of the solution of the method of injection molding a connector as described above.
According to the technical scheme provided by the application, the connector is detected at least twice before being automatically assembled, and if the detection result is unqualified, the connector is cut off before being assembled, so that the abnormality of a process link is timely found, batch scrapping of finished products is avoided, and resource waste in the production process is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of injection molding a connector provided by an embodiment of the present application;
FIG. 2 is a schematic view of an apparatus for injection molding a connector according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In this specification, adjectives such as first and second may be used solely to distinguish one element or action from another element or action without necessarily requiring or implying any actual such relationship or order. Where the environment permits, reference to an element or component or step (etc.) should not be construed as limited to only one of the element, component, or step, but may be one or more of the element, component, or step, etc.
In the present specification, for convenience of description, the dimensions of the various parts shown in the drawings are not drawn in actual scale.
Injection molding (insert molding) is a process for producing plastic parts with embedded metal parts. In this process, the metal part is pre-installed at a specific position in the injection mold. The molten plastic material is then injected through a nozzle into the mold, filling the mold with plastic and solidifying. The final plastic part will encase the metal part, forming an integral embedded structure. The existing injection molding method of the connector is to directly assemble the finished product after the metal parts of the connector are injection molded. However, once the injection molding process is found after assembly, the process is abnormal, which means that the finished products are scrapped in batches, and great waste is caused.
Aiming at the problems in the prior art, the application provides a method for injection molding a connector, which can timely find out the abnormality of a process link and avoid resource waste, and the flow chart is shown in the attached figure 1 and mainly comprises steps S101 to S105, and is described in detail as follows:
step S101: after the injection molding process is completed on the target connector, the electrical property of the injection molded connector is detected.
In the embodiment of the present application, the target connector is the connector to be detected. As previously mentioned, injection molding is a process for producing plastic parts with embedded metal components, while connectors are typically made of metal and/or plastic. Therefore, the electrical property detection is performed on the injection molded connector, and the main purpose is to detect whether the electrical property of the target connector is unqualified, such as short circuit, open circuit and the like.
Step S102: and if the detection result of the electrical attribute detection is that the electrical attribute detection is not qualified, cutting the connector which is not qualified in the electrical attribute detection.
If the detection result of the electrical attribute detection is that the electrical attribute detection is unqualified, cutting is carried out on the connector with unqualified electrical attribute detection, and the link that unqualified products flow into the next process is not continued, so that the waste of resources is avoided.
Step S103: and if the detection result of the electrical attribute detection is that the electrical attribute detection is qualified, performing appearance detection on the connector which is qualified in the electrical attribute detection.
The electrical property detection of the injection molded connector is only one step of detection, and besides the electrical property detection of the injection molded connector, the appearance detection of the connector with qualified electrical property detection can be performed so as to obtain whether the target connector has defects in appearance, for example, whether the terminal contact surface of the target connector has burrs or other abnormal conditions affecting poor contact, and the like.
As an embodiment of the present application, appearance inspection of a connector that is qualified for electrical property inspection may be performed by steps Sa1031 to Sa1034, and the following is described in detail:
step Sa1031: and acquiring at least two appearance gray-scale images of the connector with the qualified electrical property detection, wherein the image acquisition view angles of the at least two appearance gray-scale images are the same.
In the embodiment of the application, at least two appearance gray-scale images of the connector with the qualified electrical property detection are obtained, and the connector with the qualified electrical property detection can be shot by an industrial camera and obtained through an image processing algorithm.
Step Sa1032: and performing redundancy removal processing on at least two appearance gray-scale images.
In order to improve efficiency of a subsequent algorithm, in the embodiment of the present application, redundancy removal processing may be performed on at least two appearance gray-scale maps. Specifically, the redundancy removal process for at least two appearance gray-scale maps may be: any two appearance gray-scale images in at least two appearance gray-scale images are obtained; inputting any two appearance gray-scale images into an image similarity discrimination model to obtain the similarity of any two appearance gray-scale images; and deleting any one of the two appearance gray-scale images with the similarity larger than the preset threshold value from the at least two appearance gray-scale images in response to the similarity larger than the preset threshold value.
Step Sa1033: and performing dimension expansion on the at least two appearance gray-scale images subjected to redundancy removal processing to obtain a multichannel fusion image.
Specifically, performing dimension expansion on at least two appearance gray-scale images after redundancy removal processing to obtain a multi-channel fusion image may be: and superposing at least two appearance gray-scale images subjected to redundancy removal processing on the dimension of the channel to obtain a multi-channel fusion image. For example, after redundancy removal processing is performed on the M appearance gray-scale images, N appearance gray-scale images may be further obtained, where the N appearance gray-scale images after redundancy removal processing are two-dimensional gray-scale images with a size of w×h and a channel of 1, and when a multi-channel fusion image is obtained, the multi-channel fusion image may be amplified into a three-dimensional image of w×h×1, then the N appearance gray-scale images after the de-duplication processing are superimposed on the channel dimension, and the N appearance gray-scale images are stacked as N channels to obtain the multi-channel fusion image.
Step Sa1034: and detecting to obtain an appearance detection result of the connector with the qualified electrical property detection based on the multi-channel fusion image.
Specifically, based on the multi-channel fusion image, the appearance detection result of the connector, which is detected to be qualified in the electrical attribute detection, may be: acquiring the channel number of the multi-channel fusion image; and adjusting channels of the appearance detection model based on the channel number, and inputting the multi-channel fusion image into the appearance detection model to obtain an appearance detection result of the connector with qualified electrical property detection. It should be noted that the appearance detection model may be trained in advance, where the appearance detection model is a model that has been trained, and the appearance detection result may be whether the connector that is qualified for the electrical property detection has a defect, a defect position, a defect size, a defect type, and a defect level, or the like.
As another embodiment of the present application, appearance inspection of the connector that is qualified for electrical property inspection may be performed through steps Sb1031 to Sb1034, which are described in detail below:
step Sb1031: and inputting the appearance image corresponding to the connector with the qualified electrical attribute detection into an image domain division model to obtain the connector appearance domain division image.
It should be noted that, in the embodiment of the present application, the image domain-dividing model is obtained by training in advance, and the specific training method may be: acquiring a connector appearance area outline image based on the connector corresponding appearance image qualified in the electrical attribute detection; establishing a training set based on the connector appearance image and the corresponding connector appearance area outline image; taking the connector appearance image as input, taking the connector appearance region outline image corresponding to the connector appearance image as output, and training based on a machine learning algorithm to obtain an image domain division model.
Step Sb1032: and carrying out gray level analysis on the connector appearance domain-divided image to obtain the poor surface area of the connector appearance.
Specifically, gray level analysis is performed on the connector appearance domain image, and the obtained surface area of the connector appearance defect may be: binarization processing is carried out on the connector appearance sub-domain image to obtain a connector appearance sub-domain gray-scale image; and acquiring a region with the gray value larger than 0 in the gray level image of the connector appearance sub-domain, and determining the region with the gray value larger than 0 in the gray level image of the connector appearance sub-domain as the poor surface area of the connector appearance.
Step Sb1033: and carrying out feature matching on the connector appearance domain-divided image to obtain a connector appearance bad feature matching result.
Specifically, feature matching is performed on the connector appearance domain image, and the obtained connector appearance bad feature matching result may be: utilizing the poor appearance surface area of the connector as a poor appearance matching template of the connector; judging whether a connector appearance domain image area corresponding to the connector appearance bad matching template exists in the connector appearance domain image, if so, using the connector appearance domain image area as a connector appearance bad characteristic matching result, otherwise, discarding the processing.
Step Sb1034: and carrying out edge detection on the connector appearance domain-divided image to obtain a connector appearance bad edge detection result.
Specifically, edge detection is performed on the connector appearance domain image, and the obtained edge detection result of poor connector appearance may be: carrying out template positioning based on a poor matching template of the appearance of the connector by utilizing the connector appearance domain-dividing image to obtain a detection interested region of the connector appearance domain-dividing image; and obtaining a detection result of the edge of the poor appearance of the connector according to the detection interest area of the connector appearance domain image.
The surface area of the poor appearance of the connector, the matching result of the poor appearance characteristics of the connector and the detection result of the poor appearance edge of the connector obtained through the steps Sb1032 to Sb1034 are the appearance detection results of the connector with qualified electrical property detection.
As another embodiment of the present application, the appearance inspection of the connector that is qualified for the electrical property inspection may be implemented through steps Sc1031 to Sc1034, which are described in detail as follows:
step Sc1031: and acquiring detection images of the connectors with qualified electrical property detection to obtain images to be detected.
Similar to step Sc1031 in the foregoing embodiment, here, the detection image is acquired for the connector with qualified electrical property detection, and the image to be detected is obtained, and may be obtained by photographing the connector with qualified electrical property detection with an industrial camera.
Step Sc1032: and positioning the detection area of the image to be detected to obtain a target detection area of the image to be detected.
Specifically, positioning the detection area of the image to be detected, the obtaining the target detection area of the image to be detected may be: carrying out gray level histogram processing on the image to be detected to form a gray level detection image; performing low-pass filtering processing on the gray scale detection image to obtain a first filtered image; performing high-pass filtering and differential operation processing on the first filtered image to obtain a gray scale detection image for determining a square boundary; positioning the positions of the feature points to be detected based on the gray scale detection images of the determined square boundaries to obtain the positions of the feature points to be detected; and carrying out region positioning on the characteristic points based on the positions of the characteristic points to be detected to obtain a target detection region of the image to be detected.
Step Sc1033: and extracting pixel characteristics of a target detection area of the image to be detected, and constructing a pixel block of the area to be detected based on the extracted pixel characteristics.
Specifically, the pixel feature extraction is performed on the target detection area of the image to be detected, and the pixel block for constructing the area to be detected based on the extracted pixel feature may be: determining a binarization algorithm based on a gray scale mean value and a standard deviation of a target detection area of an image to be detected, and calculating a weight threshold based on the binarization algorithm to obtain a binarization weight threshold; performing binarization processing on a target detection area of an image to be detected based on a binarization weight threshold, and performing pixel feature extraction based on a binarization processing result; and constructing a pixel block of a target detection area of the image to be detected based on the extracted pixel characteristics.
Step Sc1034: and matching the pixel blocks of the target detection area with preset pixel blocks, and obtaining the appearance detection result of the connector with qualified electrical attribute detection based on the matching result.
Specifically, when the pixel blocks of the target detection area are matched with the preset pixel blocks, the pixel clusters in the pixel blocks of the target detection area are matched with the pixel clusters of the preset pixel blocks in a one-to-one correspondence manner, whether the appearance of the connector qualified in electric attribute detection is qualified or not is judged according to the matching result, namely, a preset matching probability is preset, and when the matching probability in the matching result is larger than or equal to the preset matching probability, the appearance of the connector qualified in electric attribute detection is judged to be qualified, otherwise, the connector is judged to be disqualified.
Step S104: and if the detection result of the appearance detection of the connector with the qualified electrical attribute detection is that the appearance detection is unqualified, cutting the connector with the unqualified appearance detection.
Even if the detection result of the electrical property detection is that the electrical property detection is qualified, if the detection result of the appearance detection is that the appearance detection is not qualified, the target connector still belongs to a non-qualified product. In the embodiment of the application, when the appearance detection of the target connector is unqualified, the implementation is cut, rather than continuously flowing the target connector with unqualified appearance detection into a link of the next process, so that the waste of resources can be avoided.
Step S105: and if the appearance detection result of the appearance detection is that the appearance detection is qualified, automatically assembling the connector which is qualified in the appearance detection.
As is clear from the method for injection molding the connector illustrated in fig. 1, after the injection molding process is performed on the target connector, electrical property detection is performed on the injection molded connector, if the electrical property detection is not qualified, cutting is performed on the connector that is not qualified, if the electrical property detection is qualified, appearance detection is performed on the connector that is qualified, if the detection result of the appearance detection is that the appearance detection is not qualified, cutting is performed on the connector that is not qualified, and if the appearance detection is qualified, automatic assembly is performed on the connector that is qualified. Because the connector is detected at least twice before the connector is automatically assembled, if the detection result is unqualified, the connector is cut off before the connector is assembled, so that the abnormality of the process link is timely found, the finished products are prevented from being scrapped in batches, and the resource waste in the production process is avoided.
Referring to fig. 2, an apparatus for injection molding a connector according to an embodiment of the present application may include a first detection module 201, a first cutting module 202, a second detection module 203, a second cutting module 204, and an assembly module 205, which are described in detail below:
a first detection module 201, configured to perform electrical attribute detection on the injection molded connector after performing an injection molding process on the target connector;
a first cutting module 202, configured to cut a connector that is not qualified in electrical attribute detection if the detection result of the electrical attribute detection is that the electrical attribute detection is not qualified;
the second detection module 203 is configured to perform appearance detection on the connector that is qualified in electrical attribute detection if the detection result of the electrical attribute detection is that the electrical attribute detection is qualified;
a second cutting module 204, configured to cut a connector that fails the appearance detection if the detection result of the appearance detection is that the appearance detection is failed;
and the assembly module 205 is configured to automatically assemble the connector that is qualified in appearance detection if the appearance detection result of the appearance detection is that the appearance detection is qualified.
As is clear from the above-described device for injection molding a connector illustrated in fig. 2, after the injection molding process is performed on the target connector, the electrical property detection is performed on the injection molded connector, if the electrical property detection is not acceptable, the electrical property detection is performed on the connector that is not acceptable, if the electrical property detection is acceptable, the appearance detection is performed on the connector that is acceptable, if the detection result of the appearance detection is that the appearance detection is not acceptable, the electrical property detection is performed on the connector that is not acceptable, and if the appearance detection is acceptable, the automatic assembly is performed on the connector that is acceptable. Because the connector is detected at least twice before the connector is automatically assembled, if the detection result is unqualified, the connector is cut off before the connector is assembled, so that the abnormality of the process link is timely found, the finished products are prevented from being scrapped in batches, and the resource waste in the production process is avoided.
Fig. 3 is a schematic structural diagram of an apparatus according to an embodiment of the present application. As shown in fig. 3, the apparatus 3 of this embodiment mainly includes: a processor 30, a memory 31 and a computer program 32 stored in the memory 31 and executable on the processor 30, such as a program for a method of connector injection moulding. The steps in the above-described method embodiment of connector injection molding, such as steps S101 to S105 shown in fig. 1, are implemented when the processor 30 executes the computer program 32. Alternatively, the processor 30 may perform the functions of the modules/units of the above-described apparatus embodiments when executing the computer program 32, such as the functions of the first detection module 201, the first trimming module 202, the second detection module 203, the second trimming module 204, and the assembly module 205 shown in fig. 2.
Illustratively, the computer program 32 of the method of connector injection molding basically comprises: after the link of injection molding is implemented on the target connector, the electrical property detection is carried out on the injection molded connector; if the detection result of the electrical attribute detection is that the electrical attribute detection is not qualified, cutting the connector which is not qualified in the electrical attribute detection; if the detection result of the electrical attribute detection is that the electrical attribute detection is qualified, performing appearance detection on the connector which is qualified in the electrical attribute detection; if the appearance detection result is that the appearance detection is unqualified, cutting the connector which is unqualified in the appearance detection; and if the appearance detection result of the appearance detection is that the appearance detection is qualified, automatically assembling the connector which is qualified in the appearance detection. The computer program 32 may be divided into one or more modules/units, which are stored in the memory 31 and executed by the processor 30 to complete the present application. One or more of the modules/units may be a series of computer program instruction segments capable of performing a specific function for describing the execution of the computer program 32 in the device 3. For example, the computer program 32 may be divided into functions of the first detection module 201, the first trimming module 202, the second detection module 203, the second trimming module 204, and the assembly module 205 (modules in the virtual device), each of which specifically functions as follows: a first detection module 201, configured to perform electrical attribute detection on the injection molded connector after performing an injection molding process on the target connector; a first cutting module 202, configured to cut a connector that is not qualified in electrical attribute detection if the detection result of the electrical attribute detection is that the electrical attribute detection is not qualified; the second detection module 203 is configured to perform appearance detection on the connector that is qualified in electrical attribute detection if the detection result of the electrical attribute detection is that the electrical attribute detection is qualified; a second cutting module 204, configured to cut a connector that fails the appearance detection if the detection result of the appearance detection is that the appearance detection is failed; and the assembly module 205 is configured to automatically assemble the connector that is qualified in appearance detection if the appearance detection result of the appearance detection is that the appearance detection is qualified.
The device 3 may include, but is not limited to, a processor 30, a memory 31. It will be appreciated by those skilled in the art that fig. 3 is merely an example of device 3 and is not intended to limit device 3, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., a computing device may also include an input-output device, a network access device, a bus, etc.
The processor 30 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf Programmable gate arrays (FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may be an internal storage unit of the device 3, such as a hard disk or a memory of the device 3. The memory 31 may also be an external storage device of the device 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the device 3. Further, the memory 31 may also include both an internal storage unit of the device 3 and an external storage device. The memory 31 is used to store computer programs and other programs and data required by the device. The memory 31 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that the above-described functional units and modules are merely illustrated for convenience and brevity of description, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above device may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/device and method may be implemented in other manners. For example, the apparatus/device embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a non-transitory computer readable storage medium. Based on such understanding, the present application may implement all or part of the processes in the methods of the foregoing embodiments, or may be implemented by a computer program for instructing related hardware, where the computer program for a method for injection molding a connector may be stored in a computer storage medium, where the computer program, when executed by a processor, may implement the steps of each embodiment of the foregoing methods, that is, performing electrical attribute detection on an injection molded connector after performing an injection molding step on a target connector; if the detection result of the electrical attribute detection is that the electrical attribute detection is not qualified, cutting the connector which is not qualified in the electrical attribute detection; if the detection result of the electrical attribute detection is that the electrical attribute detection is qualified, performing appearance detection on the connector which is qualified in the electrical attribute detection; if the appearance detection result is that the appearance detection is unqualified, cutting the connector which is unqualified in the appearance detection; and if the appearance detection result of the appearance detection is that the appearance detection is qualified, automatically assembling the connector which is qualified in the appearance detection. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The non-transitory computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a USB flash disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the non-transitory computer readable medium may include content that is suitably scaled according to the requirements of jurisdictions in which the legislation and patent practice, such as in some jurisdictions, the non-transitory computer readable medium does not include electrical carrier signals and telecommunication signals according to the legislation and patent practice. The above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. The foregoing detailed description of the embodiments has been presented for purposes of illustration and description, and it should be understood that the foregoing is by way of example only, and is not intended to limit the scope of the invention.

Claims (10)

1. A method of injection molding a connector, the method comprising:
after the link of injection molding is implemented on the target connector, the electrical property detection is carried out on the injection molded connector;
if the detection result of the electrical attribute detection is that the electrical attribute detection is not qualified, cutting the connector which is not qualified in the electrical attribute detection;
if the detection result of the electrical attribute detection is that the electrical attribute detection is qualified, performing appearance detection on the connector which is qualified in the electrical attribute detection;
if the appearance detection result is that the appearance detection is unqualified, cutting the connector which is unqualified in the appearance detection;
and if the appearance detection result of the appearance detection is that the appearance detection is qualified, automatically assembling the connector which is qualified in the appearance detection.
2. The method of injection molding a connector of claim 1, wherein said appearance inspection of a connector that is acceptable for electrical property inspection comprises:
acquiring at least two appearance gray-scale images of the connector with qualified electrical attribute detection, wherein the image acquisition angles of the at least two appearance gray-scale images are the same;
performing redundancy removal processing on the at least two appearance gray-scale images;
performing dimension expansion on the at least two appearance gray-scale images subjected to redundancy removal processing to obtain a multichannel fusion image;
and detecting to obtain an appearance detection result of the connector with the qualified electrical property detection based on the multichannel fusion image.
3. The method for injection molding a connector according to claim 2, wherein the detecting, based on the multi-channel fusion image, an appearance detection result of the connector that is qualified in the electrical property detection includes:
acquiring the channel number of the multi-channel fusion image;
and adjusting channels of the appearance detection model based on the channel number, and inputting the multi-channel fusion image into the appearance detection model to obtain an appearance detection result of the connector with qualified electrical property detection.
4. The method of injection molding a connector of claim 1, wherein said appearance inspection of a connector that is acceptable for electrical property inspection comprises:
inputting the appearance image corresponding to the connector with the qualified electrical attribute detection into an image domain-dividing model to obtain an appearance domain-dividing image of the connector;
gray level analysis is carried out on the connector appearance domain-divided image, so that a connector appearance poor surface area is obtained;
performing feature matching on the connector appearance domain-divided image to obtain a connector appearance bad feature matching result;
and carrying out edge detection on the connector appearance domain-divided image to obtain a connector appearance bad edge detection result.
5. The method of injection molding a connector of claim 4, wherein said subjecting said connector appearance split image to gray scale analysis results in a connector appearance poor surface area, comprising:
performing binarization processing on the connector appearance sub-domain image to obtain a connector appearance sub-domain gray scale image;
and acquiring a region with gray values larger than 0 in the connector appearance split-domain gray scale image, and determining the region as the poor surface area of the connector appearance.
6. The method of injection molding a connector of claim 1, wherein said appearance inspection of a connector that is acceptable for electrical property inspection comprises:
collecting detection images of the connectors with qualified electrical attribute detection to obtain images to be detected;
positioning the detection area of the image to be detected to obtain a target detection area of the image to be detected;
extracting pixel characteristics of the target detection area, and constructing a pixel block of the area to be detected based on the extracted pixel characteristics;
and matching the pixel blocks of the target detection area with preset pixel blocks, and obtaining the appearance detection result of the connector qualified in the electrical property detection based on the matching result.
7. The method of injection molding a connector according to claim 6, wherein the performing pixel feature extraction on the target detection area and constructing a pixel block of an area to be detected based on the extracted pixel feature includes:
determining a binarization algorithm based on the gray-scale mean value and the standard deviation of the target detection area, and calculating a weight threshold based on the binarization algorithm to obtain a binarization weight threshold;
performing binarization processing on the target detection area based on the binarization weight threshold, and performing pixel feature extraction based on a binarization processing result;
and constructing a pixel block of the target detection area based on the extracted pixel characteristics.
8. An apparatus for injection molding a connector, the apparatus comprising:
the first detection module is used for detecting the electrical property of the injection molded connector after the link of injection molding is finished on the target connector;
the first cutting module is used for cutting the connector with unqualified electric attribute detection if the detection result of the electric attribute detection is that the electric attribute detection is unqualified;
the second detection module is used for carrying out appearance detection on the connector with qualified electric attribute detection if the detection result of the electric attribute detection is that the electric attribute detection is qualified;
the second cutting module is used for cutting the connector with unqualified appearance detection if the detection result of the appearance detection is that the appearance detection is unqualified;
and the assembly module is used for automatically assembling the connector with qualified appearance detection if the appearance detection result of the appearance detection is that the appearance detection is qualified.
9. An apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when the computer program is executed by the processor.
10. A computer storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 7.
CN202311166520.5A 2023-09-11 2023-09-11 Method, apparatus and computer storage medium for injection molding connector Pending CN117245843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311166520.5A CN117245843A (en) 2023-09-11 2023-09-11 Method, apparatus and computer storage medium for injection molding connector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311166520.5A CN117245843A (en) 2023-09-11 2023-09-11 Method, apparatus and computer storage medium for injection molding connector

Publications (1)

Publication Number Publication Date
CN117245843A true CN117245843A (en) 2023-12-19

Family

ID=89134168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311166520.5A Pending CN117245843A (en) 2023-09-11 2023-09-11 Method, apparatus and computer storage medium for injection molding connector

Country Status (1)

Country Link
CN (1) CN117245843A (en)

Similar Documents

Publication Publication Date Title
CN109886928B (en) Target cell marking method, device, storage medium and terminal equipment
CN113421242B (en) Welding spot appearance quality detection method and device based on deep learning and terminal
CN113608916A (en) Fault diagnosis method and device, electronic equipment and storage medium
CN112381800A (en) Wire diameter abnormity identification method and device, electronic equipment and computer readable storage medium
CN115578585A (en) Industrial image anomaly detection method, system, computer device and storage medium
CN111145196A (en) Image segmentation method and device and server
CN117245843A (en) Method, apparatus and computer storage medium for injection molding connector
CN113942205A (en) Good product detection method applied to injection mold
CN114626118A (en) Building indoor model generation method and device
CN111428732B (en) YUV image recognition method, system and computer equipment
CN111401184A (en) Machine vision processing method and device, storage medium and electronic equipment
CN117095275A (en) Asset inventory method, system, device and storage medium for data center
CN115687321A (en) Big data cleaning method and system based on artificial intelligence
CN117477320B (en) Connector assembling method, device and computer storage medium
CN114879153A (en) Radar parameter calibration method and device and vehicle
CN114140429A (en) Real-time parking space detection method and device for vehicle end
CN113850118A (en) Video processing function verification method and device, electronic equipment and storage medium
CN111598832A (en) Slot defect marking method and device and storage medium
CN110827243A (en) Method and device for detecting abnormity of coverage area of grid beam
CN112785546B (en) Terminal type identification method, device, terminal and medium based on image processing
CN113673268B (en) Identification method, system and equipment for different brightness
CN113306152A (en) 3D printing method based on reverse engineering technology and related device
CN104424636A (en) Image segmentation method, image retrieval method and electronic device
CN117455936B (en) Point cloud data processing method and device and electronic equipment
CN115880514A (en) Power transmission and transformation equipment fault detection method and device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination