PIN position degree rapid detection device for PCB drilling machine

By setting up a needle position detection part on the PCB drilling machine, using the backlight group and industrial camera for image processing and coordinate alignment, the problem that the prior art cannot meet the high-precision PIN needle position detection is solved, and a fast and accurate detection effect is achieved.

CN120043446AInactive Publication Date: 2025-05-27YIOKIO TECH

Patent Information

Application Number
CN202510528047.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-25
Publication Date
2025-05-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology cannot meet the increasingly stringent PIN needle position detection requirements, and traditional detection methods are difficult to cope with the problem that the number of PIN needles in high-performance and high-precision PCB boards has increased exponentially and the spacing has become smaller.

Method used

A rapid detection device for PIN needle position degree for PCB drilling machine is designed, including a needle position detection part arranged above the drill bit, and a backlight group and an industrial camera to capture the light transmission diagram of the circuit board, and to quickly detect the accuracy of the PIN needle position through image processing, coordinate alignment and deviation analysis modules.

Benefits of technology

It realizes fast and accurate detection of PIN pin position, improves detection efficiency and accuracy, and can meet the detection needs of high-performance and high-precision PCB boards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120043446A_ABST
    Figure CN120043446A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of circuit board pin position detection, in particular to a PIN pin position degree rapid detection device for a PCB drilling machine, which comprises a pin position detection part arranged above a drill bit, and the pin position detection part comprises a backlight group for performing backlight on a drilled circuit board and an industrial camera for shooting a light transmission image of the circuit board; the backlight set comprises a backlight table arranged under the industrial camera, a plurality of LED light sources distributed on the inner bottom face of the backlight table at equal intervals, and a dodging set clamped in a top end opening of the backlight table. The dodging group is used for uniformly spreading the plurality of LED light sources to penetrate through the pinhole position of the circuit board to form light spots with consistent brightness; the industrial camera comprises an image processing module, a coordinate alignment module and a deviation analysis module. According to the circuit board drilling device, backlight is applied to a drilled circuit board through the arranged backlight set, then a light-transmitting graph of the circuit board is shot through the industrial camera, hole positions of the light-transmitting graph and a design drawing are compared through the image processing module and the coordinate alignment module, and the drilling accuracy is rapidly detected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of PCB pin position detection, and specifically provides a rapid PIN pin position detection device for a PCB drilling machine. Background Art

[0002] During the assembly process of PCB boards and connectors, the pin inserter plays a crucial role. Through precise mechanical and electronic control systems, it accurately inserts metal pins into the PIN positions on the board. Before that, a drilling machine is required to drill holes in the PCB board to form PIN positions. The main function of PIN pins in the PCB board is to conduct current and transmit signals, and the accuracy of their positions is directly related to the stability of device operation. Even a tiny deviation may cause problems such as poor contact and signal interruption.

[0003] The Chinese invention patent with the application number CN202210110999.X discloses a PIN position detection device for detecting the position of PIN pins on a product, including: a product positioning mechanism for clamping and fixing the product; and two sets of position detection mechanisms respectively arranged above and below the product for detecting the position of PIN pins at the upper and lower ends of the product. The PIN position detection device of the present invention is provided with a set of position detection mechanism above and below the product respectively to simultaneously detect the PIN pins on both sides of the product, with fast detection speed and high efficiency.

[0004] In the early stage, the design structure of PCB boards was simple and the functions were relatively single, and the requirements for the position accuracy of PIN pins were relatively loose. Traditional visual inspection and measuring tool inspection methods could still cope. With the rapid development of electronic technology, PCB boards are continuously developing towards high performance and high precision. Their internal structure is like a precise "miniature city" with highly dense components, the number of PIN pins has increased exponentially and the spacing has gradually become smaller. In this case, traditional detection methods can no longer meet the increasingly strict detection requirements, and it is urgent to introduce advanced and practical PIN pin position detection technology to ensure the quality and reliability of PCB boards. Summary of the Invention

[0005] In order to overcome the defects in the prior art, the purpose of the present invention is to provide a rapid PIN pin position detection device for a PCB drilling machine to solve the problems raised in the above background art.

[0006] To achieve the above purpose, the present invention provides a rapid PIN pin position detection device for a PCB drilling machine, including a pin position detection part arranged above the drill bit. The pin position detection part includes a backlight group for backlighting the drilled circuit board and an industrial camera for taking a light-transmitting image of the circuit board. The backlight group includes a backlight table placed directly below the industrial camera, several LED light sources evenly distributed on the inner bottom surface of the backlight table, and a light homogenizing group clamped in the top port of the backlight table; the light homogenizing group is used to evenly spread several LED light sources and form a light spot with consistent brightness through the pin holes of the circuit board. The industrial camera includes an image processing module, a coordinate alignment module, and a deviation analysis module; the image processing module extracts the hole position contour from the transmitted light image, and obtains the pixel coordinates of the actual hole position through morphological optimization and centroid positioning; the coordinate alignment module aligns the actual image coordinate system with the theoretical coordinate system of the design drawing through affine transformation; the deviation analysis module compares the actual hole position coordinates with the theoretical hole position coordinates and calculates the position deviation.

[0007] As a further improvement of this technical solution, the light homogenizing group sequentially includes a light guide layer, a diffusing layer, and a polarizing layer from bottom to top. The material of the light guide layer is polymethyl methacrylate or polycarbonate, and several scattering dots are printed on its bottom surface. The material of the diffusing layer is acrylic or opal glass, and a light homogenizing film is attached to its surface.

[0008] As a further improvement of this technical solution, a protective layer is fixedly arranged on the top end surface of the backlight table, and the protective layer is made of high-transparency glass.

[0009] As a further improvement of this technical solution, the image processing module performs denoising and binarization processing on the transmitted light image to clearly convert the hole edge of the image into a black and white binary image, distinguishing the hole position as white and the circuit board as a black background; the Canny operator or Sobel operator is used to extract the hole edge to extract the hole position contour.

[0010] As a further improvement of this technical solution, the image processing module eliminates small noise points through opening operation, and calculates the geometric center of each connected region to obtain the pixel coordinates of the actual hole position.

[0011] As a further improvement of this technical solution, the coordinate alignment module is used to identify the reference points on the circuit board, and aligns the actual image coordinate system with the theoretical coordinate system of the CAD design drawing through affine transformation of rotation, translation, and scaling.

[0012] As a further improvement of this technical solution, by importing the circuit board design drawing, the theoretical hole position coordinates are extracted; Coordinate deviation calculation: Position deviation: ΔX = X 1 -X 0 ,ΔY = Y 1 -Y 0 Comprehensive deviation: Euclidean distance Tolerance determination: Set the threshold to ±0.05 mm, then mark the out-of-tolerance hole positions.

[0013] As a further improvement of the technical solution, the industrial camera and the backlight table are installed on the mounting plate with upper and lower intervals, and a positioning group is provided on the front side of the mounting plate. The positioning group includes a pair of side clamping rods sliding on the top surface of the protective layer and a blocking rod passing through the bottom surfaces of the pair of side clamping rods; the blocking rod and the pair of side clamping rods enclose a space for positioning the circuit board.

[0014] As a further improvement of the technical solution, a plurality of through grooves are provided on the bottom surface of the side clamp rod and at equal intervals along its long side direction. The through grooves are holes that are wide at the upper end and narrow at the lower end and are adapted to be plugged into the barrier rod. A threaded rod is threadedly connected to the rear end of the side clamp rod. The threads of the two threaded rods are arranged in opposite directions. The two threaded rods are coaxially connected and a tube sleeve is provided on the connecting end. The tube sleeve is fixedly connected to the front side of the mounting plate.

[0015] As a further improvement of the technical solution, the inner side surface of the backlight platform is symmetrically provided with limiting ribs for supporting the light homogenization group.

[0016] Compared with the prior art, the present invention has the following beneficial effects: 1. The PIN needle position rapid detection device for PCB drilling machine uses a backlight group to backlight the circuit board after drilling, and then uses an industrial camera to take a light transmission image of the circuit board. The image processing module and coordinate alignment module are used to compare the hole position of the light transmission image with the design drawing to quickly detect the accuracy of the drilling.

[0017] 2. The PIN needle position rapid detection device for PCB drilling machine realizes uniform light output by setting up a uniform light group, utilizing total reflection inside the light guide layer and dot scattering, and eliminates the point-like light spots of the LED light source by scattering of the diffusion layer. The polarizing layer is orthogonal to the polarizing filter of the industrial camera to suppress the reflection on the circuit board surface, so that the photographed circuit board hole position transmittance image is clear and accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings described herein are only for explanation purposes and are not intended to limit the scope of the present invention in any way. In addition, the shapes and proportional dimensions of the various components in the drawings are only schematic, used to help understand the present invention, and are not specifically limited to the shapes and proportional dimensions of the various components of the present invention. Those skilled in the art, under the guidance of the present invention, select various possible shapes and proportional dimensions to implement the present invention according to specific circumstances.

[0019] Figure 1 It is a schematic diagram of the overall assembly structure of the present invention; Figure 2 This is a schematic diagram of the assembly structure of the needle position detection unit of the present invention; Figure 3 It is a partial exploded view of the needle position detection part of the present invention; Figure 4 It is a schematic diagram of the structure of the light homogenization group of the present invention; Figure 5 It is a partial split diagram of the positioning group of the present invention; The meaning of each number in the figure is: 100, drill bit; 110, X-direction feed platform; 120, Y-direction feed platform; 200, needle position detection unit; 210, backlight group; 211, backlight stage; 2111, limit ribs; 212, LED light source; 213, uniform light group; 2131, light guide layer; 2132, diffusion layer; 2133, polarizing layer; 214, protective layer; 220, industrial camera; 221, mounting plate; 230, positioning group; 231, side clamping rod; 2311, through slot; 232, stop rod; 233, threaded rod; 234, tube sleeve. DETAILED DESCRIPTION

[0020] The details of the present invention can be more clearly understood by combining the accompanying drawings with the description of the specific embodiments of the present invention. However, the specific embodiments of the present invention described herein are only used for the purpose of explaining the present invention and cannot be understood as limiting the present invention in any way. Under the guidance of the present invention, the technical personnel's conception is based on any possible variation of the present invention, which should be regarded as belonging to the scope of the present invention. The terms "installation" and "connection" should be understood in a broad sense, which means direct connection and indirect connection through an intermediate medium.

[0021] The terms "central axis", "vertical", "horizontal", "front", "back", "up", "down", "left", "right", "top", "bottom", "inside", "outside" and the like used herein to indicate positions or positional relationships are based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the equipment or elements referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, the meaning of "several" is two or more, unless otherwise clearly and specifically defined.

[0022] See also Figures 1 - 5 As shown, the present invention provides a PIN needle position rapid detection device for a PCB drilling machine, including a needle position detection unit 200 arranged above a drill bit 100, an X-axis feed platform 110 and a Y-axis feed platform 120 are arranged on the workbench of the drilling machine, the X-axis feed platform 110 is used to place a circuit board to be drilled by the drill bit 100, and the drilling machine is a prior art and is not described in detail here; the needle position detection unit 200 includes a backlight group 210 for backlighting the circuit board after drilling and an industrial camera 220 for taking a light transmission image of the circuit board; that is, the light transmission image formed by light transmission of the hole position is compared with the hole position of the design drawing to quickly detect the accuracy of the drilling.

[0023] Specifically, the backlight group 210 includes a backlight table 211 placed directly below the industrial camera 220, a plurality of LED light sources 212 evenly distributed on the inner bottom surface of the backlight table 211, and a light homogenizing group 213 clamped within the top port of the backlight table 211; the light homogenizing group 213 is used to uniformly propagate the plurality of LED light sources 212 and form a light spot with consistent brightness through the pinholes of the circuit board.

[0024] Furthermore, the light homogenizing group 213 sequentially includes a light guide layer 2131, a diffusing layer 2132, and a polarizing layer 2133 from bottom to top. The material of the light guide layer 2131 is polymethyl methacrylate or polycarbonate, and a plurality of scattering dots are printed on its bottom surface. Through simulation to optimize the dot density distribution, the uniformity of the light output surface is ensured; that is, light is uniformly output through total internal reflection and dot scattering inside the light guide layer 2131; it has the advantages of thin thickness, high light efficiency, and is suitable for large-size circuit board detection; The material of the diffusing layer 2132 is acrylic or milky white glass, and a light homogenizing film is attached to its surface, such as a prism film or a diffusion film; the dot-shaped light spot of the LED light source 212 is eliminated through scattering; the light is further homogenized through the superimposed microstructured light homogenizing film; the LED light source 212 has the advantages of long life, low power consumption, and adjustable brightness, and is suitable for high-precision detection; the polarization of the polarization layer 2133 is orthogonal to the polarization filter of the industrial camera to suppress the reflection on the surface of the circuit board, such as the reflection of copper foil.

[0025] Furthermore, a protective layer 214 is fixedly arranged on the top end surface of the backlight table 211. The protective layer 214 is made of high-transparency glass, so that the circuit board is placed with light transmission and does not scratch the light homogenizing group 213; symmetrical limiting ribs 2111 are arranged on the inner side surface of the backlight table 211 for supporting the light homogenizing group 213.

[0026] In addition, the industrial camera 220 and the backlight table 211 are installed at an interval up and down on the mounting plate 221, and the mounting plate 221 is inserted into the fixing plate of the drill bit 100; the backlight table 211 is inserted into the front side wall of the mounting plate 221 so as to replace the backlight table 211 of different sizes at any time to place the circuit board of the corresponding size to take a light transmission picture; a positioning group 230 is arranged on the front side of the mounting plate 221. The positioning group 230 includes a pair of side clamping rods 231 sliding on the top surface of the protective layer 214 and a stop rod 232 penetrating between the bottom surfaces of the pair of side clamping rods 231; the stop rod 232 and the pair of side clamping rods 231 enclose a space for positioning the circuit board, so that the picture after the circuit board is photographed with light transmission is regular, so as to facilitate subsequent fixed-point comparison with the design drawing.

[0027] Furthermore, a plurality of through grooves 2311 are provided on the bottom surface of the side clamping rod 231 and at equal intervals along its long side direction. The through grooves 2311 are holes that are wide at the upper end and narrow at the lower end and are adapted to be plugged into the blocking rod 232. A threaded rod 233 is threadedly connected to the rear end of the side clamping rod 231. The threads of the two threaded rods 233 are arranged in opposite directions. The two threaded rods 233 are coaxially connected and a tube sleeve 234 is provided at the connecting end. The tube sleeve 234 is fixedly connected to the front side surface of the mounting plate 221. Therefore, by rotating the threaded rod 233 at one end, the two side clamping rods 231 can be driven to move away or closer, thereby obtaining space for clamping circuit boards of different sizes.

[0028] Specifically, the industrial camera 220 includes an image processing module, a coordinate alignment module and a deviation analysis module; the image processing module is used to extract the hole contour from the light transmission image, and the pixel coordinates of the actual hole are obtained through morphological optimization and centroid positioning; the coordinate alignment module is used to align the actual image coordinate system with the theoretical coordinate system of the design drawing through affine transformation; the deviation analysis module is used to compare the actual hole coordinates with the theoretical hole coordinates and calculate the position deviation.

[0029] The image processing module performs denoising and binarization on the light-transmitting image to convert the image hole edges into a black and white binary image, distinguishing the white holes from the black background of the circuit board; Gaussian filtering or median filtering is used to eliminate image noise and enhance the clarity of the hole edges; the Canny operator or Sobel operator is used to extract the hole edges and hole contours, and the watershed algorithm is used to segment the adhered holes to eliminate the interference of multiple overlapping holes.

[0030] Furthermore, the image processing module uses an open operation, i.e., corrosion followed by expansion, to eliminate small noise points, and calculates the geometric center of each connected area to obtain the pixel coordinates X of the actual hole position. 1 ,Y 1 ,Z 1 .

[0031] Furthermore, the coordinate alignment module is used to identify reference points on the circuit board, align the actual image coordinate system with the theoretical coordinate system of the CAD design drawing through affine transformations such as rotation, translation, and scaling, and accelerate the alignment of the image and the design drawing through SIFT or ORB feature matching algorithms.

[0032] Specifically, by importing the circuit board design drawing, extracting the theoretical hole coordinates X 0 ,Y 0 ,Z 0 ; Coordinate deviation calculation: Position deviation: ΔX=X 1 -X 0 , ΔY=Y 1 -Y 0 Comprehensive deviation: Euclidean distance Tolerance determination: Set the threshold value to ±0.05 mm, and then mark the out-of-tolerance hole positions.

[0033] In addition, a feedback output module is set up to generate a visual deviation report; a deviation heat map is superimposed on the circuit board CAD design drawing, and the deviation levels are distinguished by colors, with red indicating out-of-tolerance and green indicating qualified; a statistical report including the qualification rate, maximum deviation, and average deviation is generated.

[0034] It also includes a dynamic lighting unit that automatically adjusts the backlight intensity according to the circuit board material, including the high-transmittance mode for FR4 substrates and the low-transmittance mode for aluminum substrates. Among them, the color temperature of the LED light source 212 is selected as cold white light at 5000 - 6500K, which is used to enhance the contrast between the hole positions and the circuit board background and is suitable for FR4 substrates with high-transmittance materials; warm white light at 3000 - 4500K is used to reduce the reflection interference of aluminum substrates; Brightness adjustment: Supports PWM or current adjustment, and dynamically adapts to circuit board materials with different light transmittance rates, such as thin / thick boards and metal / non-metal substrates; Uniformity index: The uniformity of the light-emitting surface needs to reach >90%, which is detected by a spectrophotometer and calculated according to the formula U = 1 - (maximum brightness - minimum brightness) / (maximum brightness + minimum brightness).

[0035] Specifically, the dynamic lighting unit includes a spectral analysis module for collecting the reflection spectrum on the surface of the circuit board and matching the material type; detecting the intensity and spectral distribution of the reflected light on the surface of the circuit board through an optical sensor, such as in the infrared and visible light bands; judging the type of circuit board substrate, such as FR4 substrate / aluminum substrate / ceramic substrate, through a material recognition module based on machine learning or spectral analysis. A multi-channel LED drive circuit is used to independently adjust the current ratio of cold white and warm white LEDs to achieve stepless color temperature switching; Control algorithm: First, obtain the stored optimal brightness, color temperature, and polarization parameters corresponding to different materials through a parameter matching database; then dynamically optimize the light source output according to the real-time detection data.

[0036] Specifically, the dimming parameters: For FR4 thin boards with high-transmittance materials, reduce the brightness to avoid overexposure, set to 2000 lux; for aluminum substrates or thick copper boards with low-transmittance materials, increase the brightness to enhance the light transmission contrast, set to 5000 lux. Light source brightness control: Adjust the LED drive current through PWM. For aluminum substrates, the current needs to be increased to 80%, and for FR4 substrates, it is reduced to 50%. Light source color temperature control: For a multi-color LED mixed light source, such as a cold white + warm white dual-channel, adjust the current ratio of each channel; 70% of cold white LEDs + 30% of warm white LEDs → output color temperature of 5500K.

[0037] In addition, the dynamic lighting unit further includes a closed-loop feedback controller that dynamically optimizes the light source parameters according to the real-time image quality to ensure the maximization of the imaging contrast of the hole positions. During the detection process, the image quality collected by the camera, such as the sharpness of the hole edge and the contrast to evaluate the dimming effect, is used. If the image is overexposed or underexposed, the brightness is automatically iteratively adjusted, such as stepping ±5%. If the hole position contour is blurred, the color temperature is adjusted or multi-spectral auxiliary lighting, such as infrared fill light, is enabled. Among them, it is preferred to ensure that there is no overexposure in the hole position area, and then the overall contrast is optimized.

[0038] Actual application cases Scenario 1: Aluminum substrate detection Problem: The aluminum substrate has strong reflection, and the traditional lighting causes the hole position edge to be blurred.

[0039] Dynamic dimming solution: After identifying the aluminum substrate, automatically enable warm white light at 4000K, increase the brightness to 4800 lux, and turn on the orthogonal polarization filter.

[0040] Imaging effect: The contrast between the light-transmitting area of the hole position and the reflective background is increased by 3 times.

[0041] Scenario 2: Blind hole detection of multi-layer FR4 board Problem: The light penetration at the bottom of the blind hole is insufficient, making it difficult to image.

[0042] Dynamic dimming solution: After identifying the thick FR4 board, switch to high-brightness cold white light at 6000K, with a brightness of 6000 lux, and add an 850nm infrared auxiliary light source.

[0043] Imaging effect: The details at the bottom of the blind hole are clearly visible, and the depth measurement error < 5μm.

[0044] When the PIN pin position rapid detection device for the PCB drilling machine of the present invention is in use, the drilled circuit board is placed above the light homogenization group 213 of the backlight table 211 and placed in the space surrounded by the positioning group 230 for positioning the circuit board, so that the picture taken after the circuit board transmits light is regular, in order to compare with the design drawing at fixed points subsequently; the optical sensor intelligently identifies the circuit board substrate material through the reflection spectrum, and the dynamic dimming unit is immediately started: warm white light at 4000K is enabled for the aluminum substrate, while the FR4 substrate is switched to cold white light at 6000K to ensure the maximization of the imaging contrast of the light-transmitting hole positions; At the same time, the industrial camera 220 is started to take the light-transmitting picture of the pin holes of the circuit board. The backlight is scattered by the light guide layer 2131, homogenized by the diffuser layer 2132, and filtered by the polarizer layer 2133 to form a uniform and interference-free lighting environment, so that the industrial camera 220 synchronously captures a 2D grayscale image and depth point cloud; subsequently, in the image preprocessing link, Gaussian filtering is used to remove noise, the Otsu algorithm is used for binary segmentation of the hole positions, the Canny edge detection and watershed algorithm are combined to accurately extract the hole contour, and the centroid coordinates are calculated. Based on the fiducial points of the PCB design drawing by SIFT feature matching, align the actual image with the theoretical coordinate system through affine transformation, and finally calculate the position deviation of each hole position, and determine whether it exceeds the tolerance by Euclidean distance; finally, the result is superimposed on the CAD design interface as a heat map, with abnormal hole positions marked in red, and at the same time a detection report containing indicators such as the qualification rate and the maximum deviation is generated.

[0045] It should be noted that the above embodiments are only for explaining the technical concept and features of the present invention, and their purpose is to enable those familiar with this technology to understand the content of the present invention and implement it accordingly, and should not be used to limit the protection scope of the present invention. Any equivalent changes or modifications made according to the spirit and essence of the present invention should be covered within the protection scope of the present invention.

Claims

1. A PIN needle position rapid detection device for a PCB drilling machine, characterized in that: It comprises a needle position detection unit (200) arranged above the drill bit (100), the needle position detection unit (200) comprising a backlight group (210) for backlighting the circuit board after drilling, and an industrial camera (220) for photographing a light transmission image of the circuit board; The backlight group (210) comprises a backlight platform (211) placed directly below the industrial camera (220), a plurality of LED light sources (212) distributed at equal intervals on the inner bottom surface of the backlight platform (211), and a light homogenization group (213) snapped into a top port of the backlight platform (211); the light homogenization group (213) is used to evenly spread the plurality of LED light sources (212) to form a light spot with uniform brightness through pinholes of a circuit board; The industrial camera (220) comprises an image processing module, a coordinate alignment module and a deviation analysis module; the image processing module is used to extract the hole position contour from the light transmission image, and the pixel coordinates of the actual hole position are obtained through morphological optimization and centroid positioning; the coordinate alignment module is used to align the actual image coordinate system with the theoretical coordinate system of the design drawing through affine transformation; The deviation analysis module compares the actual hole position coordinates with the theoretical hole position coordinates and calculates the position deviation.

2. The PIN needle position rapid detection device for a PCB drilling machine according to claim 1 is characterized in that: The light homogenizing group (213) comprises, from bottom to top, a light guiding layer (2131), a diffusion layer (2132) and a polarizing layer (2133); the light guiding layer (2131) is made of polymethyl methacrylate or polycarbonate, and a plurality of scattering dots are printed on its bottom surface; the light homogenizing layer (2132) is made of acrylic or milky white glass, and a light homogenizing film is attached to its surface.

3. The PIN needle position rapid detection device for a PCB drilling machine according to claim 2 is characterized in that: A protective layer (214) is fixedly provided on the top surface of the backlight platform (211), and the protective layer (214) is made of high-transmittance glass.

4. The PIN needle position rapid detection device for a PCB drilling machine according to claim 3 is characterized in that: The image processing module performs denoising and binarization on the light-transmitting image to convert the hole edge of the image into a black and white binary image, distinguishing the white hole position from the black background of the circuit board; the Canny operator or Sobel operator is used to extract the hole edge and the hole position contour.

5. The PIN needle position rapid detection device for a PCB drilling machine according to claim 4 is characterized in that: The image processing module eliminates small noise points through opening operations and calculates the geometric center of each connected area to obtain the pixel coordinates (X1, Y1, Z1) of the actual hole position.

6. The PIN needle position rapid detection device for a PCB drilling machine according to claim 5, characterized in that: The coordinate alignment module is used to identify the reference points on the circuit board and align the actual image coordinate system with the theoretical coordinate system of the CAD design drawing through affine transformations such as rotation, translation, and scaling.

7. The PIN needle position rapid detection device for a PCB drilling machine according to claim 6 is characterized in that: By importing the circuit board design drawing, extract the theoretical hole coordinates (X0, Y0, Z0); Coordinate deviation calculation: The position deviation is ΔX=X1-X0, ΔY=Y1-Y0, The comprehensive deviation is the Euclidean distance , When judging the tolerance, the threshold is set to ±0.05mm, and the holes that exceed the tolerance are marked.

8. The PIN needle position rapid detection device for a PCB drilling machine according to claim 7, characterized in that: The industrial camera (220) and the backlight table (211) are installed on the mounting plate (221) with an interval between the upper and lower parts. A positioning group (230) is provided on the front side of the mounting plate (221). The positioning group (230) includes a pair of side clamping rods (231) sliding on the top surface of the protective layer (214) and a blocking rod (232) penetrating between the bottom surfaces of the pair of side clamping rods (231); the blocking rod (232) and the pair of side clamping rods (231) enclose a space for positioning a circuit board.

9. The PIN needle position rapid detection device for a PCB drilling machine according to claim 8, characterized in that: A plurality of through grooves (2311) are provided on the bottom surface of the side clamp rod (231) and at equal intervals along the long side direction thereof. The through grooves (2311) are holes that are wide at the upper end and narrow at the lower end and are adapted to be plugged into the blocking rod (232). A threaded rod (233) is threadedly connected to the rear end of the side clamp rod (231). The threads of the two threaded rods (233) are arranged in opposite directions. The two threaded rods (233) are coaxially connected and a tube sleeve (234) is provided on the connecting end. The tube sleeve (234) is fixedly connected to the front side of the mounting plate (221).

10. The PIN needle position rapid detection device for a PCB drilling machine according to claim 9, characterized in that: The inner side surface of the backlight platform (211) is symmetrically provided with limiting ribs (2111) for supporting the light homogenization group (213).

Citation Information

Patent Citations

  • Hole inspection method of PCB

    CN112529902A

  • Pin position degree detection device

    CN114459402A

  • Back drilling hole machine

    CN208116812U

  • Drilling machine

    CN211867951U

  • Light guide panel, surface light source apparatus comprising light guide panel and flat panel display comprising surface light source apparatus

    KR1020130001110A

Cited By

  • ALC plate drilling device

    CN120326798A