Method for measuring and calculating number of round holes drilled in PCB (printed circuit board) slotted hole

By plotting a scatter plot of the number of round holes in slotted drills and their characteristics, and using a multiple linear regression algorithm to build a model, the problem of inaccurate estimation of the number of round holes in slotted drills was solved, thereby improving production efficiency and the accuracy of order quotations.

CN121645696APending Publication Date: 2026-03-10江西景旺精密电路有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-24
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In the existing PCB manufacturing process, the calculation method for the number of round holes drilled in slots is inaccurate, resulting in inaccurate estimation of the total number of holes, which affects order pricing, production planning and cost control.

Method used

By obtaining product production records, a scatter plot and trend line of the number and characteristics of slotted drill round holes were drawn. A multiple linear regression algorithm was used to construct a model for calculating the number of slotted drill round holes. The model was then trained and validated to improve the estimation accuracy.

Benefits of technology

It improved the accuracy of estimating the number of holes drilled in slots, reduced the error between the estimated total number of holes and the actual total number of holes, optimized the drilling process, reasonably estimated equipment load, and improved production efficiency and the accuracy of order quotations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121645696A_ABST
    Figure CN121645696A_ABST
Patent Text Reader

Abstract

The invention discloses a method for measuring and calculating the number of round holes drilled in PCB slotted holes. The method comprises the steps that product production records in a preset time period and product information including names, the actual total drilling number, an aperture table and drilling parameters are obtained; taking the median of the product information of the same product as the preprocessed product information of the product according to the production record of the product, obtaining the product only containing the slotted hole of one size according to the aperture table as the target product, and calculating the number of the round holes drilled in the single slotted hole; and drawing a scatter diagram and a trend line between the number of drilled round holes in a single slot and different slot features of the corresponding slot, obtaining a relationship between the number of drilled round holes in the single slot and the slot features, constructing a model for measuring and calculating the number of drilled round holes in the single slot by adopting a multiple linear regression algorithm, and training and verifying the model. And adopting the trained model to obtain a predicted value of the number of round holes drilled in a single slotted hole of the slotted holes of each size of the to-be-produced product, and calculating a predicted value of the total number of the round holes drilled in the slotted holes by combining the number of the slotted holes of each size.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of circuit board manufacturing technology, and in particular to a method for calculating the number of round holes drilled in PCB slots. Background Technology

[0002] In the manufacturing process of PCBs (Printed Circuit Boards), the accuracy of calculating the total number of drilled holes on the PCB has a significant impact on order pricing, production planning and scheduling, and cost control. The total number of holes primarily refers to the number of round holes; the number of slot holes needs to be converted to the number of round holes. The accuracy of estimating the total number of drilled holes is affected by the variety of slot types and the large number of slot holes. Current PCB manufacturing processes mainly rely on formulas... Calculate the number of circular holes to be drilled in the slot, where, Indicates the number of round holes drilled in the slot. Indicates the length of the groove. Indicates the drill bit diameter. This indicates the effective machining width, which is the actual width of material that needs to be cut. Indicates step size. Indicates the theoretical number of steps. The result indicates that the number of round holes in the slotted hole is rounded up. However, there is a significant discrepancy between the number of round holes obtained by this calculation method and the number obtained by the difference between the total number of holes drilled by the drilling rig and the number of round holes collected. The traditional method for calculating the number of round holes in the slotted hole is inaccurate. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to provide a method for calculating the number of round holes drilled in PCB slots, so as to improve the accuracy of the estimation of the number of round holes drilled in slots.

[0004] To solve the above-mentioned technical problems, the objective of this invention is achieved through the following technical solution: A method for calculating the number of drilled round holes in PCB slots is provided, comprising the following steps: obtaining product production records and product information within a preset time period, wherein the product information includes name, actual total number of drilled holes, hole diameter table, and drilling parameters; taking the median of the product information for the same product based on the product production records as the preprocessed product information for that product; obtaining products containing only one size of slot as target products based on the hole diameter table; calculating the number of drilled round holes in a single slot of the target product; and plotting the number of drilled round holes in a single slot against the corresponding slot diameter. Scatter plots and trend lines showing the relationships between different slot features are used to obtain the relationship between the number of drilled holes in a single slot and each slot feature. Based on this relationship, a multiple linear regression algorithm is used to construct a model for calculating the number of drilled holes in a single slot. This model is then trained and validated to obtain a trained model. The trained model is then used to predict the number of drilled holes in slots of various sizes in the product to be produced. Finally, the total number of drilled holes in the product to be produced is predicted by combining the number of slots of various sizes with the total number of drilled holes in the product.

[0005] The further technical solution is as follows: the calculation of the number of round holes drilled in a single slot of the target product includes: calculating the actual number of round holes drilled in the slot of the target product based on the actual total number of holes and the number of round holes of each size in the pre-processed target product; and calculating the number of round holes drilled in a single slot of the target product based on the actual number of round holes drilled in the slot of the target product combined with the number of slots in the pre-processed target product.

[0006] The further technical solution is as follows: the calculation of the actual number of slotted holes drilled in the target product based on the actual total number of holes and the number of round holes of each size after preprocessing includes: obtaining the total number of round holes in the target product based on the total number of round holes of each size after preprocessing; and calculating the difference between the actual total number of holes in the target product after preprocessing and the total number of round holes in the target product as the actual number of slotted holes drilled in the target product.

[0007] The further technical solution is as follows: The calculation of the number of round holes drilled in a single slot of the target product based on the actual number of round holes drilled in the slots of the target product and the number of slots in the pre-processed target product is specifically as follows: the number of round holes drilled in a single slot of the target product is calculated by dividing the actual number of round holes drilled in the slots of the target product by the number of slots in the pre-processed target product, and the calculation result is rounded up to obtain the number of round holes drilled in a single slot of the target product.

[0008] The further technical solution is as follows: The step of plotting scatter plots and trend lines between the number of drilled holes in a single slot and the different slot features of the corresponding slot, to obtain the relationship between the number of drilled holes in a single slot and each slot feature, includes: plotting scatter plots and trend lines between the number of drilled holes in a single slot and the diameter of the corresponding slot, to obtain the relationship between the number of drilled holes in a single slot and the diameter of the corresponding slot; plotting scatter plots and trend lines between the number of drilled holes in a single slot and the slot length of the corresponding slot, to obtain the relationship between the number of drilled holes in a single slot and the slot length of the corresponding slot; and plotting scatter plots and trend lines between the number of drilled holes in a single slot and the density of drilled holes in slots of various sizes of drill bits, to obtain the relationship between the number of drilled holes in a single slot and the density of drilled holes in slots of various sizes of drill bits.

[0009] The further technical solution is as follows: The calculation model for the number of drilled holes in a single slot, which is constructed using a multiple linear regression algorithm based on the relationship between the number of drilled holes in a single slot and the characteristics of each slot, is expressed by the following formula: Y2=β0+β1*L+β2*D2+β3*H, where Y2 represents the number of drilled holes in a single slot, β0 represents the baseline value, β1, β2 and β3 represent weight parameters, L represents the slot length, D2 represents the slot diameter, and H represents the density of drilled holes in the slot.

[0010] The further technical solution is as follows: the training and verification of the single slot hole drilling round hole count calculation model obtained by the construction to obtain the trained single slot hole drilling round hole count calculation model includes: taking the product production records and product information within a preset time period as a dataset, dividing the dataset into a training set and a test set, using the root mean square error as the loss function of the single slot hole drilling round hole count calculation model, using the least squares method to optimize the single slot hole drilling round hole count calculation model according to the training set, and verifying it according to the test set to obtain the trained single slot hole drilling round hole count calculation model.

[0011] The further technical solution is as follows: after calculating the predicted total number of drilled round holes in the slots of the product to be produced by combining the number of slots of each size of the product to be produced, the method for calculating the number of drilled round holes in the PCB slots further includes: obtaining the number of round holes of each size of the product to be produced, and summing the number of round holes of each size of the product to be produced with the predicted total number of drilled round holes in the slots of the product to be produced to obtain the predicted total number of holes in the product to be produced.

[0012] The beneficial technical effects of this invention are as follows: The PCB slot drilled hole count calculation method of this invention obtains product production records within a preset time period and product information including name, actual total drilled hole count, hole diameter table, and drilling parameters. Based on the hole diameter table, it selects products containing only one slot size as target products and calculates the drilled hole count for each slot. It then plots scatter plots and trend lines between the drilled hole count for each slot and different slot characteristics to obtain the relationship between the drilled hole count for each slot and each slot characteristic. Combined with a multiple linear regression algorithm, it constructs a single slot drilled hole count calculation model. After training and validating the model, it obtains the trained single slot drilled hole count. This model predicts the number of drilled holes in slots of various sizes for products to be manufactured. It then combines this prediction with the total number of slots of each size to calculate the total number of drilled holes in the products. This ensures the predicted total number of drilled holes more closely approximates the actual data distribution, reducing prediction bias and improving the accuracy of hole count estimation. This, in turn, reduces the error between the estimated and actual total number of holes, improves the accuracy of estimated production costs and order quotations, reduces deviations in drilling time, optimizes the drilling process, and allows for reasonable estimation of the load on each drilling rig, achieving balanced production scheduling and improving production efficiency. Attached Figure Description

[0013] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0014] Figure 1 This is a flowchart illustrating the method for calculating the number of drilled round holes in a PCB slot according to an embodiment of the present invention. Detailed Implementation

[0015] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0016] Please see Figure 1 , Figure 1 This is a flowchart illustrating the method for calculating the number of drilled round holes in a PCB slot according to an embodiment of the present invention. The method includes the following steps: S10: Obtain product production records and product information within a preset time period. The product information includes name, actual total number of holes drilled, a hole diameter table, and drilling parameters. The hole diameter table includes the size of round holes, the number of round holes of each size, the size of slot holes, and the number of slot holes of each size. The drilling parameters include the density of round holes drilled using slot holes of each size of drill bit. The size of a round hole is its diameter, and the size of a slot hole includes its diameter and slot length. The actual total number of holes drilled includes the sum of the number of round holes of all sizes and the number of round holes drilled using slot holes of all sizes.

[0017] S20: Based on the product production records, take the median of the product information for the same product as the preprocessed product information. According to the aperture table, obtain products containing only one size of slot as target products. Calculate the number of round holes drilled in a single slot of the target product. Plot a scatter plot and trend line between the number of round holes drilled in a single slot and the different slot features corresponding to that slot, obtaining the relationship between the number of round holes drilled in a single slot and each slot feature. Here, the number of holes drilled refers to the number of round holes; therefore, slots need to be converted to round holes for statistics. The number of round holes drilled in a slot refers to the number of round holes corresponding to the slot when converted. The number of round holes drilled in a single slot refers to the number of round holes corresponding to a single slot when converted. Slot features include the slot size, which includes the slot diameter and slot length.

[0018] S30: Based on the relationship between the number of round holes drilled in a single slot and the characteristics of each slot, a multivariate linear regression algorithm is used to construct a calculation model for the number of round holes drilled in a single slot. The constructed calculation model for the number of round holes drilled in a single slot is then trained and validated to obtain the trained calculation model for the number of round holes drilled in a single slot.

[0019] S40: Use the trained single slot hole drill hole count calculation model to obtain the predicted value of the single slot hole drill hole count for each size of the product to be produced, and combine it with the number of slot holes of each size of the product to be produced to calculate the predicted value of the total number of slot holes drilled in the product to be produced.

[0020] Each product has its own hole diameter table and drilling parameters. The method for calculating the number of drilled round holes in PCB slots involves acquiring product production records within a preset time period, along with product information including name, actual total number of drilled holes, hole diameter table, and drilling parameters. Based on the hole diameter table, products containing only one slot size are selected as target products, and the number of drilled round holes in each slot is calculated. Scatter plots and trend lines are then plotted between the number of drilled round holes in a single slot and different slot characteristics to obtain the relationship between the number of drilled round holes in a single slot and each slot characteristic. A model for calculating the number of drilled round holes in a single slot is constructed using a multiple linear regression algorithm. After training and validation of the model, a trained version is obtained. The single-slot hole drilling count prediction model obtains the predicted value of the single slot hole drilling count for each size of the product to be produced. Combined with the quantity of slots of each size in the product to be produced, it calculates the predicted total number of slot holes to be drilled in the product. This makes the obtained predicted total number of slot holes closer to the actual data distribution, reduces the prediction deviation of the number of slot holes, improves the accuracy of the estimation of the number of slot holes, and thus reduces the error between the estimated total number of holes and the actual total number of holes. This improves the accuracy of product production cost estimation and order quotation, reduces the deviation of drilling time estimation, optimizes the drilling process, reasonably estimates the load of each drilling equipment, achieves balanced production scheduling, and improves production efficiency.

[0021] Preferably, step S10, which involves taking the median of the product information for the same product based on the product production records as the preprocessed product information, specifically includes: Based on the product production records, the median of the actual total number of drilled holes, the number of round holes of each size, and the number of slots of each size for the same product is taken as the actual total number of drilled holes, the number of round holes of each size, and the number of slots of each size after preprocessing.

[0022] Specifically, in some embodiments, the step S20 of calculating the number of circular holes drilled in a single slot of the target product includes: The actual number of slotted holes drilled in the target product is calculated based on the actual total number of holes and the number of round holes of each size after preprocessing; where the actual number of slotted holes drilled in the target product refers to the number of round holes corresponding to the actual total number of slotted holes in the target product when converted into round holes. The number of round holes drilled per slot in the target product is calculated based on the actual number of round holes drilled in the target product and the number of slots in the pre-processed target product.

[0023] Specifically, the step of calculating the actual number of slotted round holes in the target product based on the actual total number of holes and the number of round holes of each size after preprocessing includes: The total number of holes in the target product is obtained by summing the number of holes of each size in the pre-processed target product. The difference between the actual total number of holes in the target product after preprocessing and the total number of round holes in the target product is used as the actual number of round holes drilled in the slots of the target product.

[0024] Preferably, the step of calculating the number of drilled holes per slot in the target product based on the actual number of drilled holes in the target product and the number of slots in the pre-processed target product specifically involves: Divide the actual number of drilled holes in the slots of the target product by the number of slots in the pre-processed target product to calculate the number of drilled holes in a single slot of the target product, and round the result up to obtain the number of drilled holes in a single slot of the target product.

[0025] Specifically, the slot features include the slot diameter, slot length, and the density of drilled round holes for each size of drill bit. Therefore, step S20, which involves plotting scatter plots and trend lines between the number of drilled round holes in a single slot and the corresponding different slot features to obtain the relationship between the number of drilled round holes in a single slot and each slot feature, includes: Draw a scatter plot and trend line between the number of round holes drilled in a single slot and the corresponding slot diameter to obtain the relationship between the number of round holes drilled in a single slot and the corresponding slot diameter. Draw a scatter plot and trend line between the number of round holes drilled in a single slot and the corresponding slot length to obtain the relationship between the number of round holes drilled in a single slot and the corresponding slot length. Plot a scatter plot and trend line between the number of round holes drilled in a single slot and the density of round holes drilled in slots for each size of drill bit, to obtain the relationship between the number of round holes drilled in a single slot and the density of round holes drilled in slots for each size of drill bit.

[0026] Specifically, step S20, which involves obtaining the relationship between the number of drilled holes in a single slot and the characteristics of each slot, further includes: When the relationship between the number of holes drilled in a single slot and the corresponding slot feature is non-linear, new features are derived based on the curve type of the trend line.

[0027] Specifically, when the relationship between the number of round holes drilled in a single slot and the corresponding slot feature follows a power-law curve, the corresponding slot feature is extended by a power-law to obtain a new feature. The new feature includes the corresponding slot feature and its corresponding power-law extension. For example, if the value of the corresponding slot feature is set to x, and the relationship between the number of round holes drilled in a single slot and the corresponding slot feature follows a cubic curve, then the new feature is [x, x...]. 2 ,x 3When the relationship between the number of round holes drilled in a single slot and the corresponding slot feature follows an exponential or logarithmic curve, the corresponding slot feature is processed exponentially or logarithmically to obtain a new feature. The new feature is the exponential or logarithmic representation of that slot feature. For example, if the value of the corresponding slot feature is set to x, and the relationship between the number of round holes drilled in a single slot and the corresponding slot feature follows an exponential curve, then the new feature is [e]. x When the relationship between the number of drilled holes in a single slot and the corresponding slot feature follows a logarithmic curve, the new feature is [log(x)]. When the relationship between the number of drilled holes in a single slot and the corresponding slot feature is piecewise linear, the corresponding slot feature is split using a piecewise function or dummy variable to obtain a new feature. The new feature includes the values ​​of each segment of the corresponding slot feature. For example, when the relationship between the number of drilled holes in a single slot and the corresponding slot feature is two-segment linear, the new feature is [x1, x2]. When the relationship between the number of drilled holes in a single slot and the corresponding slot feature is non-linear, a new feature is derived based on the curve type of the trend line. The curve type of the trend line includes powers, exponential, or logarithmic curves. The derived new feature is related to the curve type of the trend line, and the relationship between the number of drilled holes in a single slot and each slot feature is obtained based on the derived new feature, so as to construct a calculation model for the number of drilled holes in a single slot based on the relationship between the number of drilled holes in a single slot and each slot feature.

[0028] Specifically, the calculation model for the number of drilled holes in a single slot, which is constructed using a multiple linear regression algorithm based on the relationship between the number of drilled holes in a single slot and the characteristics of each slot, is expressed by formula (1): Y2=β0+β1*L+β2*D2+β3*H (1) In the formula, Y2 represents the number of round holes drilled in a single slot, β0 represents the baseline value, β1, β2 and β3 represent weighting parameters, L represents the slot length, D2 represents the slot diameter, and H represents the density of round holes drilled in the slot.

[0029] Preferably, step S30, which involves training and validating the constructed model for calculating the number of drilled holes in a single slot, to obtain a trained model for calculating the number of drilled holes in a single slot, includes: The product production records and product information obtained within a preset time period are used as a dataset, which is then divided into a training set and a test set. The root mean square error is used as the loss function for the single slot hole drilling round hole count calculation model. The least squares method is used to optimize the single slot hole drilling round hole count calculation model based on the training set, and the model is verified based on the test set to obtain the trained single slot hole drilling round hole count calculation model.

[0030] Preferably, before obtaining the predicted number of drilled holes in a single slot for each size of the product to be manufactured using the trained single slot drilled hole count calculation model in step S40, the PCB slot drilled hole count calculation method further includes: Store the trained model for calculating the number of drilled holes in a single slot, and then integrate the trained model with MES and InPlan.

[0031] Among them, MES (Manufacturing Execution System) is used for functions such as production scheduling management, process management, quality management and data management. InPlan is a pre-production engineering automation software adopted by PCB factories, which supports functions such as CAM data synchronization, automatic drill bit selection, automatic process generation and automatic panelization. It can also predict the number of round holes to be drilled in a single slot of various sizes of products to be produced through MES and InPlan.

[0032] Preferably, in some embodiments, the step S40 of obtaining the predicted number of drilled holes per slot for each size of the product to be produced using a trained single slot drill hole count calculation model specifically includes: The basic data of the product to be manufactured is obtained, and the number of round holes drilled in a single slot is predicted based on the trained model for calculating the number of round holes drilled in a single slot of the product to be manufactured for each size.

[0033] The basic data of the product to be manufactured is the slot characteristics of the product to be manufactured, including the number of round holes of each size, the slot length of each size, the hole diameter of each size, and the density of round holes drilled in the slot. The basic data of the product to be manufactured comes from the tool table system made according to user requirements, namely InPlan.

[0034] Preferably, in some embodiments, after calculating the predicted total number of drilled round holes in the slots of the product to be produced by combining the number of slots of various sizes in step S40, the PCB slot drilled round hole count calculation method further includes: Obtain the number of round holes of each size in the product to be produced, and sum the number of round holes of each size in the product to be produced with the predicted total number of round holes drilled in the slots of the product to be produced to obtain the predicted total number of holes in the product to be produced.

[0035] The predicted total number of holes in the products to be produced can be stored and updated in the corresponding system's database for production and distribution.

[0036] In summary, the PCB slot drill hole count calculation method of the present invention obtains product production records and product information including name, actual total number of drilled holes, hole diameter table, and drilling parameters within a preset time period. Based on the hole diameter table, it selects products containing only one slot size as target products and calculates the number of drilled holes in each slot. It then plots scatter plots and trend lines between the number of drilled holes in a single slot and different slot characteristics to obtain the relationship between the number of drilled holes in a single slot and each slot characteristic. Combining this with a multiple linear regression algorithm, it constructs a single slot drill hole count calculation model. After training and validating the model, it obtains the trained single slot drill hole count... The hole count prediction model obtains the predicted number of drilled holes for each slot of various sizes in the product to be produced. Combined with the quantity of slots of each size in the product to be produced, it calculates the predicted total number of drilled holes in the slots. This makes the predicted total number of drilled holes closer to the actual data distribution, reducing prediction deviation and improving the accuracy of hole count estimation. This, in turn, reduces the error between the estimated total number of holes and the actual total number of holes, improves the accuracy of product production cost estimates and order quotations, reduces deviations in drilling time estimates, optimizes the drilling process, reasonably estimates the load of each drilling machine, achieves balanced production scheduling, and improves production efficiency.

[0037] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for measuring the diameter of a hole drilled in a PCB slot, characterized by, The method comprises the following steps: obtaining product production records and product information in a preset time period, wherein the product information comprises name, actual total drilling number, aperture table and drilling parameter; taking the median of the product information of the same product according to the product production records as the pretreated product information of the product, obtaining a product with only one size of slot hole according to the aperture table as a target product, calculating the single slot hole drilling number of the target product, drawing a scatter plot and a trend line between the single slot hole drilling number and different slot hole characteristics of the corresponding slot hole, and obtaining the relationship between the single slot hole drilling number and the slot hole characteristics; constructing a single slot hole drilling number calculation model according to the relationship between the single slot hole drilling number and the slot hole characteristics by using a multivariate linear regression algorithm, training and verifying the obtained single slot hole drilling number calculation model, and obtaining a trained single slot hole drilling number calculation model; obtaining the single slot hole drilling number prediction value of each size of slot hole of a product to be produced by using the trained single slot hole drilling number calculation model, and combining the number of each size of slot hole of the product to be produced to calculate the total slot hole drilling number prediction value of the product to be produced.

2. The PCB slot hole drilling hole count measurement method of claim 1, wherein, The calculation of the single slot hole drilling number of the target product comprises: calculating the actual slot hole drilling number of the target product according to the actual total hole number and the number of each size of round hole of the pretreated target product; calculating the single slot hole drilling number of the target product according to the actual slot hole drilling number of the target product and the number of slot holes of the pretreated target product.

3. The method for calculating the number of drilled round holes in a PCB slot according to claim 2, characterized in that, The calculation of the actual slot hole drilling number of the target product according to the actual total hole number and the number of each size of round hole of the pretreated target product comprises: obtaining the total number of round holes of the target product by summing up the number of each size of round hole of the pretreated target product; calculating the difference between the actual total hole number of the pretreated target product and the total number of round holes of the target product as the actual slot hole drilling number of the target product.

4. The method for calculating the number of drilled round holes in a PCB slot according to claim 3, characterized in that, The calculation of the single slot hole drilling number of the target product according to the actual slot hole drilling number of the target product and the number of slot holes of the pretreated target product comprises: dividing the actual slot hole drilling number of the target product by the number of slot holes of the pretreated target product to calculate the single slot hole drilling number of the target product, and rounding up the calculation result to obtain the single slot hole drilling number of the target product.

5. The method of claim 1, wherein, The drawing of the scatter plot and the trend line between the single slot hole drilling number and the different slot hole characteristics of the corresponding slot hole, and the obtaining of the relationship between the single slot hole drilling number and the slot hole characteristics comprise: drawing a scatter plot and a trend line between the single slot hole drilling number and the aperture of the corresponding slot hole, and obtaining the relationship between the single slot hole drilling number and the aperture of the corresponding slot hole; drawing a scatter plot and a trend line between the single slot hole drilling number and the slot length of the corresponding slot hole, and obtaining the relationship between the single slot hole drilling number and the slot length of the corresponding slot hole; drawing a scatter plot and a trend line between the single slot hole drilling number and the density of the slot hole drilling of each size of drill bit, and obtaining the relationship between the single slot hole drilling number and the density of the slot hole drilling of each size of drill bit.

6. The method of claim 1, wherein, The single-slot-hole drilling round-hole number measurement model in the single-slot-hole drilling round-hole number measurement model constructed according to the relationship between the single-slot-hole drilling round-hole number and the characteristics of each slot hole adopts a multivariate linear regression algorithm and is expressed by the following formula: Y2=β0+β1*L+β2*D2+β3*H In the formula, Y2 represents the single-slot-hole drilling round-hole number, β0 represents a reference value, β1, β2, and β3 represent weight parameters, L represents the slot length of the slot hole, D2 represents the hole diameter of the slot hole, and H represents the density of the slot-hole drilling round holes.

7. The method of claim 1, wherein, The single-slot-hole drilling round-hole number measurement model obtained is trained and verified to obtain a trained single-slot-hole drilling round-hole number measurement model, including: The product production records and product information obtained in the preset time period are taken as a data set, the data set is divided into a training set and a test set, the root mean square error is taken as the loss function of the single-slot-hole drilling round-hole number measurement model, the least square method is used to optimize the single-slot-hole drilling round-hole number measurement model according to the training set, and the test set is used for verification to obtain the trained single-slot-hole drilling round-hole number measurement model.

8. The method of claim 1, wherein, After the total number of slot-hole drilling round holes of the product to be produced is predicted by combining the number of slot holes of each size of the product to be produced, the PCB slot-hole drilling round-hole number measurement method further includes: The number of round holes of each size of the product to be produced is obtained, and the number of round holes of each size of the product to be produced is added to the total number of slot-hole drilling round holes of the product to be produced to obtain a total hole number prediction value of the product to be produced.