A PCB offset hole detection method
By scanning and establishing a three-dimensional model of the large-deep diameter ratio hole of the PCB, the offset information of the partial hole hole segment is solved, and the problems of low detection efficiency and large measurement error in the prior art are achieved, and a higher precision partial hole is achieved Test.
Patent Information
- Application Number
- CN202411132189.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-19
AI Technical Summary
The prior art has low detection efficiency and measurement limitations when detecting the deviation of the large-depth diameter of the PCB than the hole. It is impossible to accurately measure the deviation value and the direction of the deviation hole, and there are large measurement errors, which affect the judgment.
By scanning the drill holes, a three-dimensional model is established to calculate the offset information of the partial hole segment, including the offset angle, offset distance and offset depth, and the accurate positioning of the partial hole axis point is achieved using CT scan and virtual three-dimensional model. and calculation of offset information.
It improves the accuracy of partial hole detection, breaks through the limitations of traditional glue filling and CPK methods, provides a more accurate detection method for the drilling production process, and reduces measurement errors.
Smart Images

Figure CN118654609B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of hole deviation detection after drilling, and in particular to a PCB deviation hole detection method. Background Art
[0002] With the development of multi-layer PCB boards, the demand for large aspect ratio holes is increasing rapidly; large aspect ratio holes refer to holes with small diameter (for example, diameter ≤0.3mm) and large depth (for example, drilling depth ≥3.0mm); large aspect ratio holes are prone to hole offset defects during drilling, and due to their small diameter and large depth, this poses a challenge to the hole quality detection method.
[0003] There is a problem of offset holes in the processing of large aspect ratio holes in PCB, and the axis line of the offset hole is a three-dimensional curve. The current detection method for PCB offset holes adopts the CPK method and traditional glue filling and slicing, which has low detection efficiency and measurement limitations. It only reflects the two-dimensional offset hole information and cannot judge and accurately measure the quantitative information such as the offset hole deviation value and offset hole direction of the offset hole.
[0004] For example, patent CN201822017007.0 discloses a connecting rod structure slicing fixture, which can realize slicing grinding at different angles and provide observation data of slicing at various angles. For example, patent CN201110339994.6 provides a microscope observation method for metallographic slicing, which improves the flatness of metallographic slicing sample placement, makes the clarity consistent when observing each area of metallographic slicing, and improves the overall experimental speed and efficiency. For example, patent CN201110339994.6 provides a microscope observation method for metallographic slicing, which improves the flatness of metallographic slicing sample placement, makes the clarity consistent when observing each area of metallographic slicing, and improves the overall experimental speed and efficiency. After slicing, these patents often use metallographic microscopes to measure the two-dimensional information of the eccentric hole slices. The measurement process can only measure the single position data value of the target object, and cannot reflect the overall deviation. There is a large measurement error, which affects the judgment; at the same time, the use of metallographic microscopes for measurement has the problem of large manual measurement errors, and the error is often as large as 20-50μm, which has a great impact on the result judgment. In addition, the production of glue-filled slices requires sample cutting, cleaning, glue-filling curing, grinding and other steps. A single slice takes 20 to 30 minutes, and the detection efficiency is low. The above method of obtaining the required observation standards by controlling the thickness, angle and direction of the PCB hole quality metallographic slice grinding has great limitations.
[0005] Patent CN202310418472.8 discloses a method for fusing and cutting CT images of cultural relics with three-dimensional shells based on VTK, which can intuitively display the structure, density, and texture direction of each part of the cultural relics. At the same time, it supports a three-dimensional visualization system with multi-viewing angles and slice observation in any direction, and realizes functions such as scaling, translation, rotation of three-dimensional images, and adjustment of grayscale parameters of slice sections through graphical interactions such as mouse and keyboard.
[0006] Patent CN202021713819.X discloses a slice observation device that automatically adjusts the level, which ensures the horizontal placement of the slice observation frame and the slice observation base, avoids the problem of the overall tilt of the slice observation device due to the tilt of the placement position, and improves the practicality of the slice observation device. Patent CN202020901568.1 discloses a multi-degree-of-freedom pathology slice observation device, which can form a horizontal 360-degree rotation of the entire device, and realizes the horizontal 360-degree observation of the slice by the device without dead angles. Patent CN201810960647.7 discloses an automatic slice scanning system and method, which solves the problem of long time and low precision in slice observation in the prior art, and has the effect of realizing automatic access and automatic scanning of slices. These patents propose a method for observing slices, but do not propose a method for quantitatively measuring the three-dimensional bias hole situation and offset of PCB, and fail to solve the detection problem of establishing three-dimensional information of bias holes. Summary of the invention
[0007] In view of this, the present application aims to solve the problems in the related art to at least a certain extent. The purpose of the present application is to provide a PCB offset hole detection method, which can accurately calculate the offset information of the offset hole segment by scanning the drilled hole and establishing a three-dimensional model, thereby improving the accuracy of offset hole detection.
[0008] In order to achieve the above purpose, the present application adopts the following technical solution: a PCB offset hole detection method, comprising:
[0009] Scanning the borehole to obtain the shape contour of the borehole; the borehole includes a cylindrical hole section and a deviated hole section; the cylindrical hole section coincides with the target hole;
[0010] According to the shape contour of the drilled hole, the axis center line of the cylindrical hole section and the axis center line of the offset hole section are obtained;
[0011] Determine the coordinate origin and obtain the position of the axis point of the offset hole in the coordinate system; the axis point of the offset hole is located on the axis line of the offset hole segment;
[0012] Calculate the offset information of the axis point of the offset hole, and summarize it to get the offset information of the offset hole section.
[0013] Further, obtaining the position of the axis point of the offset hole in the coordinate system includes:
[0014] A first plane, a second plane and a third plane are set; the first plane is a plane passing through the axis line of the cylindrical hole segment and the axis point of the offset hole, the second plane is a plane passing through the axis point of the offset hole and perpendicular to the first plane; the third plane is a plane passing through the axis point of the offset hole and perpendicular to the first plane and the second plane at the same time; the intersection of the first plane, the second plane and the third plane is the axis point of the offset hole.
[0015] Furthermore, the degree of freedom of the first plane is rotation around the axis of the cylindrical hole segment, the degree of freedom of the second plane is movement along the axis of the offset hole segment, and the degree of freedom of the third plane is movement along a straight line perpendicular to the first plane and the second plane; the first plane, the second plane and the third plane are scanned along their respective degrees of freedom to obtain a number of offset hole axis points.
[0016] Furthermore, the offset information of the offset hole axis point includes: a deviation value between the offset hole axis point and the target hole; the deviation value between the offset hole axis point and the target hole is equal to a straight-line distance between the offset hole axis point and the first plane.
[0017] Furthermore, the offset information of the offset hole axis point includes: an offset angle of the offset hole axis point relative to the coordinate origin, an offset distance of the offset hole axis point relative to the coordinate origin, and a depth of the offset hole axis point in the drill hole.
[0018] Furthermore, the method for calculating the offset angle of the axis point of the offset hole relative to the coordinate origin includes:
[0019] Projecting the axis point of the offset hole onto a projection plane to obtain a projection point; the projection plane is perpendicular to the axis line of the cylindrical hole segment;
[0020] Take the point in the projection plane that coincides with the axis of the cylindrical hole segment as the coordinate origin, and determine the quadrant and coordinates (X, Y) of the projection point in the coordinate system;
[0021] When the projection point is in the first quadrant, the offset angle = arctan(|Y / X|);
[0022] When the projection point is in the second quadrant, the offset angle = 90° + arctan (|Y / X|);
[0023] When the projection point is in the third quadrant, the offset angle = 180° + arctan (|Y / X|);
[0024] When the projection point is located in the fourth quadrant, the offset angle = 360°-arctan(|Y / X|).
[0025] Furthermore, the offset distance of the offset hole axis point relative to the coordinate origin = .
[0026] Further, the depth of the axis point of the offset hole in the drill hole is equal to the distance between the axis point of the offset hole and the projection plane.
[0027] Furthermore, the projection plane is a hole entrance plane or a hole exit plane; the hole entrance plane is located on a side of the cylindrical hole section away from the offset hole section, and the hole exit plane is located on a side of the offset hole section away from the cylindrical hole section.
[0028] Furthermore, the drilled holes in the core plate are sliced, and the sliced drilled holes are scanned by CT to obtain the shape contour of the drilled holes.
[0029] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art: the present application provides a PCB offset hole detection method, including: scanning the drill hole to obtain the drill hole shape contour; the drill hole includes a cylindrical hole segment and an offset hole segment; the cylindrical hole segment coincides with the target hole; the axis line of the cylindrical hole segment and the axis line of the offset hole segment are obtained according to the shape contour of the drill hole; the coordinate origin is determined to obtain the position of the axis point of the offset hole in the coordinate system; the axis point of the offset hole is located on the axis line of the offset hole segment; the offset information of the axis point of the offset hole is calculated, and the offset information of the offset hole segment is obtained after summarizing. The present application can establish a three-dimensional coordinate system based on the scanned drill hole shape contour, and accurately calculate the offset information of each offset hole axis point through the three-dimensional coordinate system. The offset information includes but is not limited to information such as offset angle, offset distance and offset depth; the detection method of the present application breaks through the limitations of the prior art of glue-filled slicing and CPK method, and provides a theoretical basis for the improvement of the drilling production process. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0031] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0032] In the attached figure:
[0033] Figure 1 Schematic diagram of the positions of the hole inlet plane and the hole outlet plane in Example 2;
[0034] Figure 2 is a schematic diagram of the positions of the first plane, the second plane and the third plane in Example 2;
[0035] Figure 3It is a schematic diagram of the projection of the axial center point of the offset hole in the projection plane in Example 2;
[0036] Figure 4 Schematic diagram of the deviation between the axis point of the offset hole and the target hole in Example 3;
[0037] Figure 5 This is a flow chart of the PCB offset hole detection method of this application.
[0038] Reference numerals:
[0039] 11. Hole entrance plane; 12. Hole exit plane; 13. Hole entrance center; 15. First plane; 16. Second plane; 17. Third plane; 18. Cylindrical hole section; 19. Offset hole section; 20. Projection point; 21. Projection plane. DETAILED DESCRIPTION
[0040] In order to have a clearer understanding of the technical features, purposes and effects of the present application, the specific implementation methods of the present application are now described in detail with reference to the accompanying drawings. In the following description, it should be understood that the directions or positional relationships indicated by "front", "back", "up", "down", "left", "right", "longitudinal", "horizontal", "vertical", "horizontal", "top", "bottom", "inside", "outside", "head", "tail", etc. are based on the directions or positional relationships shown in the accompanying drawings, are constructed and operated in a specific direction, and are only for the convenience of describing the present technical solution, rather than indicating that the mechanism or element referred to must have a specific direction, and therefore cannot be understood as a limitation to the present application.
[0041] It should also be noted that, unless otherwise clearly specified and limited, the terms such as "installed", "connected", "connected", "fixed", "set" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral one; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. When an element is referred to as being "on" or "under" another element, the element can be "directly" or "indirectly" located on the other element, or there may be one or more intermediate elements. The terms "first", "second", "third", etc. are only for the convenience of describing the present technical solution, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first", "second", "third", etc. can explicitly or implicitly include one or more of the features. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to the specific circumstances.
[0042] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, mechanisms, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0043] Example 1
[0044] A PCB offset hole detection method proposed in this application includes:
[0045] Scanning the borehole to obtain the shape contour of the borehole; the borehole includes a cylindrical hole section and a deviated hole section; the cylindrical hole section coincides with the target hole;
[0046] According to the shape contour of the drilled hole, the axis center line of the cylindrical hole section and the axis center line of the offset hole section are obtained;
[0047] Determine the coordinate origin and obtain the position of the axis point of the offset hole in the coordinate system; the axis point of the offset hole is located on the axis line of the offset hole segment;
[0048] Calculate the offset information of the axis point of the offset hole, and summarize it to get the offset information of the offset hole section.
[0049] The present application can establish a three-dimensional coordinate system based on the scanned drilling shape contour, and accurately calculate the offset information of the axis point of each offset hole through the three-dimensional coordinate system. The offset information includes but is not limited to information such as offset angle, offset distance and offset depth. The detection method of the present application breaks through the limitations of the glue-filled slicing and CPK method in the prior art, and provides a theoretical basis for the improvement of the drilling production process.
[0050] Example 2
[0051] like Figure 5 As shown, a PCB offset hole detection method proposed in this application includes:
[0052] S1: Scan the borehole to obtain the shape contour of the borehole; the borehole includes a cylindrical hole section 18 and a biased hole section 19; the cylindrical hole section 18 coincides with the target hole.
[0053] The target hole refers to the target hole position preset before drilling, which is a cylindrical structure. The drilled hole refers to the actual hole position formed after the drilling process. If there is no deviation during the drilling process, the actual hole position and the target hole position coincide. However, in the actual drilling process, especially for holes with a large aspect ratio, drilling deviation may occur, resulting in the final drilled hole including a cylindrical hole segment 18 and an offset hole segment 19. Among them, the cylindrical hole segment 18 is drilled according to the preset target hole position, and the offset hole segment 19 is due to a position offset; therefore, if the drilling shape is defined by the time and sequence of drilling, the cylindrical hole segment 18 is located in front of or above the offset hole segment.
[0054] The present application can slice the drilled hole in the core plate, scan the sliced drilled hole through a CT scanning device, and obtain the drilled hole shape contour. Specifically, the slices can be sliced along the axial center position to form at least two sub-slices, and then the multiple sliced sub-slices are scanned, and the scanned images are spliced to obtain the drilled hole shape contour.
[0055] The present application also does not require slicing, and can directly use a CT scanner to scan the borehole. Since the inside of the hole after drilling is empty and the material outside the hole is different, the imaging in the CT scanner is also different, and the shape contour of the borehole can also be directly obtained.
[0056] The present application can obtain a model of the drilling contour after CT scanning, which is convenient for the subsequent establishment of a coordinate system to form a calculation model.
[0057] S2: Obtaining the axis center line of the cylindrical hole section 18 and the axis center line of the offset hole section according to the shape profile of the drilled hole;
[0058] After the shape contour of the drill hole is obtained in step S2, it can be imported into the three-dimensional virtual model, and the axis center line of the cylindrical hole segment 18 and the axis center line of the offset hole segment can be obtained by means of drawing software. The axis center line of the offset hole segment refers to the center line along the extension direction of the offset hole segment 19.
[0059] The next step is to calculate the partial hole information in the three-dimensional virtual model with the help of auxiliary lines or auxiliary planes.
[0060] S3: Determine the coordinate origin and obtain the position of the axis point of the offset hole in the coordinate system; the axis point of the offset hole is located on the axis line of the offset hole segment.
[0061] The establishment of the coordinate system in this application requires first determining the projection plane 21, which is the hole entrance plane 11 or the hole exit plane 12 or any plane parallel to the two; the hole entrance plane 11 is located on the side of the cylindrical hole section 18 away from the offset hole section 19, and the hole exit plane 12 is located on the side of the offset hole section 19 away from the cylindrical hole section 18; Figure 1The intersection of the hole inlet plane 11 and the axis of the cylindrical hole section is the hole inlet circle center, and the intersection of the hole outlet plane 12 and the axis of the cylindrical hole section is the hole outlet circle center 13.
[0062] In actual operation, the projection plane 21 can be set as the hole exit plane 12, that is, the final end point of the drilling process. Taking this plane as the reference plane, the deviation degree at each drilling position can be quickly and effectively obtained. When the projection plane 21 is other parallel planes, the calculation method is the same, except that it is moved up and down on the Z-axis coordinate.
[0063] The point in the projection plane 21 that coincides with the axis of the cylindrical hole segment is used as the coordinate origin, the X axis and Y axis are established in the projection plane 21, and the axis of the target hole is used as the Z axis to form a three-dimensional coordinate system. The shape contour obtained above is correspondingly imported into the three-dimensional coordinate system.
[0064] On this basis, the method of obtaining the position of the axis point of the offset hole in the coordinate system described in the present application includes:
[0065] like Figure 2 As shown; a first plane 15, a second plane 16 and a third plane 17 are set; the first plane 15 is a plane passing through the axis line of the cylindrical hole segment and the axis point of the offset hole, the second plane 16 is a plane passing through the axis point of the offset hole and perpendicular to the first plane 15; the third plane 17 is a plane passing through the axis point of the offset hole and perpendicular to the first plane 15 and the second plane 16 at the same time; the intersection of the first plane 15, the second plane 16 and the third plane 17 is the axis point of the offset hole.
[0066] The degree of freedom of the first plane 15 is rotation around the axis of the cylindrical hole segment 18, the degree of freedom of the second plane 16 is movement along the axis of the offset hole segment 19, and the degree of freedom of the third plane 17 is movement along a straight line perpendicular to the first plane 15 and the second plane 16; the first plane 15, the second plane 16 and the third plane 17 are scanned along their respective degrees of freedom to obtain a number of offset hole axis points.
[0067] The present application can obtain the axis line of the offset hole and each point on the axis line of the offset hole in the shape contour after scanning, but cannot accurately determine the positional relationship and angle relationship of each point relative to the coordinate origin.
[0068] Therefore, the present application uses the above three planes and their movement in their respective degrees of freedom to determine the position of the axis point of the offset hole. When the first plane 15, the second plane 16 and the third plane 17 are scanned along their respective degrees of freedom, there is only one overlapping intersection at the same time, and the intersection is the axis point of the offset hole.
[0069] When the first plane 15 , the second plane 16 and the third plane 17 are scanned along their respective degrees of freedom, several intersection points are finally obtained, and the line connecting the several intersection points is the axis center line of the offset hole.
[0070] The three-dimensional coordinate system of the present application can be established in the automatic software of the three-dimensional virtual model. The first plane 15, the second plane 16 and the third plane 17 can be given by the automatic software, and their respective movement trajectories can be set by the software. A number of offset hole axis points can be automatically generated by the software; this is conducive to improving calculation accuracy and efficiency.
[0071] S4: Calculate the offset information of the axis point of the offset hole, and obtain the offset information of the offset hole segment 19 after summarizing.
[0072] The offset information of the offset hole axis point described in the present application includes: the offset angle of the offset hole axis point relative to the coordinate origin, the offset distance of the offset hole axis point relative to the coordinate origin and the depth of the offset hole axis point in the drill hole.
[0073] For each offset hole axis point obtained in step S3, Figure 3 As shown, the following scheme can be used to calculate the offset information:
[0074] S41: The method for calculating the offset angle of the axis point of the offset hole relative to the coordinate origin includes:
[0075] The axis point of the offset hole is projected onto a projection plane 21 to obtain a projection point 20; the projection plane 21 is perpendicular to the axis line of the cylindrical hole segment 18;
[0076] Taking the point in the projection plane 21 that coincides with the axis of the cylindrical hole segment as the coordinate origin, determine the quadrant and coordinates (X, Y) of the projection point 20 in the coordinate system;
[0077] When the projection point is in the first quadrant, the offset angle = arctan(|Y / X|);
[0078] When the projection point is in the second quadrant, the offset angle = 90° + arctan (|Y / X|);
[0079] When the projection point is in the third quadrant, the offset angle = 180° + arctan (|Y / X|);
[0080] When the projection point is located in the fourth quadrant, the offset angle = 360°-arctan(|Y / X|).
[0081] S42: The offset distance of the axis point of the offset hole relative to the coordinate origin = .
[0082] S43: The depth of the offset hole axis point in the drill hole is equal to the distance between the offset hole axis point and the projection plane 21.
[0083] At the same time, the offset information of the offset hole axis point described in the present application includes: the deviation value between the offset hole axis point and the target hole; the deviation value between the offset hole axis point and the target hole is equal to the straight-line distance between the offset hole axis point and the first plane 15.
[0084] The first plane 15 and the second plane 16 are perpendicular to each other. The first plane 15 and the second plane 16 are controlled to rotate 360° around their respective degrees of freedom. A two-dimensional distribution diagram of multiple offset hole axis points can be obtained on the second plane 16, as shown in FIG. Figure 4 As shown, by calculating the vertical distance between each projection point 20 and the first plane 15, the deviation value between the axis point of the offset hole and the target hole can be obtained.
[0085] After the offset information of the axis points of each offset hole is obtained, the offset information of the axis points of all offset holes is summarized and output, and the offset situation of the drilling hole can be obtained.
[0086] This application creatively proposes a CT detection method to construct a virtual three-dimensional model of the offset hole slice according to the degree of offset of different PCB micro-holes, and reconstructs it according to the virtual three-dimensional model to establish a three-dimensional coordinate system, projection plane 21, first plane 15, second plane 16 and third plane 17 in the model, and allows the first plane 15, second plane 16 and third plane 17 to move around their degrees of freedom to construct the axis point of the offset hole; the true deviation value of the axis point of the offset hole is obtained according to the position measurement of the axis point of the offset hole in the three-dimensional coordinate system, providing a scientific and accurate method for measuring the offset hole, avoiding the problems of traditional glue-filled slicing method and CPK method in efficiency, accuracy and singleness of detection information. This application uses the offset hole information obtained by the PCB slice CT scanning detection method to further guide the production of drilling information.
[0087] Example 3
[0088] A PCB offset hole detection method proposed in this embodiment includes:
[0089] The micro-hole slices with a plate thickness of 0.1-20 mm and a hole diameter of 0.05-10 mm were scanned by a CT device to obtain the shape contour of the drilling hole.
[0090] A three-dimensional virtual model of PCB large aspect ratio micro-hole offset hole slices is constructed. The three-dimensional virtual model includes information such as hole entrance diameter, hole exit diameter, hole depth (blind hole), hole depth / board thickness (through hole), axis centerline of cylindrical hole segment 18 and axis centerline of offset hole segment.
[0091] Import the 3D virtual model into the software, and establish the target hole axis, the first plane 15, the second plane 16, the third plane 17 and the projection plane 21 according to the 3D virtual model. The target hole axis coincides with the cylindrical hole segment axis. Specifically: establish the first plane 15 through the offset hole axis and the target hole axis. Establish the second plane 16 through the offset hole axis and perpendicular to the first plane 15; establish the third plane 17 through the offset hole axis and perpendicular to the first plane 15 and the second plane 16.
[0092] The intersection of the first plane 15, the second plane 16 and the third plane 17 is the axial center point of the offset hole.
[0093] The first plane 15 swings, and the second plane 16 and the third plane 17 move up, down, left, and right, so that multiple intersections can be obtained. The collection of multiple intersections constitutes the axis center line of the offset hole section, and the axis center line of the offset hole section is successfully established.
[0094] Select a point on the axis line of the offset hole segment, operate the software, and use the following scheme to calculate the offset information for each offset hole axis point obtained in step S3:
[0095] (1) The method for calculating the offset angle of the axis point of the offset hole relative to the coordinate origin includes:
[0096] The axis point of the offset hole is projected onto a projection plane 21 to obtain a projection point 20; the projection plane 21 is perpendicular to the axis line of the cylindrical hole segment 18;
[0097] Taking the point in the projection plane 21 that coincides with the axis of the cylindrical hole segment as the coordinate origin, determine the quadrant and coordinates (X, Y) of the projection point 20 in the coordinate system;
[0098] When the projection point is in the first quadrant, the offset angle = arctan(|Y / X|);
[0099] When the projection point is in the second quadrant, the offset angle = 90° + arctan (|Y / X|);
[0100] When the projection point is in the third quadrant, the offset angle = 180° + arctan (|Y / X|);
[0101] When the projection point is located in the fourth quadrant, the offset angle = 360°-arctan(|Y / X|).
[0102] (2) The offset distance of the axis point of the offset hole relative to the coordinate origin == .
[0103] (3) The depth of the center point of the offset hole in the drilled hole is equal to the distance between the center point of the offset hole and the projection plane 21.
[0104] (4) The first plane 15 and the second plane 16 are controlled to rotate 360° around their respective degrees of freedom, and a two-dimensional distribution diagram of multiple offset hole axis points can be obtained on the second plane 16, as shown in FIG. Figure 4 As shown, by calculating the vertical distance between each projection point 20 and the first plane 15, the deviation value between the axis point of the offset hole and the target hole can be obtained.
[0105] After obtaining the offset information of the axis points of each offset hole, the offset information of the axis points of all the offset holes is summarized and output, and the offset situation of the drilling hole can be obtained; after the detection is completed, the offset hole measurement report is output.
[0106] This application creatively proposes a method for detecting large depth-to-diameter ratio hole defects by CT scanning of PCB slices, and obtains partial hole data with the help of a virtual three-dimensional model. Compared with the traditional glue-filled slice method and the CPK method, this application solves the problems of low detection efficiency and measurement limitations of the traditional resin slice detection method, and solves the problem of single detection information of the CPK method.
[0107] The PCB slice CT scanning detection method of the present application uses three plane fitting to obtain the three-dimensional axis line of the offset hole, and automatically calculates the offset amount and offset angle of the offset hole at different positions of the axis line according to the formula. This method has the highest detection accuracy; the offset hole information obtained by the PCB slice CT scanning detection method can guide the production of drilling information.
[0108] It can be understood that the above embodiments only express the preferred implementation methods of the present application, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present application; it should be pointed out that for ordinary technicians in this field, without departing from the concept of the present application, the above-mentioned technical features can be freely combined, and several deformations and improvements can be made, which all belong to the protection scope of the present application; therefore, all equivalent changes and modifications made to the scope of the claims of the present application should belong to the scope covered by the claims of the present application.
Claims
1. A PCB offset hole detection method, characterized in that: include: Scanning the borehole to obtain the shape contour of the borehole; the borehole includes a cylindrical hole section and a deviated hole section; the cylindrical hole section coincides with the target hole; According to the shape contour of the drilled hole, the axis center line of the cylindrical hole section and the axis center line of the offset hole section are obtained; Determine the coordinate origin and obtain the position of the axis point of the offset hole in the coordinate system; the axis point of the offset hole is located on the axis line of the offset hole segment; Calculate the offset information of the axis point of the offset hole, and summarize it to obtain the offset information of the offset hole section; the offset information of the axis point of the offset hole includes: the offset angle of the axis point of the offset hole relative to the coordinate origin, the offset distance of the axis point of the offset hole relative to the coordinate origin, and the depth of the axis point of the offset hole in the drill hole; the calculation method of the offset angle of the axis point of the offset hole relative to the coordinate origin includes: Projecting the axis point of the offset hole onto a projection plane to obtain a projection point; the projection plane is perpendicular to the axis line of the cylindrical hole segment; Take the point in the projection plane that coincides with the axis of the cylindrical hole segment as the coordinate origin, and determine the quadrant and coordinates (X, Y) of the projection point in the coordinate system; When the projection point is in the first quadrant, the offset angle = arctan(|Y / X|); When the projection point is in the second quadrant, the offset angle = 90° + arctan (|Y / X|); When the projection point is in the third quadrant, the offset angle = 180° + arctan (|Y / X|); When the projection point is located in the fourth quadrant, the offset angle = 360°-arctan(|Y / X|).
2. A PCB offset hole detection method according to claim 1, characterized in that: The step of obtaining the position of the axis point of the offset hole in the coordinate system includes: A first plane, a second plane and a third plane are set; the first plane is a plane passing through the axis line of the cylindrical hole segment and the axis point of the offset hole, the second plane is a plane passing through the axis point of the offset hole and perpendicular to the first plane; the third plane is a plane passing through the axis point of the offset hole and perpendicular to the first plane and the second plane at the same time; the intersection of the first plane, the second plane and the third plane is the axis point of the offset hole.
3. A PCB offset hole detection method according to claim 2, characterized in that: The degree of freedom of the first plane is rotation around the axis of the cylindrical hole segment, the degree of freedom of the second plane is movement along the axis of the offset hole segment, and the degree of freedom of the third plane is movement along a straight line perpendicular to the first plane and the second plane; the first plane, the second plane and the third plane are scanned along their respective degrees of freedom to obtain a number of offset hole axis points.
4. A PCB offset hole detection method according to claim 3, characterized in that: The offset information of the offset hole axis point includes: a deviation value between the offset hole axis point and the target hole; the deviation value between the offset hole axis point and the target hole is equal to the straight-line distance between the offset hole axis point and the first plane.
5. A PCB offset hole detection method according to claim 1, characterized in that: The offset distance of the axis point of the offset hole relative to the coordinate origin = .
6. A PCB offset hole detection method according to claim 1, characterized in that: The depth of the offset hole axis point in the drill hole is equal to the distance between the offset hole axis point and the projection plane.
7. A PCB offset hole detection method according to claim 1, characterized in that: The projection plane is a hole entrance plane or a hole exit plane; the hole entrance plane is located on a side of the cylindrical hole section away from the offset hole section, and the hole exit plane is located on a side of the offset hole section away from the cylindrical hole section.
8. A PCB offset hole detection method according to claim 1, characterized in that: The holes drilled in the core board are sliced and scanned by CT to obtain the outline of the holes.
