Direct drive ball screw dynamic accuracy compensation system based on multi-source signal fusion

By using a dynamic precision compensation system based on multi-source signal fusion, independent component analysis and pre-trained models, the problem of the positioning accuracy of direct-drive ball screws changing over time was solved, achieving real-time high-precision error compensation.

CN123177191APending Publication Date: 2026-11-27ZHUZHOU HUAJIANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611402688.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-10
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, the positioning accuracy of direct-drive ball screws suffers from a problem where the compensation effect gradually deteriorates over time due to changes in wear and lubrication.

Method used

A dynamic precision compensation system employing multi-source signal fusion acquires and analyzes multi-dimensional operating parameters through a data acquisition module, a historical error analysis module, a current error analysis module, and a final error compensation module. It determines compensation coefficients using independent component analysis and frequency domain decomposition, and performs real-time high-precision compensation through a pre-trained inference model.

Benefits of technology

It achieves high-precision dynamic compensation for direct-drive ball screws, and can respond to wear and lubrication changes in real time, thereby improving positioning accuracy and compensation effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123177191A_ABST
    Figure CN123177191A_ABST
Patent Text Reader

Abstract

The present application relates to the field of industrial control technology, in particular to a direct drive ball screw dynamic precision compensation system based on multi-source signal fusion. The present application firstly counts each independent component which may affect error size in the historical period of the target period, and then utilizes the historical data characteristics of the independent component to perform real-time error compensation analysis in the target period, so as to obtain a compensation coefficient at each sampling time, and provide a reliable correction basis for subsequent real-time error compensation; subsequently, in combination with the change trend that the wear and other errors of the direct drive ball screw gradually increase over time, the real-time compensation coefficient is further deduced to obtain a more accurate deduction coefficient. Finally, the direct drive ball screw is compensated in real time and accurately by using the deduction coefficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of industrial control technology, specifically to a dynamic precision compensation system for direct-drive ball screws based on multi-source signal fusion. Background Technology

[0002] Direct-drive ball screws eliminate the need for flexible couplings, rigidly connecting the motor rotor directly to the screw, resulting in extremely high servo stiffness and response bandwidth. However, this direct coupling means that any non-ideal factors on the mechanical side (such as thread raceway wear or lubricant film rupture) will be reflected in the motor current and encoder deviation without attenuation. After numerous reciprocating motions, contact fatigue wear occurs between the balls and the raceways within the nut, while the lubricant gradually oxidizes and is lost, leading to an increased coefficient of friction and position-dependent fluctuations, resulting in a significant reduction in repeatability.

[0003] Currently, methods to improve positioning accuracy mainly employ a single sensor to correct the positioning, such as using thermal deformation or constant friction for compensation. However, the parameters of such compensation models are mostly calibrated offline and remain fixed. The wear and lubrication effects that occur during the movement of the direct-drive ball screw gradually change over time, i.e., wear increases and lubrication deteriorates. Therefore, the effect of dynamic compensation using fixed compensation parameters will gradually worsen over time. Summary of the Invention

[0004] To address the technical problem that existing technologies using fixed compensation parameters for dynamic compensation cause the compensation effect to gradually deteriorate over time, the present invention aims to provide a dynamic precision compensation system for direct-drive ball screws based on multi-source signal fusion. The specific technical solution adopted is as follows: The data acquisition module is used to acquire the operating parameters of each monitoring dimension at each sampling moment within the target cycle during the rotation of the direct drive ball screw. The historical error analysis module is used to perform independent component analysis on all operating parameters within the historical period of the target period, determine the unmixing matrix and the independent sequence of each independent component; under each independent component, the importance is determined based on the relative baseline offset of the independent sequence; and the independent sequence is decomposed in the frequency domain to obtain the normal sequence. The real-world error analysis module is used to unmix all operating parameters at each sampling time based on the unmixing matrix within the target period, determine the operating independent value of each independent component at each sampling time; determine the outlier value of each independent component at each sampling time based on the deviation between the operating independent value and the corresponding sequence element in the normal sequence, as well as the importance; and fuse all outliers to determine the compensation coefficient at each sampling time. The final error compensation module is used to input the compensation coefficients into the pre-trained inference model and output the inference coefficients; the inference coefficients are used to perform high-precision compensation on the direct drive ball screw.

[0005] Furthermore, the method for obtaining the unmixing matrix and the independent sequences of each independent component includes: Within the historical period, a historical parameter matrix is ​​constructed; the rows of the historical parameter matrix represent each monitoring dimension, and the columns represent each sampling time. The matrix elements in the historical parameter matrix represent the operating parameters of the corresponding monitoring dimension in the corresponding row at the sampling time in the corresponding column. The arrangement order of the monitoring dimensions in each row of the historical parameter matrix is ​​a preset dimension order. Independent component analysis is performed on the historical parameter matrix to determine the historical independence matrix and the unmixing matrix; each row of the historical independence matrix corresponds to an independent component; all matrix elements of each row of the historical independence matrix are arranged into an independent sequence of the corresponding independent components.

[0006] Furthermore, the method for obtaining the importance includes: The correlation of each independent component is determined by the absolute value of the Pearson correlation coefficient between the preset factory sequence and the independent sequence for each independent component; the correlation is then negatively correlated to determine the importance of each independent component.

[0007] Furthermore, the method for obtaining the normal sequence includes: The independent sequences are input into a preset mode decomposition algorithm, which outputs each mode sequence and its corresponding center frequency; the mode sequence whose center frequency is closest to the preset normal frequency is taken as the normal sequence of each independent component.

[0008] Furthermore, the method for obtaining the independent values ​​includes: Within the target period, all operating parameters at each sampling time are arranged vertically to determine a single-column matrix; the arrangement order of the monitoring dimensions in each row of the single-column matrix is ​​the preset dimension order. The independent column matrix is ​​determined by multiplying the unmixing matrix and the independent column matrix; the matrix elements of each row in the independent column matrix are used as the running independent values ​​of each independent component at each sampling time.

[0009] Furthermore, the method for obtaining the outlier includes: In the normal sequence, the sequence element with the same sampling time index as the running independent value is used as the comparison element; the anomaly index of each independent component at each sampling time is determined based on the difference between the running independent value and the comparison element. By combining anomaly index and importance, outliers for each independent component at each sampling time are determined; both anomaly index and importance are positively correlated with outliers.

[0010] Furthermore, the method for obtaining the compensation coefficient includes: The sum of all the outliers is normalized to determine the compensation coefficient for each sampling time.

[0011] Furthermore, the method for obtaining the inference coefficients includes: The ATT-GRU model is used for pre-training to obtain the inference model after training; the compensation coefficients are input into the inference model to output the inference coefficients at each sampling time.

[0012] Furthermore, the high-precision compensation of the direct-drive ball screw using extrapolation coefficients includes: Extract the real-time rotational speed of the direct-drive ball screw at each sampling moment; determine the compensation speed based on the product of the extrapolation coefficient and the preset safety adjustment speed, and compensate the real-time rotational speed based on the compensation speed.

[0013] Furthermore, the preset mode decomposition algorithm is set to a variational mode decomposition algorithm.

[0014] The present invention has the following beneficial effects: This invention utilizes a historical error analysis module and independent component analysis to deconstruct all macroscopic operating parameters into statistically independent components and an unmixing matrix. This setup separates the various physical causes affecting the error into independent sequences, providing an accurate analytical benchmark for subsequent error analysis and compensation. Furthermore, the benchmark shift of the independent sequences is analyzed to obtain the importance of the independent components. This importance can assess the contribution of the independent components to the overall error compensation when used as an analytical benchmark. Based on the frequency domain characteristics of the independent sequences, the normal sequence is determined to distinguish between normal operating conditions and abnormal conditions such as wear and tear.

[0015] Furthermore, through the real-time error analysis module, unmixing is used to demix the real-time operating parameters to obtain the independent operating values ​​of each independent component. Combined with the importance of the normal sequence and independent components, the real-time compensation coefficients are jointly solved. This process essentially utilizes historical data (independent sequences, importance sequences, and normal sequences) calculated in the historical error analysis module to perform real-time error analysis within the target period, overcoming the deficiency of fixed compensation parameters used in traditional error compensation. Based on this, the final error compensation module considers that wear and lubrication effects gradually change over time during operation. Therefore, a deductive model is trained to summarize the temporal changes in the impact of changes in wear and lubrication effects on compensation accuracy. The deduced coefficients can more accurately reflect the required degree of compensation, thus enabling high-precision compensation for direct-drive ball screws. Attached Figure Description

[0016] Figure 1 This is a schematic diagram illustrating the application of a direct-drive ball screw according to an embodiment of the present invention; Figure 2 A structural block diagram of a direct-drive ball screw dynamic precision compensation system based on multi-source signal fusion is provided in one embodiment of the present invention. Figure 3 This is a flowchart of a historical error feature analysis method provided in one embodiment of the present invention. Detailed Implementation

[0017] The following description, in conjunction with the accompanying drawings, details a specific scheme for a dynamic precision compensation system for a direct-drive ball screw based on multi-source signal fusion provided by the present invention.

[0018] The scenario targeted by this invention is as follows: Please refer to [link / reference]. Figure 1 This illustration shows a schematic diagram of a direct-drive ball screw application provided by an embodiment of the present invention. Motors are installed at both ends of the direct-drive ball screw to drive its rotation. A slider is mounted on the direct-drive ball screw, with a circulating raceway inside the slider. Balls are embedded between the circulating raceway and the screw thread raceway. The direct-drive ball screw rotates continuously, causing the balls to roll along the thread raceway, thereby pushing the slider to move linearly along the direct-drive ball screw. The rotational speed of the direct-drive ball screw can be changed by adjusting the motor speed, thus controlling the slider's movement speed. The direction of slider movement can be changed by adjusting the motor rotation direction. In practical applications, continuous friction occurs between the balls and the raceway, leading to increased wear. The lubricant on the raceway also gradually oxidizes over time. Therefore, during continuous operation of the direct-drive ball screw, errors accumulate, and the required accuracy compensation changes accordingly.

[0019] The system provided in this embodiment of the invention extracts multi-dimensional operating parameters from the target cycle, thereby triggering the analysis and decoupling of the system's execution data. The historical error analysis module of this system can parse sufficient sample data from historical data to solve for errors caused by wear, etc. Then, through the real-time error analysis module, it uses single-moment data combined with historical error analysis to achieve real-time error analysis. The dynamic precision compensation system provided in this embodiment of the invention can not only achieve dynamic real-time compensation for direct-drive ball screws, but also further extrapolate the real-time error analysis results by combining error changes caused by increased wear, etc., through the final error compensation module, thereby obtaining a higher precision compensation effect.

[0020] Please see Figure 2 The illustration shows a dynamic accuracy compensation system for a direct-drive ball screw based on multi-source signal fusion according to an embodiment of the present invention. The system includes: a data acquisition module 201, a historical error analysis module 202, a current error analysis module 203, and a final error compensation module 204.

[0021] The data acquisition module 201 is used to acquire the operating parameters of each monitoring dimension at each sampling moment within the target period during the rotation of the direct drive ball screw.

[0022] The reciprocating motion of the slider along the direct-drive ball screw is periodic, and each round trip can be considered a working cycle. Within each working cycle, the slider passes through all interference factors on the direct-drive ball screw that affect the final accuracy. Therefore, the working cycle can be extracted to determine a target cycle for subsequent error compensation, improving the targeting of the compensation. Errors in the actual operation of the direct-drive ball screw often manifest in multiple aspects. For example, the presence of defects can cause unexpected fluctuations in the slider's running speed, and poor lubrication can increase friction and lead to higher temperatures. To achieve accurate analysis of the sources of error and improve the subsequent error compensation effect, this embodiment of the invention acquires operating parameters under each monitoring dimension, providing complete basic data for subsequent analysis and processing.

[0023] In one specific implementation of this invention, the working cycle corresponding to each round trip of the slider on the direct-drive ball screw is the same under the same task. For example, in the wafer alignment process, the working cycle of the slider can be set to 30 seconds; in the milling process, the working cycle of the slider can be set to 60 seconds. This invention uses the currently ongoing working cycle as the target cycle, that is, there is only one target cycle at any given time, ensuring that all interference factors affecting the final accuracy on the direct-drive ball screw are captured at least once. When the working cycle is 30 seconds, this embodiment sets the target cycle to include a time length of 30 seconds, which can also be adjusted according to the specific scenario, and is not limited here.

[0024] As an example, in one implementation of this invention, the process of obtaining the running parameters includes: (1) The monitoring dimensions set for data collection in this embodiment include: temperature, torque, slider speed and slider acceleration.

[0025] Temperature monitoring: Temperature parameters are collected at each sampling moment by installing a temperature sensor on the ball screw nut; Torque monitoring: Torque parameters of the motor are continuously collected at each sampling moment by deploying a torque sensor at the motor output shaft; Slider speed monitoring and slider acceleration monitoring: Slider speed and acceleration parameters are collected at each sampling moment by deploying a speed sensor on the slider; the sampling frequency for each monitoring dimension is set to 100 Hz. Obviously, implementers can adjust other monitoring dimensions according to specific scenarios to adapt to different needs, all of which fall within the scope of protection of this invention.

[0026] (2) Normalize the indicators under each monitoring dimension to determine the operating parameters under each monitoring dimension.

[0027] This invention further normalizes the indicators for each monitoring dimension to obtain normalized operating parameters for each monitoring dimension, thus eliminating dimensional differences between different monitoring dimensions. It should be noted that the normalization process for each monitoring dimension is based on the same calculation principle. Taking the normalization process for temperature as an example: all temperature indicators collected within the historical period are input into... In the normalization algorithm, each running parameter is output after normalization. It should be noted that if the standard deviation of all temperature indicators is 0, it means there is no fluctuation and the error characteristics cannot be reflected; therefore, the temperature monitoring dimension can be removed. Similarly, the collected indicators for the remaining monitoring dimensions are... Normalization yields the operational parameters for the corresponding monitoring dimension. Normalization algorithms are common knowledge and will not be elaborated or limited here.

[0028] The historical error analysis module 202 is used to perform independent component analysis on all operating parameters within the historical period of the target period, determine the unmixing matrix and the independent sequence of each independent component; determine the importance of each independent component based on the relative reference offset of the independent sequence; and perform frequency domain decomposition on the independent sequence to obtain the normal sequence.

[0029] Errors on direct-drive ball screws exhibit both spatial periodicity (the wear position on the direct-drive ball screw is fixed) and temporal cumulativeity (wear intensifies over time). Relying solely on operating parameters at a single sampling moment for error extraction cannot fully reflect the error variation pattern. However, in practical applications, real-time error compensation is necessary to ensure operational accuracy and safety. Therefore, the purpose of this historical error analysis module 202 is to analyze all operating parameters within the historical period of the target cycle. The resulting analysis contains complete error characteristics within a single operational cycle. These complete error characteristics are then used as the basis for comparison in the subsequent real-time error analysis module 203 for real-time error processing at each sampling moment, thereby achieving real-time compensation.

[0030] As an example, in one implementation of the present invention, the historical cycle of the target cycle is set to the previous working cycle closest to the target cycle, that is, the latest historical data is used for analysis and processing within the target cycle. This is because the influence of error sources (sources of error such as wear and reduced lubrication) will gradually intensify over time, making the reference value of earlier historical working cycles weaker.

[0031] It should be noted that data under the same monitoring dimension may be caused by multiple error sources, and data under different monitoring dimensions may also be caused by the same error source. For example, increased wear and reduced lubrication can lead to increased friction temperature, and deformation and breakage of the direct-drive ball screw can lead to fluctuations in slider speed and acceleration. Based on this, the operating parameters collected under each monitoring dimension are mixed apparent data resulting from the combined effects of multiple error sources. It is necessary to decouple these mixed apparent data to restore the true independent physical error sources behind them. Therefore, this embodiment of the invention performs independent component analysis on all operating parameters to determine the unmixing matrix and the independent sequence of each independent component. The unmixing matrix is ​​used to unmix the operating parameters at a single sampling time. The independent sequence of each independent component enables accurate quantification of different error sources. Each independent component characterizes a different error source, which helps to improve the accuracy of error compensation. Furthermore, the influence of different independent components varies: the influence of breakage is significantly greater than that of wear. Therefore, this embodiment determines an importance based on the relative reference offset of the independent sequence to characterize the contribution of each independent component to the final error. Considering that the slider reciprocates on the direct-drive ball screw, it will inevitably experience acceleration, deceleration, uniform speed, and stationary states, meaning that the motion parameters themselves have fluctuations. To avoid misjudging this inherent fluctuation attribute as an error source, it is necessary to further extract the normal operating state of the slider. Since the acceleration, deceleration, and stationary states occur at the two ends of the direct-drive ball screw rotation where the slider needs to change direction, while uniform speed mainly occurs at the middle position of the direct-drive ball screw rotation, the inherent fluctuation attribute has a fixed frequency characteristic. Therefore, in this embodiment of the invention, frequency domain decomposition of independent sequences can be performed to obtain the normal sequence, so as to distinguish abnormal situations outside the normal and abnormal states.

[0032] Based on the above analytical approach, the historical error analysis module 202 sequentially processes the following three steps: obtaining the unmixing matrix and the independent sequence of each independent component within the historical period; obtaining the importance of the independent components based on the reference offset of the independent sequences; and obtaining the normal sequence of the independent components through frequency domain decomposition of the independent sequences. Please refer to... Figure 3 The diagram illustrates a flowchart of a historical error feature analysis method provided by an embodiment of the present invention, the method comprising: Step S301: Obtain the unmixing matrix and the independent sequence of each independent component within the historical period.

[0033] Before performing error feature analysis on the operating parameters under all monitoring dimensions, it is necessary to extract the unmixing matrix and the independent sequences of each statistically independent component. These independent components divide different error sources as much as possible, and the independent sequences are used as specific error analysis sources in subsequent processes.

[0034] Preferably, the method for obtaining the unmixing matrix and the independent sequences of each independent component includes: As previously explained, the collected operating parameters are a mixture of data resulting from multiple error sources. Therefore, when extracting independent components, it is necessary to process the operating parameters across all monitoring dimensions to avoid omissions. Based on this, this embodiment of the invention constructs a historical parameter matrix using all operating parameters within the historical period. The rows of the historical parameter matrix represent each monitoring dimension, and the columns represent each sampling time. The matrix elements in the historical parameter matrix represent the operating parameters of the corresponding row's monitoring dimension at the corresponding column's sampling time. The arrangement order of the monitoring dimensions in each row of the historical parameter matrix is ​​a preset dimension order. That is, all operating parameters under each monitoring dimension are arranged horizontally in chronological order to obtain a dimension sequence, and then all dimension sequences are arranged vertically according to the preset dimension order to obtain the historical parameter matrix, which is a... The matrix, Indicates the number of monitoring dimensions. This indicates the number of sampling times.

[0035] It should be noted that in the embodiments of the present invention, the preset dimension order is set to arrange temperature first, then torque, then slider speed, and finally slider acceleration. This can also be adjusted by the user.

[0036] Considering that Independent Component Analysis (ICA) can separate statistically independent source signals from a mixed signal, this embodiment of the invention utilizes ICA to perform ICA analysis on the historical parameter matrix to determine the historical independence matrix (which is a single independent matrix). The matrix) and the unmixing matrix (a The independent component analysis (ICA) matrix can divide statistically independent error sources as much as possible. Each row of the resulting historical independence matrix is ​​used as a statistically independent component. The product of the unmixed matrix and the historical parameter matrix is ​​the historical independence matrix. The output of the ICA algorithm is the historical independence matrix and the unmixed matrix. The specific calculation process of the ICA algorithm is a well-known technique and does not need to be elaborated or limited here. Then, all the matrix elements of each row of the historical independence matrix are arranged into an independent sequence of the corresponding independent components. This independent sequence includes both the abnormal error conditions caused by the error sources and the normal operating conditions during the rotation of the direct-drive ball screw (such as the normal acceleration and deceleration of the slider).

[0037] Step S302: Obtain the importance of independent components based on the baseline offset of independent sequences.

[0038] Preferably, the method for obtaining the importance includes: Step S301 explains that the independent sequence includes both abnormal error conditions and normal operating conditions. Therefore, by obtaining the preset factory sequence that only includes the normal operating conditions of the direct drive ball screw under each independent component, the independent sequence can be compared with the preset factory sequence under the corresponding independent component. The stronger the correlation between the independent sequence and the corresponding preset factory sequence, the closer the independent sequence is to the error-free normal operating condition and the smaller the abnormal error condition in the independent sequence. It should occupy a smaller weight in the subsequent error analysis. Conversely, the weaker the correlation between the independent sequence and the corresponding preset factory sequence, the larger the abnormal error condition in the independent sequence. It should be given a larger analysis weight in the subsequent analysis process.

[0039] As an example, in one implementation of this invention, the process of obtaining the preset factory sequence of each independent component includes: First, during the manufacturing process of the direct-drive ball screw, the operating parameters for each monitoring dimension are acquired, and a manufacturing parameter matrix is ​​constructed using the aforementioned method for constructing the historical parameter matrix. The number of rows and columns in this matrix is ​​the same as that in the historical parameter matrix. OK The sequence is then described. Subsequently, considering the inconsistency in the order and sign of the output components in each analysis by the Independent Component Analysis (ICA) algorithm, if the ICA algorithm is directly applied to the factory parameter matrix, each obtained independent component cannot precisely correspond to the independent components of the independent sequence. Therefore, this embodiment uses the unmixed matrix (…). Multiply by the factory parameter matrix ( ), to obtain the factory-independent matrix ( It should be noted that if there are monitoring dimensions that are removed in the historical period because the standard deviation is 0, the row data corresponding to the monitoring dimension without fluctuation should be removed simultaneously when constructing the factory parameter matrix. The same row of the factory independent matrix and the historical independent matrix represents the same independent component, ensuring that the physical correspondence of the independent components remains consistent. Finally, the matrix elements of each row of the factory independent matrix are used as the preset factory sequence under the corresponding independent component.

[0040] Based on the above analysis, this embodiment of the invention first determines the correlation of each independent component by using the absolute value of the Pearson correlation coefficient between the preset factory sequence and the independent sequence for each independent component. The absolute value of the Pearson correlation coefficient is used to eliminate the interference of directionality on the correlation measurement, focusing only on the consistency of the two sequences in their change patterns. A higher correlation indicates a stronger connection between the independent sequence and the normal state of the preset factory sequence, and fewer abnormal error conditions in the independent sequence that can be used for error analysis. Therefore, a negative correlation mapping is further applied to the correlation to determine the importance of each independent component.

[0041] As an example, in one implementation of this invention, importance is expressed by the following formula: ,in, The importance of the i-th independent component is within a certain range. ; For the correlation of the i-th independent component, the range is ; Let Pearson correlation coefficient be preset between the factory sequence and the independent sequences for the i-th independent component, and its range is... ; It is an absolute value function; J represents the total number of independent components; Let Pearson correlation coefficient be the preset output sequence and independent sequences for the j-th independent component.

[0042] Step S303: Obtain the normal sequence of independent components by frequency domain decomposition of independent sequences.

[0043] Preferably, the method for obtaining the normal sequence includes: The rotation of a direct-drive ball screw exhibits inherent frequency characteristics. Therefore, independent sequences can be input into a preset mode decomposition algorithm. In this embodiment, the preset mode decomposition algorithm is set to Variational Mode Decomposition (VMD). The algorithm outputs each mode sequence and its corresponding center frequency. All center frequencies contain the inherent frequency characteristics of the direct-drive ball screw rotation process. Therefore, this embodiment presets a preset normal frequency to represent the inherent frequency characteristics of the direct-drive ball screw rotation process. The mode sequence with the center frequency closest to the preset normal frequency can be used as the normal sequence for each independent component. This normal sequence only represents the normal operating condition, while all mode sequences outside the normal sequence represent abnormal error conditions. The variational mode decomposition algorithm is a well-known technology and will not be specifically described or limited here.

[0044] In one specific implementation of this invention, the preset normal frequency is set based on the actual work task. For example, in a milling task, if the working cycle of the slider is 60 seconds, then the preset normal frequency is set as follows: Hertz; In this embodiment of the invention, the target period is set to 30 seconds, therefore the preset normal frequency set in this embodiment is . Hertz is adjustable by the implementer according to the specific scenario, and no limit is set here.

[0045] Furthermore, in this embodiment of the invention, the mode sequence with the smallest absolute value of the difference between the center frequency and the preset normal frequency is taken as the normal sequence.

[0046] The real-world error analysis module 203 is used to unmix all operating parameters at each sampling time based on the unmixing matrix within the target period, determine the operating independent value of each independent component at each sampling time; determine the outlier value of each independent component at each sampling time based on the deviation between the operating independent value and the corresponding sequence element in the normal sequence, as well as the importance; and fuse all outliers to determine the compensation coefficient at each sampling time.

[0047] To ensure that the physical correspondence of independent components remains consistent, this embodiment of the invention unmixes all operating parameters at each sampling moment within the target period based on the unmixing matrix within the historical period of the target period, thereby determining the independent operating value of each independent component at each sampling moment. This independent operating value, like the independent sequence, simultaneously includes both abnormal error conditions caused by error sources and normal operating conditions during the rotation of the direct-drive ball screw. Therefore, this embodiment further determines the abnormal value of each independent component at the current sampling moment by considering the deviation between the corresponding sequence elements in the independent operating value and the normal sequence, thus eliminating normal operating conditions and retaining only abnormal error conditions. Simultaneously, it combines the importance reflecting the degree of importance of the independent components to jointly determine the abnormal value of each independent component at the current sampling moment, reflecting the severity of errors caused by physical reasons such as wear, thermal deformation, or lubrication deterioration. By fusing the abnormal values ​​of all independent components, the combined influence of all error sources is comprehensively characterized. The greater the combined influence, the greater the degree of compensation required, thereby enabling the determination of the compensation coefficient at each sampling moment.

[0048] It should be noted that the actual error analysis module 203 needs to rely on the historical error analysis module 202 for processing. That is, if there is no historical period for the target period during the first target period after the system starts, the actual error analysis module 203 and the final error compensation module 204 are paused. After the first target period has passed, the paused actual error analysis module 203 and the final error compensation module 204 are restarted.

[0049] Preferably, the method for obtaining the independent value includes: It is difficult to extract independent components representing the entire target period from a single sampling moment. Therefore, this embodiment of the invention demixes all operating parameters at a single sampling moment based on the demixing matrix. Within the target period, all operating parameters at each sampling moment are arranged vertically to determine a single-column matrix, which is a... A matrix with 1 row and 1 column, wherein the order of the monitoring dimensions in each row of the single-column matrix is ​​the preset dimension order, that is, the same row of the single-column matrix and the historical parameter matrix represents the same monitoring dimension. Therefore, it can be determined according to the unmixing matrix ( ) and single-column matrix ( The product of the two matrices determines a single-column independent matrix. This ensures that each row of the single-column independent matrix corresponds to the same row of the historical independent matrix.

[0050] It should be noted that since each row of the single-column independent matrix corresponds to the same row of the historical independent matrix, the same row of the single-column independent matrix and the historical independent matrix represent the same independent component. Therefore, the matrix elements of each row in the single-column independent matrix are used as the running independent value of each independent component at each sampling time. The running independent value includes both abnormal error conditions and normal operating conditions.

[0051] Preferably, the method for obtaining outliers includes: In the normal sequence, sequence elements with the same sampling time index as the running independent value are used as comparison elements. The same sampling time index indicates, for example, that the first sampling time in the target period and the first sampling time in the historical period have the same sampling time index, or that the 10th sampling time in the target period and the 10th sampling time in the historical period have the same sampling time index. Under this same sampling time index, the running independent value includes both abnormal error conditions and normal operating conditions, while the comparison elements in the normal sequence only include the normal operating condition. Therefore, the abnormality index of each independent component at each sampling time can be determined based on the difference between the running independent value and the comparison elements.

[0052] In one specific implementation of this invention, the difference between the independent value and the comparison element is used as the anomaly index for each independent component at each sampling time. It should be noted that this anomaly index can be positive or negative. A positive value indicates that the physical process corresponding to the independent component has a positive offset effect on the error, meaning the slider's actual position is ahead, requiring reverse compensation; a negative value indicates a negative offset effect, meaning the slider's actual position is behind, requiring positive compensation.

[0053] The anomaly index reflects the real-time error interference of each independent component, while the importance reflects the interference of each independent component on the overall error. By fusing the anomaly index and importance, the outlier value of each independent component at each sampling time can more accurately characterize the error shift. Both the anomaly index and importance are positively correlated with the outlier value.

[0054] As an example, in one implementation of this invention, the product of the anomaly index of each independent component at each sampling time and the importance of the same independent component is used as the anomaly value of each independent component at each sampling time.

[0055] Preferably, the method for obtaining the compensation coefficient includes: The sum of all outliers at each sampling time represents the overall error caused by all error sources at that sampling time. Therefore, by normalizing the sum of all outliers, the compensation coefficients obtained at each sampling time have a uniform scale.

[0056] Specifically, in this embodiment of the invention, the sum of all the outliers is normalized using a maximum value normalization algorithm to obtain the compensation coefficient at each sampling time, the range of which is... The maximum value used in the maximum value normalization algorithm is obtained by statistically analyzing a large amount of historical data; that is, the maximum sum of all outliers obtained at a single sampling time in history is taken as the maximum value. It should be noted that if the actual calculated outlier is positive and greater than the maximum value, the normalization result is forcibly set to a positive integer 1; if the actual calculated outlier is negative and its absolute value is greater than the maximum value, the normalization result is forcibly set to 1. This ensures the stability of the calculation.

[0057] The final error compensation module 204 is used to input the compensation coefficients into the pre-trained inference model and output the inference coefficients; and to use the inference coefficients to perform high-precision compensation on the direct drive ball screw.

[0058] On the one hand, since the compensation coefficient is obtained based on historical cycles prior to the target cycle, it is affected by historical error characteristics to some extent. During the continuous rotation of the direct-drive ball screw, wear and other effects gradually intensify, resulting in a certain time lag in the obtained compensation coefficient. Therefore, directly using the compensation coefficient for error compensation is less effective. On the other hand, considering the periodicity of the slider's movement on the direct-drive ball screw, the degree of aggravation of abnormal conditions such as wear also follows a fixed pattern. For example, every 30 seconds, when the slider passes a breakage location, it generates an abnormal impact of the same amplitude at that location. As the running mileage increases, this abnormal impact shows a slow increasing trend. Therefore, the compensation coefficient can be extrapolated to obtain a more accurate extrapolation coefficient. Thus, this embodiment of the invention inputs the compensation coefficient into a pre-trained extrapolation model and outputs the extrapolation coefficient. Using this extrapolation coefficient, real-time, high-precision compensation of the direct-drive ball screw can be achieved.

[0059] Preferably, the method for obtaining the inference coefficients includes: In this embodiment of the invention, the ATT-GRU model is used for inference operations. That is, the ATT-GRU model is pre-trained to obtain the inference model after training. The compensation coefficients are then input into the inference model to output the accurate inference coefficients at each sampling time.

[0060] As an example, in one implementation of this invention, the training method for the inference model is as follows: During the continuous operation of the direct-drive ball screw, two adjacent work cycles are extracted in time sequence. The compensation coefficient calculated in the earlier work cycle is used as the input sample, and the compensation coefficient calculated in the later work cycle is used as the output label. Multiple input samples and their corresponding output labels are then collected to construct a training dataset. The ATT-GRU model is trained using this training dataset to obtain the trained inference model. The loss function used is the weighted mean squared error (WMSE) loss function. The specific training process is well-known to those skilled in the art and will not be elaborated or limited here.

[0061] Preferably, the high-precision compensation of the direct-drive ball screw using extrapolation coefficients includes: The real-time rotational speed of the direct-drive ball screw at each sampling moment is extracted to represent the rotational speed of the direct-drive ball screw before compensation operation at each sampling moment, and this speed is used as the object of compensation. Due to the limitations of physical material strength and operational safety constraints, the compensation amount for the real-time rotational speed cannot exceed a safety threshold. Therefore, this invention determines the compensation speed based on the product of a derivation coefficient and a preset safety adjustment speed, which represents the aforementioned safety threshold, and performs the final compensation operation on the real-time rotational speed based on the compensation speed.

[0062] As an example, in one implementation of the present invention, the process of performing high-precision compensation on a direct-drive ball screw is described in detail below: (1) Obtain real-time speed: The system intercepts the motor base speed command issued by the upper controller at each sampling time and uses it as the real-time speed, which is in revolutions per second.

[0063] (2) Obtain the preset safe adjustment speed: Refer to the rated speed of the motor in the equipment operation manual and take 5% of the rated speed as the preset safe adjustment speed. The 5% can be adjusted according to the specific situation. When the task has high safety performance requirements, the 5% can be reduced to 3% to ensure operational safety; when the safety performance requirements are low, the 5% can be increased to 7% to improve the compensation range. The implementer can adjust it according to the specific scenario, and there is no limitation here.

[0064] (3) Obtain the compensation speed to compensate the real-time speed: Take the negative number of the product of the inference coefficient and the preset safety adjustment speed as the compensation speed at each sampling time. The reason for taking the negative number is that the inference coefficient and the abnormal index have the same sign. If the abnormal index is positive, it means that the physical process corresponding to the independent component has a positive offset effect on the error, that is, the actual position of the slider is ahead, and reverse compensation needs to be applied. Then, the sum of the compensation speed and the real-time speed at the current sampling time is used as the final speed control command at the current sampling time and sent to the motor servo controller for execution control, thereby completing the dynamic high-precision compensation of the direct drive ball screw.

[0065] In summary, this invention, through a historical error analysis module, utilizes independent component analysis to deconstruct all macroscopic operating parameters into statistically independent components and an unmixing matrix. This setup separates the various physical causes affecting the error into mutually independent sequences, providing an accurate analytical benchmark for subsequent error analysis and compensation. Furthermore, the benchmark shift of the independent sequences is analyzed to obtain the importance of the independent components. This importance can assess the contribution of the independent components to the overall error compensation when used as an analytical benchmark. Finally, the normal sequence is determined based on the frequency domain characteristics of the independent sequences to distinguish between normal operating conditions and abnormal conditions such as wear and tear.

[0066] Furthermore, through the real-time error analysis module, unmixing is used to demix the real-time operating parameters to obtain the independent operating values ​​of each independent component. Combined with the importance of the normal sequence and independent components, the real-time compensation coefficients are jointly solved. This process essentially utilizes historical data (independent sequences, importance sequences, and normal sequences) calculated in the historical error analysis module to perform real-time error analysis within the target period, overcoming the deficiency of fixed compensation parameters used in traditional error compensation. Based on this, the final error compensation module considers that wear and lubrication effects gradually change over time during operation. Therefore, a deductive model is trained to summarize the temporal changes in the impact of changes in wear and lubrication effects on compensation accuracy. The deduced coefficients can more accurately reflect the required degree of compensation, thus enabling high-precision compensation for direct-drive ball screws.

Claims

1. A dynamic accuracy compensation system for a direct-drive ball screw based on multi-source signal fusion, characterized in that, The system includes: The data acquisition module is used to acquire the operating parameters of each monitoring dimension at each sampling moment within the target cycle during the rotation of the direct drive ball screw. The historical error analysis module is used to perform independent component analysis on all operating parameters within the historical period of the target period, determine the unmixing matrix and the independent sequence of each independent component; under each independent component, the importance is determined based on the relative baseline offset of the independent sequence; and the independent sequence is decomposed in the frequency domain to obtain the normal sequence. The real-world error analysis module is used to unmix all operating parameters at each sampling time based on the unmixing matrix within the target period, determine the operating independent value of each independent component at each sampling time; determine the outlier value of each independent component at each sampling time based on the deviation between the operating independent value and the corresponding sequence element in the normal sequence, as well as the importance; and fuse all outliers to determine the compensation coefficient at each sampling time. The final error compensation module is used to input the compensation coefficients into the pre-trained inference model and output the inference coefficients; the inference coefficients are used to perform high-precision compensation on the direct drive ball screw.

2. The dynamic accuracy compensation system for a direct-drive ball screw based on multi-source signal fusion according to claim 1, characterized in that, The methods for obtaining the unmixing matrix and the independent sequences of each independent component include: Within the historical period, a historical parameter matrix is ​​constructed; the rows of the historical parameter matrix represent each monitoring dimension, and the columns represent each sampling time. The matrix elements in the historical parameter matrix represent the operating parameters of the corresponding monitoring dimension in the corresponding row at the sampling time in the corresponding column. The arrangement order of the monitoring dimensions in each row of the historical parameter matrix is ​​a preset dimension order. Independent component analysis is performed on the historical parameter matrix to determine the historical independence matrix and the unmixing matrix; each row of the historical independence matrix corresponds to an independent component; all matrix elements of each row of the historical independence matrix are arranged into an independent sequence of the corresponding independent components.

3. The dynamic accuracy compensation system for a direct-drive ball screw based on multi-source signal fusion according to claim 1, characterized in that, The methods for obtaining the importance include: The correlation of each independent component is determined by the absolute value of the Pearson correlation coefficient between the preset factory sequence and the independent sequence for each independent component; the correlation is then negatively correlated to determine the importance of each independent component.

4. The dynamic accuracy compensation system for a direct-drive ball screw based on multi-source signal fusion according to claim 1, characterized in that, The method for obtaining the normal sequence includes: The independent sequences are input into a preset mode decomposition algorithm, which outputs each mode sequence and its corresponding center frequency; the mode sequence whose center frequency is closest to the preset normal frequency is taken as the normal sequence of each independent component.

5. The dynamic accuracy compensation system for a direct-drive ball screw based on multi-source signal fusion according to claim 2, characterized in that, The method for obtaining the independent value of operation includes: Within the target period, all operating parameters at each sampling time are arranged vertically to determine a single-column matrix; the arrangement order of the monitoring dimensions in each row of the single-column matrix is ​​the preset dimension order. The independent column matrix is ​​determined by multiplying the unmixing matrix and the independent column matrix; the matrix elements of each row in the independent column matrix are used as the running independent values ​​of each independent component at each sampling time.

6. The dynamic accuracy compensation system for a direct-drive ball screw based on multi-source signal fusion according to claim 1, characterized in that, The method for obtaining the outlier includes: In the normal sequence, the sequence element with the same sampling time index as the running independent value is used as the comparison element; the anomaly index of each independent component at each sampling time is determined based on the difference between the running independent value and the comparison element. By combining anomaly index and importance, outliers for each independent component at each sampling time are determined; both anomaly index and importance are positively correlated with outliers.

7. The dynamic accuracy compensation system for a direct-drive ball screw based on multi-source signal fusion according to claim 1, characterized in that, The method for obtaining the compensation coefficient includes: The sum of all the outliers is normalized to determine the compensation coefficient for each sampling time.

8. The dynamic accuracy compensation system for a direct-drive ball screw based on multi-source signal fusion according to claim 1, characterized in that, The method for obtaining the inference coefficients includes: The ATT-GRU model is used for pre-training to obtain the inference model after training; the compensation coefficients are input into the inference model to output the inference coefficients at each sampling time.

9. The dynamic accuracy compensation system for a direct-drive ball screw based on multi-source signal fusion according to claim 1, characterized in that, The method of using extrapolation coefficients to perform high-precision compensation on direct-drive ball screws includes: Extract the real-time rotational speed of the direct-drive ball screw at each sampling moment; determine the compensation speed based on the product of the extrapolation coefficient and the preset safety adjustment speed, and compensate the real-time rotational speed based on the compensation speed.

10. A dynamic accuracy compensation system for a direct-drive ball screw based on multi-source signal fusion according to claim 4, characterized in that, The preset mode decomposition algorithm is set to variational mode decomposition algorithm.