A data acquisition system and method for numerical control machine tools
By confirming the data type of the CNC machine tool set and setting the conversion interface, the inconsistency problem of CNC machine tool data acquisition is solved, data integrity and standardization are improved, and redundant data is reduced.
Patent Information
- Application Number
- CN202311097802.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-28
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2043-08-28
AI Technical Summary
Due to the wide variety of CNC machine tools and the different production years and versions of CNC systems, the difficulty of data acquisition is different, and the uniformity and standardity of data acquisition are low, which reduces the completeness of the collected data and causes redundant data problems.
By confirming the corresponding CNC machine tool set based on the workpiece information to be processed, confirming the data type, and setting up a data conversion interface, converting the production data of different models of CNC machine tools into a unified type, conducting completeness analysis and adjustment, ensuring data integrity, and Remove redundant data.
It improves the integrity of data collected by CNC machine tools, reduces redundancy in production data, and realizes the uniformity and standardization of data acquisition.
Smart Images

Figure CN117193165B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of numerical control machine tools, and in particular to a numerical control machine tool data acquisition system and method. Background Art
[0002] CNC machine tool is an automated machine tool equipped with a program control system. The control system can logically process programs specified by control codes or other symbolic instructions, input them into the CNC device through information carriers, and after calculation and processing, the CNC device sends various control signals to control the action of the machine tool, and automatically processes parts according to the shape and size required by the drawing. It has strong adaptability to processing objects, high processing accuracy, and can process parts with complex shapes. It is used in the processing of various parts. At present, with the development of CNC machine tool technology, CNC machine tools are becoming more and more intelligent.
[0003] In the related art, in the process of data collection for CNC machine tool groups, due to the wide variety of types and brand systems of CNC machine tools, the production years and versions of their CNC systems are not the same, and the software and hardware configurations are uneven, resulting in different data collection difficulties for each CNC machine tool, low uniformity and standardization of data collection, and thus reduced integrity of the collected data, which in turn makes the production data of the storage unit too redundant, and there is room for improvement. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention provides a CNC machine tool data acquisition system and method.
[0005] In a first aspect, the present application provides a method for collecting data of a numerical control machine tool, comprising the following steps:
[0006] Confirm the corresponding CNC machine tool set based on the information of the workpiece to be processed, confirm the CNC machine tool information in the CNC machine tool set, and confirm the collected data type based on the CNC machine tool information;
[0007] A data conversion interface is set based on the collected data type, production data in the CNC machine tool set is acquired based on the data conversion interface, and the acquired production data is analyzed for completeness, the completeness of the production data of each CNC machine tool in the CNC machine tool set is confirmed, and the completeness of the production data is compared with a first preset completeness threshold, and if the completeness of the production data is higher than the first preset completeness threshold, the production data is stored according to the corresponding workpiece information and the corresponding CNC machine tool information;
[0008] If the completeness of the production data is lower than the first preset completeness threshold, the completeness missing factor is confirmed based on the completeness of the production data of each CNC machine tool in the CNC machine tool set, and the CNC machine tool is adjusted based on the completeness missing factor.
[0009] Preferably, the confirming the collected data type based on the CNC machine tool information specifically includes:
[0010] Confirm the information of each CNC machine tool in the CNC machine tool set, and then confirm the type of each CNC machine tool and the quantity corresponding to each CNC machine tool type, and extract the production information corresponding to each CNC machine tool type from the database according to the type of the CNC machine tool, wherein the production information includes the processing effectiveness index, the processing performance index and the processing quality index, and then according to the formula , calculate the data proportion evaluation coefficient corresponding to each CNC machine tool type ,in, Indicates the number corresponding to each CNC machine type. , Indicated as number The number of CNC machine tools corresponding to the CNC machine tool type, Indicated as number The processing efficiency index corresponding to the CNC machine type, Indicated as number The processing performance index corresponding to the CNC machine tool type, Indicated as number The processing quality index corresponding to the type of CNC machine tool, The weight coefficients corresponding to the processing effectiveness index, processing performance index and processing quality index respectively;
[0011] Confirm the data proportion evaluation coefficient corresponding to each CNC machine tool type in the CNC machine tool set, obtain the maximum value of the data proportion evaluation coefficient, set the CNC machine tool type corresponding to the maximum data proportion evaluation coefficient as the first acquisition data type, and sequentially obtain other CNC machine tool types in the CNC machine tool set based on the data proportion evaluation coefficients from large to small, and set the other CNC machine tool types as the second acquisition data type, the third acquisition data type, ... the dth acquisition data type.
[0012] Preferably, the step of setting a data conversion interface based on the collected data type includes:
[0013] The data conversion interface includes a second data conversion interface, a third data conversion interface, ... a dth data conversion interface, d=2,3,...i, wherein the second data conversion interface is used to convert the second acquisition data type into the first acquisition data type, the third data conversion interface is used to convert the third acquisition data type into the first acquisition data type, and the dth data conversion interface is used to convert the dth acquisition data type into the first acquisition data type.
[0014] Preferably, the acquisition of production data in the CNC machine tool set based on the data conversion interface, and the completeness analysis of the acquired production data to confirm the completeness of production data of each CNC machine tool in the CNC machine tool set specifically includes:
[0015] Collecting production data of each CNC machine tool in the CNC machine tool set, and comparing the production data with the preset storage template data, thereby confirming the completeness of the production data;
[0016] By comparing the completeness of the production data with a first preset completeness threshold and outputting a ratio result, when the ratio result exceeds the first preset completeness threshold, the production data is determined to be valid production data, and then stored according to the corresponding workpiece information and the corresponding CNC machine tool information.
[0017] Preferably, when the ratio result exceeds a first preset completeness threshold, the production data is determined to be valid production data, and then stored according to the corresponding workpiece information and the corresponding CNC machine tool information, further comprising:
[0018] Acquire valid production data stored within a preset time interval, and screen the valid production data one by one to check whether there is duplicate data generated at different time nodes. If there is no duplicate data, no processing is performed;
[0019] When duplicate data is stored at different time nodes within a preset time interval, the time nodes of the duplicate data and the positions in the stored data are obtained, and the duplicate data are arranged in a first ordered manner. Based on the first ordered arrangement, the duplicate data at odd positions are removed, and time node marks are set before and after the even-numbered duplicate data positions to generate bundled data, and the bundled data is stored in a designated memory area.
[0020] Preferably, if the integrity of the production data is lower than the first preset integrity threshold, then confirming the integrity missing factor based on the production data of each CNC machine tool in the CNC machine tool set, and adjusting the CNC machine tool based on the integrity missing factor, specifically includes:
[0021] When the integrity of the production data is lower than the first preset integrity threshold, the integrity missing factors are confirmed based on the comparison between the production data and the preset storage template data, wherein the integrity missing factors include spindle speed, cutting amount, cutting depth and machine tool shaking degree;
[0022] When the completeness missing factor is the spindle speed, the stiffness of the workpiece to be processed is obtained, and the stiffness range of the workpiece to be processed is determined, and then the spindle speed of the CNC machine tool is adjusted based on the stiffness range;
[0023] When the completeness missing factor is the tool travel distance, the tool travel distance along the tool travel direction when the current CNC machine tool was processing the previous workpiece is obtained. and preset tool movement distance value Compare and then based on the formula , confirm the tool movement distance compensation coefficient , thereby adjusting the actual tool movement distance based on the tool movement distance compensation coefficient;
[0024] When the completeness missing factor is the cutting depth, the cutting depth of the current CNC machine tool when processing the previous workpiece is obtained. and preset cutting depth value Compare and then based on the formula , confirm the cutting depth compensation coefficient , so as to adjust the actual cutting depth based on the cutting depth compensation coefficient;
[0025] When the completeness missing factor is the machine tool shaking degree, the machine tool shaking degree of the current CNC machine tool when processing the previous workpiece is obtained and the preset machine shaking value Compare and then based on the formula , confirm the compensation coefficient of machine tool shaking degree , thereby adjusting the actual machine tool shake degree based on the machine tool shake degree compensation coefficient.
[0026] Preferably, the confirming of the completeness missing factors based on the production data of each CNC machine tool in the CNC machine tool set further includes:
[0027] The integrity loss factor also includes data conversion interface abnormality. The actual number of times the production data integrity is lower than a second preset integrity threshold within the same preset time interval is obtained. When the actual number is lower than the first preset number, it is determined that the data conversion interface is abnormal, and then adjustments are made based on the type of data collected by the CNC machine tool.
[0028] In a second aspect, the present application provides a CNC machine tool data acquisition system, comprising:
[0029] An information confirmation module, comprising a CNC machine tool information confirmation unit and a workpiece information confirmation unit, wherein the CNC machine tool information confirmation unit is used to confirm CNC machine tool information, wherein the CNC machine tool information includes various CNC machine tool types and the number corresponding to the CNC machine tool types, and also includes a processing effectiveness index, a processing performance index and a processing quality index, and the workpiece information confirmation unit is used to confirm the information of the workpiece to be processed;
[0030] A conversion interface setting module, used for converting the production data of each CNC machine tool into the first acquisition data type;
[0031] The data collection and analysis module is used to collect the production data of each CNC machine tool in the CNC machine tool set, and to analyze the completeness of the collected production data, and then adjust the CNC machine tools based on the completeness of the production data.
[0032] In summary, the present application includes at least one of the following beneficial technical effects:
[0033] The present invention provides a method for collecting data of numerical control machines, which confirms a corresponding numerical control machine set based on information of workpieces to be processed, and confirms a first collected data type in the numerical control machine set, so that the collected data types output by numerical control machines of different models are converted into the first collected data type through different data conversion interfaces, and then confirms the completeness of production data of each numerical control machine in the numerical control machine set based on the same collected data type, and then confirms the completeness missing factor based on the completeness of the production data, and then makes corresponding adjustments, thereby effectively improving the completeness of the collected data of the numerical control machine.
[0034] Valid production data is confirmed by comparing the completeness of production data with a first preset completeness threshold, and then valid production data stored within a preset time interval is obtained, and the valid production data is carefully screened to obtain duplicate data generated at different time nodes, and then a first ordered arrangement is performed based on the duplicate data to confirm the bundled data, and the bundled data is stored in a designated memory area, thereby effectively reducing the occurrence of excessive redundancy of production data. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a flow chart of the method for collecting CNC machine tool data according to an embodiment of the present application.
[0036] Figure 2 It is a system schematic diagram of CNC machine tool data acquisition in an embodiment of the present application. DETAILED DESCRIPTION
[0037] The following is combined with Figure 1-2 This application is described in further detail.
[0038] Example 1
[0039] The embodiment of the present application discloses a method for collecting data of a numerical control machine tool.
[0040] Reference Figure 1 , a method for collecting data of a numerical control machine tool comprises the following steps:
[0041] S1. Confirm the corresponding CNC machine tool set based on the information of the workpiece to be processed, confirm the CNC machine tool information in the CNC machine tool set, and confirm the collected data type based on the CNC machine tool information;
[0042] S2. Setting a data conversion interface based on the collected data type, acquiring the production data in the CNC machine tool set based on the data conversion interface, and performing integrity analysis on the acquired production data, confirming the integrity of the production data of each CNC machine tool in the CNC machine tool set, and comparing the integrity of the production data with a first preset integrity threshold. If the integrity of the production data is higher than the first preset integrity threshold, the data is stored according to the corresponding workpiece information and the corresponding CNC machine tool information;
[0043] S3. If the completeness of the production data is lower than the first preset completeness threshold, the completeness missing factor is confirmed based on the completeness of the production data of each CNC machine tool in the CNC machine tool set, and the CNC machine tool is adjusted based on the completeness missing factor.
[0044] Specifically, the information of the workpiece to be processed includes the workpiece name, workpiece type, workpiece cutting time and workpiece stiffness. The corresponding CNC machine tool set is confirmed based on the information of the workpiece to be processed, and the workpiece information and the CNC machine tool for cutting the above workpiece are combined into a storage unit.
[0045] Among them, in step S1, the data type of the collected data is confirmed based on the CNC machine tool information, specifically including:
[0046] Confirm the information of each CNC machine tool in the CNC machine tool set, and then confirm the type of each CNC machine tool and the quantity corresponding to each CNC machine tool type, and extract the production information corresponding to each CNC machine tool type from the database according to the type of the CNC machine tool. The production information includes the processing effectiveness index, processing performance index and processing quality index, and then according to the formula , calculate the data proportion evaluation coefficient corresponding to each CNC machine tool type ,in, Indicates the number corresponding to each CNC machine type. , Indicated as number The number of CNC machine tools corresponding to the CNC machine tool type, Indicated as number The processing efficiency index corresponding to the CNC machine type, Indicated as number The processing performance index corresponding to the CNC machine tool type, Indicated as number The processing quality index corresponding to the type of CNC machine tool, The weight coefficients corresponding to the processing effectiveness index, processing performance index and processing quality index respectively;
[0047] Specifically, the processing effectiveness index is used to evaluate the losses caused by the shutdown of CNC machine tools. , the processing effectiveness index is calculated, where It is expressed as the actual running time of the CNC machine tool. It is expressed as the planned running time of the CNC machine tool; the processing performance index is used to evaluate the performance capability of the CNC machine tool, through the formula , the processing performance index is calculated, where Expressed as the theoretical single workpiece processing speed, It is expressed as the total production volume; the processing quality index is used to evaluate the losses caused by workpieces that do not meet the requirements. Workpieces that do not meet the requirements include workpieces that need to be repaired or scrapped. The formula ,in, It is expressed as the number of qualified workpieces, among which the weight coefficients of the processing effectiveness index, processing performance index and processing quality index are dynamically adjusted by the operator based on historical data.
[0048] Confirm the data proportion evaluation coefficient corresponding to each CNC machine tool type in the CNC machine tool set, obtain the maximum value of the data proportion evaluation coefficient, set the CNC machine tool type corresponding to the maximum data proportion evaluation coefficient as the first acquisition data type, and obtain the other CNC machine tool types in the CNC machine tool set in turn based on the data proportion evaluation coefficients from large to small, and set the other CNC machine tool types as the second acquisition data type, the third acquisition data type, ... the dth acquisition data type.
[0049] In step S2, a data conversion interface is set based on the collected data type, including:
[0050] The data conversion interface includes a second data conversion interface, a third data conversion interface, ...the dth data conversion interface, d=2,3,...i, wherein the second data conversion interface is used to convert the second acquisition data type into the first acquisition data type, the third data conversion interface is used to convert the third acquisition data type into the first acquisition data type, and the dth data conversion interface is used to convert the dth acquisition data type into the first acquisition data type.
[0051] Furthermore, in step S2, the production data in the CNC machine tool set is acquired based on the data conversion interface, and the acquired production data is analyzed for completeness to confirm the completeness of the production data of each CNC machine tool in the CNC machine tool set, specifically including:
[0052] Collecting the production data of each CNC machine tool in the CNC machine tool set, and comparing the production data with the preset storage template data, and then confirming the completeness of the production data; wherein the preset storage template data is confirmed by a large number of historical processing data of the same type of workpieces;
[0053] By comparing the completeness of the production data with a first preset completeness threshold and outputting a ratio result, when the ratio result exceeds the first preset completeness threshold, the production data is determined to be valid production data, and then stored according to the corresponding workpiece information and the corresponding CNC machine tool information.
[0054] Further, when the ratio result exceeds the first preset completeness threshold, the production data is determined to be valid production data, and then stored according to the corresponding workpiece information and the corresponding CNC machine tool information, further comprising:
[0055] Obtain valid production data stored within a preset time interval, and screen the valid production data one by one to check whether there is duplicate data generated at different time nodes. If there is no duplicate data, no processing is performed;
[0056] When duplicate data is stored at different time nodes within a preset time interval, the time nodes of the duplicate data and the positions in the stored data are obtained, and the duplicate data are arranged in a first ordered manner. Based on the first ordered arrangement, the duplicate data at odd positions are removed, and time node marks are set before and after the even-numbered duplicate data positions to generate bundled data, and the bundled data is stored in a designated memory area.
[0057] Specifically, the front subscript of the even-numbered repeated data position is set to the time node of the previous odd-numbered position, the rear subscript of the even-numbered repeated data position is set to the time node of the next odd-numbered position, and the bundled data is stored based on the workpiece information and the corresponding CNC machine tool information.
[0058] Among them, in step S3, if the completeness of the production data is lower than the first preset completeness threshold, the completeness missing factor is confirmed based on the production data of each CNC machine tool in the CNC machine tool set, and the CNC machine tool is adjusted based on the completeness missing factor, specifically including:
[0059] When the integrity of the production data is lower than the first preset integrity threshold, the integrity missing factors are confirmed based on the comparison between the production data and the preset storage template data, wherein the integrity missing factors include the spindle speed, the cutting amount, the cutting depth and the degree of machine tool shaking;
[0060] When the completeness missing factor is the spindle speed, the stiffness of the workpiece to be processed is obtained, and the stiffness range of the workpiece to be processed is determined, and then the spindle speed of the CNC machine tool is adjusted based on the stiffness range;
[0061] When the completeness missing factor is the tool travel distance, the tool travel distance along the tool travel direction when the current CNC machine tool was processing the previous workpiece is obtained. and preset tool movement distance value Compare and then based on the formula , confirm the tool movement distance compensation coefficient , thereby adjusting the actual tool movement distance based on the tool movement distance compensation coefficient;
[0062] When the completeness missing factor is the cutting depth, the cutting depth of the current CNC machine tool when processing the previous workpiece is obtained. and preset cutting depth value Compare and then based on the formula , confirm the cutting depth compensation coefficient , so as to adjust the actual cutting depth based on the cutting depth compensation coefficient;
[0063] When the completeness missing factor is the machine tool shaking degree, the machine tool shaking degree of the current CNC machine tool when processing the previous workpiece is obtained and the preset machine shaking value Compare and then based on the formula , confirm the compensation coefficient of machine tool shaking degree , thereby adjusting the actual machine tool shake degree based on the machine tool shake degree compensation coefficient.
[0064] Furthermore, the factors for lack of completeness are confirmed based on the production data of each CNC machine tool in the CNC machine tool set, and also include:
[0065] The factors of lack of integrity also include data conversion interface abnormalities. The actual number of times that the production data integrity is lower than the second preset integrity threshold within the same preset time interval is obtained. When the actual number is lower than the first preset number, it is determined that the data conversion interface is abnormal, and then adjustments are made based on the type of data collected by the CNC machine tool.
[0066] Example 2
[0067] The embodiment of the present application also discloses a CNC machine tool data acquisition system.
[0068] Reference Figure 2 , a CNC machine tool data acquisition system, comprising:
[0069] The information confirmation module 1 includes a CNC machine tool information confirmation unit and a workpiece information confirmation unit. The CNC machine tool information confirmation unit is used to confirm CNC machine tool information, wherein the CNC machine tool information includes various CNC machine tool types and the corresponding quantities of CNC machine tool types, and also includes a processing effectiveness index, a processing performance index and a processing quality index. The workpiece information confirmation unit is used to confirm the information of the workpiece to be processed;
[0070] A conversion interface setting module 2, used for converting the production data of each CNC machine tool into a first acquisition data type;
[0071] The data collection and analysis module 3 is used to collect the production data of each CNC machine tool in the CNC machine tool set, and to analyze the completeness of the collected production data, and then to adjust the CNC machine tools based on the completeness of the production data.
[0072] Among them, the data acquisition and analysis module includes a data acquisition unit and a data analysis unit. The data acquisition unit is used to collect production data for each CNC machine tool in the CNC machine tool set; the data analysis unit is used to analyze the collected production data, wherein the data analysis unit also includes a production data integrity comparison subunit, a duplicate data bundling subunit and an integrity missing factor analysis subunit. The production data integrity comparison subunit is used to compare the production data with the preset storage template data, and then confirm the integrity of the production data, and compare the production data integrity with the first preset integrity threshold and output the ratio result; the duplicate data bundling subunit is used to distinguish between odd and even duplicate data generated within a preset time interval and at different time nodes, and set time node marks before and after the even duplicate data position to generate bundled data, and store the bundled data in a designated memory area; the integrity missing factor analysis subunit is used to confirm the integrity missing factors based on the comparison of the production data with the preset storage template data, and the integrity missing factors include spindle speed, tool feed amount, cutting depth and machine tool shaking degree.
[0073] The above contents are merely examples and explanations of the concept of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.
[0074] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0075] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A method for collecting data of a numerical control machine tool, characterized in that: The following steps are involved: Confirm the corresponding CNC machine tool set based on the information of the workpiece to be processed, confirm the CNC machine tool information in the CNC machine tool set, and confirm the collected data type based on the CNC machine tool information; Confirming the collected data type based on the CNC machine tool information specifically includes: Confirm the information of each CNC machine tool in the CNC machine tool set, and then confirm the type of each CNC machine tool and the quantity corresponding to each CNC machine tool type, and extract the production information corresponding to each CNC machine tool type from the database according to the type of the CNC machine tool, wherein the production information includes the processing effectiveness index, the processing performance index and the processing quality index, and then according to the formula , calculate the data proportion evaluation coefficient corresponding to each CNC machine tool type ,in, Indicates the number corresponding to each CNC machine type. , Indicated as number The number of CNC machine tools corresponding to the CNC machine tool type, Indicated as number The processing efficiency index corresponding to the CNC machine type, Indicated as number The processing performance index corresponding to the CNC machine tool type, Indicated as number The processing quality index corresponding to the type of CNC machine tool, The weight coefficients corresponding to the processing effectiveness index, processing performance index and processing quality index respectively; Confirm the data proportion evaluation coefficient corresponding to each CNC machine tool type in the CNC machine tool set, obtain the maximum value of the data proportion evaluation coefficient, set the CNC machine tool type corresponding to the maximum data proportion evaluation coefficient as the first acquisition data type, and sequentially obtain other CNC machine tool types in the CNC machine tool set based on the data proportion evaluation coefficients from large to small, and set the other CNC machine tool types as the second acquisition data type, the third acquisition data type, ... the dth acquisition data type; A data conversion interface is set based on the collected data type, production data in the CNC machine tool set is acquired based on the data conversion interface, and the acquired production data is analyzed for completeness, the completeness of the production data of each CNC machine tool in the CNC machine tool set is confirmed, and the completeness of the production data is compared with a first preset completeness threshold, and if the completeness of the production data is higher than the first preset completeness threshold, the production data is stored according to the corresponding workpiece information and the corresponding CNC machine tool information; If the completeness of the production data is lower than the first preset completeness threshold, the completeness missing factor is confirmed based on the completeness of the production data of each CNC machine tool in the CNC machine tool set, and the CNC machine tool is adjusted based on the completeness missing factor.
2. A method for collecting data of a numerically controlled machine tool according to claim 1, characterized in that: The setting of the data conversion interface based on the collected data type includes: The data conversion interface includes a second data conversion interface, a third data conversion interface, ... a dth data conversion interface, d=2,3,...i, the second data conversion interface is used to convert the second acquisition data type into the first acquisition data type, the third data conversion interface is used to convert the third acquisition data type into the first acquisition data type, and the dth data conversion interface is used to convert the dth acquisition data type into the first acquisition data type.
3. A method for collecting data of a numerically controlled machine tool according to claim 2, characterized in that: The acquiring of the production data in the CNC machine tool set based on the data conversion interface and performing integrity analysis on the acquired production data to confirm the integrity of the production data of each CNC machine tool in the CNC machine tool set specifically includes: Collecting production data of each CNC machine tool in the CNC machine tool set, and comparing the production data with the preset storage template data, thereby confirming the completeness of the production data; By comparing the completeness of the production data with a first preset completeness threshold and outputting a ratio result, when the ratio result exceeds the first preset completeness threshold, the production data is determined to be valid production data, and then stored according to the corresponding workpiece information and the corresponding CNC machine tool information.
4. A method for collecting data of a numerically controlled machine tool according to claim 3, characterized in that: When the ratio result exceeds the first preset completeness threshold, the production data is determined to be valid production data, and then stored according to the corresponding workpiece information and the corresponding CNC machine tool information, and further includes: Acquire valid production data stored within a preset time interval, and screen the valid production data one by one to check whether there is duplicate data generated at different time nodes. If there is no duplicate data, no processing is performed; When duplicate data is stored at different time nodes within a preset time interval, the time nodes of the duplicate data and the positions in the stored data are obtained, and the duplicate data are arranged in a first ordered manner. Based on the first ordered arrangement, the duplicate data at odd positions are removed, and time node marks are set before and after the even-numbered duplicate data positions to generate bundled data, and the bundled data is stored in a designated memory area.
5. A method for collecting data of a numerically controlled machine tool according to claim 4, characterized in that: If the integrity of the production data is lower than the first preset integrity threshold, then confirming the integrity missing factor based on the production data of each CNC machine tool in the CNC machine tool set, and adjusting the CNC machine tool based on the integrity missing factor, specifically including: When the integrity of the production data is lower than the first preset integrity threshold, the integrity missing factors are confirmed based on the comparison between the production data and the preset storage template data, wherein the integrity missing factors include spindle speed, cutting amount, cutting depth and machine tool shaking degree; When the completeness missing factor is the spindle speed, the stiffness of the workpiece to be processed is obtained, and the stiffness range of the workpiece to be processed is determined, and then the spindle speed of the CNC machine tool is adjusted based on the stiffness range; When the completeness missing factor is the tool travel distance, the tool travel distance along the tool travel direction when the current CNC machine tool was processing the previous workpiece is obtained. and preset tool movement distance value Compare and then based on the formula , confirm the tool moving distance compensation coefficient , thereby adjusting the actual tool movement distance based on the tool movement distance compensation coefficient; When the completeness missing factor is the cutting depth, the cutting depth of the current CNC machine tool when processing the previous workpiece is obtained. and preset cutting depth value Compare and then based on the formula , confirm the cutting depth compensation coefficient , so as to adjust the actual cutting depth based on the cutting depth compensation coefficient; When the completeness missing factor is the machine tool shaking degree, the machine tool shaking degree of the current CNC machine tool when processing the previous workpiece is obtained and the preset machine shaking value Compare and then based on the formula , confirm the compensation coefficient of machine tool shaking degree , thereby adjusting the actual machine tool shake degree based on the machine tool shake degree compensation coefficient.
6. A method for collecting data of a numerically controlled machine tool according to claim 5, characterized in that: The confirmation of the completeness missing factors based on the production data of each CNC machine tool in the CNC machine tool set also includes: The integrity loss factor also includes data conversion interface abnormality. The actual number of times the production data integrity is lower than a second preset integrity threshold within the same preset time interval is obtained. When the actual number is lower than the first preset number, it is determined that the data conversion interface is abnormal, and then adjustments are made based on the type of data collected by the CNC machine tool.
7. A computer-readable storage medium, characterized in that: Instructions are stored, and when the instructions are run on a computer, the computer is caused to execute a CNC machine tool data acquisition method as claimed in any one of claims 1 to 6.
Citation Information
Patent Citations
Turning working time rationing method based on machining parameter standardization
CN109901512A
Numerically-controlled machine tool capable of recognizing workpiece and automatically inputting technological parameters and machining method of numerical control machine tool
CN111571276A
