A PCB drilling positioning precision control method, device and computer equipment
By acquiring drill bit temperature and coordinate information, cooling and repositioning are performed. A CCD camera is used to capture PCB planar images, and the drilling path is extracted. Incremental coordinates are assigned and sorted, and a transition zone is established for temperature detection. This solves the problem of inaccurate drilling positioning and achieves precise positioning of PCB drilling and stable installation of the circuit board.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- JIANGXI QIANGDA CIRCUIT TECH CO LTD
- Filing Date
- 2023-10-20
- Publication Date
- 2026-05-01
AI Technical Summary
During PCB drilling, the difference in the coefficient of thermal expansion caused by changes in drill bit temperature can lead to inaccurate drilling positioning, affecting the installation of electronic components and the performance of the circuit board.
By acquiring drill bit temperature and coordinate information, cooling and repositioning are performed. A CCD camera is used to capture PCB planar images, and the drilling path is extracted. Incremental coordinates are assigned and sorted. A transition zone is established for temperature detection, and the drill bit coordinates are adjusted to ensure accurate drilling.
It improves the positioning accuracy of PCB drilling, avoids the influence of temperature during drilling, ensures stable installation of electronic components, and enhances the performance and reliability of the circuit board.
Smart Images

Figure CN117331345B_ABST
Abstract
Description
A method, apparatus, and computer device for controlling the positioning accuracy of PCB drilling. Technical Field
[0001] This invention relates to the field of PCB technology, and in particular to a method, apparatus and computer equipment for controlling the positioning accuracy of PCB drilling. Background Technology
[0002] PCB stands for "Printed Circuit Board," and it is a physical connection service that supports and connects electronic components.
[0003] PCB manufacturing requires drilling. The purpose of PCB drilling is to drill holes in the circuit board to install electronic components or connect circuits. When drilling PCBs, the positions of the holes need to be marked, and then the drill bit drills according to the marked positions. Drilling is a very important step in PCB manufacturing because it can provide electrical connections, fix components, and ensure the stability of the circuit board.
[0004] During PCB drilling, the drill bit's continuous operation causes it to heat up. This leads to differences in the PCB's coefficient of thermal expansion when the drill bit comes into contact with the PCB. The thermal expansion process causes variations in the PCB's drilling accuracy and alters the center positioning of the drill holes. Consequently, electronic components may not be able to be securely mounted on the circuit board, thus affecting the circuit board's performance and reliability. Summary of the Invention
[0005] The purpose of this invention is to provide a method for controlling the positioning accuracy of PCB drilling, so as to solve the technical problems mentioned in the background art.
[0006] To achieve the above objectives, the present invention provides the following technical solution:
[0007] A method for controlling the positioning accuracy of PCB drilling, comprising:
[0008] Obtain hole position information of multiple holes in the PCB, and select one hole position as the starting hole position based on the hole position information of multiple holes, wherein the starting hole position is located below the drill bit;
[0009] The drill bit is used to drill the starting hole position, and the temperature value of the drill bit is obtained after the drilling is completed;
[0010] Determine whether the temperature value exceeds a preset value;
[0011] If the temperature value exceeds the preset temperature value, the drill bit is cooled according to the first preset condition;
[0012] Obtain the second temperature value of the drill bit after cooling, and return the second temperature value as the temperature value to the step of determining whether the temperature value exceeds the preset value;
[0013] If the temperature value does not exceed the preset temperature value, then obtain the first coordinate information of the cooled drill bit;
[0014] Obtain the second coordinate information of the starting hole position;
[0015] Determine whether the first coordinate information and the second coordinate information meet the second preset condition;
[0016] If the first coordinate information and the second coordinate information meet the second preset conditions, then the drill bit is started to operate on the other holes of the PCB except for the starting hole.
[0017] Preferably, the subsequent step of starting the drill bit to operate on the holes of the PCB other than the starting hole includes:
[0018] The image information of the PCB plane is acquired, and the image information of the PCB plane is denoised and binarized to obtain the PCB hole path map;
[0019] Extract the path vector from the PCB drilling path diagram, and assign coordinate values to the path vector to obtain the incremental coordinate values of the PCB drilling path. The function for assigning the coordinates is:
[0020] XB = XA + (x1 + ... + x) i +…+x n YB = YA + (y1 + ... + y) i +…+y n ); i = 1, 2, 3, ..., n;
[0021] Where XA is the X-axis coordinate of the starting hole position, YA is the Y-axis coordinate of the starting hole position, XB is the X-axis coordinate of the next hole position, and YB is the Y-axis coordinate of the next hole position. i The x-axis increment value, y i This represents the increment value on the y-axis.
[0022] Preferably, after the step of assigning coordinate values to the path vector to obtain the incremental coordinate values of the PCB drilling path, the method includes:
[0023] The PCB drilling holes are sorted sequentially based on the incremental coordinate values of the PCB drilling path;
[0024] The sequence is sorted and numbered in rows, wherein the distance between the first and last holes of two adjacent numbers is set as a transition interval;
[0025] The drill bit located in the transition zone is repositioned and its temperature is monitored.
[0026] Preferably, the step of starting the drill bit to operate on the holes of the PCB other than the starting hole if the first coordinate information and the second coordinate information meet the second preset condition includes:
[0027] Obtain path information for holes other than the starting hole position, and determine the drilling position based on the path information;
[0028] Establish the initial hole position as the reference coordinate;
[0029] Incremental values are assigned based on the reference coordinates to obtain the first plane coordinate values;
[0030] Obtain the planar coordinate information of the drill bit, extract the planar coordinate information, and obtain the second planar coordinate value.
[0031] Compare the coordinate values of the first plane and the coordinate values of the second plane;
[0032] If the coordinate values of the first plane and the second plane are the same, then drilling is performed on the other holes besides the starting hole position;
[0033] If the first plane coordinate and the second plane coordinate are not the same, the second plane coordinate of the drill bit is adjusted according to the first plane coordinate so that the second plane coordinate of the drill bit is the same as the first plane coordinate.
[0034] Preferably, obtaining the second coordinate information of the starting hole position further includes:
[0035] Based on the second coordinate information, wherein the second coordinate information includes inlet aperture information and inner aperture information;
[0036] The inlet aperture information is measured and extracted for the first time to obtain a first measurement value, and the first measurement value is calibrated for the first time. The first calibration requires continuous measurement at multiple measurement points and taking the average value of multiple first measurement values.
[0037] The inner hole diameter information is extracted by a second measurement to obtain a second measurement value, and the second measurement value is calibrated by a second measurement. The second calibration is performed by collecting data multiple times based on the depth of the PCB drilling and taking the average of the multiple second measurement values.
[0038] Based on a preset standard PCB drilling reference table, the first and second measurement values are input into the standard PCB drilling reference table for verification.
[0039] Preferably, before the step of determining whether the first coordinate information and the second coordinate information meet the second preset condition, the method further includes:
[0040] A worktable that can be clamped up and down and moved horizontally is provided, wherein the surface of the worktable is provided with a working area;
[0041] The image information of the working area is acquired, and the image information is extracted to obtain the first contour area;
[0042] Obtain the image information of the PCB and extract information from the image information to obtain the area of the second contour;
[0043] Compare the positions of the areas of the first and second contours;
[0044] If the X-axis coordinates of the second contour area and the first contour area deviate, the PCB is translated on the X-axis until the X-axis coordinates of the second contour area and the first contour area coincide.
[0045] If there is a deviation between the Y-axis coordinates of the second contour area and the first contour area, the PCB is translated on the Y-axis until the Y-axis coordinates of the second contour area and the first contour area coincide.
[0046] Preferably, after the steps of repositioning and temperature detection of the drill bit located in the transition section, the method further includes:
[0047] Obtain the diameter information of the PCB drill bit, and extract the diameter information of the PCB drill bit to obtain the diameter value of the PCB drill bit, wherein the diameter value of the PCB drill bit includes the diameter of the drill bit cutting edge and the diameter of the spiral groove cutting edge.
[0048] Determine whether the diameter value of the PCB drill bit is the same as the preset diameter value;
[0049] If they are not the same, the difference between the diameter of the drill bit cutting edge and the diameter of the spiral groove is calculated based on the preset diameter value, and then the wear difference of the PCB drill bit is obtained. The wear difference is used to determine whether the PCB drill bit needs to be replaced.
[0050] This application also provides a PCB drilling positioning accuracy control device, including:
[0051] The first acquisition module acquires hole position information of multiple holes in the PCB, and selects one hole position from the multiple holes as the starting hole position based on the hole position information, wherein the starting hole position is located below the drill bit.
[0052] The second acquisition module drills a hole at the starting hole position based on the drill bit, and acquires the temperature value of the drill bit after drilling is completed;
[0053] The first judgment module determines whether the temperature value exceeds a preset value;
[0054] If the temperature value exceeds the preset temperature value, the drill bit is cooled according to the first preset condition;
[0055] The third acquisition module acquires the second temperature value of the drill bit after cooling, and returns the second temperature value as the temperature value to the step of determining whether the temperature value exceeds the preset value.
[0056] If the temperature value does not exceed the preset temperature value, then obtain the first coordinate information of the cooled drill bit;
[0057] The fourth acquisition module acquires the second coordinate information of the starting hole position;
[0058] The second judgment module determines whether the first coordinate information and the second coordinate information meet the second preset condition;
[0059] If the first coordinate information and the second coordinate information meet the second preset conditions, then the drill bit is started to operate on the other holes of the PCB except for the starting hole.
[0060] This application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described method.
[0061] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method.
[0062] The beneficial effects of this application are as follows: The PCB plane is photographed by a CCD camera, and the PCB drilling path map is extracted based on the photographed information of the PCB plane. Then, the drilling coordinates on the circuit are incrementally assigned according to the PCB drilling path map. After assigning coordinate values, the marked coordinates are numbered and then sorted according to the numbers. The distance between the first and last holes of two adjacent numbers is set as a transition interval. In this way, the drill bit can be detected by the connection time of the transition interval after working for a period of time. Furthermore, the temperature of the drill bit can be detected at multiple frequencies through the transition interval. In this way, the drill bit will not be affected by temperature and will not affect the PCB during drilling. Attached Figure Description
[0063] Figure 1 is a schematic flowchart of a method according to an embodiment of the present invention;
[0064] Figure 2 is a structural diagram of a device according to an embodiment of the present invention;
[0065] Figure 3 is a diagram of a computer-readable storage medium according to an embodiment of the present invention.
[0066] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0067] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0068] As shown in Figures 1-3, this application provides a method for controlling the positioning accuracy of PCB drilling, including:
[0069] A method for controlling the positioning accuracy of PCB drilling, comprising:
[0070] S1. Obtain hole position information of multiple holes in the PCB, and select one hole position as the starting hole position based on the hole position information of multiple holes, wherein the starting hole position is located below the drill bit;
[0071] S2. Drill a hole at the starting hole position using the drill bit, and obtain the temperature value of the drill bit after drilling is completed;
[0072] S3. Determine whether the temperature value exceeds the preset value;
[0073] If the temperature value exceeds the preset temperature value, the drill bit is cooled according to the first preset condition;
[0074] S4. Obtain the second temperature value of the drill bit after cooling, and return the second temperature value as the temperature value to the step of determining whether the temperature value exceeds the preset value.
[0075] If the temperature value does not exceed the preset temperature value, then obtain the first coordinate information of the cooled drill bit;
[0076] S5. Obtain the second coordinate information of the starting hole position;
[0077] S6. Determine whether the first coordinate information and the second coordinate information meet the second preset condition;
[0078] If the first coordinate information and the second coordinate information meet the second preset conditions, then the drill bit is started to operate on the other holes of the PCB except for the starting hole.
[0079] As described in steps S1-S6 above, during PCB drilling, the drill bit's continuous operation causes its temperature to rise. This leads to differences in the PCB's coefficient of thermal expansion due to contact between the drill bit and the PCB. The thermal expansion causes variations in PCB drilling accuracy and alters the center positioning of the drill holes, making it difficult to securely mount electronic components onto the circuit board. This negatively impacts the circuit board's performance and reliability. Specifically, a CCD camera is used to photograph the PCB's plane, and a PCB drilling path diagram is extracted from the photographed information. Then, incremental values are assigned to the drilling coordinates on the circuit based on the PCB drilling path diagram. After assigning coordinate values, the marked coordinates are numbered and then sorted according to the numbers. The distance between the first and last holes of two adjacent numbers is designated as a transition interval. This allows the drill bit to be monitored during the transition interval after a period of operation, enabling frequent temperature monitoring of the drill bit. This prevents the drill bit from being affected by temperature and also avoids impacting the PCB during drilling.
[0080] In one embodiment, the subsequent step of initiating the drill bit to operate on holes other than the starting hole on the PCB includes:
[0081] S7. Obtain the image information of the PCB plane, and perform noise reduction and image binarization processing on the image information of the PCB plane to obtain the PCB hole path map;
[0082] S8. Extract the path vector of the PCB drilling path diagram, and assign coordinate values to the path vector to obtain the incremental coordinate values of the PCB drilling path. The function for assigning coordinate values is:
[0083] XB = XA + (x1 + ... + x) i +…+x n YB = YA + (y1 + ... + y) i +…+y n ); i = 1, 2, 3, ..., n;
[0084] Where XA is the X-axis coordinate of the starting hole position, YA is the Y-axis coordinate of the starting hole position, XB is the X-axis coordinate of the next hole position, and YB is the Y-axis coordinate of the next hole position. i The x-axis increment value, y i This represents the increment value on the y-axis.
[0085] As described in steps S7-S8 above, after the drill bit performs drilling operations on the PCB, the PCB plane is photographed by a CCD camera, and the PCB drilling path map is extracted based on the photographed information of the PCB plane. Then, the drilling coordinates on the circuit are incrementally assigned according to the PCB drilling path map. The starting coordinates on the PCB drilling path map are (XB, XY), and the subsequent incremental coordinates are [(XA+X1), (YA+y1)]. This allows for precise positioning of the drill holes on the PCB drilling path, enabling the drill bit to process the PCB based on the incremental coordinates. The incremental coordinates improve the drilling accuracy and thus avoid errors during drilling.
[0086] In one embodiment, after the step of assigning coordinate values to the path vector to obtain the incremental coordinate values of the PCB drilling path, the following steps are included:
[0087] S9. Sort the PCB drilling holes according to the incremental coordinate values of the PCB drilling path;
[0088] S10. The sequence is sorted and numbered in rows, wherein the distance between the first hole and the last hole of two adjacent numbers is set as a transition interval;
[0089] S11. Reposition and temperature detection of the drill bit located in the transition zone.
[0090] As described in steps S9-S11 above, after assigning coordinate values, the marked coordinates are numbered and then sorted according to the numbers. The distance between the first and last holes of two adjacent numbers is set as a transition interval. This allows the drill bit to be tested through the connection time of the transition interval after working for a period of time. Furthermore, the temperature of the drill bit can be detected at multiple frequencies through the transition interval, so that the drill bit will not be affected by temperature and will not affect the PCB during drilling.
[0091] In one embodiment, the step of starting the drill bit to operate on the holes of the PCB other than the starting hole if the first coordinate information and the second coordinate information meet the second preset condition includes:
[0092] S12. Obtain the path information of other holes besides the starting hole position, and determine the drilling position based on the path information;
[0093] S13. Establish the initial hole position as the reference coordinate;
[0094] S14. Incremental values are assigned based on the reference coordinates to obtain the first plane coordinate values;
[0095] S15. Obtain the planar coordinate information of the drill bit, extract the planar coordinate information, and obtain the second planar coordinate value.
[0096] S16. Compare the coordinate values of the first plane and the coordinate values of the second plane;
[0097] If the coordinate values of the first plane and the second plane are the same, then drilling is performed on the other holes besides the starting hole position;
[0098] If the first plane coordinate and the second plane coordinate are not the same, the second plane coordinate of the drill bit is adjusted according to the first plane coordinate so that the second plane coordinate of the drill bit is the same as the first plane coordinate.
[0099] As described in steps S12-S16 above, after obtaining the PCB drilling path information, the coordinate information of the drill bit and the drilling information on the PCB are extracted respectively, and the coordinate values of the first plane and the second plane are obtained. Then, the coordinate values of the first plane and the second plane are compared. This allows for quick calibration of the drill bit and the PCB. After the drill bit and the PCB are positioned, the drill bit can accurately perform drilling operations on the PCB.
[0100] In one embodiment, obtaining the second coordinate information of the starting hole position further includes:
[0101] S17. Based on the second coordinate information, wherein the second coordinate information includes inlet aperture information and inner aperture information;
[0102] S18. Perform a first measurement extraction on the inlet aperture information to obtain a first measurement value, and perform a first calibration on the first measurement value. The first calibration requires continuous measurement at multiple measurement points and taking the average value of multiple first measurement values.
[0103] S19. Perform a second measurement extraction on the inner hole diameter information to obtain a second measurement value, and perform a second calibration on the second measurement value. The second calibration is performed by collecting data multiple times based on the depth of the PCB drilling and taking the average of the multiple second measurement values.
[0104] S20. Based on a preset standard PCB drilling reference table, input the first measurement value and the second measurement value into the standard PCB drilling reference table for verification;
[0105] As described in steps S17-S20 above, when measuring the second coordinate of the starting hole position, it is necessary to measure the inner diameter and inlet diameter of the starting hole position. When measuring the inlet diameter, it is necessary to measure the inlet diameter of the drill hole. In this case, the inlet diameter needs to be measured multiple times, and then the measured values are averaged during the multiple measurements to obtain the inlet diameter of the drill hole. Then, the inner diameter of the drill hole is measured, and the second measured value of the inner diameter and the first measured value of the inlet diameter are checked against the standard PCB drill hole reference table. In this way, the second coordinate information value of the starting hole position can be accurately measured.
[0106] In one embodiment, before the step of determining whether the first coordinate information and the second coordinate information meet the second preset condition, the method further includes:
[0107] S21. A worktable that can be clamped and moved horizontally is provided, wherein the surface of the worktable is provided with a working area;
[0108] S22. Obtain the image information of the working area and extract the image information to obtain the first contour area;
[0109] S23. Obtain the image information of the PCB and extract information from the image information to obtain the second contour area;
[0110] S24. Compare the positions of the first contour area and the second contour area;
[0111] If the X-axis coordinates of the second contour area and the first contour area deviate, the PCB is translated on the X-axis until the X-axis coordinates of the second contour area and the first contour area coincide.
[0112] If there is a deviation between the Y-axis coordinates of the second contour area and the first contour area, the PCB is translated on the Y-axis until the Y-axis coordinates of the second contour area and the first contour area coincide.
[0113] As described in steps S21-S24 above, when processing the PCB, the PCB material needs to be fixed. The prepared PCB material is placed in the working area of the worktable. Then, the image information of the PCB and the image information of the working area are extracted by the CCD camera to obtain the first contour area and the second contour area. The fixing of the PCB is adjusted according to the coordinates of the first contour area and the second contour area, and then the PCB is accurately fixed on the worktable. This can avoid errors in fixing the PCB and affect the subsequent PCB drilling accuracy.
[0114] In one embodiment, after the steps of repositioning the drill bit located in the transition section and detecting its temperature, the method further includes:
[0115] S25. Obtain the diameter information of the PCB drill bit, and extract the diameter information of the PCB drill bit to obtain the diameter value of the PCB drill bit, wherein the diameter value of the PCB drill bit includes the diameter of the drill bit cutting edge and the diameter of the spiral groove cutting edge.
[0116] S26. Determine whether the diameter value of the PCB drill bit is the same as the preset diameter value;
[0117] If they are not the same, the difference between the diameter of the drill bit cutting edge and the diameter of the spiral groove is calculated based on the preset diameter value, and then the wear difference of the PCB drill bit is obtained. The wear difference is used to determine whether the PCB drill bit needs to be replaced.
[0118] As described in steps S25-S26 above, when drilling holes in a PCB using a PCB drill bit, the PCB drill bit needs to be inspected to determine whether the diameter of the drill bit's cutting edge and the diameter of the spiral groove are the same as the preset diameter values. If the diameters are not the same, the PCB drill bit needs to be replaced. This can avoid drilling accuracy problems caused by wear of the PCB drill bit.
[0119] This application also provides a PCB drilling positioning accuracy control device, including:
[0120] The first acquisition module acquires hole position information of multiple holes in the PCB, and selects one hole position from the multiple holes as the starting hole position based on the hole position information, wherein the starting hole position is located below the drill bit.
[0121] The second acquisition module drills a hole at the starting hole position based on the drill bit, and acquires the temperature value of the drill bit after drilling is completed;
[0122] The first judgment module determines whether the temperature value exceeds a preset value;
[0123] If the temperature value exceeds the preset temperature value, the drill bit is cooled according to the first preset condition;
[0124] The third acquisition module acquires the second temperature value of the drill bit after cooling, and returns the second temperature value as the temperature value to the step of determining whether the temperature value exceeds the preset value.
[0125] If the temperature value does not exceed the preset temperature value, then obtain the first coordinate information of the cooled drill bit;
[0126] The fourth acquisition module acquires the second coordinate information of the starting hole position;
[0127] The second judgment module determines whether the first coordinate information and the second coordinate information meet the second preset condition;
[0128] If the first coordinate information and the second coordinate information meet the second preset conditions, then the drill bit is started to operate on the other holes of the PCB except for the starting hole.
[0129] As shown in Figure 3, the present invention also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of any of the methods described above.
[0130] A computer device includes a processor, memory, a network interface, a database display, and an input device connected via a system bus. The processor is designed to provide computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The database of the computer device stores all data required by a pick-and-place machine for the drilling process.
[0131] The present invention also provides a computer-readable storage medium, characterized in that: a computer program is stored thereon, and the processor executes the computer program to implement the steps of any of the methods described above.
[0132] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in this application and in the embodiments can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual-speed SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0133] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, apparatus, article, or method. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, apparatus, article, or method that includes that element.
[0134] The above description is merely a preferred embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.
[0135] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.
[0136] For ease of description, the above apparatus is described in terms of function, divided into various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware components. Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0137] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create an assembly for implementing the functions specified in one or more blocks of the flowchart illustrations and / or one or more blocks of the block diagrams.
[0138] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more blocks of the flowchart.
[0139] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and / or one or more block diagrams.
Claims
1. A method for controlling the positioning accuracy of PCB drilling, characterized in that, include: Obtain hole position information for multiple holes in a PCB, and select one hole as the starting hole position based on the hole position information, wherein the starting hole position is located below the drill bit; drill the starting hole position using the drill bit, and obtain the temperature value of the drill bit after drilling; determine whether the temperature value exceeds a preset value; if the temperature value exceeds the preset value, cool the drill bit according to a first preset condition; obtain a second temperature value of the drill bit after cooling, and return the second temperature value as the temperature value to the step of determining whether the temperature value exceeds the preset value; if the temperature value does not exceed the preset value, obtain the first coordinate information of the drill bit after cooling; The steps include: obtaining the second coordinate information of the starting hole position; determining whether the first and second coordinate information meet the second preset condition; if the first and second coordinate information meet the second preset condition, then starting the drill bit to operate on the other holes of the PCB except for the starting hole position. The subsequent steps specifically include: acquiring image information of the PCB plane, and performing noise reduction and image binarization processing on the image information of the PCB plane to obtain a PCB drilling path map; extracting the path vector of the PCB drilling path map, and assigning coordinate values to the path vector to obtain the incremental coordinate values of the PCB drilling path, wherein the function for assigning coordinate values is: XB=XA+(x1+…x ... i +…x n YB = YA + (y1 + ... y) i +…y n ); i = 1, 2, 3, ..., n; where XA is the X-axis coordinate of the starting hole position, YA is the Y-axis coordinate of the starting hole position, XB is the X-axis coordinate of the next hole position, YB is the Y-axis coordinate of the next hole position, x i The x-axis increment value, y i The y-axis increment value is used; the PCB drilling holes are sorted according to the increment coordinate value of the PCB drilling path; the sorted sequence is numbered in rows, wherein the distance between the first and last holes of two adjacent numbers is set as the transition interval; the drill bit located in the transition interval is repositioned and its temperature is detected.
2. The PCB drilling positioning accuracy control method according to claim 1, characterized in that, The step of starting the drill bit to operate on holes other than the starting hole on the PCB if the first coordinate information and the second coordinate information meet the second preset condition includes: obtaining path information of holes other than the starting hole and determining the drilling position according to the path information; setting the starting hole as the reference coordinate; incrementally assigning values according to the reference coordinate to obtain a first plane coordinate value; obtaining the plane coordinate information of the drill bit, extracting the plane coordinate information to obtain a second plane coordinate value, and comparing the first plane coordinate value and the second plane coordinate value; if the first plane coordinate value and the second plane coordinate value are the same, drilling is performed on holes other than the starting hole; if the first plane coordinate value and the second plane coordinate value are not the same, the second plane coordinate value of the drill bit is adjusted according to the first plane coordinate value so that the second plane coordinate value of the drill bit is the same as the first plane coordinate value.
3. The PCB drilling positioning accuracy control method according to claim 1, characterized in that, The step of obtaining the second coordinate information of the starting hole position further includes: based on the second coordinate information, wherein the second coordinate information includes inlet hole diameter information and inner hole diameter information; performing a first measurement extraction on the inlet hole diameter information to obtain a first measurement value, and performing a first calibration on the first measurement value, wherein the first calibration requires continuous measurement at multiple measurement points and taking the average of multiple first measurement values; performing a second measurement extraction on the inner hole diameter information to obtain a second measurement value, and performing a second calibration on the second measurement value, wherein the second calibration involves multiple acquisitions based on the PCB drilling depth and taking the average of multiple second measurement values; and inputting the first measurement value and the second measurement value into the standard PCB drilling reference table for calibration based on a preset standard PCB drilling reference table.
4. The PCB drilling positioning accuracy control method according to claim 1, characterized in that, Before the step of determining whether the first coordinate information and the second coordinate information meet the second preset condition, the method further includes: setting up a worktable that can be clamped and moved vertically, wherein the surface of the worktable is provided with a working area; acquiring image information of the working area and extracting the image information of the working area to obtain a first contour area; acquiring image information of the PCB and extracting information from the image information of the PCB to obtain a second contour area; comparing the positions of the first contour area and the second contour area; if there is a deviation between the X-axis coordinate of the second contour area and the first contour area, then translating the PCB on the X-axis until the X-axis coordinate of the second contour area coincides with that of the first contour area; if there is a deviation between the Y-axis coordinate of the second contour area and the first contour area, then translating the PCB on the Y-axis until the Y-axis coordinate of the second contour area coincides with that of the first contour area.
5. The PCB drilling positioning accuracy control method according to claim 1, characterized in that, After the steps of repositioning and temperature detection of the drill bit located in the transition section, the method further includes: obtaining the diameter information of the drill bit, extracting the diameter information of the drill bit to obtain the drill bit diameter value, wherein the drill bit diameter value includes the diameter of the drill bit cutting edge and the diameter of the spiral groove cutting edge; determining whether the drill bit diameter value is the same as a preset diameter value; if they are not the same, calculating the difference between the diameter of the drill bit cutting edge and the diameter of the spiral groove cutting edge based on the preset diameter value, thereby obtaining the wear difference value of the drill bit, and determining whether the drill bit needs to be replaced based on the wear difference value.
6. A PCB drilling positioning accuracy control device, used to execute a PCB drilling positioning accuracy control method as described in any one of claims 1-5, characterized in that: include: The first acquisition module acquires hole position information of multiple holes in the PCB, and selects one hole as the starting hole position based on the hole position information, wherein the starting hole position is located below the drill bit; the second acquisition module drills the starting hole position using the drill bit, and acquires the temperature value of the drill bit after drilling; the first judgment module determines whether the temperature value exceeds a preset value; if the temperature value exceeds the preset value, the drill bit is cooled according to a first preset condition; the third acquisition module acquires the second temperature value of the drill bit after cooling, and returns the second temperature value as the temperature value to the first judgment module that determines whether the temperature value exceeds the preset value; if the temperature value does not exceed the preset temperature value, the first coordinate information of the cooled drill bit is acquired; the fourth acquisition module acquires the second coordinate information of the starting hole position; the second judgment module determines whether the first coordinate information and the second coordinate information meet a second preset condition; if the first coordinate information and the second coordinate information meet the second preset condition, the drill bit is started to operate on the other holes of the PCB except for the starting hole position.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: It stores a computer program that, when executed, implements the steps of the method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
PCB encoding identification method
CN105764243A
Low-hole-position blast hole drilling rock drill and drilling positioning method thereof
CN116065952A
Controllable drilling device for PCB (Printed Circuit Board)
CN219599784U
Cooling apparatus and method of drills for printed circuit boards
WO2014056180A1