CN117471985A - Workpiece processing method, device and numerical control system - Google Patents
Workpiece processing method, device and numerical control system Download PDFInfo
- Publication number
- CN117471985A CN117471985A CN202311672320.7A CN202311672320A CN117471985A CN 117471985 A CN117471985 A CN 117471985A CN 202311672320 A CN202311672320 A CN 202311672320A CN 117471985 A CN117471985 A CN 117471985A
- Authority
- CN
- China
- Prior art keywords
- data set
- data item
- control characteristic
- target
- characteristic data
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000003754 machining Methods 0.000 claims abstract description 52
- 238000012545 processing Methods 0.000 claims abstract description 44
- 239000013643 reference control Substances 0.000 claims abstract description 31
- 238000005457 optimization Methods 0.000 claims abstract description 14
- 238000000034 method Methods 0.000 claims description 52
- 230000006870 function Effects 0.000 claims description 21
- 230000002159 abnormal effect Effects 0.000 description 9
- 238000003860 storage Methods 0.000 description 9
- 238000012360 testing method Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 3
- 238000005299 abrasion Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/19—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/35—Nc in input of data, input till input file format
- G05B2219/35349—Display part, programmed locus and tool path, traject, dynamic locus
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
Abstract
The application discloses a workpiece processing method, device and numerical control system, which belong to the technical field of numerical control processing and comprise the following steps: under the condition that the object parameters corresponding to the target machining shaft are changed, determining a corresponding calibration control characteristic data set from a reference control characteristic database based on the changed object parameters, wherein the target machining shaft comprises at least one of a workpiece shaft and a tool shaft; generating a corresponding self-configuration control characteristic data set based on the object parameters and the automatic optimization function of the numerical control system; determining a target control characteristic data set based on the calibration control characteristic data set and the self-matching control characteristic data set, and operating the motor according to the target control characteristic data set to execute the machining process of the workpiece; the motor is a driving motor for driving the target processing shaft to rotate, and the calibration control characteristic data set and the self-matching control characteristic data set are used for indicating control characteristic data of the motor. Thus, the dynamic characteristic of the target workpiece shaft can be improved, and the aim of improving the machining precision of the workpiece is fulfilled.
Description
Technical Field
The application belongs to the technical field of numerical control machining, and particularly relates to a workpiece machining method, a workpiece machining device and a numerical control system.
Background
Along with the development of machining technology, the requirements on the machining precision of parts are also higher and higher, and particularly the machining processes such as turning machining, gear grinding machining and the like are adopted. The gear grinding process is used as a high-precision gear processing process, and has strict index requirements on the tooth shape, the tooth direction, the tooth pitch and the like of the gear after the gear is processed.
For example, in the actual machining process of gear grinding, when the abrasion of the grinding wheel for grinding the gear is serious or when the grinding wheel with different specifications needs to be replaced, the dynamic characteristics of the grinding wheel shaft for driving the grinding wheel to rotate at high speed are different, and the difference of the dynamic characteristics affects the grinding process of the gear, so that the machining precision of the gear is difficult to meet the precision index requirement.
Therefore, in the related art, when the dynamic characteristics of the machining shaft are different due to the change of the performance parameters of the grinding wheel or the cutter, the machining precision of the workpiece is easily affected, so that the machining precision of the workpiece is difficult to meet the precision index requirement.
Disclosure of Invention
The embodiment of the application aims to provide a workpiece processing method, a device and a numerical control system, which can solve the problem of low processing precision caused by the dynamic characteristic difference of a processing shaft in the related technology.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a workpiece processing method, which is applied to a numerical control system, including:
under the condition that the object parameters corresponding to the target processing shaft are changed, determining a corresponding calibration control characteristic data set from a reference control characteristic database based on the changed object parameters, wherein the target processing shaft comprises at least one of a workpiece shaft and a tool shaft;
generating a corresponding self-configuration control feature data set based on the object parameters and an automatic optimization function of the numerical control system;
determining a target control characteristic data set based on the calibration control characteristic data set and the self-matching control characteristic data set, and operating a motor according to the target control characteristic data set to execute the machining process of the workpiece;
the motor is a driving motor for driving the target machining shaft to rotate, and the calibration control characteristic data set and the self-matching control characteristic data set are used for indicating control characteristic data of the motor.
Optionally, the determining a target control feature data set based on the calibration control feature data set and the self-matching control feature data set includes:
Performing difference operation on a first data item in the calibration control characteristic data set and a second data item in the self-matching control characteristic data set to obtain a difference comparison result of the first data item, wherein the second data item is a data item corresponding to the first data item in the self-matching control characteristic data set;
and determining a target control characteristic data set under the condition that the difference value comparison result indicates that the difference value between the first data item and the second data item is in a first preset range.
Optionally, the determining the target control feature data set when the difference comparison result indicates that the difference between the first data item and the second data item is in a first preset range includes:
determining a target value of the first data item under the condition that the difference value comparison result indicates that the difference value of the first data item and the second data item is in a first preset range;
generating a target control feature data set based on a target value of the first data item;
wherein the target value is one of the following:
an average of the values of the first data item and the second data item;
the greater of the value of the first data item and the value of the second data item;
The smaller of the value of the first data item and the value of the second data item.
Optionally, the determining a corresponding calibration control feature data set from a reference control feature database based on the changed object parameter includes:
determining corresponding inertia information based on the changed object parameters;
and determining a control characteristic data set matched with the inertia information in the reference control characteristic database as a calibration control characteristic data set.
Optionally, after performing a difference operation on the first data item in the calibration control feature data set and the second data item in the self-matching control feature data set to obtain a difference comparison result of the first data item, the method further includes:
outputting alarm information when the difference comparison result indicates that the difference between the first data item and the second data item is not in the first preset range
In a second aspect, an embodiment of the present application provides a workpiece processing apparatus, applied to a numerical control system, the apparatus including:
the determining module is used for determining a corresponding calibration control characteristic data set from the reference control characteristic database based on the changed object parameters under the condition that the object parameters corresponding to the target processing shaft are changed, wherein the target processing shaft comprises at least one of a workpiece shaft and a tool shaft;
The generation module is used for generating a corresponding self-configuration control characteristic data set based on the object parameters and the automatic optimization function of the numerical control system;
the processing module is used for determining a target control characteristic data set based on the calibration control characteristic data set and the self-matching control characteristic data set, operating a motor according to the target control characteristic data set and executing the processing process of the workpiece;
the motor is a driving motor for driving the target machining shaft to rotate, and the calibration control characteristic data set and the self-matching control characteristic data set are used for indicating control characteristic data of the motor.
Optionally, the processing module includes:
the comparison unit is used for carrying out difference operation on a first data item in the calibration control characteristic data set and a second data item in the self-matching control characteristic data set to obtain a difference comparison result of the first data item, wherein the second data item is a data item corresponding to the first data item in the self-matching control characteristic data set;
and the determining unit is used for determining a target control characteristic data set under the condition that the difference value comparison result indicates that the difference value between the first data item and the second data item is in a first preset range.
Optionally, the determined unit is specifically configured to:
determining a target value of the first data item under the condition that the difference value comparison result indicates that the difference value of the first data item and the second data item is in a first preset range;
generating a target control feature data set based on a target value of the first data item;
wherein the target value is one of the following:
an average of the values of the first data item and the second data item;
the greater of the value of the first data item and the value of the second data item;
the smaller of the value of the first data item and the value of the second data item.
Optionally, the determining module is specifically configured to:
determining corresponding inertia information based on the changed object parameters;
and determining a control characteristic data set matched with the inertia information in the reference control characteristic database as a calibration control characteristic data set.
Optionally, the processing module further includes:
and the output unit is used for outputting alarm information when the difference value comparison result indicates that the difference value between the first data item and the second data item is not in the first preset range.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory, the memory having stored thereon a program or instructions executable on the processor, the program or instructions implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the object parameters are changed, the calibration control characteristic data set and the self-matching control characteristic data set can be respectively determined based on the changed object parameters, and the target control characteristic data set is determined and obtained based on the determined calibration control characteristic data set and the self-matching control characteristic data set, so that the motor is operated based on the target control characteristic data set, the dynamic characteristics of a target workpiece shaft are improved, and the purpose of improving the machining precision of the workpiece is achieved.
Drawings
FIG. 1 is a flow chart of a method of processing a workpiece provided in an embodiment of the present application;
FIG. 2 is a flowchart of a control feature data adjustment method provided in an embodiment of the present application;
FIG. 3 is a block diagram of a workpiece processing apparatus according to an embodiment of the present application;
fig. 4 is a block diagram of a numerical control system according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
Referring to fig. 1, fig. 1 is a flowchart of a workpiece processing method according to an embodiment of the present application. As shown in fig. 1, the workpiece processing method can be used in a numerical control system and comprises the following steps:
and 101, when the object parameter corresponding to the target machining axis is changed, determining a corresponding calibration control characteristic data set from a reference control characteristic database based on the changed object parameter.
The target machining shaft includes at least one of a workpiece shaft and a tool shaft. For example, in the case where the target machining axis is a workpiece axis, the change of the object parameter may be understood as a specification change of the workpiece to be machined or as a change of the tool fixture; for another example, when the target machining axis is a tool axis, the target parameter may be understood as a change in the specification of the tool or as the degree of wear of the tool.
Illustratively, in the gear grinding process, the target machining shaft includes a workpiece shaft and a tool shaft, and the tool may be a grinding wheel to implement a grinding process for the gear, and the changing of the object parameter may include at least one of: the specification of the gear is changed, the specification of the grinding wheel is changed, the fixture is changed, and the abrasion coefficient of the grinding wheel is changed. Wherein the wear coefficient is used to characterize the degree of wear of the grinding wheel.
The reference control feature database may be understood as a control feature database of the numerical control system, where a control feature data set for driving a motor to work is stored, and the motor may be understood as a driving motor of the target machining shaft, that is, a driving motor for driving the target machining shaft to rotate.
In one embodiment, the reference control characteristic database may include 8 control characteristic data sets, where each data set includes a plurality of data items, and each data item may respectively correspond to control characteristic data of a motor characteristic for driving the workpiece shaft or the tool shaft, such as a speed loop gain (VGM), a position loop gain (PGM), a resonant filter frequency (FCF), a resonant Filter Bandwidth (FBW), a resonant filter attenuation (FDP), and the like. Wherein the speed loop gain, the resonant filter frequency can be set as key data items.
It will be appreciated that the data described above may be generated based on a machine tool standard test procedure. The machine tool standard test comprises a standard sample test, a standard process test, a precision qualification test and the like.
The reference control feature database may be a pointer database, i.e. a corresponding database pointer may be determined based on the changed object parameters, so that a corresponding calibration control feature data set is determined from the reference control feature database based on the database pointer.
In one embodiment, the database of baseline control characteristics corresponding to the tooth grinding process may be as shown in Table 1.
TABLE 1
For example, when the group number of the database pointer indicated by the updated object parameter is 4, the data set indicated by the group number 4 in table 1 may be determined as the calibration control feature data set, where the data set includes 10 data items, and the parameter corresponding to each data item is shown in table 1.
In the actual machining process, particularly in the tooth grinding machining process, the machining range interval database of the main workpiece is relatively compact, the two-end limit machining range databases are relatively sparse, so that the coverage and the accuracy of the databases are considered, and the reference coverage application of the limited data quantity of the reference control characteristic database is realized to the maximum extent.
In the standard test process, a corresponding relation between a control system interface manually setting the numbers of the tool and the workpiece groups, or applying a system function to estimate inertia coefficients, or calculating inertia based on the technological parameters of the tool and the workpiece through a theoretical formula and 8 reference control characteristic data sets can be established to construct a database and mapping logic of a database pointer, wherein the mapping logic can be specifically seen in table 1.
It should be noted that, similar to the 8 pointers and data sets in table 1, only the 8 isolated tools or the reference control features corresponding to the workpiece specifications are represented in a strict sense; the number of control feature data sets included in the reference control feature database may be extended to improve the coverage of the database during actual processing, which is far beyond these 8 cases.
It will be appreciated that when at least one of the target parameters corresponding to the target machining axis, that is, the workpiece specification, the tool fixture, and the tool wear coefficient is changed, the adjustment of the control feature data set of the motor may be triggered, and the corresponding calibration control feature data set may be determined.
Step 102, based on the object parameters and the automatic optimization function of the numerical control system, a corresponding self-matching control characteristic data set is generated.
The automatic optimization function can be understood as a self-adjusting function of the numerical control system, namely, in the processing process of the numerical control system, when the object parameters are changed, the numerical control system can automatically adjust so as to optimize the processing process.
In one embodiment, after the control system determines the corresponding group number, the background may identify a change in the object parameter, thereby implementing acquisition of the object parameter, so as to perform an automatic optimization function of the numerical control system based on the acquired object parameter, so as to generate and obtain a corresponding self-configured control feature data set.
And 103, determining a target control characteristic data set based on the calibration control characteristic data set and the self-matching control characteristic data set, operating a motor according to the target control characteristic data set, and executing the processing process of the workpiece.
In the step, the data items in the calibration control characteristic data set and the data items in the self-matching control characteristic data set can be compared, a comparison result is obtained, and then the target control characteristic data set is determined according to the comparison result, so that the motor is operated based on the target control characteristic data set, the dynamic characteristic of a target workpiece shaft is improved, the purpose of improving the machining precision of the workpiece is achieved, and meanwhile, the safety of the machining process can be improved.
For example, a difference operation may be performed on the data item in the calibration control feature data set and the data item in the self-matching control feature data set by using a difference operation manner, so as to obtain a difference value of the corresponding data item, and under the condition that the difference value of the data item is in a preset range, it is determined that the data set is matched normally, and then it is determined that the target control feature data set is obtained.
In this embodiment, under the condition that the object parameter is changed, the calibration control feature data set and the self-matching control feature data set can be respectively determined based on the changed object parameter, and the target control feature data set is determined and obtained based on the determined calibration control feature data set and the determined self-matching control feature data set, so that the motor is operated based on the target control feature data set, the dynamic characteristic of the target workpiece shaft is improved, and the purpose of improving the machining precision of the workpiece is achieved.
In one embodiment, the determining the target control feature data set based on the calibration control feature data set and the self-matching control feature data set includes:
performing difference operation on a first data item in the calibration control characteristic data set and a second data item in the self-matching control characteristic data set to obtain a difference comparison result of the first data item, wherein the second data item is a data item corresponding to the first data item in the self-matching control characteristic data set;
and determining a target control characteristic data set under the condition that the difference value comparison result indicates that the difference value between the first data item and the second data item is in a first preset range.
In this embodiment, a difference operation may be performed on a first data item in the calibration control feature data set and a second data item in the self-matching control feature data set by using a difference operation manner, so as to obtain a difference comparison result of the first data item, and when the difference comparison result indicates that the difference between the first data item and the second data item is in a first preset range, the target control feature data set is determined, so that the motor is moved based on the target control feature data set, the dynamic characteristic of a target workpiece shaft is improved, and the purpose of improving the machining precision of the workpiece is achieved.
The first preset range may generally refer to a difference range corresponding to a certain data item, that is, different data items may correspond to different difference ranges.
For example, the first data item may be understood as the key data item described above, i.e. the first data item may be a velocity loop gain or a resonant filter frequency.
Since the second data item is a data item corresponding to the first data item in the self-matched control feature data set, namely the first data item and the second data item can be understood as the same data item, namely the first data item and the second data item can be used for representing the same data item, and since the data items belong to different control feature data sets, the distinction is made by the first data item and the second data item. For example, when the first data item is the speed loop gain in the calibration control feature data set, then the second data item is the speed loop gain in the self-matching control feature data set; alternatively, when the first data item is a resonant filter frequency, then the second data item is a resonant filter frequency in the self-matched control profile data set.
In one embodiment, the first data item is a speed loop gain, and the difference between the first data item and the second data item is K1, it may be determined whether K1 is within a first preset range, such as [ N1, N2], and when K1 is within [ N1, N2], the target value of the speed loop gain may be determined according to the value of the speed loop gain in the calibration control feature data set and the value of the speed loop gain in the self-configured control feature data set, so as to generate the target control feature data set based on the target value of the speed loop gain.
In another embodiment, the first data item is a resonant filter frequency, and the difference between the first data item and the second data item is K2, it may be determined whether K2 is within a first preset range, such as [ N3, N4], and when K2 is within [ N3, N4], the target value of the resonant filter frequency may be determined according to the value of the resonant filter frequency in the calibration control feature data set and the value of the resonant filter frequency in the self-configured control feature data set, so as to generate the target control feature data set based on the target value of the resonant filter frequency.
In one embodiment, the determining the target control feature data set when the difference comparison result indicates that the difference between the first data item and the second data item is in a first preset range includes:
determining a target value of the first data item under the condition that the difference value comparison result indicates that the difference value of the first data item and the second data item is in a first preset range;
a target control feature data set is generated based on the target value of the first data item.
In this embodiment, the target value of the first data item may be determined based on the value of the first data item and the value of the second data item, so as to generate the target control feature data set based on the target value of the first data item, thereby implementing acquisition of the target control feature data set, so as to move the motor based on the acquired target control feature data set, improve dynamic characteristics of the target workpiece shaft, and achieve the purpose of improving machining precision of the workpiece.
For example, the calibration control characteristic data set comprises two data items of resonant filter frequency and speed loop gain, and the values of the two data items are respectively A1 and A2; correspondingly, the self-matching control characteristic data set also comprises two data items of resonant filter frequency and speed loop gain, and the values of the two data items are respectively B1 and B2. Wherein, in case the difference between the first data item and the second data item is in the first preset range, the target value of the resonance filter frequency and the target value of the speed loop gain may be determined, respectively, and the target control characteristic data set may be generated based on the target value of the resonance filter frequency and the target value of the speed loop gain.
It will be appreciated that the target control characteristic data set also includes two data items, namely a resonant filter frequency and a speed loop gain, and the corresponding values are respectively the target value of the resonant filter frequency and the target value of the speed loop gain.
Wherein the target value is one of the following:
an average of the values of the first data item and the second data item;
the greater of the value of the first data item and the value of the second data item;
the smaller of the value of the first data item and the value of the second data item.
In one embodiment, the determining the corresponding calibration control feature data set from the reference control feature database based on the changed object parameter includes:
determining corresponding inertia information based on the changed object parameters;
and determining a control characteristic data set matched with the inertia information in the reference control characteristic database as a calibration control characteristic data set.
In this embodiment, the corresponding inertia information may be determined based on the changed object parameter, so that the control feature data set that matches the inertia information is determined from the reference control feature database based on the inertia information, and is determined as the calibration control feature data set.
In one embodiment, after performing a difference operation on the first data item in the calibration control feature data set and the second data item in the self-matching control feature data set to obtain a difference comparison result of the first data item, the method further includes:
and outputting alarm information under the condition that the difference value comparison result indicates that the difference value between the first data item and the second data item is not in the first preset range.
In this embodiment, if the difference between the data items is outside the preset range, it may determine that the data set is abnormal in matching, and output alarm information, that is, if the data set is abnormal in matching, may output an error prompt, and may stop the processing of the workpiece, so as to confirm or maintain the object parameter or the machine tool component.
Referring to fig. 2, fig. 2 is a flowchart of a control feature data adjustment method provided in an embodiment of the present application. As shown in fig. 2, the method can be used for a numerical control system, specifically can be a control characteristic data adjustment method in a tooth grinding process, and comprises the following steps:
step 201, object parameter change.
The object parameter change comprises workpiece specification change, grinding wheel specification change, tool fixture change, grinding wheel significant abrasion and the like.
For example, when workpiece specifications, tooling specifications, grinding wheel specifications, or grinding wheel wear is significant, the control feature data adjustment operation may be initiated by the process program.
And 202, adjusting the target machining shaft control characteristic data set.
The target machining axis comprises a workpiece axis and a grinding wheel axis, namely the target machining axis control characteristic data set adjustment comprises a workpiece axis control characteristic data set adjustment and a grinding wheel axis control characteristic data set adjustment.
And 203, indexing the calibration control characteristic data set from the reference control characteristic database.
Step 204, based on the automatic optimization function of the numerical control system, a self-configuration control characteristic data set is established.
And 205, judging the matching degree based on the calibration control characteristic data set and the self-matching control characteristic data set.
Wherein, if the judgment result meets the preset condition, step 206 is executed; if the determination result does not satisfy the preset condition, that is, if the data match is abnormal, step 207 is performed.
The above-mentioned judging result can be understood as the difference value of the key data item in the calibration control characteristic data set and the self-configuration control characteristic data set, and the judging result meeting the preset condition can be understood as the difference value of the key data item being in the preset range; the fact that the judgment result does not meet the preset condition can be understood that the difference value of the key data items is not in the preset range.
Step 206, setting an optimal control characteristic data set.
The setting of the optimal control characteristic data set is equivalent to the determining of the target control characteristic data set, so that the motor is moved based on the obtained target control characteristic data set, the dynamic characteristic of a target workpiece shaft is improved, and the aim of improving the machining precision of the workpiece is fulfilled.
Step 207, checking the reasons of the data matching abnormality.
In this step, the reasons for the data matching abnormality may be checked, and after the reasons for the data matching abnormality are resolved, the processes of steps 203 to 206 may be continued.
In one embodiment, the database pointer may be deduced by manually setting the group number of the grinding wheel and the workpiece through a control system interface, by estimating inertia coefficients by using system functions, or by calculating inertia through a theoretical formula based on process parameters of the grinding wheel and the workpiece, etc., and specifically to the control system, the database pointer for manually setting the group number, the estimated inertia coefficients, or the calculated inertia through the formula, and the deduced database pointer is stored in a specified system variable.
The content of the process program part is as follows:
manually setting a group number by a storage system interface# 983;
#984 storing the application system function estimation inertia coefficients;
#985 storing the inertia calculated by a theoretical formula based on the process parameters of the grinding wheel and the workpiece;
# 989= #983; (when a set number is used);
# 989= #984; (when using the estimated inertia);
# 989= #985; (when calculating inertia);
in one embodiment, the manually settable grinding wheel and workpiece group number may be applied directly as a database pointer.
The content of the process program part is as follows:
#900=#989;
in one embodiment, the application function estimates inertia coefficients or calculates inertia values based on process parameters, determines the database pointer of the type closest to the values, and sets the database pointer. Moreover, the specific value range depends on the 8 database pointer value ranges and distribution characteristics during standard testing.
The content of the process program part is as follows:
IF[[#989GE 0800]AND[#989LE 1500]]THEN#900=1;
IF[[#989GE 1501]AND[#989LE 2200]]THEN#900=2;
……
IF[[#989GE 2801]AND[#989LE 2900]]THEN#900=8;
according to the result of the step, the corresponding data item can be extracted from the reference characteristic database to serve as a calibration control characteristic data set to be stored in a designated data area of the control system.
The content of the process program part is as follows:
IF[[#900EQ 2]THEN;
#101=#911;
#102=#912;
#103=#913;
#104=#914;
#105=#915;
#106=#916;
#107=#917;
in one embodiment, a control system auto-optimization function may be performed to generate a set of self-configuring control feature data sets that are stored in a control system designated data field.
The content of the process program part is as follows:
m50; (starting frequency response measurement and automatic optimization)
#111=P2107;
#112=P2113;
#113=P2177;
#114=P2359;
#115=P2363;
#116=P2364;
#117=P2365;
In one embodiment, the key data items of the calibration feature data set and the self-matching feature data set can be subtracted from each other to determine the difference value. Each data item in the data set respectively represents different control characteristics, so that reasonable difference ranges of each data item are set in a distinguishing mode.
The key data item difference value is within a specified range, is regarded as normal matching, and an average value (or a smaller value or a larger value) of the corresponding data item can be used as an optimal setting value to be set in control characteristic data of the control system. And the closed loop control of the characteristic data adjustment operation is realized to the greatest extent. And when the difference value of the key data item exceeds the specified range, the matching is considered as abnormal, and an operator can conduct error or problem checking according to the prompt, and detect whether the states of the set data, the gear and the grinding wheel and the workpiece shaft and the grinding wheel shaft are abnormal or not.
The content of the process program part is as follows:
IF [ ABS [ #111- #101]GT 30]GOTO 100; (data item 1 is out of tolerance in comparison, matches abnormally, carries out error prompt)
IF [ ABS [ #112- #102]GT 50]GOTO 100; (data item 2 is out of tolerance in comparison, abnormal in matching, error prompt)
IF [ ABS [ #115- #105]GT 50]GOTO 100; (data item 5 is out of tolerance, matches abnormally, carries out error prompt)
# 121= [ #111+#101]/2; (data set matching is normal, average value is taken as the optimal setting value of key data item 1)
# 122= [ #112+ #102]/2; (data set matching is normal, average value is taken as the optimal setting value of key data item 2)
# 125= [ #115+ #105]/2; (data set matching is normal, average value is taken as the optimal setting value of key data item 3)
G10l52; (rewriting System data function on)
N2107P1R#121; (setting of optimal setting values into corresponding control characteristic data in the control system)
N2113P1R#122; (setting of optimal setting values into corresponding control characteristic data in the control system)
N2363P1R#125; (setting of optimal setting values into corresponding control characteristic data in the control system)
G11; (rewriting System data function off)
M99;
N100#3000=01 ('gear and grinding wheel set values are wrong, or gear and grinding wheel are installed incorrectly, or workpiece shaft and grinding wheel shaft component states are abnormal'); (error prompt when matching is abnormal)
It can be understood that a reference control characteristic database can be constructed according to machine tool machining indexes (a workable workpiece range, matched grinding wheels, matched tools and the like), and a data set in the reference control characteristic database can be expanded as required; in addition, the constructed reference control feature database can be stored in a designated data area of the numerical control system.
In the embodiment of the application, a group of reference control characteristic data sets can be indexed to serve as calibration control characteristic data sets through deduction of database pointers, a group of automatic optimization characteristic data sets are collected on site to serve as self-matching control characteristic data sets, the calibration control characteristic data sets and the self-matching control characteristic data sets are automatically compared, the matching degree of the two data sets is judged according to the comparison result, the optimal control characteristic data sets are set, or potential reasons of abnormal matching are given, the problems of accuracy, stability and convenience existing in various adaptive motor control characteristic data methods in the current gear grinding processing are solved, closed-loop control of control characteristic data adjustment operation is achieved, the accuracy and stability of driving motor control characteristic data are improved, and the efficiency and the accuracy of gear grinding processing are guaranteed.
According to the workpiece processing method, when the object parameters corresponding to the target processing shaft are changed, corresponding calibration control characteristic data sets are determined from the reference control characteristic database based on the changed object parameters, and the target processing shaft comprises at least one of a workpiece shaft and a tool shaft; generating a corresponding self-configuration control feature data set based on the object parameters and an automatic optimization function of the numerical control system; determining a target control characteristic data set based on the calibration control characteristic data set and the self-matching control characteristic data set, and operating a motor according to the target control characteristic data set to execute the machining process of the workpiece; the motor is a driving motor for driving the target machining shaft to rotate, and the calibration control characteristic data set and the self-matching control characteristic data set are used for indicating control characteristic data of the motor. Thus, the accuracy and stability of the control characteristic data of the driving motor are improved, and the efficiency and accuracy of workpiece processing are ensured.
According to the workpiece processing method provided by the embodiment of the application, the execution main body can be a workpiece processing device. In the embodiment of the present application, a workpiece processing method performed by a workpiece processing device is taken as an example, and the workpiece processing device provided in the embodiment of the present application is described.
Referring to fig. 3, fig. 3 is a structural diagram of a workpiece processing apparatus provided in an embodiment of the present application. As shown in fig. 3, the workpiece processing apparatus 300 includes:
a determining module 301, configured to determine, when an object parameter corresponding to a target machining axis is changed, a corresponding calibration control feature data set from a reference control feature database based on the changed object parameter, where the target machining axis includes at least one of a workpiece axis and a tool axis;
a generating module 302, configured to generate a corresponding self-configured control feature data set based on the object parameter and an automatic optimization function of the numerical control system;
the processing module 303 is configured to determine a target control feature data set based on the calibration control feature data set and the self-matching control feature data set, and operate a motor according to the target control feature data set to perform a machining process of a workpiece;
the motor is a driving motor for driving the target machining shaft to rotate, and the calibration control characteristic data set and the self-matching control characteristic data set are used for indicating control characteristic data of the motor.
Optionally, the processing module 303 includes:
the comparison unit is used for carrying out difference operation on a first data item in the calibration control characteristic data set and a second data item in the self-matching control characteristic data set to obtain a difference comparison result of the first data item, wherein the second data item is a data item corresponding to the first data item in the self-matching control characteristic data set;
and the determining unit is used for determining a target control characteristic data set under the condition that the difference value comparison result indicates that the difference value between the first data item and the second data item is in a first preset range.
Optionally, the determined unit is specifically configured to:
determining a target value of the first data item under the condition that the difference value comparison result indicates that the difference value of the first data item and the second data item is in a first preset range;
generating a target control feature data set based on a target value of the first data item;
wherein the target value is one of the following:
an average of the values of the first data item and the second data item;
the greater of the value of the first data item and the value of the second data item;
The smaller of the value of the first data item and the value of the second data item.
Optionally, the determining module 301 is specifically configured to:
determining corresponding inertia information based on the changed object parameters;
and determining a control characteristic data set matched with the inertia information in the reference control characteristic database as a calibration control characteristic data set.
Optionally, the processing module further includes:
and the output unit is used for outputting alarm information when the difference value comparison result indicates that the difference value between the first data item and the second data item is not in the first preset range.
The workpiece processing device 300 in the embodiment of the present application may be a numerical control system, or may be a component in a numerical control system, such as an integrated circuit or a chip.
The workpiece processing apparatus 300 provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 and fig. 2, and in order to avoid repetition, a description is omitted here.
As shown in fig. 4, the embodiment of the present application further provides a numerical control system 400, which includes a processor 401 and a memory 402, wherein a program or an instruction that can be executed on the processor 401 is stored in the memory 402, and when the program or the instruction is executed by the processor 401, the steps of the embodiment of the workpiece processing method are implemented, and the same technical effects can be achieved, so that repetition is avoided, and details are not repeated here.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the processes of the embodiment of the workpiece processing method are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no redundant description is provided herein.
The processor is a processor in the numerical control system described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions, implementing each process of the above workpiece processing method embodiment, and achieving the same technical effect, so as to avoid repetition, and no redundant description is provided herein.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the workpiece processing method embodiments described above, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Claims (10)
1. The workpiece processing method is characterized by being applied to a numerical control system and comprising the following steps of:
under the condition that the object parameters corresponding to the target processing shaft are changed, determining a corresponding calibration control characteristic data set from a reference control characteristic database based on the changed object parameters, wherein the target processing shaft comprises at least one of a workpiece shaft and a tool shaft;
generating a corresponding self-configuration control feature data set based on the object parameters and an automatic optimization function of the numerical control system;
determining a target control characteristic data set based on the calibration control characteristic data set and the self-matching control characteristic data set, and operating a motor according to the target control characteristic data set to execute the machining process of the workpiece;
The motor is a driving motor for driving the target machining shaft to rotate, and the calibration control characteristic data set and the self-matching control characteristic data set are used for indicating control characteristic data of the motor.
2. The method of claim 1, wherein the determining a target control feature data set based on the calibration control feature data set and the self-contained control feature data set comprises:
performing difference operation on a first data item in the calibration control characteristic data set and a second data item in the self-matching control characteristic data set to obtain a difference comparison result of the first data item, wherein the second data item is a data item corresponding to the first data item in the self-matching control characteristic data set;
and determining a target control characteristic data set under the condition that the difference value comparison result indicates that the difference value between the first data item and the second data item is in a first preset range.
3. The method according to claim 2, wherein the determining the target control feature data set if the difference comparison indicates that the difference between the first data item and the second data item is within a first preset range comprises:
Determining a target value of the first data item under the condition that the difference value comparison result indicates that the difference value of the first data item and the second data item is in a first preset range;
generating a target control feature data set based on a target value of the first data item;
wherein the target value is one of the following:
an average of the values of the first data item and the second data item;
the greater of the value of the first data item and the value of the second data item;
the smaller of the value of the first data item and the value of the second data item.
4. The method of claim 1, wherein the determining a corresponding calibration control feature data set from a reference control feature database based on the altered object parameters comprises:
determining corresponding inertia information based on the changed object parameters;
and determining a control characteristic data set matched with the inertia information in the reference control characteristic database as a calibration control characteristic data set.
5. The method according to claim 2, wherein after performing a difference operation on a first data item in the calibration control feature data set and a second data item in the self-matching control feature data set to obtain a difference comparison result of the first data item, the method further comprises:
And outputting alarm information under the condition that the difference value comparison result indicates that the difference value between the first data item and the second data item is not in the first preset range.
6. A workpiece processing apparatus for use in a numerical control system, said apparatus comprising:
the determining module is used for determining a corresponding calibration control characteristic data set from the reference control characteristic database based on the changed object parameters under the condition that the object parameters corresponding to the target processing shaft are changed, wherein the target processing shaft comprises at least one of a workpiece shaft and a tool shaft;
the generation module is used for generating a corresponding self-configuration control characteristic data set based on the object parameters and the automatic optimization function of the numerical control system;
the processing module is used for determining a target control characteristic data set based on the calibration control characteristic data set and the self-matching control characteristic data set, operating a motor according to the target control characteristic data set and executing the processing process of the workpiece;
the motor is a driving motor for driving the target machining shaft to rotate, and the calibration control characteristic data set and the self-matching control characteristic data set are used for indicating control characteristic data of the motor.
7. The apparatus of claim 6, wherein the processing module comprises:
the comparison unit is used for carrying out difference operation on a first data item in the calibration control characteristic data set and a second data item in the self-matching control characteristic data set to obtain a difference comparison result of the first data item, wherein the second data item is a data item corresponding to the first data item in the self-matching control characteristic data set;
and the determining unit is used for determining a target control characteristic data set under the condition that the difference value comparison result indicates that the difference value between the first data item and the second data item is in a first preset range.
8. The apparatus according to claim 7, characterized by the determined unit, in particular for:
determining a target value of the first data item under the condition that the difference value comparison result indicates that the difference value of the first data item and the second data item is in a first preset range;
generating a target control feature data set based on a target value of the first data item;
wherein the target value is one of the following:
an average of the values of the first data item and the second data item;
The greater of the value of the first data item and the value of the second data item;
the smaller of the value of the first data item and the value of the second data item.
9. The apparatus according to claim 6, wherein the determining module is specifically configured to:
determining corresponding inertia information based on the changed object parameters;
and determining a control characteristic data set matched with the inertia information in the reference control characteristic database as a calibration control characteristic data set.
10. A numerical control system comprising a processor and a memory, the memory having stored thereon a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method of any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311672320.7A CN117471985A (en) | 2023-12-07 | 2023-12-07 | Workpiece processing method, device and numerical control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311672320.7A CN117471985A (en) | 2023-12-07 | 2023-12-07 | Workpiece processing method, device and numerical control system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117471985A true CN117471985A (en) | 2024-01-30 |
Family
ID=89633122
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311672320.7A Pending CN117471985A (en) | 2023-12-07 | 2023-12-07 | Workpiece processing method, device and numerical control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117471985A (en) |
-
2023
- 2023-12-07 CN CN202311672320.7A patent/CN117471985A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108121295B (en) | Prediction model establishing method, related prediction method and computer program product | |
US20080306620A1 (en) | Method for Machining a Workpiece | |
WO2023272836A1 (en) | Numerical control process design and optimization method based on machining knowledge | |
CN103235553A (en) | Method for automatically compensating numerical control machining size error based on fractional order | |
EP2898984A1 (en) | Interface system of industrial machine | |
US7957821B2 (en) | Systems and methods for statistical process control | |
US20200368871A1 (en) | Method for predicting chatter of a machine tool | |
CN116540631A (en) | Numerical control machine tool machining precision monitoring system and method | |
JP2004098279A (en) | Production system for producing product | |
CN106353089B (en) | Method for operating a plurality of measuring machines and integrated device comprising at least two measuring machines | |
CN117471985A (en) | Workpiece processing method, device and numerical control system | |
CN110908335B (en) | Method and device for wear analysis on a machine tool | |
CN111193495B (en) | Filtering processing method for workpiece straightening data | |
US11407112B2 (en) | Method and system for predicting collision of machining path | |
US20220009049A1 (en) | Calibration-Based Tool Condition Monitoring System for Repetitive Machining Operations | |
US11829124B2 (en) | Method for predicting occurrence of tool processing event and virtual metrology application and computer program product thereof | |
CN108776732B (en) | Method for evaluating dynamic importance of mechanical system component under small sample | |
CN115600930B (en) | Intelligent management method for electric power fitting production data | |
CN116680833B (en) | Drilling, tapping and milling design image generation system based on big data sharing | |
JP3060688B2 (en) | Mating clearance control processing method for assembled parts | |
Bąk et al. | Self-excited vibrations avoidance methodology in non-linear numerical simulation environment | |
EP4231103A1 (en) | System and method for machining a component | |
US20240019848A1 (en) | System and method for developing a numerical control manufacturing program | |
CN116449770B (en) | Machining method, device and equipment of numerical control machine tool and computer storage medium | |
CN112560234B (en) | Calculation method and device of residual life estimation probability of numerical control machine tool and network side server |
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 |