Five-axis numerical control machine tool servo axis parameter joint optimization method and system
By establishing a simplified load model and multiple roundness tests, the servo axis parameters of the five-axis CNC machine tool are optimized, and combined with the disturbance prediction observer for nonlinear friction compensation, the problem of long debugging time and poor adaptability of the five-axis CNC machine tool is solved, and the machining efficiency is improved. Precision and efficiency.
Patent Information
- Application Number
- CN202410880103.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-09-10
AI Technical Summary
During electrical debugging, the five-axis CNC machine tool needs to separately adjust the parameters of each servo axis and optimize the matching in pairs, which results in long debugging time and poor adaptability to arc trajectories, which affects the accuracy of curved surface contour processing.
By establishing a simplified load model, performing multiple roundness tests, optimizing the linear gain and position loop gain of each servo axis, and turning on the disturbance prediction observer for nonlinear friction compensation, joint optimization of servo axis parameters is achieved.
It greatly improves the debugging efficiency of five-axis CNC machine tools, improves the quadrant jump compensation effect, improves the adaptability to arc trajectories under different speeds and accelerations, and improves the quality of workpiece processing.
Smart Images

Figure CN118625673A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of servo control of five-axis CNC machine tools, and in particular to a method and system for joint optimization of servo axis parameters of five-axis CNC machine tools. Background Art
[0002] CNC machine tools are composed of CNC systems, servo drive systems (including servo drive units and motors), mechanical bodies, and other auxiliary devices. In addition to the three linear motion axes of X, Y, and Z, the five-axis CNC machine tool also has two rotary motion axes. It is necessary to control the linkage interpolation of the five servo axes to complete the processing tasks, especially the processing of curved surface contour parts such as impellers, blisks, and blades. During the processing and use of the five-axis CNC machine tool, the position gains of the linear motion axis and the rotary motion axis need to match each other to ensure that the tracking errors of each servo axis are consistent when running at the same speed. In addition, when the processing trajectory passes through the quadrant point of one of the servo axes, there will be a reversing action, and a flat step pattern will appear at the quadrant, that is, there will be a quadrant cutter mark. The main reason for the cutter mark is that when the servo axis runs in the reverse direction, there is static friction between the machine tool worktable and the guide rail. Friction nonlinearity will cause a short-term lag in the servo axis position response, which will then be reflected as a quadrant jump of the arc in the multi-axis linkage operation. The rotary axis of the five-axis CNC machine tool has a large load inertia and friction resistance, and the quadrant jump problem is particularly obvious. During the electrical debugging stage of the five-axis CNC machine tool, it is necessary to jointly optimize and match the parameters of each servo axis, and to suppress and compensate for the cross-quadrant jump.
[0003] In current practical engineering applications, the parameters of a single servo axis are usually debugged first, and then the parameters of each servo axis are optimized and matched in pairs in combination with the roundness test. Then, the quadrant jump is compensated based on the speed feedforward to further eliminate the quadrant bump on the circular contour. For each servo axis of a five-axis CNC machine tool, especially the linear servo axis and the rotary servo axis, matching optimization and debugging takes a long time. When compensating for the quadrant jump, the compensation value and compensation time need to be adjusted repeatedly, and the adaptability to the arc trajectory under different speeds and accelerations is not strong, which directly affects the surface contour processing accuracy.
[0004] Therefore, it is necessary to propose a joint optimization method and system for the servo axis parameters of a five-axis CNC machine tool, which can improve the debugging efficiency of the five-axis linkage machine tool, improve the quadrant jump compensation effect, and further optimize and improve the workpiece processing quality. Summary of the invention
[0005] In view of this, the present invention provides a method and system for joint optimization of servo axis parameters of a five-axis CNC machine tool, so as to solve the technical problems that during electrical debugging of the existing five-axis CNC machine tools, it is necessary to first individually adjust the parameters of each servo axis, and then optimize and match the parameters of each servo axis in pairs, resulting in a long optimization and debugging time, poor adaptability to arc trajectories, and affecting the accuracy of curved contour processing.
[0006] In order to achieve the above technical objectives, the present invention adopts the following technical solutions:
[0007] The present invention provides a method for joint optimization of servo axis parameters of a five-axis CNC machine tool, comprising:
[0008] Establish a simplified load model for each servo axis, select a servo axis as the reference axis, and the remaining servo axes as linkage axes;
[0009] Performing a first roundness test, and obtaining model parameters of a simplified load model of each servo axis according to the first roundness result;
[0010] Performing a second roundness test based on the model parameters and jointly optimizing the axis linear gain of each servo axis;
[0011] Determine the roundness mismatch between each linkage axis and the reference axis according to the third roundness test, and iteratively optimize and match the position loop gain of the linkage axis based on the roundness mismatch;
[0012] The disturbance prediction observer is turned on and the fourth roundness test is performed. The nonlinear friction is automatically compensated by the disturbance prediction observer. The gain of the disturbance prediction observer is iteratively optimized based on the quadrant error of the fourth roundness test.
[0013] Furthermore, the performing of the first roundness test and obtaining the model parameters of the simplified load model of each servo axis according to the first roundness result include:
[0014] Determine the sinusoidal wave position command according to the preset first circle radius and running speed;
[0015] The sine wave position command is sent to the reference axis, and the cosine wave position command which is 90 degrees out of phase with the sine wave is sent to the other linkage axes;
[0016] Collecting speed signals and current signals of each servo axis, performing bandpass filtering on the speed signals and current signals, and extracting peak-to-peak values of the filtered speed signals and current signals;
[0017] The inertia of the motor and load of each servo axis is determined based on the peak-to-peak values of the filtered velocity signal and current signal.
[0018] Furthermore, the linear gain of each servo axis is jointly optimized based on the model parameters and the second roundness test, including:
[0019] Set the initial speed loop gain bandwidth;
[0020] Calculating the linear gain according to the speed loop gain bandwidth and the inertia of the motor and the load;
[0021] Perform a second roundness test according to a preset second circle radius and a second operating speed;
[0022] Perform frequency domain analysis on the speed signal during the second roundness test to determine whether mechanical resonance occurs in each servo axis; if mechanical resonance occurs, reduce the speed loop gain bandwidth; otherwise, increase the speed loop gain bandwidth;
[0023] The linear gain is updated according to the adjusted speed loop gain and the inertia of the motor and the load, and the second roundness test is performed again. The speed signal is analyzed in the frequency domain and the resonance is judged again until the speed loop gain bandwidth reaches the upper limit value, thus completing the iterative optimization of the linear gain of each servo axis.
[0024] Furthermore, the linear gain of each servo axis includes a position loop gain, a speed loop proportional gain and a speed loop integral time constant.
[0025] Further, the roundness mismatch between each linkage axis and the reference axis is determined according to the third roundness test, and the position loop gain of the linkage axis is iteratively optimized and matched based on the roundness mismatch, including:
[0026] Performing a third roundness test based on a preset third circle radius and a third running speed, and determining common circle center coordinates according to a plurality of coordinate points of the reference axis and the linkage axis collected in the third roundness test;
[0027] Calculate the radius of each coordinate point relative to the common center coordinate;
[0028] Determine the maximum radius and the minimum radius, determine the roundness mismatch according to the maximum radius and the minimum radius, and record the quadrant interval where the coordinate point corresponding to the maximum radius is located;
[0029] When the circularity mismatch is within the preset matching range, the optimization matching of the position loop gain is completed.
[0030] Further, when the roundness mismatch does not satisfy the preset matching range, the quadrant interval where the coordinate point corresponding to the maximum radius is located is determined:
[0031] If the coordinate point is located in the first or third quadrant, the position loop gain of the linkage axis is increased; if it is located in the second or fourth quadrant, the position loop gain of the linkage axis is reduced;
[0032] Based on the adjusted position loop gain of the linkage axis, the third roundness test is re-performed and the roundness mismatch is updated until the roundness mismatch is within a preset matching range.
[0033] Further, the disturbance prediction observer is started and the fourth roundness test is performed, and the gain of the disturbance prediction observer is iteratively optimized based on the quadrant error of the fourth roundness test, including:
[0034] Set the initial disturbance prediction observer bandwidth and prediction feedback delay time;
[0035] Based on the prediction observer bandwidth and the prediction feedback delay time, combined with the parameters of the simplified load model, the intermediate coefficients of the disturbance prediction observer are calculated;
[0036] Performing a fourth roundness test according to a preset fourth circle radius and a fourth running speed;
[0037] Execute the disturbance predictive observer control strategy, and add the current value compensation value output by the disturbance predictive observer to the torque current command;
[0038] Calculating a quadrant kick value of each linkage axis, and adjusting a prediction observer bandwidth according to the quadrant kick value;
[0039] The intermediate coefficient of the disturbance predictive observer is recalculated based on the adjusted predictive observer bandwidth, and the fourth circularity test is performed again until the predictive observer bandwidth reaches an upper limit value, thereby completing the iterative optimization of the disturbance predictive observer gain.
[0040] Further, the calculation method of the quadrant jump value is the same as the calculation method of the roundness mismatch degree;
[0041] Adjusting the prediction observer bandwidth according to the quadrant jump value includes:
[0042] When the quadrant jump value does not meet the preset jump range, the prediction observer bandwidth is increased, and the intermediate coefficient of the disturbance prediction observer is recalculated according to the adjusted prediction observer bandwidth.
[0043] Furthermore, the simplified load model is:
[0044]
[0045] Among them, T e is the motor output electromagnetic torque, ω is the motor rotation angular frequency, J s is the total inertia of the motor and the load.
[0046] The present invention also provides a five-axis CNC machine tool servo axis parameter joint optimization system, comprising:
[0047] The model building module is used to build a simplified load model of each servo axis, select a servo axis as a reference axis, and the remaining servo axes as linkage axes;
[0048] A model parameter identification module, used to perform a first roundness test and obtain model parameters of a simplified load model of each servo axis according to the first roundness result;
[0049] A linear gain joint optimization module, used for performing a second roundness test based on the model parameters and jointly optimizing the axis linear gain of each servo axis;
[0050] A position loop gain joint optimization module, used for determining the roundness mismatch between each linkage axis and the reference axis according to the third roundness test, and iteratively optimizing and matching the position loop gain of the linkage axis based on the roundness mismatch;
[0051] The prediction observer joint optimization module is used to start the disturbance prediction observer and perform the fourth roundness test, automatically compensate for nonlinear friction through the disturbance prediction observer, and iteratively optimize the disturbance prediction observer gain based on the quadrant error of the fourth roundness test.
[0052] The method for joint optimization of servo axis parameters of a five-axis CNC machine tool provided by the present invention first establishes a simplified load model of each servo axis and selects a reference axis and a linkage axis; secondly, the model parameters are determined according to a first roundness test; thirdly, the axis linear gain of the servo axis is jointly optimized according to a second roundness test; then, the position loop gain of the linkage axis is iteratively optimized and matched through a third roundness test; finally, the disturbance prediction observer is turned on, and the gain of the disturbance prediction observer is optimized according to the quadrant error. After the above steps are completed, the joint debugging and optimization of the parameters of each servo axis of the five-axis CNC machine tool is completed.
[0053] Compared with the prior art, the present invention has the following advantages:
[0054] (1) There is no need to independently perform single-axis parameter tuning. By controlling the servo axes to jointly perform roundness testing through the CNC system, the simplified model parameter identification, linear gain parameter adaptation, position loop gain matching, and quadrant error compensation of each servo axis of the five-axis CNC machine tool can be completed, greatly improving the debugging efficiency.
[0055] (2) There is no need to repeatedly adjust the quadrant jump feedforward compensation parameters. The observed friction value can be compensated to the current command through the disturbance prediction observer, especially for the high inertia rotary axis of the five-axis CNC machine tool, which speeds up the position response and tracking during reverse rotation and has good adaptability to arc trajectories under various speeds and accelerations. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1A schematic flow chart of an embodiment of a method for joint optimization of servo axis parameters of a five-axis CNC machine tool provided by the present invention;
[0057] Figure 2 A schematic diagram of electrical connections of the vertical five-axis machine tool provided by the present invention;
[0058] Figure 3 A schematic diagram of a simplified model parameter calculation method provided by the present invention;
[0059] Figure 4 A schematic diagram of a process for joint optimization of linear gains of servo axes provided by the present invention;
[0060] Figure 5 A schematic diagram of the process of joint optimization matching of the position proportional gains of each servo axis provided by the present invention;
[0061] Figure 6 A schematic diagram of a process for joint optimization of quadrant errors of each servo axis provided by the present invention;
[0062] Figure 7 The implementation control block diagram of the disturbance prediction observer provided by the present invention;
[0063] Figure 8 A schematic diagram showing a comparison of quadrant error optimization effects provided by the present invention;
[0064] Fig. 9 This is a structural diagram of an embodiment of a five-axis CNC machine tool servo axis parameter joint optimization system provided by the present invention. DETAILED DESCRIPTION
[0065] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0066] The present invention provides a method and system for joint optimization of servo axis parameters of a five-axis CNC machine tool, which are described below respectively.
[0067] A specific embodiment of the present invention discloses a method for joint optimization of servo axis parameters of a five-axis CNC machine tool. Figure 1 is a flow chart of the joint optimization method of the servo axis parameters of the five-axis CNC machine tool, such as Figure 1 As shown, the method includes:
[0068] Step S1: Establish a simplified load model for each servo axis, select a servo axis as a reference axis, and the remaining servo axes as linkage axes;
[0069] Step S2: performing a first roundness test, and obtaining model parameters of a simplified load model of each servo axis according to the first roundness result;
[0070] Step S3: performing a second roundness test based on the model parameters, and jointly optimizing the axis linear gain of each servo axis;
[0071] Step S4: determining the roundness mismatch between each linkage axis and the reference axis according to the third roundness test, and iteratively optimizing and matching the position loop gain of the linkage axis based on the roundness mismatch;
[0072] Step S5: start the disturbance prediction observer and perform the fourth roundness test, automatically compensate for the nonlinear friction through the disturbance prediction observer, and iteratively optimize the disturbance prediction observer gain based on the quadrant error of the fourth roundness test.
[0073] The method of this embodiment does not need to adjust the parameters of each servo axis separately. It only controls the servo axes to jointly perform roundness test through the numerical control system, completes the joint optimization of simplified model parameter identification, linear gain parameter adaptation, position loop gain matching and quadrant error compensation of each servo axis, and greatly improves the debugging efficiency. At the same time, there is no need to repeatedly adjust the quadrant jump feedforward compensation parameters. Through the disturbance prediction observer, the observed friction value is compensated to the current command, and the adaptability to circular arc trajectories under different speeds and accelerations is better.
[0074] Combine the following Figure 2-Figure 8 , the present invention is described in detail through a specific embodiment.
[0075] like Figure 2 As shown, Figure 2 This is a schematic diagram of the electrical connection of a vertical five-axis linkage CNC machine tool, including three linear motion axes X, Y, and Z, and two rotary motion axes A and C. Taking this five-axis linkage CNC machine tool as an example, the implementation steps are explained in detail:
[0076] Step S10: Ignoring the damping effect of the load, each servo axis is dynamically modeled according to the simplified load model shown in formula (1), and the total inertia J of the motor and load in the model is identified. s ;
[0077]
[0078] In formula (1), T e is the motor output electromagnetic torque, ω is the motor rotation angular frequency J s is the total inertia of the motor and the load.
[0079] Step S10: total inertia J s The specific steps of identification include three steps S101-S103:
[0080] Step S101: The circle radius R1 and the running speed F1 of the first roundness test are set in the numerical control system, and the A axis with the largest load inertia is used as the reference servo axis, and the X axis, Y axis, Z axis, and C axis are used as linkage servo axes.
[0081] Step S102: Execute the roundness test. The CNC system sends a sinusoidal position command P according to formula (2). a To the A axis, send the cosine position command P at the same time i Give it to several other linked servo axes and sample the speed feedback and current feedback of each servo axis.
[0082]
[0083] In formula (2), P a is the sinusoidal position command, P i is the cosine position command, and t is the time.
[0084] Step S103: Figure 3 As shown in the figure, the sampled servo axis speed and current feedback signals are band-pass filtered, and the filter frequency is set to the frequency of the applied sinusoidal command to remove the interference signal; the peak-to-peak value of the feedback speed and feedback current is extracted, and then the inertia J of the motor and load is calculated according to formula (3) s .
[0085]
[0086] In formula (3), i pp is the peak-to-peak value of the feedback sinusoidal current, n pp is the peak-to-peak value of the feedback sinusoidal velocity, k t is the motor torque constant.
[0087] Step S20: Combine simplified model parameters J s and speed loop gain bandwidth ω sc , complete the iterative optimization of the linear gain of each servo axis, the linear gain includes the position loop gain K pp , speed loop proportional gain K vp And the speed loop integral time constant K vi ;
[0088] like Figure 4 In step S20, the joint optimization of the linear gains of each servo axis is divided into five steps:
[0089] Step S201: Setting the speed loop gain bandwidth ω sc Initial value.
[0090] Step S202: Calculate the position loop gain K according to formula (4): pp , speed loop proportional gain K vpAnd the speed loop integral time constant K vi The initial value of .
[0091]
[0092] Step S203: setting the circle radius R2 and the running speed F2 of the second roundness test in the numerical control system, and executing the roundness test.
[0093] Step S204: Perform Fourier analysis on the speed signal to determine whether the servo axis has mechanical resonance. If mechanical resonance has occurred, sc Reduce by 10% and proceed to the next step S30 (jointly optimize and match the position loop gains of each servo axis). Otherwise, sc Increase by 10% and proceed to step S205.
[0094] It should be noted here that the method for determining whether the servo axis has produced mechanical resonance is to analyze the obtained spectrum graph and focus on whether there is an obvious frequency peak in the expected frequency range. The expected frequency range is usually determined based on the mechanical structure and operating parameters of the system, such as the natural frequency of the servo axis or the frequency range of mechanical resonance. If one or more obvious frequency peaks are found in the spectrum graph, these frequencies may correspond to the resonant frequency of the servo axis.
[0095] Step S205: Determine ω sc Check whether the upper limit value is reached. If so, proceed to step S30; otherwise, return to step S202.
[0096] Step S30: According to the roundness mismatch result calculated by the roundness test, complete the linkage servo axis position loop gain K p Iterative optimization matching, such as Figure 5 , the specific steps are:
[0097] Step S301: setting the circle radius R3 and the running speed F3 of the roundness test in the numerical control system, and executing the third roundness test.
[0098] Step S302: Calculate the roundness mismatch between each linkage servo axis and the reference servo axis.
[0099] The following takes the roundness test of the X-axis and the reference servo axis A-axis as an example to explain the calculation formula of the roundness mismatch.
[0100] a. First, calculate the coordinate value (A0, X0) corresponding to the common center of the n coordinate points on the A-axis and X-axis collected during the roundness test. The calculation formula is as follows:
[0101]
[0102] b. Calculate the radius of each coordinate point relative to the common center (A0, X0);
[0103]
[0104] c. Get the radius R i The maximum value R max and the minimum value R min , and record R max The calculation formula of the roundness mismatch degree for the quadrant interval Q where the corresponding coordinate point is located is as follows:
[0105] ΔP=R max -R min (7)
[0106] Step S303: If the roundness mismatch ΔP is within 1 um, proceed to step S40; otherwise, proceed to step S304.
[0107] Step S304: If R max The corresponding coordinate point is in the first or third quadrant. The position loop gain K of the linked servo axis is increased by 0.1 Hz. pp ; If it is in the second or fourth quadrant, reduce the position loop gain K of the linked servo axis by 0.1Hz pp , then return to step S301.
[0108] Step S40: Start the disturbance prediction observer, suppress the quadrant error by automatically compensating for the nonlinear friction, and complete the disturbance prediction observer gain ω according to the quadrant error value. f Iterative optimization, such as Figure 6 , the specific steps are:
[0109] Step S401: Setting the disturbance prediction observer bandwidth ω f and the predicted feedback delay time T f Initial value.
[0110] Step S402: Combine load model parameters J s , use formula (8) to calculate the intermediate coefficient K of the disturbance prediction observer s1 , K s2 and K s3 ;
[0111]
[0112] Step S403: setting the circle radius R4 and the running speed F4 of the fourth roundness test in the numerical control system, and executing the roundness test.
[0113] Step S404: Execute the disturbance prediction observer, and the numerical control system controls the servo axis to compensate the current value i output by the disturbance prediction observer. comp Superimposed on the torque current command.
[0114] Among them, the three-loop block diagram of the servo axis control and the control block diagram of the disturbance prediction observer are as follows: Figure 7 As shown. The disturbance observer detects and estimates disturbances in the system by observing the difference between the actual system output and the expected output. These disturbances may come from factors such as the external environment, friction of mechanical components, changes in inertial loads, etc. Once the disturbance is observed and estimated, the disturbance observer can generate a compensation signal in real time, which is used to adjust the current output of the controller to offset the impact of the disturbance on system performance and accuracy.
[0115] Step S405: The numerical control system continues to calculate the quadrant jump value according to formula (5), formula (6) and formula (7). The calculation method of the quadrant jump value is consistent with the calculation method of the roundness mismatch. If the quadrant jump value of a servo axis is greater than 1um, ω f Increase by 10%, return to step S402, if ω f When the upper limit value is reached, the process goes to step S50.
[0116] like Figure 8 As shown, Figure 8 The schematic diagram of the effect of quadrant error optimization is shown. In the figure, the left side shows the difference between the command position and the actual position before optimization, and the right side shows the difference after optimization. It can be clearly seen that the quadrant protrusion on the circular contour has been significantly improved.
[0117] Step S50: Turn off the roundness test and complete the joint debugging and optimization of the parameters of each servo axis.
[0118] Through the above steps, the embodiment of the present invention improves the debugging efficiency of the five-axis linkage machine tool, improves the quadrant jump compensation effect, further optimizes and improves the workpiece processing quality, especially for the high-inertia rotating axis of the five-axis CNC machine tool, accelerates the response and tracking of the position during reverse rotation, and has good adaptability to arc trajectories under various speeds and accelerations.
[0119] like Fig. 9 As shown, the embodiment of the present invention further provides a five-axis CNC machine tool servo axis parameter joint optimization system 900, comprising:
[0120] The model building module 901 is used to build a simplified load model of each servo axis, select a servo axis as a reference axis, and the remaining servo axes as linkage axes;
[0121] A model parameter identification module 902 is used to perform a first roundness test and obtain model parameters of a simplified load model of each servo axis according to the first roundness result;
[0122] A linear gain joint optimization module 903 is used to perform a second roundness test based on the model parameters and to jointly optimize the axis linear gain of each servo axis;
[0123] The position loop gain joint optimization module 904 is used to determine the roundness mismatch between each linkage axis and the reference axis according to the third roundness test, and iteratively optimize and match the position loop gain of the linkage axis based on the roundness mismatch;
[0124] The prediction observer joint optimization module 905 is used to start the disturbance prediction observer and perform the fourth roundness test, automatically compensate for the nonlinear friction through the disturbance prediction observer, and iteratively optimize the disturbance prediction observer gain based on the quadrant error of the fourth roundness test.
[0125] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A method for joint optimization of servo axis parameters of a five-axis CNC machine tool, characterized in that: include: Establish a simplified load model for each servo axis, select a servo axis as the reference axis, and the remaining servo axes as linkage axes; Performing a first roundness test, and obtaining model parameters of a simplified load model of each servo axis according to the first roundness result; Performing a second roundness test based on the model parameters and jointly optimizing the axis linear gain of each servo axis; Determine the roundness mismatch between each linkage axis and the reference axis according to the third roundness test, and iteratively optimize and match the position loop gain of the linkage axis based on the roundness mismatch; The disturbance prediction observer is turned on and the fourth roundness test is performed. The nonlinear friction is automatically compensated by the disturbance prediction observer. The gain of the disturbance prediction observer is iteratively optimized based on the quadrant error of the fourth roundness test.
2. The method for joint optimization of servo axis parameters of a five-axis CNC machine tool according to claim 2, characterized in that: The performing of the first roundness test and obtaining the model parameters of the simplified load model of each servo axis according to the first roundness result include: Determine the sinusoidal wave position command according to the preset first circle radius and running speed; The sine wave position command is sent to the reference axis, and the cosine wave position command which is 90 degrees out of phase with the sine wave is sent to the other linkage axes; Collecting speed signals and current signals of each servo axis, performing bandpass filtering on the speed signals and current signals, and extracting peak-to-peak values of the filtered speed signals and current signals; The inertia of the motor and load of each servo axis is determined based on the peak-to-peak values of the filtered velocity signal and current signal.
3. The method for joint optimization of servo axis parameters of a five-axis CNC machine tool according to claim 1, characterized in that: The linear gain of each servo axis is jointly optimized based on the model parameters and the second roundness test, including: Set the initial speed loop gain bandwidth; Calculating the linear gain according to the speed loop gain bandwidth and the inertia of the motor and the load; Perform a second roundness test according to a preset second circle radius and a second operating speed; Perform frequency domain analysis on the speed signal during the second roundness test to determine whether mechanical resonance occurs in each servo axis; if mechanical resonance occurs, reduce the speed loop gain bandwidth; otherwise, increase the speed loop gain bandwidth; The linear gain is updated according to the adjusted speed loop gain and the inertia of the motor and the load, and the second roundness test is performed again. The speed signal is analyzed in the frequency domain and the resonance is judged again until the speed loop gain bandwidth reaches the upper limit value, thereby completing the iterative optimization of the linear gain of each servo axis.
4. The method for joint optimization of servo axis parameters of a five-axis CNC machine tool according to claim 3, characterized in that: The linear gain of each servo axis includes a position loop gain, a speed loop proportional gain and a speed loop integral time constant.
5. The method for joint optimization of servo axis parameters of a five-axis CNC machine tool according to claim 1, characterized in that: Determine the circularity mismatch between each linkage axis and the reference axis according to the third circularity test, and iteratively optimize and match the position loop gain of the linkage axis based on the circularity mismatch, including: Performing a third roundness test based on a preset third circle radius and a third running speed, and determining common circle center coordinates according to a plurality of coordinate points of the reference axis and the linkage axis collected in the third roundness test; Calculate the radius of each coordinate point relative to the common center coordinate; Determine the maximum radius and the minimum radius, determine the roundness mismatch according to the maximum radius and the minimum radius, and record the quadrant interval where the coordinate point corresponding to the maximum radius is located; When the circularity mismatch is within the preset matching range, the optimization matching of the position loop gain is completed.
6. The method for joint optimization of servo axis parameters of a five-axis CNC machine tool according to claim 5, characterized in that: When the roundness mismatch does not meet the preset matching range, the quadrant interval of the coordinate point corresponding to the maximum radius is determined: If the coordinate point is located in the first or third quadrant, the position loop gain of the linkage axis is increased; if it is located in the second or fourth quadrant, the position loop gain of the linkage axis is reduced; Based on the adjusted position loop gain of the linkage axis, the third roundness test is re-performed and the roundness mismatch is updated until the roundness mismatch is within a preset matching range.
7. The method for joint optimization of servo axis parameters of a five-axis CNC machine tool according to claim 5, characterized in that: The method of starting the disturbance prediction observer and performing the fourth roundness test, and iteratively optimizing the disturbance prediction observer gain based on the quadrant error of the fourth roundness test, comprises: Set the initial disturbance prediction observer bandwidth and prediction feedback delay time; Based on the prediction observer bandwidth and the prediction feedback delay time, combined with the parameters of the simplified load model, the intermediate coefficients of the disturbance prediction observer are calculated; Performing a fourth roundness test according to a preset fourth circle radius and a fourth running speed; Execute the disturbance predictive observer control strategy, and add the current value compensation value output by the disturbance predictive observer to the torque current command; Calculating a quadrant kick value of each linkage axis, and adjusting a prediction observer bandwidth according to the quadrant kick value; The intermediate coefficient of the disturbance predictive observer is recalculated based on the adjusted predictive observer bandwidth, and the fourth circularity test is performed again until the predictive observer bandwidth reaches an upper limit value, thereby completing the iterative optimization of the disturbance predictive observer gain.
8. The method for joint optimization of servo axis parameters of a five-axis CNC machine tool according to claim 7, characterized in that: The calculation method of the quadrant jump value is the same as the calculation method of the roundness mismatch; Adjusting the prediction observer bandwidth according to the quadrant jump value includes: When the quadrant jump value does not meet the preset jump range, the prediction observer bandwidth is increased, and the intermediate coefficient of the disturbance prediction observer is recalculated according to the adjusted prediction observer bandwidth.
9. The method for joint optimization of servo axis parameters of a five-axis CNC machine tool according to claim 1, characterized in that: The simplified load model is: Among them, T e is the motor output electromagnetic torque, ω is the motor rotation angular frequency, J s is the total inertia of the motor and the load.
10. A five-axis CNC machine tool servo axis parameter joint optimization system, characterized in that: include: The model building module is used to build a simplified load model of each servo axis, select a servo axis as a reference axis, and the remaining servo axes as linkage axes; A model parameter identification module, used to perform a first roundness test and obtain model parameters of a simplified load model of each servo axis according to the first roundness result; A linear gain joint optimization module, used for performing a second roundness test based on the model parameters and jointly optimizing the axis linear gain of each servo axis; A position loop gain joint optimization module, used for determining the roundness mismatch between each linkage axis and the reference axis according to the third roundness test, and iteratively optimizing and matching the position loop gain of the linkage axis based on the roundness mismatch; The prediction observer joint optimization module is used to start the disturbance prediction observer and perform the fourth roundness test, automatically compensate for nonlinear friction through the disturbance prediction observer, and iteratively optimize the disturbance prediction observer gain based on the quadrant error of the fourth roundness test.
