Calibration method and device, electronic equipment and computer readable storage medium

By applying an automatic calibration method in a fully automatic first-piece tester and using image processing technology to adjust the position of the probe and camera, the problem of low manual calibration accuracy is solved, the calibration accuracy and efficiency are improved, and the stability of the equipment is enhanced.

CN118962554APending Publication Date: 2024-11-15SHENZHEN PTI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411104250.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

After the probe rotates in the fully automatic first-piece tester, the calibration of the probe and the camera requires manual observation, resulting in low calibration accuracy.

Method used

By using a drive device, a probe, a transparent plate and a camera in a fully automatic first-piece tester, an automatic calibration method is realized, and the mark position is determined using image processing technology, and the position of the probe and camera is adjusted to align its center points.

Benefits of technology

Improves the calibration accuracy and efficiency of probes and cameras, reduces manual intervention and errors, and enhances the stability and reliability of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118962554A_ABST
    Figure CN118962554A_ABST
Patent Text Reader

Abstract

The invention discloses a calibration method and device, electronic equipment and a computer readable storage medium, a control driving device controls a top camera to move, so that the picture center position of the top camera is a mark position, and calibration of the top camera is completed. Controlling a bottom camera to shoot the transparent plate to obtain a second image, and determining a first probe position and a second probe position based on the second image; and controlling the driving device to control the first probe and the second probe to move based on the marking position, so that the central point position between the first probe position and the second probe position is the marking position. In this way, calibration of the first probe and the second probe is completed, and the calibration reference positions of the first probe, the second probe and the top camera are all marked positions on the transparent plate. Therefore, according to the calibration method, calibration of the probe and the camera can be automatically completed, and compared with manual calibration, the calibration precision can be improved, and the calibration efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of fully automatic first article testers, and in particular to a calibration method, device, electronic equipment and computer-readable storage medium. Background Art

[0002] The fully automatic first article tester is an advanced testing equipment, which is mainly used for the first article testing of SMT (surface mount technology) PCBA (printed circuit board assembly) components to ensure that the performance of each electronic component in the production process is correct and meets the design requirements. In the fully automatic first article tester, when running, it is necessary to first shoot with a camera. After shooting, the two probes are controlled to rotate according to the captured image to clamp components at different angles. However, due to assembly errors, the center point between the two probes in the tester is offset after the two probes are rotated, and the center position of the camera's screen is offset from the center point position between the two probes. Each time the probe rotates, the probe and the camera need to be calibrated. The current calibration method is through manual observation. The calibration accuracy is relatively low through manual observation calibration. Summary of the invention

[0003] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a calibration method, device, electronic device and computer-readable storage medium, which can automatically complete the calibration of the probe and the camera and improve the calibration accuracy.

[0004] The calibration method according to the first aspect of the present application is applied to a fully automatic first-article tester, the fully automatic first-article tester comprising a driving device, a first probe, a second probe, a transparent plate, a top camera and a bottom camera, the top camera, the first probe and the second probe are installed on the driving device, the bottom camera is arranged below the driving device, the transparent plate is arranged between the bottom camera and the driving device, and a mark is arranged on the transparent plate;

[0005] The method comprises:

[0006] In response to a preset condition, controlling the driving device to control the top camera to move above the transparent plate;

[0007] Controlling the top camera to photograph the transparent plate to obtain a first image;

[0008] determining a marking position of the marking based on the first image;

[0009] Controlling the driving device to control the top camera to move so that the center position of the picture of the top camera is the marked position;

[0010] Controlling the bottom camera to photograph the transparent plate to obtain a second image;

[0011] determining a first probe position at the first probe and a second probe position at the second probe based on the second image;

[0012] The driving device is controlled based on the mark position to control the first probe and the second probe to move so that the center point between the first probe position and the second probe position is the mark position.

[0013] According to the calibration method of the embodiment of the present application, at least the following beneficial effects are achieved: the calibration method of the present application is applied to a fully automatic first article tester. When executing the method, in response to a preset condition, the control driving device controls the top camera to move to the top of the transparent plate; the top camera is controlled to shoot the transparent plate to obtain a first image; based on the first image, the mark position of the mark is determined; the control driving device controls the top camera to move so that the center position of the top camera's picture is the mark position; thereby completing the calibration of the top camera. Then the bottom camera is controlled to shoot the transparent plate to obtain a second image. Based on the second image, the first probe position of the first probe and the second probe position of the second probe are determined; based on the mark position, the control driving device controls the first probe and the second probe to move so that the center point position between the first probe position and the second probe position is the mark position. In this way, the calibration of the first probe and the second probe is completed, and the calibration reference positions of the first probe, the second probe, and the top camera are all the positions of the marks on the transparent plate. Therefore, the calibration method of the present application can realize automatic completion of the calibration of the probe and the camera. Compared with manual calibration, the present application can improve the calibration accuracy and the calibration efficiency.

[0014] According to some embodiments of the first aspect of the present application, determining a marking position of the marking based on the first image includes:

[0015] converting the first image into a grayscale image;

[0016] Performing threshold processing on the grayscale image to obtain a binary image;

[0017] The marker position of the marker is determined based on the binary image.

[0018] According to some embodiments of the first aspect of the present application, the shape of the mark is a first shape;

[0019] The step of determining the mark position of the mark based on the binary image comprises:

[0020] Determining, from the binary image, a contour whose shape is the first shape;

[0021] The position of the contour is used as the marking position of the mark.

[0022] According to some embodiments of the first aspect of the present application, determining a first probe position of the first probe and a second probe position of the second probe based on the second image includes:

[0023] Convert the second image into an HSV color space, and create a mask based on the saturation and brightness of the HSV color space; wherein non-white areas in the mask are set to black;

[0024] Based on the mask, a white portion is extracted from the second image, and the position of the white portion determines the first probe position and the second probe position.

[0025] According to some embodiments of the first aspect of the present application, after controlling the driving device to control the top camera to move so that the center position of the picture of the top camera is the marked position, the method further includes:

[0026] Recording first driving information of the driving device;

[0027] In response to receiving the camera calibration instruction, the top camera is driven to move based on the first driving information.

[0028] According to some embodiments of the first aspect of the present application, after controlling the driving device to control the first probe and the second probe to move based on the mark position so that the center point position between the first probe position and the second probe position is the mark position, the method further includes:

[0029] Recording second driving information of the driving device and recording angle information of the probe; wherein the angle information includes a first angle of the first probe and a second angle of the second probe;

[0030] A mapping relationship between the second driving information and the angle information is established.

[0031] According to some embodiments of the first aspect of the present application, after the mapping relationship between the second driving information and the angle information is established, the method further includes:

[0032] In response to a change in the angle of the first probe or the second probe, determining the current angle information;

[0033] Based on the current angle information and the mapping relationship, determining the second driving information corresponding to the current angle information;

[0034] The driving device is controlled to drive the first probe and the second probe based on the second driving information.

[0035] A second aspect of the present application provides a calibration device, which is applied to a fully automatic first-article tester, wherein the fully automatic first-article tester comprises a driving device, a first probe, a second probe, a transparent plate, a top camera and a bottom camera, wherein the top camera, the first probe and the second probe are installed on the driving device, the bottom camera is arranged below the driving device, the transparent plate is arranged between the bottom camera and the driving device, and a mark is arranged on the transparent plate;

[0036] The calibration device comprises:

[0037] A first driving module, configured to control the driving device to control the top camera to move above the transparent plate in response to a preset condition;

[0038] A first shooting module, used for controlling the top camera to shoot the transparent plate to obtain a first image;

[0039] A first determining module, configured to determine a marking position of the marking based on the first image;

[0040] A second driving module is used to control the driving device to control the top camera to move so that the center position of the picture of the top camera is the marked position;

[0041] A second shooting module, used for controlling the bottom camera to shoot the transparent plate to obtain a second image;

[0042] a second determining module, configured to determine a first probe position of the first probe and a second probe position of the second probe based on the second image;

[0043] A third driving module is used to control the driving device to control the first probe and the second probe to move based on the mark position, so that the center point between the first probe position and the second probe position is the mark position.

[0044] A third aspect of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the calibration method described in any one of the first aspect embodiments when executing the computer program.

[0045] The fourth aspect of the present application provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the calibration method described in any one of the first aspect embodiments is implemented.

[0046] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The present application is further described below with reference to the accompanying drawings and embodiments, wherein:

[0048] Figure 1 A schematic diagram of the structure of a fully automatic first article tester for executing the calibration method of an embodiment of the present application;

[0049] Figure 2 A schematic diagram of the steps of the calibration method according to an embodiment of the present application;

[0050] Figure 3 for Figure 2 A specific flow chart of step S230;

[0051] Figure 4 is a schematic diagram of a first image processing process;

[0052] Figure 5 for Figure 3 A specific flow chart of step S330;

[0053] Figure 6 The figure is a schematic diagram of a process of converting a second image into a binary image;

[0054] Figure 7 for Figure 2 A specific flow chart of step S260;

[0055] Figure 8 A schematic diagram of a process of converting a second image into an HSV color space;

[0056] Fig. 9 This is a schematic diagram of the bottom camera screen;

[0057] Fig.10 Another step flow chart of the calibration method according to an embodiment of the present application;

[0058] Fig.11 This is a flowchart of the steps after step S270 of the calibration method according to an embodiment of the present application;

[0059] Fig.12 This is a flowchart after step S1120 of the embodiment of the present application;

[0060] Fig.13 A schematic diagram of the structure of a calibration device according to an embodiment of the present application;

[0061] Fig.14 A schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0062] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.

[0063] In the description of the present application, it should be understood that descriptions involving orientation, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0064] In the description of this application, "several" means more than one, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0065] In the description of this application, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in this application based on the specific content of the technical solution.

[0066] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0067] Reference Figure 1 , Figure 1 The fully automatic first-article tester for executing the calibration method of the embodiment of the present application comprises a driving device, a first probe, a second probe, a transparent plate, a top camera and a bottom camera, wherein the top camera, the first probe and the second probe are installed on the driving device, the bottom camera is arranged below the driving device, the transparent plate is arranged between the bottom camera and the driving device, and a mark is arranged on the transparent plate. The driving device can drive the first probe and the second probe to rotate, and can drive the first probe, the second probe and the top camera to move in the vertical direction and the horizontal direction.

[0068] The first embodiment of the present application is based on Figure 1 A calibration method is proposed for the fully automatic first article tester shown in FIG. Figure 2 The calibration method of the embodiment of the present application includes but is not limited to steps S210 to S270.

[0069] Step S210, in response to a preset condition, the driving device controls the top camera to move to above the transparent plate;

[0070] In one embodiment, the preset condition is: receiving a preset calibration instruction. After receiving the calibration instruction, the fully automatic first article tester is required to execute the calibration method.

[0071] In another embodiment, the preset condition is that the angle of the first probe or the angle of the second probe changes. Generally, when the driving device drives the first probe to rotate, the angle of the first probe changes. When the driving device drives the second probe to rotate, the angle of the second probe changes.

[0072] Step S220, controlling the top camera to shoot the transparent plate to obtain a first image;

[0073] Step S230, determining a marked position of the mark based on the first image;

[0074] Step S240, controlling the driving device to control the top camera to move so that the center position of the picture of the top camera is the mark position;

[0075] Step S250, controlling the bottom camera to photograph the transparent plate to obtain a second image;

[0076] Step S260, determining a first probe position of the first probe and a second probe position of the second probe based on the second image;

[0077] Step S270 , based on the mark position, the driving device is controlled to control the first probe and the second probe to move so that the center point between the first probe position and the second probe position is the mark position.

[0078] The calibration method of the embodiment of the present application is through the above steps S210 to S270, in response to the preset conditions, the control driving device controls the top camera to move to the top of the transparent plate; the top camera is controlled to shoot the transparent plate to obtain a first image; based on the first image, the mark position of the mark is determined; the control driving device controls the top camera to move so that the center position of the top camera's picture is the mark position; thereby completing the calibration of the top camera. Then the bottom camera is controlled to shoot the transparent plate to obtain a second image, and the first probe position of the first probe and the second probe position of the second probe are determined based on the second image; based on the mark position, the control driving device controls the first probe and the second probe to move so that the center point position between the first probe position and the second probe position is the mark position. In this way, the calibration of the first probe and the second probe is completed, and the calibration reference positions of the first probe, the second probe, and the top camera are all the positions of the marks on the transparent plate. Therefore, the calibration method of the present application can realize automatic completion of the calibration of the probe and the camera. Compared with manual calibration, the present application can improve the calibration accuracy and shorten the calibration time, thereby improving the calibration efficiency.

[0079] It is worth noting that the present application realizes automatic calibration through steps S210 to S270, avoiding the tedious process of manual observation and manual parameter setting, reducing the errors introduced by human factors, and improving the reliability and consistency of calibration. The traditional manual calibration method is time-consuming and error-prone, while the present application can automatically calibrate, greatly shortening the calibration time and improving the working efficiency of the fully automatic first article tester.

[0080] It is worth noting that in this application, the horizontal height of the transparent plate is the same as the horizontal height of the PCB in the fully automatic first-article tester, and the top camera and the bottom camera are used in coordination to effectively offset the lens pitch rotation error caused by the camera assembly error, ensuring the precise positioning of the probe in the actual test environment, thereby enhancing the stability and reliability of the equipment. This application significantly improves the working efficiency and measurement accuracy of the fully automatic first-article tester through an automated calibration method, reduces manual intervention and errors, enhances the stability and reliability of the tester, simplifies the calibration process, reduces production costs, optimizes optical detection effects, and has wide applicability.

[0081] In one embodiment, referring to Figure 3 , Figure 3 for Figure 2 A specific flow chart of step S230 in FIG. 2 . Step S230 may include but is not limited to steps S310 to S330.

[0082] Step S310, converting the first image into a grayscale image;

[0083] It is worth noting that a grayscale image is an image that contains only brightness information but not color information. In a grayscale image, each pixel of the image has only one color channel, and its value represents the brightness level of the point, usually an integer from 0 (black) to 255 (white).

[0084] Step S320, performing threshold processing on the grayscale image to obtain a binary image;

[0085] It is worth noting that a binary image is an image in which each pixel has only two possible values ​​or grayscale states, usually represented by black and white, B&W, or monochrome images. In a binary image, the grayscale value of any pixel in the image is either 0 or 255, representing black and white, respectively.

[0086] It is worth noting that the process of converting a grayscale image into a binary image is called binarization (Thresholding). First, a grayscale threshold is set, and then each pixel in the grayscale image is traversed to compare its grayscale value with the set threshold. If the grayscale value of the pixel is greater than or equal to the threshold, the grayscale value of the pixel is set to the grayscale maximum value (usually 255, i.e. white). If the grayscale value of the pixel is less than the threshold, the grayscale value of the pixel is set to the grayscale minimum value (usually 0, i.e. black).

[0087] Step S330 , determining a marked position of the mark based on the binary image.

[0088] Reference Figure 4 , Figure 4 is a schematic diagram of the first image processing process. Figure 4 In the figure, the images from left to right are the first image, the binary image, and the highlight of the mark position in the first image. The embodiment of the present application can determine the mark position of the mark in the transparent plate based on the first image through steps S310 to S330.

[0089] In one embodiment, the shape of the mark is a first shape; Figure 5 , Figure 5 yes Figure 3 A specific flow chart of step S330 in FIG. Step S330 may include but is not limited to steps S510 to S520.

[0090] Step S510, determining a contour having a first shape from the binary image;

[0091] Step S520: Using the position of the contour as the marking position of the mark.

[0092] Exemplarily, the first shape is a circle, that is, the shape of the mark is a circle. The outline of the circle is determined from the binary image, and the circular outline with the smallest area is determined, the outline is the outline of the mark, and the position of the outline is used as the mark position of the mark. It should be noted that the first shape can also be other shapes, and this application does not limit this.

[0093] In step S270 of one embodiment, in order to make the center point between the first probe position and the second probe position the mark position, it is necessary to determine the position of the mark position in the second image, so the second image needs to be processed in the same way as the first image. Specifically, the second image is converted into a grayscale image, and then the grayscale image corresponding to the second image is converted into a binary image, and then the mark position is determined from the binary image corresponding to the second image, referring to Figure 6 , Figure 6 Schematic diagram of the process of converting the second image into a binary image. Figure 6 From left to right in the figure are respectively the second image, the binary image corresponding to the second image, and the highlight of the marking position in the second image.

[0094] In one embodiment, referring to Figure 7 , Figure 7 It is a specific flow chart of step S260. Step S260 may include but is not limited to steps S710 to S720.

[0095] Step S710, converting the second image into an HSV color space, and creating a mask based on the saturation and brightness of the HSV color space; wherein non-white areas in the mask are set to black;

[0096] Step S720: extracting a white portion from the second image based on the mask, and determining the first probe position and the second probe position by the position of the white portion.

[0097] It is worth noting that the HSV color space is a color model based on the human eye's perception of color, and its full name is Hue, Saturation, Value or Brightness. It is different from the more common RGB (red, green, blue) color space, which is defined based on the physical characteristics of electronic devices such as monitors and scanners.

[0098] Saturation (S) indicates the vividness of a color, while value (V) indicates the brightness of a color. To create a mask, you need to set appropriate preset color conditions for S and V, and traverse each pixel in the second image. The preset color condition is: approximately white. When the color of a pixel is approximately white, the pixel at the corresponding position in the mask is set to white (usually represented as 255), indicating that this is a pixel of interest; if the preset color condition is not met, the pixel at the corresponding position in the mask is set to black (usually represented as 0), indicating that this is a pixel of no interest. For details, refer to Figure 8 , Figure 8 Schematic diagram of the process of converting the second image into the HSV color space. Figure 8 From left to right in the figure, the second image, the mask, the first probe position and the second probe position are highlighted in the second image.

[0099] It is worth noting that the bottom camera captures many elements. The color of the probe is gold, not pure white or black. The drive device, wiring and other elements are also captured in the background. Therefore, a telephoto lens with a large aperture and short focal length is used when shooting the second image to make the depth of field shallower. Only objects on the transparent plane are clear and sharp, and the farther away from it, the more blurred the other objects are. In addition, the ring light at the bottom reflects the top of the probe. Fig. 9 , Fig. 9 As shown in the picture of the bottom camera, there are many parts with brighter colors, so through the concept of HSV color space, other parts are filtered out through S (saturation), and finally only the brightest parts in the first probe and the second probe are left.

[0100] In one embodiment, referring to Fig.10 , Fig.10 This is another step flow chart of the calibration method according to an embodiment of the present application. Fig.10 The illustrated process includes step S1010 to step S1020.

[0101] Step S1010, recording first driving information of the driving device;

[0102] Step S1020: in response to receiving the camera calibration instruction, driving the top camera to move based on the first driving information.

[0103] The structure that drives the top camera in the driving device is an XY servo motor. In step S1010, the first driving information of the driving device is recorded. The first driving information refers to the absolute position information of the XY servo motor encoder. The calibration method of the embodiment of the present application only needs to execute steps S210 to S240 once at the beginning, and then execute step S1010 to record the first driving information. When the top camera needs to be calibrated again later, there is no need to execute steps S210 to S240 again, and step S1020 can be executed directly, so that the calibration efficiency can be improved.

[0104] In one embodiment, referring to Fig.11 , Fig.11 This is a flow chart of the steps after step S270 of the calibration method according to an embodiment of the present application. Fig.11 The illustrated step flow includes step S1110 to step S1120.

[0105] Step S1110, recording second driving information of the driving device and recording angle information of the probes; wherein the angle information includes a first angle of the first probe and a second angle of the second probe;

[0106] Step S1120: establishing a mapping relationship between the second driving information and the angle information.

[0107] It is worth noting that when calibrating, steps S250 to S270 can be executed multiple times. The control driving device changes the angle between the first probe and the second probe, and the first probe and the second probe can be selected at the same time. For example, the probes are rotated in accordance with a preset angle sequence (for example, the preset angle sequence is 0, 45, 90, 135, 180, 225, 270, 315 degrees). Each time the probes are rotated, steps S250 to S270 are executed once. Each time steps S250 to S270 are executed, the second driving information of the driving device is recorded, and the angle information of the probe is recorded; and a mapping relationship between the second driving information and the angle information is established. It should be noted that the second driving information is the absolute position information of the XY servo motor encoder during step S270.

[0108] In one embodiment, referring to Fig.12 , Fig.12 This is a flow chart of an embodiment of the present application after step S1120. Fig.12 The illustrated process includes steps S1210 to S1230.

[0109] Step S1210, in response to a change in the angle of the first probe or the second probe, determining current angle information;

[0110] Step S1220, determining second driving information corresponding to the current angle information based on the current angle information and the mapping relationship;

[0111] Step S1230 , controlling the driving device to drive the first probe and the second probe based on the second driving information.

[0112] It is worth noting that, before step S1210, the preset angle sequence is followed (the rotating probe rotates, and each time it rotates, steps S250 to S270 are executed once, the angle information of the probe is recorded, and a mapping relationship between the second drive information and the angle information is established. Therefore, when the angle of the first probe or the second probe changes, the current angle information is determined, and based on the current angle information and the mapping relationship, the second drive information corresponding to the current angle information is determined. In this way, when the angle of the first probe or the second probe changes, the second drive information is directly used to complete the calibration, thereby improving efficiency.

[0113] Reference Fig.13 The second aspect of the present application provides a calibration device, which is applied to Figure 1 The fully automatic first article tester shown in FIG. 1 , the calibration device comprises:

[0114] The first driving module 1310 is used to control the driving device to control the top camera to move above the transparent plate in response to a preset condition;

[0115] A first shooting module 1320, used to control the top camera to shoot the transparent plate to obtain a first image;

[0116] A first determination module 1330 is used to determine a marked position of a mark based on the first image;

[0117] The second driving module 1340 is used to control the driving device to control the top camera to move so that the center position of the picture of the top camera is the marking position;

[0118] The second shooting module 1350 is used to control the bottom camera to shoot the transparent plate to obtain a second image;

[0119] A second determination module 1360 is used to determine a first probe position at the first probe and a second probe position at the second probe based on the second image;

[0120] The third driving module 1370 is used to control the driving device to control the movement of the first probe and the second probe based on the mark position, so that the center point between the first probe position and the second probe position is the mark position.

[0121] The calibration device can execute the calibration method of the first embodiment of the present application. When executing the calibration method, the control driving device controls the top camera to move to the top of the transparent plate; the top camera is controlled to shoot the transparent plate to obtain a first image; based on the first image, the mark position of the mark is determined; the control driving device controls the top camera to move so that the center position of the top camera's picture is the mark position; thereby completing the calibration of the top camera. Then the bottom camera is controlled to shoot the transparent plate to obtain a second image, and the first probe position of the first probe and the second probe position of the second probe are determined based on the second image; based on the mark position, the control driving device controls the first probe and the second probe to move so that the center point position between the first probe position and the second probe position is the mark position. In this way, the calibration of the first probe and the second probe is completed, and the calibration reference positions of the first probe, the second probe, and the top camera are all the positions of the marks on the transparent plate. Therefore, the calibration method of the present application can realize automatic completion of the calibration of the probe and the camera. Compared with manual calibration, the present application can improve the calibration accuracy and the calibration efficiency.

[0122] The specific implementation of the calibration device is basically the same as the specific implementation of the calibration method in the above embodiment, which will not be repeated here. On the premise of meeting the requirements of the embodiment of the present application, the calibration device can also be provided with other functional modules to implement the calibration method in the above embodiment.

[0123] The third aspect of the present application provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the calibration method of the above embodiment when executing the computer program. The electronic device can be any smart terminal including a tablet computer, a car computer, etc.

[0124] In one embodiment, referring to Fig.14 , Fig.14 The hardware structure of the electronic device of the embodiment of the present application is illustrated, and the electronic device includes:

[0125] The processor 141 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0126] The memory 142 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 142 can store an operating system and other applications. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 142, and the processor 141 calls and executes the calibration method of the embodiment of the present application;

[0127] Input / output interface 143, used to implement information input and output;

[0128] The communication interface 144 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);

[0129] A bus 145 that transmits information between the various components of the device (e.g., the processor 141, the memory 142, the input / output interface 143, and the communication interface 144);

[0130] The processor 141 , the memory 142 , the input / output interface 143 and the communication interface 144 are connected to each other in communication within the device via a bus 145 .

[0131] To achieve the above-mentioned purpose, the fourth aspect of the present application provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the calibration method of the first aspect of the present application is implemented.

[0132] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0133] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0134] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0135] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0136] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0137] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0138] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0139] In the several embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0140] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple 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.

[0141] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0142] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0143] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A calibration method, characterized in that: Applied to a fully automatic first-article tester, the fully automatic first-article tester comprises a driving device, a first probe, a second probe, a transparent plate, a top camera and a bottom camera, the top camera, the first probe and the second probe are installed on the driving device, the bottom camera is arranged below the driving device, the transparent plate is arranged between the bottom camera and the driving device, and a mark is arranged on the transparent plate; The method comprises: In response to a preset condition, controlling the driving device to control the top camera to move above the transparent plate; Controlling the top camera to photograph the transparent plate to obtain a first image; determining a marking position of the marking based on the first image; Controlling the driving device to control the top camera to move so that the center position of the picture of the top camera is the marked position; Controlling the bottom camera to photograph the transparent plate to obtain a second image; determining a first probe position at the first probe and a second probe position at the second probe based on the second image; The driving device is controlled based on the mark position to control the first probe and the second probe to move so that the center point between the first probe position and the second probe position is the mark position.

2. The calibration method according to claim 1, characterized in that: The step of determining a marking position of the marking based on the first image includes: converting the first image into a grayscale image; Performing threshold processing on the grayscale image to obtain a binary image; The marker position of the marker is determined based on the binary image.

3. The calibration method according to claim 2, characterized in that: The shape of the mark is a first shape; The step of determining the mark position of the mark based on the binary image comprises: Determining, from the binary image, a contour whose shape is the first shape; The position of the contour is used as the marking position of the mark.

4. The calibration method according to claim 1, characterized in that: Determining a first probe position at the first probe and a second probe position at the second probe based on the second image includes: Convert the second image into an HSV color space, and create a mask based on the saturation and brightness of the HSV color space; wherein non-white areas in the mask are set to black; Based on the mask, a white portion is extracted from the second image, and the position of the white portion determines the first probe position and the second probe position.

5. The calibration method according to claim 1, characterized in that: After the driving device is controlled to control the top camera to move so that the center position of the picture of the top camera is the mark position, the method further includes: Recording first driving information of the driving device; In response to receiving the camera calibration instruction, the top camera is driven to move based on the first driving information.

6. The calibration method according to claim 5, characterized in that: After controlling the driving device to control the first probe and the second probe to move based on the mark position so that the center point between the first probe position and the second probe position is the mark position, the method further includes: Recording second driving information of the driving device and recording angle information of the probe; wherein the angle information includes a first angle of the first probe and a second angle of the second probe; A mapping relationship between the second driving information and the angle information is established.

7. The calibration method according to claim 6, characterized in that: After the mapping relationship between the second driving information and the angle information is established, the method further includes: In response to a change in the angle of the first probe or the second probe, determining the current angle information; Based on the current angle information and the mapping relationship, determining the second driving information corresponding to the current angle information; The driving device is controlled to drive the first probe and the second probe based on the second driving information.

8. A calibration device, characterized in that: Applied to a fully automatic first-article tester, the fully automatic first-article tester comprises a driving device, a first probe, a second probe, a transparent plate, a top camera and a bottom camera, the top camera, the first probe and the second probe are installed on the driving device, the bottom camera is arranged below the driving device, the transparent plate is arranged between the bottom camera and the driving device, and a mark is arranged on the transparent plate; The calibration device comprises: A first driving module, configured to control the driving device to control the top camera to move above the transparent plate in response to a preset condition; A first shooting module, used for controlling the top camera to shoot the transparent plate to obtain a first image; A first determining module, configured to determine a marking position of the marking based on the first image; A second driving module is used to control the driving device to control the top camera to move so that the center position of the picture of the top camera is the marked position; A second shooting module, used for controlling the bottom camera to shoot the transparent plate to obtain a second image; a second determining module, configured to determine a first probe position of the first probe and a second probe position of the second probe based on the second image; A third driving module is used to control the driving device to control the first probe and the second probe to move based on the mark position, so that the center point between the first probe position and the second probe position is the mark position.

9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the calibration method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the calibration method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Semiconductor wafer detection method and system

    CN121831451A

  • Semiconductor wafer inspection methods and systems

    CN121831451B