A thermal error compensation system for a composite machining apparatus

By combining data sensing, signal acquisition, and complex domain neural networks in composite processing equipment, the problem of heat source state separation and decoupling in the prior art is solved, the accuracy of thermal error compensation is improved, and efficient thermal error prediction and compensation for composite processing equipment is realized.

CN123177328APending Publication Date: 2026-11-27BEIJING INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing technologies struggle to effectively convert time-series signals to the complex frequency domain to extract static attributes, making it impossible to accurately separate and decouple the high-frequency response state of the internal heat source of composite processing equipment from the low-frequency, slowly changing state of the external environmental heat source, resulting in thermal hysteresis affecting compensation accuracy.

Method used

The system uses a data sensing module to acquire temperature field and spatial three-dimensional deformation displacement signals, which are then converted into time-series discrete digital signals by a signal acquisition module. The system then uses a fusion computing module to perform frequency domain transformation and complex domain neural network for forward inference, outputting three-dimensional thermal error prediction compensation. Finally, the system uses a compensation execution module to achieve coordinate axis offset compensation.

Benefits of technology

It achieves the separation and decoupling of the high-frequency response state of the internal heat source of the composite processing equipment and the low-frequency slow-changing state of the external environmental heat source, reduces the influence of heat capacity hysteresis in the physical heat transfer path, and improves the compensation accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123177328A_ABST
    Figure CN123177328A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of precision manufacturing and processing, and discloses a thermal error compensation system for a compound machining equipment, which comprises a data sensing module, a signal collecting module, a fusion calculation module and a compensation executing module.The data sensing module is used for acquiring temperature field change signals and spatial three-dimensional deformation displacement signals; the signal collecting module is used for converting the temperature field change signals and the spatial three-dimensional deformation displacement signals into time sequence discrete digital signals; the fusion calculation module is used for performing frequency domain transformation on the time sequence discrete digital signals, extracting thermal phase quantity features, inputting the thermal phase quantity features into a complex domain neural network for forward reasoning calculation, and outputting three-dimensional thermal error prediction compensation amounts; and the compensation executing module is used for writing the three-dimensional thermal error prediction compensation amounts into registers of a numerical control system and controlling the compound machining equipment to execute coordinate axis offset compensation.Through extraction of thermal phase quantity features, time domain attributes are converted into static attributes in a complex frequency domain space, separation and decoupling of high-frequency and low-frequency heat sources are realized, and the influence of thermal capacity lag in a physical heat transfer path is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of precision manufacturing technology, specifically to a thermal error compensation system for composite machining equipment. Background Technology

[0002] Composite machining equipment plays a crucial role in modern precision manufacturing. During long-term continuous operation, core structural components such as the spindle box, slide, column, and bed undergo complex thermal deformation due to internal mechanical friction heat generation and external ambient temperature changes. This three-dimensional spatial deformation displacement is directly transmitted to the end of the spindle, causing a shift in the relative position between the tool and the workpiece, thereby reducing the machining accuracy of the workpiece. To maintain high-standard machining quality, it is usually necessary to construct a thermal error compensation system. This involves distributing an array of temperature sensors on the surface of the equipment to obtain temperature field change signals, combining them with the three-dimensional spatial deformation displacement signals for modeling, and finally executing coordinate axis offset compensation through the CNC system.

[0003] Existing thermal error compensation systems for composite machining equipment typically include a data sensing unit, a signal acquisition unit, a calculation module, and an execution module. In actual operation, the data sensing unit continuously acquires temperature field change signals at various measuring points on the machine tool. The signal acquisition unit performs analog-to-digital conversion on the acquired signals, generates a time-series discrete digital signal, and transmits it to the calculation module. After receiving the digital signal containing temperature time-series characteristics, the calculation module uses its internally configured error prediction model or algorithm to perform data processing and forward inference, and outputs the corresponding three-dimensional thermal error prediction compensation amount. Subsequently, the execution module receives the compensation amount and encapsulates it into the register of the CNC system based on the industrial communication protocol. The CNC system then reads the data string to complete the closed-loop compensation operation.

[0004] In processing time-series discrete digital signals, the internal heat source of composite machining equipment typically exhibits a high-frequency response state, while the external environmental heat source exhibits a low-frequency, slowly changing state. These two types of heat sources act together in the physical heat transfer path of the equipment. Due to the inherent thermal diffusivity of the machine tool's structural materials, thermal hysteresis inevitably occurs when the temperature signal is transmitted in the physical space. Existing processing methods directly use the dynamic time attributes of the truncated time-series signal for calculation, making it difficult to effectively convert the time-domain attributes to the complex frequency domain to extract static attributes including thermal amplitude and dispersion phase angle. Consequently, it is impossible to achieve accurate separation and decoupling between the high-frequency response state of the internal heat source and the low-frequency, slowly changing state of the external environmental heat source. Ultimately, it is difficult to overcome the impact of thermal hysteresis in the physical heat transfer path of composite machining equipment on the compensation accuracy. Summary of the Invention

[0005] To address the shortcomings of existing technologies, this invention provides a thermal error compensation system for composite processing equipment. This system solves the problem that existing technologies struggle to effectively convert time-series signals to the complex frequency domain to extract static attributes and achieve decoupling of high and low frequency heat sources, thus failing to overcome the impact of thermal capacity hysteresis in the physical heat transfer path on compensation accuracy.

[0006] To achieve the above objectives, the present invention provides the following technical solution: a thermal error compensation system for composite processing equipment, comprising: The data sensing module is installed on the surface of the composite processing equipment to acquire temperature field change signals and spatial three-dimensional deformation displacement signals. The signal acquisition module is connected to the data sensing module and is used to acquire the temperature field change signal and the spatial three-dimensional deformation displacement signal, and convert the temperature field change signal and the spatial three-dimensional deformation displacement signal into a time series discrete digital signal. The fusion computing module is connected to the signal acquisition module and is used to receive the time series discrete digital signal, perform frequency domain transformation on the time series discrete digital signal, extract the thermal phasor features in the complex domain, input the thermal phasor features into the complex domain neural network for forward inference calculation, and output the three-dimensional thermal error prediction compensation amount. The compensation execution module is connected to the fusion calculation module and the CNC system of the composite machining equipment, respectively. It is used to receive the three-dimensional thermal error prediction compensation amount, encapsulate the three-dimensional thermal error prediction compensation amount and write it into the register of the CNC system, and control the composite machining equipment to perform coordinate axis offset compensation.

[0007] Preferably, the data sensing module includes a temperature sensor array and a displacement sensor; the temperature sensor array is distributed in the spindle box, slide, column and bed of the composite machining equipment, and is used to acquire the temperature field change signal at each measuring point; the displacement sensor is set at the end of the spindle of the composite machining equipment, and is used to acquire the spatial three-dimensional deformation displacement signal.

[0008] Preferably, the signal acquisition module is configured with a reference sampling clock. The signal acquisition module sets the sampling frequency according to the reference sampling clock, drives the temperature sensor array and the displacement sensor to synchronously acquire the temperature field change signal and the spatial three-dimensional deformation displacement signal according to the sampling frequency, and performs analog-to-digital conversion processing on the temperature field change signal and the spatial three-dimensional deformation displacement signal to generate the time-series discrete digital signal.

[0009] Preferably, the fusion computing module is configured with a sliding time window. The fusion computing module performs a truncation operation on the time series discrete digital signal according to the window length of the sliding time window to generate a truncated time series signal. The fusion computing module performs a sliding window discrete Fourier transform on the truncated time series signal to transform the truncated time series signal from the time domain space to the complex frequency domain space, and extracts the thermal amplitude, dispersion phase angle, and corresponding real and imaginary data of the basic transform values ​​in the complex frequency domain space in the complex plane. The fusion computing module combines the thermal amplitude and dispersion phase angle of all measurement points to form the thermal phasor characteristics represented as a static complex matrix.

[0010] Preferably, the complex-domain neural network includes multiple hidden layers. The fusion calculation module configures the multiple hidden layers with a complex weight matrix consisting of a real part matrix and an imaginary part matrix, and a complex bias vector consisting of a real part vector and an imaginary part vector. The fusion calculation module defines the input data as a complex activation tensor and performs multiplication and addition operations on the complex activation tensor in combination with the complex weight matrix and the complex bias vector. It then uses a complex-domain activation function to independently perform threshold truncation calculations on the real and imaginary parts of the multiplication and addition results. The fusion calculation module extracts the complex activation tensor from the last hidden layer, concatenates the real part matrix and the imaginary part matrix of the complex activation tensor along the feature dimension, and performs a fully connected linear transformation operation in the real domain on the concatenated real and imaginary part matrices to generate the three-dimensional thermal error prediction compensation amount.

[0011] Preferably, during the network training phase, the fusion computing module extracts the spatial geometric distance of each measuring point based on the physical structural parameters of the composite processing equipment, and defines a physical topology set of adjacent measuring points; the fusion computing module calculates the theoretical heat transfer delay time by combining the basic thermal diffusivity constant of the composite processing equipment and the spatial geometric distance of the corresponding measuring points, and generates a lower bound and an upper bound for the allowable phase angle difference between adjacent measuring points; the fusion computing module extracts the dispersion phase angle of adjacent measuring points in the physical topology set of adjacent measuring points, calculates the absolute value of the phase angle difference between the dispersion phase angles of adjacent measuring points, and calculates the difference data for the absolute value of the phase angle difference that exceeds the range of the lower bound and the upper bound of the allowable phase angle difference, and generates a phase angle gradient penalty term.

[0012] Preferably, the fusion computing module is internally configured with a differential computing unit. The fusion computing module uses the differential computing unit to extract the adjacent time step difference values ​​of the time series discrete digital signal within the time window as time-domain mutation rate data, and calculates adaptive weighting coefficients based on the time-domain mutation rate data. The fusion computing module performs a superposition operation on the mean square error data between the three-dimensional thermal error prediction compensation amount and the spatial three-dimensional deformation displacement signal used as label data, and the phase angle gradient penalty term combined with the adaptive weighting coefficients to generate total loss data. The fusion computing module performs backpropagation operation based on the total loss data to update the parameter values ​​of the complex domain neural network.

[0013] Preferably, the compensation execution module is internally configured with a data inversion calculation unit. The compensation execution module uses the data inversion calculation unit to perform inversion calculation on the sign of the received three-dimensional thermal error prediction compensation amount to generate a compensation vector. The compensation execution module encapsulates the compensation vector into a data packet containing a data string recording the compensation vector based on a preset industrial communication protocol, and extracts the data string from the data packet and writes it into the register of the CNC system.

[0014] An electronic device includes a processor, a memory, a communication interface, and a bus; the processor, the memory, and the communication interface are interconnected via the bus; the memory stores a computer program, and the processor reads and executes the instructions contained in the computer program to realize the data processing and error prediction operations performed by the thermal error compensation system for composite processing equipment.

[0015] A computer-readable storage medium having a computer program stored therein, wherein when the computer program is read and executed by a processor, it performs data processing and error prediction operations for the thermal error compensation system of the composite processing equipment.

[0016] This invention provides a thermal error compensation system for composite processing equipment. It has the following beneficial effects: 1. This invention extracts thermal phasor features containing thermal amplitude and dispersion phase angle by performing a sliding window discrete Fourier transform on the acquired time-series discrete digital signal. It converts the time-domain attributes of the truncated time-series signal into static attributes in the complex frequency domain space, thereby separating the high-frequency response state of the internal heat source of the composite processing equipment from the low-frequency slow-changing state of the external environmental heat source and reducing the impact of thermal hysteresis in the physical heat transfer path of the composite processing equipment.

[0017] 2. This invention constructs a complex-domain neural network containing a complex weight matrix and a complex bias vector. The extracted thermal phasor features are input into the complex-domain neural network for feature extraction and forward propagation. The complex-domain activation function is used to independently perform threshold truncation calculations on the real and imaginary parts of the multiplication and addition results. Feature data is transmitted in the complex plane, maintaining the physical phase coupling correlation of the thermal phasor features, and thus completing the prediction of thermal error for the three-dimensional spatial deformation of composite processing equipment.

[0018] 3. This invention obtains the physical structural parameters and basic thermal diffusivity constant of the composite processing equipment, calculates the theoretical heat transfer delay time of adjacent measuring points of the temperature sensor array, constructs a physical phase angle feasible region and generates a phase angle gradient penalty term, and superimposes the mean square error data and the phase angle gradient penalty term to generate total loss data during the training stage of the complex domain neural network. Boundary data constraints based on the physical heat transfer properties of the composite processing equipment are applied to the training process of the complex domain neural network to optimize the update process of the weights of the complex domain neural network. Attached Figure Description

[0019] Figure 1 This is a diagram showing the overall module architecture of the thermal error compensation system of the present invention; Figure 2 This is a flowchart of the data processing and error prediction operation of the present invention; Figure 3 This is a block diagram of the hardware structure of the electronic device of the present invention.

[0020] Among them, 10 is the data sensing module; 11 is the temperature sensor array; 12 is the displacement sensor; 20 is the signal acquisition module; 30 is the fusion computing module; 40 is the compensation execution module; 51 is the processor; 52 is the memory; 53 is the communication interface; and 54 is the bus. Detailed Implementation

[0021] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0022] Please see the appendix Figure 1 -Appendix Figure 3 The present invention provides a thermal error compensation system for composite processing equipment, which may include a data sensing module 10, a signal acquisition module 20, a fusion calculation module 30, and a compensation execution module 40.

[0023] The data sensing module 10 is disposed on the surface of the composite machining equipment. The data sensing module 10 includes a temperature sensor array 11 and a displacement sensor 12. The temperature sensor array 11 is distributed on the spindle box, slide, column and bed of the composite machining equipment to acquire temperature field change signals at each measuring point. The displacement sensor 12 is disposed at the end of the spindle of the composite machining equipment to acquire spatial three-dimensional deformation displacement signals.

[0024] The signal acquisition module 20 is connected to the data sensing module 10 and the fusion computing module 30 respectively. The signal acquisition module 20 acquires the temperature field change signal and the spatial three-dimensional deformation displacement signal output by the data sensing module 10. The signal acquisition module 20 converts the temperature field change signal and the spatial three-dimensional deformation displacement signal into a time series discrete digital signal and sends the time series discrete digital signal to the fusion computing module 30.

[0025] The fusion computing module 30 is connected to the signal acquisition module 20. The fusion computing module 30 receives the time-series discrete digital signal and performs data processing and error prediction operations. The fusion computing module 30 performs frequency domain transformation on the time-series discrete digital signal and extracts the thermal phasor features in the complex domain. The fusion computing module 30 inputs the thermal phasor features into the complex domain neural network for forward inference calculation and outputs the three-dimensional thermal error prediction compensation amount. The compensation execution module 40 is connected to the fusion computing module 30 and the CNC system of the composite processing equipment. The compensation execution module 40 receives the three-dimensional thermal error prediction compensation amount output by the fusion computing module 30. The compensation execution module 40 encapsulates the three-dimensional thermal error prediction compensation amount according to the preset industrial communication protocol and writes it into the register of the CNC system to control the composite processing equipment to perform coordinate axis offset compensation.

[0026] In the system workflow, the data sensing module 10 continuously acquires temperature field change signals at a preset sampling frequency. During the model training phase, the data sensing module 10 synchronously acquires spatial three-dimensional deformation displacement signals as label data. The signal acquisition module 20 performs analog-to-digital conversion processing on the temperature field change signals and spatial three-dimensional deformation displacement signals to generate time-series discrete digital signals, and transmits the time-series discrete digital signals to the fusion computing module 30.

[0027] The fusion computing module 30 performs a sliding window discrete Fourier transform on the time-series discrete digital signal within the intercepted time window, converting the time-series discrete digital signal into thermal phasor features in the complex domain. The fusion computing module 30 extracts the thermal amplitude and dispersion phase angle of each frequency component through the sliding window discrete Fourier transform to form thermal phasor features, thereby decoupling the thermal inertia differences of the composite processing equipment. The fusion computing module 30 inputs the thermal phasor features into the complex domain neural network. During the network training phase, the complex domain neural network uses the mean square error of the three-dimensional thermal error prediction compensation amount and the spatial three-dimensional deformation displacement signal to perform data fitting, and adds a phase angle gradient penalty term based on the thermal diffusivity of the composite processing equipment material to the loss function to constrain the weight update process of the complex domain neural network in the complex plane.

[0028] During the actual operation phase, the complex domain neural network receives real-time thermal phasor characteristics and outputs a three-dimensional thermal error prediction compensation amount through complex forward propagation. The compensation execution module 40 receives the three-dimensional thermal error prediction compensation amount and inverts the three-dimensional thermal error prediction compensation amount to generate a compensation vector. The compensation execution module 40 encapsulates the compensation vector into a data packet based on a preset industrial communication protocol and writes it into the register of the CNC system to complete the closed-loop compensation.

[0029] The data sensing module 10 includes a temperature sensor array 11, which is fixed to the surface of the composite processing equipment by a magnetic adsorption component. The temperature sensor array 11 is distributed in the spindle box, slide, column and bed of the composite processing equipment. The temperature sensor array 11 is connected to the signal acquisition module 20 by a shielded drag chain data cable. The shielded drag chain data cable is used to reduce signal attenuation over long distances and prevent electromagnetic interference.

[0030] The data sensing module 10 also includes a displacement sensor 12, which is installed at the end of the spindle of the composite processing equipment. An inspection mandrel is provided at the end of the spindle of the composite processing equipment. During the calibration stage, the displacement sensor 12 works with the inspection mandrel to acquire the spatial three-dimensional deformation displacement signal of the composite processing equipment in the three-dimensional spatial coordinate system. The signal acquisition module 20 is equipped with a reference sampling clock. The signal acquisition module 20 sets the sampling frequency according to the reference sampling clock. The signal acquisition module 20 drives the temperature sensor array 11 to continuously acquire the temperature field change signal at each measuring point of the composite processing equipment according to the sampling frequency.

[0031] While acquiring the temperature field change signal, the signal acquisition module 20 drives the displacement sensor 12 to synchronously acquire the spatial three-dimensional deformation displacement signal according to the sampling frequency. The signal acquisition module 20 performs analog-to-digital conversion processing on the temperature field change signal and the spatial three-dimensional deformation displacement signal, and generates a time-series discrete digital signal.

[0032] The fusion computing module 30 performs thermal phase feature extraction for the composite processing equipment. The fusion computing module 30 receives the time-series discrete digital signal sent by the signal acquisition module 20. The fusion computing module 30 is internally configured with a sliding time window. The fusion computing module 30 performs a truncation operation on the time-series discrete digital signal according to the window length of the sliding time window and generates a truncated time-series signal containing a fixed number of data samples. The truncated time-series signal contains the time-series discrete digital signal of the temperature sensor array on the composite processing equipment within the corresponding time interval.

[0033] The fusion computing module 30 performs a discrete Fourier transform on the truncated time-series signal, converting it from the time domain to the complex frequency domain. For the temperature sensor array numbered... The measuring point is at the first The feature extraction process on each discrete frequency component is performed by the fusion calculation module 30 according to the formula:

[0034] Perform the calculation, where Represents the fundamental transform value in the complex frequency domain. The total number of data samples contained in the window length representing the sliding time window. The index value represents the current discrete time step. Representative number is The measurement point is at the index value of Discrete time step The following time-series discrete digital signals, Represents the imaginary unit. The index value represents the discrete frequency component.

[0035] The fusion computing module 30 provides numerical values ​​of the fundamental transform in the complex frequency domain. The data decomposition operation is performed according to Euler's formula, and the fusion calculation module 30 extracts the thermal amplitude of the fundamental transformation value in the complex plane. Dispersion phase angle and the corresponding real data and imaginary part data The thermal amplitude value records the heat accumulation value under the corresponding discrete frequency component, and the dispersion phase angle records the thermal hysteresis value in the physical heat transfer path of the composite processing equipment.

[0036] The fusion computing module 30 extracts the thermal amplitude and dispersion phase angle of all measuring points contained in the temperature sensor array 11 under multiple set discrete frequency components, and combines the thermal amplitude and dispersion phase angle of all measuring points to form thermal phasor features. The thermal phasor features are represented as static complex matrices in the complex plane. The fusion computing module 30 converts the dynamic time attributes of the truncated time-series signal into the static spatial attributes of the thermal phasor features. The fusion computing module 30 completes the separation and decoupling of the high-frequency response state of the internal heat source of the composite processing equipment and the low-frequency slow-changing state of the external environmental heat source by generating thermal phasor features.

[0037] The fusion computing module 30 is internally configured with a complex domain neural network. Thermal phasor features are input into the complex domain neural network for feature extraction and forward propagation operations. The fusion computing module 30 establishes the network topology of the complex domain neural network in the complex plane. The complex domain neural network contains multiple hidden layers. The fusion computing module 30 configures complex weight matrices and complex bias vectors for multiple hidden layers. For the th hidden layer... A hidden layer, and a complex weight matrix defined in the fusion computing module 30. and complex bias vector , where the complex weight matrix From the real part matrix of the weights With the imaginary part of the weight matrix Composition, complex bias vector By bias real part vector With the bias imaginary part vector constitute.

[0038] Fusion computing module 30 obtains the complex domain neural network number 1 The input data for each hidden layer, when When the input data is 1, it represents thermal phase quantity characteristics. The fusion calculation module 30 defines the input data as a complex activation tensor. And combined with complex weight matrix With complex bias vector For complex activation tensors Perform multiplication and addition operations, then use the complex field activation function to calculate the first... Complex activation tensors of each hidden layer The fusion computing module 30 follows the formula:

[0039] Perform forward propagation state update calculation, where This represents the activation function for the complex field.

[0040] The fusion computing module 30 performs a nonlinear mapping operation on the multiplication and addition results during the forward propagation process using a complex field activation function. The complex field activation function independently performs threshold truncation calculations on the real and imaginary parts of the multiplication and addition results, respectively. The fusion computing module 30 follows the formula:

[0041] Perform activation calculations in the complex field, where The complex variable represents the input to the activation function in the complex domain. The corresponding result of multiplication and addition operations, Represents complex variables The actual data, Represents complex variables The imaginary part of the data. It represents the imaginary unit.

[0042] The fusion computing module 30 extracts the complex activation tensor of the terminal hidden layer in the complex domain neural network, and the terminal hidden layer is recorded as the nth There are 1 hidden layer, and the complex activation tensor of the terminal hidden layer is recorded as a complex activation tensor. The fusion computing module 30 will activate the complex tensor. The real and imaginary matrices are concatenated along the feature dimension, and a fully connected linear transformation operation in the real domain is performed on the concatenated real and imaginary matrices to generate a three-dimensional thermal error prediction compensation quantity. The fusion calculation module 30 maintains the physical phase coupling correlation of thermal phase quantity features by transferring feature data in the complex plane.

[0043] The fusion computing module 30 performs the extraction of the physical heat transfer boundary of the equipment and the construction of the phase angle gradient penalty term. The fusion computing module 30 has pre-stored the physical structure parameters of the composite processing equipment. The fusion computing module 30 obtains the physical structure parameters of the composite processing equipment and extracts the spatial geometric distance of each measuring point in the temperature sensor array 11 based on the physical structure parameters. The fusion computing module 30 defines the physical topology set of adjacent measuring points of the temperature sensor array 11 according to the spatial geometric distance.

[0044] The fusion calculation module 30 pre-stores the basic thermal diffusivity constant of the composite processing equipment. The fusion calculation module 30 extracts the basic thermal diffusivity constant of the composite processing equipment and calculates the theoretical heat transfer delay time by combining the basic thermal diffusivity constant with the spatial geometric distance of the corresponding measuring points in the physical topology set of adjacent measuring points. The fusion calculation module 30 generates the lower bound and upper bound of the allowable phase angle difference between adjacent measuring points based on the theoretical heat transfer delay time, thereby constructing the physical phase angle feasible region.

[0045] The fusion computing module 30 obtains the dispersion phase angle contained in the thermal phasor characteristics, for adjacent measuring points in the physical topology set of adjacent measuring points. and adjacent measuring points The fusion computing module 30 extracts the corresponding dispersion phase angle. and dispersion phase angle The fusion computing module 30 calculates the dispersion phase angle. With dispersion phase angle The absolute value of the phase angle difference between the two phase angles is calculated, and the relationship between the absolute value of the phase angle difference and the values ​​of the lower and upper limits of the allowable phase angle difference is compared. The fusion calculation module 30 calculates the difference data for the absolute value of the phase angle difference that exceeds the lower and upper limits of the allowable phase angle difference, according to the formula:

[0046] Perform phase angle gradient penalty term generation calculation.

[0047] The fusion computing module 30 generates a phase angle gradient penalty term through a phase angle gradient penalty term generation operation, wherein... This represents the phase angle gradient penalty term. Represents the physical topology set of adjacent measuring points. Represents the physical topology set of adjacent measurement points A pair of adjacent measuring points inside, Representing adjacent measuring points The dispersion phase angle, Representing adjacent measuring points The dispersion phase angle, This represents the upper limit of the allowable phase angle difference. The lower bound of the allowed phase angle difference is represented by the phase angle gradient penalty term, which is used to impose boundary data constraints based on the physical heat transfer properties of the composite processing equipment on the training process of the complex domain neural network.

[0048] The fusion computing module 30 performs the calculation of the adaptive joint loss function and the training operation of the complex domain neural network. The fusion computing module 30 obtains the three-dimensional thermal error prediction compensation amount output by the complex domain neural network and simultaneously obtains the spatial three-dimensional deformation displacement signal collected by the data perception module 10. The fusion computing module 30 uses the spatial three-dimensional deformation displacement signal as label data.

[0049] The fusion computing module 30 is equipped with a differential computing unit. The fusion computing module 30 acquires the time series discrete digital signal and uses the differential computing unit to extract the adjacent time step difference value of the time series discrete digital signal within the time window as the time domain mutation rate data. The fusion computing module 30 calculates the adaptive weighting coefficient based on the time domain mutation rate data and synchronously increases the value of the adaptive weighting coefficient when the time domain mutation rate data increases.

[0050] The fusion calculation module 30 obtains the phase angle gradient penalty term and, in conjunction with the adaptive weighting coefficient, superimposes the mean square error data between the three-dimensional thermal error prediction compensation and the spatial three-dimensional deformation displacement signal with the phase angle gradient penalty term. The fusion calculation module 30 performs the calculation according to the formula:

[0051] Perform adaptive joint loss function calculation.

[0052] The fusion computing module 30 generates total loss data through an adaptive joint loss function calculation operation, wherein... Represents total loss data. This represents the total number of data samples used in the training computation. The index value representing the data sample. Representing the The three-dimensional thermal error prediction compensation amount corresponding to each data sample Representing the The spatial three-dimensional deformation displacement signal corresponding to each data sample Mean squared error operation for vectors. Represents the adaptive weighting coefficients. This represents the phase angle gradient penalty term.

[0053] The fusion computing module 30 has a convergence threshold pre-stored inside. The fusion computing module 30 performs backpropagation operation based on the total loss data and calculates the gradient data of the total loss data with respect to the complex weight matrix and complex bias vector inside the complex domain neural network according to the complex chain rule. The fusion computing module 30 uses the gradient data to update the parameter values ​​of the complex weight matrix and complex bias vector, and reduces the value of the total loss data by performing forward inference calculation and backpropagation operation in a loop. The fusion computing module 30 stops updating parameters when the total loss data reaches the convergence threshold, thereby completing the training operation of the complex domain neural network.

[0054] During the actual operation of the composite processing equipment, the fusion computing module 30 continuously receives the time-series discrete digital signals sent by the signal acquisition module 20, and uses a sliding time window to extract the time-series discrete digital signals and perform a sliding window discrete Fourier transform to generate real-time thermal phasor features. The fusion computing module 30 inputs the thermal phasor features into the trained complex domain neural network, and generates the three-dimensional thermal error prediction compensation amount at the current moment through the forward propagation operation of the complex domain neural network.

[0055] The compensation execution module 40 is connected to the fusion calculation module 30 and receives the three-dimensional thermal error prediction compensation amount output by the fusion calculation module 30. The compensation execution module 40 is equipped with a data inversion calculation unit and uses the data inversion calculation unit to perform inversion calculation on the sign of the three-dimensional thermal error prediction compensation amount, thereby generating a compensation vector.

[0056] The compensation execution module 40 is pre-configured with a preset industrial communication protocol, which includes the Nc-Link communication protocol format. The compensation execution module 40 encapsulates the compensation vector into a data packet according to the preset industrial communication protocol. The data packet contains a network header and a data string that records the compensation vector.

[0057] The compensation execution module 40 is connected to the CNC system of the composite machining equipment. The CNC system is equipped with registers. The compensation execution module 40 transmits data packets to the CNC system and extracts the data strings inside the data packets and writes them into the registers. The CNC system reads the data strings inside the registers and performs coordinate axis offset compensation based on the data strings, thereby completing the thermal error closed-loop compensation operation for the composite machining equipment.

[0058] The present invention provides an electronic device, which includes a processor 51, a memory 52, a communication interface 53, and a bus 54.

[0059] The processor 51, memory 52 and communication interface 53 are connected to each other through bus 54. Bus 54 includes address bus, data bus and control bus. Bus 54 performs data transmission operations between various hardware components inside the electronic device.

[0060] The memory 52 includes a read-only memory and a random access memory. The memory 52 stores computer programs and data generated during the operation of electronic devices. The memory 52 provides computer programs and data to the processor 51.

[0061] The processor 51 adopts a central processing unit or an application-specific integrated circuit. The processor 51 reads the computer program stored in the memory 52 through the bus 54 and executes the instructions contained in the computer program, thereby completing the various data processing and error prediction operations performed by the thermal error compensation system for composite processing equipment.

[0062] The communication interface 53 includes a network communication chip. The communication interface 53 establishes a communication connection with the signal acquisition module 20 and the CNC system. The communication interface 53 receives the time-series discrete digital signal sent by the signal acquisition module 20 and sends the data packet to the CNC system.

[0063] The present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is read and executed by the processor 51, it performs the aforementioned data processing and error prediction operations performed by the thermal error compensation system for composite processing equipment. The computer-readable storage medium includes non-volatile storage elements.

[0064] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A thermal error compensation system for composite machining equipment, characterized in that, include: The data sensing module is installed on the surface of the composite processing equipment to acquire temperature field change signals and spatial three-dimensional deformation displacement signals. The signal acquisition module is connected to the data sensing module and is used to acquire the temperature field change signal and the spatial three-dimensional deformation displacement signal, and convert the temperature field change signal and the spatial three-dimensional deformation displacement signal into a time series discrete digital signal. The fusion computing module is connected to the signal acquisition module and is used to receive the time series discrete digital signal, perform frequency domain transformation on the time series discrete digital signal, extract the thermal phasor features in the complex domain, input the thermal phasor features into the complex domain neural network for forward inference calculation, and output the three-dimensional thermal error prediction compensation amount. The compensation execution module is connected to the fusion calculation module and the CNC system of the composite machining equipment, respectively. It is used to receive the three-dimensional thermal error prediction compensation amount, encapsulate the three-dimensional thermal error prediction compensation amount and write it into the register of the CNC system, and control the composite machining equipment to perform coordinate axis offset compensation.

2. The thermal error compensation system for composite processing equipment according to claim 1, characterized in that, The data sensing module includes a temperature sensor array and a displacement sensor; the temperature sensor array is distributed in the spindle box, slide, column and bed of the composite machining equipment, and is used to acquire the temperature field change signal at each measuring point; the displacement sensor is set at the end of the spindle of the composite machining equipment, and is used to acquire the spatial three-dimensional deformation displacement signal.

3. The thermal error compensation system for composite processing equipment according to claim 2, characterized in that, The signal acquisition module is equipped with a reference sampling clock. The signal acquisition module sets the sampling frequency according to the reference sampling clock, drives the temperature sensor array and the displacement sensor to synchronously acquire the temperature field change signal and the spatial three-dimensional deformation displacement signal according to the sampling frequency, and performs analog-to-digital conversion processing on the temperature field change signal and the spatial three-dimensional deformation displacement signal to generate the time series discrete digital signal.

4. The thermal error compensation system for composite processing equipment according to claim 2, characterized in that, The fusion computing module is internally configured with a sliding time window. The fusion computing module performs a truncation operation on the time-series discrete digital signal according to the window length of the sliding time window to generate a truncated time-series signal. The fusion computing module performs a sliding window discrete Fourier transform on the truncated time-series signal, converting it from the time domain space to the complex frequency domain space, and extracting the thermal amplitude, dispersion phase angle, and corresponding real and imaginary data of the fundamental transform values ​​in the complex frequency domain space on the complex plane. The fusion computing module combines the thermal amplitude and dispersion phase angle of all measurement points to form the thermal phasor characteristics represented as a static complex matrix.

5. A thermal error compensation system for composite processing equipment according to claim 1, characterized in that, The complex domain neural network includes multiple hidden layers. The fusion calculation module configures the multiple hidden layers with a complex weight matrix consisting of a real part weight matrix and a virtual part weight matrix, and a complex bias vector consisting of a real bias vector and a virtual bias vector. The fusion computing module defines the input data as a complex activation tensor, and performs multiplication and addition operations on the complex activation tensor in combination with the complex weight matrix and the complex bias vector. It then uses a complex domain activation function to independently perform threshold truncation calculations on the real and imaginary parts of the multiplication and addition results. The fusion computing module extracts the complex activation tensor of the terminal hidden layer, concatenates the real and imaginary parts of the complex activation tensor along the feature dimension, and performs a fully connected linear transformation operation in the real domain on the concatenated real and imaginary parts to generate the three-dimensional thermal error prediction compensation amount.

6. A thermal error compensation system for composite processing equipment according to claim 2, characterized in that, During the network training phase, the fusion computing module extracts the spatial geometric distance of each measuring point based on the physical structural parameters of the composite processing equipment and defines the physical topology set of adjacent measuring points. The fusion computing module combines the basic thermal diffusivity constant of the composite processing equipment and the spatial geometric distance of the corresponding measuring points to calculate the theoretical heat transfer delay time and generate the lower bound and upper bound of the allowable phase angle difference between adjacent measuring points. The fusion calculation module extracts the dispersion phase angle of adjacent measurement points in the physical topology set of adjacent measurement points, calculates the absolute value of the phase angle difference between the dispersion phase angles of adjacent measurement points, and calculates the difference data for the absolute value of the phase angle difference that exceeds the lower and upper bounds of the allowable phase angle difference range, and generates a phase angle gradient penalty term.

7. A thermal error compensation system for composite processing equipment according to claim 6, characterized in that, The fusion computing module is equipped with a differential computing unit. The fusion computing module uses the differential computing unit to extract the adjacent time step difference values ​​of the time series discrete digital signal within the time window as time domain mutation rate data, and calculates adaptive weighting coefficients based on the time domain mutation rate data. The fusion calculation module superimposes the mean square error data between the three-dimensional thermal error prediction compensation amount and the spatial three-dimensional deformation displacement signal used as label data, and the phase angle gradient penalty term combined with the adaptive weighting coefficient to generate total loss data. The fusion calculation module performs backpropagation operations based on the total loss data to update the parameter values ​​of the complex domain neural network.

8. A thermal error compensation system for composite processing equipment according to claim 1, characterized in that, The compensation execution module is internally configured with a data inversion calculation unit. The compensation execution module uses the data inversion calculation unit to perform inversion calculation on the sign of the received three-dimensional thermal error prediction compensation amount to generate a compensation vector. The compensation execution module encapsulates the compensation vector into a data packet containing a data string recording the compensation vector based on a preset industrial communication protocol, and extracts the data string from the data packet and writes it into the register of the CNC system.

9. An electronic device, characterized in that, It includes a processor, a memory, a communication interface, and a bus; the processor, the memory, and the communication interface are interconnected via the bus; the memory stores a computer program, and the processor reads and executes the instructions contained in the computer program, thereby realizing the data processing and error prediction operations performed by the thermal error compensation system for composite processing equipment as described in any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium internally stores a computer program, which, when read and executed by a processor, performs data processing and error prediction operations as described in any one of claims 1 to 8 for the thermal error compensation system of composite processing equipment.