Mold processing method
Patent Information
- Application Number
- CN202311014793.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-11
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2043-08-11
AI Technical Summary
[0004]鉴于此,本申请提供一种模具加工方法,以解决现有模具加工方案的曲面精密度低的问题
[0009]在本申请实施例提供的模具加工方法中,考虑到刀具磨损及加工刀具在曲面的不同切削位置切削不均衡对模具加工精度的影响较大,本方案基于加工刀具在待加工模具的不同切削位置的切屑长度与切屑宽度,确定出加工刀具在不同切削位置的刀具路径间距,使得加工刀具在不同切削位置的切削状态均衡。并基于预先确定的磨损变化关系确定出加工刀具在不同的切削长度对应的动态磨损补偿参数,通过不同的切削长度对应的动态磨损补偿参数对加工刀具在模具加工过程中的磨损进行动态补偿,从而减少刀具磨损。本方案通过减少刀具磨损及使得加工刀具在不同切削位置切削均衡,从而提高模具加工精度。
Smart Images

Figure CN117234152B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of manufacturing technology, and in particular to a mold processing method. Background Technology
[0002] With continuous technological advancements and increasingly stringent market demands for product quality, many industries have higher requirements for mold processing precision. For example, products in fields such as aerospace, medical devices, and electronic equipment require higher precision to ensure their performance and reliability.
[0003] In mold processing, surface machining is a common processing method. However, the precision of the surface obtained by existing mold processing methods is not high, resulting in low precision of the processed molds, which cannot meet the industry's high-quality requirements for molds. Summary of the Invention
[0004] In view of this, this application provides a mold processing method to solve the problem of low surface precision in existing mold processing solutions.
[0005] A first aspect of this application provides a mold processing method, the mold processing method comprising: determining a processing tool corresponding to the target mold based on a drawing of the target mold; obtaining processing parameters of the processing tool, the processing parameters including cutting balance parameters and dynamic wear compensation parameters, wherein obtaining the processing parameters of the processing tool includes: determining the tool path spacing in the cutting balance parameters based on the chip length and chip width of the processing tool at the cutting position of the mold to be processed; determining the dynamic wear compensation parameters of the processing tool corresponding to different cutting lengths based on a predetermined wear change relationship; and controlling the processing tool to process the mold to be processed according to the processing parameters to obtain the target mold.
[0006] A second aspect of this application provides a mold processing apparatus, comprising: a determining module for determining a processing tool corresponding to the target mold based on a drawing of the target mold; an acquiring module for acquiring processing parameters of the processing tool, the processing parameters including cutting balance parameters and dynamic wear compensation parameters, wherein acquiring the processing parameters of the processing tool includes: determining the tool path spacing in the cutting balance parameters based on the chip length and chip width of the processing tool at the cutting position of the mold to be processed; and determining the dynamic wear compensation parameters of the processing tool corresponding to different cutting lengths based on a predetermined wear change relationship; and a control module for controlling the processing tool to process the mold to be processed according to the processing parameters to obtain the target mold.
[0007] A third aspect of this application provides an electronic device, the electronic device including a memory and a processor, the processor being configured to execute computer-readable instructions stored in the memory to implement the above-described mold processing method.
[0008] A fourth aspect of this application provides a computer-readable storage medium storing computer-readable instructions that, when executed by a processor, implement the above-described mold processing method.
[0009] In the mold processing method provided in this application embodiment, considering the significant impact of tool wear and uneven cutting at different cutting positions on the curved surface on the mold processing accuracy, this solution determines the toolpath spacing at different cutting positions based on the chip length and chip width of the tool at different cutting positions on the mold to be processed, thereby ensuring a balanced cutting state of the tool at different cutting positions. Furthermore, based on a predetermined wear variation relationship, dynamic wear compensation parameters corresponding to different cutting lengths of the tool are determined. These dynamic wear compensation parameters dynamically compensate for the wear of the tool during the mold processing, thereby reducing tool wear. This solution improves mold processing accuracy by reducing tool wear and ensuring balanced cutting at different cutting positions. Attached Figure Description
[0010] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the 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.
[0011] Figure 1 This is an application scenario diagram of the mold processing method provided in the embodiments of this application;
[0012] Figure 2 This is an example diagram illustrating an application scenario of the mold processing method provided in the embodiments of this application;
[0013] Figure 3 This is a flowchart illustrating the implementation of the mold processing method provided in the embodiments of this application;
[0014] Figure 4 This is an example diagram of a tool machining path provided in an embodiment of this application;
[0015] Figure 5 This is an example diagram showing the cutting angle of the machining tool at different cutting positions according to the embodiments of this application;
[0016] Figure 6This is an example diagram of the cutting angle of the machining tool in a straight cutting position provided in the embodiments of this application;
[0017] Figure 7 This is an example diagram of the cutting angle of the machining tool at the fillet cutting position provided in the embodiments of this application;
[0018] Figure 8 This is an example diagram of the cutting angle of a machining tool at a fillet cutting position according to another embodiment of this application;
[0019] Figure 9 This is an example diagram of toolpath spacing provided in the embodiments of this application;
[0020] Figure 10 This is an example diagram of the tool cutting path when the tool wear is not compensated, provided in the embodiments of this application;
[0021] Figure 11 This is an example diagram illustrating the wear variation relationship provided in the embodiments of this application;
[0022] Figure 12 This is an example diagram of the tool cutting path after tool wear compensation provided in the embodiments of this application;
[0023] Figure 13 This is an example diagram of mold processing provided in an embodiment of this application;
[0024] Figure 14 This is another example diagram of mold processing provided in the embodiments of this application;
[0025] Figure 15 This is an example diagram of a program processing path design provided in an embodiment of this application;
[0026] Figure 16 This is another example diagram of a program processing path design provided in the embodiments of this application;
[0027] Figure 17 This is an example flowchart illustrating the implementation process of the mold processing method provided in this application embodiment;
[0028] Figure 18 This is a schematic diagram of the mold processing device provided in the embodiments of this application;
[0029] Figure 19 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0030] It should be noted that the terms "first" and "second" in the specification, claims, and drawings of this application are used to distinguish similar objects, not to describe a specific order or sequence. They should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.
[0031] Furthermore, the terms “comprising” and “having”, and any variations thereof, are intended to cover non-exclusive inclusion, such that a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such process, method, product, or apparatus.
[0032] It should also be noted that the methods disclosed in the embodiments of this application or the methods shown in the flowcharts include one or more steps for implementing the method. Without departing from the scope of the claims, the execution order of multiple steps can be interchanged, and some steps can also be deleted.
[0033] Some embodiments will now be described with reference to the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0034] Please see Figure 1 The diagram shown illustrates an application scenario of the mold processing method provided in this embodiment. Figure 1 As shown, the electronic device 100 is communicatively connected to the CNC machine tool 200. The CNC machine tool 200 and the machining tool 300 can be connected via a tool holder, tool clamp, etc.
[0035] In some embodiments, after determining the target mold, the user can import the target mold's drawing file into the electronic device 100 and trigger a machining command for the target mold. Upon receiving the machining command triggered by the user and the target mold's drawing file, the electronic device 100 determines the corresponding machining tool 300 based on the drawing file and determines the machining parameters of the machining tool 300. For example, the machining parameters may include cutting balance parameters and dynamic wear compensation parameters. Then, the electronic device 100 can invoke Computer-Aided Manufacturing (CAM) technology to design a program path for mold machining according to the determined machining parameters and send the designed program path to the CNC machine tool 200. After receiving the program path sent by the electronic device 100, the CNC machine tool 200 controls the machining tool 300 to machine the mold according to the program path, thereby obtaining the target mold.
[0036] In some embodiments, the electronic device 100 and the CNC machine tool 200 can establish a communication connection via wired or wireless connection (e.g., Bluetooth, Wi-Fi, or other wireless communication technologies) to achieve communication between the electronic device 100 and the CNC machine tool 200. The electronic device 100 includes, but is not limited to, a computer, laptop, desktop computer, or similar devices. For example, by configuring and enabling a Bluetooth module in the CNC machine tool 200 and enabling the Bluetooth function of the electronic device 100, the user can scan for connectable Bluetooth devices in the vicinity using the electronic device 100. When the ID name of the CNC machine tool 200 is detected, the user can select that ID name to establish a Bluetooth connection between the electronic device 100 and the CNC machine tool 200.
[0037] In some embodiments, after the electronic device 100 establishes a communication connection with the CNC machine tool 200, the electronic device 100 can send control commands to the CNC machine tool 200 to remotely control and manage the machining parameters (e.g., cutting position, cutting speed, feed rate, etc.) and machining status of the machining tool 300. It can also convert machining requirements and tool machining paths into CNC commands and send them to the CNC machine tool 200. Upon receiving the CNC commands, the CNC machine tool 200 controls the machining tool 300 to perform mold machining according to the machining requirements and tool machining paths.
[0038] In some embodiments, the CNC machine tool 200 may be equipped with a tool sensor, through which the CNC machine tool 200 communicates with the machining tool 300. The CNC machine tool 200 can monitor the status and position of the machining tool 300 through the tool sensor, thereby achieving control and management of the machining tool 300.
[0039] In mold making, surface machining is a common machining method. Please refer to... Figure 2 The diagram shown is an example of an application scenario for the mold processing method provided in this application embodiment. Figure 2 As shown, the mold 400 to be processed includes a curved surface processing area. During mold processing, the electronic device 100 controls the processing tool 300 to process along the curved surface processing area of the mold to be processed in order to obtain the target mold or the mold core part of the target mold. Among them, the mold 400 to be processed includes a stamping die.
[0040] Please see Figure 3 The diagram shown is a flowchart illustrating the implementation of the mold processing method provided in this application embodiment, demonstrating the application of this method in... Figure 1 The following steps are used as an example to illustrate the process of using electronic devices in a computer.
[0041] S11: Based on the target mold drawing, determine the corresponding machining tool for the target mold.
[0042] In some embodiments, the target mold drawing file includes a three-dimensional drawing file of the target mold, and records information such as processing materials, processing methods, processing accuracy requirements, and processing conditions.
[0043] In some embodiments, the machining tools required vary depending on the material, method, precision requirements, and conditions of the target mold. For example, a sharper tool is needed for materials with high hardness; a planar tool can be used for machining methods requiring planar surfaces; a high-precision tool is required for high-precision machining; and special tools are needed for mold machining under conditions such as high temperature, high pressure, and high speed. Therefore, when machining a target mold, the electronic device can analyze the target mold's drawing file to obtain machining information such as the 3D drawing, material, method, precision requirements, and conditions. Based on this information, a suitable tool can be selected to improve the efficiency and precision of mold machining.
[0044] In some embodiments, the user can pre-design the target mold drawing and then import it into the electronic device. Upon receiving the imported drawing, the electronic device can parse it to obtain the target mold's 3D model, machining requirements, and other machining information, understanding the target mold's geometry, dimensions, and machining needs. Based on this information, the electronic device selects appropriate machining tools.
[0045] In some embodiments, if the current machining tool cannot meet the machining requirements of the target mold, a suitable tool model can be created using computer-aided design (CAD). Then, based on the created tool adaptation model, machining tools adapted to the target mold can be manufactured using data processing equipment or the like.
[0046] In other embodiments, the user can also select a suitable machining tool based on the drawing of the target mold.
[0047] S12: Obtain the machining parameters of the machining tool, including the cutting balance parameters. Obtaining the machining parameters of the machining tool includes: determining the tool path spacing in the cutting balance parameters based on the chip length and chip width of the machining tool at the cutting position of the mold to be machined.
[0048] In some embodiments, the machining parameters of the machining tool may include machining speed, depth of cut, feed rate, tool profile error, cutting balance parameters, and dynamic wear compensation parameters. The mold to be machined may be a semi-finished product of a target mold. The mold to be machined has a curved surface machining area. The machining tool performs surface machining along the curved surface machining area. The cutting balance parameters are used to characterize the parameters that ensure the machining tool experiences balanced forces at various cutting positions on the mold to be machined. The cutting balance parameters include the toolpath spacing, which can be the spacing between adjacent tool machining paths.
[0049] In some embodiments, the electronic device can use the cutting arc length corresponding to the cutting angle of the cutting tool at any cutting position in different views of the machining of the mold to be machined as the chip length or chip width. For example, the electronic device can use the cutting arc length corresponding to the cutting angle of the cutting tool at any cutting position in the top view of the machining of the mold to be machined as the chip length of the cutting tool at that cutting position; and use the cutting arc length corresponding to the cutting angle of the cutting tool at any cutting position in the side view of the machining of the mold to be machined as the chip width of the cutting tool at that cutting position. The embodiments of this application do not limit the form of the values for chip length and chip width. For example, the chip width can also be the cutting arc length corresponding to the cutting angle in the front view of the cutting tool.
[0050] In some embodiments, the projected length corresponding to the chip width is equal to the value of the toolpath spacing.
[0051] During mold machining along the curved surface of the mold to be machined, the curvature of the surface varies at different cutting positions. Consequently, the cutting contact area between the cutting tool and the cutting layer also varies at different cutting positions, which may lead to uneven force on the cutting tool at different cutting positions in the curved surface machining area. For example, the cutting tool may experience uneven force at straight cutting positions and fillet cutting positions in the curved surface machining area. If the cutting tool experiences uneven force at different cutting positions in the curved surface machining area, it may result in uneven tolerances at various cutting positions of the machined surface, leading to poor surface quality or large dimensional deviations of the machined surface, thus reducing the precision of the mold. Therefore, ensuring balanced force on the cutting tool at different cutting positions in the curved surface machining area is crucial for improving mold precision. In some embodiments, the cutting contact area of the cutting tool at any cutting position is the product of the chip length and chip width at that cutting position.
[0052] In some embodiments, for the same machining tool, the force exerted by the tool at the cutting position in the curved surface machining area is positively correlated with the cutting contact area at that position. That is, the larger the contact area between the tool and the cutting layer at the cutting position, the greater the distribution of the same cutting force over a larger area, resulting in a larger cutting force per unit area and a greater force on the tool at that cutting position; conversely, the smaller the contact area, the smaller the distribution of the same cutting force over a smaller area, resulting in a smaller cutting force per unit area and a smaller force on the tool at that cutting position. Therefore, by adjusting the cutting contact area between the tool and the cutting layer, the force exerted on the tool at different cutting positions in the curved surface machining area can be made more balanced.
[0053] In some embodiments, the electronic device can adjust the toolpath spacing corresponding to each cutting position based on the chip length and chip width of the machining tool at each cutting position in the curved surface machining area, thereby adjusting the cutting contact area of the machining tool at each cutting position and ensuring that the machining tool is subjected to balanced forces at different cutting positions in the curved surface machining area. When the machining tool is subjected to balanced forces at different cutting positions in the curved surface machining area, the toolpath spacing corresponding to each cutting position is used as the cutting balance parameter when the machining tool performs curved surface machining in the curved surface machining area.
[0054] In some embodiments, when a machining tool performs surface machining along a curved surface machining area, the tool cutting contact area corresponding to different cutting positions in the curved surface machining area is related to the curvature of the curved surface machining area. For example, the greater the curvature of the surface at the cutting position, the smaller the tool cutting contact area at that cutting position; conversely, the smaller the curvature of the surface at the cutting position, the larger the tool cutting contact area at that cutting position. In other embodiments, different relationships may also exist. During surface machining, the difference in tool cutting contact area corresponding to different cutting positions in the curved surface machining area is mainly reflected in the difference between the tool cutting contact area at straight cutting positions and at rounded corner cutting positions. For example, the surface curvature at straight cutting positions is smaller, resulting in a larger tool cutting contact area and greater force on the tool; the surface curvature at rounded corner cutting positions is smaller, resulting in a larger tool cutting contact area and less force on the tool. Therefore, adjusting the cutting contact area of the machining tool at each cutting position ensures that the machining tool is subjected to balanced forces at different cutting positions in the curved surface machining area. This mainly involves adjusting the cutting contact area of the machining tool at the straight cutting position and at the rounded corner cutting position, so that the machining tool is subjected to balanced forces at the straight cutting position and at the rounded corner cutting position in the curved surface machining area.
[0055] In some embodiments, the electronic device can adjust the cutting contact area of the machining tool at the straight cutting position and the rounded corner cutting position by adjusting the tool path spacing corresponding to the straight cutting position and the rounded corner cutting position, thereby balancing the force on the machining tool at the straight cutting position and the rounded corner cutting position in the curved surface machining area and improving the surface precision of the mold.
[0056] As an example, please refer to Figure 4 The diagram shown is an example of a tool machining path provided in an embodiment of this application. The guide line serves as a guide for the tool machining path, and the tool machining path can be generated based on the shape of the guide line. Figure 4 As shown, the guide line-driven tool machining path is presented in the form of a spiral track, and the tool path spacing between the straight cutting position and the fillet cutting position in the curved surface machining area is equal. At this time, in the top view of the tool cutting, the tool cutting envelope angles at the straight cutting position and the fillet cutting position are as follows: Figure 5 As shown, the cutting angle of the machining tool in the fillet cutting position is smaller than that of the machining tool in the straight cutting position.
[0057] Obviously, in this case, since the toolpath spacing between the straight cutting position and the fillet cutting position in the curved surface machining area is the same, and the projected length corresponding to the chip width is equal to the value of the toolpath spacing, the chip width of the machining tool in the straight cutting position and the fillet cutting position in the curved surface machining area is the same. Because... Figure 5 As shown in the top view of the machining tool during the machining of the mold, the tool cutting envelope angle is different in the straight cutting position and the rounded cutting position, and the corresponding cutting arc length is different. Therefore, the chip length is different in the straight cutting position and the rounded cutting position. Furthermore, since the tool cutting contact area at any cutting position is the product of the chip length and the chip width at that position, the tool cutting contact area is not the same in the straight cutting position and the rounded cutting position. In this case, the chip width at the straight cutting position and the rounded cutting position can be adjusted, that is, the tool path spacing can be adjusted, to make the tool cutting contact area the same in the straight cutting position and the rounded cutting position. This achieves balanced cutting in the straight cutting position and the rounded cutting position, improving the precision of the machined surface.
[0058] In some embodiments of this application, determining the toolpath spacing in the cutting balance parameters based on the chip length and chip width of the cutting tool at the cutting position of the mold to be processed includes: calculating the first cutting contact area of the cutting tool at the straight cutting position based on the first chip length and the first chip width of the cutting tool at the straight cutting position of the mold to be processed; calculating the second cutting contact area of the cutting tool at the rounded corner cutting position based on the second chip length and the second chip width of the cutting tool at the rounded corner cutting position of the mold to be processed; when the first cutting contact area and the second cutting contact area are equal, determining the first toolpath spacing corresponding to the straight cutting position based on the first chip width; and determining the second toolpath spacing corresponding to the rounded corner cutting position based on the second chip width.
[0059] In some embodiments, during surface machining, the force or cutting of the cutting tool is uneven at different cutting positions in the surface machining area, mainly manifested in the different cutting contact areas of the cutting tool at different cutting positions in the surface machining area. The difference in cutting contact areas of the cutting tool at different cutting positions in the surface machining area is mainly reflected in the difference between the cutting contact areas of the cutting tool at straight cutting positions and at rounded cutting positions. Therefore, electronic equipment can determine whether the cutting is balanced during surface machining by judging whether the cutting contact areas of the cutting tool at straight cutting positions are the same as those at rounded cutting positions.
[0060] Based on the above embodiments, the electronic device records the chip length of the machining tool at the straight cutting position as the first chip length, the chip width of the machining tool at the straight cutting position as the first chip width, and the cutting contact area of the machining tool at the straight cutting position as the first cutting contact area. The electronic device records the chip length of the machining tool at the rounded corner cutting position as the second chip length, the chip width of the machining tool at the rounded corner cutting position as the second chip width, and the cutting contact area of the machining tool at the rounded corner cutting position as the second cutting contact area. The first cutting contact area is the product of the first chip length and the first chip width at the straight cutting position of the machining tool in the curved surface machining area of the mold to be machined. The first cutting contact area is the product of the first chip length and the second chip width at the straight cutting position of the machining tool in the mold to be machined. When the first cutting contact area and the second cutting contact area are determined to be equal, the electronic device determines that the machining tool achieves balanced cutting during the curved surface machining process. At this point, the electronic device determines the toolpath spacing corresponding to the first chip width as the first toolpath spacing corresponding to the straight cutting position, and determines the toolpath spacing corresponding to the second chip width as the second toolpath spacing corresponding to the fillet cutting position. The first toolpath spacing and the second toolpath spacing then constitute the cutting balance parameters of the machining tool.
[0061] In other embodiments, the electronic device can also determine whether the cutting is balanced during surface machining by judging whether the cutting contact area of the cutting tool at each cutting position in the surface machining area of the mold to be machined is the same. When it is determined that the cutting contact area of the cutting tool at each cutting position in the surface machining area of the mold to be machined is the same, it is determined that the cutting is balanced during surface machining. When it is determined that the cutting contact area of the cutting tool at any two cutting positions in the surface machining area of the mold to be machined is different, it is determined that the cutting is unbalanced during surface machining. When it is determined that the cutting contact area of the cutting tool at each cutting position in the surface machining area of the mold to be machined is the same, the toolpath spacing corresponding to each cutting position is used as the cutting balance parameter of the cutting tool.
[0062] In some embodiments of this application, the mold processing method further includes obtaining a tool cutting view based on the drawing and the tool parameters of the processing tool; when the tool cutting view is a first preset view, the cutting arc length corresponding to the first tool cutting envelope angle of the processing tool at the straight cutting position is taken as the first chip length of the processing tool at the straight cutting position; when the tool cutting view is a second preset view, the cutting arc length corresponding to the second tool cutting envelope angle of the processing tool at the straight cutting position is taken as the first chip width of the processing tool at the straight cutting position, and the projected length of the cutting arc length corresponding to the second tool cutting envelope angle is the first tool path spacing.
[0063] In some embodiments, the tool cutting view refers to the view of the machining tool and the curved surface when the machining tool is performing surface machining on the mold to be machined, including but not limited to the front view, top view, and side view. The first preset view can be a top view, and the second preset view can be a side view, front view, etc. The first preset view and the second preset view are different. When the first preset view is a top view, the first tool cutting wrap angle of the machining tool at the straight cutting position can be the cutting edge inclination angle of the machining tool. When the second preset view is a side view or a front view, the second tool cutting wrap angle of the machining tool at the straight cutting position can be the principal cutting edge angle of the machining tool.
[0064] In some embodiments, after the electronic device identifies the machining tool corresponding to the target mold, it can acquire the tool parameters of the machining tool, such as the rake angle, clearance angle, and principal cutting edge angle. Then, based on the machining requirements and conditions recorded in the target mold's drawing file and the tool parameters of the machining tool, the electronic device determines a suitable cutting method (e.g., longitudinal cutting, transverse cutting, side cutting, etc.). Then, through CAM design, different tool cutting views are obtained, and the tool cutting wrap angle of the machining tool under different tool cutting views is obtained.
[0065] In some embodiments, the electronic device can calculate the cutting contact area of the machining tool at any cutting position by acquiring the cutting arc length corresponding to the tool cutting wrap angle at any cutting position in different tool cutting views.
[0066] As an example, please refer to Figure 6 The figure shown is an example diagram of the cutting angle of the machining tool in a straight cutting position provided in the embodiment of this application. Figure 6 In this context, the first preset view is a top view, and the second preset view is a side view. For example... Figure 6 As shown, when the machining tool performs surface machining on the layer to be cut in the straight cutting position, the electronic device can take the cutting arc length L1 corresponding to the first cutting angle of the machining tool in the straight cutting position in the top view as the first chip length of the machining tool in the straight cutting position, and take the cutting arc length L2 corresponding to the second cutting angle of the machining tool in the straight cutting position in the side view as the first chip width of the machining tool in the straight cutting position. The product of the cutting arc length L1 and the cutting arc length L2 is taken as the cutting contact area of the machining tool in the straight cutting position.
[0067] In some embodiments, Figure 6 In the side view, L3 represents the first toolpath spacing of the machining tool in the straight cutting position. For example... Figure 6 As shown, L3 is the projected length of the cutting arc length L2 corresponding to the cutting wrap angle of the second tool. Therefore, the electronic device can use the projected length of the cutting arc length L2 corresponding to the cutting wrap angle of the second tool as the first tool path spacing of the machining tool in the straight cutting position.
[0068] In some embodiments of this application, when the tool cutting view is a first preset view, the cutting arc length corresponding to the third tool cutting corner at the rounded corner cutting position is taken as the second chip length of the tool at the rounded corner cutting position; when the tool cutting view is a second preset view, the cutting arc length corresponding to the fourth tool cutting corner at the rounded corner cutting position is taken as the second chip width of the tool at the rounded corner cutting position, and the projected length of the cutting arc length corresponding to the fourth tool cutting corner is taken as the second tool path spacing.
[0069] In some embodiments, when the first preset view is a top view, the third cutting angle of the machining tool at the fillet cutting position can be the cutting edge inclination angle of the machining tool. When the second preset view is a side view or a front view, the fourth cutting angle of the machining tool at the fillet cutting position can be the principal cutting edge angle of the machining tool.
[0070] In some embodiments, when the machining tool performs surface machining at a straight cutting position, the first chip length and the second chip length are defined based on the tool path spacing. When the machining tool performs surface machining at a rounded corner cutting position, the electronic device can use the cutting arc length corresponding to the third cutting angle of the machining tool at the rounded corner cutting position as the second chip length of the machining tool at the rounded corner cutting position when the tool cutting view is a first preset view; use the cutting arc length corresponding to the fourth cutting angle of the machining tool at the rounded corner cutting position as the second chip width of the machining tool at the rounded corner cutting position when the tool cutting view is a second preset view; and use the projected length of the cutting arc length corresponding to the fourth cutting angle of the machining tool at the rounded corner cutting position as the second tool path spacing of the tool at the rounded corner cutting position.
[0071] In some embodiments, the electronic device can obtain the second cutting contact area of the tool at the rounded corner cutting position by calculating the product of the second chip length and the second chip width of the tool at the rounded corner cutting position.
[0072] In some embodiments, the electronic device may set the first preset view as a top view and the second preset view as a side view. See also Figure 7 The diagram shown is an example of the cutting angle of the machining tool at the fillet cutting position provided in this application embodiment. Figure 7 As shown, the diagram illustrates a top view (as the first preset view) and a side view (as the second preset view) of the machining tool performing surface machining on the layer to be cut of the mold at the fillet cutting position. Figure 7 As shown, in the first preset view, S1 is the cutting arc length corresponding to the third cutting angle, which is also the second chip length of the machining tool at the rounded corner cutting position. S2 is the cutting arc length corresponding to the fourth cutting angle, which is also the second chip width of the machining tool at the rounded corner cutting position. S3 is the projected length corresponding to S2, which is also the second toolpath spacing of the machining tool at the rounded corner cutting position. In this case, the electronic device can calculate the cutting contact area of the machining tool at the rounded corner cutting position by calculating the product of S1 and S2.
[0073] In some embodiments of this application, when it is determined that the first cutting contact area and the second cutting contact area are not equal, the first chip width and / or the second chip width are adjusted so that the first cutting contact area is equal to the second cutting contact area, thereby obtaining the adjusted first chip width and / or the adjusted second chip width; the first toolpath spacing is adjusted according to the adjusted first chip width, thereby obtaining the adjusted first toolpath spacing; and / or the second toolpath spacing is adjusted according to the adjusted second chip width, thereby obtaining the adjusted second toolpath spacing.
[0074] In some embodiments, when the tool cutting view is a side view or a front view, the second cutting angle of the machining tool in the straight cutting position and the fourth cutting angle of the machining tool in the rounded corner cutting position have a significant impact on the cutting force of the machining tool. When the tool cutting view is a top view, the first cutting angle of the machining tool in the straight cutting position and the third cutting angle of the machining tool in the rounded corner cutting position have a smaller impact on the cutting force of the machining tool. Therefore, the electronic device can preferentially choose to adjust the size of the second cutting angle or the fourth cutting angle of the machining tool in the side view or the front view, that is, adjust the size of the second cutting angle or the fourth cutting angle of the machining tool in the straight cutting position or the rounded corner cutting position in the second preset view, to achieve force balance of the machining tool in the straight cutting position and the rounded corner cutting position, so as to avoid uneven tolerance of the machining tool in the straight cutting position and the rounded corner cutting position, thereby improving the surface precision in the mold processing process.
[0075] In some embodiments, the electronic device can adjust the second cutting angle of the machining tool by adjusting the first chip width of the machining tool in the straight cutting position. Similarly, the electronic device can adjust the fourth cutting angle of the machining tool by adjusting the second chip width of the machining tool. Therefore, when it is determined that the first cutting contact area and the second cutting contact area are not equal, the electronic device can achieve force balance of the machining tool in the straight cutting position and the fillet cutting position by adjusting the first chip width and / or the second chip width.
[0076] In some embodiments, in order to balance the force on the cutting tool in the straight cutting position and the rounded cutting position, the first cutting contact area of the cutting tool in the straight cutting position must be equal to the second cutting contact area of the cutting tool in the rounded cutting position. Therefore, when it is determined that the first cutting contact area and the second cutting contact area are not equal, the electronic device can adjust the first chip width and / or the second chip width to make the first cutting contact area equal to the second cutting contact area, so as to achieve the balance of force on the cutting tool in the straight cutting position and the rounded cutting position.
[0077] In some embodiments, since the first tool cutting path spacing is the projected length corresponding to the first chip width and the second tool path spacing is the projected length corresponding to the second chip width, after adjusting the first chip width, the first tool cutting path spacing needs to be adjusted accordingly to obtain the adjusted first machining path spacing; similarly, after adjusting the second chip width, the second tool cutting path spacing needs to be adjusted accordingly to obtain the adjusted second machining path spacing.
[0078] As an example, please refer to Figures 6 to 8As shown, during the surface machining process of the cutting tool along the curved surface of the mold to be machined, in order to determine the cutting balance parameters of the cutting tool, the electronic device uses Computer-Aided Manufacturing (CAM) technology to draw the cutting views of the cutting tool in the straight cutting position and the rounded cutting position, and measures the first chip length L1 and the first chip width L2 of the cutting tool in the straight cutting position, and the second chip length S1 and the second chip width S2 of the cutting tool in the rounded cutting position. Specifically, the first chip length L1 of the cutting tool in the straight cutting position is greater than the second chip length S1 of the cutting tool in the rounded cutting position, and the first chip width S1 of the cutting tool in the straight cutting position is equal to the second chip width S2 of the cutting tool in the rounded cutting position. The electronic device calculates that the first cutting contact area L1*L2 of the machining tool in the straight cutting position is not equal to the second cutting contact area S1*S2 of the machining tool in the rounded cutting position, based on the first chip length L1, the first chip width L2, the second chip length S1, and the second chip width S2. This indicates an imbalance in cutting between the straight and rounded cutting positions. To ensure balanced cutting, the electronic device increases the second chip width S2 based on the first and second cutting contact areas L1*L2 and S1*S2, resulting in an increased second chip width S21. This increased chip width can be calculated using the formula S21 = L1*L2 / S1. Since the second toolpath spacing S3 of the machining tool in the rounded cutting position changes with the second chip width S2, that is, when the second chip width S2 is increased, the second toolpath spacing S3 also increases. Therefore, if... Figure 8 As shown, after determining the value of the increased second chip width S21, the electronic device can also measure the value of the increased second toolpath spacing S31, and locally adjust the second toolpath spacing of the machining tool at the fillet cutting position according to the value of the increased second toolpath spacing S31.
[0079] As an example, after increasing the second chip width S2 to achieve balanced cutting by the machining tool, the first toolpath spacing L3 of the machining tool in the straight cutting position and the second toolpath spacing S31 of the machining tool in the fillet cutting position are as follows: Figure 9 As shown. Figure 9 As shown, when the cutting of the machining tool is balanced, the first tool path spacing L3 of the machining tool in the straight cutting position and the second tool path spacing S31 of the machining tool in the rounded corner cutting position are not equal.
[0080] In some embodiments, the electronic device can adjust the second toolpath spacing S3 by calling CAM to adjust the spacing of the guide lines at the fillet cutting position.
[0081] In other embodiments, to ensure balanced cutting by the machining tool, the electronic device can further reduce the first chip width L2 based on the first cutting contact area L1*L2 and the second cutting contact area S1*S2, so that the first cutting contact area L1*L2 and the second cutting contact area S1*S2 result in a reduced first chip width L21 (not shown in the figure). The reduced first chip width L21 can be calculated using the formula L21 = S1*S2 / L1.
[0082] In other embodiments, to ensure balanced cutting by the machining tool, the electronic device can simultaneously adjust the first chip width L2 and the second chip width S2 based on the first cutting contact area L1*L2 and the second cutting contact area S1*S2, so that the first cutting contact area L1*L2 and the second cutting contact area S1*S2 result in adjusted first chip width L20 and adjusted second chip width S20. The adjusted first chip width L20 and adjusted second chip width S20 must satisfy L1*L20 = S1*S20.
[0083] In step S12, the machining parameters also include dynamic wear compensation parameters. Obtaining the machining parameters of the machining tool also includes: determining the dynamic wear compensation parameters of the machining tool for different cutting lengths based on a predetermined wear change relationship.
[0084] In some embodiments, as time and cutting length increase, the wear of the machining tool (e.g., tool tip wear) also gradually increases, thereby affecting the surface precision of the target mold.
[0085] In some embodiments, please refer to Figure 10 The image shown is an example of a cross-section of the tool cutting path when tool wear is not compensated. Figure 10 As shown, without considering tool wear compensation, the cutting depth of the machining tool designed by the electronic device using CAM remains basically unchanged. However, as time and cutting length increase, the wear of the machining tool (e.g., tool tip wear) gradually increases. In this case, if the cutting depth of the machining tool is kept constant, it may lead to uneven tolerances on the machined surface, thereby reducing the surface precision.
[0086] Based on the above embodiments, the electronic device pre-tests the mold using the adapted machining tool to determine the wear variation relationship of the machining tool. This wear variation relationship characterizes the correspondence between the cutting length of the machining tool and the dynamic wear compensation parameters. After determining the wear variation relationship, the electronic device determines the dynamic wear compensation parameters corresponding to different cutting lengths of the machining tool during mold machining. Therefore, during mold machining, the electronic device can dynamically compensate for the wear of the machining tool according to the dynamic wear compensation parameters corresponding to different cutting lengths, resulting in uniform surface tolerances after machining and thus improving the surface precision of the target mold.
[0087] In some embodiments, during mold processing, the electronic device can perform dynamic wear compensation for the machining tool by compensating for the machining speed, depth of cut, and tool feed.
[0088] In some embodiments of this application, the dynamic wear compensation parameters include tool wear compensation data. The dynamic wear compensation parameters corresponding to different cutting lengths of the machining tool are determined based on a predetermined wear change relationship. This includes: using a test cutting tool to perform test cutting verification on a test cutting mold to determine the wear change relationship, which is used to characterize the correspondence between the tool wear compensation data and the cutting length of the machining tool; and determining the tool wear compensation data corresponding to different cutting lengths based on the wear change relationship.
[0089] In some embodiments, dynamic wear compensation parameters include tool wear compensation data. Tool wear compensation data can be machining speed compensation data, depth of cut compensation data, tool feed compensation data, etc. The test cutting tool is a tool of the same type and parameters as the target mold. The test cutting mold is a mold of the same type, material, and shape as the mold to be processed. Using the test cutting tool to process the test mold, i.e., simulating the processing of the target mold, verifies the cutting performance of the machining tool (e.g., tool life, wear, etc.).
[0090] In some embodiments, as the cutting length of the machining tool increases, the wear and service life of the machining tool will be affected. For example, the longer the cutting length of the machining tool, the greater the wear. Tool wear may lead to uneven tolerances on the machined surface, thus affecting the surface precision of the target mold. Therefore, to reduce the impact of tool wear on the accuracy of mold machining, before the electronic device controls the machining tool to perform mold machining, multiple test cutting tools with the same tool type and parameters as the target mold can be obtained. The test mold can then be tested and verified according to the optimal operating parameters of the test cutting tools to determine the variation law of tool wear with the cutting length of the machining tool. This determines the correspondence between tool wear compensation data and the cutting length of the machining tool, i.e., the wear variation relationship. When the electronic device controls the machining tool to perform mold machining, it can determine the tool wear compensation data corresponding to different cutting lengths based on the wear variation relationship. During the mold machining process, the tool wear compensation data corresponding to different cutting lengths can be substituted to achieve gradual correction of the wear generated by the machining tool during mold machining, reducing the impact of tool wear on the surface precision of the target mold.
[0091] In some embodiments of this application, a test cutting tool is used to test-cut the test mold to verify the wear change relationship, including: using a test cutting tool to test-cut the test mold to verify the wear change relationship, obtaining tool wear data corresponding to different cutting lengths and the surface contour difference of the test mold; based on the tool wear data corresponding to different cutting lengths and the surface contour difference of the test mold, determining tool wear compensation data corresponding to different cutting lengths; and using the correspondence between cutting length and tool wear compensation data as the wear change relationship.
[0092] In some embodiments, tool wear data includes the wear amount (e.g., tip wear) of the test cutting tool after performing a test cut on the test die at any cutting length using the test cutting tool. Surface profile difference is used to characterize the difference between the actual and theoretical values of the surface profile after performing a test cut on the test die at any cutting length using the test cutting tool.
[0093] In some embodiments, the electronic device can use a coordinate measuring machine (CMM) or similar instrument to measure the surface profile of a test mold after machining with a test cutting tool at any cutting length, and obtain the actual value of the surface profile after machining with a test cutting tool at any cutting length. Since machining the test mold with a test cutting tool simulates the machining process of the target mold, and verifies the cutting performance of the tool (e.g., tool life, wear, etc.), the electronic device can obtain the theoretical value of the surface profile after verification by testing with a test cutting tool at any cutting length by calling a CAM file based on the target mold. The electronic device uses the difference between the actual value and the theoretical value of the surface profile after machining with a test cutting tool at any cutting length as the surface profile difference of the test mold corresponding to any cutting length.
[0094] In some embodiments, the electronic device can control a tool profiler to measure the tool profile of a selected test cutting tool and obtain the initial profile value of the test cutting tool. After the test cutting tool has completed a test cutting verification of any cutting length on the test cutting mold, the electronic device controls the tool profiler to measure the tool profile of the completed test cutting tool and obtain the tool wear profile value of the test cutting tool. The electronic device uses the difference between the tool wear profile value of the test cutting tool and the initial profile value as the tool wear data corresponding to that any cutting length.
[0095] In some embodiments, based on the tool wear data after verifying the test cutting of the test mold with any cutting length using a test cutting tool and the surface profile difference of the test cutting mold, the electronic device can determine the tool wear compensation data of the test cutting tool when processing the test mold with the test cutting tool at that cutting length.
[0096] In some embodiments, the electronic device can randomly select a number of test cutting tools and a number of test cutting molds equal to the number of test cutting tools, and control the number of test cutting tools to perform test cutting verification on the corresponding test cutting molds with different cutting lengths under the same cutting conditions, thereby determining the tool wear compensation data of the test cutting tools when processing the test cutting molds with different cutting lengths using the test cutting tools. Since the test cutting tools are the same type and parameters as the processing tools corresponding to the target mold, and the test cutting molds are the same type, material, and shape as the molds to be processed, using the test cutting tools to process the test cutting molds is to simulate the processing process of the target molds in order to verify the cutting performance of the processing tools. Therefore, based on the tool wear compensation data when processing the test cutting molds with the test cutting tools with different cutting lengths, the electronic device can determine the tool wear compensation data when processing the molds to be processed with the processing tools with different cutting lengths, that is, determine the wear change relationship of the processing tools during the mold processing process.
[0097] As an example, please refer to Figure 11 The diagram shown is an example of tool wear relationship provided in an embodiment of this application. Figure 11 As shown, with the increase of cutting length, the wear of the machining tool increases, and the corresponding tool wear compensation data also increases.
[0098] As an example, the electronic device randomly selects three test cutting tools, numbered 1, 2, and 3, and three test cutting dies, numbered a, b, and c. The electronic device controls test cutting tool 1 to perform a test cut on test cutting die a for a first cutting length, obtaining tool wear data and the surface contour difference of the test cutting die corresponding to the first cutting length. Based on the tool wear data and the surface contour difference of the test cutting die corresponding to the first cutting length, the electronic device determines the tool wear compensation data corresponding to the first cutting length. The electronic device then controls test cutting tool 2 to perform a test cut on test cutting die b for a second cutting length, obtaining tool wear data and the surface contour difference of the test cutting die corresponding to the second cutting length. Based on the tool wear data and the surface contour difference of the test cutting die corresponding to the second cutting length, the electronic device determines the tool wear compensation data corresponding to the second cutting length. The electronic device controls the test cutting tool 3 to perform a test cut on the test cutting mold c at a third cutting length, acquiring tool wear data corresponding to the third cutting length and the surface contour difference of the test cutting mold. Based on the tool wear data corresponding to the third cutting length and the surface contour difference of the test cutting mold, the electronic device determines the tool wear compensation data corresponding to the third cutting length. The values of the first, second, and third cutting lengths are all different. Based on the tool wear compensation data obtained when the test cutting tool processes the test cutting mold at the first, second, and third cutting lengths, the electronic device can determine the tool wear compensation data for processing the mold to be processed using the machining tool at the first, second, and third cutting lengths.
[0099] In some embodiments, when the electronic device calls CAM to design the program path of the machining tool, it can introduce tool wear compensation data corresponding to different cutting lengths. This allows the wear of the machining tool to be progressively corrected based on the tool wear compensation data corresponding to different cutting lengths during the process of controlling the machining tool to perform mold machining according to the designed program path, thereby reducing the impact of tool wear on the surface precision of the target mold.
[0100] As an example, please refer to Figure 12 The image shown is an example of a cross-sectional view of the tool cutting path after tool wear compensation, provided in an embodiment of this application. Figure 12As shown, during mold processing, as the cutting length increases, the electronic equipment dynamically compensates for tool wear by increasing the cutting depth of the machining tool.
[0101] In some embodiments of this application, the machining parameters also include tool profile error. Obtaining the machining parameters of the machining tool further includes: determining the theoretical profile value of the machining tool based on the drawing of the target mold; measuring the actual profile value of the machining tool; and determining the tool profile error based on the theoretical profile value and the actual profile value.
[0102] In some embodiments, the theoretical profile value of the machining tool includes the theoretical profile value of the cutting edge of the machining tool. The actual profile value of the machining tool includes the actual profile value of the cutting edge of the machining tool.
[0103] In some embodiments, the electronic device can adapt the machining tool corresponding to the target mold from a preset tool database based on the target mold's drawing file, or it can redesign a machining tool adapted to the target mold based on the target mold's drawing file. When determining the theoretical contour value of the machining tool based on the target mold's drawing file, if the electronic device can adapt the machining tool corresponding to the target mold from the preset tool database, and the preset tool database stores the tool contour value of the machining tool, then the stored tool contour value of the machining tool can be used as the theoretical contour value of the machining tool. If the electronic device can adapt the machining tool corresponding to the target mold from the preset tool database, but the preset tool database does not store the tool contour value of the machining tool, the electronic device can obtain the tool image of the machining tool from the preset tool database, and convert the tool image into a digital geometric model through image processing technology. By performing edge detection and segmentation on the geometric model, the contour line of the machining tool is extracted. By performing surface reconstruction on the contour line, the theoretical contour value of the tool is obtained. If the electronic device redesigns a machining tool adapted to the target mold based on the target mold's drawing file, then the tool contour value of the machining tool calculated based on the target mold's drawing file during the machining tool design process is used as the theoretical contour value of the machining tool.
[0104] In some embodiments, the electronic device can control the tool profilometer to measure the actual profile value of the machining tool. In other embodiments, the tool profilometer can also be operated by a user to measure the actual profile value of the machining tool.
[0105] In some embodiments, the tool profile error of a machining tool is the difference between the theoretical profile value and the actual profile value of the machining tool.
[0106] In some embodiments, during mold processing, electronic devices typically call CAM to design the program machining path based on the theoretical contour values of the machining tool. However, in actual processing, the actual contour values of the machining tool may deviate from the theoretical contour values. For example, the actual contour value of the machining tool may be smaller than the theoretical contour value. In this case, if the mold is still machined according to the program machining path designed based on the theoretical contour values of the machining tool, the cutting edge of the machining tool may not be able to fit against the cutting surface of the mold during the machining process. This would prevent the machining tool from effectively cutting the cutting surface, thus affecting the surface precision of the target mold.
[0107] As an example, please refer to Figure 13 The image shown is an example diagram of mold processing provided in an embodiment of this application. Figure 13 As shown, the machining tool performs mold machining according to a programmed machining path designed based on the theoretical contour value of the machining tool. However, because the actual contour value of the machining tool is smaller than the theoretical contour value, a gap exists between the cutting edge of the machining tool and the three-dimensional curved surface section line of the mold during the mold machining process. In other words, the cutting edge of the machining tool cannot fit with the cutting surface of the mold, resulting in ineffective cutting of the cutting surface and affecting the surface precision of the target mold.
[0108] Based on this, during mold machining using cutting tools, the electronic device calculates the tool contour error of the machining tool by comparing the theoretical and actual contour values of the cutting tool. This tool contour error is then input into the CAM program path design, ensuring that the designed machining path is generated according to the actual contour values of the cutting tool. This enables mold machining based on the actual contour values of the cutting tool, reducing the impact of tool contour error on the surface precision of the target mold.
[0109] As an example, please refer to Figure 14 The diagram shown is another example of mold processing provided in an embodiment of this application. Figure 14 As shown, after the electronic device calls CAM to design the program path and inputs the tool contour error, the gap between the cutting edge of the machining tool and the three-dimensional curved surface section line of the mold to be machined is reduced to zero during the mold machining process. This realizes that the mold is machined according to the actual contour error of the machining tool, thereby reducing the influence of the tool contour error on the surface precision of the target mold.
[0110] As an example, please refer to Figure 15 The diagram shown is an example of a program processing path design provided in an embodiment of this application. Figure 15As shown, the electronic device calls CAM to design the machining path according to the theoretical contour value of the machining tool. When the machining tool performs mold machining according to the machining path designed based on the theoretical contour value of the machining tool, there is zero gap between the theoretical contour of the machining tool and the mold to be machined, that is, the theoretical contour of the machining tool fits the mold to be machined. However, in the actual machining process, there may be a deviation between the actual contour value of the machining tool and the theoretical contour value. For example, if the actual contour value of the machining tool is smaller than the theoretical contour value, in this case, even if the theoretical contour of the machining tool fits the mold to be machined, there will be a gap between the actual contour of the machining tool and the mold to be machined. This may result in the machining tool being unable to effectively cut the cutting surface, affecting the surface precision of the target mold.
[0111] As an example, such as Figure 16 The diagram shown is another example of a program processing path design provided in an embodiment of this application. Figure 16 As shown, when the electronic device calls the CAM to design the program path for the machining tool, it introduces the tool contour error corresponding to each tool position point, so that the CAM designs the program machining path according to the actual contour value of the machining tool. After the program machining path design is completed, as shown... Figure 16 As shown, when machining the surface of the mold at the tool position corresponding to the 45° angle of the machining tool, the actual contour of the machining tool fits the mold, and there is a gap of 0.006 between the theoretical contour of the machining tool and the mold.
[0112] S13: Control the machining tool according to the machining parameters to process the mold to be processed and obtain the target mold.
[0113] In some embodiments, during the machining process of the mold to be machined by controlling the machining tool according to the machining parameters, the electronic device can call CAM to generate a program machining path according to the machining parameters of the machining tool, and encapsulate the program machining path into CNC instructions and send it to the CNC machine tool. The CNC machine tool receives the CNC instructions, parses the CNC instructions to obtain the program machining path, and controls the machining tool to machine the mold to be machined according to the program machining path, thereby obtaining the target mold.
[0114] In some embodiments of this application, the machining tool is controlled to process the mold to be processed according to the processing parameters to obtain the target mold, including: when the first cutting contact area is equal to the second cutting contact area, the machining tool is controlled to process the mold to be processed in a straight cutting position according to the first tool path spacing, and the machining tool is controlled to process the mold to be processed in a rounded corner cutting position according to the second tool path spacing to obtain the target mold.
[0115] In some embodiments, if the electronic device determines that the first cutting contact area of the machining tool at the straight cutting position is equal to the second cutting contact area of the machining tool at the rounded corner cutting position, then it determines that the machining tool is balanced at the straight cutting position and the rounded corner cutting position. At this time, the electronic device can calculate the first toolpath spacing of the machining tool at the straight cutting position based on the first chip width of the machining tool, and calculate the second toolpath spacing of the machining tool at the rounded corner cutting position based on the second chip width of the machining tool. Then, the electronic device controls the machining tool to process the mold to be processed at the straight cutting position according to the first toolpath spacing, and controls the machining tool to process the mold to be processed at the rounded corner cutting position according to the second toolpath spacing, thereby obtaining the target mold.
[0116] In some embodiments, if it is determined that the first cutting contact area and the second cutting contact area are not equal, the electronic device first calls CAM to adjust the first chip width and / or the second chip width of the machining tool. When the first cutting contact area and the second cutting contact area are equal, it returns to execute the steps of controlling the machining tool to process the mold to be processed in a straight cutting position according to the first tool path spacing, and controlling the machining tool to process the mold to be processed in a rounded corner cutting position according to the second tool path spacing, to obtain the target mold.
[0117] In some embodiments of this application, the machining tool is controlled to process the mold to be processed according to the processing parameters to obtain the target mold, including: controlling the machining tool to process the mold to be processed according to the tool wear compensation data corresponding to different cutting lengths to obtain the target mold.
[0118] In some embodiments, after the electronic device determines the dynamic wear compensation data of the machining tool at different cutting lengths based on the wear change relationship of the machining tool, it can dynamically compensate the machining tool according to the dynamic wear compensation data corresponding to different cutting lengths as the cutting length increases during the mold machining process, so as to reduce the impact of tool wear on the surface precision of the target mold and improve the precision of the target mold.
[0119] In the mold processing method provided in this application embodiment, considering the significant impact of tool wear and uneven cutting at different cutting positions on the curved surface on the mold processing accuracy, this solution determines the toolpath spacing at different cutting positions based on the chip length and chip width of the tool at different cutting positions on the mold to be processed, thereby ensuring a balanced cutting state of the tool at different cutting positions. Furthermore, based on a predetermined wear variation relationship, dynamic wear compensation parameters corresponding to different cutting lengths of the tool are determined. These dynamic wear compensation parameters dynamically compensate for the wear of the tool during the mold processing, thereby reducing tool wear. This solution improves mold processing accuracy by reducing tool wear and ensuring balanced cutting at different cutting positions.
[0120] As an example, please refer to Figure 17 The diagram shown is an example of the implementation flow of the mold processing method provided in this application embodiment. Figure 17 As shown, during mold processing, users can design the corresponding drawing file for the target mold and determine the corresponding processing material (e.g., the mold to be processed as a semi-finished product of the target mold; the following explanation will use the processing material as the mold to be processed) based on the processing requirements of the target mold. After designing the drawing file for the target mold, the user can import the drawing file into CAM or into an electronic device. This example uses importing into an electronic device. After receiving the drawing file imported by the user, the electronic device can determine the corresponding machining tool for the target mold based on the imported drawing file.
[0121] In mold manufacturing, the theoretical contour value of the cutting tool is typically used when designing the machining path. However, the theoretical contour value of the cutting tool determined by the electronic device based on the target mold drawing may deviate from its actual contour value. Therefore, if the machining path is designed according to the theoretical contour value, the cutting edge of the cutting tool may not effectively conform to the cutting surface of the mold, affecting the surface precision of the finished mold. To address this, after determining the cutting tool corresponding to the target mold, the electronic device can first control a tool contour meter to measure the actual contour value of the cutting tool. This actual contour value is then compared with the preset theoretical contour value to calculate the tool contour error at each tool position. By introducing tool contour error into the machining path design, the program path is generated according to the actual contour value of the tool, thus eliminating the impact of tool contour error on surface precision and improving the surface precision of the target mold.
[0122] Considering that during the machining of a mold, the uneven cutting at different cutting positions on the curved surface of the mold can easily lead to uneven tolerances on the machined surface, thus affecting the surface precision of the target mold. Furthermore, during surface machining, the uneven force on the cutting tool at different cutting positions is mainly affected by the curvature of the surface corresponding to the cutting position. The greater the curvature of the surface corresponding to the cutting position, the smaller the cutting contact area between the cutting tool and the cutting layer at that cutting position; conversely, the smaller the curvature of the surface corresponding to the cutting position, the larger the cutting contact area between the cutting tool and the cutting layer at that cutting position. In other words, during surface machining, if any two cutting positions correspond to different surface curvatures, the cutting contact area between the cutting tool and the cutting layer will also be different at those two cutting positions, resulting in uneven cutting.
[0123] Based on this, after receiving the user-imported drawing, the electronic device analyzes the drawing corresponding to the target mold to determine the curved surfaces in the target mold. Based on the curved surfaces in the target mold, it determines the surface curvature corresponding to each cutting position of the machining tool during the surface machining process, and analyzes the surface curvature corresponding to each cutting position to determine the cutting positions with different surface curvatures. Then, the electronic device obtains the chip length and chip width corresponding to the cutting positions with different surface curvatures, and calculates the cutting contact area corresponding to the cutting positions with different surface curvatures based on the chip length and chip width. By calculating the difference in the cutting contact area corresponding to the cutting positions with different surface curvatures, the electronic device adjusts the chip width corresponding to the cutting positions with different surface curvatures until the cutting contact area corresponding to the cutting positions with different surface curvatures is the same. The adjusted chip width and the toolpath spacing corresponding to the chip width are used as cutting balance parameters for the machining tool.
[0124] Considering that tool wear (e.g., tool tip wear) gradually increases with time and cutting length, thus affecting the surface precision of the target mold, electronic equipment uses the machining tool to perform trial cuts on multiple test molds to pre-determine the tool wear variation relationship. Based on the tool wear variation relationship, tool wear compensation data corresponding to different cutting positions in the surface machining area of the mold to be machined is determined. When designing the program path for mold machining, the tool wear compensation data is substituted to dynamically compensate for tool wear as the tool performs cutting along the program machining path. The tool wear compensation data can include machining speed compensation, feed compensation, etc.
[0125] After determining the machining parameters such as tool contour error, cutting balance parameters, and tool wear compensation data, the electronic equipment calls the CAM to design the machining path based on the machining parameters, thus obtaining the machining path. The electronic equipment sends the machining path to the CNC machine tool, which controls the machining tool to process the mold according to the determined machining path to obtain the target mold.
[0126] This process involves users importing the target mold's drawing into the electronic device while simultaneously mounting and positioning the mold to be processed on the machine tool. Fixtures can be used to secure the mold, ensuring its stability. Once the mold is positioned, the CNC machine tool controls the cutting tools to process it according to the predetermined machining path, thus obtaining the target mold. By determining the machining path for the target mold based on factors such as eliminating tool profile errors, ensuring balanced cutting at different cutting positions, and dynamic wear compensation, the precision of the target mold can be effectively improved.
[0127] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0128] In one embodiment of this application, a mold processing apparatus 1800 is provided, the functions of which correspond one-to-one with the mold processing methods described in the above embodiments. For example... Figure 18 As shown, the mold processing device 1800 includes a determining module 1801, an acquiring module 1802, and a control module 1803. The functional modules are described in detail below: The determining module 1801 is used to determine the corresponding machining tool for the target mold based on the target mold drawing; the acquiring module 1802 is used to acquire the machining parameters of the machining tool, including cutting balance parameters and dynamic wear compensation parameters. Acquiring the machining parameters includes: determining the toolpath spacing in the cutting balance parameters based on the chip length and chip width at the cutting position of the machining tool on the mold to be processed; and determining the dynamic wear compensation parameters corresponding to different cutting lengths of the machining tool based on a pre-determined wear change relationship; the control module 1803 is used to control the machining tool to process the mold to be processed according to the machining parameters to obtain the target mold.
[0129] In some embodiments, the machining parameters further include tool profile error. The acquisition module 1802 is also used to: determine the theoretical profile value of the machining tool based on the drawing of the target mold; measure the actual profile value of the machining tool; and determine the tool profile error based on the theoretical profile value and the actual profile value.
[0130] In some embodiments, the cutting balance parameters include toolpath spacing. The toolpath spacing in the cutting balance parameters is determined based on the chip length and chip width of the cutting tool at the cutting position of the die to be processed. This includes: calculating a first cutting contact area of the cutting tool at a straight cutting position based on a first chip length and a first chip width of the cutting tool at the straight cutting position of the die to be processed; calculating a second cutting contact area of the cutting tool at a rounded cutting position based on a second chip length and a second chip width of the cutting tool at the rounded cutting position of the die to be processed; when the first cutting contact area and the second cutting contact area are equal, determining the first toolpath spacing corresponding to the straight cutting position based on the first chip width; and determining the second toolpath spacing corresponding to the rounded cutting position based on the second chip width.
[0131] In some embodiments, the processing apparatus 1800 is further configured to: when the tool cutting view is a first preset view, use the cutting arc length corresponding to the first tool cutting envelope angle of the processing tool at the straight cutting position as the first chip length of the processing tool at the straight cutting position; when the tool cutting view is a second preset view, use the cutting arc length corresponding to the second tool cutting envelope angle of the processing tool at the straight cutting position as the first chip width of the processing tool at the straight cutting position, and the projected length of the cutting arc length corresponding to the second tool cutting envelope angle is the first tool path spacing.
[0132] In some embodiments, the processing apparatus 1800 is further configured to: when the tool cutting view is a first preset view, use the cutting arc length corresponding to the third tool cutting envelope angle at the rounded corner cutting position as the second chip length of the tool at the rounded corner cutting position; when the tool cutting view is a second preset view, use the cutting arc length corresponding to the fourth tool cutting envelope angle at the rounded corner cutting position as the second chip width of the tool at the rounded corner cutting position, and the projected length of the cutting arc length corresponding to the fourth tool cutting envelope angle is the second tool path spacing.
[0133] In some embodiments, the processing apparatus 1800 is further configured to: when it is determined that the first cutting contact area and the second cutting contact area are not equal, adjust the first chip width and / or the second chip width so that the first cutting contact area is equal to the second cutting contact area, thereby obtaining the adjusted first chip width and / or the adjusted second chip width; adjust the first toolpath spacing according to the adjusted first chip width, thereby obtaining the adjusted first toolpath spacing; and / or adjust the second toolpath spacing according to the adjusted second chip width, thereby obtaining the adjusted second toolpath spacing.
[0134] In some embodiments, the dynamic wear compensation parameters include tool wear compensation data. Based on a predetermined wear change relationship, the dynamic wear compensation parameters corresponding to different cutting lengths of the machining tool are determined, including: using a test cutting tool to perform test cutting verification on a test cutting mold to determine the wear change relationship, the wear change relationship being used to characterize the correspondence between the tool wear compensation data and the cutting length of the machining tool; and based on the wear change relationship, determining the tool wear compensation data corresponding to different cutting lengths.
[0135] In some embodiments, a test cutting tool is used to test-cut the test mold to verify the wear change relationship, including: using a test cutting tool to test-cut the test mold to verify the wear change relationship, obtaining tool wear data corresponding to different cutting lengths and the surface profile difference of the test mold; based on the tool wear data corresponding to different cutting lengths and the surface profile difference of the test mold, determining tool wear compensation data corresponding to different cutting lengths; and using the correspondence between cutting length and tool wear compensation data as the wear change relationship.
[0136] In some embodiments, the control module 1803 is specifically used to control the machining tool to process the mold to be processed in a straight cutting position according to the first tool path spacing when the first cutting contact area is equal to the second cutting contact area, and to control the machining tool to process the mold to be processed in a rounded corner cutting position according to the second tool path spacing to obtain the target mold.
[0137] In some embodiments, the control module 1803 is specifically used to control the machining tool to process the mold to be processed according to the tool wear compensation data corresponding to different cutting lengths, so as to obtain the target mold.
[0138] Specific limitations regarding the mold processing device 1800 can be found in the limitations regarding the mold processing method described above, and will not be repeated here. Each module in the mold processing device 1800 can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the electronic device in hardware form, or stored in the memory of the electronic device in software form, so that the processor can call and execute the operations corresponding to each module.
[0139] In one embodiment, an electronic device is provided, such as Figure 19As shown, the electronic device includes a processor and a memory connected via a system bus. The processor provides computing and control capabilities. The memory includes a computer-readable storage medium and internal memory. The computer-readable storage medium stores computer-readable instructions. The internal memory provides an environment for the execution of the computer-readable instructions in the computer-readable storage medium. The network interface of the electronic device is used to communicate with an external server via a network connection. When the computer-readable instructions are executed by the processor, they implement a mold processing method. The computer-readable storage medium provided in this embodiment includes both non-volatile and volatile readable storage media.
[0140] In one embodiment, an electronic device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, it performs the following steps: determining the machining tool corresponding to the target mold based on the drawing of the target mold; obtaining the machining parameters of the machining tool, including cutting balance parameters and dynamic wear compensation parameters; obtaining the machining parameters of the machining tool includes: determining the toolpath spacing in the cutting balance parameters based on the chip length and chip width of the machining tool at the cutting position of the mold to be processed; determining the dynamic wear compensation parameters based on a predetermined wear change relationship and the cutting length of the machining tool; and controlling the machining tool to process the mold to be processed according to the machining parameters to obtain the target mold.
[0141] In one embodiment, a computer-readable storage medium is provided, which stores computer-readable instructions. When executed by a processor, the computer-readable instructions perform the following steps: determining the machining tool corresponding to the target mold based on the drawing of the target mold; obtaining the machining parameters of the machining tool, including cutting balance parameters and dynamic wear compensation parameters; obtaining the machining parameters of the machining tool includes: determining the tool path spacing in the cutting balance parameters based on the chip length and chip width of the machining tool at the cutting position of the mold to be processed; determining the dynamic wear compensation parameters based on a predetermined wear change relationship and the cutting length of the machining tool; and controlling the machining tool to process the mold to be processed according to the machining parameters to obtain the target mold.
[0142] Those skilled in the art will understand that implementing all or part of the processes in the methods of the above embodiments can be accomplished by instructing related hardware with computer-readable instructions. These computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When executed, these computer-readable instructions can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0143] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0144] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application.
Claims
1. A mold processing method, characterized in that, The mold processing method includes: Based on the drawings of the target mold, determine the corresponding machining tool for the target mold; The machining parameters of the machining tool are obtained, including cutting balance parameters and dynamic wear compensation parameters. Obtaining these parameters includes: determining the toolpath spacing in the cutting balance parameters based on the chip length and chip width of the machining tool at the cutting position of the mold to be machined; calculating the first cutting contact area of the machining tool at the straight cutting position of the mold to be machined based on the first chip length and the first chip width; calculating the second cutting contact area of the machining tool at the rounded corner cutting position of the mold to be machined based on the second chip length and the second chip width; determining the first toolpath spacing corresponding to the straight cutting position based on the first chip width when the first cutting contact area is equal to the second cutting contact area; determining the second toolpath spacing corresponding to the rounded corner cutting position based on the second chip width; and determining the dynamic wear compensation parameters of the machining tool at different cutting lengths based on a predetermined wear variation relationship. The machining tool is controlled according to the machining parameters to process the mold to be processed, thereby obtaining the target mold.
2. The mold processing method as described in claim 1, characterized in that, The machining parameters also include tool contour error, and obtaining the machining parameters of the machining tool further includes: Based on the drawing of the target mold, the theoretical contour value of the machining tool is determined; Measure the actual contour value of the machining tool; The tool profile error is determined based on the theoretical profile value and the actual profile value.
3. The mold processing method as described in claim 2, characterized in that, The method further includes: Based on the drawing and the tool parameters of the machining tool, obtain the tool cutting view; When the tool cutting view is the first preset view, the cutting arc length corresponding to the first tool cutting wrap angle of the machining tool at the straight cutting position is taken as the first chip length of the machining tool at the straight cutting position. When the tool cutting view is the second preset view, the cutting arc length corresponding to the second tool cutting envelope angle of the machining tool at the straight cutting position is taken as the first chip width of the machining tool at the straight cutting position, and the projected length of the cutting arc length corresponding to the second tool cutting envelope angle is the first tool path spacing.
4. The mold processing method as described in claim 2, characterized in that, The method further includes: Based on the drawing and the tool parameters of the machining tool, obtain the tool cutting view; When the tool cutting view is the first preset view, the cutting arc length corresponding to the third tool cutting wrap angle of the machining tool at the rounded corner cutting position is taken as the second chip length of the machining tool at the rounded corner cutting position; When the tool cutting view is the second preset view, the cutting arc length corresponding to the fourth tool cutting wrap angle at the rounded corner cutting position is taken as the second chip width of the tool at the rounded corner cutting position, and the projected length of the cutting arc length corresponding to the fourth tool cutting wrap angle is the second tool path spacing.
5. The mold processing method as described in claim 2, characterized in that, The method further includes: When it is determined that the first cutting contact area and the second cutting contact area are not equal, the first chip width and / or the second chip width are adjusted so that the first cutting contact area is equal to the second cutting contact area, thereby obtaining the adjusted first chip width and / or the adjusted second chip width. Adjust the first toolpath spacing according to the adjusted first chip width to obtain the adjusted first toolpath spacing; and / or The second toolpath spacing is adjusted according to the adjusted second chip width to obtain the adjusted second toolpath spacing.
6. The mold processing method as described in claim 1, characterized in that, The dynamic wear compensation parameters include tool wear compensation data. The determination of the dynamic wear compensation parameters for the machining tool at different cutting lengths, based on a predetermined wear change relationship, includes: The test cutting mold is tested and verified using a test cutting tool to determine the wear change relationship. The wear change relationship is used to characterize the correspondence between the tool wear compensation data and the cutting length of the machining tool. Based on the wear variation relationship, tool wear compensation data corresponding to different cutting lengths are determined.
7. The mold processing method as described in claim 6, characterized in that, The step of using a test cutting tool to perform test cutting verification on the test cutting mold and determining the wear change relationship includes: The test cutting mold was tested and verified using a test cutting tool to obtain tool wear data corresponding to different cutting lengths and the surface contour difference of the test cutting mold. Based on the tool wear data corresponding to different cutting lengths and the surface contour difference of the test cutting mold, tool wear compensation data corresponding to different cutting lengths are determined. The correspondence between the cutting length and the tool wear compensation data is taken as the wear change relationship.
8. The mold processing method as described in claim 2, characterized in that, The step of controlling the machining tool to process the mold to be processed according to the machining parameters to obtain the target mold includes: When the first cutting contact area is equal to the second cutting contact area, the machining tool is controlled to process the mold to be processed at the straight cutting position according to the first tool path spacing, and the machining tool is controlled to process the mold to be processed at the rounded corner cutting position according to the second tool path spacing to obtain the target mold.
9. The mold processing method as described in claim 6, characterized in that, The step of controlling the machining tool to process the mold to be processed according to the machining parameters to obtain the target mold includes: The machining tool is controlled to process the mold to be processed according to the tool wear compensation data corresponding to different cutting lengths, so as to obtain the target mold.