CN117477320B - Connector assembling method, device and computer storage medium - Google Patents

Connector assembling method, device and computer storage medium Download PDF

Info

Publication number
CN117477320B
CN117477320B CN202311466848.9A CN202311466848A CN117477320B CN 117477320 B CN117477320 B CN 117477320B CN 202311466848 A CN202311466848 A CN 202311466848A CN 117477320 B CN117477320 B CN 117477320B
Authority
CN
China
Prior art keywords
connector
detection
finished product
image
appearance
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.)
Active
Application number
CN202311466848.9A
Other languages
Chinese (zh)
Other versions
CN117477320A (en
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 CN202311466848.9A priority Critical patent/CN117477320B/en
Publication of CN117477320A publication Critical patent/CN117477320A/en
Application granted granted Critical
Publication of CN117477320B publication Critical patent/CN117477320B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R43/00Apparatus or processes specially adapted for manufacturing, assembling, maintaining, or repairing of line connectors or current collectors or for joining electric conductors
    • H01R43/20Apparatus or processes specially adapted for manufacturing, assembling, maintaining, or repairing of line connectors or current collectors or for joining electric conductors for assembling or disassembling contact members with insulating base, case or sleeve
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K13/00Apparatus or processes specially adapted for manufacturing or adjusting assemblages of electric components
    • H05K13/08Monitoring manufacture of assemblages
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Operations Research (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Manufacturing Of Electrical Connectors (AREA)

Abstract

The application relates to the field of electronic product assembly, and provides a connector assembly method, a connector assembly device and a computer storage medium. The method comprises the following steps: after the materials corresponding to the target connector are conveyed, detecting the electrical properties of the materials corresponding to the target connector; if the detection result of the electrical attribute detection is that the electrical attribute detection is unqualified, cutting the connector semi-finished product which is unqualified in the electrical attribute detection; if the detection result of the electrical attribute detection is that the electrical attribute detection is qualified, assembling a connector semi-finished product which is qualified in the electrical attribute detection to obtain a connector finished product; performing appearance detection on the connector finished product; if the appearance detection result is that the appearance detection is unqualified, cutting the connector finished product which is unqualified in the appearance detection; and if the appearance detection result of the appearance detection is that the appearance detection is qualified, packaging the finished connector product which is qualified in the appearance detection. The technical scheme of the application can timely find out the abnormality in the connector assembly process and avoid resource waste.

Description

Connector assembling method, device and computer storage medium
Technical Field
The present application relates to the field of electronic product assembly, and in particular, to a connector assembly method, device and computer storage medium.
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 various fields including electronics, telecommunications, computers, automotive, aerospace, etc., and common connector types are USB, HDMI, RJ (net wires), D-sub, audio/video connectors, etc.
The existing connector assembling method is to make some detection after the connector is assembled into a finished product, and finally package the finished product. However, once the finished connector is found to be unacceptable after assembly, this means that the finished connector is scrapped in batches, resulting in significant waste.
Disclosure of Invention
The application provides a connector assembling method, a connector assembling device and a computer storage medium, which can timely find out the abnormality in the connector assembling process and avoid resource waste.
In one aspect, the present application provides a connector assembly method comprising:
after the materials corresponding to the target connector are conveyed, detecting the electrical properties of the materials corresponding to the target connector;
If the detection result of the electrical attribute detection is that the electrical attribute detection is not qualified, cutting the connector semi-finished product 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, assembling a connector semi-finished product which is qualified in the electrical attribute detection to obtain a connector finished product;
Performing appearance detection on the connector finished product;
if the appearance detection result is that the appearance detection is unqualified, cutting the connector finished product which is unqualified in the appearance detection;
and if the appearance detection result of the appearance detection is that the appearance detection is qualified, packaging the finished connector product which is qualified in the appearance detection.
In another aspect, the present application provides a connector assembly device, the device comprising:
the electric property detection module is used for carrying out electric property detection on the materials corresponding to the target connector after the materials corresponding to the target connector are conveyed;
the first cutting module is used for cutting the semi-finished connector product with unqualified electric attribute detection if the detection result of the electric attribute detection is that the electric attribute detection is unqualified;
The assembly module is used for assembling the semi-finished connector which is qualified in the electric attribute detection if the detection result of the electric attribute detection is that the electric attribute detection is qualified, so as to obtain a finished connector;
The appearance detection module is used for carrying out appearance detection on the connector finished product;
the second cutting module is used for cutting the connector finished product with unqualified appearance detection if the detection result of the appearance detection is that the appearance detection is unqualified;
And the packaging module is used for packaging finished products of the connector qualified in 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 connector assembly method as described above when executing the computer program.
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 technical solution of the connector assembly method as described above.
According to the technical scheme provided by the application, after the materials corresponding to the target connector are conveyed, the materials corresponding to the target connector are subjected to primary electric property detection, the connector semi-finished product qualified in electric property detection is assembled to obtain the connector finished product, and then the connector finished product is subjected to primary appearance detection, and the corresponding product is cut off no matter which detection result is unqualified, so that the abnormality in the whole assembly process is found in time, the batch scrapping of the finished product is avoided, and the resource waste in the production process is avoided.
Drawings
In order to more clearly illustrate the embodiments of the 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, it being obvious that the drawings in the following description are only some embodiments of the 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 flowchart of a connector assembling method according to an embodiment of the present application;
fig. 2 is a schematic structural view of a connector assembling device 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 completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
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.
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 various fields including electronics, telecommunications, computers, automotive, aerospace, etc., and common connector types are USB, HDMI, RJ (net wires), D-sub, audio/video connectors, etc. The existing connector assembling method is to make some detection after the connector is assembled into a finished product, and finally package the finished product. However, once the finished connector is found to be unacceptable after assembly, this means that the finished connector is scrapped in batches, resulting in significant waste.
In order to solve the above problems in the prior art, the present application provides a connector assembling method, which can find out an abnormality in the connector assembling process in time, and avoid resource waste, and the flowchart is shown in fig. 1, and mainly includes steps S101 to S106, and is described in detail as follows:
step S101: and after the material corresponding to the target connector is conveyed, detecting the electrical property of the material corresponding to the target connector.
In the embodiment of the application, the target connector is the connector to be detected, and the material corresponding to the target connector is the physical composition or substance constituting the target connector. As previously mentioned, connectors are typically made of metal and/or plastic. Therefore, the main purpose of electrical property detection of connectors is to detect whether the target connector has defects of unqualified electrical properties such as short circuit and open circuit.
Step S102: and if the detection result of the electrical property detection is that the electrical property detection is not qualified, cutting the connector semi-finished product which is not qualified in the electrical property detection.
If the detection result of the electrical attribute detection is that the electrical attribute detection is unqualified, continuing to flow the unqualified product into the next process link, and still obtaining a unqualified product (due to the unqualified electrical attribute detection) in the next process link because new materials and/or working hours are added, wasting resources, so that the connector with the unqualified electrical attribute detection is cut in time, and the unqualified product is not continuously flowed into the next process link, and the waste of resources can be avoided.
Step S103: and if the detection result of the electrical property detection is that the electrical property detection is qualified, assembling the connector semi-finished product which is qualified in the electrical property detection to obtain a connector finished product.
If the detection result of the electrical property detection is that the electrical property detection is qualified, the connector semi-finished product which is qualified in the electrical property detection can be directly assembled to obtain a connector finished product. It should be noted that, the assembly of the connector semi-finished product with the qualified electrical property is an automatic assembly, for example, the assembly of the connector semi-finished product with the qualified electrical property by the program control manipulator is not a manual assembly.
Step S104: and carrying out appearance detection on the finished connector.
The electrical property detection of the material corresponding to the target connector is only one link of the connector assembly process, and besides the electrical property detection of the material corresponding to the target connector, the appearance detection of the connector finished product 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 abnormal conditions affecting poor contact, such as burrs, and the like.
As an embodiment of the present application, the appearance inspection of the connector product may be performed by steps Sa1041 to Sa1043, which is described in detail below:
Step Sa1041: and extracting the image characteristics of the connector finished product.
In the embodiment of the application, an industrial camera can be adopted to shoot the connector finished product, and after the image of the connector finished product is acquired, the image characteristics of the connector finished product are extracted according to a preset algorithm.
Step Sa1042: based on the image features, first fine features of the abnormal pixel are extracted to second fine features of the pixels other than the abnormal pixel.
In the embodiment of the application, the first fine features of the abnormal pixel points can be extracted to obtain the second fine features of the pixel points except the abnormal pixel points based on the image features through a neural network such as attention refinement. The neural network such as attention refinement comprises an original feature calculation layer set and an attention calculation layer set, and the original feature calculation layer set and the attention calculation layer set output first fine features of abnormal pixels obtained through fusion to obtain second fine features of pixels except the abnormal pixels in a mode of weighting and summing image features of a connector finished product. Because the neural network such as attention refinement can learn the attention of each position of the image features of the connector finished product to control the feature contribution of different positions in the input image features, the feature representations of different layers of the image features can be extracted, the precision and stability of the appearance detection of the connector finished product are remarkably improved, and particularly the effect of processing the details, edges and other areas in the image features is remarkable.
Step Sa1043: and clustering and classifying the edges of the connector finished product according to the first fine features and the second fine features to obtain a detection result of appearance detection.
Specifically, according to the first fine feature and the second fine feature, the edge of the connector finished product is clustered and subjected to the operation of a classification algorithm, and the detection result of appearance detection can be: determining a candidate region according to the first fine feature and the second fine feature; performing region of interest alignment operation on the first fine feature, the second fine feature and the candidate region; and determining an edge defect frame of the connector finished product, a defect type corresponding to the edge defect frame and a type of each pixel point in the edge defect frame based on an operation result of the region of interest alignment operation. The edge defect frame of the finished connector product, the defect type corresponding to the edge defect frame and the type of each pixel point in the edge defect frame can be collectively called as a detection result of appearance detection of the finished connector product, wherein the edge defect frame can represent the defect size, the position of the edge defect frame can represent the defect position, the defect type corresponding to the edge defect frame can be identified in the vicinity of the edge defect frame, for example, can be identified at a certain vertex angle or a certain side of the edge defect frame, and the like.
As another embodiment of the present application, the appearance inspection of the connector product may be performed through steps Sb1041 to Sb1044, which are described in detail below:
step Sb1041: and preprocessing the image of the connector finished product to obtain an image to be detected.
As an embodiment of the present application, preprocessing an image of a connector finished product to obtain an image to be detected may be: carrying out gray-scale treatment on the image of the connector finished product to obtain a gray-scale image; and performing image segmentation, edge detection and gray filling processing on the gray-scale image based on a morphological threshold segmentation algorithm to obtain the image to be detected. The method comprises the steps of performing image segmentation, edge detection and gray filling processing on a gray level image based on a morphological threshold segmentation algorithm to obtain the image to be detected, wherein the image to be detected specifically comprises the following steps: performing image segmentation on the gray-scale image of the connector finished product based on a morphological threshold segmentation algorithm to obtain a binary image; performing edge detection on the binary image to determine that a connected region with the edge area larger than an automatic change threshold value in the binary image is a positioning region; gray level filling treatment is carried out on the positioning area so as to shield the positioning area and obtain an image to be detected; and positioning the position of the finished connector product from the gray-scale image, and determining the gray-scale image after positioning as an image to be detected.
Step Sb1042: when the detection result of the image to be detected is that the defect exists, a subunit feature map representing the defect area is obtained by segmentation from the image to be detected.
Specifically, the subunit feature map characterizing the defect area obtained by segmentation from the image to be detected may be: comparing an abnormal thermodynamic diagram generated in the process of detecting the image to be detected by the defect detection model with a preset threshold value diagram of a domain; when the abnormal score of any connected domain in the abnormal thermodynamic diagram is larger than a corresponding preset domain preset abnormal threshold value, the connected domain is adjusted to be in a preset size, so that a subunit characteristic diagram representing a defect area is obtained from the characteristic diagram, wherein the preset domain threshold value diagram is the same as the area of a finished connector, the preset domain threshold value diagram comprises a plurality of preset domains corresponding to the abnormal thermodynamic diagram, and each preset domain corresponds to one preset abnormal threshold value.
Step Sb1043: and segmenting the image to be detected to obtain a focus map representing the defect area.
Step Sb1044: inputting the subunit feature diagram and the attention map representing the defect area into a classifier, and taking the obtained classification result as a detection result of appearance detection of the finished connector.
In the embodiment of the application, the classifier realizes the information blending of the characteristic channel and the attention channel. In the pre-training stage of the classifier, the relative position relation between the region of interest and the true value is obtained by calculating the area of the overlapped region between the region of interest extracted by an unsupervised algorithm and the true value marked by a user, and the class label with the largest frame of the overlapped region as the class label of the cut subunit feature map is sent to the classifier for classification, so that a complex interesting operation part in a traditional target detection model is omitted.
As another embodiment of the present application, appearance inspection of the connector with acceptable electrical property inspection can be performed through steps Sc1041 to Sc1043, which is described in detail below:
Step Sc1041: and extracting and fusing texture features of the images of the connector finished product to obtain fused images.
Step Sc1042: and acquiring a gray-scale strong distribution diagram of the fused image, and dividing the fused image into an abnormal area and a background area according to the gray-scale strong distribution diagram.
Specifically, according to the gray-scale intensity distribution diagram, the method for dividing the fused image into the abnormal region and the background region may be: taking an image block with gray level lower than a preset gray level threshold value in the fused image as a background area according to the gray level force distribution diagram; resetting the gray scale value of the image block with the gray scale not lower than the gray scale threshold value in the fused image, and taking the area with the gray scale value as an abnormal area.
Step Sc1043: based on the abnormal region and the background region, the detection result of the appearance detection is obtained through the transformation of the distance between the foreground and background pixels.
The implementation of step Sc1043 may specifically be: performing binarization processing on the fusion image of the divided abnormal region and the background region to obtain a binarized image; performing distance conversion between foreground and background pixels on the binary image according to a preset algorithm to obtain a distance feature map; and carrying out threshold binarization processing on the distance characteristic map to obtain a final detection result with the remained defects. When the distance feature image is subjected to threshold binarization processing, the obtained distance feature image is subjected to threshold binarization processing according to a preset algorithm, noise in the distance feature image is removed, and only defects are reserved.
Step S105: and if the appearance detection result is that the appearance detection is unqualified, cutting the connector finished product which is unqualified in the appearance detection.
Step S106: and if the appearance detection result of the appearance detection is that the appearance detection is qualified, packaging the finished connector product which is qualified in the appearance detection.
It should be noted that, the final packaging of the connector product that is qualified for appearance inspection herein is automatic packaging, for example, packaging of the connector product that is qualified for appearance inspection by a program control manipulator or robot, rather than manual packaging.
As can be seen from the above-mentioned connector assembling method illustrated in fig. 1, since the material corresponding to the target connector is subjected to primary electrical property detection after being conveyed, and after the connector semi-finished product qualified in electrical property detection is assembled to obtain the connector finished product, the connector finished product is subjected to primary appearance detection, and no matter which detection result is unqualified, the corresponding product is cut off, so that the abnormality in the whole assembling process is found in time, batch scrapping of the finished product is avoided, and resource waste in the production process is avoided.
Referring to fig. 2, an embodiment of the present application provides a connector assembling device, which may include an electrical property detecting module 201, a first cutting module 202, an assembling module 203, an appearance detecting module 204, a second cutting module 205, and a packaging module 206, and is described in detail below:
the electrical attribute detection module 201 is configured to perform electrical attribute detection on the material corresponding to the target connector after the material corresponding to the target connector is conveyed;
a first cutting module 202, configured to cut a connector semi-finished product 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 assembling module 203 is configured to assemble the connector semi-finished product that is qualified in the electrical attribute detection if the detection result of the electrical attribute detection is that the electrical attribute detection is qualified, so as to obtain a connector finished product;
The appearance detection module 204 is used for performing appearance detection on the finished connector product;
A second cutting module 205, configured to cut a connector finished product that fails the appearance detection if the detection result of the appearance detection is that the appearance detection is failed;
and the packaging module 206 is configured to package the connector finished product that is qualified in appearance detection if the appearance detection result of the appearance detection is that the appearance detection is qualified.
As can be seen from the connector assembling device illustrated in fig. 2, after the material corresponding to the target connector is conveyed, the material corresponding to the target connector is subjected to primary electrical property detection, and after the connector semi-finished product qualified in the electrical property detection is assembled to obtain the connector finished product, the connector finished product is subjected to primary appearance detection, and no matter which detection result is unqualified, the corresponding product is cut off, so that the abnormality in the whole assembly process is found in time, batch scrapping of the finished product is avoided, and 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 of a connector assembly method. The steps in the above-described connector assembly method embodiment, such as steps S101 to S106 shown in fig. 1, are implemented when the processor 30 executes the computer program 32. Or the processor 30 when executing the computer program 32 performs the functions of the modules/units of the above-described device embodiments, such as the functions of the electrical property detection module 201, the first trimming module 202, the assembly module 203, the appearance detection module 204, the second trimming module 205, and the packaging module 206 shown in fig. 2.
Illustratively, the computer program 32 of the connector assembly method consists essentially of: after the materials corresponding to the target connector are conveyed, detecting the electrical properties of the materials corresponding to the target connector; if the detection result of the electrical attribute detection is that the electrical attribute detection is unqualified, cutting the connector semi-finished product which is unqualified in the electrical attribute detection; if the detection result of the electrical attribute detection is that the electrical attribute detection is qualified, assembling a connector semi-finished product which is qualified in the electrical attribute detection to obtain a connector finished product; performing appearance detection on the connector finished product; if the appearance detection result is that the appearance detection is unqualified, cutting the connector finished product which is unqualified in the appearance detection; and if the appearance detection result of the appearance detection is that the appearance detection is qualified, packaging the finished connector product 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 electrical property detection module 201, the first trimming module 202, the assembly module 203, the appearance detection module 204, the second trimming module 205, and the wrapper module 206 (modules in the virtual device), each of which specifically functions as follows: the electrical attribute detection module 201 is configured to perform electrical attribute detection on the material corresponding to the target connector after the material corresponding to the target connector is conveyed; a first cutting module 202, configured to cut a connector semi-finished product 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 assembling module 203 is configured to assemble the connector semi-finished product that is qualified in the electrical attribute detection if the detection result of the electrical attribute detection is that the electrical attribute detection is qualified, so as to obtain a connector finished product; the appearance detection module 204 is used for performing appearance detection on the finished connector product; a second cutting module 205, configured to cut a connector finished product that fails the appearance detection if the detection result of the appearance detection is that the appearance detection is failed; and the packaging module 206 is configured to package the connector finished product 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), other general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATEARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, 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 provided on the device 3, a smart memory card (SMARTMEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD), or the like. 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, the specific names of the functional units and modules are only for 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 the embodiments 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 embodiments, or may be implemented by a computer program for instructing related hardware, where the computer program for the connector assembly method may be stored in a computer storage medium, where the computer program, when executed by a processor, may implement the steps of each of the embodiments of the methods described above, that is, after the material corresponding to the target connector is conveyed, perform electrical attribute detection on the material corresponding to the target connector; if the detection result of the electrical attribute detection is that the electrical attribute detection is unqualified, cutting the connector semi-finished product which is unqualified in the electrical attribute detection; if the detection result of the electrical attribute detection is that the electrical attribute detection is qualified, assembling a connector semi-finished product which is qualified in the electrical attribute detection to obtain a connector finished product; performing appearance detection on the connector finished product; if the appearance detection result is that the appearance detection is unqualified, cutting the connector finished product which is unqualified in the appearance detection; and if the appearance detection result of the appearance detection is that the appearance detection is qualified, packaging the finished connector product 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; although the application has been described in detail with reference to the foregoing embodiments, it will 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 description of the embodiments has been provided for the purpose of illustrating the general principles of the application, and is not meant to limit the scope of the application, but to limit the application to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the application are intended to be included within the scope of the application.

Claims (6)

1. A method of connector assembly, the method comprising:
after the materials corresponding to the target connector are conveyed, detecting the electrical properties of the materials corresponding to the target connector;
If the detection result of the electrical attribute detection is that the electrical attribute detection is not qualified, cutting the connector semi-finished product 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, assembling a connector semi-finished product which is qualified in the electrical attribute detection to obtain a connector finished product;
Performing appearance detection on the connector finished product;
if the appearance detection result is that the appearance detection is unqualified, cutting the connector finished product which is unqualified in the appearance detection;
If the appearance detection result of the appearance detection is that the appearance detection is qualified, packaging the finished connector product which is qualified in the appearance detection;
The detecting the appearance of the connector finished product comprises the following steps: extracting image features of the connector finished product; extracting first fine features of abnormal pixel points and second fine features of pixel points except the abnormal pixel points based on the image features; clustering and classifying algorithm operation is carried out on the edges of the connector finished product according to the first fine features and the second fine features, and detection results of the appearance detection are obtained;
And performing clustering and classifying algorithm operation on the edge of the connector finished product according to the first fine feature and the second fine feature to obtain a detection result of the appearance detection, wherein the method comprises the following steps: determining a candidate region according to the first fine feature and the second fine feature; performing region of interest alignment operation on the first fine feature, the second fine feature and the candidate region; and determining an edge defect frame of the connector finished product, a defect type corresponding to the edge defect frame and a type of each pixel point in the edge defect frame based on an operation result of the region-of-interest alignment operation.
2. The connector assembly method of claim 1, wherein said performing an appearance inspection of said connector finish comprises:
Preprocessing the image of the connector finished product to obtain an image to be detected;
When the detection result of the image to be detected is that the defect exists, segmenting the image to be detected to obtain a subunit feature map representing the defect area;
segmenting the image to be detected to obtain a attention degree graph representing the defect area;
inputting the subunit feature images and the attention degree images into a classifier, and taking the obtained classification result as a detection result of the appearance detection;
The preprocessing the image of the connector finished product to obtain an image to be detected comprises the following steps: carrying out gray-scale treatment on the image of the connector finished product to obtain a gray-scale image; and performing image segmentation, edge detection and gray filling processing on the gray level image based on a morphological threshold segmentation algorithm to obtain the image to be detected.
3. The connector assembly method of claim 1, wherein said performing an appearance inspection of said connector finish comprises:
Extracting and fusing texture features of the images of the connector finished product to obtain fused images;
Acquiring a gray-scale force distribution diagram of the fused image, and dividing the fused image into an abnormal area and a background area according to the gray-scale force distribution diagram;
Obtaining a detection result of the appearance detection through the transformation of the distance between foreground and background pixels based on the abnormal region and the background region;
Dividing the fused image into an abnormal area and a background area according to the gray-scale force distribution diagram, wherein the method comprises the following steps: taking an image block with gray level lower than a preset gray level threshold value in the fused image as a background area according to the gray level force distribution diagram; resetting the gray scale value of the image block with the gray scale not lower than the gray scale threshold value in the fused image, and taking the area with the reset gray scale value as the abnormal area.
4. A connector assembly device, the device comprising:
the electric property detection module is used for carrying out electric property detection on the materials corresponding to the target connector after the materials corresponding to the target connector are conveyed;
the first cutting module is used for cutting the semi-finished connector product with unqualified electric attribute detection if the detection result of the electric attribute detection is that the electric attribute detection is unqualified;
The assembly module is used for assembling the semi-finished connector which is qualified in the electric attribute detection if the detection result of the electric attribute detection is that the electric attribute detection is qualified, so as to obtain a finished connector;
The outward appearance detection module is used for carrying out outward appearance detection on the connector finished product, the outward appearance detection is carried out on the connector finished product, and the outward appearance detection module comprises: extracting image features of the connector finished product; extracting first fine features of abnormal pixel points and second fine features of pixel points except the abnormal pixel points based on the image features; clustering and classifying algorithm operation is carried out on the edges of the connector finished product according to the first fine features and the second fine features, and detection results of the appearance detection are obtained; and performing clustering and classifying algorithm operation on the edge of the connector finished product according to the first fine feature and the second fine feature to obtain a detection result of the appearance detection, wherein the method comprises the following steps: determining a candidate region according to the first fine feature and the second fine feature; performing region of interest alignment operation on the first fine feature, the second fine feature and the candidate region; determining an edge defect frame of the connector finished product, a defect type corresponding to the edge defect frame and a type of each pixel point in the edge defect frame based on an operation result of the region of interest alignment operation;
the second cutting module is used for cutting the connector finished product with unqualified appearance detection if the detection result of the appearance detection is that the appearance detection is unqualified;
And the packaging module is used for packaging finished products of the connector qualified in appearance detection if the appearance detection result of the appearance detection is that the appearance detection is qualified.
5. 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 3 when the computer program is executed by the processor.
6. A computer storage medium storing a computer program, which when executed by a processor performs the steps of the method according to any one of claims 1 to 3.
CN202311466848.9A 2023-11-07 2023-11-07 Connector assembling method, device and computer storage medium Active CN117477320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311466848.9A CN117477320B (en) 2023-11-07 2023-11-07 Connector assembling method, device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311466848.9A CN117477320B (en) 2023-11-07 2023-11-07 Connector assembling method, device and computer storage medium

Publications (2)

Publication Number Publication Date
CN117477320A CN117477320A (en) 2024-01-30
CN117477320B true CN117477320B (en) 2024-05-03

Family

ID=89639226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311466848.9A Active CN117477320B (en) 2023-11-07 2023-11-07 Connector assembling method, device and computer storage medium

Country Status (1)

Country Link
CN (1) CN117477320B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3259968A (en) * 1961-08-04 1966-07-12 Circuit Controls Corp Method and apparatus for fabrication and in situ testing of wire harness structures
JP2011214903A (en) * 2010-03-31 2011-10-27 Denso It Laboratory Inc Appearance inspection apparatus, and apparatus, method and program for generating appearance inspection discriminator
JP2016181098A (en) * 2015-03-24 2016-10-13 株式会社Screenホールディングス Area detection device and area detection method
CN107421955A (en) * 2017-08-25 2017-12-01 西京学院 A kind of ceramic defective vision detection method
CN111999308A (en) * 2020-08-27 2020-11-27 银河水滴科技(北京)有限公司 Defect detection control method, control device and control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3259968A (en) * 1961-08-04 1966-07-12 Circuit Controls Corp Method and apparatus for fabrication and in situ testing of wire harness structures
JP2011214903A (en) * 2010-03-31 2011-10-27 Denso It Laboratory Inc Appearance inspection apparatus, and apparatus, method and program for generating appearance inspection discriminator
JP2016181098A (en) * 2015-03-24 2016-10-13 株式会社Screenホールディングス Area detection device and area detection method
CN107421955A (en) * 2017-08-25 2017-12-01 西京学院 A kind of ceramic defective vision detection method
CN111999308A (en) * 2020-08-27 2020-11-27 银河水滴科技(北京)有限公司 Defect detection control method, control device and control system

Also Published As

Publication number Publication date
CN117477320A (en) 2024-01-30

Similar Documents

Publication Publication Date Title
US20210374940A1 (en) Product defect detection method, device and system
WO2023179122A1 (en) Defect detection method and apparatus, electronic device, and readable storage medium
CN109002820B (en) License plate recognition method and device and related equipment
CN109886928B (en) Target cell marking method, device, storage medium and terminal equipment
CN110378313B (en) Cell cluster identification method and device and electronic equipment
Zhang et al. The Bayesian operating point of the Canny edge detector
CN111091571A (en) Nucleus segmentation method and device, electronic equipment and computer-readable storage medium
CN111652208A (en) User interface component identification method and device, electronic equipment and storage medium
CN111340796A (en) Defect detection method and device, electronic equipment and storage medium
CN114638294A (en) Data enhancement method and device, terminal equipment and storage medium
CN112419214A (en) Method and device for generating labeled image, readable storage medium and terminal equipment
CN114841974A (en) Nondestructive testing method and system for internal structure of fruit, electronic equipment and medium
CN114359545A (en) Image area identification method and device and electronic equipment
CN111145196A (en) Image segmentation method and device and server
CN110751225A (en) Image classification method, device and storage medium
CN112966687B (en) Image segmentation model training method and device and communication equipment
CN117477320B (en) Connector assembling method, device and computer storage medium
JP7404817B2 (en) Learning device, detection device, learning method, and learning program
CN113012030A (en) Image splicing method, device and equipment
CN114708266A (en) Tool, method and device for detecting card defects and medium
CN113139617A (en) Power transmission line autonomous positioning method and device and terminal equipment
CN116109627B (en) Defect detection method, device and medium based on migration learning and small sample learning
CN117274817B (en) Automatic crack identification method and device, terminal equipment and storage medium
CN117245843A (en) Method, apparatus and computer storage medium for injection molding connector
CN117455936B (en) Point cloud data processing method and device and electronic equipment

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
GR01 Patent grant
GR01 Patent grant