Workpiece milling method, device, computer device and storage medium
Through simulation experiments and parameter adjustments, the target CNC parameters and milling cutter parameters were determined, which solved the problem of poor machining quality caused by reliance on experience in traditional workpiece milling, and achieved higher machining accuracy and milling cutter life.
Patent Information
- Application Number
- CN202311465116.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-06
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2043-11-06
AI Technical Summary
In traditional workpiece milling, the setting of CNC parameters relies on the experience of milling engineers, resulting in poor milling quality.
By acquiring initial CNC parameters and initial milling cutter parameters, a milling simulation test is conducted on a simulated workpiece to be milled until the preset thickness range is reached. The surface flatness and milling cutter wear are obtained, and adjustments are made based on these parameters to determine the target CNC parameters and target milling cutter parameters for actual milling of the workpiece.
It improves the accuracy and consistency of milling quality, ensures that the surface flatness and thickness of the workpiece after milling meet the preset standards, and reduces milling cutter wear.
Smart Images

Figure CN117283021B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of numerical control, in particular to a workpiece milling method and device, computer equipment and storage medium. BACKGROUND
[0002] In the workpiece machining process, milling is one of the commonly used machining methods. Milling is to control the milling cutter to mill the actual workpiece to be milled through the numerical control parameters of the numerical control machine tool, so the numerical control parameters will affect the machining quality of the actual workpiece to be milled.
[0003] In the traditional technology, the numerical control parameters are often set by the experience of the milling engineer, and the numerical control parameters corresponding to different workpieces may not be the same, resulting in the problem of poor milling machining quality. SUMMARY
[0004] Therefore, it is necessary to provide a workpiece milling method and device, computer equipment and storage medium capable of improving the milling machining quality in view of the above technical problems.
[0005] In a first aspect, the present application provides a workpiece milling method, comprising:
[0006] obtaining initial numerical control parameters and initial milling cutter parameters; wherein the initial numerical control parameters are used to indicate the milling manner of the simulated workpiece to be milled;
[0007] based on the initial numerical control parameters and the initial milling cutter parameters, performing a milling simulation test on the simulated workpiece to be milled until the workpiece after milling reaches a preset thickness size range;
[0008] obtaining the surface flatness and thickness size of the workpiece after milling reaching the preset thickness size range, and the milling cutter wear degree;
[0009] based on the surface flatness, the thickness size and the milling cutter wear degree, adjusting the initial numerical control parameters and the initial milling cutter parameters to determine target numerical control parameters and target milling cutter parameters;
[0010] using the target milling cutter parameters to determine a target milling cutter, and using the target numerical control parameters and the target milling cutter to mill the actual workpiece to be milled.
[0011] In one embodiment, the initial numerical control parameters include at least one of feed power, cutting edge entry angle or workpiece clamping force, wherein the feed power is used to control the milling speed of the milling of the simulated workpiece to be milled; and the initial milling cutter parameters include at least one of milling cutter diameter or milling cutter material.
[0012] In one embodiment, adjusting the initial CNC parameters and the initial milling cutter parameters based on the surface flatness, the thickness dimension, and the milling cutter wear, to determine the target CNC parameters and the target milling cutter parameters, includes:
[0013] If any of the parameters, such as surface flatness, thickness, or cutter wear, fails to meet the preset standard range, the initial CNC parameters and the initial cutter parameters are adjusted. The adjusted CNC parameters and the adjusted cutter parameters are used to repeatedly perform milling simulation tests on the simulated workpiece until the surface flatness, thickness, and cutter wear all meet the preset standard range. The final adjusted CNC parameters are then used as the target CNC parameters, and the final adjusted cutter parameters are used as the target cutter parameters.
[0014] In one embodiment, adjusting the initial CNC parameters when any one of the parameters—surface flatness, thickness, or milling cutter wear—does not reach a preset standard range includes:
[0015] If any of the parameters, such as surface flatness, thickness, or milling cutter wear, does not reach the preset standard range, the corresponding initial CNC parameters are adjusted based on at least one of the first, second, third, or fourth mapping relationships.
[0016] In one embodiment, the acquisition methods of the first mapping relationship, the second mapping relationship, the third mapping relationship, and the fourth mapping relationship include:
[0017] During a historical time period, the sample workpiece to be milled is milled to obtain the relationship between the historical cutting edge entry angle and the historical thickness dimension, which is used as the first mapping relationship;
[0018] Obtain the relationship between historical workpiece clamping force and historical thickness dimension as a second mapping relationship;
[0019] Obtain the relationship between historical feed power and historical cutter wear as a third mapping relationship;
[0020] Obtain the relationship between the historical cutting edge entry angle and the historical surface flatness as the fourth mapping relationship.
[0021] In one embodiment, before determining the target milling cutter using the target milling cutter parameters, the process includes:
[0022] Display the target CNC parameters and the target milling cutter parameters and issue a confirmation command;
[0023] Upon receiving a confirmation instruction, the steps of determining the target milling cutter using the target milling cutter parameters and milling the actual workpiece using the target CNC parameters and the target milling cutter are executed.
[0024] Secondly, this application also provides a workpiece milling apparatus, comprising:
[0025] An initial parameter acquisition module is used to acquire initial CNC parameters and initial milling cutter parameters; wherein, the initial CNC parameters are used to indicate the milling method for the simulated workpiece to be milled;
[0026] The simulation test module is used to perform a milling simulation test on the simulated workpiece to be milled based on the initial CNC parameters and the initial milling cutter parameters until the workpiece reaches the preset thickness range after milling.
[0027] The post-milling parameter acquisition module is used to acquire the surface flatness and thickness of the milled workpiece within the preset thickness range, as well as the milling cutter wear.
[0028] The target parameter determination module is used to adjust the initial CNC parameters and the initial milling cutter parameters based on the surface flatness, the thickness dimension, and the milling cutter wear degree, and to determine the target CNC parameters and the target milling cutter parameters;
[0029] The actual milling module is used to determine the target milling cutter using the target milling cutter parameters, and to mill the actual workpiece to be milled using the target CNC parameters and the target milling cutter.
[0030] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of any of the methods described above.
[0031] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of any of the methods described above.
[0032] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of any of the methods described above.
[0033] The aforementioned workpiece milling method, apparatus, computer equipment, and storage medium, through initial CNC parameters and initial milling cutter parameters used to indicate the milling method for the simulated workpiece, conduct milling simulation tests on the simulated workpiece until the milled workpiece reaches a preset thickness range. Based on the surface flatness and thickness of the milled workpiece within the preset thickness range, as well as the milling cutter wear, the initial CNC parameters and initial milling cutter parameters are adjusted to determine target CNC parameters and target milling cutter parameters. The target milling cutter parameters are then used to determine the target milling cutter, and the actual workpiece is milled using the target CNC parameters and target milling cutter. Compared to the problem of poor milling quality caused by relying on the experience of milling engineers to set CNC parameters in traditional technologies, this application, through milling simulation tests, considers parameters that affect milling quality, such as the surface flatness, thickness, and milling cutter wear of the milled workpiece, and adjusts the initial CNC parameters and initial milling cutter parameters to determine the target CNC parameters and target milling cutter parameters. This results in higher accuracy and ensures the quality of milling the actual workpiece. Attached Figure Description
[0034] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0035] Figure 1 This is a flowchart illustrating the workpiece milling method provided in the embodiments of this application;
[0036] Figure 2 This is a schematic diagram of the process for obtaining the mapping relationship in one embodiment;
[0037] Figure 3 This is a structural block diagram of a workpiece milling device provided in the embodiments of this application;
[0038] Figure 4 This is an internal structural diagram of a computer device provided in an embodiment of this application. Detailed Implementation
[0039] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0040] In this embodiment, a workpiece milling method is provided. This embodiment uses the application of this method to a computer device as an example for illustration. It can be understood that this method can also be applied to a server, and can also be applied to a system including a computer device and a server, and can be implemented through the interaction between the computer device and the server.
[0041] Figure 1 This is a flowchart illustrating the workpiece milling method provided in an embodiment of this application. The method is applied in a computer device. In one embodiment, such as... Figure 1 As shown, it includes the following steps:
[0042] S101, obtain initial CNC parameters and initial milling cutter parameters; wherein, the initial CNC parameters are used to indicate the method of milling the simulated workpiece.
[0043] Initial milling cutter parameters are used to determine the milling cutter used to mill the simulated workpiece.
[0044] S102, based on the initial CNC parameters and initial milling cutter parameters, performs a milling simulation test on the simulated workpiece to be milled until the workpiece reaches the preset thickness range after milling.
[0045] S103, obtain the surface flatness and thickness of the milled workpiece within the preset thickness range, as well as the milling cutter wear.
[0046] The surface flatness of the milled workpiece is defined as the maximum absolute distance from all points on the workpiece surface to the reference plane. The thickness dimension of the milled workpiece includes at least one of its length, width, height, or radius. The cutter wear indicator is used to indicate the degree of wear on the milling cutter.
[0047] In some embodiments, the wear of the milling cutter can be obtained by acquiring images of the milling cutter before and after use, or by directly detecting the milling cutter using a tool setter; the specific method is not limited.
[0048] S104, based on surface flatness, thickness, and milling cutter wear, adjusts the initial CNC parameters and initial milling cutter parameters to determine the target CNC parameters and target milling cutter parameters.
[0049] S105, determine the target milling cutter using the target milling cutter parameters, and use the target CNC parameters and the target milling cutter to mill the actual workpiece to be milled.
[0050] The actual workpiece to be milled and the simulated workpiece to be milled belong to the same category.
[0051] The workpiece milling method provided in this embodiment uses initial CNC parameters and initial milling cutter parameters to indicate the milling method for a simulated workpiece. A milling simulation experiment is conducted on the simulated workpiece until it reaches a preset thickness range. Based on the surface flatness and thickness of the milled workpiece within the preset thickness range, as well as the milling cutter wear, the initial CNC parameters and initial milling cutter parameters are adjusted to determine target CNC parameters and target milling cutter parameters. The target milling cutter parameters are then used to determine the target milling cutter, and the actual workpiece is milled using these target CNC parameters and the target milling cutter. Compared to traditional techniques that rely on the experience of milling engineers to set CNC parameters, resulting in poor milling quality, this embodiment, through milling simulation experiments, considers parameters affecting milling quality such as the surface flatness, thickness, and milling cutter wear of the milled workpiece. Adjusting the initial CNC parameters and initial milling cutter parameters to determine the target CNC parameters and target milling cutter parameters results in higher accuracy and ensures the quality of milling the actual workpiece.
[0052] In one embodiment, the initial CNC parameters include at least one of feed power, cutting edge angle, or workpiece clamping force, wherein the feed power is used to control the milling speed of the simulated workpiece to be milled; the initial milling cutter parameters include at least one of milling cutter diameter or milling cutter material.
[0053] The cutting edge angle is the angle between the milling cutter and the simulated workpiece surface. The workpiece clamping force is the compressive pressure exerted on the simulated workpiece to hold it in place. The milling cutter material includes at least one of high-speed tool steel or cemented carbide.
[0054] In this embodiment, the initial CNC parameters and initial milling cutter parameters are specifically elaborated. The parameters considered are both concise and comprehensive, which improves the efficiency of determining the target CNC parameters and target milling cutter parameters.
[0055] In one embodiment, based on surface flatness, thickness, and cutter wear, initial CNC parameters and initial cutter parameters are adjusted to determine target CNC parameters and target cutter parameters, including:
[0056] If any parameter, such as surface flatness, thickness, or cutter wear, fails to meet the preset standard range, the initial CNC parameters and initial cutter parameters are adjusted. The adjusted CNC parameters and cutter parameters are then used to repeatedly perform milling simulation tests on the simulated workpiece until the surface flatness, thickness, and cutter wear all meet the preset standard range. The final adjusted CNC parameters are then used as the target CNC parameters, and the final adjusted cutter parameters are used as the target cutter parameters.
[0057] Specifically, the preset standard range corresponding to the thickness dimension is more precise than the preset thickness dimension range.
[0058] In some embodiments, if any parameter among surface flatness, thickness, or milling cutter wear does not reach a preset standard range, the initial CNC parameters and initial milling cutter parameters are adjusted, including:
[0059] The initial CNC parameters and initial milling cutter parameters are given a certain range. The milling simulation test is carried out starting from the minimum value in the range. The initial CNC parameters and initial milling cutter parameters are adjusted by continuously increasing them.
[0060] It should be understood that there are no restrictions on how the initial CNC parameters and initial milling cutter parameters are adjusted.
[0061] In this embodiment, considering both the quality issues of the milled workpiece and the wear issues of the milling cutter, the determined target CNC parameters and target milling cutter parameters are used to mill the actual workpiece to be milled, thereby improving the milling quality.
[0062] In one embodiment, if any parameter among surface flatness, thickness, or milling cutter wear does not meet a preset standard range, the initial CNC parameters are adjusted, including:
[0063] If any parameter, such as surface flatness, thickness, or milling cutter wear, fails to meet the preset standard range, the corresponding initial CNC parameters are adjusted based on at least one of the first, second, third, or fourth mapping relationships.
[0064] In this embodiment, adjusting the corresponding initial CNC parameters based on at least one of the first, second, third, or fourth mapping relationships can improve the efficiency of adjusting the initial CNC parameters.
[0065] In one embodiment, the methods for obtaining the first, second, third, and fourth mapping relationships are elaborated. Specifically, a flowchart illustrating the process of obtaining the mapping relationships is shown below. Figure 2 As shown, it includes the following:
[0066] S201, during a historical time period, the sample workpiece to be milled is milled to obtain the relationship between the historical cutting edge entry angle and the historical thickness dimension, which is used as the first mapping relationship.
[0067] The sample workpiece to be milled and the simulated workpiece to be milled belong to the same category.
[0068] S202, obtain the relationship between historical workpiece clamping force and historical thickness dimension, as the second mapping relationship.
[0069] S203, obtain the relationship between historical feed power and historical milling cutter wear as the third mapping relationship.
[0070] S204, obtain the relationship between the historical cutting edge entry angle and the historical surface flatness, as the fourth mapping relationship.
[0071] In this embodiment, based on the historical milling data of the sample workpiece to be milled, a relationship is established between three parameters—surface flatness, thickness, and milling cutter wear—and CNC parameters. This relationship is used to adjust the initial CNC parameters, ensuring the accuracy and efficiency of parameter adjustment.
[0072] In one embodiment, before determining the target milling cutter using the target milling cutter parameters, the following steps are included:
[0073] Display the target CNC parameters and target milling cutter parameters and issue a confirmation command;
[0074] Upon receiving a confirmation instruction, the steps are as follows: determine the target milling cutter using the target milling cutter parameters, and then use the target CNC parameters and the target milling cutter to mill the actual workpiece.
[0075] It is worth noting that there can be more than one target CNC parameter and one target milling cutter parameter.
[0076] In this embodiment, confirming the target CNC parameters and the target milling cutter parameters can avoid directly performing the milling step on the actual workpiece to be milled, thus avoiding the consumption of the actual workpiece to be milled. Adding a confirmation step further improves the quality of milling.
[0077] Here, the workpiece milling method provided in this application is described in detail by way of a specific embodiment, including the following implementation process:
[0078] Obtain initial CNC parameters and initial milling cutter parameters; wherein, the initial CNC parameters include at least one of feed power, cutting edge angle of entry, or workpiece clamping force, and the initial milling cutter parameters include at least one of milling cutter diameter or milling cutter material; specifically, the feed power is used to control the milling speed of the simulated workpiece, the cutting edge angle of entry is the angle between the milling cutter and the surface of the simulated workpiece, the workpiece clamping force is the squeezing pressure on the simulated workpiece when fixing it, and the milling cutter material includes at least one of high-speed tool steel or cemented carbide.
[0079] Based on the initial CNC parameters and initial milling cutter parameters, a milling simulation test is conducted on the simulated workpiece to be milled until the workpiece reaches the preset thickness range after milling.
[0080] The system obtains the surface flatness and thickness of the milled workpiece within a preset thickness range, as well as the milling cutter wear. If any parameter, including surface flatness, thickness, or milling cutter wear, fails to meet the preset standard range, the initial milling cutter parameters are adjusted. Furthermore, the corresponding initial CNC parameters are adjusted based on at least one of the first, second, third, or fourth mapping relationships. The adjusted CNC parameters and milling cutter parameters are used to repeatedly perform milling simulation tests on the simulated workpiece until the surface flatness, thickness, and milling cutter wear all reach the preset standard range. The final adjusted CNC parameters are then used as the target CNC parameters, and the final adjusted milling cutter parameters are used as the target milling cutter parameters.
[0081] Specifically, the first, second, third, and fourth mapping relationships can be obtained in advance. The methods for obtaining these relationships include: milling the sample workpiece during a historical time period and obtaining the relationship between the historical cutting edge angle and the historical thickness dimension as the first mapping relationship; obtaining the relationship between the historical workpiece clamping force and the historical thickness dimension as the second mapping relationship; obtaining the relationship between the historical feed power and the historical milling cutter wear as the third mapping relationship; and obtaining the relationship between the historical cutting edge angle and the historical surface flatness as the fourth mapping relationship.
[0082] Display the target CNC parameters and target milling cutter parameters and issue a confirmation command; determine whether to perform climb milling or conventional milling on the actual workpiece to be milled, and select the appropriate parameters from the target CNC parameters and target milling cutter parameters for confirmation;
[0083] Upon receiving a confirmation instruction, the target milling cutter is determined using the target milling cutter parameters, and the actual workpiece to be milled is milled using the target CNC parameters and the target milling cutter.
[0084] Specifically, the simulated workpiece to be milled, the sample workpiece to be milled, and the actual workpiece to be milled belong to the same category.
[0085] The workpiece milling method provided in this application determines the target CNC parameters and target milling cutter parameters through milling simulation experiments, and applies them to the actual milling process of the workpiece to be milled, so as to avoid factors that may affect the milling quality and ensure the quality of milling.
[0086] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0087] Based on the same inventive concept, this application also provides a workpiece milling apparatus for implementing the workpiece milling method described above. The solution provided by this apparatus is similar to the solution described in the above method; therefore, the specific limitations in one or more workpiece milling apparatus embodiments provided below can be found in the limitations of the workpiece milling method described above, and will not be repeated here.
[0088] See Figure 3 , Figure 3 This is a structural block diagram of a workpiece milling apparatus provided in an embodiment of this application. The apparatus 300 includes: an initial parameter acquisition module 301, a simulation test module 302, a post-milling parameter acquisition module 303, a target parameter determination module 304, and an actual milling module 305, wherein:
[0089] The initial parameter acquisition module 301 is used to acquire initial CNC parameters and initial milling cutter parameters; wherein, the initial CNC parameters are used to indicate the method of milling the simulated workpiece.
[0090] The simulation test module 302 is used to conduct a milling simulation test on the simulated workpiece to be milled based on the initial CNC parameters and the initial milling cutter parameters until the workpiece reaches the preset thickness range after milling.
[0091] The post-milling parameter acquisition module 303 is used to acquire the surface flatness and thickness of the milled workpiece, as well as the milling cutter wear, of the milled workpiece within a preset thickness range.
[0092] The target parameter determination module 304 is used to adjust the initial CNC parameters and initial milling cutter parameters based on surface flatness, thickness, and milling cutter wear, and to determine the target CNC parameters and target milling cutter parameters.
[0093] The actual milling module 305 is used to determine the target milling cutter using the target milling cutter parameters, and to mill the actual workpiece using the target CNC parameters and the target milling cutter.
[0094] The workpiece milling apparatus provided in this embodiment uses initial CNC parameters and initial milling cutter parameters to indicate the milling method for a simulated workpiece. A milling simulation test is conducted on the simulated workpiece until it reaches a preset thickness range. Based on the surface flatness and thickness of the milled workpiece within the preset thickness range, as well as the milling cutter wear, the initial CNC parameters and initial milling cutter parameters are adjusted to determine target CNC parameters and target milling cutter parameters. The target milling cutter is then used to determine the target milling cutter, and the actual workpiece is milled using these target CNC parameters and the target milling cutter. Compared to traditional technologies where relying on the milling engineer's experience to set CNC parameters leads to poor milling quality, this embodiment, through milling simulation tests, considers parameters affecting milling quality such as the surface flatness, thickness, and milling cutter wear of the milled workpiece. The resulting target CNC parameters and target milling cutter parameters are more accurate and ensure the quality of milling the actual workpiece.
[0095] Optionally, the initial CNC parameters include at least one of feed power, cutting edge angle, or workpiece clamping force, wherein the feed power is used to control the milling speed of the simulated workpiece to be milled; the initial milling cutter parameters include at least one of milling cutter diameter or milling cutter material.
[0096] Optionally, the target parameter determination module 304 includes:
[0097] The target parameter determination unit is used to adjust the initial CNC parameters and initial milling cutter parameters when any parameter, such as surface flatness, thickness, or milling cutter wear, fails to meet the preset standard range. The adjusted CNC parameters and milling cutter parameters are then used to repeatedly perform milling simulation tests on the simulated workpiece until the surface flatness, thickness, and milling cutter wear all meet the preset standard range. The final adjusted CNC parameters are then used as the target CNC parameters, and the final adjusted milling cutter parameters are used as the target milling cutter parameters.
[0098] Optionally, the target parameter determination unit includes:
[0099] The initial parameter adjustment subunit is used to adjust the corresponding initial CNC parameters based on at least one of the first, second, third, or fourth mapping relationships when any parameter, such as surface flatness, thickness, or milling cutter wear, fails to meet the preset standard range.
[0100] Optionally, the target parameter determination unit may further include:
[0101] The first mapping relationship determination sub-unit is used to mill the sample workpiece to be milled in a historical time period and obtain the relationship between the historical cutting edge entry angle and the historical thickness dimension as the first mapping relationship;
[0102] The second mapping relationship determination sub-unit is used to obtain the relationship between historical workpiece clamping force and historical thickness dimension, which serves as the second mapping relationship.
[0103] The third mapping relationship determination sub-unit is used to obtain the relationship between historical feed power and historical milling cutter wear, which serves as the third mapping relationship.
[0104] The fourth mapping relationship determination sub-unit is used to obtain the relationship between the historical cutting edge entry angle and the historical surface flatness, which serves as the fourth mapping relationship.
[0105] Optionally, the device 300 also includes:
[0106] The target parameter confirmation module is used to display the target CNC parameters and target milling cutter parameters and to issue a confirmation command.
[0107] The execution module is used to execute the following steps upon receiving a confirmation instruction: determining the target milling cutter using the target milling cutter parameters, and milling the actual workpiece using the target CNC parameters and the target milling cutter.
[0108] Each module in the aforementioned workpiece milling device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0109] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 4As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a workpiece milling method. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0110] Those skilled in the art will understand that Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0111] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps of the workpiece milling method provided in the above embodiment.
[0112] Obtain initial CNC parameters and initial milling cutter parameters; wherein, the initial CNC parameters are used to indicate the milling method for the simulated workpiece to be milled;
[0113] Based on the initial CNC parameters and initial milling cutter parameters, a milling simulation test is conducted on the simulated workpiece to be milled until the workpiece reaches the preset thickness range after milling.
[0114] Obtain the surface flatness and thickness of the milled workpiece within a preset thickness range, as well as the wear of the milling cutter;
[0115] Based on surface flatness, thickness, and milling cutter wear, the initial CNC parameters and initial milling cutter parameters are adjusted to determine the target CNC parameters and target milling cutter parameters;
[0116] The target milling cutter is determined using the target milling cutter parameters, and the actual workpiece to be milled is milled using the target CNC parameters and the target milling cutter.
[0117] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0118] The initial CNC parameters include at least one of the following: feed power, cutting edge angle, or workpiece clamping force, wherein the feed power is used to control the milling speed of the simulated workpiece to be milled; the initial milling cutter parameters include at least one of the following: milling cutter diameter or milling cutter material.
[0119] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0120] If any parameter, such as surface flatness, thickness, or cutter wear, fails to meet the preset standard range, the initial CNC parameters and initial cutter parameters are adjusted. The adjusted CNC parameters and cutter parameters are then used to repeatedly perform milling simulation tests on the simulated workpiece until the surface flatness, thickness, and cutter wear all meet the preset standard range. The final adjusted CNC parameters are then used as the target CNC parameters, and the final adjusted cutter parameters are used as the target cutter parameters.
[0121] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0122] If any parameter, such as surface flatness, thickness, or milling cutter wear, fails to meet the preset standard range, the corresponding initial CNC parameters are adjusted based on at least one of the first, second, third, or fourth mapping relationships.
[0123] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0124] During a historical time period, the sample workpiece to be milled is milled to obtain the relationship between the historical cutting edge entry angle and the historical thickness dimension, which is used as the first mapping relationship;
[0125] Obtain the relationship between historical workpiece clamping force and historical thickness dimension as a second mapping relationship;
[0126] Obtain the relationship between historical feed power and historical cutter wear as a third mapping relationship;
[0127] Obtain the relationship between the historical cutting edge entry angle and the historical surface flatness as the fourth mapping relationship.
[0128] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0129] Display the target CNC parameters and target milling cutter parameters and issue a confirmation command;
[0130] Upon receiving a confirmation instruction, the steps are as follows: determine the target milling cutter using the target milling cutter parameters, and then use the target CNC parameters and the target milling cutter to mill the actual workpiece.
[0131] The implementation principle and technical effects of the above embodiments are similar to those of the above method embodiments, and will not be repeated here.
[0132] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the workpiece milling method provided in the above embodiment:
[0133] Obtain initial CNC parameters and initial milling cutter parameters; wherein, the initial CNC parameters are used to indicate the milling method for the simulated workpiece to be milled;
[0134] Based on the initial CNC parameters and initial milling cutter parameters, a milling simulation test is conducted on the simulated workpiece to be milled until the workpiece reaches the preset thickness range after milling.
[0135] Obtain the surface flatness and thickness of the milled workpiece within a preset thickness range, as well as the wear of the milling cutter;
[0136] Based on surface flatness, thickness, and milling cutter wear, the initial CNC parameters and initial milling cutter parameters are adjusted to determine the target CNC parameters and target milling cutter parameters;
[0137] The target milling cutter is determined using the target milling cutter parameters, and the actual workpiece to be milled is milled using the target CNC parameters and the target milling cutter.
[0138] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0139] The initial CNC parameters include at least one of the following: feed power, cutting edge angle, or workpiece clamping force, wherein the feed power is used to control the milling speed of the simulated workpiece to be milled; the initial milling cutter parameters include at least one of the following: milling cutter diameter or milling cutter material.
[0140] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0141] If any parameter, such as surface flatness, thickness, or cutter wear, fails to meet the preset standard range, the initial CNC parameters and initial cutter parameters are adjusted. The adjusted CNC parameters and cutter parameters are then used to repeatedly perform milling simulation tests on the simulated workpiece until the surface flatness, thickness, and cutter wear all meet the preset standard range. The final adjusted CNC parameters are then used as the target CNC parameters, and the final adjusted cutter parameters are used as the target cutter parameters.
[0142] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0143] If any parameter, such as surface flatness, thickness, or milling cutter wear, fails to meet the preset standard range, the corresponding initial CNC parameters are adjusted based on at least one of the first, second, third, or fourth mapping relationships.
[0144] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0145] During a historical time period, the sample workpiece to be milled is milled to obtain the relationship between the historical cutting edge entry angle and the historical thickness dimension, which is used as the first mapping relationship;
[0146] Obtain the relationship between historical workpiece clamping force and historical thickness dimension as a second mapping relationship;
[0147] Obtain the relationship between historical feed power and historical cutter wear as a third mapping relationship;
[0148] Obtain the relationship between the historical cutting edge entry angle and the historical surface flatness as the fourth mapping relationship.
[0149] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0150] Display the target CNC parameters and target milling cutter parameters and issue a confirmation command;
[0151] Upon receiving a confirmation instruction, the steps are as follows: determine the target milling cutter using the target milling cutter parameters, and then use the target CNC parameters and the target milling cutter to mill the actual workpiece.
[0152] The implementation principle and technical effects of the above embodiments are similar to those of the above method embodiments, and will not be repeated here.
[0153] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the workpiece milling method provided in the above embodiment:
[0154] Obtain initial CNC parameters and initial milling cutter parameters; wherein, the initial CNC parameters are used to indicate the milling method for the simulated workpiece to be milled;
[0155] Based on the initial CNC parameters and initial milling cutter parameters, a milling simulation test is conducted on the simulated workpiece to be milled until the workpiece reaches the preset thickness range after milling.
[0156] Obtain the surface flatness and thickness of the milled workpiece within a preset thickness range, as well as the wear of the milling cutter;
[0157] Based on surface flatness, thickness, and milling cutter wear, the initial CNC parameters and initial milling cutter parameters are adjusted to determine the target CNC parameters and target milling cutter parameters;
[0158] The target milling cutter is determined using the target milling cutter parameters, and the actual workpiece to be milled is milled using the target CNC parameters and the target milling cutter.
[0159] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0160] The initial CNC parameters include at least one of the following: feed power, cutting edge angle, or workpiece clamping force, wherein the feed power is used to control the milling speed of the simulated workpiece to be milled; the initial milling cutter parameters include at least one of the following: milling cutter diameter or milling cutter material.
[0161] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0162] If any parameter, such as surface flatness, thickness, or cutter wear, fails to meet the preset standard range, the initial CNC parameters and initial cutter parameters are adjusted. The adjusted CNC parameters and cutter parameters are then used to repeatedly perform milling simulation tests on the simulated workpiece until the surface flatness, thickness, and cutter wear all meet the preset standard range. The final adjusted CNC parameters are then used as the target CNC parameters, and the final adjusted cutter parameters are used as the target cutter parameters.
[0163] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0164] If any parameter, such as surface flatness, thickness, or milling cutter wear, fails to meet the preset standard range, the corresponding initial CNC parameters are adjusted based on at least one of the first, second, third, or fourth mapping relationships.
[0165] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0166] During a historical time period, the sample workpiece to be milled is milled to obtain the relationship between the historical cutting edge entry angle and the historical thickness dimension, which is used as the first mapping relationship;
[0167] Obtain the relationship between historical workpiece clamping force and historical thickness dimension as a second mapping relationship;
[0168] Obtain the relationship between historical feed power and historical cutter wear as a third mapping relationship;
[0169] Obtain the relationship between the historical cutting edge entry angle and the historical surface flatness as the fourth mapping relationship.
[0170] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0171] Display the target CNC parameters and target milling cutter parameters and issue a confirmation command;
[0172] Upon receiving a confirmation instruction, the steps are as follows: determine the target milling cutter using the target milling cutter parameters, and then use the target CNC parameters and the target milling cutter to mill the actual workpiece.
[0173] The implementation principle and technical effects of the above embodiments are similar to those of the above method embodiments, and will not be repeated here.
[0174] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0175] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0176] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A workpiece milling method, characterized in that, The method includes: Obtain initial CNC parameters and initial milling cutter parameters; wherein, the initial CNC parameters are used to indicate the milling method for the simulated workpiece to be milled; Based on the initial CNC parameters and the initial milling cutter parameters, a milling simulation test is performed on the simulated workpiece to be milled until the workpiece reaches the preset thickness range after milling. Obtain the surface flatness and thickness of the milled workpiece within the preset thickness range, as well as the milling cutter wear. Based on the surface flatness, the thickness dimension, and the milling cutter wear, the initial CNC parameters and the initial milling cutter parameters are adjusted to determine the target CNC parameters and the target milling cutter parameters; The target milling cutter is determined using the target milling cutter parameters, and the actual workpiece to be milled is milled using the target CNC parameters and the target milling cutter. The initial CNC parameters include at least one of feed power, cutting edge angle, or workpiece clamping force, wherein the feed power is used to control the milling speed of the simulated workpiece to be milled; the initial milling cutter parameters include at least one of milling cutter diameter or milling cutter material; The process of adjusting the initial CNC parameters and the initial milling cutter parameters based on the surface flatness, the thickness dimension, and the milling cutter wear degree to determine the target CNC parameters and the target milling cutter parameters includes: If any of the parameters, such as surface flatness, thickness, or cutter wear, fails to reach the preset standard range, the initial CNC parameters and the initial cutter parameters are adjusted. The adjusted CNC parameters and the adjusted cutter parameters are used to repeatedly perform milling simulation tests on the simulated workpiece until the surface flatness, thickness, and cutter wear all reach the preset standard range. The final adjusted CNC parameters are then used as the target CNC parameters, and the final adjusted cutter parameters are used as the target cutter parameters. When any one of the parameters—surface flatness, thickness, or milling cutter wear—fails to meet a preset standard range, the initial CNC parameters are adjusted, including: If any parameter among the surface flatness, thickness, or milling cutter wear does not reach a preset standard range, the corresponding initial CNC parameters are adjusted based on at least one of the first, second, third, or fourth mapping relationships; the methods for obtaining the first, second, third, and fourth mapping relationships include: During a historical time period, the sample workpiece to be milled is milled to obtain the relationship between the historical cutting edge entry angle and the historical thickness dimension, which is used as the first mapping relationship; Obtain the relationship between historical workpiece clamping force and historical thickness dimension as a second mapping relationship; Obtain the relationship between historical feed power and historical cutter wear as a third mapping relationship; Obtain the relationship between the historical cutting edge entry angle and the historical surface flatness as the fourth mapping relationship.
2. The method according to claim 1, characterized in that, Before determining the target milling cutter using the target milling cutter parameters, the process includes: Display the target CNC parameters and the target milling cutter parameters and issue a confirmation command; Upon receiving a confirmation instruction, the steps of determining the target milling cutter using the target milling cutter parameters and milling the actual workpiece using the target CNC parameters and the target milling cutter are executed.
3. The method according to claim 1, characterized in that, The sample workpiece to be milled is of the same type as the simulated workpiece to be milled.
4. The method according to claim 1, characterized in that, There is more than one target CNC parameter and one target milling cutter parameter.
5. The method according to claim 1, characterized in that, The milling cutter material includes at least one of high-speed tool steel or cemented carbide.
6. A workpiece milling device, characterized in that, The device includes: An initial parameter acquisition module is used to acquire initial CNC parameters and initial milling cutter parameters; wherein, the initial CNC parameters are used to indicate the milling method for the simulated workpiece to be milled; The simulation test module is used to perform a milling simulation test on the simulated workpiece to be milled based on the initial CNC parameters and the initial milling cutter parameters until the workpiece reaches the preset thickness range after milling. The post-milling parameter acquisition module is used to acquire the surface flatness and thickness of the milled workpiece within the preset thickness range, as well as the milling cutter wear. The target parameter determination module is used to adjust the initial CNC parameters and the initial milling cutter parameters based on the surface flatness, the thickness dimension, and the milling cutter wear degree, and to determine the target CNC parameters and the target milling cutter parameters; The actual milling module is used to determine the target milling cutter using the target milling cutter parameters, and to mill the actual workpiece to be milled using the target CNC parameters and the target milling cutter. The initial CNC parameters include at least one of feed power, cutting edge angle, or workpiece clamping force, wherein the feed power is used to control the milling speed of the simulated workpiece to be milled; the initial milling cutter parameters include at least one of milling cutter diameter or milling cutter material; The target parameter determination module includes: The target parameter determination unit is used to adjust the initial CNC parameters and the initial milling cutter parameters when any one of the parameters, namely the surface flatness, the thickness, or the milling cutter wear, fails to reach the preset standard range. The adjusted CNC parameters and milling cutter parameters are then used to repeatedly perform milling simulation tests on the simulated workpiece until the surface flatness, thickness, and milling cutter wear all reach the preset standard range. Finally, the adjusted CNC parameters are used as the target CNC parameters, and the adjusted milling cutter parameters are used as the target milling cutter parameters. The target parameter determination unit includes: The initial parameter adjustment subunit is used to adjust the corresponding initial CNC parameters based on at least one of the following mapping relationships: a first mapping relationship, a second mapping relationship, a third mapping relationship, or a fourth mapping relationship, when any of the parameters of surface flatness, thickness dimension, or milling cutter wear degree fails to reach the preset standard range. The target parameter determination unit further includes: The first mapping relationship determination sub-unit is used to mill the sample workpiece to be milled in a historical time period and obtain the relationship between the historical cutting edge entry angle and the historical thickness dimension as the first mapping relationship; The second mapping relationship determination sub-unit is used to obtain the relationship between historical workpiece clamping force and historical thickness dimension, which serves as the second mapping relationship. The third mapping relationship determination sub-unit is used to obtain the relationship between historical feed power and historical milling cutter wear, which serves as the third mapping relationship. The fourth mapping relationship determination sub-unit is used to obtain the relationship between the historical cutting edge entry angle and the historical surface flatness, which serves as the fourth mapping relationship.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Machining center control system
CN116673750A
Turn-milling numerical control machining control method and system and storage medium
CN116880360A
Optimum machining apparatus and optimum machining method
JP2006102843A