Flying probe test method, system and flying probe test machine

By acquiring and calibrating the image, calculating the distortion transformation matrix to correct the test point coordinates, the problem of insufficient test point coordinate accuracy in the flying probe test system is solved, and accurate contact and measurement of the probe and the circuit board test point are achieved.

CN118226238BActive Publication Date: 2024-09-06NEW ASIA NEW INTELLIGENT TECH (NANTONG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410659680.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-06
Estimated Expiration
2044-05-27

AI Technical Summary

Technical Problem

The existing flying probe test system has insufficient accuracy when obtaining the coordinates of the test points on the circuit board, resulting in the probe being unable to accurately contact the preset test points, affecting the measurement results.

Method used

By obtaining the calibration reference image containing the checkerboard area and the circuit board area, the camera is calibrated, the distortion transformation matrix is ​​calculated, and this matrix is ​​used to correct the test point coordinates to improve the coordinate accuracy.

Benefits of technology

The contact accuracy between the probe and the circuit board test point is improved, ensuring the accuracy and reliability of the flying probe test.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118226238B
    Figure CN118226238B
Patent Text Reader

Abstract

The present application relates to a flying probe test method, system and flying probe test machine, which belongs to the technical field of circuit board testing. The flying probe test method includes obtaining a calibration reference image including a checkerboard area and a circuit board area; based on the calibration reference image, calibrating the camera to obtain a calibrated camera and a distortion conversion matrix; based on the calibrated camera, the distortion conversion matrix and the actual wiring reference number preset on the circuit board to be tested, calculating the offset of the imaging of the calibrated camera and the actual coordinates of the circuit board to be tested; correcting the coordinates of each preset test point in the flying probe test by the offset, and using the corrected preset test point coordinates to perform a flying probe test on the circuit board to be tested. The coordinates of each preset test point in the flying probe test are corrected according to the offset, which improves the accuracy of the preset test point coordinates. The present application has the effect that the probe can accurately contact the preset test point on the circuit board to be tested.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of circuit board testing, and in particular to a flying probe testing method, system and flying probe testing machine. Background Art

[0002] Flying probe testing is an electronic circuit testing method, mainly used to test printed circuit boards (PCBs). Flying probe testing uses a movable probe system to make electrical contact with specific test points on the PCB to identify defects and verify the electrical performance of the circuit. A flying probe test system consists of several key components, including the probe itself, a test fixture to hold the PCB in place, and control software to manage the test process.

[0003] At present, flying probe testing usually controls the probe to move along a preset path and contact the preset test points (including component pins, solder joints, etc.) based on the preset circuit board structure, size and shape information by knowing the layout and component positions of the circuit board in advance. When the probe contacts the test point, it is connected to the driver and sensor through a multiplex transmission system to measure various parameters. The normal operation of the flying probe test system depends entirely on the ability of the probe to accurately contact the specified test point. If the accuracy of the test point coordinates is insufficient, it may be impossible to guide the probe to accurately contact the preset test point, resulting in the inability to measure the parameters of the test point. Therefore, how to accurately obtain the coordinates of the test point so that the probe can accurately contact the test point on the circuit board is a problem that needs to be solved urgently. Summary of the invention

[0004] In order to improve the accuracy of the test point coordinates so that the probe can accurately contact the test point on the circuit board, the present application provides a flying probe test method, system and flying probe test machine.

[0005] In the first aspect, the present application provides a flying probe test method, which adopts the following technical solution:

[0006] A flying probe test method, comprising:

[0007] Acquire a calibration reference image including a checkerboard area and a circuit board area; wherein the calibration reference image is acquired by placing the circuit board on the checkerboard;

[0008] Based on the calibration reference image, the camera is calibrated to obtain the calibrated camera and the distortion transformation matrix;

[0009] Based on the calibrated camera, the distortion conversion matrix and the actual wiring reference marks preset on the circuit board to be tested, the offset between the imaging of the calibrated camera and the actual coordinates of the circuit board to be tested is calculated;

[0010] The coordinates of each preset test point in the flying probe test are corrected by the offset, and the flying probe test is performed on the circuit board to be tested using the corrected preset test point coordinates.

[0011] Optionally, the step of calibrating the camera based on the calibration reference image to obtain a calibrated camera and a distortion transformation matrix specifically includes:

[0012] Select at least four calibration reference points in the checkerboard area of ​​the calibration reference image;

[0013] Get the actual coordinates of the calibration reference points on the chessboard;

[0014] According to the cross-ratio invariance, a linear equation group between the calibration reference point and the actual coordinates is established to solve the camera focal length, optical center coordinates and distortion transformation matrix;

[0015] The camera is calibrated intrinsically according to the camera focal length and optical center coordinates to obtain a calibrated camera.

[0016] Optionally, selecting at least four calibration reference points in a checkerboard area of ​​the calibration reference image specifically includes:

[0017] Searching for rows and columns with complete checkerboards around the circuit board area in the calibration reference image;

[0018] Based on the rows and columns, a rectangular area is determined in the checkerboard area;

[0019] The coordinates of the four corners of the rectangular area are identified by a corner point detection algorithm to obtain at least four calibration reference points.

[0020] Optionally, the calculating of the offset between the imaging of the calibrated camera and the actual coordinates of the circuit board to be tested based on the calibrated camera, the distortion conversion matrix and the actual wiring reference numbers preset on the circuit board to be tested specifically includes:

[0021] Acquire the test initial image of the circuit board captured by the calibrated camera, and extract the coordinates of the image reference points in the test initial image; wherein the image reference point coordinates are imaging points of the actual wiring reference marks preset on the circuit board to be tested on the test initial image;

[0022] The coordinates of the image reference points are calibrated according to the distortion transformation matrix to obtain the coordinates of the ideal reference points;

[0023] According to the coordinates of the ideal reference points and the actual wiring reference marks of the circuit board to be tested, the offset between the imaging of the calibrated camera and the actual coordinates of the circuit board to be tested is obtained.

[0024] Optionally, the distortion conversion matrix includes radial distortion coefficients and tangential distortion coefficients.

[0025] Optionally, performing a flying probe test on the circuit board to be tested by using the corrected preset test point coordinates specifically includes:

[0026] Acquire the flying probe test image of the circuit board to be tested in real time;

[0027] Analyze the flying probe test image to identify the component assembly diagram and conductive pattern in the flying probe test image;

[0028] Match both the component assembly drawing and the conductive pattern with the preset standard circuit board image to output the morphological test results;

[0029] Determine whether all the corrected preset test point coordinates are accurate based on the morphological test results;

[0030] If yes, the probe is moved according to the corrected preset test point coordinates;

[0031] If not, then the inaccurate preset test point coordinates are identified according to the morphological test results, and the inaccurate preset test point coordinates are locally calibrated to temporarily update the corresponding preset test point coordinates, and the probe is moved according to the temporarily updated preset test point coordinates and the remaining corrected preset test point coordinates; wherein the temporary update refers to updating only in the flying probe test of the current circuit board to be tested;

[0032] The movable probe is used to perform one or more of an open circuit test, a short circuit test and a component pin contact test on the circuit board to be tested, and output the probe test result.

[0033] Optionally, the identifying inaccurate preset test point coordinates according to the morphological test results and locally calibrating the inaccurate preset test point coordinates specifically includes:

[0034] Obtaining the position coordinates of the component assembly drawings or conductive patterns that are not successfully matched with the preset standard circuit board image in the morphological test results;

[0035] The preset test point coordinates around the position coordinates are regarded as inaccurate preset test point coordinates;

[0036] Based on the distance between the position coordinates and the actual coordinates of the preset test points on the test circuit board, the inaccurate coordinates of the preset test points are locally calibrated.

[0037] In the second aspect, the present application provides a flying probe test system, which adopts the following technical solution:

[0038] A flying probe test system, comprising:

[0039] A calibration image acquisition unit, used to acquire a calibration reference image including a checkerboard area and a circuit board area; wherein the calibration reference image is acquired by placing the circuit board on the checkerboard;

[0040] A calibration unit, used to calibrate the camera based on the calibration reference image to obtain a calibrated camera and a distortion transformation matrix;

[0041] An offset calculation unit, used to calculate the offset between the image of the calibrated camera and the actual coordinates of the circuit board to be tested based on the calibrated camera, the distortion conversion matrix and the actual wiring reference numbers preset on the circuit board to be tested;

[0042] The test unit is used to correct the coordinates of the preset test points in the flying probe test by means of an offset, and to perform a flying probe test on the circuit board to be tested using the corrected coordinates of the preset test points.

[0043] In a third aspect, the present application provides a flying probe tester, which adopts the following technical solution:

[0044] A flying probe tester comprises a flying probe test system as claimed in claim 8.

[0045] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:

[0046] A computer-readable storage medium includes a computer program that can be loaded by a processor and executed in any of the above methods.

[0047] In summary, this application includes the following beneficial technical effects:

[0048] The camera is calibrated to obtain calibrated camera parameters and a distortion conversion matrix, so that the image captured by the camera can be closer to the real circuit board, reducing the error caused by the camera imaging distortion; then the distortion conversion matrix and the actual wiring reference number preset on the circuit board to be tested are used to calculate a more accurate offset between the calibrated camera image and the actual coordinates of the circuit board to be tested, so that the coordinates of each preset test point in the flying probe test can be corrected according to the offset, thereby improving the accuracy of the coordinates of the preset test points, so that when the flying probe test is performed using the corrected preset test point coordinates, the probe can accurately contact the preset test point on the circuit board to be tested;

[0049] By searching for complete chessboard rows and columns around the circuit board area in the calibration reference image, the uniform distribution of the calibration reference points is ensured. The rows and columns are used to determine the rectangular area in the chessboard area, which can completely cover the range of the circuit board. The four vertex coordinates of the rectangular area provide a clear search range for the subsequent corner point detection algorithm, further saving computing resources. A linear equation group is then established through the calibration reference points and the actual coordinates, which realizes the generation of the camera's focal length, optical center coordinates and distortion transformation matrix, so that the preset point coordinates can be corrected later. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 It is a flow chart of a flying probe test method according to one embodiment of the present application.

[0051] Figure 2 This is a flow chart of a method for calibrating a camera according to one embodiment of the present application.

[0052] Figure 3 It is a schematic diagram of calibrating a reference image according to one embodiment of the present application.

[0053] Figure 4 It is a flowchart of an offset generation method according to one embodiment of the present application.

[0054] Figure 5 This is a flow chart of a method for correcting the coordinates of a preset test point according to one embodiment of the present application.

[0055] Figure 6 It is a flow chart of a flying probe test system according to one embodiment of the present application. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0057] The present application embodiment discloses a flying probe test method. Figure 1 , a flying probe test method, comprising:

[0058] Step S101: Acquire a calibration reference image including a checkerboard area and a circuit board area;

[0059] The calibration reference image is acquired by placing a circuit board on a checkerboard. Specifically, the checkerboard pattern can be placed on a test platform of a flying probe tester, and then the circuit board is placed on the checkerboard pattern.

[0060] Step S102: Calibrate the camera based on the calibration reference image to obtain a calibrated camera and a distortion transformation matrix;

[0061] The distortion conversion matrix includes radial distortion coefficients and tangential distortion coefficients. In this embodiment, the distortion conversion matrix is ​​a 2x2 matrix used to describe the distortion of the image in the row and column directions. The radial distortion coefficient describes the distortion of the calibration reference image in the radial direction, that is, the edge of the calibration reference image captured by the camera is distorted outward or inward. The tangential distortion coefficient describes the distortion of the image in the tangential direction, that is, the edge of the calibration reference image appears bent or distorted.

[0062] It should be noted that the distortion conversion matrix in the current related technology is usually a 3x3 matrix, which usually includes an x-direction scaling factor, a y-direction scaling factor, an x-direction translation, a y-direction translation, an x-direction tilt, a y-direction tilt, and a rotation angle. However, in this embodiment, since the image captured by the camera is placed on the test plane, and the fixture provided on the flying probe tester can ensure that each circuit board to be tested is in the same position, and the installation position of the camera is relatively fixed, in this embodiment, the distortion conversion matrix does not need to consider parameters such as scaling factor, translation, tilt, etc., and only a 2x2 distortion conversion matrix consisting of radial distortion coefficients and tangential distortion coefficients is required, which greatly reduces the complexity of the calculation and can well meet the performance requirements of the flying probe tester.

[0063] Step S103: calculating the offset between the image of the calibrated camera and the actual coordinates of the circuit board to be tested based on the calibrated camera, the distortion conversion matrix and the actual wiring reference numbers preset on the circuit board to be tested;

[0064] The actual wiring reference mark is a mark used for reference positioning and printed when the printed circuit board is wired. The center coordinates of the mark can be extracted by performing image recognition on the actual wiring reference mark.

[0065] It should be understood that step S101 to step S103 can be performed in the initial stage of flying probe testing of the same model of circuit boards, that is, for the same model of circuit boards, the camera only needs to be calibrated once and the offset calculated once to save computing resources.

[0066] Step S104: Correcting the coordinates of each preset test point in the flying probe test by the offset, and performing a flying probe test on the circuit board to be tested by using the corrected preset test point coordinates.

[0067] The coordinates of the preset test points are the coordinates for guiding the movement of the probes preset in the flying probe test program.

[0068] In the above implementation, a calibration reference image including a checkerboard area and a circuit board area is obtained, and based on the calibration reference image, the camera is calibrated to obtain calibrated camera parameters and a distortion conversion matrix, so that the image captured by the camera can be closer to the real circuit board, reducing the error caused by the camera imaging distortion. Then, the offset between the calibrated camera image and the actual coordinates of the circuit board to be tested is calculated by using the calibrated camera, the distortion conversion matrix and the actual wiring reference number preset on the circuit board to be tested. In actual testing, due to various reasons, the actual test point coordinates on the circuit board to be tested may deviate from the preset coordinates. By calculating the offset, it is convenient to correct the preset coordinates, so that it is convenient to correct the coordinates of each preset test point in the flying probe test according to the offset, thereby improving the accuracy of the preset test point coordinates, so that when the corrected preset test point coordinates are used for flying probe testing, the probe can accurately contact the test point on the circuit board to be tested according to the preset test point coordinates.

[0069] Reference Figure 2 , 3 As an implementation of step S102, step S102 specifically includes:

[0070] Step S1021: selecting at least four calibration reference points in the checkerboard area of ​​the calibration reference image;

[0071] The calibration reference points are checkerboard corner points on the calibration reference image, and the calibration reference points are represented by the camera coordinate system.

[0072] It should be understood that the selection of calibration reference points needs to meet the requirements of stability and representativeness. Stability means that the calibration reference points should be stable and reliable, easy to detect and identify, so in chessboard calibration, the corner points of the chessboard that are easy to identify are usually selected as calibration points. Representativeness means that the reference points should be able to cover a larger range as much as possible. And the number of calibration reference points can be greater than four. The more calibration reference points selected, the more accurate the calculated distortion transformation matrix, but at the same time the amount of calculation will increase, so the number of calibration reference points can be set according to the calibration efficiency and accuracy requirements.

[0073] Step S1022: obtaining the actual coordinates of the calibration reference points on the chessboard;

[0074] It should be understood that the chessboard is a pattern with known geometric dimensions, and the number, size and spacing of the chessboard grids need to be measured in advance, that is, the coordinates of each corner point on the chessboard are known, and the actual coordinates are the coordinates of the chessboard in the three-dimensional world coordinate system.

[0075] Step S1023: according to the cross ratio invariance, a linear equation group between the calibration reference point and the actual coordinates is established to solve the camera focal length, the optical center coordinates and the distortion transformation matrix;

[0076] It should be noted that the specific process of establishing the linear equations between the calibration reference points and the actual coordinates according to the cross ratio invariance can be referred to other prior arts and will not be repeated here. The focus of this embodiment is how to select the calibration reference points to meet the calibration requirements of the flying probe tester.

[0077] Step S1024: perform intrinsic calibration on the camera according to the focal length and the optical center coordinates of the camera to obtain a calibrated camera.

[0078] Reference Figure 3 As an implementation of step S1021, step S1021 specifically includes:

[0079] Step S10211: searching for rows and columns with complete checkerboards around the circuit board area in the calibration reference image;

[0080] The rows and columns of the complete chessboard refer to the rows and columns of the chessboard that are not blocked by the circuit board.

[0081] It should be understood that in actual aircraft testing scenarios, the shape of the circuit board is not necessarily a regular rectangle. Figure 3 , Figure 3 is a calibration reference image of a special-shaped circuit board placed on a chessboard. As an example, the rows of the complete chessboard are the 2nd and 10th rows, and the columns of the complete chessboard are the 2nd and 10th columns.

[0082] Specifically, the search for rows and columns with complete checkerboards can use an image processing library (such as OpenCV) to read the calibration reference image, and perform necessary grayscale conversion and filtering smoothing on the calibration reference image. Then, edge detection is performed on the smoothed calibration reference image to extract the edges of each row and column of the checkerboard in the calibration reference image, and record the positions where the edges of the checkerboard cannot be extracted. If the edges cannot be extracted, it means that the corresponding positions are blocked by the circuit board. Then, the rows and columns of the complete checkerboard closest to the positions where the edges of the checkerboard cannot be extracted are extracted, thereby achieving the effect of searching for rows and columns with complete checkerboards.

[0083] Step S10212: Determine a rectangular area in the checkerboard area based on rows and columns;

[0084] Step S10213: Using a corner point detection algorithm, the coordinates of the four corners of the rectangular area are identified to obtain at least four calibration reference points.

[0085] The corner detection algorithm can use the Harris corner detection algorithm to detect corners in the rectangular area of ​​the calibration reference image. Figure 3, point A, point B, point C and point D are the four calibration reference points obtained by identification. It can be seen that the four calibration reference points completely cover the area of ​​the circuit board. Using these four calibration reference points to calibrate the camera is more conducive to calibrating the optimal camera focal length, optical center coordinates and distortion transformation matrix according to the size and position of the current circuit board.

[0086] In the above implementation, by searching for complete checkerboard rows and columns around the circuit board area in the calibration reference image, the calibration reference points are evenly distributed, and the rows and columns are used to determine the rectangular area in the checkerboard area, which can completely cover the range of the circuit board. The four vertex coordinates of the rectangular area provide a clear search range for the subsequent corner point detection algorithm, further saving computing resources. The calibration reference points and actual coordinates obtained through these steps are used to establish a set of linear equations, which can solve the focal length, optical center coordinates and distortion transformation matrix of the camera, so as to subsequently correct the preset point coordinates.

[0087] Reference Figure 4 As an implementation of step S103, step S103 specifically includes:

[0088] Step S1031: obtaining an initial test image of the circuit board captured by a calibrated camera, and extracting the coordinates of the image reference points in the initial test image;

[0089] The image reference point coordinates are imaging points of actual wiring reference marks preset on the circuit board to be tested on the initial test image;

[0090] Step S1032: calibrating the image reference point coordinates according to the distortion transformation matrix to obtain the ideal reference point coordinates;

[0091] Specifically, ;

[0092] ;

[0093] Among them, k1 and k2 are radial distortion coefficients, p1 and p2 are tangential distortion coefficients; and Together they constitute the ideal reference point coordinates, i.e., the horizontal and vertical coordinates of the ideal reference point coordinates. x and y together constitute the image reference point coordinates, i.e., the horizontal and vertical coordinates of the image reference point coordinates. r is the distance between the ideal reference point coordinates and the image reference point coordinates.

[0094] in, Describes the degree of radial distortion, Describes the degree of tangential distortion.

[0095] Step S1033: according to the coordinates of the ideal reference points and the actual wiring reference marks of the circuit board to be tested, the offset between the image of the calibrated camera and the actual coordinates of the circuit board to be tested is obtained.

[0096] The offset between the image of the calibrated camera and the actual coordinates of the circuit board to be tested includes a lateral offset and a longitudinal offset.

[0097] Specifically, ; ;in, and They are respectively the horizontal coordinate and the vertical coordinate of the actual wiring reference number of the circuit board to be tested in the three-dimensional world coordinate system; and The horizontal offset and the vertical offset respectively.

[0098] Reference Figure 5 As an implementation of step S104, step S104 specifically includes:

[0099] Step S1041: acquiring a flying probe test image of the circuit board to be tested in real time;

[0100] Step S1042: analyzing the flying probe test image to identify the component assembly diagram and the conductive pattern in the flying probe test image;

[0101] Among them, the component assembly drawing is a graphic that shows the assembly of electronic components on a printed circuit board (PCB), showing the position, direction and layout of the components. The component assembly drawing is convenient for checking whether the circuit board components are correctly placed and connected. The conductive pattern represents the wires and conductive tracks on the printed circuit board (PCB) and is used to indicate the flow path of the current on the circuit board. By checking the conductive pattern, possible short circuits, open circuits or other electrical defects can be detected.

[0102] Step S1043: matching the component assembly drawing and the conductive pattern with a preset standard circuit board image to output a morphology test result;

[0103] It should be understood that if the matching degree between the component assembly drawing and the conductive pattern and the preset standard circuit board image is higher than a preset value, the output morphology test result is normal, otherwise the output morphology test result is abnormal.

[0104] Step S1044: Determine whether all corrected coordinates of preset test points are accurate according to the morphological test results; if so, execute step S1045; if not, execute step S1046.

[0105] Specifically, if the morphology test result is normal, it is determined that all the corrected preset test point coordinates are accurate. Otherwise, if the morphology test result is abnormal, it is determined that inaccurate preset test point coordinates exist in all the corrected preset test point coordinates.

[0106] Step S1045: moving the probe according to the corrected preset test point coordinates;

[0107] Step S1046: Identify inaccurate preset test point coordinates based on the morphological test results, and locally calibrate the inaccurate preset test point coordinates to temporarily update the corresponding preset test point coordinates, and move the probe according to the temporarily updated preset test point coordinates and the remaining corrected preset test point coordinates.

[0108] Among them, the remaining corrected preset test point coordinates are the coordinates whose morphological test result recognition result is accurate. For example, there are 20 corrected preset test point coordinates, of which 5 are recognized as inaccurate preset test point coordinates, then these 5 preset test point coordinates are locally calibrated to obtain 5 temporarily updated preset test point coordinates, and the remaining 15 corrected preset test point coordinates are recognized as accurate, so they remain unchanged.

[0109] It should be noted that when the morphological test results are abnormal, it means that the component assembly drawing and the conductive pattern may be displaced or deformed. This may be due to local deformation caused by mechanical stress or other environmental factors during the manufacturing or transportation of the circuit board. At this time, the corresponding preset test points around the abnormal area may also change, so it is necessary to temporarily update the coordinates of these preset test points that may change.

[0110] Temporary update refers to updating only during the flying probe test of the current circuit board to be tested. Since the deformation or abnormality of a single circuit board to be tested is not representative, after the flying probe test of the current circuit board to be tested is completed, the coordinates of the temporarily updated preset test points are restored to

[0111] The movable probe is used to perform one or more of an open circuit test, a short circuit test and a component pin contact test on the circuit board to be tested, and output the probe test result.

[0112] As an implementation of step S1046, step S1046 specifically includes:

[0113] Obtaining the position coordinates of the component assembly drawings or conductive patterns that are not successfully matched with the preset standard circuit board image in the morphological test results;

[0114] The preset test point coordinates around the position coordinates are regarded as inaccurate preset test point coordinates;

[0115] Based on the distance between the position coordinates and the actual coordinates of the preset test points on the test circuit board, the inaccurate coordinates of the preset test points are locally calibrated.

[0116] In addition, the present application embodiment discloses a flying probe test system. The flying probe test system can be applied to a computer device, which is a schematic diagram of the architecture of a computer device for implementing the above method provided by an embodiment of the present invention. In this embodiment, the computer device may include a flying probe test system, a machine-readable storage medium, and a processor.

[0117] In this embodiment, the machine-readable storage medium and the processor may be located in the computer device and the two are separately arranged. The machine-readable storage medium may also be independent of the computer device and accessed by the processor. The flying probe test system may include a plurality of functional modules stored in the machine-readable storage medium, such as the various software functional modules included in the flying probe test system. When the processor executes the computer program corresponding to the software functional module in the flying probe test system, the flying probe test system provided by the aforementioned method embodiment is implemented.

[0118] In this embodiment, the computer device may include one or more processors. The processor may process information and / or data related to the service request to perform one or more functions described in the present invention. In some embodiments, the processor may include one or more processing engines (e.g., a single-core processor or a multi-core processor). Just to give an example, the processor may include one or more hardware processors, such as a central processing unit CPU, an application-specific integrated circuit ASIC, a dedicated instruction set processor ASIP, a graphics processor GPU, a physical operation processing unit PPU, a digital signal processor DSP, a field programmable gate array FPGA, a programmable logic device PLD, a controller, a microcontroller unit, a reduced instruction set computer RISC, a microprocessor, etc., or similar or any combination thereof.

[0119] The machine-readable storage medium may store data and / or instructions. In some embodiments, the machine-readable storage medium may store acquired data or information. In some embodiments, the machine-readable storage medium may store data and / or instructions for execution or use by the computer device, and the computer device may implement the exemplary method described in the present application by executing or using the data and / or instructions. In some embodiments, the machine-readable storage medium may include a mass storage, a removable storage, a volatile read-write memory, a read-only memory ROM, etc., or any combination of the above examples. Exemplary mass storage may include a disk, an optical disk, a solid-state disk, etc. Exemplary removable storage may include a flash drive, a floppy disk, an optical disk, a memory card, a compressed disk, a magnetic tape, etc. Exemplary volatile read-write memory may include a random access memory RAM. Exemplary random access memory may include dynamic RAM, double rate synchronous dynamic RAM, static RAM, thyristor RAM, and zero capacitance RAM, etc. Exemplary ROM may include a masked ROM, a programmable ROM, an erasable programmable ROM, an electronically erasable programmable ROM, a compressed disk ROM, and a digital universal disk ROM, etc.

[0120] The flying probe test system included in the computer device may include one or more software function modules. The software function modules may be programs and instructions stored in the machine-readable storage medium, and these software function modules are used to implement the above-mentioned method when executed by the corresponding processor, for example, when executed by the processor of the drone, they are used to implement the method steps executed by the drone, or when executed by the computer device, they are used to implement the method steps executed by the computer device.

[0121] For details, refer to Figure 6 , the present application embodiment discloses a flying probe test system, comprising:

[0122] A calibration image acquisition unit, used to acquire a calibration reference image including a checkerboard area and a circuit board area; wherein the calibration reference image is acquired by placing the circuit board on the checkerboard;

[0123] A calibration unit, used to calibrate the camera based on the calibration reference image to obtain a calibrated camera and a distortion transformation matrix;

[0124] An offset calculation unit, used to calculate the offset between the image of the calibrated camera and the actual coordinates of the circuit board to be tested based on the calibrated camera, the distortion conversion matrix and the actual wiring reference numbers preset on the circuit board to be tested;

[0125] The test unit is used to correct the coordinates of the preset test points in the flying probe test by means of an offset, and to perform a flying probe test on the circuit board to be tested using the corrected coordinates of the preset test points.

[0126] A flying probe test system provided in the present application can implement the above-mentioned flying probe test method, and the specific working process of a flying probe test system can refer to the corresponding process in the above-mentioned method embodiment.

[0127] It should be noted that in the above embodiments, the description of each embodiment has different emphases, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0128] Based on the same technical concept, the present invention also discloses a flying probe tester, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program according to any of the above methods.

[0129] The present invention also discloses a computer-readable storage medium, which includes a computer program that can be loaded by a processor and executed as in any of the above methods.

[0130] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, 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 through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0131] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0132] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.

Claims

1. A flying probe test method, characterized in that: include: Acquire a calibration reference image including a checkerboard area and a circuit board area; wherein the calibration reference image is acquired by placing the circuit board on the checkerboard; Based on the calibration reference image, the camera is calibrated to obtain the calibrated camera and the distortion transformation matrix; Based on the calibrated camera, the distortion conversion matrix and the actual wiring reference marks preset on the circuit board to be tested, the offset between the imaging of the calibrated camera and the actual coordinates of the circuit board to be tested is calculated; Correcting the coordinates of each preset test point in the flying probe test by the offset, and performing the flying probe test on the circuit board to be tested by using the corrected preset test point coordinates; The method of calibrating the camera based on the calibration reference image to obtain a calibrated camera and a distortion transformation matrix specifically includes: selecting at least four calibration reference points in the checkerboard area of ​​the calibration reference image; obtaining the actual coordinates corresponding to the calibration reference points on the checkerboard; establishing a linear equation group between the calibration reference points and the actual coordinates based on the cross ratio invariance to solve the camera focal length, optical center coordinates and distortion transformation matrix; performing intrinsic parameter calibration on the camera based on the camera focal length and optical center coordinates to obtain a calibrated camera; The step of selecting at least four calibration reference points in the checkerboard area of ​​the calibration reference image specifically includes: searching for rows and columns with complete checkerboards around the circuit board area in the calibration reference image; determining a rectangular area in the checkerboard area based on the rows and columns; and identifying the coordinates of the four corners of the rectangular area by a corner point detection algorithm to obtain at least four calibration reference points; The method calculates the offset between the imaging of the calibrated camera and the actual coordinates of the circuit board to be tested based on the calibrated camera, the distortion conversion matrix and the actual wiring reference number preset on the circuit board to be tested, specifically including: obtaining the test initial image of the circuit board captured by the calibrated camera, and extracting the image reference point coordinates in the test initial image; wherein the image reference point coordinates are imaging points of the actual wiring reference number preset on the circuit board to be tested on the test initial image; calibrating the image reference point coordinates according to the distortion conversion matrix to obtain the ideal reference point coordinates; obtaining the offset between the imaging of the calibrated camera and the actual coordinates of the circuit board to be tested according to the ideal reference point coordinates and the actual wiring reference number of the circuit board to be tested; The method of performing a flying probe test on a circuit board to be tested using the corrected preset test point coordinates specifically includes: acquiring a flying probe test image of the circuit board to be tested in real time; analyzing the flying probe test image to identify a component assembly drawing and a conductive pattern in the flying probe test image; matching the component assembly drawing and the conductive pattern with a preset standard circuit board image to output a morphological test result; judging whether all corrected preset test point coordinates are accurate according to the morphological test result; if so, moving the probe according to the corrected preset test point coordinates; if not, identifying inaccurate preset test point coordinates according to the morphological test result, and locally calibrating the inaccurate preset test point coordinates to temporarily update the corresponding preset test point coordinates, and moving the probe according to the temporarily updated preset test point coordinates and the remaining corrected preset test point coordinates; wherein the temporary update refers to updating only in the flying probe test of the current circuit board to be tested; wherein the moving probe is used to perform one or more of an open circuit test, a short circuit test, and a component pin contact test on the circuit board to be tested, and output the probe test result.

2. The method according to claim 1, characterized in that The distortion conversion matrix includes radial distortion coefficients and tangential distortion coefficients.

3. The method according to claim 1, characterized in that The step of identifying inaccurate preset test point coordinates according to the morphological test results and locally calibrating the inaccurate preset test point coordinates specifically includes: Obtaining the position coordinates of the component assembly drawings or conductive patterns that are not successfully matched with the preset standard circuit board image in the morphological test results; The preset test point coordinates around the position coordinates are regarded as inaccurate preset test point coordinates; Based on the distance between the position coordinates and the actual coordinates of the preset test points on the test circuit board, the inaccurate coordinates of the preset test points are locally calibrated.

4. A flying probe test system, characterized in that: Based on the method described in any one of claims 1 to 3, the system comprises: A calibration image acquisition unit, used to acquire a calibration reference image including a checkerboard area and a circuit board area; wherein the calibration reference image is acquired by placing the circuit board on the checkerboard; A calibration unit, used to calibrate the camera based on the calibration reference image to obtain a calibrated camera and a distortion conversion matrix; An offset calculation unit, used to calculate the offset between the image of the calibrated camera and the actual coordinates of the circuit board to be tested based on the calibrated camera, the distortion conversion matrix and the actual wiring reference numbers preset on the circuit board to be tested; The test unit is used to correct the coordinates of the preset test points in the flying probe test by means of an offset, and to perform a flying probe test on the circuit board to be tested using the corrected coordinates of the preset test points.

5. A flying probe tester, characterized in that It comprises a flying probe test system as claimed in claim 4.

6. A computer-readable storage medium, characterized in that: The method comprises storing a computer program which can be loaded by a processor and execute the method according to any one of claims 1 to 3.