Processing time calculation method, electronic equipment and storage medium

By identifying the processing steps and equipment parameters in the processing documents, a processing time calculation model is constructed, and the processing parameters are optimized, solving the problem of inaccurate processing time estimation in the existing technology and achieving more efficient processing time management.

CN118940623APending Publication Date: 2024-11-12YUNJIA (CHONGQING) MEDICAL EQUIP CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410978834.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Existing technologies in denture manufacturing neglect dynamic factors during the manufacturing process, resulting in significant discrepancies between estimated processing time and actual time, which affects production cycles and user satisfaction.

Method used

By obtaining the processing steps from the processing documents and the parameters of the processing equipment, the processing time of each processing step is calculated, and a processing time calculation model is constructed to optimize the processing parameters and improve the accuracy of the calculation.

Benefits of technology

It improved the accuracy of processing time calculation, reduced the total processing time, and increased processing efficiency and user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940623A_ABST
    Figure CN118940623A_ABST
Patent Text Reader

Abstract

The invention discloses a processing time calculation method, electronic equipment and a storage medium. The processing time calculation method comprises the following steps: acquiring a processing file; identifying a plurality of processing links in the processing file; machining parameters of machining equipment are obtained; the machining time of each machining link is calculated and obtained according to the machining parameters; and calculating the sum of the processing time of the plurality of processing links to obtain the total processing time corresponding to the processing file. According to the method, the processing time of each processing link is calculated and obtained according to the processing parameters, and compared with a mode of calculating the corresponding processing time only according to the processing file, the accuracy of the calculated processing time can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a processing time calculation method, electronic equipment and storage medium. Background Art

[0002] In the field of denture processing, the processing time required for each workpiece is different due to the different processing processes. In actual production scenarios, processing time not only affects the length of the production cycle, but also directly affects user satisfaction. Therefore, it is necessary to estimate the processing time required for each workpiece.

[0003] Currently, the method for estimating the processing time is mainly based on the information in the processing file, estimating the moving distance and average moving speed of the tool during the processing, and thus estimating the processing time.

[0004] However, although this method achieves a certain degree of automation, it ignores the dynamic factors in the processing process (such as different models and performance fluctuations of processing equipment), and its estimation results often deviate greatly from the actual situation. Summary of the invention

[0005] In response to the shortcomings of the prior art, the present application provides a processing time calculation method, an electronic device and a storage medium. By calculating and obtaining the processing time of each processing link based on processing parameters, the accuracy of the calculated processing time can be improved compared to the method of only calculating the corresponding processing time based on processing files.

[0006] To solve the above problems, the present invention provides the following technical solutions:

[0007] In a first aspect, an embodiment of the present application provides a method for calculating processing time, comprising:

[0008] Get processing files;

[0009] Identifying multiple processing links in the processing file;

[0010] Obtain processing parameters of processing equipment;

[0011] Calculate and obtain the processing time of each processing link according to the processing parameters;

[0012] The sum of the processing time of the multiple processing links is calculated to obtain the total processing time corresponding to the processing file.

[0013] In some embodiments, the processing file includes processing instructions and auxiliary instructions, and each of the processing links includes at least one of the processing instructions and the auxiliary instructions;

[0014] The identifying of multiple processing links in the processing file includes:

[0015] Identify the processing instruction according to the processing instruction identifier in the processing file;

[0016] Identify the auxiliary instruction according to the auxiliary instruction identifier in the processing file;

[0017] The processing steps in the processing file are identified according to the processing instructions and the auxiliary instructions.

[0018] In some embodiments, the step of calculating and obtaining the processing time of each processing step according to the processing parameters includes:

[0019] Obtaining a preset processing time calculation formula for each of the processing steps, wherein each of the preset processing time calculation formulas includes at least one calculation parameter;

[0020] Calculating the value of the calculation parameter corresponding to each of the processing steps according to the processing parameters;

[0021] Substitute the numerical value of the calculation parameter into the preset processing time calculation formula of the processing link to obtain the processing time of each processing link.

[0022] In some embodiments, the processing parameters include at least one of a machine tool feed rate, a tool feed rate, a cutting length, a motor shaft speed, and a machine tool spindle speed, and the multiple processing steps include at least a cutting step and a drilling step.

[0023] In some embodiments, the calculation parameters corresponding to the cutting link include processing length, cutting times, feed rate, cutting length and relative rotation speed, and the calculation of the value of the calculation parameter corresponding to each processing link according to the processing parameters includes:

[0024] When the processing step is the cutting step, the value of the processing length and the value of the number of cutting times are determined according to all instructions included in the cutting step;

[0025] Determining a value of a feed rate corresponding to the cutting link according to the machine tool feed rate and the tool feed rate;

[0026] Determine the value of the cutting length corresponding to the cutting link according to the cutting length in the processing parameters;

[0027] The value of the relative speed is determined according to the motor shaft speed and the machine tool spindle speed.

[0028] In some embodiments, the multiple processing links at least include a tool changing link, a tool clamping link and a probe link, the processing parameters include a preset processing time of the tool changing link, a preset processing time of the tool clamping link and a preset processing time of the probe link, and the at least one calculation parameter includes a processing time parameter;

[0029] Calculating the value of the calculation parameter corresponding to each processing link according to the processing parameter includes:

[0030] Determine the value of the corresponding processing time parameter of the tool changing link according to the preset processing time of the tool changing link;

[0031] Determine the value of the corresponding processing time parameter of the tool clamping link according to the preset processing time of the tool clamping link;

[0032] The value of the corresponding processing time parameter of the probe link is determined according to the preset processing time of the probe link.

[0033] In some embodiments, the step of calculating and obtaining the processing time of each processing step according to the processing parameters includes:

[0034] Acquiring historical processing data, wherein the historical processing data includes processing parameters and historical processing time corresponding to a plurality of historical processing links;

[0035] constructing a processing time calculation model according to the historical processing data;

[0036] The processing parameters and the processing files are input into the processing time calculation model to calculate and obtain the processing time of each processing link.

[0037] In some implementations, after calculating the sum of the processing time of the plurality of processing links to obtain the total processing time corresponding to the processing file, the method further includes:

[0038] Optimizing the processing parameters according to the total processing time corresponding to the processing file to obtain optimized processing parameters;

[0039] Calculating and obtaining the optimized processing time of each processing step according to the optimized processing parameters;

[0040] The sum of the optimized processing times of the multiple processing links is calculated to obtain the optimized total processing time corresponding to the processing file.

[0041] In a second aspect, an embodiment of the present application provides an electronic device, the electronic device comprising:

[0042] at least one processor; and,

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

[0044] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the processing time calculation method as described in the first aspect.

[0045] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores an executable program, and the executable program is executed by a processor to implement the processing time calculation method as described in the first aspect.

[0046] The present application provides a processing time calculation method, an electronic device and a storage medium. The present application calculates and obtains the processing time of each processing link according to processing parameters, which can improve the accuracy of the calculated processing time compared to the method of only calculating the corresponding processing time based on the processing file. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a flow chart of the first implementation method of the processing time calculation method provided in the embodiment of the present application.

[0048] Figure 2 yes Figure 1 A first detailed flow chart of step S400 in FIG.

[0049] Figure 3 yes Figure 1 A second detailed flow chart of step S400 in FIG.

[0050] Figure 4 It is a flow chart of the second implementation method of the processing time calculation method provided in the embodiment of the present application.

[0051] Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.

[0052] Figure 6 It is a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0054] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0055] The present application provides a processing time calculation method, an electronic device and a storage medium. The present application calculates and obtains the processing time of each processing link according to processing parameters, which can improve the accuracy of the calculated processing time compared to the method of only calculating the corresponding processing time based on the processing file.

[0056] The processing time calculation method provided by the present application will be described in detail below with reference to the accompanying drawings.

[0057] See also Figure 1 , Figure 1 1 is a flow chart of the first implementation method of the processing time calculation method provided in the embodiment of the present application. Figure 1 As shown, the processing time calculation method includes: step S100 to step S500.

[0058] Step S100: Obtain processing files.

[0059] In some implementations, in order to process a workpiece, it is necessary to first generate a processing file for controlling a processing device to perform processing.

[0060] Optionally, the processing file is directly obtained in the processing time calculation method provided in the present application.

[0061] In some implementations, the processing file is a tool path file, which is a file used for programming CNC machine tools and contains all instructions and data for tool movement when the CNC machine tool performs a processing task.

[0062] Optionally, the format of the processing file is a NC (Numerical Control) file or a CIMCO file.

[0063] In some implementations, the processing file includes multiple processing links, and the multiple processing links in the processing file need to be identified for subsequent processing.

[0064] Step S200: Identify multiple processing links in the processing file.

[0065] In some embodiments, the processing file includes processing instructions and auxiliary instructions. Each processing link includes at least one of the processing instructions and the auxiliary instructions.

[0066] In some embodiments, each processing link includes at least one operation, and each instruction corresponds to one operation.

[0067] Optionally, the number of processing instructions is at least one, for example, the number of processing instructions is 1, 5, 10, 100 or 1000, etc.

[0068] Optionally, the number of auxiliary instructions is at least one, for example, the number of auxiliary instructions is 1, 5, 10, 100 or 1000, etc.

[0069] In some embodiments, the processing instructions are instructions for controlling the movement of components in a processing device.

[0070] Optionally, the machining instructions are used to implement tool-related operations, such as rapid positioning, counter-circular interpolation, clockwise circular interpolation, intermediate point circular interpolation, radius programming, and jump machining.

[0071] Optionally, the processing instruction is a G-code instruction, that is, a Geometric Code instruction.

[0072] Optionally, the processing instruction includes a processing instruction identifier.

[0073] Optionally, the processing instruction is a G code instruction, and the first letter of each processing instruction is G, and G is a processing instruction identifier.

[0074] In some embodiments, the auxiliary instructions are instructions for controlling non-motion operations of the processing equipment.

[0075] Exemplarily, the non-motion operation of the processing equipment includes program stop, tool change or spindle stop, etc.

[0076] Optionally, the auxiliary instruction is an M code instruction, that is, an auxiliary function code (Miscellaneous Function Code) instruction.

[0077] Optionally, the auxiliary instruction includes an auxiliary instruction identifier.

[0078] Optionally, the auxiliary instruction is an M code instruction, and the first letter of each auxiliary instruction is M, where M is an auxiliary instruction identifier.

[0079] In some implementations, S or T is also an auxiliary instruction identifier.

[0080] In some implementations, each line of text in the processing file is an instruction, and the type of the instruction in each line of text is identified according to the first letter of the line of text.

[0081] In some embodiments, step S200 includes steps (200.1) to (200.3).

[0082] (200.1) Identify the processing instruction according to the processing instruction identifier in the processing file.

[0083] Optionally, after the processing instruction identifier is identified, a line of text including the processing instruction identifier is identified as the processing instruction.

[0084] In some implementations, the processing instructions include data of corresponding specific operations, and the processing equipment can be controlled to perform the corresponding specific operations through the processing instructions.

[0085] Exemplarily, the machining instruction is G01 Z11.000 F2500, wherein G01 indicates a linear motion operation, Z11.000 indicates that the Z axis moves 11 millimeters, and F2500 indicates that the moving rate is 2500.

[0086] (200.2) Auxiliary instructions are identified according to the auxiliary instruction identifier in the processing file.

[0087] Optionally, after the auxiliary instruction identifier is identified, a line of text including the auxiliary instruction identifier is identified as an auxiliary instruction.

[0088] In some embodiments, the auxiliary instructions include data of corresponding specific operations, and the processing equipment can be controlled to perform the corresponding specific operations through the auxiliary instructions.

[0089] Exemplarily, the auxiliary instruction is T1 M06, which indicates a tool change operation.

[0090] Exemplarily, the auxiliary instruction is S20000M03, which indicates adjusting the spindle speed to 20,000 rpm.

[0091] (200.3) Identify the processing links in the processing file based on the processing instructions and auxiliary instructions.

[0092] In some embodiments, the number of processing links in the processing file is multiple, for example, the number of processing links is 2, 5, 10, 100 or 1000, etc.

[0093] In some embodiments, the plurality of processing steps comprises a primary processing step.

[0094] Optionally, the main processing steps include cutting, milling, drilling and grinding.

[0095] In some embodiments, the plurality of processing steps further include non-primary processing steps.

[0096] Optionally, non-major processing links include tool clamping, tool changing, tool setting, positioning, rapid movement, loading, unloading and detection.

[0097] In some embodiments, the order of the multiple processing steps is related.

[0098] For example, there are tool clamping and tool setting steps before the cutting step, and there are tool clamping, tool setting and positioning steps before the drilling step.

[0099] In some embodiments, there is a non-major processing step between two adjacent major processing steps.

[0100] Exemplarily, there is a tool changing step between the cutting step and the drilling step.

[0101] In some implementations, the main processing links adjacent to each non-main processing link are identified based on each non-main processing link, and then all processing links in the processing file are identified.

[0102] Because each processing link corresponds to different processing parameters, by identifying multiple processing links in the processing file as described above, the processing time of each processing link can be calculated separately subsequently. Compared with the method of calculating the corresponding processing time based on the entire processing file, the accuracy of the calculated processing time can be improved.

[0103] Step S300: Obtain processing parameters of processing equipment.

[0104] In some embodiments, the processing equipment is a CNC machine tool or a 3D printer.

[0105] Optionally, the processing equipment includes a tool for processing, and the tool is a cutter, a drill bit or a milling cutter, etc.

[0106] In some embodiments, the processing parameters of the processing equipment include at least one of machine tool feed rate, tool feed rate, cutting length, motor shaft speed, machine tool spindle speed, drilling depth, cutting force, cutting speed, material type, workpiece size, tool information and historical processing time.

[0107] Optionally, the machine feed rate is the maximum moving rate of the machine tool. The tool feed rate is the moving rate of the tool. The cutting length is the length that the tool cuts the workpiece at one time during the machining process. The motor shaft speed is the number of revolutions per minute of the motor shaft. The machine tool spindle speed is the number of revolutions per minute of the machine tool spindle. The drilling depth is the depth that the tool drills the workpiece at one time during the machining process. The cutting force is the force when the tool cuts the workpiece. The cutting speed is the speed of relative movement between the tool and the workpiece. The material type is the material type of the workpiece. The workpiece size includes the length, width and height of the workpiece. The tool information includes the model, material, degree of wear and tool life of the tool. The historical processing time is the actual processing time of each processing link executed by the processing equipment.

[0108] Step S400: Calculate and obtain the processing time of each processing step according to the processing parameters.

[0109] In some embodiments, the processing parameters include at least one of a machine tool feed rate, a tool feed rate, a cutting length, a motor shaft speed, and a machine tool spindle speed, and the multiple processing steps include at least a cutting step and a drilling step.

[0110] See also Figure 2 , Figure 2 yes Figure 1 The first detailed flow chart of step S400 in FIG. Figure 2 As shown, step S400 includes steps S410 to S430.

[0111] Step S410: Obtain the preset processing time calculation formula for each processing link.

[0112] Wherein, each preset processing time calculation formula includes at least one calculation parameter.

[0113] In some embodiments, because each processing link includes different processing operations, a corresponding processing time calculation formula is preset according to each processing link.

[0114] In some embodiments, the processing parameters corresponding to each processing step are different, and the calculation parameters corresponding to each processing step are also different.

[0115] In some embodiments, the calculation parameters corresponding to the cutting step include processing length, number of cutting times, feed rate, cutting length and relative rotation speed.

[0116] In some embodiments, the processing time of the cutting segment includes the processing time of the cutting operation.

[0117] In some embodiments, the preset processing time calculation formula of the cutting process is:

[0118] Processing time = (processing length × number of cuts) ÷ (feed rate × cutting length × relative speed).

[0119] Step S420: Calculate the value of the calculation parameter corresponding to each processing link according to the processing parameters.

[0120] In some embodiments, when the processing step is a cutting step, step S420 includes steps (420.1) to (420.4).

[0121] (420.1) The numerical value of the processing length and the numerical value of the number of cutting times are determined based on all the instructions included in the cutting process.

[0122] As described above, the processing instructions and auxiliary instructions include data of corresponding specific operations.

[0123] Optionally, the numerical value of the processing length and the numerical value of the number of cutting times are calculated based on the data of specific operations in all instructions included in the cutting link.

[0124] In some embodiments, the machining parameters include tool information.

[0125] Optionally, the numerical value of the appropriate number of cutting times of the current tool is determined according to the tool information. In this way, the life of the tool can be extended.

[0126] Exemplarily, the tool information includes a numerical value of a recommended number of cutting times, the numerical value of the recommended number of cutting times is used as the numerical value of the number of cutting times corresponding to the current cutting link, and the corresponding instructions in the cutting link are modified.

[0127] (420.2) The feed rate value corresponding to the cutting process is determined based on the machine tool feed rate and the tool feed rate.

[0128] In some embodiments, a machine tool and a cutting tool in a processing device move toward each other, a workpiece is placed on the machine tool, and a feed rate corresponding to the cutting link is a relative movement rate of the machine tool and the cutting tool.

[0129] Optionally, the feed rate corresponding to the cutting step is the sum of the machine tool feed rate and the tool feed rate.

[0130] In some embodiments, the machining parameters further include a maximum feed rate of the machine tool.

[0131] Optionally, according to the processing requirements of the cutting link, a value below the maximum feed rate of the machine tool is selected as the value of the machine tool feed rate.

[0132] Exemplarily, the maximum feed rate of the machine tool is 100 mm (millimeter) / min (minute), but the processing requires a smaller feed rate, and an appropriate value can be selected as the machine tool feed rate value, for example, the machine tool feed rate value is selected as 50 mm / min.

[0133] In some embodiments, the processing parameters include material type or workpiece size. Different materials have different properties such as hardness, toughness and plasticity, which will affect parameters such as tool wear and processing accuracy during the cutting process.

[0134] In some implementations, the machine feed rate and the tool feed rate are adjusted based on the material type.

[0135] In some embodiments, when the workpiece volume calculated based on the workpiece size is greater than a preset volume, the machine feed rate and the tool feed rate are increased based on the workpiece size.

[0136] (420.3) The value of the cutting length corresponding to the cutting link is determined according to the cutting length in the processing parameters.

[0137] Optionally, the numerical value of the cutting length in the processing parameters is used as the numerical value of the cutting length corresponding to the cutting link.

[0138] (420.4) The relative speed value is determined based on the motor shaft speed and the machine tool spindle speed.

[0139] In some implementations, when the rotation direction of the motor shaft is the same as that of the machine tool spindle, the relative rotation speed is obtained by subtracting the maximum value of the motor shaft rotation speed and the machine tool spindle rotation speed from the minimum value.

[0140] In some implementations, when the direction of rotation of the motor shaft is different from that of the machine tool spindle, the value of the relative speed is obtained by adding the values ​​of the motor shaft speed and the machine tool spindle speed.

[0141] In some embodiments, the processing parameters include cutting force.

[0142] Optionally, the cutting force is related to the motor shaft speed.

[0143] Optionally, the motor shaft speed is adjusted according to the cutting force, and the value of the relative speed is determined according to the value of the adjusted motor shaft speed.

[0144] In some embodiments, the processing parameters include cutting speed, and the preset processing time calculation formula of the cutting process is: processing time = processing length ÷ cutting speed.

[0145] Optionally, the numerical value of the cutting speed in the processing parameters is used as the numerical value of the cutting speed corresponding to the cutting link.

[0146] Optionally, the processing parameters include historical processing time, and the historical processing time includes the actual processing time of each processing link executed by the processing equipment.

[0147] In some implementations, the processing time of the cutting link in the historical processing time is used as the processing time of the current cutting link.

[0148] In some embodiments, the cutting step also includes other operations, and the processing time of the cutting step also includes other time corresponding to the other operations.

[0149] Exemplarily, the cutting step also includes a tool moving operation.

[0150] In some embodiments, the preset processing time calculation formula of the cutting process is:

[0151] Processing time = (processing length × number of cuts) ÷ (feed rate × cutting length × relative speed) + other time.

[0152] In some implementations, a tool movement path and a movement speed in a tool movement operation are determined according to a processing file, and a time corresponding to the tool movement operation is calculated according to the tool movement path and the movement speed.

[0153] As mentioned above, the main processing steps include cutting, milling, drilling and grinding.

[0154] In some embodiments, the method for calculating the processing time of the processing links other than the cutting link in the main processing links refers to the method for calculating the processing time of the cutting link.

[0155] In some embodiments, the calculation parameters corresponding to the drilling process include processing depth, drilling times, feed rate, drilling depth and relative rotation speed.

[0156] In some embodiments, the processing time of the drilling segment includes the processing time of the drilling operation.

[0157] Optionally, the preset processing time calculation formula for the drilling process is:

[0158] Processing time = (processing depth × number of drilling times) ÷ (feed rate × drilling depth × relative speed).

[0159] In some embodiments, when the processing step is a drilling step, step S420 includes steps (420.5) to (420.8).

[0160] (420.5) The processing depth and the number of drilling times are determined based on all instructions included in the drilling process.

[0161] As described above, the processing instructions and auxiliary instructions include data of corresponding specific operations.

[0162] Optionally, the numerical value of the processing depth and the numerical value of the drilling times are calculated based on the data of specific operations in all instructions included in the drilling link.

[0163] (420.6) Determine the feed rate value corresponding to the drilling process based on the machine tool feed rate and the tool feed rate.

[0164] Optionally, the feed rate corresponding to the drilling process is the sum of the machine tool feed rate and the tool feed rate.

[0165] In some embodiments, the processing parameters also include a maximum feed rate of the machine tool. According to the processing requirements of the drilling process, a value below the maximum feed rate of the machine tool is selected as the value of the machine tool feed rate.

[0166] (420.7) Determine the value of the drilling depth corresponding to the drilling step according to the drilling depth in the processing parameters.

[0167] Optionally, the numerical value of the drilling depth in the processing parameters is used as the numerical value of the drilling depth corresponding to the drilling step.

[0168] (420.8) The relative speed value is determined based on the motor shaft speed and the machine tool spindle speed.

[0169] In some implementations, when the rotation direction of the motor shaft is the same as that of the machine tool spindle, the relative rotation speed is obtained by subtracting the maximum value of the motor shaft rotation speed and the machine tool spindle rotation speed from the minimum value.

[0170] In some implementations, when the direction of rotation of the motor shaft is different from that of the machine tool spindle, the value of the relative speed is obtained by adding the values ​​of the motor shaft speed and the machine tool spindle speed.

[0171] Optionally, the processing parameters include historical processing time, and the historical processing time includes the actual processing time of each processing link executed by the processing equipment.

[0172] In some implementations, the processing time of the drilling link in the historical processing time is used as the processing time of the current drilling link.

[0173] In some embodiments, the drilling process includes other operations in addition to the drilling operation, and the processing time of the drilling process also includes other time corresponding to the other operations.

[0174] Exemplarily, the drilling process also includes a positioning operation, which is an operation of aligning the tool with the hole position on the workpiece.

[0175] In some embodiments, the preset processing time calculation formula for the drilling process is:

[0176] Processing time = (processing depth × number of drilling times) ÷ (feed rate × drilling depth × relative speed) + other time.

[0177] Optionally, the method for calculating other times in the drilling phase refers to the method for calculating other times in the cutting phase described above.

[0178] In some implementations, the time corresponding to the positioning operation of the drilling link in the historical processing time is used as the time corresponding to the current positioning operation.

[0179] In some embodiments, the multiple processing links include at least a tool changing link, a tool clamping link, and a probe link.

[0180] Tool changing refers to the process of automatically or manually changing tools when different types of tools are needed during machining. Tool clamping refers to the process of fixing the tool to the machine tool spindle or other components to ensure that the tool remains stable during machining. Probe refers to the process of using a probe (or probe) to detect the position, size or other features of the workpiece.

[0181] In some embodiments, the processing time of the tool changing link, the tool clamping link and the probe link is basically fixed, and the processing time of any one of the tool changing link, the tool clamping link and the probe link can be preset. In this way, the amount of calculation can be reduced.

[0182] In some embodiments, the processing parameters include a preset processing time for a tool changing process, a preset processing time for a tool clamping process, and a preset processing time for a probe process, and at least one calculation parameter includes a processing time parameter.

[0183] In some embodiments, step S420 includes steps (420.9) to (420.11).

[0184] (420.9) Determine the value of the corresponding processing time parameter of the tool changing link according to the preset processing time of the tool changing link.

[0185] Optionally, the preset processing time of the tool changing link is used as the value of the corresponding processing time parameter of the tool changing link.

[0186] As mentioned above, non-major processing links include tool clamping, tool changing, tool setting, positioning and rapid movement.

[0187] In some embodiments, the calculation method of the processing time of the processing links other than the tool changing link in the non-main processing links refers to the calculation method of the processing time of the tool changing link.

[0188] (420.10) Determine the value of the corresponding processing time parameter of the tool clamping link according to the preset processing time of the tool clamping link.

[0189] Optionally, the preset processing time of the tool clamping link is used as the value of the corresponding processing time parameter of the tool clamping link.

[0190] (420.11) Determine the value of the corresponding processing time parameter of the probe link according to the preset processing time of the probe link.

[0191] Optionally, the preset processing time of the probe link is used as the value of the corresponding processing time parameter of the probe link.

[0192] In some implementations, the processing time of the tool setting step is also substantially fixed, and the processing time of the tool setting step can be preset.

[0193] Optionally, the value of the corresponding processing time parameter of the tool setting link is determined according to the preset processing time of the tool setting link.

[0194] In some implementations, the moving path and moving speed of the machine tool or tool are determined according to all instructions in the rapid moving link, and the processing time corresponding to the rapid moving link is calculated according to the moving path and moving speed.

[0195] Step S430: Substitute the numerical value of the calculation parameter into the preset processing time calculation formula of the processing link to obtain the processing time of each processing link.

[0196] See also Figure 3 , Figure 3 yes Figure 1 A second detailed flow chart of step S400 in FIG. Figure 3 As shown, step S400 includes steps S440 to S460.

[0197] Step S440: Acquire historical processing data.

[0198] The historical processing data includes processing parameters and historical processing time corresponding to multiple historical processing links.

[0199] In some embodiments, historical processing data is obtained using processing equipment currently in use.

[0200] In some implementations, there may be abnormal data in the historical processing data, so data cleaning is performed on the historical processing data.

[0201] Optionally, for data with too many missing values ​​or data that has little impact on the overall analysis, choose to discard it directly.

[0202] Optionally, a statistical method (such as a method for calculating a mean or a median) or a model-based method (such as a linear regression model) is used to fill in missing values ​​in the data.

[0203] Optionally, the missing value is treated as a possible state by using the true value conversion method, which is encoded and retained in the historical processing data but in a different form.

[0204] Through the above-mentioned method, the accuracy of the historical processing data can be improved, and thus the accuracy of the processing time calculation model subsequently constructed based on the historical processing data can be improved.

[0205] Step S450: constructing a processing time calculation model based on historical processing data.

[0206] In some embodiments, the processing time calculation model is an artificial intelligence model.

[0207] Optionally, the artificial intelligence model includes a random forest model, a decision tree model, a neural network model, a long short-term memory network model, a self-attention mechanism model, a deep Q network model, and a deep deterministic policy gradient model, etc.

[0208] In some implementations, the architecture of the processing time calculation model is first constructed, and then the historical processing data is used as the training data of the processing time calculation model to train the processing time calculation model to obtain the parameters in the processing time calculation model.

[0209] Because in the actual production process, the processing parameters and the total processing time of the processing file may not be in a linear relationship, the above method can capture the nonlinear relationship between the processing parameters and the total processing time, which can further improve the accuracy of the calculated processing time.

[0210] Step S460: input the processing parameters and processing files into the processing time calculation model to calculate and obtain the processing time of each processing link.

[0211] In some implementations, in step S200, multiple processing links in the processing file have been identified, and the processing parameters and the processing file are input into the processing time calculation model. In the processing time calculation model, the processing time of each processing link is calculated and obtained according to the processing parameters.

[0212] In some embodiments, processing parameters and processing files are input into a processing time calculation model, multiple processing links in the processing files are identified in the processing time calculation model, and the processing time of each processing link is calculated and obtained according to the processing parameters.

[0213] Step S500: Calculate the sum of processing time of multiple processing links to obtain the total processing time corresponding to the processing file.

[0214] Optionally, the processing times of multiple processing links are added together to obtain the total processing time corresponding to the processing file.

[0215] In some implementations, the total processing time corresponding to the processing file may be relatively long, and the total processing time needs to be optimized before executing the processing file to improve processing efficiency.

[0216] See also Figure 4 , Figure 4 FIG. 2 is a flow chart of the second implementation method of the processing time calculation method provided in the embodiment of the present application. Figure 4 As shown, the processing time calculation method includes steps S100 to S800.

[0217] Step S100: Obtain processing files.

[0218] Step S200: Identify multiple processing links in the processing file.

[0219] Step S300: Obtain processing parameters of processing equipment.

[0220] Step S400: Calculate and obtain the processing time of each processing step according to the processing parameters.

[0221] Step S500: Calculate the sum of processing time of multiple processing links to obtain the total processing time corresponding to the processing file.

[0222] The contents of step S100 to step S500 refer to the above description.

[0223] Step S600: Optimizing processing parameters according to the total processing time corresponding to the processing file to obtain optimized processing parameters.

[0224] In some embodiments, the value of at least one processing parameter among the machine tool feed rate, tool feed rate, cutting length, motor shaft speed, machine tool spindle speed, drilling depth, cutting force and cutting speed is increased according to the total processing time corresponding to the processing file to reduce the processing time of the processing link.

[0225] In some embodiments, the cutting length and cutting force should not be too large, so over-cutting identification is performed.

[0226] Optionally, when the cutting length is greater than a first preset threshold, the cutting length is reduced to a first preset proportion of the original value of the cutting length.

[0227] Optionally, the first preset ratio is less than 95%, for example, the first preset ratio is 95%, 90%, 80% or 70%.

[0228] Optionally, when the cutting force is greater than a second preset threshold, the cutting force is reduced to a second preset proportion of the original value of the cutting force.

[0229] Optionally, the second preset ratio is less than 95%, for example, the second preset ratio is 95%, 90%, 80% or 70%.

[0230] Step S700: Calculate and obtain the optimized processing time of each processing step according to the optimized processing parameters.

[0231] Optionally, the method for calculating and obtaining the optimized processing time of each processing link in step S700 refers to the method for calculating and obtaining the processing time of each processing link in step S400.

[0232] In some implementations, the processing parameters and processing files are input into the processing time calculation model, and the processing time calculation model outputs the processing time of each processing link and the values ​​of the optimized processing parameters.

[0233] Optionally, the processing time calculation model calculates and obtains the optimized processing time of each processing link according to the values ​​of the optimized processing parameters.

[0234] In some implementations, the tooling files are optimized.

[0235] Optionally, toolpaths in the machining file are analyzed for potential conflicts.

[0236] In some embodiments, a tool-to-workpiece contact check is performed.

[0237] Optionally, the tool is analyzed at each tool position to see if there is a conflict with the workpiece, which can be achieved through NC simulation software. In this way, collisions caused by improper settings can be avoided.

[0238] In some embodiments, a tool and fixture collision check is performed.

[0239] Optionally, it is checked whether the tool will collide with the workpiece holding device in the planned tool path.

[0240] In some embodiments, a multiple toolpath intersection check is performed.

[0241] Optionally, during multi-tool machining, check whether different tool paths cross or overlap, especially during automatic tool change.

[0242] In some implementations, the processing time calculation model further outputs an optimized processing file, in which an optimized tool path is set.

[0243] Optionally, the processing time calculation model calculates and obtains the optimized processing time of each processing link according to the values ​​of the optimized processing parameters and the optimized processing files.

[0244] Step S800: Calculate the sum of the optimized processing time of multiple processing links to obtain the optimized total processing time corresponding to the processing file.

[0245] Through the above method, the total processing time can be optimized before executing the processing file, which can reduce the total processing time and improve the processing efficiency.

[0246] In summary, the processing time calculation method provided in the embodiment of the present application has the following advantages:

[0247] 1. By calculating and obtaining the processing time of each processing link according to the processing parameters, the accuracy of the calculated processing time can be improved compared with the method of calculating the corresponding processing time only according to the processing file.

[0248] 2. Because the processing parameters corresponding to each processing link are different, by identifying multiple processing links in the processing file, the processing time of each processing link can be calculated separately. Compared with the method of calculating the corresponding processing time according to the entire processing file, the accuracy of the calculated processing time can be improved.

[0249] 3. Because in the actual production process, the total processing time of the processing parameters and the processing files may not be in a linear relationship, by constructing a processing time calculation model based on historical processing data, the nonlinear relationship between the processing parameters and the total processing time can be captured, which can further improve the accuracy of the calculated processing time.

[0250] 4. By optimizing the total processing time before executing the processing file, the total processing time can be reduced and the processing efficiency can be improved.

[0251] See also Figure 5 , Figure 5 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 As shown, the electronic device 400 includes: one or more processors 410 and a memory 420, Figure 5 A processor 410 is taken as an example.

[0252] In some implementations, the processor 410 and the memory 420 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.

[0253] In some embodiments, the processor 410 is used to identify multiple processing links in a processing file; obtain processing parameters of a processing device; calculate and obtain the processing time of each processing link based on the processing parameters; calculate the sum of the processing time of multiple processing links to obtain the total processing time corresponding to the processing file.

[0254] In some embodiments, the memory 420 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules of the processing time calculation method in the embodiment of the present application. The processor 410 executes various functional applications and data processing of the electronic device 400 by running the non-volatile software programs, instructions and modules stored in the memory 420, that is, the processing time calculation method of the above method embodiment is implemented.

[0255] In some embodiments, the memory 420 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device 400, etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 420 may optionally include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the controller via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0256] In some embodiments, one or more modules are stored in the memory 420, and when executed by one or more processors 410, the processing time calculation method in any of the above method embodiments is executed, for example, the processing time calculation method described above is executed. Figure 1 The method comprises steps S100 to S500.

[0257] Please refer to Figure 6 , Figure 6 The computer-readable storage medium 500 stores a program code 510, which can be called by a processor to execute the processing time calculation method described in the above method embodiment.

[0258] The computer readable storage medium 500 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk or a ROM. Optionally, the computer readable storage medium includes a non-transitory computer readable storage medium. The computer readable storage medium 500 has a storage space for program codes for executing any method steps in the above-mentioned processing time calculation method. These program codes can be read from or written into one or more computer program products. The program code can be compressed, for example, in an appropriate form.

[0259] In summary, the present application provides a processing time calculation method, an electronic device, and a storage medium. The processing time calculation method includes obtaining a processing file; identifying multiple processing links in the processing file; obtaining processing parameters of the processing equipment; calculating and obtaining the processing time of each processing link according to the processing parameters; calculating the sum of the processing time of multiple processing links to obtain the total processing time corresponding to the processing file. The present application calculates and obtains the processing time of each processing link according to the processing parameters, which can improve the accuracy of the calculated processing time compared to the method of only calculating the corresponding processing time according to the processing file.

[0260] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for calculating processing time, characterized in that: include: Get processing files; Identifying multiple processing links in the processing file; Obtain processing parameters of processing equipment; Calculate and obtain the processing time of each processing link according to the processing parameters; The sum of the processing time of the multiple processing links is calculated to obtain the total processing time corresponding to the processing file.

2. The processing time calculation method according to claim 1, characterized in that: The processing file includes processing instructions and auxiliary instructions, and each processing link includes at least one of the processing instructions and the auxiliary instructions; The identifying of multiple processing links in the processing file includes: Identify the processing instruction according to the processing instruction identifier in the processing file; Identify the auxiliary instruction according to the auxiliary instruction identifier in the processing file; The processing steps in the processing file are identified according to the processing instructions and the auxiliary instructions.

3. The processing time calculation method according to claim 1, characterized in that: The step of calculating and obtaining the processing time of each processing step according to the processing parameters includes: Obtaining a preset processing time calculation formula for each of the processing steps, wherein each of the preset processing time calculation formulas includes at least one calculation parameter; Calculating the value of the calculation parameter corresponding to each of the processing steps according to the processing parameters; Substitute the numerical value of the calculation parameter into the preset processing time calculation formula of the processing link to obtain the processing time of each processing link.

4. The processing time calculation method according to claim 3, characterized in that: The processing parameters include at least one of a machine tool feed rate, a tool feed rate, a cutting length, a motor shaft speed, and a machine tool spindle speed, and the multiple processing steps include at least a cutting step and a drilling step.

5. The processing time calculation method according to claim 4, characterized in that: The calculation parameters corresponding to the cutting link include processing length, number of cutting times, feed rate, cutting length and relative rotation speed. The calculation of the value of the calculation parameter corresponding to each processing link according to the processing parameters includes: When the processing step is the cutting step, the value of the processing length and the value of the number of cutting times are determined according to all instructions included in the cutting step; Determining a value of a feed rate corresponding to the cutting link according to the machine tool feed rate and the tool feed rate; Determine the value of the cutting length corresponding to the cutting link according to the cutting length in the processing parameters; The value of the relative speed is determined according to the motor shaft speed and the machine tool spindle speed.

6. The processing time calculation method according to claim 3, characterized in that: The multiple processing links at least include a tool changing link, a tool clamping link and a probe link, the processing parameters include a preset processing time of the tool changing link, a preset processing time of the tool clamping link and a preset processing time of the probe link, and the at least one calculation parameter includes a processing time parameter; Calculating the value of the calculation parameter corresponding to each processing link according to the processing parameter includes: Determine the value of the corresponding processing time parameter of the tool changing link according to the preset processing time of the tool changing link; Determine the value of the corresponding processing time parameter of the tool clamping link according to the preset processing time of the tool clamping link; The value of the corresponding processing time parameter of the probe link is determined according to the preset processing time of the probe link.

7. The processing time calculation method according to claim 1, characterized in that: The step of calculating and obtaining the processing time of each processing step according to the processing parameters includes: Acquiring historical processing data, wherein the historical processing data includes processing parameters and historical processing time corresponding to a plurality of historical processing links; constructing a processing time calculation model according to the historical processing data; The processing parameters and the processing files are input into the processing time calculation model to calculate and obtain the processing time of each processing link.

8. The processing time calculation method according to claim 1, characterized in that: After calculating the sum of the processing time of the plurality of processing links to obtain the total processing time corresponding to the processing file, the method further includes: Optimizing the processing parameters according to the total processing time corresponding to the processing file to obtain optimized processing parameters; Calculating and obtaining the optimized processing time of each processing step according to the optimized processing parameters; The sum of the optimized processing times of the multiple processing links is calculated to obtain the optimized total processing time corresponding to the processing file.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the processing time calculation method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an executable program, and the executable program is executed by a processor to implement the processing time calculation method according to any one of claims 1 to 8.

Citation Information

Cited By

  • False tooth processing method and device, false tooth carving machine and storage medium

    CN119655914A

  • A denture processing method, device, dental engraving machine and storage medium

    CN119655914B