Light-emitting angle adjusting method applied to PCB blind hole detection
By adjusting the angle of the side light emitting body through the detection device, the problem of time-consuming adjustment of the side light source angle in the prior art is solved, and more efficient and accurate blind hole detection is achieved, ensuring that the blind hole is uniformly illuminated and the detection is improved. reliability.
Patent Information
- Application Number
- CN202411424432.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2044-10-12
AI Technical Summary
The prior art requires multiple photographs and analysis when adjusting the angle of the side light source, which makes the process time-consuming and inefficient, especially when finding the optimal angle requires multiple adjustments and testing.
Through the detection device, the angle A and angle B are determined according to the blind hole parameters and the distance of the side light emitters by using two oppositely arranged side light emitters, and the inclination angle of the side light emitter is adjusted so that the light can evenly illuminate the entire blind Holes ensure maximum bright area and confirm the reliability of adjustment through image detection.
The side light source angle adjustment process is simplified, the detection efficiency and accuracy are improved, the adjustment times are reduced, the blind holes are uniformly illuminated, and the detection reliability is improved.
Smart Images

Figure CN119291978A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of PCB detection light sources, and in particular to a light emitting angle adjustment method applied to PCB blind hole detection. Background Art
[0002] With the continuous development of social economy, in the electronic manufacturing industry, the requirements for the accuracy and efficiency of PCB blind hole detection are getting higher and higher, and side light source illumination is the key factor to ensure the accuracy of PCB blind hole detection. Due to its special structure, blind holes usually require precise lighting to clearly capture the edges and inner walls of the blind holes. Different types of blind holes may require adjustment of the side light source angle to achieve the required lighting area, thereby reducing the shadow inside the blind hole and achieving better imaging effects. For example, the patent document with patent application number 201910784907.4 and publication date 2019.11.08 discloses a side light source adjustment system and method for automatic optical vision inspection equipment, including a PLC component and a focus subsystem of an array camera connected to the PLC component, a side light source adjustment component and an industrial computer component. The side light source adjustment component includes a fixed base, a first lifting module and a first lifting motor connected in sequence. The side light source, the mounting bracket, the fastening plate and one side of the first lifting module are connected in sequence. An angle adjustment motor is provided at one end of the mounting bracket, and the angle adjustment motor is connected to the side light source through a second motor coupling; the PLC component includes a PLC controller and a driver connected to the first lifting motor and the angle adjustment motor; the industrial computer component includes an industrial computer, and the industrial computer includes a calculation module and a judgment module. A person uses the PLC component to control the first lifting motor and the angle adjustment motor to quickly adjust the height and angle of the side light source; the industrial computer component calculates and determines the optimal mobile phone screen imaging image to improve the accuracy of the adjustment result.
[0003] In the above literature, during the process of adjusting the side light source, the staff uses the PLC component to control the first lifting motor and the angle adjustment motor to adjust the height and angle of the side light source, the area array camera component automatically takes pictures, and the industrial computer component uses the side light source uniformity function to determine the optimal mobile phone screen imaging image, thereby determining the height and angle of the side light source. This document does not determine the angle direction of a side light source at the beginning of the adjustment. Each time the side light source angle is adjusted, it is necessary to take pictures and analyze the image and then make blind adjustments. The whole process is time-consuming, especially when the best angle can only be found after multiple adjustments and tests. Summary of the invention
[0004] The invention provides a light emitting angle adjustment method applied to PCB blind hole detection, which is convenient and reliable to adjust.
[0005] To achieve the above object, the technical solution of the present invention is: a method for adjusting the light angle applied to PCB blind hole detection, which is implemented by a detection device, the detection device includes a side light source module, and the side light source module includes two side light emitters arranged oppositely, and the specific steps include: S1: two side-light illuminators are arranged on both sides of the blind hole, and the two side-light illuminators are arranged symmetrically about the axis of the blind hole; S2 determines the maximum luminous angle of each side-light emitter , blind hole parameters and distance parameters of the side-light illuminant from the blind hole; S3 determines the angle A at which the side-light illuminator irradiates one side of the blind hole and the angle B at which the side-light illuminator irradiates the other side of the blind hole according to the maximum irradiation angle of the side-light illuminator, the blind hole parameter and the distance parameter between the side-light illuminator and the blind hole; S4 adjusts the inclination angle between the side light illuminator and the vertical plane to v, so that after the rotation, the angle between the light emitted by the side light illuminator and one side of the blind hole is A, and the angle between the light emitted by the side light illuminator and the other side of the blind hole is B.
[0006] The above setting determines the angle required for the light on both sides of the side light emitter to pass through the two side edges of the blind hole within the luminous angle according to the horizontal distance and vertical distance between the blind hole and the vertical plane on which the side light emitter is installed, and then adjusts the angle between the side light emitter and the vertical plane on which the side light emitter is installed according to the angle value, so that the light emitted by the side light emitter after adjustment can illuminate the entire blind hole, ensuring that the blind hole is illuminated by a large range of the side light emitter.
[0007] Furthermore, in step S2: the blind hole parameters include the width d1 of the bottom of the blind hole and the height h1 of the blind hole; the distance parameters of the side-light emitter from the blind hole include the height h2 between the middle of the side-light emitter and the blind hole and the horizontal distance s1 between the side of the blind hole close to the side-light emitter and the side-light emitter.
[0008] The above settings make it convenient to subsequently calculate the corresponding angle A and angle B through the above distance settings.
[0009] Furthermore, in step S3, the angle A of the side-light illuminator 2 irradiating one side of the blind hole is determined by tanA=s1 / h2; and the angle B of the side-light illuminator 2 irradiating the other side of the blind hole is determined by tanB=h2 / (s1+d1).
[0010] With the above settings, the angle value can be determined conveniently and accurately according to trigonometric functions, and the calculation is simple.
[0011] Further, step S4 includes the following steps: / 2-A; 90-A≤B+ .
[0012] The above setting, through the setting of the tilt angle, makes one side of the light emitted by the side light emitter pass through one edge of the blind hole, and the other side of the light emitted passes through the other edge of the blind hole, so that when the light angle is greater than this angle, it can ensure that the entire blind hole has light passing through, and the side light emitter on one side is adjusted in this way, the light emitted by the side light emitter on the other side will illuminate the light on one side, thereby maximizing the bright area of the entire blind hole.
[0013] Furthermore, after step S4, the following step is further performed: if 90-A -B≤ , you can choose another side-light illuminator with a luminous angle, and adjust the inclination angle v so that the inclination angle v can satisfy the light v≥90- / 2-A.
[0014] The above arrangement can adjust the side light emitter to ensure the accuracy of detection when the angle B does not meet the requirements.
[0015] Furthermore, after step S4, the method further includes: S6 installing the side light illuminator on the detection device according to the adjusted tilt angle v, and then obtaining a photo of the blind hole by using the adjusted side light illuminator through the detection device, and then comparing the obtained bright area of the blind hole with the bright area of the preset blind hole. If the bright area in the obtained blind hole photo is smaller than the bright area in the preset blind hole photo, v can be further increased, and then the detection is continued after the tilt angle v is adjusted, until the bright area in the blind hole photo matches the bright area in the preset blind hole photo.
[0016] The above settings are further confirmed by image detection after adjusting the tilt angle, thereby ensuring the reliability of the adjustment. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a schematic diagram of the vertical installation of the side-light illuminant in the present invention.
[0018] Figure 2 Schematic diagram of adjusting the angle v1 of the side light emitter in the present invention.
[0019] Figure 3 Schematic diagram of adjusting the angle v2 of the side light emitter in the present invention.
[0020] Figure 4 It is a schematic diagram of the blind hole area obtained by testing and the preset blind hole area in the present invention.
[0021] Figure 5 This is a diagram showing the arrangement of the side-light emitter on the detection device in the present invention.
[0022] Figure 6 It is a flow chart of the present invention.
[0023] Description of the accompanying figures: 1-blind hole; 2-side light illuminator; 3-detection device. DETAILED DESCRIPTION
[0024] like Figure 1-3 As shown, a method for adjusting the light angle applied to PCB blind hole detection includes a side light source module, the side light source module includes two side light emitters 2, and the specific steps include: S1: two side-light illuminators 2 are arranged on both sides of the blind hole 1, and the two side-light illuminators 2 are arranged symmetrically on the axis of the blind hole 1; S2 determines the maximum luminous angle of each side-light emitter 2 , the width d1 of the bottom of the blind hole, the height h1 of the blind hole, the height h2 between the middle of the side-light emitter 2 and the blind hole, and the horizontal distance s1 between the side of the blind hole close to the side-light emitter 2 and the side-light emitter 2; among the above parameters, the maximum luminous angle of each side-light emitter 2 It can be measured by optical instruments, and the parameters of blind holes can be measured by distance meters, etc.
[0025] S3 determines the angle A between the side light emitter 2 and the side light emitter 2 according to the horizontal distance s1 between the side of the blind hole close to the side light emitter 2 and the height h2 between the middle of the side light emitter 2 and the blind hole, and is determined by the following formula (1): tanA=s1 / h2(1) The angle B between the side light emitter 2 and the other side of the blind hole is determined based on the height h2 between the middle of the side light emitter 2 and the blind hole and the distance between the side of the blind hole away from the side light emitter 2. The angle B is determined by the following formula (2): tanB=h2 / (s1+d1)(2); The blind hole S4 is calculated to adjust the inclination angle of the side light emitter 2 to the vertical plane to be v, so that after the rotation, the angle between the light emitted by the side light emitter 2 and one side of the blind hole is A, and the angle between the light emitted by the side light emitter 2 and the other side of the blind hole is B.
[0026] Specifically, the tilt angle ; The derivation process of the above tilt angle v is as follows Figure 2 As shown, When the side-light emitter 2 is rotated by an angle v with the vertical plane, one side of the light emitted by the side-light emitter within the luminous angle passes through one side of the blind hole and enters the blind hole, and then the other side of the light emitted by the side-light emitter passes through the other side of the blind hole, so that the light within the entire luminous angle passes through the blind hole. The maximum inclination angle is when the light emitted from the outermost side of the luminous angle passes through the edge of one side of the blind hole and the edge of the other side of the blind hole respectively. If the side-light emitter continues to be rotated so that the luminous angle covers more blind hole areas, the minimum rotation angle should be that the edge of the luminous angle rotates to the edge of one side of the blind hole, and the edge of the other side of the luminous angle rotates to the edge of the other side of the blind hole. Figure 2 The middle dotted line indicates that all the light within the luminous angle range passes through the blind hole after rotation.
[0027] Therefore, the light on both sides of the luminous angle passes through the two sides of the blind hole respectively, and the angle A can be calculated by formula (1), and then according to ,in is the angle between the side light emitter 2 and the light passing through one side of the blind hole 2 after rotation. The formula is that the sum of the angles between the two sides of the light emitting angle and the side light emitter 2 is 180 degrees.
[0028] and ; thereby .
[0029] In addition, in order to ensure that the light on the other side of the luminous angle is at the edge of the other side of the blind hole, the maximum angle A is the luminous angle and the included angle B. If the luminous angle continues to expand outward, the luminous angle will expand outward, and light will pass through the other side of the blind hole, such as Figure 3 As shown, the rotation angle v2 is smaller than v1, so that the emitted light passes through the other side of the blind hole, and within the luminous angle, according to 90-A -B≤ .
[0030] According to steps S2-S4, the inclination angles of the side light emitters on both sides are adjusted, and the two side light emitters are arranged symmetrically.
[0031] In another embodiment, after step S4, the method further includes: If S5 does not meet 90-A -B≤ , you can choose another side-light illuminator with a light-emitting angle, and adjust the inclination angle v so that the inclination angle v can satisfy the light v≥90- / 2-A.
[0032] This can ensure that the light on both sides of the side-light illuminator can better meet the requirements within the luminous angle.
[0033] In yet another embodiment, after step S4, the method further includes: S6: The side light emitter 2 is mounted on the detection device according to the adjusted tilt angle v, and then the detection device uses the adjusted side light emitter 2 to obtain a photo of the blind hole, and then the bright area of the obtained blind hole is compared with the bright area of the preset blind hole, such as Figure 5 As shown, if the bright area S1 in the obtained blind hole photo is smaller than the bright area S2 in the preset blind hole photo, v can be further increased, and then the detection is continued after adjusting the tilt angle v, until the bright area in the blind hole photo matches the bright area in the preset blind hole photo. If the bright area in the obtained blind hole photo is greater than or equal to the bright area in the preset blind hole photo, the detection can be achieved without further adjustment.
[0034] This can prevent the problem of mismatch between the brightness of the blind hole detected and the actual brightness caused by installation errors after installation, and can also avoid the problem of detection mismatch during the detection process, further ensuring the stability of the detection.
[0035] When selecting the side-light illuminator 2, the luminous angle should be larger than the angle of the illumination area required by the blind hole 1, so as to meet the illumination needs of the blind hole 1. This can not only improve the uniformity and efficiency of the illumination, but also avoid the generation of shadows due to insufficient illumination.
[0036] like Figure 5 As shown, the detection device 3 includes a frame (not shown in the figure) and a linear array scanning camera, and then the side light source module is arranged below the linear array scanning camera, and the side light source module includes two side light emitters 2, and the two side light emitters 2 are arranged opposite to each other. The side light emitters 2 are arranged on the linear array scanning camera mounting frame through mounting plates. A mounting hole for the side light emitter 2 is provided on the linear array scanning camera mounting frame, and there is a gap between the mounting hole and the side light emitter 2, and the inclination angle of the side light emitter 2 can be adjusted by the mounting plate on the side light emitter 2.
[0037] Two side light emitters 2 are arranged opposite to each other above the blind hole 1. The two side light emitters 2 illuminate the blind hole 1 from two directions, and the two side light emitters 2 are arranged at the same adjustment angle v, so that the light inside the blind hole 1 can be more uniform.
[0038] The working principle of the present invention is as follows: before adjusting the angle of the side-light illuminator 2, the required angle for the light on both sides of the side-light illuminator to pass through the two side edges of the blind hole within the luminous angle is determined according to the horizontal distance and the vertical distance between the blind hole and the vertical plane on which the side-light illuminator is installed, and then the angle between the side-light illuminator 2 and the vertical plane on which the side-light illuminator is installed is adjusted according to the angle value, so that the light emitted by the side-light illuminator 2 after adjustment can illuminate the entire blind hole, ensuring that the blind hole is illuminated by a large range of the side-light illuminator, thereby improving the reliability of detection, and the inclination angle can be roughly adjusted first according to information such as the parameter value of the blind hole, without the need to determine the adjustment direction based on the image situation, thereby making it impossible to meet the requirements after multiple adjustments, resulting in a complex adjustment method.
Claims
1. A method for adjusting the light angle applied to PCB blind hole detection is implemented by a detection device, the detection device includes a side light source module, characterized in that: The side light source module includes two side light emitters arranged opposite to each other, and the specific steps include: S1: two side-light illuminators are arranged on both sides of the blind hole, and the two side-light illuminators are arranged symmetrically about the axis of the blind hole; S2 determines the maximum luminous angle of each side-light emitter , blind hole parameters and distance parameters of the side-light illuminant from the blind hole; S3 determines the angle A at which the side-light illuminator irradiates one side of the blind hole and the angle B at which the side-light illuminator irradiates the other side of the blind hole according to the maximum irradiation angle of the side-light illuminator, the blind hole parameter and the distance parameter between the side-light illuminator and the blind hole; S4 adjusts the inclination angle of the side light illuminator 2 and the vertical plane to v, so that after the rotation, the angle between the light emitted by the side light illuminator 2 and one side of the blind hole is A, and the angle between the light emitted by the side light illuminator 2 and the other side of the blind hole is B.
2. The method for adjusting the light emitting angle for PCB blind hole detection according to claim 1, characterized in that: In step S2: the blind hole parameters include the width d1 of the bottom of the blind hole and the height h1 of the blind hole; the distance parameters between the side light emitter and the blind hole include the height h2 between the middle of the side light emitter and the blind hole and the horizontal distance s1 between the side of the blind hole close to the side light emitter and the side light emitter.
3. The method for adjusting the light emitting angle for PCB blind hole detection according to claim 1, characterized in that: In step S3, the angle A of the side light emitting body 2 irradiating to one side of the blind hole is determined by tanA=s1 / h2; the angle B of the side light emitting body 2 irradiating to the other side of the blind hole is determined by tanB=h2 / (s1+d1).
4. The method for adjusting the light emitting angle for PCB blind hole detection according to claim 1, characterized in that: Step S4 includes tilting angle v≥90- / 2-A; 90-A≤B+ .
5. The method for adjusting the light emitting angle for PCB blind hole detection according to claim 1, characterized in that: After step S4, the following step is further followed: if 90-A -B≤ , you can choose another side-light illuminator with a luminous angle, and adjust the inclination angle v so that the inclination angle v can satisfy the light v≥90- / 2-A.
6. The method for adjusting the light emitting angle for PCB blind hole detection according to claim 1, characterized in that: After step S4, the method further includes: S6 installing the side light illuminator on the detection device according to the adjusted tilt angle v, and then obtaining a photo of the blind hole by using the adjusted side light illuminator through the detection device, and then comparing the obtained bright area of the blind hole with the bright area of the preset blind hole. If the bright area in the obtained blind hole photo is smaller than the bright area in the preset blind hole photo, v can be further increased, and then the detection is continued after the tilt angle v is adjusted, until the bright area in the blind hole photo matches the bright area in the preset blind hole photo.
Citation Information
Patent Citations
Detection apparatus, detection system and detection method of defects in blind vias of printed circuit board
CN104777165A
Lighting device, machine vision device and lighting adjusting method
CN109630912A
Side light source adjusting system and method applied to automatic optical visual inspection equipment
CN110430363A
Hole plugging defect detection method and hole plugging defect detection equipment based on image detection
CN112444490A
Circuit board blind hole quality detection method and system
CN116295047A