Connector terminal position determination method and device, storage medium and connector

By obtaining the connector frame opening and terminal contour in the same coordinate system and adjusting the mold in combination with deformation, the problem of connector terminal position measurement error was solved, achieving higher detection accuracy and efficiency.

CN121498532APending Publication Date: 2026-02-10BEIJING CO WHEELS TECH CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202411088390.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

In the existing technology, there are errors in the measurement of connector terminal positions. This is because the image measurement equipment cannot simultaneously capture the reference outline of the connector frame and the top outline of the terminal in the same image coordinates, and the manufacturing process causes deformation of the reference outline, which affects the measurement accuracy.

Method used

By simultaneously acquiring the outlines of the connector frame, the first feature, the second feature, and the terminal outline under the same coordinate system, and using image measurement equipment to acquire these features under the same depth of field and field of view, combined with the judgment of contour degree and position degree, considering the deformation of the features, the mold is adjusted to reduce measurement error.

Benefits of technology

It reduces positional calculation errors, improves the accuracy of terminal position detection, lowers measurement costs, and increases measurement efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121498532A_ABST
    Figure CN121498532A_ABST
Patent Text Reader

Abstract

The invention discloses a connector terminal position determination method and device, a storage medium and a connector, and the method comprises the steps: obtaining a first contour of a first feature, a second contour of a second feature and a connector terminal contour in a same coordinate system at the same time, and obtaining a connector frame opening contour; determining a first profile tolerance by using the connector frame opening profile and the first profile, and determining a second profile tolerance by using the connector frame opening profile and the second profile; determining a first location degree by using the connector terminal contour and the first contour, and determining a second location degree by using the connector terminal contour and the second contour; and if the first profile tolerance and the second profile tolerance are both smaller than the profile tolerance limit value and the first position degree and the second position degree are both smaller than the position degree limit value, determining that the position of the connector terminal is accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to non-destructive testing technology, and more particularly to a method, device, storage medium and connector for determining the position of connector terminals. Background Technology

[0002] In the automotive industry, connectors are widely used. For connectors, the accuracy of their dimensions determines the reliability of their mating with the wiring harness terminals. Among these dimensions, the most important is the positional accuracy of the connector's internal terminals relative to the connector frame reference. Therefore, before the product is assembled and released from the production line, the positional accuracy of the connector frame terminals needs to be measured to ensure that design requirements are met, allowing for a smooth and reliable mating with the wiring harness terminals.

[0003] For bulk shipments, the most common method currently is to use fully automated image measuring equipment to measure the position of the connector frame terminals. The traditional method is to capture the reference contour of the connector frame and the contour of the top of each terminal according to the assembly size requirements, and then calculate the positional relationship of each pin relative to the connector frame reference.

[0004] Traditional methods are theoretically the most perfect. However, in practice, due to the draft angle on the sidewalls of the connector, the theoretically accurate position of the reference profile is located at the root of the deepest part within the frame, while the top feature of the terminal is located at a higher position within the frame opening. Because of the height difference between the reference profile and the top feature of the terminal, the depth of field used by the image measuring equipment to acquire them is different. In addition, the influence of the field of view of the image measuring equipment makes it impossible for the measuring equipment to simultaneously capture the accurate positions of these two features under the same image coordinates, resulting in measurement errors. Furthermore, the connector manufacturing process causes the actual reference profile to have slight deformation rather than a regular shape, which also reduces the accuracy of the measurement results. Summary of the Invention

[0005] This invention provides a method, device, storage medium, and connector for determining the position of a connector terminal, thereby avoiding the conversion of measured values ​​in different image coordinate systems, reducing measurement errors, and improving the accuracy of terminal position detection.

[0006] In a first aspect, embodiments of the present invention provide a method for determining the position of a connector terminal, comprising:

[0007] Simultaneously, the first contour of the first feature, the second contour of the second feature, and the connector terminal contour are obtained under the same coordinate system to obtain the connector frame contour.

[0008] A first profile degree is determined using the connector frame outline and the first outline, and a second profile degree is determined using the connector frame outline and the second outline.

[0009] A first positional degree is determined using the connector terminal profile and the first profile, and a second positional degree is determined using the connector terminal profile and the second profile;

[0010] If both the first profile and the second profile are less than the profile limit, and both the first position and the second position are less than the position limit, then the connector terminal position is determined to be accurate.

[0011] Optionally, both the first feature and the second feature are straight line features, and the first feature and the second feature are perpendicular to each other;

[0012] It also includes determining the deformation of the straight line feature, and when the deformation is less than the deformation threshold, obtaining the first contour of the first feature, the second contour of the second feature, the connector frame contour, and the connector terminal contour.

[0013] Optionally, the connector frame outline includes a first frame reference outline and a second frame reference outline;

[0014] Determining the first profile using the connector frame outline and the first profile includes:

[0015] A first fitting range is determined by the first frame reference profile, and a first profile degree is determined based on the first profile and the first fitting range.

[0016] Determining the second profile using the connector frame outline and the second profile includes:

[0017] The second fitting range is determined by the second frame reference profile, and the second profile degree is determined based on the second profile and the second fitting range.

[0018] Optionally, the center position of the connector terminal may be determined by the connector terminal profile;

[0019] Determining the first positional degree using the connector terminal profile and the first profile includes:

[0020] The horizontal distance is determined by the center position and the first contour, and the difference between the horizontal distance and the reference horizontal distance is used as the first position degree.

[0021] Determining the second positional degree using the connector terminal profile and the second profile includes:

[0022] The vertical distance is determined by the center position and the second profile, and the difference between the vertical distance and the reference vertical distance is used as the second position degree.

[0023] Optionally, when the deformation is greater than the deformation threshold, the deformation compensation amount is determined based on the deformation.

[0024] The deformation compensation amount is used to adjust the deformation of the connector injection molding module.

[0025] Optionally, it may also include obtaining a positional dimension and decomposing the positional dimension into the contour limit and the positional limit.

[0026] Optionally, the positional limit value serves as the mating dimension between the connector assembly frame and the battery panel pins.

[0027] Secondly, embodiments of the present invention also provide an electronic device, including at least one processor and a memory communicatively connected to the at least one processor;

[0028] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform any of the connector terminal position determination methods described in the embodiments of the present invention.

[0029] Thirdly, embodiments of the present invention also provide a computer-readable storage medium storing computer instructions for causing a processor to execute any of the connector terminal position determination methods described in the embodiments of the present invention.

[0030] Fourthly, embodiments of the present invention also provide a connector, including a terminal, a frame opening, a first feature, and a second feature;

[0031] The first feature is used to provide a first profile, the second feature is used to provide a second profile, the terminal is used to provide a connector terminal profile, and the frame opening is used to provide a connector frame opening profile.

[0032] The connector frame opening contour and the first contour are used to determine the first contour degree, and the connector frame opening contour and the second contour are used to determine the second contour degree.

[0033] The connector terminal profile and the first profile are used to determine a first positional degree, and the connector terminal profile and the second profile are used to determine a second positional degree;

[0034] The first profile, the second profile, the first position, and the second position are used to determine whether the position of the connector terminal is accurate.

[0035] The first feature, the second feature, and the end face of the terminal are located on the same horizontal plane, and the outline of the end face corresponds to the outline of the connector terminal.

[0036] Optionally, the first feature and the second feature are straight grooves or straight protrusions, and the first feature and the second feature are perpendicular to each other.

[0037] Optionally, the first feature and the second feature are straight grooves, with one end of the first feature and the second feature intersecting, and the groove depth of the straight groove is 0.2 mm.

[0038] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0039] This invention proposes a method for determining the position of a connector terminal. In this method, a first contour of a first feature, a second contour of a second feature, and a connector terminal contour are simultaneously acquired in the same coordinate system. Since the first contour, the second contour, and the connector terminal contour can be acquired from a single image captured in the same coordinate system, it is not necessary to perform coordinate system transformation on the first contour, the second contour, and the connector terminal contour when determining the first position and the second position degree, thereby reducing the calculation error of the first position degree and the second position degree.

[0040] Since the connector body (plastic shell) is injection molded, the first and second features included thereon will deform. In this method, the connector frame outline is also obtained. The first profile degree is determined based on the connector frame outline and the first outline. The second profile degree is determined using the connector frame outline and the second outline. The first and second profile degrees characterize the deformation amount (relative to the theoretical curve shape) of the first and second features. Finally, the accuracy of the connector terminal is determined by the first profile degree, the second profile degree, the first position degree, and the second position degree. Since the deformation amount of the first and second features required to determine the first and second position degrees is taken into account, the accuracy of the judgment result can be improved compared to judging the accuracy of the connector terminal only by the first and second position degrees.

[0041] In this method, the first and second contours can be determined by one image, and the connector frame contour can be determined by another image. Since the contour degree represents the relative deformation of the curve shape, the (position) error caused by coordinate transformation can be ignored, thereby ensuring the accuracy of the final connector terminal position judgment result. Attached Figure Description

[0042] Figure 1 This is a flowchart of the connector terminal position determination method in the embodiment;

[0043] Figure 2 This is a schematic diagram of the connector in the embodiment;

[0044] Figure 3 This is a schematic diagram of the connector workpiece in the embodiment;

[0045] Figure 4 This is a flowchart of another connector terminal position determination method in the embodiment;

[0046] Figure 5 This is a schematic diagram of the electronic device structure in the embodiment. Detailed Implementation

[0047] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.

[0048] Example 1

[0049] Figure 1 This is a flowchart of the connector terminal position determination method in the embodiment, for reference. Figure 1 The methods include:

[0050] S101. Simultaneously acquire the first contour of the first feature, the second contour of the second feature, and the connector terminal contour in the same coordinate system to acquire the connector frame contour.

[0051] In this embodiment, the connector terminal position determination method is used to determine whether the position of the connector terminal relative to the connector frame opening is accurate.

[0052] Figure 2 This is a schematic diagram of the connector in the embodiment, for reference. Figure 2 Connector terminals refer to the wiring terminals or pins (PINs) configured on the connector, such as... Figure 2 PIN 100 in the connector refers to the connector frame opening, for example... Figure 2 The frame opening is 200.

[0053] In this embodiment, the first feature and the second feature are identifiers or identifier structures with a certain shape that are set on the connector assembly.

[0054] In this embodiment, the connector terminal outline represents the top view of the connector frame opening and the horizontal edge outline of the connector terminal. The connector frame opening outline represents the top view of the connector frame opening and the horizontal edge outline of the connector frame opening.

[0055] In this embodiment, the first contour represents the edge contour of the first feature in the top view direction facing the connector frame opening, and the second contour represents the edge contour of the second feature in the top view direction facing the connector frame opening.

[0056] In this embodiment, the first contour, the second contour, the connector terminal contour, and the connector frame contour are obtained by an image measuring device, wherein the image measuring device can be a monocular (industrial) camera.

[0057] In this embodiment, the end faces of the first feature, the second feature, and the connector terminal are positioned such that the first feature and the second feature are located on the same horizontal plane with the same height (height in the top view direction facing the connector frame opening), and the end face of the connector terminal is located on a horizontal plane with the same or similar height as the first feature.

[0058] In this embodiment, since the first feature, the second feature, and the end face of the connector terminal are located on horizontal planes of the same or similar height, when the first contour, the second contour, and the connector terminal contour are obtained using an image measurement device, a clear first contour, the second contour, and the connector terminal contour can be obtained under the same depth of field and field of view.

[0059] In this embodiment, the first contour, the second contour, and the connector terminal contour are obtained under the same depth of field and field of view, that is, the first contour, the second contour, and the connector terminal contour are obtained under the same coordinate system.

[0060] In this embodiment, the first contour, the second contour, and the connector terminal contour are obtained from the same image, that is, the first contour, the second contour, and the connector terminal contour are obtained simultaneously.

[0061] In this embodiment, the connector frame outline is obtained separately from the first outline, the second outline, and the connector terminal outline.

[0062] In this embodiment, the method of extracting the first contour, the second contour, the connector terminal contour, and the connector frame contour from the image is not limited. Any existing contour extraction method (such as edge detection algorithms based on Laplacian operator, Canny operator, etc.) can be used to obtain the above contours.

[0063] S102. The first profile degree is determined by using the connector frame outline and the first profile, and the second profile degree is determined by using the connector frame outline and the second profile.

[0064] In this embodiment, the profile measure represents the variation (error) of a specified profile relative to an ideal profile. Specifically, the profile measure is used to describe the accuracy of the curve (or straight line) shape of the first profile and the second profile.

[0065] In this embodiment, the connector frame outline is set as the ideal curve outline of the first outline and the second outline. The method used to determine the first outline degree and the second outline degree is the same, and the first outline degree can be determined in the following way:

[0066] On the first feature, take a point at regular intervals along the vertical direction, determine the distance between each point and a point on the connector frame outline with the same vertical coordinates and located on the same side (horizontal direction) as the first feature, and determine the maximum and minimum distances among them;

[0067] The first difference is determined by the maximum distance and the preset theoretical distance, and the second difference is determined by the minimum distance and the preset theoretical distance. The sum of the absolute values ​​of the first and second differences is used as the first profile degree.

[0068] For example, if the first difference is 0.025 and the second difference is -0.025, then the first profile degree can be 0.05.

[0069] S103. A first positional degree is determined using the connector terminal profile and a first profile, and a second positional degree is determined using the connector terminal profile and a second profile.

[0070] In this embodiment, the position degree represents the range within which a specified shape is allowed to change its position. Specifically, the position degree is used to describe the offset of the connector terminal relative to a preset position.

[0071] In this embodiment, the first position degree and the second position degree are determined in the same way. For example, the first position degree can be determined in the following way:

[0072] Determine the center of the connector terminal profile and the center of the first profile, calculate the horizontal or vertical distance between the two centers, compare this distance with the reference distance, and use the error result as the first position degree.

[0073] S104. If both the first profile and the second profile are less than the profile limit, and both the first position and the second position are less than the position limit, then the connector terminal position is determined to be accurate.

[0074] In this embodiment, the contour tolerance limit and the position tolerance limit are determined according to the fit tolerance design requirements of the connector and the PCB board on which it is installed, and their specific values ​​are not limited.

[0075] This embodiment proposes a method for determining the position of a connector terminal. In this method, the first contour of a first feature, the second contour of a second feature, and the contour of the connector terminal are simultaneously acquired in the same coordinate system. Since the first contour, the second contour, and the connector terminal contour can be acquired from a single image captured in the same coordinate system, it is not necessary to perform coordinate system transformation on the first contour, the second contour, and the connector terminal contour when determining the first position and the second position degree, thereby reducing the calculation error of the first position degree and the second position degree.

[0076] Since the connector body (plastic shell) is injection molded, the first and second features included thereon will deform. In this method, the connector frame outline is also obtained. The first profile degree is determined based on the connector frame outline and the first outline. The second profile degree is determined using the connector frame outline and the second outline. The first and second profile degrees characterize the deformation amount (relative to the theoretical curve shape) of the first and second features. Finally, the accuracy of the connector terminal is determined by the first profile degree, the second profile degree, the first position degree, and the second position degree. Since the deformation amount of the first and second features required to determine the first and second position degrees is taken into account, the accuracy of the judgment result can be improved compared to judging the accuracy of the connector terminal only by the first and second position degrees.

[0077] In this method, the first and second contours can be determined by one image, and the connector frame contour can be determined by another image. Since the contour degree represents the relative deformation of the curve shape, the (position) error caused by coordinate transformation can be ignored, thereby ensuring the accuracy of the final connector terminal position judgment result.

[0078] exist Figure 1 Based on the scheme shown, in one possible implementation, both the first feature and the second feature are straight line features, and the first feature and the second feature are perpendicular to each other;

[0079] It also includes judging the deformation of the straight line feature. When the deformation is less than the deformation threshold, the first contour of the first feature, the second contour of the second feature, the connector frame contour, and the connector terminal contour are obtained.

[0080] For example, in this solution, the first feature and the second feature are generated based on the injection mold, and the first feature and the second feature are set to be perpendicular to each other, which facilitates mold design. In addition, the stability of the size and relative position relationship of the first feature and the second feature is high after the injection mold is locked.

[0081] For example, in this scheme, mutual perpendicularity means that when the lines containing the first feature and the second feature intersect, they intersect at a right angle, and the angle of the right angle is 89° to 91°.

[0082] refer to Figure 2 In this scheme, the straight line feature 300 includes a first feature and a second feature. The first feature is a straight line segment in the horizontal direction, and the second feature is a straight line segment in the vertical direction.

[0083] In this scheme, there are no restrictions on the method of determining the deformation of a straight line. For example, the deformation can be determined by determining the straightness of the straight line.

[0084] For example, in this scheme, the straightness can be determined by: generating a theoretical straight line (parallel to the straight line feature), taking several points on the straight line feature, determining the gap (vertical distance) between each point and the theoretical straight line, determining the standard deviation of the gap, and using the standard deviation as the deformation variable.

[0085] In this scheme, if the deformation is less than the deformation threshold, the first contour of the first feature, the second contour of the second feature, the connector frame contour, and the connector terminal contour are obtained. The purpose is to:

[0086] If the deformation is greater than the deformation threshold, then the first contour and the second contour will necessarily be greater than the contour limit, making it impossible to determine the position of the connector terminal. Therefore, only when the deformation is less than the deformation threshold should the first contour of the first feature, the second contour of the second feature, the connector frame contour, and the connector terminal contour be obtained. This can ensure that the position of the connector terminal can be effectively determined, avoid invalid calculations, and improve the execution efficiency of the method.

[0087] Based on the scheme where both the first and second features are linear features, in one feasible implementation, when the deformation is greater than the deformation threshold, the deformation compensation amount is determined according to the deformation.

[0088] Deformation compensation is used to adjust the deformation of the connector injection molding module.

[0089] In this solution, if the deformation of the connector body after injection molding causes the edges of the first and second features to become arc-shaped, the shape of the connector injection molding module can be adjusted based on the deformation compensation amount by pre-deforming the mold, thereby adjusting the first and second features to straight edges so that the image measurement equipment can grasp the first and second features.

[0090] In this scheme, there are no restrictions on the method of determining the deformation compensation amount based on the deformation. For example, the corresponding deformation compensation amount can be determined through experience based on the deformation.

[0091] Alternatively, based on the deformation, the corresponding deformation compensation amount can be determined through a preset graph or table, where the graph or table can be determined through simulation experiments.

[0092] For example, in this solution, since the first feature, the second feature, and the connector frame are all features on the connector body (plastic shell), their relative positional relationship is mainly determined by the same mold core. When the mold is made, the relative positional relationship is highly stable after the mold is locked, and the relative positional relationship can be used as the key control dimension of the mold.

[0093] Plastic products often exhibit significant shrinkage and deformation. The first and second features often have irregular shapes after molding. What are theoretically straight edges are usually curved edges in practice, which leads to a large error when image measurement equipment captures these features.

[0094] In this solution, the first and second features are designed as straight lines. Since straight lines are small in size and simple in shape, the deformation of the product can be compensated by reducing or adding iron on the mold in advance according to the deformation after the product is demolded. This makes the first and second features straight on the final product, which greatly improves the accuracy of the measuring equipment when it grasps the feature.

[0095] Figure 3 This is a schematic diagram of the connector workpiece in the embodiment, for reference. Figure 3 Based on the scheme where the first feature and the second feature are straight line features, in one feasible implementation, the connector frame outline includes a first frame reference outline and a second frame reference outline.

[0096] Determining the first profile using the connector frame outline and the first profile includes:

[0097] A first fitting range is determined by the first frame reference profile, and a first profile degree is determined based on the first profile and the first fitting range.

[0098] Determining the second profile using the connector frame outline and the second profile includes:

[0099] The second fitting range is determined by the second frame reference profile, and the second profile degree is determined based on the second profile and the second fitting range.

[0100] refer to Figure 3 In this scheme, the first frame opening reference profile is set as a horizontal reference line passing through the center point of the connector frame opening, and the second frame opening reference profile is set as a vertical reference line passing through the center point of the connector frame opening.

[0101] In this scheme, the method for determining the first profile degree ⑤ is as follows:

[0102] The first contour of the first feature is captured using an image measuring device, and then the reference contour of the first frame opening is captured using the image measuring device. It is determined whether the first contour of the first feature is within the limit range of the theoretical size ② fitted relative to the reference contour of the first frame opening. If it is, then the first contour degree meets the contour degree requirement of 0.05, that is, the first contour degree is 0.05.

[0103] Among them, the length of theoretical dimension ② is 22.75, and the fitting range of theoretical dimension ② is 22.75±0.025;

[0104] When determining whether the first profile is within the limit range, take several (coordinate) points on the first feature and determine whether the distance between each point and the reference profile of the first frame opening is within the range of 22.75±0.025. If all points are within 22.75±0.025, then the first profile is determined to meet the profile requirement of 0.05.

[0105] In this scheme, the method for determining the second profile degree ⑥ is as follows:

[0106] The second contour of the second feature is captured using an image measurement device, and then the reference contour of the second frame opening is captured using the image measurement device. The second contour of the second feature is determined to be within the limit range of the theoretical size ① fitted relative to the reference contour of the second frame opening. If it is, then the contour degree of the second feature meets the contour degree requirement of 0.05, that is, the contour degree of the second feature is 0.05.

[0107] Among them, the length of theoretical dimension ① is 12.75, and the fitting range of theoretical dimension ① is 12.75±0.025;

[0108] When determining whether the second profile is within the limit range, take several (coordinate) points on the second feature and determine whether the distance between each point and the reference profile of the second frame opening is within the range of 12.75±0.025. If all points are within 12.75±0.025, then the second profile is determined to meet the profile requirement of 0.05.

[0109] Based on the scheme where the first and second features are straight lines, in one possible implementation, the method further includes determining the center position of the connector terminal by the connector terminal profile.

[0110] Determining the first positional tolerance using the connector terminal profile and the first profile includes:

[0111] The horizontal distance is determined by the center position and the first contour, and the difference between the horizontal distance and the reference horizontal distance is used as the first position degree.

[0112] Determining the second positional accuracy using the connector terminal profile and the second profile includes:

[0113] The vertical distance is determined by the center position and the second profile, and the difference between the vertical distance and the reference vertical distance is used as the second position degree.

[0114] refer to Figure 3 In this solution, the connector terminal in the lower right corner is designated as PIN1. The top contour features (connector terminal contour) of PIN1 are captured using an image measurement device to obtain its center point position.

[0115] In this scheme, an image measurement device is used to capture the first contour of the first feature and the second contour of the second feature;

[0116] Measure the actual distance between the center point of PIN1 and the first profile (the horizontal straight line where the first profile is located and its extension), and compare it with the theoretical distance ④ (theoretical distance ④ is 38.75) to obtain the first positional degree of PIN1;

[0117] Measure the actual distance between the center point of PIN1 and the second profile (the vertical line containing the second profile and its extension), and compare it with the theoretical distance ③ (the theoretical distance ③ is 6.45) to obtain the second position degree of PIN1.

[0118] Based on any of the aforementioned schemes, in one possible implementation, the method further includes obtaining the positional dimension and decomposing the positional dimension into a contour limit and a positional limit.

[0119] In this scheme, the positional dimension represents the offset limit of the center position of the connector terminal relative to the center position of the connector frame, and this offset limit is determined by the design requirements.

[0120] In this scheme, the sum of the contour limit and the position limit is set as the position dimension. For example, if the position dimension is 0.8mm, the contour limit can be 0.05mm and the position limit can be 0.75mm.

[0121] Based on the scheme of decomposing the positional dimension into the contour limit and the positional limit, in one feasible implementation, the positional limit is used as the mating dimension between the frame opening of the connector assembly and the battery panel pin.

[0122] In this solution, the mating dimensions between the connector assembly frame and the battery panel pins are determined by predetermined design process parameters. These mating dimensions can be used as part of the 100% inspection criteria before the connector products are assembled and rolled off the production line.

[0123] Figure 4 This is a flowchart of another connector terminal position determination method in the embodiment, see reference. Figure 4 Based on any of the aforementioned solutions, in one possible implementation, the method includes:

[0124] S201. Determine the deformation characteristics of a straight line.

[0125] refer to Figure 2 and Figure 3 In this solution, the first feature and the second feature are defined as straight line features. The first feature and the second feature are located on the connector frame opening and are on the same horizontal plane at the same height as the end face of the connector terminal.

[0126] S202. When the deformation is greater than the deformation threshold, determine the deformation compensation amount based on the deformation.

[0127] In this scheme, the deformation compensation amount is used to compensate for the deformation of the product by reducing or adding iron on the mold, so that the first feature and the second feature are straight edges on the final product.

[0128] S203. When the deformation is less than the deformation threshold, simultaneously obtain the first contour of the first feature, the second contour of the second feature, and the connector terminal contour in the same coordinate system.

[0129] S204. When the deformation is less than the deformation threshold, obtain the connector frame outline.

[0130] S205. Determine the first fitting range using the first frame reference profile, and determine the first profile degree based on the first profile and the first fitting range.

[0131] S206. Determine the second fitting range using the second frame reference profile, and determine the second profile degree based on the second profile and the second fitting range.

[0132] S207. Determine the center position of the connector terminal by the connector terminal outline.

[0133] S208. Determine the horizontal distance using the center position and the first profile, and use the difference between the horizontal distance and the reference horizontal distance as the first position degree.

[0134] S209. Determine the vertical distance using the center position and the second profile, and use the difference between the vertical distance and the reference vertical distance as the second position degree.

[0135] S210. If both the first profile and the second profile are less than the profile limit, and both the first position and the second position are less than the position limit, then the connector terminal position is determined to be accurate.

[0136] In this scheme, the positional dimension is composed of the contour limit and the positional limit. The positional dimension represents the offset limit of the center position of the connector terminal relative to the center position of the connector frame. The positional limit serves as the mating dimension between the frame of the connector assembly and the battery board pin.

[0137] In this scheme, the method for determining the first profile degree, the second profile degree, the first position degree, and the second position degree is the same as that described in the corresponding scheme above, and will not be detailed here.

[0138] In this scheme, strict contour limits are used to ensure the accurate relative positional relationship between the first feature and the first frame reference contour, and to ensure the accurate relative positional relationship between the second feature and the second frame reference contour.

[0139] If the positional tolerance of the connector terminal (PIN) relative to the frame reference contour is required to be 0.8mm (i.e., the positional tolerance dimension is 0.8mm), and the positional tolerance limit is 0.75mm, then the contour tolerance limit is 0.05mm.

[0140] In this solution, if the deformation of the product after injection molding causes the straight edges of the first and second features to become arc-shaped, the mold pre-deformation method can be used to compensate and adjust them to straight edges according to the actual product deformation, so that the image measurement equipment can capture the first and second features and facilitate the position determination of the first and second features.

[0141] In this solution, an image measurement device (and its configured image processing algorithm) is used to capture and identify the connector terminal outline, the first outline, and the second outline. The center point of the terminal end face can be obtained through the connector terminal outline. Then, the distance between the center point of the terminal and the first outline and the second outline are measured respectively, and compared with the theoretical required size to obtain the positional data of the terminal (first positional degree and second positional degree).

[0142] By combining the first profile degree and the second profile degree, and adding the two values ​​(the first position degree plus the first profile degree, and the second position degree plus the second profile degree), the maximum relative position degree between the center point of the connector terminal and the connector frame reference (the first frame reference profile and the second frame reference profile) can be obtained.

[0143] For example, in this solution, PIN1 is set ( Figure 3 The positional tolerance of the PIN pin in the lower right corner relative to the connector frame reference (first frame reference outline, second frame reference outline) is 0.8mm.

[0144] The profile tolerance limit between the first feature and the second feature relative to the connector frame reference is set to 0.05mm, namely profile tolerance ⑤ and profile tolerance ⑥.

[0145] The positional tolerance of the center point of PIN1 relative to the first feature and the second feature is 0.75 mm, i.e., positional tolerance ⑦;

[0146] When the first profile, the second profile, the first position, and the second position all meet the requirements, the final position dimension of PIN1 is deemed to be qualified.

[0147] exist Figure 1Based on the beneficial effects of the proposed scheme, this scheme adds a straight-line transformation reference feature (first feature and second feature) to the top of the connector frame opening. Since the transformation reference feature has a simple structure and is easy to adjust, it can be made to be very friendly to the recognition of image measurement equipment, thereby improving the actual position recognition effect of the image measurement equipment on the transformation reference feature, and thus improving the actual position recognition effect of the connector frame opening reference.

[0148] Plastic products often experience significant shrinkage and deformation. Some features of connectors are often irregular in shape after molding. What is theoretically a straight edge is usually actually a curved edge. This leads to a large error when measuring equipment captures the feature and determines the center line of the two edges. The conversion reference feature (first feature and second feature) has a small structural size and simple shape. It can be compensated for by pre-deforming the mold according to the deformation amount after the product is demolded. This will make the conversion reference feature a straight edge in the final product. This will greatly improve the accuracy of the measuring equipment when capturing the feature.

[0149] The conversion reference feature is a simple short straight-edge feature, which is flexible and convenient to process and adjust on the mold. Therefore, it is easy to design it at a height that is close to the top (end face) of the terminal. In this way, when using image measurement equipment to acquire images, the outline of the top of the terminal and the conversion reference feature can be clearly captured within the same depth of field, which improves the measurement accuracy and efficiency.

[0150] This method is simple, easy to implement, and inexpensive, greatly reducing the performance requirements of the image measurement equipment for the measured object (the connector under test) and lowering costs.

[0151] Example 2

[0152] refer to Figure 2 This embodiment proposes a connector, characterized in that it includes (a plurality of) terminals 100, a frame opening 200, a first feature, and a second feature;

[0153] The first feature is used to provide a first profile, the second feature is used to provide a second profile, the terminal is used to provide a connector terminal profile, and the frame is used to provide a connector frame profile.

[0154] The connector frame outline and the first outline are used to determine the first profile degree, and the connector frame outline and the second outline are used to determine the second profile degree.

[0155] The connector terminal profile and the first profile are used to determine the first positional degree, and the connector terminal profile and the second profile are used to determine the second positional degree.

[0156] The first profile, the second profile, the first position, and the second position are used to determine whether the position of the connector terminals is accurate.

[0157] The first feature, the second feature, and the end face of the terminal are located on the same horizontal plane, and the outline of the end face corresponds to the outline of the connector terminal.

[0158] In this embodiment, since the first feature, the second feature, and the end face of the connector terminal are located on horizontal planes of the same or similar height, when the first contour, the second contour, and the connector terminal contour are obtained using an image measurement device, a clear first contour, the second contour, and the connector terminal contour can be obtained under the same depth of field and field of view.

[0159] At the same time, the first contour, the second contour, and the connector terminal contour can be obtained under the same depth of field and field of view, that is, the first contour, the second contour, and the connector terminal contour can be obtained under the same coordinate system.

[0160] In addition, it is possible to set up the acquisition of the first contour, the second contour, and the connector terminal contour through the same image, that is, to acquire the first contour, the second contour, and the connector terminal contour simultaneously.

[0161] In this embodiment, the first contour degree, the second contour degree, the first position degree and the second position degree can be determined in any way as described in Embodiment 1. The implementation method and beneficial effects are the same as the corresponding content described in Embodiment 1, and the specific content will not be described in detail.

[0162] refer to Figure 2 In one possible implementation, the first feature and the second feature are defined as straight grooves or straight protrusions, and the first feature and the second feature are perpendicular to each other.

[0163] Based on any of the aforementioned schemes, the first feature and the second feature are set to adopt straight grooves, with one end of the first feature and the second feature intersecting, and the groove depth of the straight groove is 0.1 to 0.3 mm, preferably 0.2 mm.

[0164] In this embodiment, the beneficial effects of designing the first feature and the second feature as linear features are the same as those described in Embodiment 1, and the specific details will not be elaborated further.

[0165] Example 3

[0166] Figure 5A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0167] like Figure 5 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0168] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0169] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the connector terminal location determination method.

[0170] In some embodiments, the connector terminal location determination method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the connector terminal location determination method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the connector terminal location determination method by any other suitable means (e.g., by means of firmware).

[0171] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0172] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0173] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0174] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0175] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0176] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0177] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. A method for determining the position of a connector terminal, characterized in that, include: Simultaneously, the first contour of the first feature, the second contour of the second feature, and the connector terminal contour are obtained under the same coordinate system to obtain the connector frame contour. A first profile degree is determined using the connector frame outline and the first outline, and a second profile degree is determined using the connector frame outline and the second outline. A first positional degree is determined using the connector terminal profile and the first profile, and a second positional degree is determined using the connector terminal profile and the second profile; If both the first profile and the second profile are less than the profile limit, and both the first position and the second position are less than the position limit, then the connector terminal position is determined to be accurate.

2. The connector terminal position determination method as described in claim 1, characterized in that, Both the first feature and the second feature are straight line features, and the first feature and the second feature are perpendicular to each other; It also includes determining the deformation of the straight line feature, and when the deformation is less than the deformation threshold, obtaining the first contour of the first feature, the second contour of the second feature, the connector frame contour, and the connector terminal contour.

3. The connector terminal position determination method as described in claim 2, characterized in that, The connector frame outline includes a first frame reference outline and a second frame reference outline; Determining the first profile using the connector frame outline and the first profile includes: A first fitting range is determined by the first frame reference profile, and a first profile degree is determined based on the first profile and the first fitting range. Determining the second profile using the connector frame outline and the second profile includes: The second fitting range is determined by the second frame reference profile, and the second profile degree is determined based on the second profile and the second fitting range.

4. The connector terminal position determination method as described in claim 2, characterized in that, It also includes determining the center position of the connector terminal by the outline of the connector terminal; Determining the first positional degree using the connector terminal profile and the first profile includes: The horizontal distance is determined by the center position and the first contour, and the difference between the horizontal distance and the reference horizontal distance is used as the first position degree. Determining the second positional degree using the connector terminal profile and the second profile includes: The vertical distance is determined by the center position and the second profile, and the difference between the vertical distance and the reference vertical distance is used as the second position degree.

5. The connector terminal position determination method as described in claim 2, characterized in that, When the deformation is greater than the deformation threshold, the deformation compensation amount is determined based on the deformation. The deformation compensation amount is used to adjust the deformation of the connector injection molding module.

6. The connector terminal position determination method as described in claim 1, characterized in that, It also includes obtaining the positional dimension and decomposing the positional dimension into the contour limit and the positional limit.

7. The connector terminal position determination method as described in claim 6, characterized in that, The positional tolerance limit serves as the mating dimension between the connector assembly frame and the battery panel pins.

8. An electronic device, characterized in that, It includes at least one processor and a memory communicatively connected to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the connector terminal position determination method according to any one of claims 1-7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the connector terminal position determination method according to any one of claims 1-7.

10. A connector, characterized in that, Includes terminals, frame openings, first features, and second features; The first feature is used to provide a first contour, the second feature is used to provide a second contour, the terminal is used to provide a connector terminal contour, and the frame opening is used to provide a connector frame opening contour. The connector frame opening contour and the first contour are used to determine the first contour degree, and the connector frame opening contour and the second contour are used to determine the second contour degree. The connector terminal profile and the first profile are used to determine a first positional degree, and the connector terminal profile and the second profile are used to determine a second positional degree; The first profile, the second profile, the first position, and the second position are used to determine whether the position of the connector terminal is accurate. The first feature, the second feature, and the end face of the terminal are located on the same horizontal plane, and the outline of the end face corresponds to the outline of the connector terminal.

11. The connector as described in claim 10, characterized in that, The first feature and the second feature are straight grooves or straight protrusions, and the first feature and the second feature are perpendicular to each other.

12. The connector as described in claim 11, characterized in that, The first feature and the second feature are straight grooves, one end of the first feature and the second feature intersect, and the groove depth of the straight groove is 0.1 to 0.3 mm.

Citation Information

Patent Citations

  • Terminal position determining method and terminal equipment

    CN105243662A

  • A machine vision method for minitype wiring terminal quality testing

    CN107895362A

  • Automobile rear camera extension line terminal image detection system

    CN111476782A

  • Pin position degree detection method based on Zernike moment and mean shift

    CN113393526A

  • Elbow plugging processing method and device, storage medium and processor

    CN113706488A