CN112631655B - Drilling band file modification method, device and system - Google Patents
Drilling band file modification method, device and system Download PDFInfo
- Publication number
- CN112631655B CN112631655B CN202011623491.7A CN202011623491A CN112631655B CN 112631655 B CN112631655 B CN 112631655B CN 202011623491 A CN202011623491 A CN 202011623491A CN 112631655 B CN112631655 B CN 112631655B
- Authority
- CN
- China
- Prior art keywords
- value
- drilling
- expansion
- coefficient
- drilling band
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000005553 drilling Methods 0.000 title claims abstract description 297
- 238000002715 modification method Methods 0.000 title claims abstract description 28
- 238000004519 manufacturing process Methods 0.000 claims abstract description 127
- 230000008602 contraction Effects 0.000 claims abstract description 113
- 238000003860 storage Methods 0.000 claims abstract description 17
- 238000004364 calculation method Methods 0.000 claims description 63
- 238000000034 method Methods 0.000 claims description 23
- 230000004048 modification Effects 0.000 claims description 14
- 238000012986 modification Methods 0.000 claims description 14
- 230000008961 swelling Effects 0.000 abstract description 6
- 238000005516 engineering process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/73—Program documentation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Library & Information Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Drilling And Boring (AREA)
Abstract
The application discloses a drilling band file modification method, a device, a system and a computer readable storage medium, wherein the drilling band file modification method comprises the following steps: acquiring a first actual target distance of the production plate in a first direction and a second actual target distance of the production plate in a second direction; calculating a first swelling and shrinking value of the production plate according to the first actual target distance and a first theoretical target distance of the production plate in a first direction; calculating a second expansion and contraction value of the production plate according to the second actual target distance and a second theoretical target distance of the production plate in a second direction; calculating a first drilling belt coefficient of the production plate according to the first expansion and contraction value; calculating a second drilling belt coefficient of the production plate according to the second expansion and contraction value; and modifying the original drilling band file according to the first drilling band coefficient and the second drilling band coefficient to obtain the current drilling band file. According to the drilling band file modification method provided by the embodiment of the application, the time for calculating the expansion and contraction value and the drilling band coefficient can be reduced, and the efficiency for modifying the drilling band file can be improved.
Description
Technical Field
The present application relates to the field of production technology of production boards, and in particular, to a drilling tape file modification method, a drilling tape file modification device, a drilling tape file modification system, and a computer readable storage medium.
Background
The drilling belt file is a procedural file used for a drilling procedure in the industrial production of the production plate, and is a coordinate file required by a numerical control drill in the production process for providing a drilling machine, and instructs a drill bit to drill holes at a programmed mark position so as to complete the drilling process of the production plate. At present, engineers copy length and width data of a production plate from production equipment by using a U disk, then the engineers manually calculate expansion and contraction data of the production plate according to the length and width data of the production plate, then the expansion and contraction data are sent to an engineering part, the engineering part modifies an original drilling band file according to the expansion and contraction data to obtain a new drilling band file, and the new drilling band file can be used for processing. However, the drilling belt file manufacturing process is performed by manually calculating the expansion and contraction data and manually using the USB flash disk, so that the time consumption is long, the labor consumption is high, and the efficiency is low.
Disclosure of Invention
The present application aims to solve at least one of the technical problems existing in the prior art. Therefore, the application provides a drilling band file modification method, a drilling band file modification device, a drilling band file modification system and a computer readable storage medium, which can reduce the time for calculating the expansion and contraction value and the drilling band coefficient and improve the efficiency of modifying the drilling band file.
In a first aspect, an embodiment of the present application provides a method for modifying a drill band file, including:
acquiring a first actual target distance of the production plate in a first direction and a second actual target distance of the production plate in a second direction;
Calculating a first expansion and contraction value of the production plate in the first direction according to the first actual target distance and a first theoretical target distance of the production plate in the first direction;
Calculating a second expansion and contraction value of the production plate in the second direction according to the second actual target distance and a second theoretical target distance of the production plate in the second direction;
Calculating a first drilling belt coefficient of the production plate in the first direction according to the first expansion and contraction value;
calculating a second drilling belt coefficient of the production plate in the second direction according to the second expansion and contraction value;
And modifying the original drilling band file according to the first drilling band coefficient and the second drilling band coefficient to obtain a current drilling band file.
One or more technical solutions provided in the embodiments of the present application have at least the following beneficial effects: according to the drilling belt file modification method, a first actual target distance of a production plate in a first direction and a second actual target distance of the production plate in a second direction are obtained; calculating a first swelling and shrinking value of the production plate in the first direction according to the first actual target distance and a first theoretical target distance of the production plate in the first direction; calculating a second swelling and shrinking value of the production plate in the second direction according to the second actual target distance and a second theoretical target distance of the production plate in the second direction; calculating a first drilling belt coefficient of the production plate in a first direction according to the first expansion and contraction value; calculating a second drilling belt coefficient of the production plate in a second direction according to the second expansion and contraction value; and modifying the original drilling band file according to the first drilling band coefficient and the second drilling band coefficient to obtain the current drilling band file. According to the drilling belt file modification method provided by the embodiment of the application, the time for calculating the expansion and contraction value and the drilling belt coefficient can be reduced, the labor force is saved, and the efficiency for modifying the drilling belt file is improved.
According to some embodiments of the application, the calculating a first drilling factor of the production board in the first direction according to the first expansion and contraction value includes:
If the absolute value of the first expansion and contraction value is smaller than a first preset value, setting the first drilling band coefficient to be 1;
If the absolute value of the first collapsible value is greater than or equal to a first preset value and the absolute value of the first collapsible value is smaller than a second preset value, calculating the first drilling belt coefficient according to a first calculation formula, wherein the first calculation formula is as follows: c=x 1÷X0, C is the first drilling band coefficient, X 1 is the first actual target distance, X 0 is the first theoretical target distance;
If the first expansion and contraction value is smaller than zero, the absolute value of the first expansion and contraction value is larger than or equal to a second preset value, and the absolute value of the first expansion and contraction value is smaller than a third preset value, the first drilling band coefficient is calculated according to a second calculation formula, wherein the second calculation formula is as follows: c= (X 0-E)÷X0, where C is the first drilling band coefficient, E is the second preset value, and X 0 is the first theoretical target distance;
If the first expansion and contraction value is greater than zero, the absolute value of the first expansion and contraction value is greater than or equal to a second preset value, and the absolute value of the first expansion and contraction value is smaller than a third preset value, calculating the first drilling zone coefficient according to a third calculation formula, wherein the third calculation formula is as follows: c= (X 0+E)÷X0, where C is the first drilling band coefficient, E is the second preset value, and X 0 is the first theoretical target distance.
According to some embodiments of the application, the calculating a second drilling factor of the production board in the second direction according to the second expansion and contraction value includes:
If the absolute value of the second expansion and contraction value is smaller than a first preset value, setting the second drilling band coefficient to be 1;
If the absolute value of the second expansion and contraction value is larger than or equal to the first preset value and the absolute value of the second expansion and contraction value is smaller than the second preset value, calculating the second drilling belt coefficient according to a fourth calculation formula, wherein the fourth calculation formula is as follows: d=y 1÷Y0, D is the second drilling band coefficient, Y 1 is the second actual target distance, Y 0 is the second theoretical target distance;
If the second expansion and contraction value is smaller than zero, the absolute value of the second expansion and contraction value is larger than or equal to a second preset value, and the absolute value of the second expansion and contraction value is smaller than a third preset value, the second drilling band coefficient is calculated according to a fifth calculation formula, wherein the fifth calculation formula is as follows: d= (Y 0-E)÷Y0, where D is the second drilling band coefficient, E is the second preset value, and Y 0 is the second theoretical target distance;
If the second collapsible value is greater than zero, the absolute value of the second collapsible value is greater than or equal to a second preset value, and the absolute value of the second collapsible value is less than a third preset value, calculating the second drilling band coefficient according to a sixth calculation formula, wherein the sixth calculation formula is as follows: d= (Y 0+E)÷Y0, where D is the second drilling band coefficient, E is the second preset value, and Y 0 is the second theoretical target distance.
According to some embodiments of the present application, the modifying the original drill band file according to the first drill band coefficient and the second drill band coefficient to obtain the current drill band file includes:
If the first drilling band coefficient is 1 and the second drilling band coefficient is 1, taking the original drilling band file as a current drilling band file;
if the first drilling band coefficient is greater than or less than 1 and the second drilling band coefficient is greater than or less than 1, multiplying the coordinate value in the first direction in the original drilling band file by the first drilling band coefficient, and multiplying the coordinate value in the second direction in the original drilling band file by the second drilling band coefficient, so as to obtain the current drilling band file;
if the first drilling band coefficient is greater than or less than 1 and the second drilling band coefficient is 1, multiplying the coordinate value in the first direction in the original drilling band file by the first drilling band coefficient to obtain a current drilling band file;
And if the first drilling band coefficient is 1 and the second drilling band coefficient is greater than or less than 1, multiplying the coordinate value in the second direction in the original drilling band file by the second drilling band coefficient to obtain the current drilling band file.
According to some embodiments of the application, the calculating the first expansion and contraction value of the production board in the first direction according to the first actual target distance and the first theoretical target distance of the production board in the first direction specifically includes: a=x 1-X0, a is the first collapsible value, X 1 is the first actual target distance, and X 0 is the first theoretical target distance.
According to some embodiments of the application, the calculating the second expansion and contraction value of the production board in the second direction according to the second actual target distance and the second theoretical target distance of the production board in the second direction is specifically calculated as: b=y 1-Y0, B is the second collapsible value, Y 1 is the second actual target distance, and Y 0 is the second theoretical target distance.
According to some embodiments of the application, the drill band file modification method further comprises: uploading the first and second collapsible values to a database.
In a second aspect, an embodiment of the present application provides a drilling tape file modifying apparatus, including:
A receiving module for acquiring a first actual target distance of the production plate in a first direction and a second actual target distance of the production plate in a second direction;
the calculation module is used for calculating a first expansion and contraction value of the production plate in the first direction according to the first actual target distance and a first theoretical target distance of the production plate in the first direction, calculating a second expansion and contraction value of the production plate in the second direction according to the second actual target distance and a second theoretical target distance of the production plate in the second direction, calculating a first drilling zone coefficient of the production plate in the first direction according to the first expansion and contraction value, and calculating a second drilling zone coefficient of the production plate in the second direction according to the second expansion and contraction value;
And the modification module is used for modifying the original drilling band file according to the first drilling band coefficient and the second drilling band coefficient to obtain a current drilling band file.
In a third aspect, an embodiment of the present application provides a drill band file modification system, including:
At least one memory;
At least one processor;
at least one program;
The program is stored in the memory, and the processor executes at least one of the programs to implement the drill string file modification method according to any one of the embodiments of the first aspect of the present application.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, where a computer executable signal is stored, where the computer executable signal is used to perform a drill tape file modification method according to any one of the embodiments of the first aspect of the present application.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
Additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a flowchart of a method for modifying a drill band file according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for modifying a drill band file according to another embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for modifying a drill band file according to another embodiment of the present application;
FIG. 4 is a flowchart illustrating a method for modifying a drill band file according to another embodiment of the present application;
Fig. 5 is a schematic structural diagram of a drilling belt file modifying device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the application.
In the description of the present application, the description of the first and second is only for the purpose of distinguishing technical features, and should not be construed as indicating or implying relative importance or implying the number of technical features indicated or the precedence of the technical features indicated.
In a first aspect, referring to fig. 1, an embodiment of the present application provides a drill string file modification method, including but not limited to step S110, step S120, step S130, step S140, step S150, and step S160.
Step S110, obtaining a first actual target distance of the production board in a first direction and a second actual target distance of the production board in a second direction.
Step S120, a first expansion and contraction value of the production plate in the first direction is calculated according to the first actual target distance and the first theoretical target distance of the production plate in the first direction.
Step S130, calculating a second expansion and contraction value of the production plate in the second direction according to the second actual target distance and the second theoretical target distance of the production plate in the second direction.
Step S140, calculating a first drilling belt coefficient of the production plate in a first direction according to the first expansion and contraction value.
And step S150, calculating a second drilling belt coefficient of the production plate in a second direction according to the second expansion and contraction value.
And step S160, modifying the original drilling band file according to the first drilling band coefficient and the second drilling band coefficient to obtain the current drilling band file.
According to the drilling belt file modification method provided by the embodiment of the application, in the production process of the production plate, production equipment records a first actual target distance of the production plate in a first direction and a second actual target distance of the production plate in a second direction, and the drilling belt file modification method provided by the embodiment of the application obtains the first actual target distance of the production plate in the first direction and the second actual target distance of the production plate in the second direction through the production equipment; then, calculating a first swelling and shrinking value of the production plate in the first direction according to the first actual target distance and a first theoretical target distance of the production plate in the first direction; calculating a second swelling and shrinking value of the production plate in the second direction according to the second actual target distance and a second theoretical target distance of the production plate in the second direction; then calculating a first drilling belt coefficient of the production plate in a first direction according to the first expansion and contraction value; calculating a second drilling belt coefficient of the production plate in a second direction according to the second expansion and contraction value; the original drilling band file is modified according to the first drilling band coefficient and the second drilling band coefficient to obtain a current drilling band file, the obtained current drilling band file can be applied to actual production, a drilling machine can conveniently instruct a drill bit to drill holes according to the current drilling band file, and the drilling process of a production plate is completed. According to the drilling belt file modification method provided by the embodiment of the application, the time for calculating the expansion and contraction value and the drilling belt coefficient can be reduced, the labor force is saved, and the efficiency for modifying the drilling belt file is improved.
It will be appreciated that the production board may be a PCB, or other carrier board, or chip, to which embodiments of the application are not limited.
It is understood that referring to fig. 2, step S140 may include, but is not limited to, step S210, step S220, step S230, and step S240.
Step S210, if the absolute value of the first collapsible value is smaller than a first preset value, the first drilling band coefficient is set to be 1.
Step S220, if the absolute value of the first expansion and contraction value is larger than or equal to a first preset value and the absolute value of the first expansion and contraction value is smaller than a second preset value, calculating a first drilling band coefficient according to a first calculation formula.
Step S230, if the first collapsible value is smaller than zero, the absolute value of the first collapsible value is larger than or equal to the second preset value, and the absolute value of the first collapsible value is smaller than the third preset value, the first drilling band coefficient is calculated according to the second calculation formula.
Step S240, if the first collapsible value is greater than zero, the absolute value of the first collapsible value is greater than or equal to the second preset value, and the absolute value of the first collapsible value is less than the third preset value, the first drilling band coefficient is calculated according to the third calculation formula.
It can be understood that if the absolute value of the first collapsible value is smaller than the first preset value, the first drilling band coefficient is set to 1; if the absolute value of the first expansion and contraction value is larger than or equal to a first preset value and the absolute value of the first expansion and contraction value is smaller than a second preset value, calculating a first drilling belt coefficient according to a first calculation formula, wherein the first calculation formula is as follows: c=x 1÷X0, C is the first drilling factor, X 1 is the first actual target distance, X 0 is the first theoretical target distance; if the first expansion and contraction value is smaller than zero, the absolute value of the first expansion and contraction value is larger than or equal to a second preset value, and the absolute value of the first expansion and contraction value is smaller than a third preset value, calculating a first drilling band coefficient according to a second calculation formula, wherein the second calculation formula is as follows: c= (X 0-E)÷X0, wherein C is a first drilling band coefficient, E is a second preset value, X 0 is a first theoretical target distance, if the first expansion and contraction value is larger than zero, the absolute value of the first expansion and contraction value is larger than or equal to the second preset value, the absolute value of the first expansion and contraction value is smaller than a third preset value, the first drilling band coefficient is calculated according to a third calculation formula, and the third calculation formula is C= (X 0+E)÷X0, wherein C is the first drilling band coefficient, E is the second preset value, and X 0 is the first theoretical target distance.
It is understood that referring to fig. 3, step S150 may include, but is not limited to, step S310, step S320, step S330, and step S340.
In step S310, if the absolute value of the second collapsible value is smaller than the first preset value, the second drilling band coefficient is set to 1.
Step S320, if the absolute value of the second collapsible value is greater than or equal to the first preset value and the absolute value of the second collapsible value is smaller than the second preset value, calculating the second drilling band coefficient according to the fourth calculation formula.
Step S330, if the second collapsible value is smaller than zero and the absolute value of the second collapsible value is larger than or equal to the second preset value and the absolute value of the second collapsible value is smaller than the third preset value, the second drilling band coefficient is calculated according to the fifth calculation formula.
Step S340, if the second collapsible value is greater than zero, the absolute value of the second collapsible value is greater than or equal to the second preset value, and the absolute value of the second collapsible value is less than the third preset value, the second drilling band coefficient is calculated according to the sixth calculation formula.
It can be understood that if the absolute value of the second collapsible value is smaller than the first preset value, the second drilling band coefficient is set to 1; if the absolute value of the second expansion and contraction value is larger than or equal to the first preset value and the absolute value of the second expansion and contraction value is smaller than the second preset value, calculating a second drilling belt coefficient according to a fourth calculation formula, wherein the fourth calculation formula is as follows: d=y 1÷Y0, D is the second drilling factor, Y 1 is the second actual target distance, Y 0 is the second theoretical target distance; if the second expansion and contraction value is smaller than zero, the absolute value of the second expansion and contraction value is larger than or equal to a second preset value, and the absolute value of the second expansion and contraction value is smaller than a third preset value, calculating a second drilling belt coefficient according to a fifth calculation formula, wherein the fifth calculation formula is as follows: d= (Y 0-E)÷Y0), wherein D is a second drilling band coefficient, E is a second preset value, Y 0 is a second theoretical target distance, and if the second expansion and contraction value is larger than zero and the absolute value of the second expansion and contraction value is larger than or equal to the second preset value and the absolute value of the second expansion and contraction value is smaller than a third preset value, the second drilling band coefficient is calculated according to a sixth calculation formula, wherein D= (Y 0+E)÷Y0), D is the second drilling band coefficient, E is the second preset value, and Y 0 is the second theoretical target distance.
It will be appreciated that if the first value of the expansion and contraction is smaller than zero, it means that the first actual target distance of the production plate in the first direction is smaller than the first theoretical target distance, i.e. the actual length of the production plate in the first direction is reduced compared to the theoretical length; if the first heave value is greater than zero, it is an indication that the first actual target distance of the production plate in the first direction is greater than the first theoretical target distance, i.e. that the actual length of the production plate in the first direction is increased compared to the theoretical length. If the second expansion and contraction value is smaller than zero, the second actual target distance of the production plate in the second direction is smaller than the second theoretical target distance, namely the actual length of the production plate in the second direction is reduced compared with the theoretical length; if the second swelling and shrinking value is larger than zero, the second actual target distance of the production plate in the second direction is larger than the second theoretical target distance, namely the actual length of the production plate in the second direction is increased compared with the theoretical length.
It can be understood that the first preset value, the second preset value and the third preset value are not limited in the embodiment of the application, and the first preset value is greater than zero, the second preset value is greater than the first preset value, the third preset value is greater than the second preset value, and a person of ordinary skill in the art can set the first preset value and the second preset value according to the actual situation of the production board. And a third preset value. For example, the first preset value is set to 2mil, the second preset value is set to 4mil, the third preset value is set to 6mil, and the first drilling factor is set to 1 when the absolute value |a| of the first collapsible value a of the production board in the first direction is less than 2mil, for example, a=1 mil, or a= -1 mil; when 2mil +.A| <4mil, such as A= -3mil, or A=3 mil, then the first drilling belt coefficient is calculated according to a first calculation formula: c=x 1÷X0, C is the first drilling factor, X 1 is the first actual target distance of the production plate in the first direction, X 0 is the first theoretical target distance of the production plate in the first direction; when the first collapsible value a is less than zero and 4mil +.a| <6mil, for example, a= -5mil, then the first drill band coefficient is calculated according to the second calculation formula: c= (X 0-E)÷X0, wherein C is a first drill string coefficient, X 0 is a first theoretical target distance, E is a second preset value, E is 4mil; when the first collapsible value a is greater than zero and 4mil +.a| <6mil, e.g., a=5 mil, then the first drilling belt coefficient is calculated according to a third calculation formula: c= (X 0+E)÷X0, where C is the first drilling zone coefficient, X 0 is the first theoretical target distance, E is the second preset value, E is 4mil when the absolute value |b| of the second heave value B of the production board in the second direction is less than 2mil, for example, b=1 mil, or b= -1mil, the second drilling zone coefficient is set to 1, and when 2mil is less than or equal to |b| <4mil, for example, b= -3mil, or b=3 mil, the second drilling zone coefficient is calculated according to the fourth calculation formula, where d=y 1÷Y0, D is the first drilling zone coefficient, Y 1 is the second actual target distance of the production board in the second direction, and Y 0 is the second theoretical target distance of the production board in the second direction; when the second collapsible value B is less than zero and 4mil +.b| <6mil, for example, b= -5mil, the second drilling belt coefficient is calculated according to a fifth calculation formula: d= (Y 0-E)÷Y0), wherein D is a second drilling belt coefficient, Y 0 is a second theoretical target distance, E is a second preset value, E is 4mil, and when B is greater than zero and 4mil is less than or equal to |B| <6mil, for example, B=5 mil, the second drilling belt coefficient is calculated according to a sixth calculation formula, wherein D= (Y 0+E)÷Y0), D is the second drilling belt coefficient, Y 0 is the second theoretical target distance, E is the second preset value, and E is 4mil.
It can be understood that the drill band file modification method of the embodiment of the application further comprises the following steps: if the absolute value of the first expansion and contraction value is larger than a third preset value or the absolute value of the second expansion and contraction value is larger than the third preset value, a prompt message is sent to the engineering part to prompt the occurrence of abnormality in expansion and contraction of the production plate.
It is understood that referring to fig. 4, step S160 may include, but is not limited to, step S410, step S420, step S430, and step S440.
In step S410, if the first drill band coefficient is 1 and the second drill band coefficient is 1, the original drill band file is used as the current drill band file.
Step S420, if the first drilling band coefficient is greater than or less than 1 and the second drilling band coefficient is greater than or less than 1, multiplying the coordinate value in the first direction in the original drilling band file by the first drilling band coefficient, and multiplying the coordinate value in the second direction in the original drilling band file by the second drilling band coefficient, thereby obtaining the current drilling band file.
Step S430, if the first drilling band coefficient is greater than or less than 1 and the second drilling band coefficient is 1, multiplying the coordinate value in the first direction in the original drilling band file by the first drilling band coefficient, thereby obtaining the current drilling band file.
Step S440, if the first drilling band coefficient is 1 and the second drilling band coefficient is greater than or less than 1, multiplying the coordinate value in the second direction in the original drilling band file by the second drilling band coefficient, thereby obtaining the current drilling band file.
It will be appreciated that if the first drill string coefficient is 1, this indicates that no or less expansion or contraction of the production board occurs in the first direction, which may be ignored; if the second drilling factor is 1, this indicates that no or less expansion of the production board occurs in the second direction, which is negligible. If the first drilling band coefficient is 1 and the second drilling band coefficient is 1, taking the original drilling band file as the current drilling band file; if the first drilling band coefficient is greater than or less than 1 and the second drilling band coefficient is greater than or less than 1, multiplying the coordinate value in the first direction in the original drilling band file by the first drilling band coefficient, and multiplying the coordinate value in the second direction in the original drilling band file by the second drilling band coefficient, so as to obtain the current drilling band file; if the first drilling band coefficient is 1 and the second drilling band coefficient is more than or less than 1, multiplying the coordinate value in the second direction in the original drilling band file by the second drilling band coefficient to obtain the current drilling band file; if the first drilling band coefficient is 1 and the second drilling band coefficient is more than or less than 1, multiplying the coordinate value in the second direction in the original drilling band file by the second drilling band coefficient, and further obtaining the current drilling band file. The current drilling band file obtained by modifying the original drilling band is suitable for the production plate, can be applied to actual production, and is convenient for a drilling machine to instruct a drill bit to drill holes according to the current drilling band file, so that the drilling process of the production plate is completed.
It can be understood that the drill band file modification method of the embodiment of the application further comprises the following steps: uploading the first and second collapsible values to a database. The first and second values of the production board in the first direction are uploaded to the database so that the first and second values can be recalled from time to time via the database.
In a second aspect, referring to fig. 5, an embodiment of the present application provides a drilling tape file modifying apparatus, including:
A receiving module for acquiring a first actual target distance of the production plate in a first direction and a second actual target distance of the production plate in a second direction;
The calculation module is used for calculating a first expansion and contraction value of the production plate in the first direction according to the first actual target distance and a first theoretical target distance of the production plate in the first direction, calculating a second expansion and contraction value of the production plate in the second direction according to the second actual target distance and a second theoretical target distance of the production plate in the second direction, calculating a first drilling belt coefficient of the production plate in the first direction according to the first expansion and contraction value, and calculating a second drilling belt coefficient of the production plate in the second direction according to the second expansion and contraction value;
And the modification module is used for modifying the original drilling band file according to the first drilling band coefficient and the second drilling band coefficient to obtain the current drilling band file.
It can be understood that the specific acquisition of the receiving module, the specific calculation of the calculating module, and the specific modification of the modifying module in the drilling belt file modifying device according to the embodiment of the present application are described in detail in the method embodiment of the first aspect of the present application, and are not described herein. The drilling belt file modifying device provided by the embodiment of the application can reduce the time for calculating the expansion and contraction value and the drilling belt coefficient, save labor force and improve the efficiency of modifying the drilling belt file.
In a third aspect, an embodiment of the present application provides a drill band file modification system, including:
At least one memory;
At least one processor;
at least one program;
the program is stored in a memory and the processor executes at least one program to implement a drill tape file modification method according to an embodiment of any of the first aspects of the present application.
The processor and the memory may be connected by a bus or other means.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and signals, such as program instructions/signals corresponding to the drill tape file modification system in embodiments of the present invention. The processor executes various functional applications and data processing by running non-transitory software programs, instructions, and signals stored in the memory, i.e., implements the drill string file modification method of the above-described method embodiments.
The memory may include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the storage data area may store related data of the drill band file modification method described above, and the like. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory remotely located with respect to the processor, the remote memory being connectable to the drill string file modification system through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more signals are stored in the memory and when executed by the one or more processors, perform the drill band file modification method of any of the method embodiments described above. For example, the above-described method steps S110 to S160 in fig. 1, the method steps S210 to S240 in fig. 2, the method steps S310 to S340 in fig. 3, and the method steps S410 to S440 in fig. 4 are performed.
In a fourth aspect, the present application further provides a computer readable storage medium storing a computer executable signal for performing the drill tape file modification method according to any one of the embodiments of the first aspect of the present application. For example, the above-described method steps S110 to S160 in fig. 1, the method steps S210 to S240 in fig. 2, the method steps S310 to S340 in fig. 3, and the method steps S410 to S440 in fig. 4 are performed.
The apparatus embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
From the description of the embodiments above, those skilled in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable signals, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable signals, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and may include any information delivery media.
The embodiments of the present application have been described in detail with reference to the accompanying drawings, but the present application is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present application.
Claims (7)
1. A method of drilling tape file modification, comprising:
acquiring a first actual target distance of the production plate in a first direction and a second actual target distance of the production plate in a second direction;
Calculating a first expansion and contraction value of the production plate in the first direction according to the first actual target distance and a first theoretical target distance of the production plate in the first direction;
Calculating a second expansion and contraction value of the production plate in the second direction according to the second actual target distance and a second theoretical target distance of the production plate in the second direction;
Calculating a first drilling belt coefficient of the production plate in the first direction according to the first expansion and contraction value;
calculating a second drilling belt coefficient of the production plate in the second direction according to the second expansion and contraction value;
Modifying the original drilling band file according to the first drilling band coefficient and the second drilling band coefficient to obtain a current drilling band file;
The calculating a first drilling band coefficient of the production plate in the first direction according to the first expansion and contraction value comprises the following steps:
If the absolute value of the first expansion and contraction value is smaller than a first preset value, setting the first drilling band coefficient to be 1;
If the absolute value of the first collapsible value is greater than or equal to a first preset value and the absolute value of the first collapsible value is smaller than a second preset value, calculating the first drilling belt coefficient according to a first calculation formula, wherein the first calculation formula is as follows: c=x 1÷X0, C is the first drilling band coefficient, X 1 is the first actual target distance, X 0 is the first theoretical target distance;
If the first expansion and contraction value is smaller than zero, the absolute value of the first expansion and contraction value is larger than or equal to a second preset value, and the absolute value of the first expansion and contraction value is smaller than a third preset value, the first drilling band coefficient is calculated according to a second calculation formula, wherein the second calculation formula is as follows: c= (X 0-E)÷X0, where C is the first drilling band coefficient, E is the second preset value, and X 0 is the first theoretical target distance;
If the first expansion and contraction value is greater than zero, the absolute value of the first expansion and contraction value is greater than or equal to a second preset value, and the absolute value of the first expansion and contraction value is smaller than a third preset value, calculating the first drilling zone coefficient according to a third calculation formula, wherein the third calculation formula is as follows: c= (X 0+E)÷X0, where C is the first drilling band coefficient, E is the second preset value, and X 0 is the first theoretical target distance;
The calculating a second drilling band coefficient of the production plate in the second direction according to the second expansion and contraction value comprises the following steps:
If the absolute value of the second expansion and contraction value is smaller than a first preset value, setting the second drilling band coefficient to be 1;
If the absolute value of the second expansion and contraction value is larger than or equal to the first preset value and the absolute value of the second expansion and contraction value is smaller than the second preset value, calculating the second drilling belt coefficient according to a fourth calculation formula, wherein the fourth calculation formula is as follows: d=y 1÷Y0, D is the second drilling band coefficient, Y 1 is the second actual target distance, Y 0 is the second theoretical target distance;
If the second expansion and contraction value is smaller than zero, the absolute value of the second expansion and contraction value is larger than or equal to a second preset value, and the absolute value of the second expansion and contraction value is smaller than a third preset value, the second drilling band coefficient is calculated according to a fifth calculation formula, wherein the fifth calculation formula is as follows: d= (Y 0-E)÷Y0, where D is the second drilling band coefficient, E is the second preset value, and Y 0 is the second theoretical target distance;
If the second collapsible value is greater than zero, the absolute value of the second collapsible value is greater than or equal to a second preset value, and the absolute value of the second collapsible value is less than a third preset value, calculating the second drilling band coefficient according to a sixth calculation formula, wherein the sixth calculation formula is as follows: d= (Y 0+E)÷Y0, where D is the second drilling band coefficient, E is the second preset value, and Y 0 is the second theoretical target distance;
The modifying the original drilling band file according to the first drilling band coefficient and the second drilling band coefficient to obtain a current drilling band file comprises the following steps:
If the first drilling band coefficient is 1 and the second drilling band coefficient is 1, taking the original drilling band file as a current drilling band file;
if the first drilling band coefficient is greater than or less than 1 and the second drilling band coefficient is greater than or less than 1, multiplying the coordinate value in the first direction in the original drilling band file by the first drilling band coefficient, and multiplying the coordinate value in the second direction in the original drilling band file by the second drilling band coefficient, so as to obtain the current drilling band file;
if the first drilling band coefficient is greater than or less than 1 and the second drilling band coefficient is 1, multiplying the coordinate value in the first direction in the original drilling band file by the first drilling band coefficient to obtain a current drilling band file;
And if the first drilling band coefficient is 1 and the second drilling band coefficient is greater than or less than 1, multiplying the coordinate value in the second direction in the original drilling band file by the second drilling band coefficient to obtain the current drilling band file.
2. The drilling belt file modification method according to claim 1, wherein the calculating a first expansion and contraction value of the production board in the first direction according to the first actual target distance and a first theoretical target distance of the production board in the first direction is specifically calculated as: a=x 1-X0, a is the first collapsible value, X 1 is the first actual target distance, and X 0 is the first theoretical target distance.
3. The drilling belt file modification method according to claim 2, wherein the calculating a second expansion and contraction value of the production plate in the second direction according to the second actual target distance and a second theoretical target distance of the production plate in the second direction is specifically calculated as: b=y 1-Y0, B is the second collapsible value, Y 1 is the second actual target distance, and Y 0 is the second theoretical target distance.
4. The drill string file modification method of claim 1, further comprising:
Uploading the first and second collapsible values to a database.
5. A drill tape file modifying apparatus comprising:
A receiving module for acquiring a first actual target distance of the production plate in a first direction and a second actual target distance of the production plate in a second direction;
the calculation module is used for calculating a first expansion and contraction value of the production plate in the first direction according to the first actual target distance and a first theoretical target distance of the production plate in the first direction, calculating a second expansion and contraction value of the production plate in the second direction according to the second actual target distance and a second theoretical target distance of the production plate in the second direction, calculating a first drilling zone coefficient of the production plate in the first direction according to the first expansion and contraction value, and calculating a second drilling zone coefficient of the production plate in the second direction according to the second expansion and contraction value;
the modification module is used for modifying the original drilling band file according to the first drilling band coefficient and the second drilling band coefficient to obtain a current drilling band file;
The calculating a first drilling band coefficient of the production plate in the first direction according to the first expansion and contraction value comprises the following steps:
If the absolute value of the first expansion and contraction value is smaller than a first preset value, setting the first drilling band coefficient to be 1;
If the absolute value of the first collapsible value is greater than or equal to a first preset value and the absolute value of the first collapsible value is smaller than a second preset value, calculating the first drilling belt coefficient according to a first calculation formula, wherein the first calculation formula is as follows: c=x 1÷X0, C is the first drilling band coefficient, X 1 is the first actual target distance, X 0 is the first theoretical target distance;
If the first expansion and contraction value is smaller than zero, the absolute value of the first expansion and contraction value is larger than or equal to a second preset value, and the absolute value of the first expansion and contraction value is smaller than a third preset value, the first drilling band coefficient is calculated according to a second calculation formula, wherein the second calculation formula is as follows: c= (X 0-E)÷X0, where C is the first drilling band coefficient, E is the second preset value, and X 0 is the first theoretical target distance;
If the first expansion and contraction value is greater than zero, the absolute value of the first expansion and contraction value is greater than or equal to a second preset value, and the absolute value of the first expansion and contraction value is smaller than a third preset value, calculating the first drilling zone coefficient according to a third calculation formula, wherein the third calculation formula is as follows: c= (X 0+E)÷X0, where C is the first drilling band coefficient, E is the second preset value, and X 0 is the first theoretical target distance;
The calculating a second drilling band coefficient of the production plate in the second direction according to the second expansion and contraction value comprises the following steps:
If the absolute value of the second expansion and contraction value is smaller than a first preset value, setting the second drilling band coefficient to be 1;
If the absolute value of the second expansion and contraction value is larger than or equal to the first preset value and the absolute value of the second expansion and contraction value is smaller than the second preset value, calculating the second drilling belt coefficient according to a fourth calculation formula, wherein the fourth calculation formula is as follows: d=y 1÷Y0, D is the second drilling band coefficient, Y 1 is the second actual target distance, Y 0 is the second theoretical target distance;
If the second expansion and contraction value is smaller than zero, the absolute value of the second expansion and contraction value is larger than or equal to a second preset value, and the absolute value of the second expansion and contraction value is smaller than a third preset value, the second drilling band coefficient is calculated according to a fifth calculation formula, wherein the fifth calculation formula is as follows: d= (Y 0-E)÷Y0, where D is the second drilling band coefficient, E is the second preset value, and Y 0 is the second theoretical target distance;
If the second collapsible value is greater than zero, the absolute value of the second collapsible value is greater than or equal to a second preset value, and the absolute value of the second collapsible value is less than a third preset value, calculating the second drilling band coefficient according to a sixth calculation formula, wherein the sixth calculation formula is as follows: d= (Y 0+E)÷Y0, where D is the second drilling band coefficient, E is the second preset value, and Y 0 is the second theoretical target distance;
The modifying the original drilling band file according to the first drilling band coefficient and the second drilling band coefficient to obtain a current drilling band file comprises the following steps:
If the first drilling band coefficient is 1 and the second drilling band coefficient is 1, taking the original drilling band file as a current drilling band file;
if the first drilling band coefficient is greater than or less than 1 and the second drilling band coefficient is greater than or less than 1, multiplying the coordinate value in the first direction in the original drilling band file by the first drilling band coefficient, and multiplying the coordinate value in the second direction in the original drilling band file by the second drilling band coefficient, so as to obtain the current drilling band file;
if the first drilling band coefficient is greater than or less than 1 and the second drilling band coefficient is 1, multiplying the coordinate value in the first direction in the original drilling band file by the first drilling band coefficient to obtain a current drilling band file;
And if the first drilling band coefficient is 1 and the second drilling band coefficient is greater than or less than 1, multiplying the coordinate value in the second direction in the original drilling band file by the second drilling band coefficient to obtain the current drilling band file.
6. A drill tape file modification system, comprising:
At least one memory;
At least one processor;
at least one program;
the program is stored in the memory, and the processor executes at least one of the programs to implement the drill string file modification method as recited in any one of claims 1 to 4.
7. A computer readable storage medium storing a computer executable signal for performing the drill tape file modification method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011623491.7A CN112631655B (en) | 2020-12-29 | 2020-12-29 | Drilling band file modification method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011623491.7A CN112631655B (en) | 2020-12-29 | 2020-12-29 | Drilling band file modification method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112631655A CN112631655A (en) | 2021-04-09 |
CN112631655B true CN112631655B (en) | 2024-05-28 |
Family
ID=75289847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011623491.7A Active CN112631655B (en) | 2020-12-29 | 2020-12-29 | Drilling band file modification method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112631655B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113778513B (en) * | 2021-09-15 | 2024-02-23 | 超颖电子电路股份有限公司 | Automatic generation method, device, equipment and storage medium for PCB drilling program |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103034146A (en) * | 2012-12-31 | 2013-04-10 | 广州杰赛科技股份有限公司 | Method for controlling X-Ray punch |
CN105246258A (en) * | 2015-10-27 | 2016-01-13 | 珠海方正科技高密电子有限公司 | Circuit board expanding-shrinking proportion control method and system |
CN109121303A (en) * | 2018-09-28 | 2019-01-01 | 广州兴森快捷电路科技有限公司 | In advance at the scoreboard method of plate, in advance at the boring method of plate and wiring board |
CN109548288A (en) * | 2018-11-28 | 2019-03-29 | 惠州中京电子科技有限公司 | A kind of multi-layer board harmomegathus detection method |
CN110267437A (en) * | 2019-06-27 | 2019-09-20 | 深圳市兴森快捷电路科技股份有限公司 | A kind of printed circuit board harmomegathus management-control method and device |
CN110876240A (en) * | 2018-09-04 | 2020-03-10 | 胜宏科技(惠州)股份有限公司 | Method for detecting drilling deviation of multilayer circuit board |
CN111259620A (en) * | 2020-02-16 | 2020-06-09 | 苏州浪潮智能科技有限公司 | Method, system, equipment and medium for inspecting blind buried hole in PCB |
CN111444572A (en) * | 2020-04-30 | 2020-07-24 | 石家庄学院 | Three-dimensional geological model creating method, sharing method and creating device |
CN112068896A (en) * | 2020-08-10 | 2020-12-11 | 珠海全志科技股份有限公司 | DTS modification method, device and computer readable storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012031362A1 (en) * | 2010-09-07 | 2012-03-15 | Corporation De L ' Ecole Polytechnique De Montreal | Methods, apparatus and system to support large-scale micro- systems including embedded and distributed power supply, thermal regulation, multi-distributed-sensors and electrical signal propagation |
-
2020
- 2020-12-29 CN CN202011623491.7A patent/CN112631655B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103034146A (en) * | 2012-12-31 | 2013-04-10 | 广州杰赛科技股份有限公司 | Method for controlling X-Ray punch |
CN105246258A (en) * | 2015-10-27 | 2016-01-13 | 珠海方正科技高密电子有限公司 | Circuit board expanding-shrinking proportion control method and system |
CN110876240A (en) * | 2018-09-04 | 2020-03-10 | 胜宏科技(惠州)股份有限公司 | Method for detecting drilling deviation of multilayer circuit board |
CN109121303A (en) * | 2018-09-28 | 2019-01-01 | 广州兴森快捷电路科技有限公司 | In advance at the scoreboard method of plate, in advance at the boring method of plate and wiring board |
CN109548288A (en) * | 2018-11-28 | 2019-03-29 | 惠州中京电子科技有限公司 | A kind of multi-layer board harmomegathus detection method |
CN110267437A (en) * | 2019-06-27 | 2019-09-20 | 深圳市兴森快捷电路科技股份有限公司 | A kind of printed circuit board harmomegathus management-control method and device |
CN111259620A (en) * | 2020-02-16 | 2020-06-09 | 苏州浪潮智能科技有限公司 | Method, system, equipment and medium for inspecting blind buried hole in PCB |
CN111444572A (en) * | 2020-04-30 | 2020-07-24 | 石家庄学院 | Three-dimensional geological model creating method, sharing method and creating device |
CN112068896A (en) * | 2020-08-10 | 2020-12-11 | 珠海全志科技股份有限公司 | DTS modification method, device and computer readable storage medium |
Non-Patent Citations (3)
Title |
---|
Application of Analytical Simulation on Various Characteristics of Hole Quality during Micro-Drilling of Printed Circuit Board;S. Sahoo 等;《Materials and Manufacturing Processes 》;20160714;第31卷(第14期);1927-1934 * |
光学点涨缩导致SMT焊件偏位的改善;邱成伟 等;《印制电路信息》;20191010;第27卷(第10期);65-66 * |
数学计量模型控制PCB芯板涨缩补偿系数的研究;徐琪琳 等;《印制电路信息》;20161110;第24卷(第11期);28-31 * |
Also Published As
Publication number | Publication date |
---|---|
CN112631655A (en) | 2021-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3683572B1 (en) | Battery detection method and device | |
CN112631655B (en) | Drilling band file modification method, device and system | |
CN110125556B (en) | Laser engraving machine and control method thereof | |
US20200394782A1 (en) | Method for planning screw locking path using ant colony algorithm | |
CN108520403A (en) | A kind of anti-welding preceding harmomegathus management method of printed wiring board | |
CN103281206A (en) | System, method and device for determining connected relation | |
CN106483940A (en) | Processing meanss, production system and the processing method using processing meanss | |
CN112737856A (en) | Link tracking method and device, storage medium and electronic device | |
CN114385199A (en) | Chip burning method and device, electronic equipment and storage medium | |
US7444437B2 (en) | Input/output device and method of setting up identification information in input/output device | |
CN110989475B (en) | Method, controller and system for processing position of encoder in distributed system | |
CN111531632A (en) | Method and device for adding burr hole, computer equipment and storage medium | |
CN114860824A (en) | Data transmission method, device, equipment and storage medium | |
CN109815556B (en) | Method, device, equipment and storage medium for identifying isolated region of line layer | |
CN107835521B (en) | Method and device for networking field intensity threshold | |
CN113352397B (en) | Drilling method, system, device, equipment and storage medium for multilayer board | |
CN111897876B (en) | Calibration data synchronization method and related device for working equipment | |
JP6791253B2 (en) | Communication control programs, devices, and methods | |
CN106202582B (en) | Task scheduling method and system in enterprise distributed data warehouse | |
CN111178006B (en) | Processing information marking method, numerical control machine tool and storage medium | |
CN113791578B (en) | Track filtering method and device based on numerical control machining system and electronic equipment | |
CN109688032B (en) | Network transmission performance testing method and device | |
WO2024171427A1 (en) | Image processing device, image processing method, and image processing program | |
CN108388665B (en) | Method for inquiring and acquiring new data insertion position in data | |
CN112579860B (en) | Method and device for processing digital page turning task, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |