Position planning method, device and computer equipment for tool spiral groove machining grinding wheel
Through iterative algorithms to update the grinding wheel pose parameters, the problems of complex algorithms and low computing efficiency in the existing technology are solved, and the effect of quickly and accurately obtaining the target pose parameters of the tool spiral groove is achieved.
Patent Information
- Application Number
- CN202210194471.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-01
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2042-03-01
AI Technical Summary
The existing method of inversely solving the grinding wheel posture requires the establishment of complex solution equations, the algorithm is complex and the calculation efficiency is low, making it difficult to quickly and accurately obtain the target posture parameter value of the tool spiral groove.
The iterative algorithm is used to obtain the initial pose parameter value of the grinding wheel, and iteratively update the pose parameters until the preset spiral groove error condition is met, thereby obtaining the target pose parameter value.
It improves the computing efficiency, simplifies the algorithm, enhances the accuracy of iteration results, and can quickly and accurately obtain spiral slot pose parameters that meet the design requirements.
Smart Images

Figure CN114676513B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of tool manufacturing, and in particular to a method, a device, a computer device and a storage medium for planning the position and posture of a tool spiral groove machining grinding wheel. Background Art
[0002] The integral tool needs to design the corresponding tool spiral groove structure according to different processed materials and different tool types, and according to the designed spiral groove structure, a spiral groove that meets the error conditions is machined on the tool to be ground. At present, the manufacturing method of the spiral groove usually uses the envelope principle to sharpen the tool to be ground using a standard grinding wheel. This method can obtain different spiral groove structures by adjusting the position of the grinding wheel. Therefore, before manufacturing, it is necessary to reversely solve the position of the grinding wheel according to the structure of the spiral groove. However, the existing methods for reversely solving the grinding wheel position often require the establishment of complex solution equations, and the solution algorithm is complex and the calculation efficiency is low. Summary of the invention
[0003] Based on this, it is necessary to provide a posture planning method, device, computer equipment and storage medium for tool spiral groove machining grinding wheel with simple algorithm and high calculation efficiency to address the above technical problems.
[0004] The posture planning method of the grinding wheel for tool spiral groove machining includes:
[0005] Get the initial position parameter values of the grinding wheel.
[0006] The pose parameters are iterated according to the initial pose parameter values, and the spiral groove parameter values of the tool are updated according to the iterated pose parameter values. When the spiral groove parameter values meet the preset spiral groove error conditions, the target pose parameter values are obtained.
[0007] The device for planning the position of the grinding wheel for processing the spiral groove of the tool comprises:
[0008] The acquisition module obtains the initial posture parameter value of the grinding wheel.
[0009] The iteration module is used to iterate the posture parameters according to the initial posture parameter values, update the spiral groove parameter values of the tool according to the iterated posture parameter values, and obtain the target posture parameter values when the spiral groove parameter values meet the preset spiral groove error conditions.
[0010] The computer device comprises a memory and a processor. The memory stores a computer program. When the processor executes the computer program, various method embodiments of the method for posture planning of a tool spiral groove machining grinding wheel can be implemented.
[0011] A computer-readable storage medium stores a computer program, which, when executed by a processor, can implement various method embodiments of a method for posture planning of a tool spiral groove machining grinding wheel.
[0012] The above-mentioned tool spiral groove machining grinding wheel posture planning method, device, computer equipment and storage medium can effectively improve the calculation efficiency by determining the target posture parameter value according to the iterative algorithm. The spiral groove parameter value is calculated according to the iterative posture parameter value, and then the posture parameter is judged whether it converges according to the spiral groove parameter, which can improve the accuracy of the iterative result. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a schematic diagram of the grinding wheel posture of the present invention on the plane where the XY axis is located;
[0014] Figure 2 It is a schematic diagram of the grinding wheel posture of the present invention on the plane where the YZ axis is located;
[0015] Figure 3 A schematic diagram of the structure of a spiral groove in one embodiment of the present invention;
[0016] Figure 4 It is a schematic flow chart of a method for planning the position and posture of a grinding wheel for machining a spiral groove of a tool in one embodiment of the present invention;
[0017] Figure 5 A schematic diagram of a process for obtaining target posture parameter values in one embodiment of the present invention;
[0018] Figure 6 It is a flow chart of an iterative process in a method for planning the position of a grinding wheel for machining a spiral groove of a tool in one embodiment of the present invention;
[0019] Figure 7 It is a structural block diagram of a device for planning the position of a grinding wheel for machining a spiral groove of a tool in one embodiment of the present invention;
[0020] Figure 8 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment of the present invention.
[0021] Wherein: 110 - grinding wheel; 120 - tool; 130 - spiral groove; 402 - acquisition module; 404 - iteration module. DETAILED DESCRIPTION
[0022] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly. The connection can be a direct connection or an indirect connection.
[0025] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0026] In one embodiment, Figure 1 and Figure 2 , which is a schematic diagram of the grinding wheel posture of a method for posture planning of a tool spiral groove processing grinding wheel in an embodiment. Figure 1 is a schematic diagram of the grinding wheel posture on the plane where the XY axis is located. The distance that the grinding wheel 110 moves along the Y axis from the origin of the tool coordinate system is the offset distance y i The distance that the grinding wheel moves from the origin of the tool coordinate system along the X axis is the wheelbase x i The end face of the grinding wheel 110 intersects with the end face of the tool 120, and a spiral groove 130 is to be machined on the tool 120, wherein the radius of the tool 120 is r T . Figure 2 is a schematic diagram of the grinding wheel posture on the plane where the YZ axis is located. The grinding wheel 110 rotates around the X axis from the origin of the tool coordinate system to the installation angle α i , the radius of the grinding wheel is R g The arc on the tool 120 is the pre-designed spiral groove 130 profile, and the helix angle of the tool 120 is β. Figure 3 , which is a schematic diagram of the structure of the spiral groove, wherein the spiral groove 130 is a spiral groove ground by the grinding wheel 110 on the tool 120 at the posture parameter value. It can be seen that the core thickness rc is the radius of the tool 120 at the deepest part of the spiral groove 130; the groove width Φ is the angle between the two intersection points of the cross-sectional profile of the spiral groove 130 and the outer diameter of the tool 120; and the rake angle γ is the angle between the rake face of the spiral groove 130 and the base surface.
[0027] In one embodiment, Figure 4 The figure shows a flow chart of a method for planning the position of a grinding wheel for machining a spiral groove of a tool. The method for planning the position of a grinding wheel for machining a spiral groove of a tool includes:
[0028] Step 202: Obtain the initial posture parameter value of the grinding wheel.
[0029] Among them, the initial posture parameter value of the grinding wheel has a solution in the first iteration, that is, it is guaranteed that the grinding wheel can grind the tool and form a spiral groove under the initial posture parameter value. Its value can be calculated based on the positional relationship between the grinding wheel and the tool to be ground during processing, using the grinding wheel shape parameter value, tool shape parameter value, and spiral groove design parameter value.
[0030] The grinding wheel shape parameter value can be obtained according to the selected grinding wheel model, and the tool shape parameter value can be obtained by measuring the tool to be ground. The spiral groove design parameter value is pre-designed and can be directly called when used. The calculation of the initial posture parameter value can be based on the following Figure 1 and Figure 2 The geometric relationship between the spiral groove on the grinding wheel and the tool is shown in .
[0031] Step 204: iterate the posture parameters according to the initial posture parameter values, update the spiral groove parameter values of the tool according to the iterated posture parameter values, and obtain the target posture parameter values when the spiral groove parameter values meet the preset spiral groove error conditions.
[0032] Among them, the posture parameters of the grinding wheel involved in this application include offset, wheelbase and installation angle, which are used to determine the posture of the grinding wheel during processing. When the shape of the grinding wheel and the shape of the tool to be ground are determined, different spiral groove structures can be obtained by adjusting the grinding wheel posture. Therefore, the spiral groove shape can be calculated based on the posture parameter value of the grinding wheel, the grinding wheel shape parameter value and the tool shape parameter value, thereby determining the parameter value of the spiral groove.
[0033] The spiral groove parameter value of the tool can be calculated according to the envelope principle, and the steps include: obtaining the grinding wheel profile according to the grinding wheel shape parameter value; then obtaining the surface family equation formed by the grinding wheel profile during the grinding of the spiral groove according to the posture parameter value and the tool shape parameter value, and obtaining the groove shape of the spiral groove according to the surface family equation; finally, the spiral groove parameter value is calculated according to the groove shape of the spiral groove. The spiral groove parameter value of the tool can be updated by replacing the posture parameter value in the above calculation method with the iterated posture parameter value.
[0034] The spiral groove parameters are used to describe the spiral groove structure. This application involves the front angle, core thickness and groove width. Each spiral groove parameter corresponds to a preset spiral groove error condition. The spiral groove error condition can be set according to the corresponding structural accuracy requirements.
[0035] In this embodiment, the set initial posture parameter values can ensure that there is a solution when updating the spiral groove parameter values of the tool, avoiding the situation where the spiral groove parameter values cannot be obtained at the beginning of the iteration.
[0036] This embodiment determines the target posture parameter value according to the iterative algorithm, which can effectively improve the calculation efficiency. And the spiral groove parameter value is calculated according to the iterated posture parameter value, and then the posture parameter is judged whether it converges according to the spiral groove parameter, which can improve the accuracy of the iterative result.
[0037] In one embodiment, a method for planning the position and posture of a grinding wheel for spiral groove machining is provided, wherein the position and posture parameter values after iteration include an offset value, a wheelbase value, and an installation angle value. Figure 3 The figure shows a schematic diagram of spiral groove parameters. The spiral groove parameter values in this embodiment include rake angle value, core thickness value and groove width value. The posture parameters are iterated according to the initial posture parameter values, and the spiral groove parameter values of the tool are updated according to the iterated posture parameter values, including:
[0038] Step a1: iterating the posture parameters according to the initial posture parameter values to obtain iterated posture parameter values.
[0039] Among them, the posture parameters are iterated according to the initial posture parameter values, and the initial posture parameter values are used as the initial values, and the old values of the posture parameters are recursively deduced into new values according to a certain iteration process. In this embodiment, there are three posture parameters that need to be iterated, namely the installation angle, the wheelbase and the offset, so it is necessary to plan the iteration process of the three posture parameters separately. And planning the iteration process of each posture parameter requires determining the convergence condition corresponding to each posture parameter.
[0040] The goal of this application is to obtain the posture parameters that can be used to process spiral grooves that meet the design requirements, so the convergence conditions of the posture parameters can be determined based on the spiral groove parameters. Specifically, the convergence conditions corresponding to the installation angle, wheelbase and offset are determined based on the sensitivity analysis results of the posture parameters and the spiral groove parameters. The sensitivity analysis is to select the spiral groove parameters that have the greatest impact on the installation angle, wheelbase and offset from multiple spiral groove parameters through the control variable method.
[0041] Step a2: Update the rake angle value of the tool according to the offset value in the posture parameter value.
[0042] According to the results of sensitivity analysis, the rake angle value is most sensitive to the change of the offset value. Therefore, determining the convergence condition of the offset according to the rake angle value can more accurately judge the convergence of the offset value in the iteration process.
[0043] Step a3: Update the core thickness value of the tool according to the axis distance value in the posture parameter value.
[0044] According to the sensitivity analysis results, the core thickness value is most sensitive to the change of the wheelbase value. Therefore, determining the convergence condition of the wheelbase based on the core thickness value can more accurately judge the convergence of the wheelbase value during the iteration process.
[0045] Step a4: Update the groove width value of the tool according to the installation angle value in the posture parameter value.
[0046] According to the results of sensitivity analysis, the slot width value is most sensitive to the change of the installation angle value. Therefore, determining the convergence condition of the installation angle according to the slot width value can more accurately judge the convergence of the installation angle value during the iteration process.
[0047] In this embodiment, the specific process of updating the corresponding spiral groove parameter value according to each posture parameter value is: after the posture parameter value is iterated, the posture parameter value before the iteration is replaced with the posture parameter value after the iteration to achieve the update of the posture parameter value. Then, the updated posture parameter value is used to replace the posture parameter value in the spiral groove parameter value calculation algorithm for calculation to achieve the update of the spiral groove parameter value. Finally, the corresponding spiral groove parameter value is obtained from the updated spiral groove parameter value to complete the update.
[0048] In this embodiment, the convergence conditions corresponding to each posture parameter are determined based on sensitivity analysis. Therefore, during the iteration process, the convergence of each posture parameter can be judged more accurately, thereby improving the accuracy of the iteration.
[0049] In one embodiment, a method for planning the posture of a tool spiral groove machining grinding wheel is provided, wherein when the spiral groove parameter value satisfies a preset spiral groove error condition, a target posture parameter value is obtained, including:
[0050] Step b1: Take the absolute value of the difference between the front angle value and the front angle design value as the front angle error value.
[0051] Among them, the rake angle value is retrieved from the spiral groove parameter value, so it will change with the update of the spiral groove parameter value. The rake angle design value is obtained based on the pre-designed spiral groove, and its value can be determined according to the design requirements such as the sharpness requirements of the tool. The rake angle error value is a positive number, which is used to evaluate the similarity between the iterative rake angle value and the rake angle design value.
[0052] Step b2: Take the absolute value of the difference between the core thickness value and the core thickness design value as the core thickness error value.
[0053] The core thickness value is retrieved from the spiral groove parameter value, so it will change as the spiral groove parameter value is updated. The core thickness design value is obtained based on the pre-designed spiral groove, and its value can be determined based on the design requirements such as the rigidity requirements of the tool. The core thickness error value is a positive number, which is used to judge the similarity between the iterated core thickness value and the core thickness design value.
[0054] Step b3: Take the absolute value of the difference between the slot width value and the slot width design value as the slot width error value.
[0055] Among them, the groove width value is retrieved from the spiral groove parameter value, so it will change with the update of the spiral groove parameter value. The groove width design value is obtained based on the pre-designed spiral groove, and its value can be determined according to the design requirements such as the chip removal requirements of the tool. The groove width error value is a positive number, which is used to judge the similarity between the iterative groove width value and the groove width design value.
[0056] Step b4: When the core thickness error value is less than or equal to the preset core thickness error value, the front angle error value is less than or equal to the preset front angle error value, and the slot width error value is less than or equal to the preset slot width error value, the target posture parameter value is obtained.
[0057] The preset core thickness error value, the preset rake angle error value and the preset groove width error value are set according to the grinding accuracy of each structure in the tool spiral groove. When each spiral groove error value is less than or equal to the corresponding preset spiral groove error value, it can be considered that the spiral groove structure meets the grinding accuracy requirements.
[0058] In this application, the iteration of posture parameters can be performed simultaneously or sequentially, but the posture parameters of the later iteration may affect the posture parameters of the earlier iteration, so the spiral groove parameter value needs to be updated after any posture parameter iteration. In addition, the error value of each spiral groove parameter is judged separately during the iteration process. Only when the error values of the three spiral groove parameters meet the corresponding error conditions at the same time, the posture parameter value is obtained as the target posture parameter value.
[0059] In this embodiment, the spiral groove parameter value is updated after any posture parameter iteration to reduce the influence of the posture parameter of the later iteration on the posture parameter of the earlier iteration. At the same time, the error values of the three spiral groove parameters are judged to prevent the error value of the spiral groove parameter from not meeting the error condition, thereby improving the accuracy of the target posture parameter value.
[0060] In one embodiment, a method for planning the posture of a tool spiral groove machining grinding wheel is provided, wherein the rake angle error value is the absolute value of the difference between the rake angle value and the rake angle design value; the core thickness error value is the absolute value of the difference between the core thickness value and the core thickness design value; the groove width error value is the absolute value of the difference between the groove width value and the groove width design value. Iteration is performed according to the initial posture parameter value to obtain the iterated posture parameter value, including:
[0061] Step c1: When the front angle error value is greater than the preset front angle error value and the front angle value is less than the front angle design value, the offset value is added to the preset offset step value to obtain the iterated offset value.
[0062] Among them, the front angle error value is greater than the preset front angle error value, which means that the front angle obtained according to the offset value of the current iteration is too different from the designed front angle, and the offset needs to be further iterated.
[0063] The iterative direction of the offset is also determined based on the sensitivity analysis. According to the sensitivity analysis, the rake angle value increases with the offset value and decreases with the offset value. Therefore, when the rake angle value is less than the design value of the rake angle, the offset value needs to be increased, specifically, the offset value is added to the preset offset step value to obtain the offset value after iteration.
[0064] The smaller the step value of each pose parameter is set, the more iterations are performed, but the better the iterative convergence is. Therefore, it is necessary to balance the relationship between the number of iterations and the convergence when setting the step value of the pose parameter. The offset step value can be determined according to the preset rake error value. Preferably, the offset step value is one tenth of the preset rake error value.
[0065] Step c2: When the front angle error value is greater than the preset front angle error value, and the front angle value is greater than or equal to the front angle design value, the offset value is subtracted from the preset offset step value to obtain the iterated offset value.
[0066] When the front angle value is greater than or equal to the front angle design value, the offset value needs to be reduced. Specifically, the offset value is subtracted from the preset offset step value to obtain the offset value after iteration.
[0067] Step c3: When the core thickness error value is greater than the preset core thickness error value and the core thickness value is less than the core thickness design value, the wheelbase value is added to the preset wheelbase step value to obtain the iterated wheelbase value.
[0068] The iteration direction of the wheelbase is also determined based on the sensitivity analysis. According to the sensitivity analysis, the core thickness value increases with the increase of the wheelbase value, and decreases with the decrease of the wheelbase value. Therefore, when the core thickness value is less than the core thickness design value, the wheelbase value needs to be increased. Specifically, the wheelbase value is added to the preset wheelbase step value to obtain the iterated wheelbase value. The wheelbase step value can be determined based on the core thickness design value.
[0069] Step c4: When the core thickness error value is greater than the preset core thickness error value, and the core thickness value is greater than or equal to the core thickness design value, the wheelbase value is subtracted from the preset wheelbase step value to obtain the iterated wheelbase value.
[0070] If the core thickness error value is greater than the preset core thickness error value, the wheelbase needs to be iterated further. When the core thickness value is greater than or equal to the core thickness design value, the wheelbase value needs to be reduced. Specifically, the wheelbase value is subtracted from the preset wheelbase step value to obtain the iterated wheelbase value.
[0071] Step c5: When the slot width error value is greater than the preset slot width error value and the slot width value is less than the slot width design value, the preset installation angle step value is subtracted from the installation angle value to obtain the iterated installation angle value.
[0072] The iteration direction of the installation angle is also determined based on the sensitivity analysis. According to the sensitivity analysis, it can be obtained that the slot width value decreases as the installation angle value increases, and increases as the installation angle value decreases. Therefore, when the slot width value is less than the slot width design value, it is necessary to increase the installation angle, specifically, to subtract the preset installation angle step value from the installation angle value to obtain the iterated installation angle value. The installation angle step value can be determined based on the preset slot width error value. Preferably, the installation angle step value is one tenth of the preset slot width error value.
[0073] Step c6: When the slot width error value is greater than the preset slot width error value, and the slot width value is greater than or equal to the slot width design value, the installation angle value is added to the preset installation angle step value to obtain the iterated installation angle value.
[0074] If the core thickness error value is greater than the preset core thickness error value, the wheelbase needs to be iterated further. When the core thickness value is greater than or equal to the core thickness design value, the installation angle value needs to be increased. The installation angle value is added with the preset installation angle step value to obtain the iterated installation angle value.
[0075] In this embodiment, each posture parameter can be iterated separately according to its own iteration direction, and each posture parameter can be iterated simultaneously or sequentially, which can further optimize the iteration algorithm and improve the calculation efficiency.
[0076] In one embodiment, a method for planning the posture of a tool spiral groove machining grinding wheel is provided, and the axis distance step value is the absolute value of the difference between the core thickness value and the core thickness design value.
[0077] The core thickness value is updated after each wheelbase value iteration, so the difference between the core thickness value and the core thickness design value is also updated after each wheelbase value iteration. The absolute value of the difference between the core thickness value and the core thickness design value is taken as the wheelbase step value, which can make the core thickness value quickly approach the core thickness design value during the iteration process.
[0078] The wheelbase step value of this embodiment is updated along with the iteration of the wheelbase, so that the core thickness value can quickly approach the core thickness design value during the iteration process, so that the wheelbase value can converge quickly, thereby improving the iteration speed.
[0079] In one embodiment, if Figure 5 As shown, it is a flow chart of obtaining the target posture parameter value in one embodiment, a posture planning method for a tool spiral groove machining grinding wheel, and the iterated posture parameter values include offset value, wheelbase value and installation angle value. The rake angle error value is the absolute value of the difference between the rake angle value and the rake angle design value; the core thickness error value is the absolute value of the difference between the core thickness value and the core thickness design value; the groove width error value is the absolute value of the difference between the groove width value and the groove width design value.
[0080] The posture parameters are iterated according to the initial posture parameter values, and the spiral groove parameter values of the tool are updated according to the iterated posture parameter values. When the spiral groove parameter values meet the preset spiral groove error conditions, the target posture parameter values are obtained, including:
[0081] Step 302: when the front angle error value is greater than or equal to a preset front angle error value, the offset is iterated according to the initial offset value to obtain an iterated offset value.
[0082] According to the sensitivity analysis, the rake angle is most sensitive to the change of the offset value, and when the offset value is greater than a certain value, a negative rake angle will be generated. Therefore, it is necessary to iterate the offset first so that the rake angle value approaches the rake angle design value first to prevent the problem of negative rake angle.
[0083] Step 304: Update the spiral groove parameter value according to the iterated offset value until the rake angle error value in the updated spiral groove parameter value is less than the preset rake angle error value, and then determine whether the core thickness error value in the updated spiral groove parameter value is greater than or equal to the preset core thickness error value.
[0084] Under the condition that the rake angle error value is less than the preset rake angle error value, the difference between the core thickness value in the spiral groove parameter value and the core thickness design value is small. Therefore, after completing the iteration of the offset, iterating the wheelbase can make the core thickness value quickly approach the core thickness design value, reduce the number of wheelbase iterations, and improve calculation efficiency.
[0085] Step 306: When the core thickness error value is greater than or equal to the preset core thickness error value, the wheelbase is iterated according to the initial wheelbase value to obtain an iterated wheelbase value.
[0086] When the core thickness error value is greater than or equal to the preset core thickness error value, it means that the wheelbase value does not meet the error condition and the wheelbase needs to be iterated.
[0087] Step 308: Return to the step of updating the spiral groove parameter value according to the iterated wheelbase value, until the core thickness error value in the updated spiral groove parameter value is less than the preset core thickness error value, and then determine whether the groove width error value in the updated spiral groove parameter value is greater than or equal to the preset groove width error value.
[0088] According to the iterated wheelbase value, the spiral groove parameter value is updated and the obtained rake angle value can generally meet the error condition, that is, the rake angle error value is still smaller than the preset rake angle error value, and the wheelbase iteration can be entered until the core thickness error value is smaller than the preset core thickness error value.
[0089] If the update of the spiral groove parameter value is returned and the rake angle error value is greater than or equal to the preset rake angle error value, it means that the wheelbase value has too much influence on the rake angle value and it is necessary to enter the iteration of the offset. When the current angle error value is less than the preset rake angle error value, re-enter the iteration of the wheelbase.
[0090] Step 310: When the slot width error value is greater than or equal to the preset slot width error value, the installation angle is iterated according to the initial installation angle value to obtain the iterated installation angle value.
[0091] According to the sensitivity analysis, the variation characteristics of the slot width value are relatively complex. The slot width value decreases with the increase of the installation angle value and the wheelbase value, and increases with the increase of the offset value. The change of the installation angle value has little effect on the front angle value and the core thickness value. Therefore, the installation angle is iterated at last.
[0092] Step 312: according to the installation angle value after iteration, return to execute the step of updating the spiral groove parameter value until the groove width error value in the updated spiral groove parameter value is less than the preset groove width error value, and obtain the target offset value, target wheelbase value and target installation angle value.
[0093] According to the iterated installation angle value, the spiral groove parameter value is updated and returned. The obtained front angle value and core thickness value can generally meet the error condition, that is, the front angle error value is less than the preset front angle error value, and the core thickness error value is less than the preset core thickness error value. Then the installation angle iteration is entered until the groove width error value is less than the preset groove width error value.
[0094] If the update of the spiral groove parameter value is returned, and the front angle error value is greater than or equal to the preset front angle error value, it means that the wheelbase value has too much influence on the front angle value, and it is necessary to enter the iteration of the offset. When the current angle error value is less than the preset front angle error value, re-enter the iteration of the wheelbase. If the core thickness error value is greater than or equal to the preset core thickness error value, it is necessary to enter the iteration of the wheelbase until the core thickness error value is less than the preset core thickness error value, and then re-enter the iteration of the installation angle.
[0095] This embodiment provides a sequence of iteration of posture parameters. According to the sequence of first iterating the offset, then iterating the wheelbase, and finally iterating the installation angle in this embodiment, the influence of the posture parameters of the later iteration on the posture parameters of the earlier iteration can be reduced, thereby reducing the number of iterations and improving calculation efficiency.
[0096] In one embodiment, a method for posture planning of a tool spiral groove machining grinding wheel is provided, and initial posture parameter values include: an initial installation angle α0, an initial wheelbase x0, and an initial offset y0.
[0097] The initial installation angle α0 is set to:
[0098]
[0099] The initial wheelbase x0 is set to:
[0100] x0=R g +rc exp ;
[0101] The initial offset y0 is set to:
[0102]
[0103] Where β is the helix angle of the tool, R g is the radius of the grinding wheel, rc exp is the core thickness design value, r T is the radius of the tool.
[0104] This embodiment determines the initial posture parameter value based on the spiral groove design parameters, the grinding wheel structure parameters, the tool structure parameters, and the positional relationship between the grinding wheel and the tool to be ground. The grinding wheel can grind the tool to be ground according to the initial posture parameter value to form a preset spiral groove shape, which can ensure that there is a solution when the spiral groove parameter value is updated for the first time.
[0105] The initial posture parameter values of this embodiment are reasonably designed, which can avoid the situation where the spiral groove parameter values cannot be updated in the first iteration, thereby ensuring the reliability of the iterative algorithm in this embodiment.
[0106] In one embodiment, Figure 6 FIG. 1 is a flow chart of an iterative process in a method for planning the position of a grinding wheel for machining a spiral groove of a tool in one embodiment. i Indicates the offset value after iteration, x j represents the wheelbase value after iteration, α k Represents the installation angle value after iteration. Δy represents the wheelbase step value, Δx represents the offset step value, and Δα represents the offset installation angle step value.
[0107] according to Figure 6 The flowchart of the iterative process shown in the figure is used to substitute specific data to obtain the corresponding grinding wheel posture parameter values.
[0108] First, obtain the spiral groove design parameter value: the front angle design value γ exp =16°, core thickness design value rc exp =1.8mm, slot width design value Φ exp =80°; Grinding wheel structural parameter values: Grinding wheel thickness 8mm, Grinding wheel radius R g =62.5mm; tool radius r T =3mm, helix angle β=35°; obtain the initial posture parameters of the grinding wheel to ensure that the iterative initial calculation value has a solution.
[0109] Then, the preset rake angle error value γtol = 0.5°, core thickness error value rctol = 0.05mm, and groove width error value Φtol = 3° are obtained, and the wheelbase step value Δx = |rc-rc of the grinding wheel posture parameter is determined. exp|, offset step value Δy = 0.05mm, installation angle step value Δα = 0.3°.
[0110] Finally, through Figure 6 The flowchart of the iterative process in the posture planning method of the tool spiral groove processing grinding wheel shown in the figure obtains the target posture parameter value. The spiral groove parameters obtained under the target posture parameter value are the rake angle value γ = 15.8491°, the core thickness value rc = 1.8043mm, and the groove width value Φ = 79.2064°, which meet the requirements of the preset rake angle error value, core thickness error value, and groove width error value, indicating that the posture planning method of the tool spiral groove processing grinding wheel of the present application is effective.
[0111] As shown in Table 1, in order to verify the effectiveness of obtaining the target posture parameter values according to the posture planning method for the tool spiral groove machining grinding wheel provided in this application, multiple sets of spiral groove design parameter values are given, and the actual parameter values of the spiral groove obtained according to the method of this application are given, and the iteration time is recorded.
[0112] Table 1
[0113]
[0114] According to Table 1, by processing the tool according to the target posture parameter values obtained in this application, a spiral groove that meets the spiral groove error condition can be obtained, and the iteration time is short, which can effectively improve the calculation efficiency.
[0115] In one embodiment, Figure 7 As shown, it is a structural block diagram of a device for planning the position and posture of a tool spiral groove processing grinding wheel in one embodiment, which includes: an acquisition module 402 and an iteration module 404, wherein:
[0116] The acquisition module 402 is used to acquire the initial posture parameter value of the grinding wheel.
[0117] The iteration module 404 is used to iterate the posture parameters according to the initial posture parameter values, update the spiral groove parameter values of the tool according to the iterated posture parameter values, and obtain the target posture parameter values when the spiral groove parameter values meet the preset spiral groove error conditions.
[0118] The device of this embodiment determines the target posture parameter value according to the iterative algorithm, which can effectively improve the calculation efficiency. The spiral groove parameter value is calculated according to the iterative posture parameter value, and then the posture parameter is judged whether it converges according to the spiral groove parameter, which can improve the accuracy of the iterative result.
[0119] In one embodiment, the iterated posture parameter values include offset value, wheelbase value and installation angle value, and the spiral groove parameter values include rake angle value, core thickness value and groove width value. The iteration module 404 is also used for:
[0120] Iterate the posture parameters according to the initial posture parameter values to obtain the iterated posture parameter values;
[0121] Update the tool's rake angle value according to the offset value in the pose parameter value.
[0122] Update the core thickness value of the tool according to the axis distance value in the pose parameter value.
[0123] Update the groove width value of the tool according to the installation angle value in the posture parameter value.
[0124] In this embodiment, the convergence conditions corresponding to each posture parameter are determined based on sensitivity analysis. Therefore, during the iteration process, the convergence of each posture parameter can be judged more accurately, thereby improving the accuracy of the iteration.
[0125] In one embodiment, the iteration module 404 is further used to: when the spiral groove parameter value satisfies a preset spiral groove error condition, obtain a target posture parameter value, including:
[0126] The absolute value of the difference between the front angle value and the front angle design value is taken as the front angle error value.
[0127] The absolute value of the difference between the core thickness value and the core thickness design value is taken as the core thickness error value.
[0128] The absolute value of the difference between the slot width value and the slot width design value is taken as the slot width error value.
[0129] When the core thickness error value is less than or equal to the preset core thickness error value, the front angle error value is less than or equal to the preset front angle error value, and the slot width error value is less than or equal to the preset slot width error value, the target posture parameter value is obtained.
[0130] In this embodiment, the spiral groove parameter value is updated after any posture parameter iteration to reduce the influence of the posture parameter of the later iteration on the posture parameter of the earlier iteration. The iteration module 404 also judges the error values of the three spiral groove parameters at the same time to prevent the error value of the spiral groove parameter from not meeting the error condition, thereby improving the accuracy of the target posture parameter value.
[0131] In one embodiment, the rake angle error value is the absolute value of the difference between the rake angle value and the rake angle design value; the core thickness error value is the absolute value of the difference between the core thickness value and the core thickness design value; the slot width error value is the absolute value of the difference between the slot width value and the slot width design value. The iteration module 404 is also used to:
[0132] When the front angle error value is greater than the preset front angle error value and the front angle value is less than the front angle design value, the offset value is added to the preset offset step value to obtain the offset value after iteration.
[0133] When the front angle error value is greater than the preset front angle error value, and the front angle value is greater than or equal to the front angle design value, the offset value is subtracted from the preset offset step value to obtain the iterated offset value.
[0134] When the core thickness error value is greater than the preset core thickness error value and the core thickness value is less than the core thickness design value, the wheelbase value is added to the preset wheelbase step value to obtain the iterative wheelbase value.
[0135] When the core thickness error value is greater than the preset core thickness error value, and the core thickness value is greater than or equal to the core thickness design value, the wheelbase value is subtracted from the preset wheelbase step value to obtain the iterative wheelbase value.
[0136] When the slot width error value is greater than the preset slot width error value and the slot width value is less than the slot width design value, the preset installation angle step value is subtracted from the installation angle value to obtain the iterative installation angle value.
[0137] When the slot width error value is greater than the preset slot width error value, and the slot width value is greater than or equal to the slot width design value, the installation angle value is added to the preset installation angle step value to obtain the iterative installation angle value.
[0138] In this embodiment, each posture parameter can be iterated separately according to its own iteration direction, and each posture parameter can be iterated simultaneously or sequentially, which can further optimize the iteration algorithm and improve the calculation efficiency.
[0139] In one embodiment, the iterated posture parameter values include offset value, wheelbase value and installation angle value. The rake angle error value is the absolute value of the difference between the rake angle value and the rake angle design value; the core thickness error value is the absolute value of the difference between the core thickness value and the core thickness design value; the slot width error value is the absolute value of the difference between the slot width value and the slot width design value. The iteration module 404 is also used to:
[0140] When the front angle error value is greater than or equal to the preset front angle error value, the offset is iterated according to the initial offset value to obtain the offset value after iteration.
[0141] According to the offset value after iteration, the spiral groove parameter value is updated until the front angle error value in the updated spiral groove parameter value is less than the preset front angle error value, and then it is determined whether the core thickness error value in the updated spiral groove parameter value is greater than or equal to the preset core thickness error value.
[0142] When the core thickness error value is greater than or equal to the preset core thickness error value, the wheelbase is iterated according to the initial wheelbase value to obtain an iterated wheelbase value.
[0143] According to the iterated wheelbase value, return to the step of updating the spiral groove parameter value until the core thickness error value in the updated spiral groove parameter value is less than the preset core thickness error value, and then determine whether the groove width error value in the updated spiral groove parameter value is greater than or equal to the preset groove width error value.
[0144] When the slot width error value is greater than or equal to the preset slot width error value, the installation angle is iterated according to the initial installation angle value to obtain the iterated installation angle value.
[0145] According to the installation angle value after iteration, return to execute the step of updating the spiral groove parameter value until the groove width error value in the updated spiral groove parameter value is less than the preset groove width error value, and obtain the target offset value, target wheelbase value and target installation angle value.
[0146] This embodiment provides a sequence of iteration of posture parameters. According to the sequence of first iterating the offset, then iterating the wheelbase, and finally iterating the installation angle in this embodiment, the influence of the posture parameters of the later iteration on the posture parameters of the earlier iteration can be reduced, thereby reducing the number of iterations and improving calculation efficiency.
[0147] It should be understood that although the above Figure 4 , Figure 5 In the flowchart, each step is displayed in sequence according to the arrows, and each step from step (202) to step (204) and step (302) to step (312) is displayed in sequence according to the numbers, but these steps are not necessarily executed in the order indicated by the arrows or numbers. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 4 and Figure 5 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily one by one, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0148] For the specific definition of the posture planning device for the tool spiral groove processing grinding wheel, please refer to the definition of the posture planning method for the tool spiral groove processing grinding wheel above, which will not be repeated here. Each module in the above-mentioned posture planning device for the tool spiral groove processing grinding wheel can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0149] In one embodiment, a computer device is provided. The computer device may be a terminal device, and its internal structure diagram may be as follows: Figure 8As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a posture planning method for a tool spiral groove machining grinding wheel is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0150] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0151] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above-mentioned method embodiments when executing the computer program.
[0152] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method embodiments are implemented.
[0153] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.
[0154] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes in the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0155] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for planning the position of a grinding wheel for machining a spiral groove of a tool, characterized in that: include: Get the initial posture parameter value of the grinding wheel; Iterating the posture parameter according to the initial posture parameter value, calculating and updating the spiral groove parameter value of the tool according to the iterated posture parameter value and the envelope principle, and obtaining the target posture parameter value when the spiral groove parameter value meets the preset spiral groove error condition; The iterated posture parameter values include offset value, wheelbase value and installation angle value; the spiral groove parameter values include rake angle value, core thickness value and groove width value; The step of iterating the posture parameter according to the initial posture parameter value and updating the spiral groove parameter value of the tool according to the iterated posture parameter value includes: Iterate the posture parameter according to the initial posture parameter value to obtain the iterated posture parameter value; Update the rake angle value of the tool according to the offset value in the posture parameter value; Updating the core thickness value of the tool according to the wheelbase value in the posture parameter value; The groove width value of the tool is updated according to the installation angle value in the posture parameter value.
2. The method for planning the position of a tool spiral groove machining grinding wheel according to claim 1, characterized in that: When the spiral groove parameter value satisfies a preset spiral groove error condition, obtaining a target posture parameter value comprises: The absolute value of the difference between the front angle value and the front angle design value is taken as the front angle error value; The absolute value of the difference between the core thickness value and the core thickness design value is taken as the core thickness error value; The absolute value of the difference between the groove width value and the groove width design value is taken as the groove width error value; When the front angle error value is less than or equal to a preset front angle error value, the core thickness error value is less than or equal to a preset core thickness error value, and the slot width error value is less than or equal to a preset slot width error value, the target posture parameter value is obtained.
3. The method for position planning of a tool spiral groove machining grinding wheel according to claim 1, characterized in that: The front angle error value is the absolute value of the difference between the front angle value and the front angle design value; the core thickness error value is the absolute value of the difference between the core thickness value and the core thickness design value; the slot width error value is the absolute value of the difference between the slot width value and the slot width design value; The iterating according to the initial posture parameter value to obtain the iterated posture parameter value includes: When the rake angle error value is greater than a preset rake angle error value, and the rake angle value is less than the rake angle design value, the offset value is added with a preset offset step value to obtain an iterated offset value; When the rake angle error value is greater than a preset rake angle error value, and the rake angle value is greater than or equal to the rake angle design value, subtract a preset offset step value from the offset value to obtain an iterated offset value; When the core thickness error value is greater than a preset core thickness error value, and the core thickness value is less than the core thickness design value, adding a preset wheelbase step value to the wheelbase value to obtain an iterated wheelbase value; When the core thickness error value is greater than a preset core thickness error value, and the core thickness value is greater than or equal to the core thickness design value, subtracting a preset wheelbase step value from the wheelbase value to obtain an iterated wheelbase value; When the slot width error value is greater than a preset slot width error value, and the slot width value is less than the slot width design value, subtract a preset installation angle step value from the installation angle value to obtain an iterated installation angle value; When the slot width error value is greater than a preset slot width error value, and the slot width value is greater than or equal to the slot width design value, the installation angle value is added to a preset installation angle step value to obtain an iterated installation angle value.
4. The method for position planning of a tool spiral groove machining grinding wheel according to claim 3, characterized in that: The wheelbase step value is the absolute value of the difference between the core thickness value and the core thickness design value.
5. The method for position planning of a tool spiral groove machining grinding wheel according to claim 1, characterized in that: The iterated posture parameter values include offset value, wheelbase value and installation angle value; the rake angle error value is the absolute value of the difference between the rake angle value and the rake angle design value; the core thickness error value is the absolute value of the difference between the core thickness value and the core thickness design value; the slot width error value is the absolute value of the difference between the slot width value and the slot width design value; The step of iterating the posture parameter according to the initial posture parameter value, updating the spiral groove parameter value of the tool according to the iterated posture parameter value, and obtaining the target posture parameter value when the spiral groove parameter value satisfies the preset spiral groove error condition comprises: When the front angle error value is greater than or equal to a preset front angle error value, iterating the offset according to the initial offset value to obtain an iterated offset value; According to the iterated offset value, the spiral groove parameter value is updated until the rake angle error value in the updated spiral groove parameter value is less than the preset rake angle error value, and whether the core thickness error value in the updated spiral groove parameter value is greater than or equal to the preset core thickness error value; When the core thickness error value is greater than or equal to a preset core thickness error value, iterating the wheelbase according to the initial wheelbase value to obtain an iterated wheelbase value; According to the iterated wheelbase value, return to the step of updating the spiral groove parameter value until the core thickness error value in the updated spiral groove parameter value is less than the preset core thickness error value, and then determine whether the groove width error value in the updated spiral groove parameter value is greater than or equal to the preset groove width error value; When the slot width error value is greater than or equal to a preset slot width error value, iterating the installation angle according to the initial installation angle value to obtain an iterated installation angle value; According to the iterated installation angle value, return to execute the step of updating the spiral groove parameter value until the groove width error value in the updated spiral groove parameter value is less than the preset groove width error value, and obtain the target offset value, target wheelbase value and target installation angle value.
6. The method for position planning of a tool spiral groove machining grinding wheel according to claim 2, characterized in that: The initial posture parameter values include: initial installation angle α0, initial wheelbase x0 and initial offset y0; The initial installation angle α0 is set to: The initial wheelbase x0 is set to: x0=R g +rc exp ; The initial offset y0 is set to: Where β is the helix angle of the tool, R g is the radius of the grinding wheel, rc exp is the core thickness design value, r T is the radius of the tool.
7. A device for planning the position of a grinding wheel for processing spiral grooves of a tool, characterized in that: The device is used to implement the steps of the method according to any one of claims 1 to 6, and the device comprises: An acquisition module is used to obtain the initial posture parameter value of the grinding wheel; An iteration module is used to iterate the posture parameters according to the initial posture parameter values, calculate and update the spiral groove parameter values of the tool according to the iterated posture parameter values and the envelope principle, and obtain the target posture parameter values when the spiral groove parameter values meet the preset spiral groove error conditions.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
NPSO algorithm-based chip pocket machining grinding wheel pose solving method
CN107045578A