Dynamic error compensation method and system for turning-milling swing head based on multi-axis linkage
By extracting the task feature vector of the milling head and constructing a multi-axis reference coordinate system, performing coordinate transformation and error modeling, and solving the compensation angle, the problem of dynamic error compensation caused by the accumulation of multi-axis assembly errors is solved, thereby improving machining accuracy and surface quality.
Patent Information
- Application Number
- CN202511453904.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-13
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2045-10-13
AI Technical Summary
In the prior art, the assembly angle errors of multiple rotary axes accumulate during machine tool operation, making dynamic error compensation difficult and affecting machining accuracy and surface quality.
By extracting the task feature vector of the milling head, multiple linkage axes and their coordinate systems are identified, a multi-axis reference coordinate system is constructed, coordinate system transformation is performed, a multi-axis linkage error model is established, trajectory deviation is analyzed, and compensation angles are calculated for correction.
It achieves dynamic compensation for multi-axis linkage errors, eliminates the impact of error accumulation, and improves machining accuracy and surface quality.
Smart Images

Figure CN120909223B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application relates to the technical field of machine tools, in particular to a dynamic error compensation method and system for a turning-milling-swing head based on multi-axis linkage. BACKGROUND
[0002] As a key functional component for realizing multi-axis linkage machining of a turning-milling compound machine tool, the turning-milling-swing head can flexibly adjust the tool posture and machining path through the cooperative movement of multiple rotating shafts and translating shafts, thereby providing great freedom and flexibility for complex curved surface machining and greatly expanding the machining range and process capability of the machine tool. However, during the assembly of the machine tool, assembly angle errors inevitably exist between the multiple rotating shafts. These initial errors continuously accumulate and transmit with the linkage movement of the shafts during the operation of the machine tool, thereby continuously accumulating dynamic errors. The existence of these dynamic errors causes significant deviation between the actual tool movement trajectory and the theoretical programmed trajectory, thereby leading to quality problems such as shape error, size out-of-tolerance and surface waviness of the machined surface, which seriously restricts the machining precision and surface quality of complex parts. SUMMARY
[0003] The application provides a dynamic error compensation method and system for a turning-milling-swing head based on multi-axis linkage, which solves the technical problem of difficult dynamic error compensation caused by the accumulation of assembly angle errors of multiple rotating shafts in the prior art.
[0004] In a first aspect, the application provides a dynamic error compensation method for a turning-milling-swing head based on multi-axis linkage, which comprises:
[0005] extracting a task feature vector of the turning-milling-swing head; identifying a plurality of linkage shafts associated with the turning-milling-swing head and a plurality of coordinate systems corresponding to the plurality of linkage shafts according to the task feature vector; constructing a multi-axis reference coordinate system, performing coordinate system conversion on each shaft in the plurality of linkage shafts according to the multi-axis reference coordinate system, and outputting a plurality of converted coordinate systems; performing multi-axis linkage error modeling according to the plurality of converted coordinate systems, outputting a multi-axis linkage error model, inputting the task feature vector into the constructed multi-axis linkage error model for multi-axis error analysis, and outputting a trajectory deviation vector of the task feature vector; solving a plurality of compensation angles corresponding to the plurality of linkage shafts according to the trajectory deviation vector, and executing correction of the plurality of compensation angles by the plurality of linkage shafts in the plurality of converted coordinate systems.
[0006] In a second aspect, the application provides a dynamic error compensation system for a turning-milling-swing head based on multi-axis linkage, which comprises:
[0007] The feature extraction module is used for extracting a task feature vector of the swing head of the truck-milling machine; the identification module is used for identifying a plurality of linkage shafts associated with the swing head of the truck-milling machine and a plurality of coordinate systems corresponding to the plurality of linkage shafts according to the task feature vector; the coordinate conversion module is used for constructing a multi-shaft reference coordinate system, performing coordinate system conversion on each shaft in the plurality of linkage shafts according to the multi-shaft reference coordinate system, and outputting a plurality of converted coordinate systems; the error analysis module is used for performing multi-shaft linkage error modeling according to the plurality of converted coordinate systems, outputting a multi-shaft linkage error model, inputting the task feature vector into the constructed multi-shaft linkage error model to perform multi-shaft error analysis, and outputting a trajectory deviation vector of the task feature vector; and the correction module is used for solving a plurality of compensation angles corresponding to the plurality of linkage shafts according to the trajectory deviation vector, and performing correction of the plurality of compensation angles by the plurality of linkage shafts in the plurality of converted coordinate systems.
[0008] One or more technical solutions provided in the present application have at least the following technical effects or advantages:
[0009] First, the task feature vector of the swing head of the truck-milling machine is extracted. Then, a plurality of linkage shafts associated with the swing head of the truck-milling machine and a plurality of coordinate systems corresponding to the plurality of linkage shafts are identified according to the task feature vector. Then, a multi-shaft reference coordinate system is constructed, coordinate system conversion is performed on each shaft in the plurality of linkage shafts according to the multi-shaft reference coordinate system, and a plurality of converted coordinate systems are output. Further, multi-shaft linkage error modeling is performed according to the plurality of converted coordinate systems, a multi-shaft linkage error model is output, the task feature vector is input into the constructed multi-shaft linkage error model to perform multi-shaft error analysis, and a trajectory deviation vector of the task feature vector is output. Finally, a plurality of compensation angles corresponding to the plurality of linkage shafts are solved according to the trajectory deviation vector, and correction of the plurality of compensation angles by the plurality of linkage shafts in the plurality of converted coordinate systems is performed. The technical problem of difficulty in dynamic error compensation caused by error accumulation of a plurality of rotating shaft assembly angles in the prior art is solved. By repositioning the coordinate systems of the plurality of shafts involved in the current task, the influence of error accumulation is eliminated, thereby achieving the technical effect of dynamic error compensation. BRIEF DESCRIPTION OF DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creating laborious work.
[0011] Figure 1 A flowchart of a truck-milling swing head dynamic error compensation method based on multi-shaft linkage provided by the embodiments of the present application is shown in the figure.
[0012] Figure 2A structure schematic diagram of a turning-milling swing head provided by an embodiment of the present application is provided.
[0013] Figure 3 A structure schematic diagram of a turning-milling swing head dynamic error compensation system based on multi-axis linkage provided by an embodiment of the present application is provided.
[0014] Legend: turning-milling swing head 1, cutter 2, feature extraction module 11, identification module 12, coordinate conversion module 13, error analysis module 14, correction module 15. DETAILED DESCRIPTION
[0015] The present application provides a turning-milling swing head dynamic error compensation method and system based on multi-axis linkage, which solves the technical problem of difficulty in dynamic error compensation caused by accumulation of assembly angle error of multiple rotating shafts in the prior art.
[0016] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.
[0017] It should be noted that the terms "comprising" and "having" are intended to cover non-exclusive inclusion, for example, a process, method, system, product or server comprising a series of steps or units need not be limited to only those steps or units clearly listed, but can include other steps or modules not clearly listed or inherent to the process, method, product or device.
[0018] Embodiment one, as shown in the present application provides a turning-milling swing head dynamic error compensation method based on multi-axis linkage, wherein the method comprises: Figure 1
[0019] Extracting a task feature vector of the turning-milling swing head.
[0020] By collecting the working parameters of the turning-milling swing head, the task feature vector is obtained, which includes but is not limited to the rotating angle, feed speed, workpiece material, cutting force, cutting depth, rotating speed and cutter position of the turning-milling swing head.
[0021] According to the task feature vector, a plurality of linkage shafts associated with the turning-milling swing head and a plurality of coordinate systems corresponding to the plurality of linkage shafts are identified.
[0022] In the embodiments of the present application, the plurality of linkage shafts of the turning-milling swing head, as shown in Figure 2 As shown, it includes three linkage shafts: A shaft, B shaft, C shaft, each corresponding to an independent motion degree of freedom in the turning and milling machine tool, wherein the A shaft rotates around the X axis, the B shaft rotates around the Y axis, and the C shaft rotates around the main shaft. Each linkage shaft has its own independent local coordinate system, which represents the rotation angle of the shaft and its position in the local coordinate system; each linkage shaft (A, B, C shaft) jointly acts during processing, determining the spatial position of the turning and milling head and the processing trajectory.
[0023] The task feature vector extracts various operating parameters of the turning and milling head, such as position, cutting force, and rotation speed. According to the data in these feature vectors, the motion state related to each linkage shaft (such as A shaft, B shaft, C shaft) is identified, where the X, Y, Z axes mainly control the position change, and the A, B, C axes are responsible for the change of rotation angle. Each linkage shaft has an independent local coordinate system, which reflects the dynamic behavior of each shaft. Through the coordinate transformation matrix, a mapping relationship between the local coordinate system and the global coordinate system is established, ensuring that the motion of each linkage shaft can be described in the global coordinate system.
[0024] A multi-axis reference coordinate system is constructed, and each axis in the plurality of linkage shafts is subjected to coordinate system conversion according to the multi-axis reference coordinate system, outputting a plurality of converted coordinate systems.
[0025] In the embodiments of the present application, a multi-axis reference coordinate system is constructed, which serves as a unified reference system for the motion of all linkage shafts. A stable reference point is usually selected as the reference, such as the fixed part of the turning and milling machine tool or the center point of the overall working space.
[0026] The system converts the coordinate system of each linkage shaft (such as A shaft, B shaft, C shaft) using a coordinate transformation matrix according to the multi-axis reference coordinate system, ensuring that all motion and position parameters can be processed and analyzed in a unified coordinate system. After coordinate conversion, a plurality of converted coordinate systems are output, each of which maintains an accurate spatial relationship with the reference coordinate system, allowing subsequent error modeling, compensation, and motion trajectory optimization to be based on a unified coordinate system.
[0027] Further, the method of converting the coordinate system of each axis in the plurality of linkage shafts according to the multi-axis reference coordinate system includes:
[0028] According to the multi-axis reference coordinate system, the installation position error and translational and rotational deviation of each coordinate system in the plurality of coordinate systems are obtained; the transformation matrix corresponding to each coordinate system is represented according to the installation position error and translational and rotational deviation, and a plurality of transformation matrices are output; the coordinate system of each axis in the plurality of linkage shafts is converted according to the plurality of transformation matrices, and a plurality of converted coordinate systems are output.
[0029] Specifically, according to the multi-axis reference coordinate system, installation position errors and translational and rotational deviations of each coordinate system corresponding to the plurality of linkage axes are obtained, wherein the installation position error refers to the deviation position of the local coordinate system of each linkage axis relative to the reference coordinate system, and the translational and rotational deviation refers to the deviation between the direction and position of the local coordinate system of each axis and the expected ideal coordinate system. The system constructs a transformation matrix corresponding to each coordinate system according to the obtained installation position error and translational and rotational deviation, the transformation matrix including a translational matrix and a rotational matrix, wherein the translational matrix describes the position offset of the coordinate system in space, and the rotational matrix describes the rotation angle of the coordinate system in space. By substituting the error parameters of each linkage axis, the transformation matrix corresponding to each coordinate system can be calculated. The calculated plurality of transformation matrices are used to convert the coordinate systems of the plurality of linkage axes; each local coordinate system is transformed into the multi-axis reference coordinate system through matrix operation, and a plurality of converted coordinate systems are output.
[0030] According to the plurality of converted coordinate systems, a multi-axis linkage error model is constructed, and a multi-axis error analysis is performed by inputting the task feature vector into the constructed multi-axis linkage error model, and a trajectory deviation vector of the task feature vector is output.
[0031] The system extracts error parameters in each converted coordinate system, and establishes an error vector in each converted coordinate system according to the error parameters, each error vector reflecting how the error of the linkage axis affects the overall motion trajectory in the coordinate system. The error vectors in all converted coordinate systems are concatenated to construct a multi-axis linkage error model, which comprehensively considers the error influence of each linkage axis and describes how the coupling error between the linkage axes is manifested in the overall task. The task feature vector is input into the constructed multi-axis linkage error model for multi-axis error analysis, and a trajectory deviation vector of the task feature vector is output, which represents the deviation caused by the multi-axis linkage error during task execution, including position deviation and attitude deviation.
[0032] Further, according to the plurality of converted coordinate systems, a multi-axis linkage error model is constructed, and a multi-axis error analysis is performed by inputting the task feature vector into the constructed multi-axis linkage error model, and a trajectory deviation vector of the task feature vector is output.
[0033] The linkage error parameters of the plurality of converted coordinate systems are extracted, the linkage error parameters including transmission error, thermal error and stiffness error; an error vector formula in each converted coordinate system is established according to the linkage error parameters; and a plurality of error vector formulas corresponding to the plurality of converted coordinate systems are concatenated to construct a multi-axis linkage error model.
[0034] Specifically, the system extracts linkage error parameters in multiple conversion coordinate systems. The linkage error parameters include transmission errors, thermal errors, and stiffness errors; the transmission errors refer to errors transmitted from one linkage shaft to another, which are usually caused by factors such as clearances and friction in mechanical transmission systems; the thermal errors are caused by material expansion or contraction due to temperature changes, resulting in changes in the geometric shape of the shaft; and the stiffness errors are caused by insufficient system stiffness, resulting in deformation of the linkage shaft and affecting the machining precision. The system establishes an error vector formula for each conversion coordinate system according to the extracted linkage error parameters, and the error vector formula is used to describe the error type and its size in the coordinate system. The error vector formula defines how errors affect the movement of the linkage shaft through mathematical expressions. The system cascades multiple error vector formulas corresponding to multiple conversion coordinate systems; by cascading the error vector formulas, local errors in each coordinate system can be gradually accumulated to reflect how errors of each linkage shaft propagate in the entire multi-axis system; by combining each error vector formula together, the mutual influence between the shafts is considered, and finally a complete multi-axis linkage error model is formed.
[0035] Further, the expression of the multi-axis linkage error model is:
[0036] ; wherein, , is the Jacobian matrix of the i-th shaft, which is used to map the local error to the end shaft, is the pose of the end shaft during multi-axis linkage, is the current shaft angle of the i-th linkage shaft, and n is the number of linkage shafts; is the error vector formula of the i-th shaft, is the transmission error of the i-th linkage shaft, is the thermal drift error of the i-th linkage shaft, is the stiffness deformation error of the i-th linkage shaft.
[0037] Jacobian matrix is used to map the local error to the movement of the end shaft, specifically, represents the position and attitude (pose) of the end shaft during multi-axis linkage, and is the current shaft angle of the i-th linkage shaft. The role of the Jacobian matrix is to convert the errors on each linkage shaft into actual movement errors of the end shaft according to their respective motion influences. The system can accurately map the local error to the end pose by calculating the Jacobian matrix.
[0038] is the error vector formula of the i-th shaft, which represents the error source of the shaft. The error vector includes: is the transmission error of the i-th linkage shaft, thermal drift error of the ith linkage axis, stiffness deformation error of the ith linkage axis. By incorporating these error sources 、 、 into the error vector equation, the system can accurately calculate the error of each axis in actual motion and pass it to the end axis, building a complete multi-axis linkage error model.
[0039] The multi-axis linkage error model expresses how the local errors of each linkage axis are mapped to the pose change of the end effector through the Jacobian matrix. Specifically, the Jacobian matrix converts the errors of each axis (transmission error, thermal drift error, and stiffness deformation error) into the displacement and attitude deviation of the end effector. The errors of all axes form the total trajectory deviation , i.e., the multi-axis linkage error.
[0040] Further, inputting the task feature vector into the constructed multi-axis linkage error model for multi-axis error analysis, outputting the trajectory deviation vector of the task feature vector, the method comprises:
[0041] inputting the task feature vector into the constructed multi-axis linkage error model, obtaining a multi-axis transmission chain according to the multi-axis execution sequence; calculating the actual pose of each axis affected by the error according to the multi-axis transmission chain, comparing the actual pose of each axis with the expected pose to obtain a trajectory deviation vector, the trajectory deviation vector comprising a position deviation and an attitude deviation.
[0042] The system inputs the task feature vector into the constructed multi-axis linkage error model. Then, a multi-axis transmission chain is obtained according to the multi-axis execution sequence, which describes how each linkage axis transmits motion and error through interaction. These transmission chains reflect the mutual relationship and error transmission path between the axes. Next, the system calculates the actual pose of each axis affected by the error according to the multi-axis transmission chain. The actual pose represents the actual position and attitude of each axis in the multi-axis linkage system after considering the error. The system obtains the pose of each axis affected by the error during operation by accurately calculating the motion of each axis. The system compares the actual pose of each axis with the expected pose to obtain a trajectory deviation vector, which includes a position deviation and an attitude deviation. The position deviation represents the position error of each axis in space, and the attitude deviation represents the angle or direction error of the axis.
[0043] According to the trajectory deviation vector, a plurality of compensation angles corresponding to the plurality of linkage axes are solved, and the plurality of linkage axes execute correction of the plurality of compensation angles in the plurality of conversion coordinate systems.
[0044] The system calculates the compensation angle required by each linkage shaft according to the obtained trajectory deviation vector. By analyzing the trajectory deviation vector, the system can determine the compensation angle of each linkage shaft, thereby adjusting the motion trajectory of each shaft. The system corrects in combination with multiple conversion coordinate systems according to the compensation angle of each linkage shaft. The compensation angle of each linkage shaft is applied in its corresponding conversion coordinate system, ensuring that the compensation angle can accurately reflect the relative relationship between the shafts and the motion state of the multi-axis system. By performing correction in the conversion coordinate system, the system can fine-tune the motion accuracy of each linkage shaft, compensating for deviations caused by linkage errors, thermal drift, transmission errors, and other factors.
[0045] Further, solving the plurality of compensation angles corresponding to the plurality of linkage shafts according to the trajectory deviation vector, the method comprises:
[0046] constructing a target correction vector according to the trajectory deviation vector; and inversely solving the multi-axis linkage error model with the target correction vector as the target, and outputting the plurality of compensation angles corresponding to the plurality of linkage shafts.
[0047] The system constructs a target correction vector according to the trajectory deviation vector, and the target correction vector describes the adjustment amount required by each shaft. Using the target correction vector, the compensation angle corresponding to each linkage shaft is solved by an inverse calculation method (such as pseudo-Jacobian matrix or weighted least squares method). The pseudo-Jacobian matrix, as the inverse matrix of error propagation, can map the trajectory deviation of the end effector back to each linkage shaft, thereby obtaining the compensation angle. After inverse calculation, a plurality of compensation angles corresponding to each linkage shaft are output, which represent how each shaft should adjust its position and attitude to correct the trajectory deviation.
[0048] Further, inversely solving the multi-axis linkage error model with the target correction vector as the target, the expression is:
[0049] ; wherein, is the plurality of compensation angles corresponding to the plurality of linkage shafts, is the pseudo-Jacobian matrix of the multi-axis linkage error model, is the trajectory deviation vector including position deviation and attitude deviation.
[0050] is the plurality of compensation angles corresponding to the plurality of linkage shafts, the compensation angle is calculated by the system according to the trajectory deviation vector, and is used to adjust the motion trajectory of each linkage shaft to compensate for the deviation caused by errors. is the pseudo-Jacobian matrix of the multi-axis linkage error model, which is used to map between the error vector and the actual shaft angle. In a multi-axis linkage system, the pseudo-Jacobian matrix The pseudo-Jacobian matrix is used to solve the multi-axis linkage error adjustment problem caused by system errors. The trajectory deviation vector includes position deviation and attitude deviation; the position deviation represents the position deviation of the end effector in space caused by error accumulation during multi-axis linkage; the attitude deviation reflects the deviation of the angle or direction of the end effector.
[0051] By using the pseudo-Jacobian matrix The trajectory deviation of the end effector is converted into compensation angles of each linkage axis Thus, the trajectory deviation caused by errors is corrected.
[0052] Further, the method further comprises:
[0053] Key axis analysis is performed on the plurality of linkage axes to obtain a plurality of key indicators; based on the plurality of key indicators, a plurality of key weights are configured; and based on the weighted least squares method, the multi-axis linkage error model is fed back by the plurality of key weights to output updated compensation angles.
[0054] Preferably, key axis analysis is performed on the plurality of linkage axes to obtain a plurality of key indicators, that is, the axes that have the greatest impact on the overall accuracy in the multi-axis linkage system are identified, which are usually the axes that are greatly affected by factors such as stress, stiffness, and thermal changes. For example, some axes may have a greater impact on the attitude change of the end effector, while other axes mainly affect the position accuracy. Through this analysis, a plurality of key indicators are extracted, including the sensitivity of the axis, the degree of influence of the error on the pose, and the role of each axis in the task.
[0055] Based on the plurality of key indicators, the system configures a plurality of key weights, which are used to reflect the relative contribution of each linkage axis to the system accuracy. By weighting the influence of different axes, the system can assign different priorities to each axis to ensure that axes with greater impact on accuracy are more accurately compensated. The system feeds back the multi-axis linkage error model based on the weighted least squares method with the plurality of key weights; the weighted least squares method optimizes the calculation of compensation angles by minimizing the weighted sum of squared errors. After feedback solving by the weighted least squares method, the updated compensation angles are output. These compensation angles are optimized by weights and more accurately correct the errors in the multi-axis linkage system to ensure that the motion accuracy of each linkage axis is maximally improved.
[0056] Further, the expression for feeding back the multi-axis linkage error model based on the weighted least squares method with the plurality of key weights is:
[0057] ; wherein, is a plurality of compensation angles corresponding to the plurality of linkage axes, is a transpose matrix of the Jacobian matrix, is the Jacobian matrix, is a weight matrix constructed by a plurality of key weights, is a trajectory deviation vector including position deviation and attitude deviation.
[0058] Specifically, a weighted matrix is calculated using a Jacobian matrix and a weight matrix , the weighted matrix combines the error propagation characteristics of each linkage axis and the weight information of the key axis. The inverse matrix of the weighted least squares is calculated , and is applied to the trajectory deviation vector to inversely calculate the compensation angle . .
[0059] To sum up, the embodiments of the present application have at least the following technical effects:
[0060] First, the task feature vector of the turning-milling swing head is extracted. Then, according to the task feature vector, a plurality of linkage axes associated with the turning-milling swing head and a plurality of coordinate systems corresponding to the plurality of linkage axes are identified. Then, a multi-axis reference coordinate system is constructed, and each axis in the plurality of linkage axes is subjected to coordinate system conversion according to the multi-axis reference coordinate system, and a plurality of converted coordinate systems are output. Further, multi-axis linkage error modeling is performed according to the plurality of converted coordinate systems, and a multi-axis linkage error model is output. The task feature vector is input into the constructed multi-axis linkage error model for multi-axis error analysis, and a trajectory deviation vector of the task feature vector is output. Finally, a plurality of compensation angles corresponding to the plurality of linkage axes are solved according to the trajectory deviation vector, and the plurality of linkage axes execute correction of the plurality of compensation angles under the plurality of converted coordinate systems. The technical problem of difficulty in dynamic error compensation caused by error accumulation of a plurality of rotating shaft assembly angles in the prior art is solved. By repositioning the coordinate system of the plurality of axes involved in the current task, the influence of error accumulation is eliminated, thereby achieving the technical effect of dynamic error compensation.
[0061] Embodiment two, based on the same inventive concept as the multi-axis linkage based turning-milling swing head dynamic error compensation method in the foregoing embodiments, as shown in Figure 3 , the present application provides a multi-axis linkage based turning-milling swing head dynamic error compensation system, wherein the system comprises:
[0062] The feature extraction module 11 is configured to extract a task feature vector of the swing head of the road milling machine; the identification module 12 is configured to identify, according to the task feature vector, a plurality of linkage shafts associated with the swing head of the road milling machine and a plurality of coordinate systems corresponding to the plurality of linkage shafts; the coordinate conversion module 13 is configured to construct a multi-shaft reference coordinate system, perform coordinate system conversion on each shaft in the plurality of linkage shafts according to the multi-shaft reference coordinate system, and output a plurality of converted coordinate systems; the error analysis module 14 is configured to perform multi-shaft linkage error modeling according to the plurality of converted coordinate systems, output a multi-shaft linkage error model, input the task feature vector into the constructed multi-shaft linkage error model to perform multi-shaft error analysis, and output a trajectory deviation vector of the task feature vector; and the correction module 15 is configured to solve a plurality of compensation angles corresponding to the plurality of linkage shafts according to the trajectory deviation vector, and perform correction of the plurality of compensation angles on the plurality of linkage shafts under the plurality of converted coordinate systems.
[0063] Further, the coordinate conversion module 13 is configured to perform the following method:
[0064] According to the multi-shaft reference coordinate system, the installation position error and the translational and rotational deviation of each coordinate system in the plurality of coordinate systems are obtained; a transformation matrix corresponding to each coordinate system is represented according to the installation position error and the translational and rotational deviation, and a plurality of transformation matrices are output; and coordinate system conversion is performed on each shaft in the plurality of linkage shafts according to the plurality of transformation matrices, and a plurality of converted coordinate systems are output.
[0065] Further, the error analysis module 14 is configured to perform the following method:
[0066] The linkage error parameters of the plurality of converted coordinate systems are extracted, the linkage error parameters including transmission errors, thermal errors and stiffness errors; an error vector formula under each converted coordinate system is established according to the linkage error parameters; and a plurality of error vector formulas corresponding to the plurality of converted coordinate systems are concatenated to construct a multi-shaft linkage error model.
[0067] Further, the error analysis module 14 is configured to perform the following method:
[0068] The expression of the multi-shaft linkage error model is: ; wherein, , is the Jacobian matrix of the i th shaft, which is used to map the local error to the end shaft, is the pose of the end shaft during multi-shaft linkage, is the current shaft angle of the i th linkage shaft, and n is the number of linkage shafts; is the error vector formula of the i th shaft, is the transmission error of the i th linkage shaft, is the thermal drift error of the i th linkage shaft, Stiffness deformation error of the ith linkage axis.
[0069] Further, the error analysis module 14 is configured to perform the following method:
[0070] inputting the task feature vector into the built multi-axis linkage error model, obtaining a multi-axis transfer chain according to a multi-axis execution sequence; calculating an actual pose of the task feature vector at each axis affected by the error according to the multi-axis transfer chain, comparing the actual pose of each axis with an expected pose to obtain a trajectory deviation vector, the trajectory deviation vector including a position deviation and an attitude deviation.
[0071] Further, the correction module 15 is configured to perform the following method:
[0072] constructing a target correction vector according to the trajectory deviation vector; performing inverse calculation on the multi-axis linkage error model with the target correction vector as a target, and outputting a plurality of compensation angles corresponding to the plurality of linkage axes.
[0073] Further, the correction module 15 is configured to perform the following method:
[0074] performing inverse calculation on the multi-axis linkage error model with the target correction vector as a target, and the expression is:
[0075] ; wherein, the plurality of compensation angles corresponding to the plurality of linkage axes, a pseudo-Jacobian matrix of the multi-axis linkage error model, a trajectory deviation vector including a position deviation and an attitude deviation.
[0076] Further, the correction module 15 is configured to perform the following method:
[0077] performing key axis analysis on the plurality of linkage axes to obtain a plurality of key indicators; configuring a plurality of key weights based on the plurality of key indicators; and performing inverse calculation feedback on the multi-axis linkage error model based on the weighted least squares method with the plurality of key weights, and outputting updated plurality of compensation angles.
[0078] Further, the correction module 15 is configured to perform the following method:
[0079] performing inverse calculation feedback on the multi-axis linkage error model based on the weighted least squares method with the plurality of key weights, and the expression is:
[0080] ; wherein, the plurality of compensation angles corresponding to the plurality of linkage axes, a transpose matrix of the Jacobian matrix, is a Jacobian matrix, is a weight matrix constructed from a plurality of key weights, is a trajectory bias vector including a position bias and a pose bias.
[0081] It should be noted that the above-mentioned order of the embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. The above-described specific embodiments of the present application have been described. The processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multi-task processing and parallel processing are also possible or can be advantageous.
[0082] The above only describes the preferred embodiments of the present application, and does not limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0083] The specification and drawings are merely exemplary of the present application, and any and all modifications, variations, combinations or equivalents that fall within the scope of the present application are considered to be covered by the present application. Obviously, those skilled in the art can make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application belong to the scope of the present application and its equivalent technology, the present application is intended to include these modifications and variations.
Claims
1. A dynamic error compensation method for a turning-milling swing head based on multi-axis linkage, characterized in that, The method comprises: extracting a task feature vector of a turning-milling swing head; identifying a plurality of linkage shafts associated with the turning-milling swing head according to the task feature vector, and a plurality of coordinate systems corresponding to the plurality of linkage shafts; constructing a multi-axis reference coordinate system, performing coordinate system conversion on each shaft in the plurality of linkage shafts according to the multi-axis reference coordinate system, and outputting a plurality of converted coordinate systems; performing multi-axis linkage error modeling according to the plurality of converted coordinate systems, outputting a multi-axis linkage error model, inputting the task feature vector into the constructed multi-axis linkage error model for multi-axis error analysis, and outputting a trajectory deviation vector of the task feature vector; solving a plurality of compensation angles corresponding to the plurality of linkage shafts according to the trajectory deviation vector, and executing correction of the plurality of compensation angles by the plurality of linkage shafts under the plurality of converted coordinate systems; inputting the task feature vector into the constructed multi-axis linkage error model for multi-axis error analysis, outputting a trajectory deviation vector of the task feature vector, the method comprising: inputting the task feature vector into the constructed multi-axis linkage error model, and obtaining a multi-axis transmission chain according to a multi-axis execution sequence; calculating an actual pose of the task feature vector at each shaft affected by errors according to the multi-axis transmission chain, comparing the actual pose of each shaft with an expected pose, and obtaining a trajectory deviation vector, the trajectory deviation vector comprising a position deviation and an attitude deviation; solving a plurality of compensation angles corresponding to the plurality of linkage shafts according to the trajectory deviation vector, the method comprising: constructing a target correction vector according to the trajectory deviation vector; performing inverse calculation on the multi-axis linkage error model with the target correction vector as a target, and outputting the plurality of compensation angles corresponding to the plurality of linkage shafts; outputting the plurality of compensation angles corresponding to the plurality of linkage shafts, the method further comprising: performing key shaft analysis on the plurality of linkage shafts, and obtaining a plurality of key indicators; configuring a plurality of key weights based on the plurality of key indicators; performing inverse calculation feedback on the multi-axis linkage error model with the plurality of key weights based on a weighted least squares method, and outputting updated compensation angles.
2. The multi-axis based dynamic error compensation method for a turn-milling head as claimed in claim 1, wherein, performing coordinate system conversion on each shaft in the plurality of linkage shafts according to the multi-axis reference coordinate system, the method comprising: obtaining installation position errors and translational and rotational deviations of each coordinate system in the plurality of coordinate systems according to the multi-axis reference coordinate system; representing a transformation matrix corresponding to each coordinate system according to the installation position errors and the translational and rotational deviations, and outputting a plurality of transformation matrices; performing coordinate system conversion on each shaft in the plurality of linkage shafts according to the plurality of transformation matrices, and outputting a plurality of converted coordinate systems.
3. The multi-axis based dynamic error compensation method for a turn-milling head as claimed in claim 1, wherein, performing multi-axis linkage error modeling according to the plurality of converted coordinate systems, and outputting a multi-axis linkage error model, the method comprising: extracting linkage error parameters of the plurality of converted coordinate systems, the linkage error parameters comprising transmission errors, thermal errors, and stiffness errors; establishing an error vector formula under each converted coordinate system according to the linkage error parameters; concatenating a plurality of error vector formulas corresponding to the plurality of converted coordinate systems, and constructing a multi-axis linkage error model.
4. The multi-axis based dynamic error compensation method for a turn-milling head as claimed in claim 3, wherein, The expression of the multi-axis linkage error model is: ; wherein, , Ji is the Jacobian matrix of the ith axis for mapping the local error to the end axis, is the pose of the end axis when the multiple axes are linked, ni is the current axis angle of the ith axis, and n is the number of axes. is the error vector for the ith axis, is the transmission error for the ith axis, is the thermal drift error for the ith axis, is the stiffness deformation error for the ith axis.
5. The multi-axis based dynamic error compensation method for a turn-milling head as claimed in claim 1, wherein, Solving the multi-axis linkage error model inversely with the target correction vector as the target, and the expression is: ; wherein, is a plurality of compensation angles corresponding to the plurality of linkage axes, is a pseudo-Jacobian matrix of the multi-axis linkage error model, is a trajectory deviation vector including position deviation and attitude deviation.
6. The multi-axis based dynamic error compensation method for a turn-milling head as claimed in claim 1, wherein, Solving the multi-axis linkage error model inversely with the target correction vector as the target, and the expression is: ; wherein, is a plurality of compensation angles corresponding to the plurality of linkage axes, is a transpose matrix of the Jacobian matrix, is the Jacobian matrix, is a weight matrix constructed from a plurality of key weights, is a trajectory deviation vector including a position deviation and a pose deviation.
7. A dynamic error compensation system for a turning-milling swing head based on multi-axis linkage, characterized in that, The system for implementing the multi-axis linkage based dynamic error compensation method of the turning-milling head according to any one of claims 1-6, the system comprising: a feature extraction module configured to extract a task feature vector of the turning-milling head; an identification module configured to identify, according to the task feature vector, a plurality of linkage axes associated with the turning-milling head and a plurality of coordinate systems corresponding to the plurality of linkage axes; a coordinate conversion module configured to construct a multi-axis reference coordinate system, perform coordinate system conversion on each axis in the plurality of linkage axes according to the multi-axis reference coordinate system, and output a plurality of converted coordinate systems; an error analysis module configured to perform multi-axis linkage error modeling according to the plurality of converted coordinate systems, output a multi-axis linkage error model, input the task feature vector into the constructed multi-axis linkage error model, and perform multi-axis error analysis, and output a trajectory deviation vector of the task feature vector; a correction module configured to solve a plurality of compensation angles corresponding to the plurality of linkage axes according to the trajectory deviation vector, and perform correction of the plurality of compensation angles by the plurality of linkage axes in the plurality of converted coordinate systems.
Citation Information
Patent Citations
An ultra-precision grinding and polishing machine tool geometric error and force-induced error coupling error model building method based on the multi-body theory
CN114036685A
Linkage operation system of numerical control machine tool
CN120335386A