Drilling production control method and equipment and storage medium

By calculating the production number of circuit boards and building the number of strokes model, and optimizing the drill tool layout plan, the problem of inefficient drill tool layout in the existing technology is solved, and efficient utilization of drill tool and improvement of production efficiency is achieved.

CN119077855APending Publication Date: 2024-12-06DELTON TECH (GUANGZHOU) INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411201899.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

When choosing a drill tool layout plan, the calculation volume of existing drilling machines is huge, resulting in low efficiency and easy to fall into local optimal solutions, resulting in waste of drilling tools, and high labor costs and long time.

Method used

By calculating the production number of circuit boards, building a number of strokes, generating a number of strokes, configuring the drilling tool according to the list, filtering the candidate layout plan, selecting the global optimal layout plan, and controlling the drilling machine to replace the drilling tool.

Benefits of technology

This greatly reduces the number of candidate layout plans, improves the utilization rate of drilling tools, reduces waste, shortens layout time, improves overall efficiency, and uses enterprise-level server resources to quickly filter out the global optimal solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119077855A_ABST
    Figure CN119077855A_ABST
Patent Text Reader

Abstract

The invention discloses a drilling production control method and device and a storage medium, and the method comprises the steps: calculating the number of production times of a circuit board in a drilling technology of the circuit board; according to the number of production times, the number of drilling times with the constraint relation is configured for the tool box, and a number-of-times model is obtained; configuring the drilling times in the same times model to each cutter box to obtain a plurality of times lists; under the condition that the number of production times is met, drilling tools are configured to a tool box according to the multiple number-of-times lists, and multiple candidate layout schemes are obtained; selecting one candidate layout scheme from the plurality of candidate layout schemes to obtain a target layout scheme; and when the drilling machine drives the drilling tool to drill the circuit board, the drilling machine is controlled to replace the drilling tool from the tool box according to the target layout scheme. The global optimal solution is screened out in a short time, the cost is low, the utilization rate of the drilling tools is effectively improved, waste of the drilling tools is reduced, and therefore the overall efficiency of arranging the drilling tools is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of printed circuit board manufacturing, and in particular to a drilling production control method, equipment and storage medium. Background Art

[0002] A drilling machine is one of the processing equipment for producing circuit boards. The drilling machine uses drills with different diameters to process several holes of different diameters on the circuit board to achieve component installation, interconnection, heat dissipation or mechanical support.

[0003] There are many holes of different diameters designed on the circuit board. Therefore, the drilling machine is equipped with a series of drill bits of different specifications. The drill bits are arranged in the tool box according to the processing requirements of the circuit board, which is convenient for the drilling machine to take the drill bits from the tool box.

[0004] There are many ways to layout drills. Using the exhaustive method, drills can be arranged in hundreds of millions of layouts. Selecting the optimal layout solution requires a huge amount of computation and occupies a large amount of server resources. When the specifications of drills increase and the number of circuit boards produced increases, the amount of computation increases exponentially.

[0005] Therefore, currently, specialized engineers select the layout of drill bits based on manual experience. However, manual experience is prone to fall into a local optimal solution, resulting in a certain waste of drill bits. Moreover, the labor cost is high and the time consumption is long. Arranging a layout of drill bits usually takes 15-30 minutes, resulting in low overall efficiency of arranging drill bits. Summary of the invention

[0006] In view of this, the present invention provides a drilling production control method, device and storage medium, which are used to improve the efficiency of selecting the optimal layout solution of the drill bit from a global perspective.

[0007] A first aspect of the present invention provides a production control method for drilling, wherein a drilling machine has one or more spindle heads, the spindle heads are used to install drill bits, the spindle heads are configured with a tool box, and the tool box is used to place multiple drill bits, the method comprising:

[0008] In a drilling process of a circuit board, calculating the number of production passes for the circuit board;

[0009] According to the production pass number, the drilling pass number with a constraint relationship is configured for the tool box to obtain a pass number model;

[0010] Assign the drilling passes in the same pass model to each tool box to obtain multiple pass lists;

[0011] Under the condition of satisfying the production pass number, respectively arranging the drill bits to the tool boxes according to the plurality of pass number lists to obtain a plurality of candidate layout solutions;

[0012] Select one of the candidate layout solutions from the multiple candidate layout solutions to obtain a target layout solution;

[0013] When the drilling machine drives the drill to drill holes in the circuit board, the drilling machine is controlled to replace the drill from the tool box according to the target layout solution.

[0014] A second aspect of the present invention provides a drilling production control device, wherein the drilling machine has one or more spindle heads, the spindle heads are used to install drill bits, the spindle heads are equipped with a tool box, and the tool box is used to place multiple drill bits, and the device comprises:

[0015] A production pass number calculation module, used for calculating the production pass number of the circuit board in the drilling process of the circuit board;

[0016] A pass number model building module is used to configure the drilling pass number with a constraint relationship for the tool box according to the production pass number to obtain a pass number model;

[0017] A pass list generation module, used for allocating the drilling passes in the same pass model to each tool box to obtain multiple pass lists;

[0018] A candidate layout scheme generating module is used to respectively configure the drill bits to the tool boxes according to a plurality of the pass lists under the condition that the production pass number is satisfied, so as to obtain a plurality of candidate layout schemes;

[0019] A target layout scheme selection module is used to select one of the candidate layout schemes from the plurality of candidate layout schemes to obtain a target layout scheme;

[0020] The drilling control module is used to control the drilling machine to replace the drilling bit from the tool box according to the target layout plan when the drilling machine drives the drilling bit to drill the circuit board.

[0021] A third aspect of the present invention provides an electronic device, the electronic device comprising:

[0022] at least one processor; and

[0023] a memory communicatively connected to the at least one processor; wherein,

[0024] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the drilling production control method as described in the first aspect above.

[0025] A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the drilling production control method as described in the first aspect above.

[0026] A fifth aspect of the present invention provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the drilling production control method as described in the first aspect above is implemented.

[0027] The technical solution of the present invention is as follows: in the drilling process of the circuit board, the number of production passes for the circuit board is calculated; according to the number of production passes, the number of drilling passes with a constraint relationship is configured for the tool box to obtain a pass number model; the number of drilling passes in the same pass number model is configured to each tool box to obtain multiple pass number lists; under the condition of satisfying the number of production passes, the drill bits are respectively configured to the tool box according to the multiple pass number lists to obtain multiple candidate layout schemes; one of the candidate layout schemes is selected from the multiple candidate layout schemes to obtain a target layout scheme; when the drilling machine drives the drill bit to drill the circuit board, the drilling machine is controlled to replace the drill bit from the tool box according to the target layout scheme. The present invention adds constraint conditions according to the number of production passes when arranging the needle for the drilling machine, greatly reduces the number of candidate layout schemes while ensuring the feasibility of the number of layout schemes, has a low amount of calculation, and can screen out the global optimal solution in a short time by using enterprise-level server resources, has low cost, and effectively improves the utilization rate of the drill bit, reduces the waste of the drill bit, and thus greatly improves the overall efficiency of arranging the drill bit.

[0028] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0030] Figure 1 It is a flow chart of a drilling production control method provided in Example 1 of the present invention.

[0031] Figure 2 It is a structural schematic diagram of a drilling production control device provided in Embodiment 2 of the present invention.

[0032] Figure 3 It is a structural schematic diagram of an electronic device provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0033] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can cover sequential implementations other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0035] Embodiment 1

[0036] See also Figure 1 , showing a flow chart of a drilling production control method provided in Embodiment 1 of the present invention, the method can be executed by a drilling production control device, the drilling production control device can be implemented in the form of hardware and / or software, the drilling production control device can be configured in an electronic device, especially a needle matching machine or cloud configured for a drilling machine.

[0037] The drilling machine has one or more spindle heads, such as 1, 2, 6, 12, etc. The spindle head is used to fix and clamp the drill bit (also called drill needle). The spindle head is equipped with multiple tool boxes (such as 6 tool boxes). There are multiple hole positions (such as 50 hole positions) in the tool box for placing multiple drill bits. The drill bit is used to process holes in the circuit board.

[0038] Among them, circuit boards include PCB (Printed Circuit Board), FPC (Flexible Printed Circuit) and other types.

[0039] In order to improve the efficiency of the drilling machine, when there are multiple specifications of drill bits in a tool box, the life differences of the drill bits of different specifications are ignored and the drill bit with the shortest life is used as the basis. When one of the drill bits reaches the end of its life, the drill bits in the same tool box are replaced at the same time.

[0040] Suppose one drill NeedleA can produce one run of PCB, and one drill NeedleB can produce 10 runs of PCB. Drill NeedleA and drill NeedleB are placed in the same tool box. Every time a run of PCB is produced, the drill in the tool box will be replaced. In order to produce 10 runs of PCB, at least (10-1)*1=9 drill NeedleBs are wasted.

[0041] In order to ensure that all holes can be processed in a single production run, the tool box contains drill bits of all specifications and a minimum quantity of each drill bit is guaranteed.

[0042] Assume that 10 runs of circuit boards are produced, and there are 60 drill specifications (such as hole diameter). These drills are arranged in 6 tool boxes so that different tool boxes can be replaced in each run of circuit boards. If the exhaustive method is used, the number of drill layout methods is C(60,6)*10=500638600.

[0043] like Figure 1 As shown, the method includes:

[0044] Step 101: In a drilling process of a circuit board, the number of production passes for the circuit board is calculated.

[0045] In this embodiment, when the circuit board enters the drilling process and waits for the hole to be processed, the production plan information of the circuit board can be queried, and the number of production passes for the circuit board can be calculated based on the production plan information.

[0046] In a specific implementation, the ratio between the total production quantity of circuit boards and the number of circuit board material numbers can be calculated to obtain the production quantity of each circuit board material number. The production quantity of each circuit board material number can be divided by the number of shaft heads and the number of circuit board stacks to obtain the number of production passes for the circuit board.

[0047] In order to improve the efficiency of circuit board production, multiple circuit boards will be stacked together and processed at the same time. The number of stacked boards is related to the process specifications.

[0048] For example, the drilling workshop produces 12,000 (total production quantity) circuit boards every day, with a total of 120 material numbers, and the production quantity of each material number is 12000 / 120=100 pieces.

[0049] Among them, the average number of stacked plates for a material number is 1.67, and the drilling machine has 6 processing spindle heads. Therefore, the average number of production runs for each material number is production quantity / (number of spindle heads×number of stacked plates)=100 / (6×1.67)=10 runs.

[0050] Step 102, configuring the drilling passes with constraints on the tool box according to the production passes, and obtaining a pass model.

[0051] In practical applications, the number of drilling passes can be configured for each tool box according to the experience and knowledge of producing circuit boards and the number of production passes, where the number of drilling passes is the number of passes that all drill bits in the tool box must meet during the production of circuit boards (i.e., the life is greater than or equal to the number of drilling passes). This can reduce the loss caused by the difference in life of drill bits of different specifications in the same tool box.

[0052] There is a constraint relationship between the number of drilling passes of each tool box, so that the tool boxes cooperate with each other, which can reduce the loss caused by the difference in the life of the drills in different tool boxes.

[0053] Then, the number of drilling passes for each tool box and its constraint relationship can be called the pass number model.

[0054] In one embodiment of the present invention, step 102 may include the following steps:

[0055] Step 1021, determine a positive integer less than or equal to the number of production passes as a reference number.

[0056] In this embodiment, an exhaustive method may be used to enumerate positive integers that are less than or equal to the number of production passes and record them as reference numbers.

[0057] For example, when the number of production runs is 10, the benchmark numbers are 10, 9, 8, 7, 6, 5, 4, 3, 2, and 1 respectively.

[0058] Step 1022: for each benchmark number, approximate the benchmark number while excluding the benchmark number itself.

[0059] In this embodiment, each reference number can be traversed, and all divisors of each reference number can be screened out. To facilitate calculation, the reference number itself is removed from the constraint.

[0060] For example, when the base number is 10, the divisors are 5, 2, and 1; when the base number is 9, the divisors are 3 and 1; when the base number is 8, the divisors are 4, 2, and 1; when the base number is 7, the divisors are 1; when the base number is 6, the divisors are 3, 2, and 1; when the base number is 5, the divisors are 1; when the base number is 4, the divisors are 2 and 1; when the base number is 3, the divisors are 1; when the base number is 2, the divisors are 1; when the base number is 1, the divisors are empty (i.e., there are no divisors).

[0061] Step 1023, configure the reference number and the approximate number as the number of drilling passes with a constraint relationship of the tool box, and obtain a pass number model.

[0062] In this embodiment, one or more pass number models can be constructed for the same reference number. Then, when the reference number is determined, the reference number and the approximate number can be combined in different ways to configure the drilling pass number with a constraint relationship for the tool box to obtain a pass number model.

[0063] In a specific implementation, for a reference number with a value of 1, the approximate number is ignored (the constraint is empty), and the reference number is configured as the number of drilling passes with a constraint relationship of the tool box to obtain a pass number model.

[0064] For the reference number whose value is greater than 1, on the one hand, the reference number and the divisor with a value of 1 are configured as the number of drilling passes with a constraint relationship of the tool box to obtain a pass number model.

[0065] On the other hand, divisors with values ​​greater than 1 are arbitrarily combined into an array, and the reference number, the array and the divisor with a value of 1 are configured as the number of drilling passes with a constraint relationship for the tool box to obtain a pass number model.

[0066] In addition, for all pass number models, some invalid pass number models can be filtered out based on the experience and knowledge of producing circuit boards to obtain valid pass number models.

[0067] For example, when the number of production passes is 10, the partial pass model is shown in Table 1:

[0068]

[0069]

[0070] Table 1

[0071] The first number in the trip number model represents the base number, and the non-first number represents the approximate number.

[0072] Step 103, assigning the drilling passes in the same pass model to each tool box to obtain multiple pass lists.

[0073] In this embodiment, the drilling pass combinations in the same pass model can be assigned to each tool box to obtain multiple pass lists.

[0074] In the same pass list, one or more drilling passes in the same pass model can be used. The drilling passes used can be part of the drilling passes in the same pass model or all the drilling passes in the same pass model.

[0075] In a specific implementation, based on the prior knowledge of producing circuit boards, for the same pass number model, the drilling pass number that belongs to the benchmark number is assigned to one of the tool boxes, and the permutations and combinations of drilling pass numbers that belong to the benchmark number and / or approximate numbers are assigned to other tool boxes (i.e., among all tool boxes, except the tool boxes that are configured with drilling pass numbers that belong to the benchmark number), to obtain a pass number list.

[0076] For example, when the pass number model is (9, 3, 1), a partial pass number list for 6 knife boxes is shown in Table 2:

[0077]

[0078]

[0079]

[0080] Table 2

[0081] In this example, the number of drilling passes 9 is the base number and is fixed to the tool box 6. The number of drilling passes 1 and 3 are approximate numbers. 1, 3 and 9 are arranged and combined to tool boxes 1, 2, 3, 4 and 5. Tool boxes 1, 2, 3, 4, 6 and 6 are arranged and combined to the tool boxes 1, 2, 3, 4, 6 and 6.

[0082] Step 104 , under the condition of satisfying the number of production passes, respectively configure the drill bits to the tool boxes according to the multiple pass lists to obtain multiple candidate layout solutions.

[0083] In practical applications, the prerequisite for pin matching is to meet the number of production passes to ensure the completion of the production task of circuit boards. Under this condition, pin matching is carried out according to multiple pass lists, and the drill bits are respectively configured to each tool box. Each pin matching method is recorded in the candidate layout plan, and multiple candidate layout plans can be accumulated.

[0084] In one embodiment of the present invention, step 104 may include the following steps:

[0085] Step 1041, determine the type and life of the drill according to the material number of the circuit board.

[0086] Generally speaking, each material number has its own drilling processing requirements, including the size of the hole diameter {D1, D2, ..., D59, D60} (there are 60 types of holes on average) and the corresponding number of hole positions {HoleQty1, HoleQty12, ..., HoleQty59, HoleQty60}.

[0087] When processing each hole diameter, the drill bits used have different types (i.e. specifications) and lives {Life1, Life2,..., Life59, Life60}.

[0088] Therefore, the material number of the circuit board in this production task can be used as an index to query and determine the type and life of the drill in the local system.

[0089] Step 1042: For each type of drill, calculate the minimum amount of drill required to complete drilling of a single production run of circuit boards.

[0090] In this embodiment, the minimum usage of each type of drill to complete drilling of a circuit board in a single production run can be calculated according to the requirements of the production task.

[0091] In a specific implementation, the number of holes in the drill can be determined according to the material number of the circuit board. For each type of drill, the ratio between the number of holes and the life span is rounded up to obtain the minimum amount of drill required to complete drilling of a single production run of the circuit board.

[0092] To complete T (T is a positive integer) passes of the circuit board, the minimum amount of each drill bit NeedleQty = number of passes * number of holes / lifetime = T*HoleQty / Life (round up). To complete a single pass of the circuit board, the minimum amount of each drill bit NeedleQty = 1*number of holes / lifetime = HoleQty / Life (round up).

[0093] For example, currently, in order to complete the production of 10 circuit boards, the minimum number of drill bits used is in the range of 1 to 500; in other words, some drill bits consume 1 to complete the production of 10 circuit boards, and some drill bits consume 500 to complete the production of 10 circuit boards.

[0094] To complete the production of one circuit board, the minimum number of drills required is between 1 and 50. In other words, some drills require one to complete the production of one circuit board, while some drills require 50 to complete the production of one circuit board.

[0095] Step 1043, for the same pass list, when all drilling passes configured in the tool box meet the production pass number, and the same tool box has all types of drill bits, and the quantity of each type of drill bit meets the minimum usage, configure the drill bit whose life matches the drilling pass number to the tool box to obtain a candidate layout plan.

[0096] In this embodiment, there are three approximate conditions when using the same pass list to match needles. The first is that all drilling passes configured in the tool box meet the production pass number. Since the drilling pass number is less than or equal to the production pass number, the tool box needs to be replaced. The second is that the same tool box has all types of drill bits. The third is that the number of various types of drill bits in the unified tool box meets the minimum usage. These three approximate conditions are used to ensure that the production task is completed.

[0097] Under the constraints of these three divisor conditions, drill bits whose lifespan matches the number of drilling passes (lifespan is greater than or equal to the number of drilling passes) can be configured to each tool box to obtain candidate layout solutions.

[0098] Step 105: Select one of the candidate layout solutions from the multiple candidate layout solutions to obtain a target layout solution.

[0099] In this embodiment, multiple candidate layout solutions may be evaluated based on indicators in one or more dimensions, and one of the candidate layout solutions that is best evaluated in the dimension is selected from the multiple candidate layout solutions to obtain a target layout solution.

[0100] In a specific implementation, the total number of drill bits is counted for each of the multiple candidate layout solutions, and the total number of drill bits can generally reflect the cost of the candidate layout solutions.

[0101] The total number of drill bits in each candidate layout scheme is compared, and the candidate layout scheme with the least total number is selected.

[0102] If the candidate layout scheme with the least total number is unique, the candidate layout scheme with the least total number is determined as the target layout scheme, thereby minimizing the cost.

[0103] If the candidate layout scheme with the smallest total number is not unique (i.e., the total number of drill bits in multiple candidate layout schemes is equal and the smallest), then the number of times the tool box is replaced for the candidate layout scheme with the smallest total number is counted, and the number of times the tool box is replaced for the candidate layout scheme with the smallest total number is compared to screen out the candidate layout schemes with the largest number of times the tool box is replaced, and the candidate layout scheme with the smallest number of times the tool box is replaced is determined as the target layout scheme, thereby reducing the number of times the tool box is replaced as much as possible while minimizing costs and improving the efficiency of circuit board production.

[0104] If the pass number model in Table 1 is used, a list of 265 pass numbers can be constructed, and the number of candidate layout solutions is 256×6×2=3180. In an enterprise-level server, the calculation of the target layout solution can be completed within 2 seconds. Compared with the exhaustive 500 million calculations, professional engineers spend 15-30 minutes to select the locally optimal layout method. The efficiency of selecting the globally optimal layout solution in this embodiment is at least 450 times higher.

[0105] Step 106: When the drilling machine drives the drill bit to drill holes in the circuit board, the drilling machine is controlled to replace the drill bit from the tool box according to the target layout plan.

[0106] In this embodiment, when the drill bit on the drilling machine driving shaft head drills holes in the circuit board, the drilling machine can be controlled to replace a suitable drill bit from the tool box according to the target layout plan to continue to complete the drilling process.

[0107] In a specific implementation, a needle matching machine matched with the drilling machine is provided in the production workshop, and the needle matching machine is controlled to perform the needle matching operation according to the target layout plan so as to place the drill bit into a suitable tool box.

[0108] If the needle matching operation is completed, the automatic guided vehicle (AGV) is controlled to transport the tool box to the drilling machine and place the tool box at a designated location to facilitate the shaft head of the drilling machine to replace the drill in the tool box.

[0109] Generate coordinate information for the drill bit of the tool box according to the target layout plan, synchronize the coordinate information to the drilling machine, and control the drilling machine to replace the drill bit from the tool box using the coordinate information.

[0110] Generally, a professional engineer spends 15-25 minutes entering the coordinate information of the drill in the tool box into the drilling machine. During this period, the coordinate information may be entered incorrectly, and the wrong drill may be used to drill holes, resulting in a decrease in the yield of the circuit board and an increase in the production cost of the circuit board. The present embodiment automatically enters the coordinate information of the drill in the tool box, which consumes less time and can save at least 15 minutes. It also avoids errors in entering the coordinate information, ensures the correct use of the drill, improves the yield of the circuit board, and reduces the production cost of the circuit board.

[0111] In the technical solution of the invention, in the drilling process of the circuit board, the number of production passes for the circuit board is calculated; the number of drilling passes with a constraint relationship is configured for the tool box according to the number of production passes to obtain a pass model; the number of drilling passes in the same pass model is configured to each tool box to obtain multiple pass lists; under the condition of satisfying the number of production passes, the drill bits are respectively configured to the tool box according to the multiple pass lists to obtain multiple candidate layout schemes; one of the candidate layout schemes is selected from the multiple candidate layout schemes to obtain the target layout scheme; when the drilling machine drives the drill bit to drill the circuit board, the drilling machine is controlled to replace the drill bit from the tool box according to the target layout scheme. The present invention adds constraints according to the number of production passes when arranging the needle for the drilling machine, greatly reduces the number of candidate layout schemes while ensuring the feasibility of the number of layout schemes, has a low amount of calculation, and can screen out the global optimal solution in a short time by using enterprise-level server resources, has low cost, and effectively improves the utilization rate of the drill bit, reduces the waste of the drill bit, and thus greatly improves the overall efficiency of arranging the drill bit.

[0112] Embodiment 2

[0113] See also Figure 2 , showing a schematic diagram of the structure of a drilling production control device provided by the second embodiment of the present invention. The drilling machine has one or more spindle heads, the spindle heads are used to fix and clamp the drill bits, the spindle heads are equipped with a tool box, and the tool box is used to place multiple drill bits, such as Figure 2 As shown, the device comprises:

[0114] A production pass calculation module 201 is used to calculate the production pass number of the circuit board in the drilling process of the circuit board;

[0115] A pass number model building module 202 is used to configure the drilling pass number with a constraint relationship for the tool box according to the production pass number to obtain a pass number model;

[0116] A pass list generating module 203 is used to assign the drilling passes in the same pass model to each tool box to obtain multiple pass lists;

[0117] A candidate layout scheme generating module 204 is used to respectively configure the drill bits to the tool boxes according to a plurality of the pass lists under the condition that the production pass number is satisfied, so as to obtain a plurality of candidate layout schemes;

[0118] A target layout scheme selection module 205 is used to select one of the candidate layout schemes from the plurality of candidate layout schemes to obtain a target layout scheme;

[0119] The drilling control module 206 is used to control the drilling machine to replace the drilling bit from the bit box according to the target layout plan when the drilling machine drives the drilling bit to drill holes in the circuit board.

[0120] In one embodiment of the present invention, the production pass number calculation module 201 includes:

[0121] The ratio calculation module is used to divide the production quantity of the circuit board by the number of the shaft heads and the number of stacked boards of the circuit board respectively to obtain the production number of the circuit board.

[0122] In one embodiment of the present invention, the trip number model building module 202 includes:

[0123] A reference number determination module, used to determine a positive integer less than or equal to the number of production passes as the reference number;

[0124] A divisor determination module, configured to obtain a divisor of each of the reference numbers under the condition that the reference number itself is excluded;

[0125] A pass number model configuration module, used to configure the reference number and the approximate number as the number of drilling passes with a constraint relationship for the tool box, to obtain a pass number model;

[0126] The trip list generation module 203 includes:

[0127] The pass list configuration module is used to configure the drilling pass number belonging to the reference number to one of the tool boxes for the same pass number model, and configure the permutations and combinations of the drilling pass numbers belonging to the reference number and / or the approximate number to other tool boxes to obtain a pass list.

[0128] In one embodiment of the present invention, the trip number model configuration module includes:

[0129] A first constraint configuration module is used for ignoring the divisor and configuring the reference number as the number of drilling passes with a constraint relationship for the tool box, with respect to the reference number with a value of 1, to obtain a pass number model;

[0130] A second constraint configuration module is used for configuring the reference number whose value is greater than 1 and the divisor whose value is 1 as the number of drilling passes for the tool box to have a constraint relationship, so as to obtain a pass number model;

[0131] The third constraint configuration module is used to arbitrarily combine the divisors with a value greater than 1 into an array; configure the reference number, the array and the divisor with a value of 1 as the number of drilling passes with a constraint relationship for the tool box to obtain a pass number model.

[0132] In one embodiment of the present invention, the candidate layout solution generating module 204 includes:

[0133] A drill parameter determination module, used to determine the type and life of the drill according to the material number of the circuit board;

[0134] A minimum usage calculation module, used for calculating, for each type of drill, the minimum usage of the drill to complete drilling of the circuit board for a single production run;

[0135] A conditional configuration module is used to configure the drill bits whose service life matches the number of drilling passes to the tool box for the same list of drilling passes, under the condition that all the drilling passes configured in the tool box meet the production pass number, and the same tool box has all the types of drill bits and the quantity of each type of drill bits meets the minimum usage, to obtain a candidate layout solution.

[0136] In one embodiment of the present invention, the minimum usage calculation module includes:

[0137] A hole number determination module, used to determine the number of holes of the drill according to the material number of the circuit board;

[0138] The ratio calculation module is used to further round the ratio between the number of hole positions and the lifespan of each type of drill to obtain the minimum usage of the drill to complete drilling of the circuit board for a single production run.

[0139] In one embodiment of the present invention, the target layout scheme selection module 205 includes:

[0140] A total quantity counting module, used for counting the total quantity of the drill bits for each of the plurality of candidate layout solutions;

[0141] A first layout scheme determining module, configured to determine the candidate layout scheme with the smallest total number as a target layout scheme if the candidate layout scheme with the smallest total number is unique;

[0142] A replacement times statistics module, configured to count the times of replacing the knife box for the candidate layout scheme with the least total number if the candidate layout scheme with the least total number is not unique;

[0143] The second layout scheme determining module is used to determine the candidate layout scheme with the least number of times of replacing the knife box as the target layout scheme.

[0144] In one embodiment of the present invention, the drilling control module 206 includes:

[0145] A knife box needle matching module is used to control the needle matching machine to perform the needle matching operation according to the target layout scheme to place the drill into the knife box;

[0146] A knife box transport module, used for controlling an automatic guided vehicle to transport the knife box to the drilling machine if the needle matching operation is completed;

[0147] A coordinate information production module, used for generating coordinate information for the drill of the tool box according to the target layout scheme;

[0148] The tool changing control module is used to control the drilling machine to replace the drilling tool from the tool box using the coordinate information.

[0149] The drilling production control device provided in the embodiment of the present invention can execute the drilling production control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the drilling production control method.

[0150] Embodiment 3

[0151] See also Figure 3 , shows a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, blade servers, mainframe computers, and other suitable computers. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0152] like Figure 3As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0153] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0154] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the production control method of drilling.

[0155] In some embodiments, the production control method of drilling can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the production control method of drilling described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the production control method of drilling in any other appropriate manner (for example, by means of firmware).

[0156] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0157] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0158] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0159] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0160] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0161] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0162] Embodiment 4

[0163] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the drilling production control method provided by any embodiment of the present invention is implemented.

[0164] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0165] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0166] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A drilling production control method, characterized in that: The drilling machine has one or more spindle heads, the spindle heads are used to fix and clamp a drill bit, the spindle heads are equipped with a tool box, and the tool box is used to place multiple drill bits. The method includes: In a drilling process of a circuit board, calculating the number of production passes for the circuit board; According to the production pass number, the drilling pass number with a constraint relationship is configured for the tool box to obtain a pass number model; Assign the drilling passes in the same pass model to each tool box to obtain multiple pass lists; Under the condition of satisfying the production pass number, respectively arranging the drill bits to the tool boxes according to the plurality of pass number lists to obtain a plurality of candidate layout solutions; Select one of the candidate layout solutions from the multiple candidate layout solutions to obtain a target layout solution; When the drilling machine drives the drill to drill holes in the circuit board, the drilling machine is controlled to replace the drill from the tool box according to the target layout solution.

2. The method according to claim 1, characterized in that: The calculating the number of production passes for the circuit board comprises: The production quantity of the circuit board is divided by the number of the shaft heads and the number of stacked boards of the circuit board to obtain the production number of the circuit board.

3. The method according to claim 1, characterized in that The drilling pass number having a constraint relationship with the tool box configuration according to the production pass number is obtained to obtain a pass number model, including: Determine a positive integer less than or equal to the number of production passes as a reference number; For each of the reference numbers, taking a divisor of the reference number while excluding the reference number itself; The reference number and the divisor are configured as the number of drilling passes with which the tool box has a constraint relationship, and a pass number model is obtained; The drilling passes in the same pass model are assigned to each tool box to obtain a plurality of pass lists, including: For the same pass number model, the drilling pass number belonging to the reference number is assigned to one of the tool boxes, and the permutations and combinations of the drilling pass numbers belonging to the reference number and / or the approximate number are assigned to other tool boxes to obtain a pass number list.

4. The method according to claim 3, characterized in that The step of configuring the reference number and the divisor as the drilling pass number with which the tool box has a constraint relationship to obtain a pass number model includes: For the reference number with a value of 1, the divisor is ignored, and the reference number is configured as the number of drilling passes with which the tool box has a constraint relationship, to obtain a pass number model; For the reference number whose value is greater than 1, the reference number and the divisor whose value is 1 are configured as the number of drilling passes with which the tool box has a constraint relationship, so as to obtain a pass number model; Arbitrarily combine the divisors whose values ​​are greater than 1 into an array; The reference number, the array and the divisor with a value of 1 are configured as the number of drilling passes with a constraint relationship for the tool box to obtain a pass number model.

5. The method according to claim 1, characterized in that Under the condition of satisfying the production pass number, the drill bits are respectively configured to the tool boxes according to the multiple pass number lists to obtain multiple candidate layout solutions, including: Determine the type and life of the drill according to the material number of the circuit board; For each type of drill, calculate the minimum amount of the drill to be used to complete drilling of the circuit board for a single production run; For the same list of drilling passes, under the condition that all the drilling passes configured in the tool box meet the production pass number, and the same tool box has all the types of drill bits and the quantity of each type of drill bits meets the minimum usage, the drill bits whose lifespan matches the drilling pass number are configured to the tool box to obtain a candidate layout solution.

6. The method according to claim 5, characterized in that The minimum amount of the drill bit used for each type of drill bit is calculated to complete drilling of the circuit board for a single production run, including: Determine the number of holes for the drill according to the material number of the circuit board; For each type of drill, the ratio between the number of hole positions and the lifespan is further rounded to obtain the minimum usage of the drill to complete drilling of the circuit board for a single production run.

7. The method according to claim 1, characterized in that The step of selecting one of the candidate layout schemes from the plurality of candidate layout schemes to obtain a target layout scheme includes: Counting the total number of the drill bits for each of the plurality of candidate layout solutions; If the candidate layout solution with the smallest total number is unique, determining the candidate layout solution with the smallest total number as the target layout solution; If the candidate layout solution with the smallest total number is not unique, counting the number of times the knife box is replaced for the candidate layout solution with the smallest total number; The candidate layout solution with the least number of times of replacing the knife box is determined as the target layout solution.

8. The method according to any one of claims 1 to 7, characterized in that The controlling the drilling machine to replace the drilling tool from the tool box according to the target layout scheme comprises: Controlling the needle matching machine to perform the needle matching operation according to the target layout scheme to place the drill into the tool box; If the needle matching operation is completed, the automatic guided vehicle is controlled to transport the tool box to the drilling machine; generating coordinate information for the drill of the tool box according to the target layout scheme; The drilling machine is controlled to replace a drilling tool from the tool box using the coordinate information.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, wherein the computer program is executed by the at least one processor so as to enable the at least one processor to perform the drilling production control method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the drilling production control method according to any one of claims 1 to 8 is implemented.