Automatic control method for feeding speed of milling machine cutter feeder
By analyzing the control point characteristics of the three-dimensional model of the workpiece, calculating the dynamic weight factor and adjusting the milling curve, the problem of insufficient fitting in complex surface processing by traditional NURBS curve interpolation algorithm is solved, and the control accuracy of the feed speed of the milling machine tool handler is improved , achieving higher workpiece machining accuracy.
Patent Information
- Application Number
- CN202411509107.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-10-28
AI Technical Summary
The traditional NURBS curve interpolation algorithm gives the same weight factor to all control points when obtaining milling curves, resulting in excessive fitting of smooth area control points and insufficient fitting of rough area when processing workpieces on complex surfaces, which affects the milling machine toolbar. The control accuracy of the speed of the workpiece can be affected.
By obtaining the contour curve control points of the three-dimensional model of the workpiece, the deviation degree and single-point influence of the control point are calculated based on the turning situation of the control point, the curvature and the difference in the distribution of the control point in the local range, the deviation degree of the control point and the dynamic weight factor is determined based on the steepness of the workpiece surface. , NURBS curve interpolation algorithm is used to generate milling curves, and the acceleration and deceleration control algorithm is used to adjust the feed speed of the tool passer.
The accuracy of the milling curve and the control accuracy of the toolbar feeding speed are improved to ensure high accuracy of workpiece processing.
Smart Images

Figure CN119017132A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of numerical control machining, and in particular to a method for automatically controlling the feed speed of a cutter of a milling machine. Background Art
[0002] The milling machine tool feeder, also known as the milling machine power feeder, is a precision feeding device used for CNC machine tools such as milling machines. It mainly provides feed power for the milling machine worktable through an independent power supply.
[0003] In the normal milling machine processing process, the feed speed of the cutter needs to be set according to the workpiece processing path, the feed type, etc. Therefore, the control of the feed speed of the milling machine feed depends on the planning of the workpiece processing path.
[0004] During the CNC machining process, the tool feed can only mill one curve on the surface of the workpiece at a time. This curve is continuous and smooth. Currently, the NURBS curve interpolation algorithm is often used to obtain a smooth milling curve. However, when obtaining the milling curve, the traditional NURBS curve interpolation algorithm usually assigns the same weight factor to all control points, resulting in over-fitting of the control points in the smooth area and under-fitting of the control points in the rough area when machining workpieces with complex surfaces. The accuracy of the milling curve is low, which in turn affects the control of the feed speed of the milling machine tool feed and the machining accuracy of the workpiece. Summary of the invention
[0005] In view of the above content, it is necessary to provide a method for automatic control of the feed speed of a milling machine cutter. Compared with the traditional method for automatic control of the feed speed of a milling machine cutter, the present application considers the influence of different control points on the milling curve, accurately calculates the milling curve, and effectively improves the control accuracy of the feed speed of the milling machine cutter.
[0006] The present invention discloses a method for automatically controlling the feed speed of a milling machine tool feeder, which adopts the following technical solution: An embodiment of the present application provides a method for automatically controlling the feed speed of a milling machine tool feeder, the method comprising the following steps: Obtaining each control point of any contour curve of the workpiece three-dimensional model; Determine the deviation of each control point based on the turning point of the control point distribution at each control point; Determine the single point influence of each control point based on the difference in distribution between control points in the adjacent front and rear local ranges of each control point and the deviation degree; Based on the steepness of the surface of the three-dimensional model of the workpiece at the corresponding point of each control point, combined with the single point influence, the spatial gradient of each control point is determined; Determine the dynamic weight factor of each control point based on the spatial variation degree of each control point and its difference with respect to the spatial variation degree of adjacent control points; A milling curve when a cutter cuts any one of the contour curves is generated based on the dynamic weight factor, and a feed speed of the cutter cutter of the milling machine is controlled based on the milling curve using an acceleration and deceleration control algorithm.
[0007] In one embodiment, the process of determining the deviation is as follows: Get the vector from each control point to its adjacent previous control point, and the vector from each control point to its adjacent next control point; Calculate the similarity between the two vectors corresponding to each control point; Calculate the curvature of each control point according to the coordinates of each control point and its adjacent previous and next control points; The similarity is combined with the curvature of each control point to obtain the deviation degree of each control point.
[0008] In one embodiment, the expression of the deviation is: ; In the formula, Represents the deviation of the i-th control point; represents the absolute value of the curvature of the i-th control point; exp() represents an exponential function with a natural constant as the base; cos() represents the cosine similarity function; , They represent the vector from the ith control point to its adjacent previous control point and the vector from the ith control point to its adjacent next control point respectively.
[0009] In one embodiment, the process of determining the single point influence is as follows: Taking each control point as the starting point, select a preset number of control points including the starting point forward and backward respectively, and organize the coordinates of the control points into a forward control point sequence and a backward control point sequence respectively according to the order of the control points; Based on the difference in trend strength between the forward control point sequence and the backward control point sequence, and the degree of deviation, the single point influence of each control point is obtained.
[0010] In one embodiment, the single point influence is the product of the difference in the trend strength and the deviation.
[0011] In one embodiment, the spatial variation degree is a fusion result of the gradient modulus of the surface of the three-dimensional model of the workpiece at the corresponding point of each control point and the single point influence degree.
[0012] In one embodiment, the dynamic weight factor is determined as follows: Calculate the difference in spatial gradient between each control point and its adjacent previous control point, and record it as the first difference; Calculate the difference in spatial gradient between each control point and its next adjacent control point, and record it as the second difference; The dynamic weight factor is negatively correlated with the first difference and the second difference, respectively, and is positively correlated with the spatial gradient.
[0013] In one embodiment, the expression of the dynamic weight factor is: ; In the formula, represents the dynamic weight factor of the i-th control point; , , Respectively represent the spatial variation degree of the i-1th, i-th, and i+1th control points; represents the normalization function; ε and θ are the parameter adjustment factors, and the value ranges of ε and θ are and .
[0014] In one embodiment, the method for generating the milling curve when the tool feed mills any one of the contour curves is: based on the coordinates and dynamic weight factors of all control points, a NURBS curve interpolation algorithm is used to generate the milling curve when the tool feed mills any one of the contour curves.
[0015] In one embodiment, after the tool feeder completes milling of any one of the contour curves, it automatically returns to the starting point of the next layer of contour curve.
[0016] This application has at least the following beneficial effects: The goal of this application is to plan the optimal path of the tool feeder, and on this basis, control the feed speed of the tool feeder through an acceleration and deceleration control algorithm. First, the control points of the contour curve of the three-dimensional model of the workpiece are obtained, and based on the turning point of the control point distribution at each control point, and the difference in the distribution of the control points in the local range before and after each control point, the single-point influence of each control point is determined, reflecting the importance of each control point to the three-dimensional model of the workpiece and the degree to which the milling curve needs to be close to each control point; Furthermore, based on the steepness of the surface area of the three-dimensional model of the workpiece corresponding to each control point and the difference between adjacent control points, the dynamic weight factor of each control point is obtained, and then the milling curve of the milling contour curve of the cutter feed is obtained, so as to realize the control of the feed speed of the cutter feed; compared with the traditional NURBS curve interpolation algorithm, the present application analyzes the possibility of each control point corresponding to the detail area on the three-dimensional model of the workpiece to evaluate the importance of each control point to the three-dimensional model of the workpiece, and then assigns different dynamic weight factors to different control points, thereby improving the fitting accuracy of the control points, that is, the accuracy of the milling curve, and then improving the control accuracy of the feed speed of the milling machine cutter feed, and obtaining a workpiece with higher accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 A flowchart of the steps of a method for automatically controlling the feed speed of a milling machine tool provided in the present application; Figure 2 The figure is a flow chart of the determination process of the deviation degree; Figure 3 Schematic diagram of the process of obtaining dynamic weight factors; Figure 4 Comparison graph of milling curves generated for the traditional algorithm and this application. DETAILED DESCRIPTION
[0019] In the description of the embodiments of the present application, words such as "exemplary", "or", "for example" and the like are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "or", "for example" and the like is intended to present related concepts in a concrete manner.
[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art in the present application. The terms used in the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. It should be understood that, unless otherwise specified, " / " means or.
[0021] It should also be noted that the terms "first" and "second" in the present application are used to distinguish similar objects rather than to describe a specific order or sequence.
[0022] The specific scheme of the method for automatically controlling the feed speed of a milling machine tool provided by the present application is described in detail below in conjunction with the accompanying drawings.
[0023] An embodiment of the present application provides a method for automatically controlling the feed speed of a milling machine tool feeder. Specifically, the following method is provided for automatically controlling the feed speed of a milling machine tool feeder. Figure 1 , the method comprises the following steps: Step 1: Obtain each control point of any contour curve of the workpiece 3D model.
[0024] The process that a workpiece needs to go through from design to molding is: first, the three-dimensional model of the workpiece is designed through software, that is, the workpiece CAD model; then computer aided manufacturing (CAM) is used to plan the workpiece processing path and tool axis direction, and the feed speed of the tool is set based on the planned path, and the processing path, feed speed and other information are converted into G code; finally, the milling machine CNC system reads the G code and controls the tool feed to process the workpiece according to the predetermined path and speed.
[0025] For any contour curve of the three-dimensional model of the workpiece, the milling curve when the tool feed mills the any contour curve is obtained by using the NURBS curve interpolation algorithm, and the milling curve needs to be as close to the contour curve as possible. W control points of any contour curve are obtained through CAM. Among them, the value of W is preset by humans and can be set by the implementer. In this embodiment, the value of W is 1000. It should be noted that any contour curve is the boundary line of the tangent plane of the three-dimensional model of the workpiece, which is a continuous curve.
[0026] Step 2: Determine the single point influence of each control point based on the distribution of each control point and its neighboring control points of any contour curve.
[0027] In the traditional workpiece processing process, continuous small line segments are directly processed based on control lines. Although the method is simple and direct, it cannot meet the current requirements for high-precision workpieces. The NURBS curve interpolation algorithm obtains a milling curve that is as close to the contour curve of the workpiece three-dimensional model as possible by fitting the trajectory of the control points. In the NURBS curve interpolation algorithm, each control point corresponds to a weight factor, and the weight factor is used to control the degree to which the milling curve is close to the control point. If the weight factor is larger, it means that the control point has a greater attraction to the milling curve, and the milling curve is closer to the control point. If the weight factor is smaller, the control point has a smaller influence on the milling curve, and the milling curve may be farther away from the control point. However, in the traditional NURBS curve interpolation algorithm, each control point is given the same weight factor, which cannot reflect the importance of different control points to the three-dimensional model of the workpiece, resulting in low fitting accuracy of the control points.
[0028] Step 2.1, based on the turning point of the control point distribution at each control point, determine the deviation degree of each control point.
[0029] Since any of the contour curves corresponds to the boundary line of a certain tangent plane of the workpiece three-dimensional model, any of the contour curves is a closed, continuous and smooth curve. Since the control points are distributed along the contour curve, for a single control point, if the turning degree of the adjacent control points of the control point at the control point is greater, the control point is more likely to correspond to the details on the workpiece three-dimensional model, and therefore the control point is more important; on the contrary, if the turning degree is smaller, the control point is more likely to correspond to the flat feature on the workpiece three-dimensional model.
[0030] Based on the above analysis, the deviation of each control point is determined based on the turning point of the control point distribution at each control point. The expression is: ; In the formula, Represents the deviation of the i-th control point; represents the absolute value of the curvature of the i-th control point; exp() represents an exponential function with a natural constant as the base; cos() represents the cosine similarity function; , Respectively represent the vector from the ith control point to its adjacent previous control point and the vector from the ith control point to its adjacent next control point. It should be noted that, since the contour curve is a closed curve, there are adjacent control points before and after each control point. Among them, based on the coordinates of the ith control point and its adjacent previous and next control points, the curvature of the ith control point is calculated. The specific calculation method is a well-known technology and will not be repeated in this application.
[0031] It should be noted that: if the i-th control point corresponds to a detail on the three-dimensional model of the workpiece, the greater the turning point between the line connecting the control point and its adjacent previous control point relative to the line connecting the control point and its adjacent next control point, the smaller the angle between the two vectors and the greater the cosine similarity; at the same time, if the turning point at the control point is greater, the greater the absolute value of the curvature of the i-th control point, the greater the value of the deviation of the i-th control point. The schematic diagram of the deviation determination process is as follows Figure 2 shown.
[0032] Step 2.2, based on the difference in distribution of control points in the adjacent front and rear local ranges of each control point and the deviation degree, determine the single point influence of each control point.
[0033] The deviation is only to measure the importance of each control point through two adjacent control points. However, the control points of the contour curve obtained by CAM are to limit the milling trajectory of the tool feed. Not all control points are located on the contour curve of the workpiece 3D model. Therefore, there may be errors in measuring the importance of each control point to the workpiece only through two adjacent control points. Although not all control points are located on the contour curve of the workpiece 3D model, the control points are distributed along the contour curve. The difference in the distribution trend between the control points in the local range before and after each control point can better illustrate the importance of each control point to the workpiece.
[0034] Based on the above analysis, each control point is taken as the starting point, and a preset number of control points including the starting point are selected forward and backward respectively, and the coordinates of the control points are respectively formed into a forward control point sequence and a backward control point sequence according to the order of the control points. The value of the preset number is preset manually and can be set by the implementer. In this embodiment, the value of the preset number is 10.
[0035] Based on the difference in distribution of control points in the adjacent front and rear local ranges of each control point, as well as the deviation of each control point, the single point influence of each control point is determined, and the expression is: ; In the formula, Represents the single point influence of the i-th control point; Represents the deviation of the i-th control point; , Respectively represent the trend strength of the forward control point sequence and the backward control point sequence of the i-th control point. The trend strength is obtained by: taking the forward control point sequence as an example, the forward control point sequence is decomposed by the STL (Seasonaland Trend decomposition using Loess) algorithm to obtain the trend term and the residual term, and the trend strength formula is used to obtain the trend strength of the i-th control point. The STL algorithm and the trend strength formula are well-known technologies and will not be described in detail in this application.
[0036] It should be noted that: if the distribution trend of control points in the local range before and after the ith control point changes, it means that the ith control point corresponds to a turning point on the shape of the workpiece. Therefore, the difference in trend intensity between the forward control point sequence and the backward control point sequence of the ith control point is large, and the final value of the single point influence of the ith control point is large; on the contrary, if the ith control point corresponds to a relatively flat position on the workpiece, the distribution trend of control points in the local range before and after the ith control point will not change significantly, and the final value of the single point influence of the ith control point is small.
[0037] Step 3: Based on the steepness of the workpiece three-dimensional model surface at the corresponding point of each control point and in combination with the single point influence, determine the spatial gradient of each control point.
[0038] The single-point influence can control the degree to which the milling curve is close to each control point, so that the milling curve fits the contour curve of the workpiece three-dimensional model. However, the single-point influence only measures the importance of each control point to the workpiece three-dimensional model from a two-dimensional perspective. The workpiece is actually a three-dimensional object. In order to avoid errors in measuring the importance of each control point to the workpiece three-dimensional model only through two-dimensional information, further analysis is required in combination with the three-dimensional model of the workpiece.
[0039] If the surface of the workpiece 3D model is steeper at the corresponding point of a certain control point, it means that the control point is more likely to correspond to the detailed area of the workpiece 3D model, so the milling curve should be closer to the control point; on the contrary, if the surface of the workpiece 3D model is flatter at the corresponding point of a certain control point, the control point corresponds to a relatively flat area on the workpiece 3D model, and the milling curve should be closer to the control point to avoid overfitting.
[0040] Based on the above analysis, the gradient modulus of the workpiece 3D model surface at the corresponding point of each control point and the fusion result of the single point influence are used as the spatial variation degree of each control point. The calculation of the gradient is a well-known technology and will not be described in detail in this application.
[0041] It should be understood that fusion refers to combining multiple independent variables in a way that enhances the overall effect, such as additive relationship, multiplicative relationship, etc. Implementers can define it according to actual conditions.
[0042] In this embodiment, the sum of the gradient modulus of the surface of the three-dimensional model of the workpiece at the corresponding point of each control point and the single point influence degree is used as the spatial variation degree of each control point.
[0043] In another embodiment, the product of the gradient modulus of the surface of the three-dimensional model of the workpiece at the corresponding point of each control point and the single point influence degree is used as the spatial variation degree of each control point.
[0044] It should be noted that the gradient modulus of the workpiece three-dimensional model surface at the corresponding points of each control point can reflect the steepness of the workpiece three-dimensional model surface at the corresponding points of each control point. If the gradient modulus is larger, it means that each control point corresponds to a steeper area on the workpiece three-dimensional model. At this time, the milling curve needs to be closer to the control point, and the value of the spatial gradient is larger; on the contrary, if the gradient modulus is smaller, it means that each control point corresponds to a flatter area on the workpiece three-dimensional model, and the value of the spatial gradient is smaller.
[0045] Step 4: Determine the dynamic weight factor of each control point based on the spatial gradient of each control point and its difference with respect to the spatial gradient of adjacent control points.
[0046] The gradient of the workpiece 3D model at the corresponding point of each control point is used to characterize the steepness of the workpiece 3D model surface corresponding to each control point, and to evaluate the degree to which the milling curve is close to each control point. In order to make the final milling curve smoother, the degree to which the milling curve is close to adjacent control points cannot differ too much, otherwise the milling curve will easily become a broken line segment based on the control point, affecting the machining accuracy of the workpiece.
[0047] Based on the above analysis, the dynamic weight factor of each control point is determined based on the spatial gradient of each control point and its difference relative to the spatial gradient of adjacent control points. The expression is: ; In the formula, represents the dynamic weight factor of the i-th control point; , , Respectively represent the spatial variation degree of the i-1th, i-th, and i+1th control points; represents the normalization function; ε and θ are adjustment factors, the purpose is to avoid the denominator being too large or too small, which causes the dynamic weight factor to exceed the reasonable range. The value ranges of ε and θ are and The values of ε and θ are preset manually. On the basis of meeting the value range, the implementer can set them according to their own needs. In this embodiment, the values of ε and θ are 3 and 0.2 respectively.
[0048] In this embodiment, the Min-Max normalization method is used for normalization processing. As other implementation methods, on the basis of achievable normalization processing, the implementer can use other existing technologies for normalization processing, such as the Z-Score normalization method, the decimal calibration normalization method, etc., and this application does not make any special restrictions.
[0049] It should be noted that: the more the control point can represent the detailed information of the contour curve, the larger its dynamic weight factor is, so as to improve the degree of the milling curve close to the control point; at the same time, the difference between the i-th control point and the previous and next control points is used to limit the dynamic weight factor of the i-th control point, so as to avoid the milling curve being too close to the i-th control point, resulting in the defect of the milling curve being not smooth. The schematic diagram of the process of obtaining the dynamic weight factor is shown in the figure. Figure 3 shown.
[0050] Step 5: Generate a milling curve when the cutter feed mills any one of the contour curves based on the dynamic weight factor, and control the feed speed of the cutter feed of the milling machine by using an acceleration and deceleration control algorithm based on the milling curve.
[0051] Based on the coordinates and dynamic weights of all control points, a NURBS curve interpolation algorithm is used to generate a milling curve when the cutter mills any of the contour curves. The milling curve represents the path of the cutter. A comparison of the milling curves generated by the traditional algorithm and the present application is shown in FIG. Figure 4 As shown in the figure, the control line is the connecting line between the control points. It can be seen from the figure that compared with the traditional algorithm, the milling curve generated by the present application has higher fitting accuracy for the control points.
[0052] Based on the obtained milling curve, an S-type acceleration and deceleration control algorithm is used to control the feed speed of the milling machine feeder. When the feeder is milling along the milling curve, in order to improve the machining accuracy of the workpiece, the bow height error is used for constraint. Among them, the maximum value of the bow height error is preset manually, and the implementer can limit it according to the actual situation. In this embodiment, the maximum value of the bow height error is 0.02. Among them, the use of an S-type acceleration and deceleration control algorithm to control the feed speed of the milling machine feeder is a well-known technology, and this application will not repeat it.
[0053] In addition, the milling machine's tool feed has an automatic retraction function, that is, if there are multiple layers of contour curves in the three-dimensional model of the workpiece, the tool feed will automatically retract to the starting position of the next layer of contour curve after milling any of the contour curves, thereby avoiding the tool feed from repeatedly moving to its initial position and improving work efficiency.
[0054] In summary, the present application first obtains the control points of the contour curve of the workpiece three-dimensional model, and determines the single-point influence of each control point based on the turning point of the control point distribution at each control point and the difference in the distribution of the control points in the local range before and after each control point, reflecting the importance of each control point to the workpiece three-dimensional model and the degree to which the milling curve needs to be close to each control point; Furthermore, based on the steepness of the surface area of the three-dimensional model of the workpiece corresponding to each control point and the difference between adjacent control points, the dynamic weight factor of each control point is obtained, and then the milling curve of the milling contour curve of the cutter feed is obtained, so as to realize the control of the feed speed of the cutter feed; compared with the traditional NURBS curve interpolation algorithm, the present application analyzes the possibility of each control point corresponding to the detail area on the three-dimensional model of the workpiece to evaluate the importance of each control point to the three-dimensional model of the workpiece, and then assigns different dynamic weight factors to different control points, thereby improving the fitting accuracy of the control points, that is, the accuracy of the milling curve, and then improving the control accuracy of the feed speed of the milling machine cutter feed, and obtaining a workpiece with higher accuracy.
[0055] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
[0056] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the basic features of the present application. Therefore, no matter from which point of view, the above embodiments of the present application should be regarded as exemplary and non-restrictive.
Claims
1. A method for automatically controlling the feed speed of a milling machine tool feeder, characterized in that: The method comprises the following steps: Obtaining each control point of any contour curve of the workpiece three-dimensional model; Determine the deviation of each control point based on the turning point of the control point distribution at each control point; Determine the single point influence of each control point based on the difference in distribution between control points in the adjacent front and rear local ranges of each control point and the deviation degree; Based on the steepness of the surface of the three-dimensional model of the workpiece at the corresponding point of each control point, combined with the single point influence, the spatial gradient of each control point is determined; Determine the dynamic weight factor of each control point based on the spatial variation degree of each control point and its difference with respect to the spatial variation degree of adjacent control points; A milling curve when a cutter cuts any one of the contour curves is generated based on the dynamic weight factor, and a feed speed of the cutter cutter of the milling machine is controlled based on the milling curve using an acceleration and deceleration control algorithm.
2. The method for automatically controlling the feed speed of a milling machine tool feeder according to claim 1, characterized in that: The process of determining the deviation is as follows: Get the vector from each control point to its adjacent previous control point, and the vector from each control point to its adjacent next control point; Calculate the similarity between the two vectors corresponding to each control point; Calculate the curvature of each control point according to the coordinates of each control point and its adjacent previous and next control points; The similarity is combined with the curvature of each control point to obtain the deviation degree of each control point.
3. A method for automatically controlling the feed speed of a milling machine tool feeder as claimed in claim 2, characterized in that: The expression of the deviation is: ; In the formula, Represents the deviation of the i-th control point; represents the absolute value of the curvature of the i-th control point; exp() represents an exponential function with a natural constant as the base; cos() represents the cosine similarity function; , They represent the vector from the ith control point to its adjacent previous control point and the vector from the ith control point to its adjacent next control point respectively.
4. The method for automatically controlling the feed speed of a milling machine tool feeder according to claim 1, characterized in that: The process of determining the single point influence is as follows: Taking each control point as the starting point, select a preset number of control points including the starting point forward and backward respectively, and organize the coordinates of the control points into a forward control point sequence and a backward control point sequence respectively according to the order of the control points; Based on the difference in trend strength between the forward control point sequence and the backward control point sequence, and the degree of deviation, the single point influence of each control point is obtained.
5. The method for automatically controlling the feed speed of a milling machine tool feeder according to claim 4, characterized in that: The single point influence is the product of the difference in the trend strength and the deviation.
6. The method for automatically controlling the feed speed of a milling machine tool feeder according to claim 1, characterized in that: The spatial variation degree is a fusion result of the gradient modulus of the surface of the three-dimensional model of the workpiece at the corresponding point of each control point and the single point influence degree.
7. The method for automatically controlling the feed speed of a milling machine tool feeder according to claim 1, characterized in that: The determination process of the dynamic weight factor is: Calculate the difference in spatial gradient between each control point and its adjacent previous control point, and record it as the first difference; Calculate the difference in spatial gradient between each control point and its next adjacent control point, and record it as the second difference; The dynamic weight factor is negatively correlated with the first difference and the second difference, respectively, and is positively correlated with the spatial variation degree.
8. The method for automatically controlling the feed speed of a milling machine tool feeder according to claim 7, characterized in that: The expression of the dynamic weight factor is: ; In the formula, represents the dynamic weight factor of the i-th control point; , , Respectively represent the spatial variation degree of the i-1th, i-th, and i+1th control points; represents the normalization function; ε and θ are the parameter adjustment factors, and the value ranges of ε and θ are and .
9. The method for automatically controlling the feed speed of a milling machine tool feeder according to claim 1, characterized in that: The method for generating the milling curve when the tool feed mills any of the contour curves is: based on the coordinates of all control points and dynamic weight factors, a NURBS curve interpolation algorithm is used to generate the milling curve when the tool feed mills any of the contour curves.
10. The method for automatically controlling the feed speed of a milling machine tool feeder according to claim 1, characterized in that: After the tool feeder completes milling of any of the contour curves, it automatically returns to the starting point of the next layer of contour curve.
Citation Information
Patent Citations
Three-dimensional modeling method and device for trajectory of curve-tooth bevel gear milling blade
CN109062143A
High-speed precision machining system and method for complex curved surface machining
CN111413923A
Efficient industrial robot processing energy-saving trajectory planning method under high-order complex constraint condition
CN113977573A
Continuous short line segment corner processing path smoothing method
CN117666475A
Numerically controlled curved surface machining unit
US20020002420A1
Cited By
Vertical and horizontal integrated gantry boring, milling and grinding composite numerical control machine tool and control method
CN121657571A
