A resource allocation and scheduling method for cutting fluid circulation system based on industrial internet of things
By acquiring the operating parameters and tool path instructions during the cutting process, and utilizing distributed edge convergence and recurrent neural networks, a health status trajectory and resource conflict heatmap are constructed. This solves the problem of intelligent control of resource scheduling in a multi-machine-tool shared resource environment, and improves the stability and efficiency of the machining process.
Patent Information
- Application Number
- CN202611081692.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-21
- Publication Date
- 2026-11-27
AI Technical Summary
Existing program control systems lack intelligent control methods that can predict and coordinate resource scheduling and adaptively respond to changes in working conditions in dynamic manufacturing environments where multiple machine tools share resources, resulting in limited system stability and efficiency.
By acquiring the operating parameters and tool path instructions during high-speed cutting, and using distributed edge convergence processing and recurrent neural network training models, a health status trajectory and resource conflict heatmap are constructed to generate an optimized scheduling path for the cutting fluid, and adaptive adjustments are made.
It enables precise characterization and real-time insight into the machining process, anticipates potential instability risks, improves machining accuracy and tool life, optimizes resource scheduling, and enhances system robustness and efficiency.
Smart Images

Figure CN123177359A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of program control technology, and in particular to a resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things. Background Technology
[0002] In modern manufacturing systems centered on CNC machine tools, the precision of program control directly determines production quality and efficiency. In dynamic machining tasks such as high-speed cutting, cutting fluid, as a critical auxiliary resource, plays a decisive role in machining stability and tool life. Existing program control systems typically treat cutting fluid, a shared resource, as an independent subsystem, employing a static control strategy based on preset parameters. This approach fails to ensure real-time synchronization between cutting fluid supply and the rapidly changing actual machining load of the machine tool, leading to a disconnect between resource allocation and actual demand, thus impacting overall machining accuracy and system energy efficiency.
[0003] With the introduction of the cyber-physical systems (CPS) concept, existing program control architectures have revealed their inherent limitations when achieving deep integration. The core technical challenge lies in the difficulty of effectively integrating real-time sensor data from the physical world with control commands from the digital world. This separation prevents the construction of dynamic models that accurately characterize the microscopic evolution of the processing, resulting in a lack of precise insight into the actual processing status of the control system.
[0004] Due to the lack of high-fidelity dynamic models, the systems generally lack the ability to predict future states and cannot anticipate the trend of actual machining trajectories deviating from the ideal trajectory due to factors such as tool wear. Consequently, they cannot calculate in advance the dynamic compensation parameters used to actively suppress deviations. This deficiency becomes increasingly prominent in scenarios where multiple machine tools share cutting fluid resources. Because the future resource needs of a single machine tool cannot be predicted, the system cannot aggregate the needs of multiple machine tools to predict resource competition and conflicts at the entire workshop level. Ultimately, the allocation of cutting fluid resources can only rely on static strategies, unable to dynamically optimize scheduling based on predicted conflicts, and even less able to adaptively adjust closed-loop based on cutting fluid quality during execution. This significantly reduces the robustness and efficiency of the entire manufacturing unit when facing complex working conditions. Therefore, existing technologies generally face a core technical challenge: in dynamic manufacturing environments where multiple machine tools share resources, there is a lack of an intelligent control method that can predict and collaboratively schedule resources while adaptively responding to changes in working conditions, resulting in limited overall system stability and efficiency.
[0005] To address this, this invention proposes a resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things (IIoT). By analyzing real-time data using intelligent algorithms, adaptive control and dynamic optimization scheduling of cutting fluid resources are achieved. Summary of the Invention
[0006] To address the lack of an intelligent control method in existing technologies for dynamic manufacturing environments with multiple machine tools sharing resources, capable of predicting and coordinating resource scheduling while adaptively responding to changes in operating conditions, which limits the overall stability and efficiency of the system.
[0007] The technical solution provided by this invention is as follows: A resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things (IIoT) includes: The system acquires the operating parameters and current toolpath instructions during high-speed cutting, including instantaneous cutting force and temperature in the tool-workpiece contact area. The operating parameters are processed by distributed edge aggregation and correlated with the current toolpath command in real time to construct a health state trajectory that characterizes the evolution of the cutting process. Based on the recurrent neural network training model deviation predictor, the deviation and health status trajectory of the cutting mechanism twins are compared in different time periods to predict the cutting trajectory separation trend, and the dynamic compensation parameter vector for suppressing the separation trend is calculated. Based on the dynamic compensation parameter vector and health status trajectory, the conflict probability and time mapping in the cutting process are calculated, and a resource conflict heat map characterizing the machine tool spatial load is constructed. Based on the resource conflict heatmap, the optimal scheduling path for the cutting fluid is calculated, and the activation medium control orchestration instruction for the cutting fluid is generated. Based on the control orchestration instructions, the CNC machine tool performs flexible resource orchestration for each actuator, and collects medium feedback parameters that characterize the cutting fluid operation and machining process. Through the medium feedback parameters, the flexible resource orchestration is adaptively adjusted.
[0008] Preferably, the acquisition of operating parameters and current toolpath commands during high-speed cutting includes: acquiring operating parameters during high-speed cutting via a multi-sensor array integrated on the machine tool, the operating parameters including instantaneous cutting force and temperature of the tool-workpiece contact area; establishing a data communication connection with the CNC system kernel via an edge computing terminal deployed next to the machine tool using a preset industrial data exchange protocol; polling and subscribing in real time from the communication connection to the program segment being executed by the CNC system to acquire the original toolpath command string and modal information synchronized with the command, the modal information including the current coordinate system, tool compensation value, spindle speed, and feed rate; and performing real-time syntax parsing on the acquired original command string within the edge computing terminal to decompose it into structured command data, the structured command data clearly identifying the motion command type, the motion command type including linear interpolation, circular interpolation, target three-dimensional coordinate point, and various set cutting parameters.
[0009] Preferably, the process of performing distributed edge convergence processing on the operating parameters and associating them in real time with the current toolpath command to construct a healthy state trajectory characterizing the evolution of the cutting process includes: performing distributed edge convergence processing on the operating parameters, wherein the distributed edge convergence processing includes data denoising and filtering, signal feature extraction, and numerical range normalization; extracting statistical features and spectral features from the operating parameters after distributed edge convergence processing; performing data labeling and time-series synchronization on the extracted statistical features and spectral features based on different processing batches and the synchronization timestamp of the current toolpath command; and integrating historical data of processing batches before numerical range normalization to achieve adaptive allocation of feature weights, thereby generating a healthy state trajectory characterizing the evolution of the cutting process.
[0010] Preferably, the process of training a deviation predictor based on a recurrent neural network includes: inputting the health state trajectory and the cutting mechanism twin theoretical trajectory representing the ideal working condition as time series data into a recurrent neural network model with a bidirectional memory network structure; the recurrent neural network model is a bidirectional long short-term memory network, which predicts the trend of the health state trajectory deviating from the theoretical trajectory in the future by learning the deviation patterns and dynamic evolution laws between the health state trajectory and the cutting mechanism twin theoretical trajectory in historical data.
[0011] Preferably, the process of comparing the deviation and health status trajectory of the cutting mechanism twin in different time periods, predicting the cutting trajectory separation trend, and calculating the dynamic compensation parameter vector for suppressing the separation trend includes: comparing the health status trajectory with the theoretical trajectory of the cutting mechanism twin in real time, quantifying and generating a deviation time series characterizing the difference between the health status trajectory and the theoretical trajectory of the cutting mechanism twin; inputting the deviation time series into the model deviation predictor, analyzing the evolution pattern of the deviation in historical time periods, and outputting a prediction of the deviation development in future time windows, i.e., the cutting trajectory separation trend; based on the cutting trajectory separation trend, integrating the current evolution rate of the health status trajectory, and using an adaptive optimization algorithm based on model prediction, taking the predicted cutting trajectory separation trend as input, solving to generate a set of optimal cutting parameter adjustment values to compensate for the separation trend. This set of adjustment values is also used to stabilize the cutting load and constitutes the dynamic compensation parameter vector.
[0012] Preferably, the process of calculating the conflict probability and time mapping during the cutting process based on the dynamic compensation parameter vector and health status trajectory, and constructing a resource conflict heatmap characterizing the machine tool's spatial load, includes: aggregating the machining parameters implicit in the subsequent program control instructions of the CNC machine tool, which is the dynamic compensation parameter vector, and integrating it with the health status trajectory, real-time supply capacity, inventory status, and production plan priority data of the cutting fluid circulation system; based on the integrated data, predicting future machining actions through the dynamic compensation parameter vectors of each machine tool, calculating the expected demand of each machine tool for shared cutting fluid resources, and superimposing the expected demand on the future time axis; comparing the superimposed total expected demand with the real-time supply capacity, quantifying the conflict probability of each machine tool causing instability in the machining process due to resource competition at various future time points; mapping the calculated conflict probability onto a two-dimensional coordinate system with future time as one dimension and each machine tool as the other dimension, and visualizing it through color gradients to construct the resource conflict heatmap.
[0013] Preferably, the process of calculating the optimal scheduling path of the cutting fluid and generating the activation medium control orchestration instruction for the cutting fluid based on the resource conflict heatmap includes: using the conflict probability identified in the resource conflict heatmap as the triggering condition and constraint for optimization; using a multi-objective optimization algorithm to weigh the conflict objectives of cutting efficiency, tool life, system energy consumption, and cutting fluid quality to seek the optimal resource scheduling strategy; the scheduling strategy finds a solution that can resolve the conflict probability by dynamically planning the cutting fluid supply flow rate, circulation pressure, target temperature set point, and waste fluid recovery path of the machine tool in the future time series, and the solution is the optimal scheduling path of the cutting fluid; the optimal scheduling path is converted into an instruction set containing execution timing and values, and the instruction set is the activation medium control orchestration instruction for the cutting fluid.
[0014] Preferably, the process of converting the optimized scheduling path into an instruction set containing execution timing and values that can be directly issued to each execution mechanism includes: decomposing and mapping the resource scheduling targets in the optimized scheduling path to the execution mechanisms required by the execution targets based on a pre-configured physical device topology model; for the mapped execution mechanisms, calling the corresponding device control model to convert the physical quantity setpoints defined in the scheduling targets into control signal values that the execution mechanisms can directly receive; encapsulating the converted control signal values into data packets that conform to the communication protocol of the target execution mechanism, and attaching an execution timestamp specified in the optimized scheduling path to the data packets; and combining all the encapsulated and timestamped data packets to form the instruction set.
[0015] Preferably, the flexible resource arrangement of the CNC machine tool is performed on each actuator based on control orchestration instructions, and media feedback parameters characterizing the operating status of the cutting fluid and the machining process are collected. The process of adaptively adjusting the flexible resource arrangement through the media feedback parameters includes: receiving the control orchestration instructions through the digital bus interface integrated in each CNC machine tool, and driving each actuator of the cutting fluid to coordinate with the CNC machine tool to realize the flexible resource arrangement; while the flexible resource arrangement is being executed, data characterizing the real-time quality and performance status of the cutting fluid is collected through sensor arrays deployed in the main cutting fluid circulation path and each machine tool cutting fluid branch path. The data includes the pH value, concentration, oil-water ratio and contaminant content of the cutting fluid, and the data is used as media feedback parameters; the media feedback parameters are input into a deep reinforcement learning-based agent. The agent uses process proxy indicators that can be monitored online in real time and are related to machining quality and system loss as adaptive excitation factors, iteratively optimizes in real time and generates fine-tuning instructions to dynamically adjust the currently executing flexible resource arrangement.
[0016] The beneficial effects of the technical solution provided by this invention include: 1. This invention acquires the instantaneous cutting force and the temperature of the tool-workpiece contact area during high-speed cutting, obtains the tool path and instructions, and correlates them in real time with the operating parameters after distributed edge convergence processing to construct a health state trajectory that characterizes the microscopic evolution of the cutting process. It can effectively integrate discrete operating parameters with program control instructions to form a digital twin model that reflects the machining state, solving the problem that traditional methods rely on static preset parameters and cannot accurately map the actual working conditions, thus achieving accurate characterization and real-time insight into the machining process state.
[0017] 2. This invention constructs a model deviation predictor based on a recurrent neural network to compare the healthy state trajectory with the cutting mechanism twin theoretical trajectory under ideal working conditions in real time, thereby predicting the separation trend between the two within a future time window. Based on the prediction results, an adaptive optimization algorithm actively solves and generates a dynamic compensation parameter vector to suppress this separation trend. This predictive program control mechanism can effectively anticipate and avoid potential instability risks caused by state deviations during machining, realizing a shift from reactive to proactive control mode. While ensuring the stability of the machining process, it improves machining accuracy and tool life, and reduces scrap rate and equipment wear caused by machining anomalies.
[0018] 3. This invention constructs a conflict heatmap representing the shared resource load of the entire workshop by aggregating the dynamic compensation parameter vectors and health status trajectories of each machine tool. Using this heatmap as a constraint, a multi-objective optimization algorithm is driven to generate the globally optimal cutting fluid optimization scheduling path and control orchestration instructions. This links the internal state optimization of the machine tools with the external resource coordination between them, solving the problem of resource competition and conflict caused by each machining section acting as an information island. Simultaneously, an adaptive adjustment mechanism based on deep reinforcement learning is introduced, utilizing cutting fluid medium feedback parameters to continuously fine-tune the resource orchestration in a closed-loop manner. Through this global, adaptive resource scheduling strategy, while ensuring the efficient and stable execution of machining tasks on each machine tool, the overall utilization efficiency and service life of the cutting fluid circulation system are maximized, improving the intelligent control capability and robustness of the entire scheduling method.
[0019] 4. This invention can effectively optimize the resource scheduling of the cutting fluid circulation system, promptly detect potential problems during high-speed cutting, avoid risks, ensure the stability and quality of the machining process, realize real-time resource allocation and adaptive closed-loop control, and improve the system's program control capability; it solves the problem of the disconnect between prediction and execution in traditional technology, realizes true real-time resource allocation and adaptive closed-loop control, and significantly improves the stability, efficiency and quality of the machining process. Attached Figure Description
[0020] Figure 1 A flowchart of a resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things is provided for embodiments of the present invention; Figure 2 A flowchart for constructing a resource conflict heatmap provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the adaptive closed-loop adjustment process provided in an embodiment of the present invention. Detailed Implementation
[0022] Example 1 This embodiment provides a specific application of a resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things. Taking an aerospace precision manufacturing enterprise as an example, the method uses a CNC machine tool manufacturing workshop for resource scheduling and elaborates on the specific steps of this method.
[0023] Reference Figure 1 A resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things (IIoT) includes the following specific implementation steps: The system acquires the operating parameters and current toolpath instructions during high-speed cutting, including instantaneous cutting force and temperature in the tool-workpiece contact area. The operating parameters are processed by distributed edge aggregation and correlated with the current toolpath command in real time to construct a health state trajectory that characterizes the evolution of the cutting process. Based on the recurrent neural network training model deviation predictor, the deviation and health status trajectory of the cutting mechanism twins are compared in different time periods to predict the cutting trajectory separation trend, and the dynamic compensation parameter vector for suppressing the separation trend is calculated. Based on the dynamic compensation parameter vector and health status trajectory, the conflict probability and time mapping in the cutting process are calculated, and a resource conflict heat map characterizing the machine tool spatial load is constructed. Based on the resource conflict heatmap, the optimal scheduling path for the cutting fluid is calculated, and the activation medium control orchestration instruction for the cutting fluid is generated. Based on the control orchestration instructions, the CNC machine tool performs flexible resource orchestration for each actuator, and collects medium feedback parameters that characterize the cutting fluid operation and machining process. Through the medium feedback parameters, the flexible resource orchestration is adaptively adjusted.
[0024] Furthermore, the operating parameters and current toolpath instructions during the high-speed cutting process are obtained. These operating parameters include instantaneous cutting force and the temperature of the tool-workpiece contact area. The specific implementation process is as follows: By integrating a multi-sensor array into the machine tool, operating parameters during high-speed cutting are acquired, including instantaneous cutting force and temperature in the tool-workpiece contact area. An edge computing terminal deployed next to the machine tool establishes a data communication connection with the CNC system kernel using a preset industrial data exchange protocol. The terminal polls and subscribes in real-time to the program segments being executed by the CNC system, acquiring the original toolpath instruction string and modal information synchronized with the instruction. This modal information includes the current coordinate system, tool compensation value, spindle speed, and feed rate. Within the edge computing terminal, the acquired original instruction string is parsed in real-time, decomposing it into structured instruction data. This structured instruction data clearly identifies the motion instruction type, which includes linear interpolation, circular interpolation, target three-dimensional coordinate points, and various set cutting parameters.
[0025] Specifically, the operating parameters during the high-speed cutting process are acquired by a multi-sensor array integrated on the machine tool, and the original tool path instruction string and synchronous modal information are acquired by an edge computing terminal deployed next to the machine tool. In the edge computing terminal, the acquired original instruction string is parsed in real time and decomposed into structured instruction data.
[0026] In the step of acquiring operating parameters and instruction information, the operating parameters include at least three-dimensional instantaneous cutting forces and the temperature of the tool-workpiece contact area. The modal information, as machine tool status data synchronized with the toolpath instructions, includes the current G-code working coordinate system, tool length and radius compensation values, spindle speed, and feed rate. A prerequisite is that the edge computing terminal needs to establish a stable and low-latency data communication connection with the CNC system kernel using a preset industrial data exchange protocol, such as OPC UA or MTConnect.
[0027] In a scenario where a precision aerospace manufacturing company is machining TC4 titanium alloy aero-engine blades, when the CNC system of a five-axis machining center executes the program segment "G01 X120.5 Y88.0 Z-5.0 F1500 S6000;", the edge computing terminal subscribes to this string in real time via OPC UA connection, along with modal information such as the G54 coordinate system, H01 tool compensation, S6000 rpm, and F1500 mm / min. Simultaneously, a piezoelectric force gauge and an infrared thermal imager integrated into the spindle box collect the corresponding cutting forces, such as Fx=350N, Fy=420N, Fz=600N, and temperature data of 850°C. The parsing program within the terminal decomposes this G-code string, thus completing the association between physical world sensor data and digital world control commands at the single program segment level. The edge computing terminal polls and subscribes to the CNC system kernel in real time for a period ranging from 5 milliseconds to 20 milliseconds. This ensures that the transient response of force and thermal parameters caused by rapid changes in the tool path during high-speed cutting can be captured without significantly increasing the communication burden on the CNC system kernel. This guarantees the time synchronization accuracy and correlation effectiveness of the collected data.
[0028] This invention achieves real-time, structured parsing of instantaneous force and thermal parameters characterizing physical processes with digital commands driving machine tool motion, down to individual program segments, at the edge near the data source. This solves the problems of time lag and logical separation in traditional data acquisition, providing the necessary data foundation for constructing high-fidelity cutting process health trajectories and significantly improving the accuracy of subsequent analysis and prediction.
[0029] Furthermore, the operating parameters are processed using distributed edge aggregation and correlated in real time with the current toolpath command to construct a health status trajectory characterizing the evolution of the cutting process. The specific implementation process is as follows: The operating parameters are subjected to distributed edge convergence processing, which includes data denoising and filtering, signal feature extraction, and numerical range normalization. Statistical and spectral features are extracted from the operating parameters after distributed edge convergence processing. Based on different processing batches and the synchronization timestamp of the current tool path command, the extracted statistical and spectral features are data-marked and time-synchronized to generate a health status trajectory characterizing the evolution of the cutting process.
[0030] Specifically, the collected instantaneous cutting force, tool contact area temperature and other operating parameters are processed by distributed edge convergence; and key features are extracted from the processed operating parameters, and data is marked and time-synchronized according to the processing batch and synchronization timestamp, and finally a health status trajectory characterizing the evolution of the cutting process is generated.
[0031] In the distributed edge convergence processing, data denoising filtering aims to remove high-frequency noise collected by sensors in the strong electromagnetic interference environment of machine tools. First, for the collected instantaneous cutting force, tool-workpiece contact area temperature, and other operating parameters, a Fast Fourier Transform is used to calculate the real-time power spectral density. Based on the energy distribution of the power spectral density in a preset high-frequency range, such as above 300 Hz, an adaptive filtering threshold is dynamically calculated. Next, a Dobesi wavelet, such as db4, is selected as the wavelet transform filter, and the wavelet decomposition level is dynamically adjusted according to the aforementioned adaptive filtering threshold. When the high-frequency noise energy exceeds the preset threshold, the wavelet decomposition level is increased to more finely separate noise from the signal; conversely, the decomposition level is decreased. At each decomposition level, a soft thresholding denoising method is applied to the wavelet coefficients to effectively remove transient noise, especially the intermittent vibration and high-frequency impact noise commonly found during the cutting of TC4 titanium alloys. Signal feature extraction refers to the preliminary calculation of basic statistics such as the mean and variance of the signal; numerical range normalization is to map parameters with different physical dimensions to a dimensionless range of 0 to 1 using the minimum-maximum scaling method, so as to eliminate the calculation bias caused by the difference in dimensions in subsequent model training.
[0032] In a scenario where a precision aerospace manufacturing company is processing a TC4 titanium alloy aero-engine blade with batch number "BAT20251015-A", an edge computing terminal collects a set of normalized operating parameter vectors at timestamp T=15.01s, such as [0.45, 0.52, 0.60, 0.71]. It further extracts key statistical features, such as the root mean square value of the cutting force (798N) and spectral features, such as the dominant vibration frequency obtained through Fast Fourier Transform (FFT) (350Hz). The terminal binds these feature data with the timestamp T=15.01s, the batch number "BAT20251015-A", and the currently associated toolpath command "G01X120.5...", forming a structured multidimensional data point. As processing continues, these precisely marked data points are continuously recorded and arranged chronologically, thus constructing a health status trajectory that fully characterizes the evolution of the blade throughout the entire cutting process.
[0033] The health state trajectory characterizing the evolution of the cutting process is a multi-dimensional vector sequence MHT={v(t1), v(t2), v(tn)} ordered by timestamps in the data structure. The vector v(t) at each time point t contains the key state features at that moment, specifically defined as v(t)=[F_rms(t), F_peak(t), F_skew(t), P_main(t), A_main(t), T_avg(t), Batch_ID, G_code_ID], where F_rms, F_peak, and F_skew are the root mean square value, kurtosis, and skewness of the resultant cutting force, respectively; P_main and A_main are the principal vibration frequencies and their amplitudes, respectively; T_avg is the average temperature of the contact area; and Batch_ID and G_code_ID are the batch identifier and associated G-code segment identifier for the current machining process, respectively. All numerical features are min-max normalized and mapped to the interval [0, 1]. The extracted statistical features include at least the root mean square value, kurtosis, and skewness, and the spectral features include at least the dominant frequency and its amplitude. This feature combination can comprehensively describe the cutting state from three key dimensions: energy consumption, signal waveform distribution, and periodic vibration mode, ensuring that the constructed health state trajectory is sensitive and discriminative to typical process anomalies such as progressive tool wear, sudden chipping, and cutting chatter.
[0034] This invention fuses discrete, multi-source sensor data and control command data in real time at the edge into a structured health status trajectory with precise temporal relationships and machining context labels. This provides a data foundation for subsequent accurate prediction of the evolution trend and abnormal states of the cutting process, fundamentally improving the reliability and accuracy of data-driven process optimization and intelligent control.
[0035] Furthermore, based on the recurrent neural network training model deviation predictor, the deviation and health status trajectories of the cutting mechanism twins are compared within different time periods to predict the cutting trajectory separation trend. A dynamic compensation parameter vector for suppressing the separation trend is calculated. The specific implementation process is as follows: The process of training a deviation predictor based on a recurrent neural network includes: inputting the health state trajectory and the cutting mechanism twin theoretical trajectory representing the ideal working condition as time series data into a recurrent neural network model with a bidirectional memory network structure; the recurrent neural network model is a bidirectional long short-term memory network, which predicts the trend of the health state trajectory deviating from the theoretical trajectory in the future by learning the deviation patterns and dynamic evolution laws between the health state trajectory and the cutting mechanism twin theoretical trajectory in historical data; the process of predicting the cutting trajectory separation trend includes: modeling the health state trajectory using the recurrent neural network model, outputting a prior estimate of the future cutting trajectory separation trend; and using a state estimation algorithm, receiving the prior estimate as the state prediction input, and simultaneously obtaining the current health state trajectory as the measurement input, outputting a posterior estimate that corrects the separation trend through state transition and measurement update calculations. The learning of the dynamic evolution law includes: introducing a regularization term based on the cutting physical mechanism model into the loss function of the recurrent neural network model. This regularization term is used to penalize any predicted output that violates the preset physical constraints, thereby forcing the evolution law learned by the model to have both data-driven accuracy and physical consistency.
[0036] Specifically, the health status trajectory constructed from historical processing data and the corresponding cutting mechanism twin theoretical trajectory are used as paired time-series data and synchronously input into a recurrent neural network model with a bidirectional memory network structure for training. By introducing a regularization term based on the cutting physics mechanism into the loss function, the predefined physical constraint equations, such as the positive correlation between cutting force and feed rate, are transformed into a penalty term to punish any predicted output that violates physical laws. This guides the model to learn evolutionary laws that combine data-driven accuracy with physical consistency. Using the trained model, the currently generated real-time health status trajectory is analyzed to predict its trend of deviating from the theoretical trajectory in the future.
[0037] The cutting mechanism twin theoretical trajectory is pre-defined using finite element simulation software or a mature cutting mechanics model. It is based on the idealized operating parameter time series data calculated according to the given tool geometry, workpiece material properties, and tool path instructions. For example, the tool type is specified as a TiAlN coated carbide four-flute end mill with a tip radius of 0.8 mm, a rake angle of 10 degrees, and a clearance angle of 8 degrees. Then, the workpiece material is specified as TC4 titanium alloy with a hardness of HRC40, and its constitutive parameters such as Young's modulus, Poisson's ratio, thermal conductivity, and specific heat capacity at different temperatures are input. Finally, the precise machining parameters are extracted according to the CNC program, and the spindle speed is set to 10,000 rpm, the feed per tooth is 0.04 mm, the axial depth of cut is 2 mm, and the radial width of cut is 0.5 mm. Based on the aforementioned clearly defined boundary conditions, simulation or analytical calculations are performed using professional finite element simulation software DEFORM-3D or the mature empirical cutting mechanics model Kienzle-Victor cutting force model. This generates an idealized time-series data sequence synchronized with the tool path command time. This sequence includes the components of the instantaneous cutting force in three orthogonal directions and the temperature of the tool-workpiece contact area, which forms the cutting mechanism twin theoretical trajectory for model training and real-time comparison. The health state trajectory characterizing the evolution of the cutting process is, in terms of data structure, a multidimensional vector sequence MHT={v(t1), v(t2), v(tn)} ordered by timestamps. Among them, the vector v(t) at each time point t contains the key state characteristics at that moment, and its specific form can be defined as v(t)=[F_rms(t), F_peak(t), F_skew(t), P_main(t), A_main(t), T_avg(t), Batch_ID, G_code_ID]. Where F_rms, F_peak, and F_skew are the root mean square value, kurtosis, and skewness of the resultant cutting force, respectively; P_main and A_main are the principal vibration frequencies and their amplitudes, respectively; T_avg is the average temperature of the contact area; Batch_ID and G_code_ID are the batch identifier and associated G-code segment identifier for the current machining process, respectively. All numerical features have been min-max normalized and mapped to the interval [0, 1].
[0038] In the scenario of machining TC4 titanium alloy aero-engine blades, researchers first collected complete health status trajectory data from the machining of the first 10 blades in the same batch. Simultaneously, based on the G-code programs from these 10 machining operations, 10 corresponding cutting mechanism twin theoretical trajectories under ideal working conditions were generated. These two sets of data were used as training sets and input into a Bi-LSTM model bias predictor containing two hidden layers. The input layer of this bias predictor receives two time series, MHT_real and MHT_theory, each with a dimension of 8, and passes through two stacked Bi-LSTM layers, each containing 128 neurons. The output sequence of the Bi-LSTM layers is processed through a fully connected layer containing 64 neurons and using the ReLU activation function for feature compression. Finally, an output layer predicts the bias vector P(t+Δt) within the future time window Δt. Model training uses mean squared error as the main loss function, combined with the aforementioned physical mechanism regularization term, and iterates using the Adam optimizer with an initial learning rate set to 0.001. Through learning, the model has mastered complex evolutionary patterns such as "when the root mean square value of the cutting force in the healthy trajectory is 15% higher than that of the theoretical trajectory, and the main frequency of chatter drifts from 350Hz to 400Hz, the actual cutting trajectory has a 95% probability of producing an overcut deviation of more than 0.05mm in the Z-axis direction within the next 2 seconds." When machining the 11th blade, this trained model receives the current healthy trajectory in real time and successfully predicts the upcoming separation trend, thus outputting a priori estimate of the separation trend. The recurrent neural network model has a random inhibition layer for regularization after the input layer and before the output layer, with a neuron dropout rate ranging from 0.2 to 0.5. This ensures that the model's generalization ability is enhanced by randomly deactivating some neurons during training, preventing a decline in predictive performance for new operating conditions due to overfitting historical data.
[0039] As another preferred implementation, to further improve prediction accuracy, the trend predicted by the RNN model is used as a prior estimate and fed into a state estimation algorithm to output a posterior estimate, which is then used as the cutting trajectory separation trend. Simultaneously, specific spectral features reflecting long-term tool wear in the current healthy state trajectory are acquired as its measured values. The state transition equation, which integrates the physical models of tool wear and overcutting, is used within the filter, and these measured values are used to update and correct the neural network's predictions, ultimately outputting a more accurate posterior estimate that incorporates both short-period abrupt changes and long-period gradual changes. This dual-timescale deviation estimation fusion mechanism provides a more accurate predicted deviation value for calculating dynamic compensation parameters.
[0040] This invention utilizes an advanced recurrent neural network model to perform deep learning and pattern mining on the dynamic deviation between the actual processing state and the ideal digital twin. Through learning these dynamic evolutionary patterns, the model learns evolutionary rules that combine data-driven accuracy with physical consistency, thereby significantly improving the processing precision and batch consistency of complex curved surface precision components. This represents a key shift from post-processing measurement and traceability to pre-processing accurate prediction and early warning. It can accurately predict the evolution trend of processing errors, providing a reliable decision-making basis for achieving closed-loop dynamic compensation control to actively suppress errors.
[0041] Furthermore, by comparing the deviations and health trajectories of the cutting mechanism twins over different time periods, the cutting trajectory separation trend is predicted, and a dynamic compensation parameter vector for suppressing the separation trend is calculated. The specific implementation process is as follows: The healthy state trajectory is compared with the theoretical trajectory of the cutting mechanism twin in real time to quantify and generate a deviation time series characterizing the difference between the healthy state trajectory and the theoretical trajectory of the cutting mechanism twin. The deviation time series is input into the model deviation predictor to analyze the evolution pattern of the deviation over a historical period and output a prediction of the deviation development in the future time window, which is the cutting trajectory separation trend. Based on the cutting trajectory separation trend, the current evolution rate of the healthy state trajectory is fused, and an adaptive optimization algorithm based on model prediction is used to solve for and generate a set of optimal cutting parameter adjustment values to compensate for and offset the separation trend, using the predicted cutting trajectory separation trend as input. This set of adjustment values is also used to stabilize the cutting load and constitutes the dynamic compensation parameter vector.
[0042] Specifically, the difference between the health state trajectory and the theoretical trajectory of the cutting mechanism twin is quantified in real time to generate a deviation time series. This deviation time series is input into a pre-trained model deviation predictor. The model deviation predictor takes the health state trajectory sequence constructed in actual machining and the theoretical trajectory sequence under ideal working conditions as dual-channel inputs and feeds them into a model containing two bidirectional long short-term memory network layers and a fully connected output layer. The model outputs a prediction vector, which represents the deviation trend in various key dimensions within a preset time window in the future, and outputs a prediction of the future cutting trajectory separation trend. Based on this predicted trend, an adaptive optimization algorithm is used to generate a dynamic compensation parameter vector to actively offset the trend. The model deviation predictor takes the health state trajectory sequence MHT_real constructed in actual machining and the theoretical trajectory sequence MHT_theory of the cutting mechanism twin under ideal working conditions as dual-channel inputs and feeds them into a model deviation predictor containing two Bi-LSTM layers and a fully connected output layer. The model outputs a prediction vector P(t+Δt), which represents the deviation trend of overcutting in key dimensions such as the X, Y, and Z axes within the future time window of Δt. The dynamic compensation parameter vector DCV is a control vector containing the cutting parameters to be adjusted. Its dimensions and members correspond to the adjustable parameters of the CNC system; for example, DCV=[Δf, ΔS], where Δf is the feed rate adjustment and ΔS is the spindle speed adjustment. The model predictive control algorithm optimizes by minimizing the future prediction deviation P(t+Δt) and uses machine tool physical constraints such as maximum torque and acceleration as constraints to solve for the optimal dynamic compensation parameter vector DCV.
[0043] In the step of generating the deviation time series, quantifying the difference refers to subtracting the corresponding parameters in the theoretical trajectory from the multi-dimensional operating parameters such as triaxial cutting force and temperature in the healthy state trajectory at the same time stamp, forming a deviation vector that characterizes the current degree of deviation. In the sub-step of solving the dynamic compensation parameter vector, the model predictive adaptive optimization algorithm (MPC) is used. Its core idea is to use the predictive model to predict the dynamic behavior over a future period of time at the current moment. The length of this future period of time is a hyperparameter that can be configured according to the processing cycle and material characteristics, such as 1 to 5 seconds. Through optimization calculations, a series of control inputs that minimize the future output deviation are solved.
[0044] When the engine blade machining reaches T=35.25s, the measured cutting forces [Fx=380N, Fy=450N, Fz=660N] are compared with the theoretical twin trajectories [Fx=350N, Fy=420N, Fz=600N] to generate a deviation vector [+30N, +30N, +60N], which is then appended to the deviation time series. The model deviation predictor receives this series, analyzes its recent evolution pattern, and predicts that "within the next 1.5 seconds, the actual cutting depth in the Z-axis direction will deviate from the theoretical path, resulting in an overcutting trend of 0.03mm." The model predictive control algorithm then uses this prediction as input, with minimizing the future Z-axis deviation as the optimization objective, to solve for the optimal compensation strategy. To ensure a balance between computational convergence and real-time system response, the model predictive control algorithm performs an optimization solution every independent period, slightly longer than the data acquisition cycle, for example, 100 to 500 milliseconds. The calculated compensation value is applied to subsequent high-frequency control cycles. This strategy mainly includes real-time offset compensation for the tool center path, supplemented by dynamic adjustment of cutting parameters.
[0045] Specifically, the algorithm calculates that a dynamic tool offset of +0.03mm needs to be applied along the positive Z-axis in subsequent program segments to directly compensate for the predicted overcut. Simultaneously, to prevent sudden changes in cutting load that may be caused by path compensation, the algorithm also calculates an auxiliary parameter adjustment value: a 5% reduction in feed rate. Finally, a dynamic compensation parameter vector is generated to compensate for this overcutting trend, with the data structure {path_offset: [0, 0, +0.03], feed_rate_adj: -5%}. This parameter vector is sent to the CNC system kernel via a real-time interface, where its interpolator module superimposes the offset during subsequent path execution and synchronously adjusts the feed adjustment ratio. The adaptive optimization algorithm uses a prediction step size for the future time window ranging from 50 to 200 control cycles. This ensures that the prediction range covers the medium-to-slow speed variation trend caused by factors such as tool wear during the cutting process, providing sufficient decision lead for the optimization algorithm. It also avoids reduced prediction accuracy due to accumulated model uncertainty caused by excessively long prediction times, thus guaranteeing the timeliness and effectiveness of dynamic compensation. When machining the 11th TC4 titanium alloy blade, the model receives the deviation time series [+30N, +30N, +60N]. The attention layer calculates the similarity score and assigns a weight of 0.7 to the high deviation points in the first 2 seconds and 0.3 to the rest, thereby predicting a Z-axis deviation of 0.03mm in the next 1.5 seconds. Based on this, the MPC algorithm solves for the compensation vector [-120mm / min, +120rpm], avoiding the prediction error caused by the forgetting of long sequences in traditional RNNs.
[0046] This invention combines predictive models with adaptive optimization control algorithms, achieving a leap from a passive "monitoring-alarm" response mode to an active "prediction-suppression" intervention mode. It can accurately predict the development trend of processing errors before they actually occur and calculate the optimal suppression strategy, eliminating errors in their infancy. This improves long-range dependency capture, enhances the accuracy of compensation parameters, and reduces the incidence of processing errors.
[0047] Furthermore, based on the dynamic compensation parameter vector and health state trajectory, the conflict probability and time mapping during the cutting process are calculated, and a resource conflict heatmap characterizing the machine tool's spatial load is constructed, referring to... Figure 2 The specific implementation process is as follows: The machining parameters implicit in the subsequent program control instructions of the aggregated CNC machine tool are the dynamic compensation parameter vectors, which are integrated with the health status trajectory and the real-time supply capacity, inventory status, and production plan priority data of the cutting fluid circulation system. Based on the integrated data, the future machining actions are predicted by the dynamic compensation parameter vectors of each machine tool, and the expected demand of each machine tool for the shared cutting fluid resources is calculated. The expected demand is then superimposed on the future time axis. The total expected demand is compared with the real-time supply capacity to quantify the probability of instability in the machining process caused by resource competition for each machine tool at various future time points. The instability in the machining process refers to the state in which the temperature of the tool-workpiece contact area exceeds the allowable range and the cutting force fluctuation exceeds the benchmark value by more than 20% due to insufficient cutting fluid supply. The process of calculating the conflict probability during the cutting process includes: predicting the expected future resource demand of each CNC machine tool based on the dynamic compensation parameter vector; comparing the total expected demand of each CNC machine tool with the real-time supply capacity of shared resources to obtain the resource supply-demand gap; and weighting and quantifying the resource supply-demand gap based on the current processing condition represented by the health status trajectory and the preset production plan priority, thereby calculating the conflict probability of each CNC machine tool causing instability in the processing due to resource competition. The calculated conflict probability is mapped onto a two-dimensional coordinate system with future time as one dimension and each machine tool as the other dimension, and visualized using color gradients to construct the resource conflict heatmap.
[0048] Specifically, the calculation of the conflict probability involves the following steps: The calculation of the resource supply and demand gap aims to rationally allocate the overall resource supply and demand gap to each machine tool based on the demand of each machine tool, the urgency of the processing status, and the priority of production tasks, thereby obtaining a dimensionless conflict probability index characterizing the degree of resource conflict risk faced by each machine tool in the future. First, the basic conflict value is calculated. The overall resource supply and demand gap Gap(t) is allocated according to the proportion of each machine tool's expected demand Demand_i(t) to the total expected demand TotalDemand(t). This step calculates the portion of demand that each machine tool i cannot meet due to resource shortages, without considering any weights.
[0049] Next, the dynamic weighting coefficient is calculated. The health status trajectory weight W_health_i, representing the processing stability of machine tool i, is multiplied by the production plan priority weight W_priority_i, representing its task importance, to obtain a comprehensive dynamic weighting coefficient. This coefficient reflects the necessity of prioritizing resources for machine tool i. Both weights W_health_i and W_priority_i are preset dimensionless values greater than or equal to 1. Then, the conflict values are weighted and adjusted. The basic conflict value of all machine tools is multiplied by its corresponding dynamic weighting coefficient to obtain the weighted conflict value for each machine tool. Subsequently, the weighted conflict values of all machine tools are normalized to ensure that the sum of all adjusted conflict values equals the total resource supply and demand gap Gap(t). This step ensures that the weight adjustment does not create or reduce the resource gap out of thin air, but only changes its distribution tendency among the machine tools.
[0050] Calculate the conflict probability index. Divide the weighted conflict value of machine tool i by its expected demand Demand_i(t) to obtain the final conflict probability index Conflict_i(t). This index is a dimensionless value between 0 and 1, representing the proportion of machine tool i's expected demand that is expected to be unmet due to resource competition. When the total expected demand is zero, the conflict probability index of all machine tools is zero. The calculated conflict probability index is then standardized and mapped, for example, by multiplying it by 100 to map it to the range of 0 to 100%, for visualization on the resource conflict heatmap.
[0051] It aggregates heterogeneous data from multiple sources, including dynamic compensation parameter vectors and health status trajectories of each machine tool, as well as status data of the shared cutting fluid circulation system; based on the aggregated data, it predicts the expected total demand for shared resources on the future timeline and compares it with the supply capacity to quantify the conflict probability; and it performs spatiotemporal mapping and visualization of the calculated conflict probability to construct a resource conflict heat map.
[0052] In the data aggregation step, the real-time supply capacity of the cutting fluid circulation system specifically refers to the maximum output flow rate of the central pump unit, the inventory status refers to the current liquid level of the main fluid tank, and the production plan priority is a weighting coefficient assigned to the machining tasks being performed by different machine tools, used for decision arbitration during resource competition. The prerequisite is that all CNC machine tools participating in resource scheduling and the central cutting fluid supply system must be connected to a unified industrial IoT platform to achieve real-time data fusion. The dynamic compensation parameter vector is a control vector containing the CNC commands to be adjusted, whose dimensions and members correspond to the adjustable parameters of the CNC system, such as the three-dimensional offset value of the toolpath and the feed rate adjustment percentage. The model predictive control algorithm optimizes by minimizing future prediction deviations and uses machine tool physical constraints as boundary conditions to solve for the optimal dynamic compensation parameter vector.
[0053] In a manufacturing workshop, three machine tools, M1, M2, and M3, share a cutting fluid system with a maximum supply capacity of 110 liters / minute. At time T+30, the predicted total demand is 125 liters / minute, resulting in a resource supply-demand gap of 15 liters / minute. Instead of simply allocating the gap, the status of each machine tool is further analyzed: M1 is performing high-requirement blade finishing, its health status trajectory shows a concentrated vibration spectrum with extremely low amplitude, and its production plan priority is the highest; M2 is performing semi-finishing; and M3 is performing roughing. Calculations show that although M1's demand may not be the highest, its final conflict probability is the highest, reaching 85%, while M3's conflict probability is only 30%.
[0054] The predicted span of the resource conflict heatmap on the future time axis ranges from 30 seconds to 300 seconds. This range ensures that short-term resource demand fluctuations caused by switching processing program segments can be captured during production, providing a basis for real-time scheduling decisions, while also covering the processing cycle of a typical part. This allows for effective prediction of medium- and long-term resource load trends, achieving a balance between tactical adjustments and strategic planning. Consequently, an adaptive heatmap that reflects dynamic operating conditions is generated, avoiding scheduling errors caused by relying on static priorities.
[0055] This invention elevates the micro-prediction of single-machine process status to the macro-prediction of resource conflicts in multi-machine collaboration, enabling the prediction of potential bottlenecks in the manufacturing process. It introduces operating condition sensitivity and production priority to weight and quantify conflict risks, providing more decision-making value and differentiated risk inputs for subsequent optimization scheduling. The resource conflict heatmap it constructs transforms intangible, future resource competition risks into intuitive and quantifiable decision dashboards, making optimal scheduling of flexible resources and proactive conflict avoidance possible, enhancing the response to sudden changes, and improving the overall efficiency and stability of resource allocation.
[0056] Furthermore, based on the resource conflict heatmap, the optimal scheduling path for the cutting fluid is calculated, and activation medium control orchestration instructions for the cutting fluid are generated. The specific implementation process is as follows: The conflict probabilities identified in the resource conflict heatmap are used as triggering conditions and constraints for optimization. A multi-objective optimization algorithm is employed to balance conflicting objectives such as cutting efficiency, tool life, system energy consumption, and cutting fluid quality, seeking the optimal resource scheduling strategy. To ensure the quality of decision-making and the real-time performance of the system, this multi-objective optimization process is executed within an independent computation cycle, decoupled from data acquisition, for example, every 500 milliseconds to 2 seconds. Based on the latest resource conflict heatmap and machine tool status, an optimal scheduling instruction set for a short future time window is generated. Meanwhile, the underlying state perception and instruction execution maintain high-frequency operation at the millisecond level, thereby achieving a combination of macro-optimization decision-making and micro-real-time control. The scheduling strategy dynamically plans the machine tool's cutting fluid supply flow rate, circulation pressure, target temperature set point, and waste fluid recovery path in the future time series to find solutions that can resolve the conflict probabilities. These solutions constitute the optimized scheduling path for the cutting fluid. The optimized scheduling path is then transformed into an instruction set containing execution timing and values; this instruction set constitutes the activation medium control orchestration instruction for the cutting fluid.
[0057] Specifically, the conflict probability in the resource conflict heatmap is used as a trigger condition to start a multi-objective optimization algorithm for solving the problem; the algorithm generates an optimal scheduling path that can resolve resource conflicts by dynamically planning the cutting fluid supply parameters and paths in the future time series; and the optimized scheduling path is converted into an activation medium control orchestration instruction that can be directly executed.
[0058] In the multi-objective optimization algorithm, the algorithm used can be a non-dominated sorting genetic algorithm II, which is good at handling multi-dimensional optimization objectives with mutual constraints. For example, increasing the cutting fluid supply flow rate is beneficial to ensuring tool life and machining efficiency, but it will significantly increase the system energy consumption of the pump group; choosing different waste fluid recovery paths will affect the cleanliness and quality of the cutting fluid. The optimized scheduling path is essentially a sequence of actions with precise timestamps for each execution unit of the central cutting fluid system, such as variable frequency pumps, proportional valves, and refrigeration units. The cutting fluid activation medium control orchestration instruction is a sequence of instructions following a specific format, such as an array of JSON objects. Each JSON object represents an atomic instruction, containing four required key-value pairs: "timestamp" (execution timestamp in "ISO 8601" format), "target_device" (unique identifier of the target execution device), "parameter" (name of the physical parameter to be controlled), and "value" (target value set). This instruction sequence is sent to each execution mechanism through a message queue. Within the manufacturing workshop, after identifying an 85% probability of conflict for machine tool M3 at time T+30 on the resource conflict heatmap, the NSGA-II optimization algorithm is immediately triggered. The algorithm's primary objectives are "maximizing the high priority of M1 and its machining stability" and "minimizing the total system energy consumption," with the constraint of "ensuring the tool life of M2 and M3 is not lower than a preset threshold." The optimal scheduling path found is as follows: at time T+25, the supply flow rate of M3 is pre-reduced to the minimum value required for finishing, 15 liters / minute; at time T+28, the supply flow rate of M2 is slightly reduced to 35 liters / minute; at time T+29, the main output pressure of the central pump unit is instantaneously increased by 5% to fully guarantee the peak demand of M1 and meet the derating requirements of M2 and M3. Finally, the path is transformed into a set of specific control orchestration instructions, such as: {TIMESTAMP: T+25.0, TARGET: VALVE_M3, PARAMETER: FLOW, VALUE: 15.0}, {TIMESTAMP: T+29.0, TARGET: PUMP_MAIN, PARAMETER: PRESSURE_BOOST, VALUE: 5.0%}.
[0059] The rolling optimization time window of the multi-objective optimization algorithm ranges from 1 to 5 minutes after the current time point. This time window ensures that the algorithm can not only resolve immediate conflicts, but also coordinate and smoothly transition the resource requirements of multiple upcoming processing tasks, avoiding new and chain-like resource conflicts caused by short-sighted scheduling, and guaranteeing the global optimality of the scheduling strategy.
[0060] This invention transforms resource scheduling from a passive conflict response to a proactive global optimization. By systematically weighing multiple conflicting performance objectives, it moves beyond simply avoiding conflicts; instead, it proactively seeks the optimal balance between efficiency, quality, cost, and energy consumption while ensuring production stability. This shifts the allocation of shared resources from a passive, extensive management model to a proactive, refined scheduling model, ultimately maximizing the overall benefits of the entire manufacturing unit.
[0061] Furthermore, the optimized scheduling path is transformed into an instruction set containing execution timing and numerical values, which can be directly issued to each execution mechanism. The specific implementation process is as follows: Based on the pre-configured physical device topology model, the resource scheduling targets in the optimized scheduling path are decomposed and mapped to the execution mechanisms required for the execution targets. For the mapped execution mechanisms, the corresponding device control model is invoked to convert the physical quantity setpoints defined in the scheduling targets into control signal values that the execution mechanisms can directly receive. The converted control signal values are encapsulated into data packets that conform to the communication protocol of the target execution mechanism, and the execution timestamp specified in the optimized scheduling path is appended to the data packets. All encapsulated and timestamped data packets are combined to form the instruction set.
[0062] Specifically, based on the preset physical device topology model, the abstract scheduling target in the optimized scheduling path is decomposed and mapped to the specific physical execution mechanism; and for each execution mechanism, the scheduling target is converted into a low-level control instruction data packet with an execution timestamp and conforming to its communication protocol, and finally combined into an instruction set that can be directly issued.
[0063] In the decomposition and mapping process, the physical equipment topology model digitally describes the identity, physical location, and piping connections of each hardware unit in the central cutting fluid system, such as variable frequency pumps, electric proportional valves, and refrigeration units. In the conversion and encapsulation sub-steps, the equipment control model specifically defines the precise mathematical conversion relationships between physical quantity setpoints, such as flow rate, pressure, temperature, and underlying control signals.
[0064] When the optimized scheduling path generated in the previous step includes the objective of "setting the supply flow of machine tool M3 to 15 liters / minute at T+25.0 seconds," the system first locates the flow rate controlled by the "proportional valve PV-M3" using the topology model. Next, it calls the PV-M3's equipment control model to convert the physical setpoint of "15 liters / minute" into the "3.5V" control voltage signal required by the controller. Finally, it encapsulates this control signal into a data packet conforming to the Modbus TCP protocol, adds an execution timestamp of "T+25.0s," and generates the result of a specific instruction in the instruction set.
[0065] The encapsulated data packet contains a cyclic redundancy check code to ensure that the data will not be corrupted due to electromagnetic interference or other factors during the transmission of instructions from the central control command to the field actuator, thereby ensuring the accuracy and reliability of the entire closed-loop control command execution.
[0066] This invention achieves automated conversion from macro-level scheduling objectives to micro-level device control commands through device topology and control models. This process decouples optimization decisions from physical execution, ensuring the accurate, reliable, and synchronous execution of scheduling strategies across different hardware devices, and improving the versatility and robustness of program control.
[0067] Furthermore, based on the control orchestration instructions, flexible resource orchestration of the CNC machine tool is performed on each actuator, and medium feedback parameters characterizing the cutting fluid operation status and machining process are collected. Through the medium feedback parameters, the flexible resource orchestration is adaptively adjusted.
[0068] Flexible resource arrangement of CNC machine tools is performed on each actuator based on control arrangement instructions, and medium feedback parameters characterizing the cutting fluid operation and machining process are collected. The flexible resource arrangement is adaptively adjusted based on the medium feedback parameters. The specific implementation process is as follows: The control orchestration commands are received through the digital bus interface integrated into each CNC machine tool, and the actuators of the cutting fluid are driven to coordinate with the CNC machine tool to realize the flexible resource orchestration. Simultaneously, sensor arrays deployed in the main cutting fluid circulation path and the branch cutting fluid paths of each machine tool collect data characterizing the real-time quality and performance status of the cutting fluid. This data includes the pH value, concentration, oil-water ratio, and contaminant content of the cutting fluid, and is used as a media feedback parameter. This media feedback parameter is input to a deep reinforcement learning-based agent. The agent uses improved machining quality, reduced tool wear, and extended cutting fluid life as adaptive excitation factors to iteratively optimize and generate fine-tuning commands in real time, dynamically adjusting the currently executing flexible resource orchestration.
[0069] Specifically, control orchestration commands generated by the optimized scheduling path are received through the digital bus interface integrated into each CNC machine tool. These commands, such as adjusting the supply flow rate of the M3 machine tool to 15 liters / minute and increasing the frequency of the main pump of the central pump group by 5%, drive the various actuators of the cutting fluid, such as the proportional valve PV-M3 and the central pump group, through the digital bus to coordinate with the CNC machine tool, thereby achieving flexible resource orchestration. Simultaneously with the execution of this flexible resource orchestration, sensor arrays deployed in the main cutting fluid circulation path and the cutting fluid branches of each machine tool collect data characterizing the quality and performance status of the cutting fluid in real time. For example, an online pH meter measures the pH value of the cutting fluid in real time, a refractometer measures the cutting fluid concentration, a turbidity sensor measures the contaminant content, and other sensors provide data such as the oil-water ratio. In a scenario where a precision aerospace manufacturing company processes TC4 titanium alloy aero-engine blades, these sensors continuously monitor the state of the cutting fluid. For example, after the instructions have been executed for a period of time, the online pH meter on the main line measures a rapid decrease in pH from 8.9 to 8.7, the refractometer measures a decrease in concentration from 5.5% to 5.2%, and the turbidity sensor measures an 8% increase in contaminant content. This real-time collected data is used as media feedback parameters. These media feedback parameters, namely the decrease in pH, the decrease in concentration, and the increase in contaminant content, are input in real-time into a deep reinforcement learning-based agent. This agent uses real-time monitorable process proxy indicators related to processing quality and system losses as adaptive incentive factors to iteratively optimize and generate fine-tuning instructions in real time.
[0070] This deep reinforcement learning-based agent can be implemented using a deep network architecture. Its reward function is designed to perform a weighted evaluation of a set of process agent indicators that can be monitored online in real time, indirectly guiding the system towards optimization towards improving final processing quality and reducing system losses. Specifically, the reward function is defined as follows: multiplying a first weighting coefficient by a first evaluation value calculated from the vibration level, subtracting a second weighting coefficient multiplied by the cutting force fluctuation to calculate a second evaluation value, and then subtracting a third weighting coefficient multiplied by the absolute value of pH drift to calculate a third evaluation value. The result of these three calculations is the final reward value.
[0071] The vibration level is calculated in real-time by analyzing the signals from acceleration sensors mounted on the spindle or workpiece fixture, representing the high-frequency vibration energy norm. This indicator is strongly correlated with the final workpiece surface roughness; a lower vibration level typically corresponds to better surface quality. The cutting force fluctuation is calculated in real-time by analyzing the force gauge signal, representing the standard deviation or fluctuation coefficient of the cutting force signal. This indicator is a sensitive indicator of tool wear; increased cutting force fluctuation usually foreshadows tool edge dulling or minor chipping. The pH drift is the normalized deviation between the cutting fluid pH value measured by an online pH sensor and its preset optimal target value; this indicator directly reflects the chemical stability and performance degradation of the cutting fluid. The first, second, and third weighting coefficients are used to balance the importance of different optimization objectives. After performing a fine-tuning action, the agent immediately obtains the changes in the above-mentioned process proxy indicators from the sensor system and calculates the instant reward value. This allows it to effectively learn the causal relationship between its actions and the real-time state changes of the system, avoiding learning failure caused by significant delays in measuring the final quality indicators.
[0072] Through continuous real-time iterative optimization, the intelligent agent can generate optimal fine-tuning instructions based on current media feedback parameters and internal strategies, dynamically adjusting the currently executing flexible resource orchestration. This adaptive adjustment mechanism enables the cutting fluid system to cope with sudden operating conditions, achieving real-time, intelligent control and closed-loop adaptive scheduling of cutting fluid quality, further improving the stability, efficiency, and quality of the machining process. Figure 3 .
[0073] This invention constructs a complete intelligent program control system, from single-machine process prediction to workshop resource forecasting, and then to closed-loop adaptive scheduling. By constructing a health status trajectory in real time, it can not only proactively suppress machining deviations of individual machine tools, but also anticipate and resolve resource conflicts between multiple machine tools. This completely changes the passive and isolated control mode of traditional manufacturing, realizing holistic and predictive control optimization of the entire production process in terms of machining accuracy, resource efficiency, and stability.
[0074] Example 2 In this application embodiment, the resource allocation and scheduling method of the cutting fluid circulation system based on the Industrial Internet of Things is applied to the five-axis linkage machining center workshop of an aerospace precision manufacturing enterprise. The central workshop includes a five-axis linkage machining center with a central cutting fluid circulation system. Through digital transformation, production efficiency is improved, energy consumption is reduced, and resource utilization is optimized. In response to the high-precision machining requirements of TC4 titanium alloy blades, edge computing, twin models, and adaptive control mechanisms are introduced to realize intelligent scheduling of cutting fluid.
[0075] First, a health state trajectory characterizing the evolution of the cutting process is constructed. During a finishing cycle on machining center M2, a piezoelectric force gauge deployed in the spindle box acquires three-dimensional cutting force signals at a frequency of 10kHz. An infrared thermal imager measures the temperature of the tool-workpiece contact area to be 850℃. Simultaneously, an edge computing terminal subscribes to the current toolpath command "G01 X120.5 Y88.0 Z-5.0 F1500 S6000" from the CNC system kernel. These raw measurements are denoised using wavelet transform and then time-stamped and feature-extracted within a 10-millisecond period. Subsequently, using the max-min normalization method, the root mean square value of the cutting force, the dominant frequency, the contact area temperature, and the current feed rate are calibrated to the numerical range [0, 1], resulting in a calibrated feature vector [0.65, 0.42, 0.88, 0.75]. This feature vector constitutes the health state trajectory data point at time t.
[0076] Next, the cutting trajectory separation trend is predicted using a model bias predictor. The sequence of healthy state trajectory points from the past 300 control cycles is input into a pre-trained bidirectional long short-term memory network model integrating an attention mechanism. This model models the temporal dynamics and outputs a prior estimate of the overcut amount in the Z-axis direction within the next 1.5 seconds, which is 0.025 mm. Simultaneously, an extended Kalman filter receives this prior estimate of 0.025 mm and uses the current healthy state trajectory points [0.65, 0.42, 0.88, 0.75] as external condition inputs to dynamically adjust its internal state transition process based on the tool wear physical model. Through state prediction and update calculations, the prior estimate of the neural network is corrected under physical constraints, finally outputting a posterior estimate of the overcut amount, which is 0.028 mm.
[0077] Meanwhile, a dynamic compensation parameter vector is calculated based on deviation prediction. A model predictive control optimizer receives the posterior estimated separation trend as the objective to be optimized. This optimizer uses minimizing the future Z-axis deviation as the objective function, and solves for the optimal cutting parameter adjustment to actively suppress the separation trend while satisfying spindle torque and machine tool vibration constraints. The final calculated dynamic compensation parameter vector is: feed rate adjustment -180 mm / min, spindle speed adjustment +120 rpm. Subsequently, the demands of multiple machine tools are aggregated, and a resource conflict heatmap is constructed. The dynamic compensation parameter vectors generated by the three machine tools M1, M2, and M3 are aggregated. Based on the parameter vector of M2, its demand for cutting fluid flow rate is predicted to decrease from 40 liters / min to 35 liters / min within the next 5 minutes. Similarly, the demand of M1 is predicted to increase to 70 liters / min, and the demand of M3 to be 5 liters / min. Comparing the total expected demand with the maximum supply capacity of the central pump group (110 liters / min), it is calculated that at the current moment, the resource supply is at critical saturation, and the conflict probability is 5%. This probability value is mapped onto the resource conflict heatmap, corresponding to the time axis t, the positions of machine tools M1 and M2, and filled with a yellow warning color.
[0078] Generate optimized scheduling instructions and execute closed-loop adaptive adjustments, referring to... Figure 3 A warning was triggered by the heatmap, initiating a multi-objective optimization algorithm based on NSGA-II. This algorithm, receiving a 5% conflict probability as a constraint, and with the optimization objectives of "ensuring the high-priority processing stability of M1" and "minimizing total system energy consumption," outputs an optimized scheduling path. This path is translated into specific control orchestration instructions: at t+1 seconds, the opening of the cutting fluid supply valve for M2 is reduced by 10%, while the frequency of the main pump in the central pump group is increased by 2% to ensure the flow supply to M1. During instruction execution, an online pH meter deployed on the circulation pipeline measured the cutting fluid pH value rapidly decreasing from 8.9 to 8.7, indicating a decline in emulsification stability. This media feedback parameter triggered a deep reinforcement learning agent, which output a fine-tuning instruction, dynamically adding a compensatory action of injecting 0.2 liters of bactericide into the main fluid tank via a micro-pump to inhibit bacterial growth and stabilize the cutting fluid quality.
[0079] When executing this optimized scheduling path and performing closed-loop adaptive adjustments, the system first receives and parses the control orchestration instructions transformed from this path through the digital bus interface integrated into each CNC machine tool. For example, an instruction might be {TIMESTAMP: t+1s, TARGET: VALVE_M2, PARAMETER: OPENING, VALUE: -10%}. This instruction drives the electric proportional valve on the M2 machine tool branch to perform actions, coordinating with the frequency increase of the main pump in the central pump group to achieve flexible resource orchestration. Simultaneously, sensor arrays deployed on the main cutting fluid circulation path and the cutting fluid branches of each machine tool begin to collect media feedback parameters in real time. For example, the online pH meter on the main path measures a rapid decrease in pH from 8.9 to 8.7, the refractometer measures a decrease in concentration from 5.5% to 5.2%, and the turbidity sensor measures an 8% increase in contaminant content. These data are integrated into a media feedback parameter vector and input into a deep reinforcement learning-based agent. The agent uses an adaptive reward function that integrates indicators such as workpiece surface roughness improvement, tool wear rate reduction, and cutting fluid health to iteratively optimize its internal decision network in real time.
[0080] Finally, the agent generates an optimal fine-tuning instruction based on the current media feedback parameters and internal strategies. For example, to address the issue of a rapid drop in pH, it outputs a fine-tuning instruction to dynamically add a compensatory action—injecting 0.2 liters of pH stabilizer into the main fluid tank via a micro-pump—on top of the currently executing flexible resource orchestration. This fine-tuning instruction is executed immediately, thus enabling real-time, intelligent, and dynamic adjustment of the cutting fluid's quality status without interrupting the main scheduling task.
[0081] This invention achieves a leap from passive response to proactive optimization by introducing a closed-loop adaptive adjustment mechanism based on deep reinforcement learning. This mechanism not only fine-tunes resource allocation in real time to cope with unexpected working conditions, but also extends the service life of cutting fluid through predictive program control learning, maximizing the full-cycle value of resources. This solution significantly improves the intelligence, robustness, and machining stability of program control commands under complex working conditions, achieving dynamic optimization of global performance.
[0082] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. The scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things, characterized in that, include: The system acquires the operating parameters and current toolpath instructions during high-speed cutting, including instantaneous cutting force and temperature in the tool-workpiece contact area. The operating parameters are processed by distributed edge aggregation and correlated with the current toolpath command in real time to construct a health status trajectory that characterizes the evolution of the cutting process. Based on the recurrent neural network training model deviation predictor, the deviation and health status trajectory of the cutting mechanism twins are compared in different time periods to predict the cutting trajectory separation trend, and the dynamic compensation parameter vector for suppressing the separation trend is calculated. Based on the dynamic compensation parameter vector and health status trajectory, the conflict probability and time mapping in the cutting process are calculated, and a resource conflict heat map characterizing the machine tool spatial load is constructed. Based on the resource conflict heatmap, the optimal scheduling path for the cutting fluid is calculated, and the activation medium control orchestration instruction for the cutting fluid is generated. Based on the control orchestration instructions, the CNC machine tool performs flexible resource orchestration for each actuator, and collects medium feedback parameters that characterize the cutting fluid operation and machining process. Through the medium feedback parameters, the flexible resource orchestration is adaptively adjusted.
2. The resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things as described in claim 1, characterized in that: The acquisition of operating parameters and current toolpath commands during high-speed cutting includes: acquiring operating parameters during high-speed cutting via a multi-sensor array integrated on the machine tool, including instantaneous cutting force and temperature of the tool-workpiece contact area; establishing a data communication connection with the CNC system kernel via an edge computing terminal deployed next to the machine tool using a preset industrial data exchange protocol; polling and subscribing in real time from the communication connection to obtain the original toolpath command string and modal information synchronized with the command, including the current coordinate system, tool compensation value, spindle speed, and feed rate; and performing real-time syntax parsing on the acquired original command string within the edge computing terminal, decomposing it into structured command data, which clearly identifies the motion command type, including linear interpolation, circular interpolation, target three-dimensional coordinate points, and various set cutting parameters.
3. The resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things as described in claim 1, characterized in that: The process of performing distributed edge convergence processing on the operating parameters and associating them in real time with the current toolpath command to construct a healthy state trajectory characterizing the evolution of the cutting process includes: performing distributed edge convergence processing on the operating parameters; calculating an adaptive filtering threshold for the noise spectral density of the current cutting stage; dynamically adjusting the decomposition level of the wavelet transform filter to remove transient noise using this threshold; extracting statistical and spectral features from the operating parameters after distributed edge convergence processing; performing data labeling and time-series synchronization on the extracted statistical and spectral features based on different machining batches and the synchronization timestamp of the current toolpath command; and integrating historical data of machining batches before normalizing the numerical range to achieve adaptive allocation of feature weights, thereby generating a healthy state trajectory characterizing the evolution of the cutting process.
4. The resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things as described in claim 1, characterized in that: The process of training the deviation predictor based on the recurrent neural network includes: inputting the health state trajectory and the cutting mechanism twin theoretical trajectory representing the ideal working condition as time series data into a recurrent neural network model with a bidirectional memory network structure; the recurrent neural network model is a bidirectional long short-term memory network, which predicts the trend of the health state trajectory separating from the theoretical trajectory in the future by learning the deviation pattern and dynamic evolution law between the health state trajectory and the cutting mechanism twin theoretical trajectory in historical data.
5. The resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things as described in claim 1, characterized in that: The process of comparing the deviation and health status trajectory of the cutting mechanism twin in different time periods, predicting the cutting trajectory separation trend, and calculating the dynamic compensation parameter vector to suppress the separation trend includes: comparing the health status trajectory with the theoretical trajectory of the cutting mechanism twin in real time, quantifying and generating a deviation time series characterizing the difference between the health status trajectory and the theoretical trajectory of the cutting mechanism twin; inputting the deviation time series into the model deviation predictor, analyzing the evolution pattern of the deviation in historical time periods, and outputting a prediction of the deviation development in future time windows, i.e., the cutting trajectory separation trend; based on the cutting trajectory separation trend, integrating the current evolution rate of the health status trajectory, and using an adaptive optimization algorithm based on model prediction, taking the predicted cutting trajectory separation trend as input, solving to generate a set of optimal cutting parameter adjustment values to compensate for the separation trend. This set of adjustment values is also used to stabilize the cutting load and constitutes the dynamic compensation parameter vector.
6. The resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things as described in claim 1, characterized in that: The process of calculating the conflict probability and time mapping during the cutting process based on dynamic compensation parameter vectors and health status trajectories, and constructing a resource conflict heatmap characterizing the machine tool's spatial load, includes: aggregating the machining parameters implicit in the subsequent program control instructions of the CNC machine tool, which is the dynamic compensation parameter vector, and integrating it with the health status trajectory, real-time supply capacity, inventory status, and production plan priority data of the cutting fluid circulation system; based on the integrated data, predicting future machining actions through the dynamic compensation parameter vectors of each machine tool, calculating the expected demand of each machine tool for shared cutting fluid resources, and superimposing the expected demand on the future time axis; comparing the superimposed total expected demand with the real-time supply capacity, quantifying the conflict probability of each machine tool causing instability in the machining process due to resource competition at various future time points; mapping the calculated conflict probability onto a two-dimensional coordinate system with future time as one dimension and each machine tool as the other dimension, dynamically adjusting the production plan priority weight according to the medium feedback parameters, and visualizing it through color gradients to construct the resource conflict heatmap.
7. The resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things as described in claim 1, characterized in that: The process of calculating the optimal scheduling path for the cutting fluid and generating the activation medium control orchestration instructions for the cutting fluid based on the resource conflict heatmap includes: using the conflict probability identified in the resource conflict heatmap as the triggering condition and constraint for optimization; using a multi-objective optimization algorithm to weigh the conflicting objectives of cutting efficiency, tool life, system energy consumption, and cutting fluid quality to seek the optimal resource scheduling strategy; the scheduling strategy uses dynamic planning of the machine tool's cutting fluid supply flow rate, circulation pressure, target temperature set point, and waste fluid recovery path in the future time series to find a solution that can resolve the conflict probability, and the solution is the optimal scheduling path for the cutting fluid; the optimal scheduling path is converted into an instruction set containing execution timing and values, and the instruction set is the activation medium control orchestration instructions for the cutting fluid.
8. A resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things as described in claim 7, characterized in that: The process of converting the optimized scheduling path into an instruction set containing execution timing and values that can be directly issued to each execution mechanism includes: decomposing and mapping the resource scheduling targets in the optimized scheduling path to the execution mechanisms required by the execution targets based on a pre-configured physical device topology model; for the mapped execution mechanisms, calling the corresponding device control model to convert the physical quantity setpoints defined in the scheduling targets into control signal values that the execution mechanisms can directly receive; encapsulating the converted control signal values into data packets that conform to the communication protocol of the target execution mechanism, and attaching the execution timestamp specified in the optimized scheduling path to the data packets; and combining all the encapsulated and timestamped data packets to form the instruction set.
9. A resource allocation and scheduling method for a cutting fluid circulation system based on the Industrial Internet of Things as described in claim 1, characterized in that: The process involves flexible resource arrangement of CNC machine tools based on control orchestration commands for each actuator, and collecting media feedback parameters characterizing the cutting fluid operation and machining process. The process of adaptively adjusting the flexible resource arrangement using these media feedback parameters includes: receiving the control orchestration commands through the digital bus interface integrated into each CNC machine tool, and driving the actuators of the cutting fluid to coordinate with the CNC machine tool to achieve the flexible resource arrangement; simultaneously, collecting data characterizing the real-time quality and performance status of the cutting fluid through sensor arrays deployed in the main cutting fluid circulation path and each machine tool's cutting fluid branch path, including the cutting fluid's pH value, concentration, oil-water ratio, and contaminant content, and using this data as media feedback parameters; inputting these media feedback parameters into a deep reinforcement learning-based agent, which uses real-time monitorable process proxy indicators related to machining quality and system losses as adaptive excitation factors to iteratively optimize and generate fine-tuning commands in real time, dynamically adjusting the currently executing flexible resource arrangement.
