Machine tool processing parameter self-adaptive optimization method and system based on artificial intelligence

By combining network identification and time-delay equation calculation of spectral radius, spatial optimization is performed, which solves the problem of delayed response to machining parameter optimization caused by the lack of underlying cutting dynamics mechanism in the existing technology, and realizes precise adjustment and stability improvement of machine tool machining parameters.

CN123177340APending Publication Date: 2026-11-27SUZHOU VOCATIONAL UNIVERSITY (SUZHOU OPEN UNIVERSITY)
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing AI-based machining parameter optimization technologies lack underlying cutting dynamics mechanisms, leading to delayed chatter control response and blind parameter reduction, which cannot effectively prevent machine tool regenerative chatter.

Method used

By acquiring physical signals from the machine tool, combining network identification and time delay equations to calculate the spectral radius, spatial optimization is performed to achieve feedforward closed-loop adjustment of machining parameters. The cutting force coefficient and damping coefficient are obtained by fusing probability weights and physical reference matrices, differential equations are constructed and the state transition matrix is ​​discretized, the system spectral radius is extracted, and precise speed and depth of cut commands are generated to complete closed-loop control.

Benefits of technology

It realizes the optimization of machining parameters based on physical and mechanical boundaries, improves the problems of response lag and blind parameter reduction in traditional technology, improves the stability and efficiency of machine tool machining, and avoids control misjudgment and parameter adjustment lag caused by lack of underlying mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123177340A_ABST
    Figure CN123177340A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of intelligent control of numerical control machining, and particularly relates to a machine tool machining parameter adaptive optimization method and system based on artificial intelligence, comprising: collecting acceleration, rotation speed signal and actual cutting depth; fusing the acceleration signal with a benchmark matrix to obtain cutting force and damping coefficient through an identification network and a softmax function output probability weight; calculating the time delay period according to the rotation speed and the number of tool teeth, combining the aforementioned coefficient to construct a time delay differential equation and discretizing it into a state transition matrix; extracting the maximum eigenvalue module length of the matrix as the system spectral radius; if the spectral radius is out of bounds and unstable, solving the shortest distance vector to the stable region in the three-dimensional space of the spindle speed, cutting depth and spectral radius, extracting the components to generate the rotation speed and cutting depth instructions; finally, correcting the parameters and iteratively recalculating the spectral radius until stable. The present application realizes parameter feedforward intervention through kinetic boundary deduction, effectively solving the problems of lagging early warning and blind parameter reduction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent control technology for CNC machining, and in particular to an adaptive optimization method and system for machine tool machining parameters based on artificial intelligence. Background Technology

[0002] In high-speed cutting on CNC machine tools, especially in the milling of thin-walled parts, the relative vibration between the tool and the workpiece can easily induce strong regenerative chatter, leading to deterioration of the machined surface quality and severe damage to the tool bearings. Currently, to suppress this nonlinear cutting chatter, most industries employ pure data-driven models based on deep learning algorithms, extracting real-time vibration signal features for chatter alarms and parameter intervention.

[0003] However, existing AI-based machining parameter optimization technologies have the following main problems: existing pure data-driven monitoring models are seriously detached from the underlying cutting dynamics mechanism. The system can only passively perform post-event alarms and parameter reduction shutdowns after the chatter physical phenomenon has already occurred violently and caused damage. Due to the lack of the ability to mathematically deduce the time-varying dynamic stability boundary of the machine tool in advance, the parameter intervention actions have serious response lag. Summary of the Invention

[0004] To overcome the above shortcomings, this invention provides an adaptive optimization method and system for machine tool processing parameters based on artificial intelligence. It aims to improve the problem that traditional chatter control mostly uses pure data models, which lacks underlying mechanism deduction of instability boundaries, resulting in response lag and blind parameter reduction.

[0005] In a first aspect, the present invention provides the following technical solution: an adaptive optimization method for machine tool machining parameters based on artificial intelligence, comprising the following steps:

[0006] S1: Collect machine tool physical signals and the current actual cutting depth of the CNC machine tool. The machine tool physical signals include acceleration signals and rotation speed signals.

[0007] S2: Input the acceleration signal into the identification network to extract hidden variables, input the hidden variables into the softmax function layer to output probability weights, and fuse the probability weights with the reference matrix to obtain the cutting force coefficient and damping coefficient.

[0008] S3: Calculate the time delay period based on the rotation speed signal and the number of tool teeth; construct a differential equation based on the cutting force coefficient, the damping coefficient and the time delay period, and discretize the differential equation to construct a state transition matrix;

[0009] S4: Extract the maximum eigenvalue magnitude of the state transition matrix, which is defined as the system spectrum radius;

[0010] S5: If the system spectrum radius is greater than the instability threshold, in the three-dimensional space formed by the spindle speed, cutting depth and spectrum radius, solve the shortest distance vector from the current parameter point to the stable region, and extract the components of the shortest distance vector to generate speed command and cutting depth command;

[0011] S6: Correct the machining parameters according to the rotation speed command and the depth of cut command, extract the corrected machine tool physical signal and recalculate the system spectrum radius until the recalculated system spectrum radius is not greater than the instability threshold, and complete the closed-loop control.

[0012] By adopting the above technical solution, combining network identification parameters and time delay equations to calculate the spectral radius and perform spatial optimization, a feedforward closed-loop adjustment of processing parameters based on physical and mechanical boundaries is realized. This improves the problem that traditional flutter control mostly uses pure data models, which lacks underlying mechanism deduction of instability boundaries, resulting in response lag and blind parameter reduction.

[0013] Secondly, the present invention provides the following technical solution: an adaptive optimization system for machine tool machining parameters based on artificial intelligence, comprising the following modules:

[0014] The signal acquisition module is used to acquire physical signals of the machine tool, including acceleration signals and rotational speed signals.

[0015] The parameter identification module is used to input the acceleration signal into the identification network to extract hidden variables, input the hidden variables into the softmax function layer to output probability weights, and fuse the probability weights with the reference matrix to obtain the cutting force coefficient and the damping coefficient.

[0016] The dynamics calculation module is used to calculate the time delay period based on the rotational speed signal and the number of tool teeth; construct a differential equation based on the cutting force coefficient, the damping coefficient and the time delay period; and discretize the differential equation to construct a state transition matrix.

[0017] The spectral radius analysis module is used to extract the maximum eigenvalue magnitude of the state transition matrix, which is defined as the system spectral radius.

[0018] The optimization decision module is used to solve the shortest distance vector from the current parameter point to the stable region in the three-dimensional space composed of the spindle speed, cutting depth and spectral radius if the system spectral radius is greater than the instability threshold, and extract the components of the shortest distance vector to generate speed command and cutting depth command.

[0019] The closed-loop execution module is used to correct the machining parameters according to the speed command and the depth of cut command, extract the corrected machine tool physical signal and recalculate the system spectrum radius until the recalculated system spectrum radius is not greater than the instability threshold, thus completing the closed-loop control.

[0020] The present invention has the following beneficial effects:

[0021] 1. In this invention, by combining network identification parameters and time delay equations to calculate the spectral radius and perform spatial optimization, a feedforward closed-loop adjustment of processing parameters based on physical and mechanical boundaries is achieved. This improves the problem that traditional flutter control mostly uses pure data models, which lacks underlying mechanism deduction of instability boundaries, resulting in response lag and blind parameter reduction.

[0022] 2. In this invention, by fusing the probability weights output by the network with the physical reference matrix, the instantaneous cutting force coefficient and damping coefficient are obtained. This improves the problem that traditional cutting parameter calculations mostly use static empirical formulas, which cannot detect the sudden changes in contact state caused by high-frequency micro-vibrations, resulting in serious distortion of the input source of subsequent dynamic equations.

[0023] 3. In this invention, by discretizing the time delay equation to construct the transfer matrix and extracting the spectral radius, the continuous dynamic solution is transformed into eigenvalue analysis, thereby improving the problem that traditional stability deduction mostly adopts numerical integration algorithms, which consume a lot of underlying computing power due to the huge iteration cycle, making it difficult for CNC systems to achieve microsecond-level real-time deduction of boundaries.

[0024] 4. In this invention, by solving the shortest distance vector to the stable region in three-dimensional space, and then extracting the geometric components to directly generate accurate parameter reduction instructions, the problem of traditional parameter compensation, which mostly adopts fixed step size trial-and-error algorithms, is caused by the lack of deterministic analytical tracking path guidance, resulting in blind and excessive parameter reduction and serious loss of processing efficiency. Attached Figure Description

[0025] Figure 1 This is a flowchart of an adaptive optimization method for machine tool machining parameters based on artificial intelligence, as proposed in this invention.

[0026] Figure 2 This is a detailed flowchart of parameter identification and dynamic parameter calculation for an artificial intelligence-based adaptive optimization method for machine tool machining parameters proposed in this invention.

[0027] Figure 3 This is an architecture diagram of an artificial intelligence-based adaptive optimization system for machine tool machining parameters proposed in this invention. Detailed Implementation

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

[0029] Example 1:

[0030] In a first embodiment of the present invention, the present invention provides an adaptive optimization method for machine tool machining parameters based on artificial intelligence, such as... Figure 1 As shown, it includes the following steps:

[0031] S1: Collects machine tool physical signals and the current actual cutting depth of the CNC machine tool. Machine tool physical signals include acceleration signals and rotation speed signals.

[0032] Furthermore, in step S1, the acquisition of machine tool physical signals and the current actual cutting depth of the CNC machine tool includes:

[0033] The original acceleration signal and the original rotation speed signal are acquired synchronously by a piezoelectric accelerometer deployed at the end of the machine tool spindle and an encoder built into the spindle driver.

[0034] The high-frequency noise components exceeding the Nyquist frequency in the original acceleration signal are removed by using an anti-aliasing low-pass filter to obtain the acceleration signal;

[0035] The acceleration signal and the original speed signal are aligned using a hardware clock synchronization mechanism to eliminate channel group delay, and the effective observation data within the current interpolation period are extracted using a time window to obtain the speed signal.

[0036] The actual cutting depth of the CNC machine tool is obtained by calculating the difference between the real-time axis position coordinates of the underlying CNC system and the preset workpiece blank contour data.

[0037] Specifically, step S1 constitutes the underlying physical data foundation for the AI-based adaptive optimization method for machine tool machining parameters. The data input and output process is as follows: the machine tool's underlying CNC system and external sensors collect real-time mechanical motion state data and geometric position data as inputs. After signal conditioning and alignment calculation by the underlying hardware, the outputs are acceleration signals, rotational speed signals, and actual cutting depths, which can be directly used by the subsequent cutting coefficient identification network and optimization module.

[0038] A multi-modal physical signal acquisition channel is established by synchronously acquiring raw acceleration and rotational speed signals through a piezoelectric accelerometer deployed at the machine tool spindle end and an encoder built into the spindle driver. An anti-aliasing low-pass filter is used to condition the raw acceleration signal. To prevent signal aliasing failure, the set low-pass cutoff frequency relationship satisfies the following:

[0039] ;

[0040] in This represents the cutoff frequency of the anti-aliasing low-pass filter; This represents the sampling frequency of the piezoelectric accelerometer. By limiting the cutoff frequency of the low-pass filter to eliminate high-frequency noise components exceeding the Nyquist frequency and extracting the acceleration signal, this method improves upon the traditional direct sampling scheme's inherent weakness of being easily influenced by high-order harmonic interference from the machine tool, leading to distortion in subsequent feature extraction. This also avoids the problem of cutting coefficient identification network prediction bias caused by aliasing and false frequencies.

[0041] In the signal transmission control path, the timestamps of the acceleration signal and the original rotational speed signal are aligned based on a hardware clock synchronization mechanism. The timestamp compensation equation is defined as follows:

[0042] ;

[0043] in This represents the timestamp deviation after compensation; The sampling timestamp represents the acceleration signal; The sampling timestamp represents the original rotational speed signal; This represents the intrinsic group delay constant measured between hardware channels. The underlying controller forces the timestamp deviation to zero and uses a time window to extract the effective observation data within the current interpolation cycle to obtain the rotational speed signal. This physical alignment method eliminates the time difference misalignment of data between multi-source sensor channels, ensuring a rigorous correspondence in the time scale for subsequent dynamic differential equations.

[0044] Regarding the calculation of the actual cutting depth, the real-time axis position coordinates of the CNC machine tool's underlying CNC system and the preset workpiece blank contour data are read, and the difference calculation model is expressed as follows:

[0045] ;

[0046] in Represents the current number Actual cutting depth under one interpolation cycle; Represents the current number Real-time axis position coordinates of the spindle tool tip during one interpolation cycle; This represents the preset workpiece blank contour data at the corresponding planar position. By reading the real-time axis position coordinates of the CNC machine tool's underlying CNC system and calculating the difference between them and the preset workpiece blank contour data, the actual cutting depth is obtained. This improves upon the technical shortcomings of traditional CNC systems that rely solely on manual commands to issue static parameters and cannot detect dynamic changes in the blank allowance. This avoids the machine tool overshoot phenomenon caused by the lack of basic depth physical quantities when the system generates parameter reduction commands.

[0047] like Figure 2As shown, S2: The acceleration signal is input into the identification network to extract the hidden variables, the hidden variables are input into the softmax function layer to output the probability weights, and the probability weights are fused with the reference matrix to obtain the cutting force coefficient and the damping coefficient.

[0048] Furthermore, in step S2, the acceleration signal is input into the recognition network to extract latent variables, and the latent variables are input into the softmax function layer to output probability weights, including:

[0049] The acceleration signal is input into the one-dimensional multi-scale convolutional layer of the recognition network to extract local spatial features and obtain a multi-scale feature map.

[0050] Multi-scale feature maps are input into the bidirectional long short-term memory network layer of the recognition network to mine global temporal dependencies and extract latent variables that represent the contact state of the knife work.

[0051] The latent variables are mapped to the predicted log values ​​of each cutting state category, and the predicted log values ​​are transformed into normalized probability weights through a softmax function layer.

[0052] In step S2, the probability weights are fused with the baseline matrix to obtain the cutting force coefficient and damping coefficient, including:

[0053] Obtain the pre-calibrated physical reference cutting force matrix and physical reference damping matrix, and combine the physical reference cutting force matrix and physical reference damping matrix into a reference matrix;

[0054] The probability weights are reconstructed into a state probability distribution vector that characterizes the microscopic physical state distribution of the tool contact interface.

[0055] Calculate the inner product of the state probability distribution vector and the physical reference cutting force matrix, and the inner product of the state probability distribution vector and the physical reference damping matrix, respectively. Output the cutting force coefficient and damping coefficient under the instantaneous physical state through linear weighting.

[0056] Specifically, step S2 constitutes the state dimensionality reduction and dynamic mapping hub in the AI-based adaptive optimization method for machine tool machining parameters. The data input-output process is as follows: the acceleration signal processed in the previous time step is received as the network input data. After undergoing multi-scale spatial convolution calculation, temporal dependency mining, and probability logarithmic transformation within the identification network, intermediate state probability weights are generated. These probability weights are then input into an externally defined physical reference space to perform inner product mapping operations, ultimately outputting the cutting force coefficient and damping coefficient for subsequent differential equation construction.

[0057] In the network feature extraction stage, the acceleration signal is input into the one-dimensional multi-scale convolutional layer of the identification network to extract local spatial features, resulting in a multi-scale feature map. This multi-scale feature map is then input into the bidirectional long short-term memory (LSTM) layer of the identification network for global temporal dependency mining, extracting latent variables characterizing the tool contact state. These latent variables are mapped to predicted logarithmic values ​​for each cutting state category, and the predicted logarithmic values ​​are transformed into normalized probability weights using a softmax function layer. The specific normalization mathematical calculation model is as follows:

[0058] ;

[0059] in Representing the The probability weights of each cutting state category; The first one represents the result of mapping the latent variables. Predicted logarithmic values ​​for each cutting condition category; This represents the total number of pre-defined cutting state categories; This represents an exponential function with the natural constant as its base.

[0060] By sequentially inputting acceleration signals into a one-dimensional multi-scale convolutional layer and a bidirectional long short-term memory network layer to extract features, and using a softmax function layer to output probability weights, the technical defects of traditional single neural network architecture in processing high-frequency nonlinear vibration signals, which cannot take into account both local transient excitation characteristics and long-period evolution laws, are improved. This avoids the problem of system control misjudgment caused by low accuracy of micro-contact state recognition.

[0061] In the physical parameter mapping stage, the offline calibration process of the reference matrix is ​​first executed: multiple sets of orthogonal milling tests are carried out under preset standard working conditions. A high-frequency force gauge is used to record the cutting force signals throughout the entire process under different spindle speeds and depths of cut combinations. The least squares method is used to fit and solve the empirical formula for nonlinear cutting force, extracting the basic static cutting force coefficient and basic static damping coefficient in a purely physical sense. The extracted coefficients from multiple states are used to construct the physical reference cutting force matrix and physical reference damping matrix. During circuit operation, the pre-calibrated physical reference cutting force matrix and physical reference damping matrix are combined to form the reference matrix. The probability weights are reconstructed into a state probability distribution vector representing the microscopic physical state distribution of the tool contact interface. The inner product of the state probability distribution vector and the physical reference cutting force matrix, and the inner product of the state probability distribution vector and the physical reference damping matrix are calculated respectively, and the cutting force coefficient and damping coefficient are output. The specific physical parameter solution model is expressed as follows:

[0062] ;

[0063] ;

[0064] in The cutting force coefficient represents the current instantaneous physical state; The damping coefficient represents the current instantaneous physical state. This represents the state probability distribution vector obtained by reconstructing the probability weights; Represents a pre-defined physical reference cutting force matrix; Represents a pre-defined physical reference damping matrix; This represents the rules for inner product operations between spatial vectors.

[0065] By calculating the inner product of the state probability distribution vector and the physical reference cutting force matrix, and the inner product of the state probability distribution vector and the physical reference damping matrix, respectively, the dynamic parameters are solved. This improves the technical defect of the traditional pure data-driven model, which directly predicts the output physical quantities and deviates from the boundary of the underlying cutting mechanics mechanism. This avoids the problem of divergence in the solution of subsequent time-delay differential equations caused by the direct output of extreme nonlinear constants by the black box network.

[0066] S3: Calculate the time delay period based on the rotation speed signal and the number of tool teeth; construct a differential equation based on the cutting force coefficient, damping coefficient and time delay period, and discretize the differential equation to construct the state transition matrix;

[0067] Furthermore, in step S3, the time delay period is calculated based on the rotational speed signal and the number of tool teeth; the differential equations are constructed based on the cutting force coefficient, damping coefficient, and time delay period, including:

[0068] Divide the time constant by the product of the rotation speed signal and the number of tool teeth to calculate the time delay period of the cutting ripples left by the previous tooth on the workpiece surface.

[0069] Obtain the natural modal mass matrix, natural modal damping matrix, and natural modal stiffness matrix of the machine tool structure;

[0070] By coupling the cutting force coefficient, damping coefficient, time delay period, natural modal mass matrix, natural modal damping matrix and natural modal stiffness matrix, a multi-degree-of-freedom time-delay dynamic model is constructed with the tool tip dynamic displacement vector as the dependent variable and the cutting force including the time delay term as the excitation force input, and the differential equation is obtained.

[0071] In step S3, the discretization of the differential equation to construct the state transition matrix includes:

[0072] By introducing augmented state variables, the differential equations are transformed into first-order state-space equations.

[0073] The time delay period is evenly divided into multiple equally spaced discrete time steps;

[0074] Within each discrete time step interval, the system coefficient matrix with time-varying characteristics is converted into a constant matrix using a zero-order hold, and the transition algebraic relationship between adjacent discrete state vectors is constructed.

[0075] Based on the time sequence, the algebraic relationships of the transitions within each discrete time step are recursively multiplied and integrated to construct a state transition matrix that spans the complete cutting cycle.

[0076] Specifically, step S3 receives the cutting force coefficient and damping coefficient output from the previous step as input variables. Combined with the speed signal directly acquired from the underlying layer and inherent physical parameters, it performs time-delay dynamics modeling and discretized numerical calculations within the logic operation unit, ultimately outputting a state transition matrix that maps the evolution of the complete cutting cycle of the CNC machine tool. This state transition matrix then serves as the absolute quantitative basis for the downstream spectral radius analysis module to evaluate the critical boundary of system instability.

[0077] Dividing the time constant by the product of the rotational speed signal and the number of tool teeth, the time delay period for the previous tooth to leave cutting marks on the workpiece surface is calculated. The specific mathematical model for calculating the time delay period is expressed as follows:

[0078] ;

[0079] in Represents the time delay period; The time constant is represented by a value of 60; Represents the rotational speed signal; This represents the number of teeth on the cutting tool.

[0080] Obtain the inherent modal mass matrix, inherent modal damping matrix, and inherent modal stiffness matrix of the machine tool structure. Couple the cutting force coefficient, damping coefficient, time delay period, inherent modal mass matrix, inherent modal damping matrix, and inherent modal stiffness matrix to construct a multi-degree-of-freedom time-delay dynamic model with the tool tip dynamic displacement vector as the dependent variable and the cutting force including a time delay term as the excitation force input, resulting in the differential equations. The established time-delay dynamic model is as follows:

[0081] ;

[0082] in Represents the intrinsic modal mass matrix; Represents the intrinsic mode damping matrix; Represents the intrinsic modal stiffness matrix; The damping coefficient represents the current calculated state; The cutting force coefficient representing the current calculation state; The dynamic displacement vector of the blade tip represents the current time point; The dynamic velocity vector represents the first derivative of the displacement vector. This represents the dynamic acceleration vector, which is the second derivative of the displacement vector. This represents the dynamic displacement vector of the tool tip after experiencing a complete time delay period.

[0083] By directly embedding the cutting force coefficient and damping coefficient as nonlinear time-varying parameters into the multi-degree-of-freedom dynamic equation with the time delay period as the delay limit, the traditional technical defect of the static cutting model that cannot characterize the hysteresis excitation effect of the ripples left by the previous cutting tooth on the current cutting process is improved. This avoids the problem of chatter prediction failure caused by the loss of physical and mechanical boundary constraints when the system is dealing with complex curved surface cutting conditions.

[0084] In the process of discretizing differential equations to construct state transition matrices, augmented state variables are introduced to perform a reduction transformation on the differential equations, converting higher-order differential equations into first-order state-space equations:

[0085] ;

[0086] in This represents the first-order augmented state derivative vector; An augmented state variable representing the current time; Represents the augmented state variable after delay; This represents the system state coefficient matrix constructed by integrating fundamental physical quantities; This represents the delayed excitation coefficient matrix.

[0087] The time delay period is uniformly divided into multiple equally spaced discrete time steps. Within each discrete time step interval, a zero-order hold is used to convert the time-varying system coefficient matrix into a constant matrix, and a transition algebraic relationship between adjacent discrete state vectors is constructed:

[0088] ;

[0089] in A discrete physical state vector representing the current time step; Represents the discrete physical state vector of the immediately preceding time step; This represents a vector of discrete physical states before a complete time delay period has elapsed. This represents the total number of discrete time steps in the partition; This represents the first constant transformation matrix after the reduced-order decomposition. This represents the second constant transformation matrix after the order reduction decomposition.

[0090] Based on the time sequence, the algebraic relationships of the transitions within each discrete time step are recursively multiplied and integrated to construct a state transition matrix that spans the entire cutting cycle:

[0091] ;

[0092] ;

[0093] in Represents the future comprehensive mapping vector after recombination and dimensional upgrading; The composite mapping vector representing the current reorganization moment; and This represents the single-step transition algebra matrix that integrates all the time-invariant transformation parameters; This represents the final state transition matrix obtained by matrix multiplication.

[0094] By introducing augmented state variables to mathematically reduce the order of high-dimensional differential equations and combining them with zero-order hold to force time-varying parameters into constant matrices, the recursive product integration of transition algebraic relations within each discrete time step is achieved. This improves upon the traditional technical shortcomings of nonlinear dynamic models in continuous domains, which are extremely difficult to obtain accurate analytical solutions and whose numerical integration consumes massive computation cycles. This avoids the serious lag in deceleration command issuance caused by extreme overload of microprocessor computing power in the underlying CNC servo system.

[0095] S4: Extract the maximum eigenvalue magnitude of the state transition matrix, which is defined as the system spectrum radius;

[0096] Furthermore, in step S4, the maximum eigenvalue magnitude of the state transition matrix is ​​extracted, defined as the system spectral radius, which includes:

[0097] Since the state transition matrix is ​​a high-dimensional asymmetric matrix, in order to meet the millisecond-level real-time requirements of the machine tool's underlying control, a numerical linear algebra solver is invoked, and the implicitly restarted Arnoldi iterative algorithm is introduced to perform a dimension reduction projection transformation on the state transition matrix, constructing a low-dimensional Krylov subspace:

[0098] ;

[0099] in Represents the state transition matrix; This represents a set of orthogonal basis matrices generated through orthogonalization; This represents the upper Hessenberg matrix after dimensionality reduction; Represents the iterative residual vector; Represents the transpose of a unit vector; This represents the defined dimension of the Krylov subspace.

[0100] By solving for some of the complex eigenvalues ​​of the upper Hessenberg matrix instead of the full decomposition, the dominant complex eigenvalues ​​located on the outermost edge of the complex field are directly extracted. The magnitude of the dominant complex eigenvalue is obtained by calculating the square root of the sum of the squares of the real and imaginary parts of each dominant complex eigenvalue.

[0101] Iterate through and compare the magnitudes of all complex eigenvalues, and select the magnitude with the largest value as the magnitude of the largest eigenvalue.

[0102] The maximum eigenvalue modulus is set as the system spectrum radius for quantifying the evolution trend of the cutting system.

[0103] Specifically, step S4 receives the state transition matrix constructed in the previous processing stage as the input data source. Within the computation unit, orthogonal transformation and eigenvalue decomposition of the matrix are performed to extract and calculate the matrix's characteristic distribution pattern, ultimately outputting the system spectrum radius in scalar form. This system spectrum radius directly serves as the sole quantitative indicator for the downstream decision-making module to assess the critical boundary of machine tool instability.

[0104] The numerical linear algebra solver is invoked to perform orthogonal transformations and eigenvalue decomposition on the state transition matrix, extracting all complex eigenvalues ​​of the state transition matrix in the complex domain. The solution model for complex eigenvalues ​​is expressed as follows:

[0105] ;

[0106] in The state transition matrix represents the input; Represents the first state transition matrix corresponding to the state transition matrix. 1 eigenvector; The first one obtained from the solution Each complex eigenvalue.

[0107] Since the eigenvalues ​​we are looking for reside in the complex field, their algebraic expansion is as follows:

[0108] ;

[0109] in Representing the The real part values ​​of each complex eigenvalue; Representing the The imaginary part of each complex eigenvalue; It represents the imaginary unit.

[0110] The modulus of each complex eigenvalue is obtained by calculating the square root of the sum of the squares of its real and imaginary parts. The specific model for calculating the modulus is as follows:

[0111] ;

[0112] in Representing the The modulus of a complex eigenvalue.

[0113] By iterating through and comparing the magnitudes of all complex eigenvalues, the magnitude with the largest value is selected as the maximum eigenvalue magnitude. This maximum eigenvalue magnitude is then set as the system spectrum radius for quantifying the evolution trend of the cutting system. The defining equation for the system spectrum radius is:

[0114] ;

[0115] in Represents the system's spectral radius; This represents an operator that takes the maximum value within the range of all index subscripts.

[0116] By performing eigenvalue decomposition on the high-dimensional state transition matrix and extracting the maximum complex eigenvalue magnitude as the system spectrum radius, the multidimensional evolution law contained in the complex dynamic equations is reduced and compressed into a single scalar criterion. This improves the technical defect of traditional machine tool chatter monitoring schemes that require parallel processing of massive high-frequency vibration data, resulting in insufficient computing power at edge computing nodes. This avoids the problem of delayed control command issuance caused by the delay in processing massive data, and establishes an absolute mathematical boundary for the real-time quantitative assessment of cutting stability.

[0117] S5: If the system spectrum radius is greater than the instability threshold, in the three-dimensional space formed by the spindle speed, cutting depth and spectrum radius, solve the shortest distance vector from the current parameter point to the stable region, extract the components of the shortest distance vector to generate speed command and cutting depth command;

[0118] Furthermore, in step S5, if the system spectral radius is greater than the instability threshold, the shortest distance vector from the current parameter point to the stable region is calculated in the three-dimensional space formed by the spindle speed, depth of cut, and spectral radius. The components of the shortest distance vector are extracted to generate the speed and depth of cut commands, including:

[0119] Extract the current spindle speed and actual cutting depth represented by the rotation speed signal to generate the coordinates of the current parameter point in three-dimensional space.

[0120] Construct an optimal tracking objective function in three-dimensional space centered on the coordinates of the current parameter point and constrained by a spectral radius less than or equal to the instability threshold.

[0121] The optimal tracking objective function is solved using the geometric projection method. The coordinates of the absolutely stable solution that have the shortest Euclidean distance to the coordinates of the current parameter point are obtained. The shortest distance vector is generated based on the coordinates of the current parameter point and the coordinates of the absolutely stable solution.

[0122] Extract the orthogonal projection components of the shortest distance vector onto the spindle speed coordinate axis and the depth of cut coordinate axis, and generate speed and depth of cut commands for parameter reduction control based on the orthogonal projection components.

[0123] Specifically, step S5 receives the previously calculated system spectrum radius and the spindle speed and actual cutting depth fed back from the underlying layer as input parameters. When the arithmetic unit determines that the system is in an unstable critical state, it triggers an optimization mechanism, performs three-dimensional spatial geometric calculations, and finally outputs the speed and cutting depth commands for parameter reduction control, and sends these commands to the underlying control mechanism.

[0124] The current spindle speed and actual depth of cut are extracted from the rotational speed signal, and combined with the system spectral radius to generate the coordinates of the current parameter point in three-dimensional space. The three-dimensional coordinate system uses spindle speed as the first axis, depth of cut as the second axis, and spectral radius as the third axis. The algebraic definition of the current parameter point coordinates is:

[0125] ;

[0126] in Represents the coordinate vector of the current parameter point; Represents the current spindle speed; Represents the actual depth of cut; This represents the system spectrum radius after exceeding the boundary.

[0127] In three-dimensional space, an optimal tracking objective function is constructed, centered at the current parameter point coordinates and constrained by a spectral radius less than or equal to the instability threshold. Addressing the issue of inconsistencies between the physical dimensions of rotational speed and depth of cut, the mathematical model of this objective function is expressed as follows:

[0128] ;

[0129] The constraints for the optimization process are:

[0130] ;

[0131] in This represents the optimal tracking objective function value; This represents the spindle speed variable during the optimization process; This represents the cutting depth variable during the optimization process; This represents the rotational speed normalization weighting coefficient set to eliminate differences in physical dimensions; This represents the tangent depth normalization weighting coefficient set to eliminate differences in physical dimensions; This represents the spectral radius variable at the corresponding optimization node; This represents the critical threshold for system instability, which, according to dynamic theory, is set to 1.

[0132] The optimal tracking objective function is solved using the geometric projection method to obtain the coordinates of the absolutely stable solution that minimizes the Euclidean distance to the current parameter point. The specific geometric projection solution process is as follows: The local partial derivatives of the spectral radius at the current parameter point coordinates with respect to the spindle speed and depth of cut are calculated using the finite difference method, and the spectral radius gradient vector is constructed.

[0133] ;

[0134] in Represents the gradient vector of the spectral radius; The partial derivative of the spectral radius with respect to the rotational speed; This represents the partial derivative of the spectral radius with respect to the cutting depth.

[0135] Under the first-order Taylor expansion approximation, the nonlinear instability boundary constraint is transformed into a local tangent plane passing through the coordinates of the current parameter point. The shortest orthogonal projection distance from the current parameter point coordinates to this local tangent plane is calculated, and the coordinates of the absolutely stable solution are obtained. Based on the coordinates of the current parameter point and the coordinates of the absolutely stable solution, the shortest distance vector is generated. The specific algebraic expression of the shortest distance vector is:

[0136] ;

[0137] in This represents the shortest distance vector obtained from the solution; The critical threshold for system instability is represented by a value of one. This represents the system spectrum radius after the boundary is crossed; This represents the squared L2 norm of the gradient vector of the spectral radius.

[0138] Extract the orthogonal projection components of the shortest distance vector onto the spindle speed and depth-of-cut coordinate axes. Based on these orthogonal projection components, directly generate the speed and depth-of-cut commands for parameter reduction control. The command generation equations are as follows:

[0139] ;

[0140] ;

[0141] in This represents the rotational speed command sent to the spindle driver; This represents the depth of cut command sent to the feed axis servo.

[0142] By solving for the shortest distance vector from the current parameter point to the stable region in a three-dimensional space composed of spindle speed, depth of cut, and spectral radius, and extracting orthogonal projection components, this method overcomes the fundamental defect of conventional fixed-step trial-and-error methods that blindly adjust parameters, leading to a significant reduction in machining efficiency. It also avoids the instruction delay problem caused by the excessive computational overhead of global traversal optimization algorithms. This geometric projection tracking mechanism directly transforms the abstract matrix eigenvalue instability determination into physical motion compensation at the execution end, forcing the machine tool system to return to the stable boundary with minimal parameter adjustment cost. This provides a deterministic control strategy with microsecond-level response for vibration prevention intervention in high-speed milling processes.

[0143] S6: Correct the machining parameters according to the speed command and depth of cut command, extract the corrected machine tool physical signal and recalculate the system spectrum radius until the recalculated system spectrum radius is not greater than the instability threshold, and complete the closed-loop control.

[0144] Furthermore, in step S6, the machining parameters are corrected based on the speed and depth of cut commands, and the corrected machine tool physical signals are extracted to recalculate the system spectrum radius until the recalculated system spectrum radius is not greater than the instability threshold, thus completing the closed-loop control, including:

[0145] The speed and depth of cut commands are converted into communication protocol data frames and sent to the machine tool's underlying servo controller via the industrial fieldbus.

[0146] The machine tool's underlying servo controller parses the communication protocol data frames and synchronously performs parameter reduction correction operations on the spindle motor speed and feed axis depth of cut.

[0147] In the next interpolation cycle after the parameter reduction correction operation is completed, the drive sensor re-acquires the signal as the corrected machine tool physical signal. Based on the corrected machine tool physical signal, the network identification and dynamic matrix calculation are re-triggered to update the system spectrum radius in the current state.

[0148] In response to the recalculated system spectrum radius not being greater than the instability threshold, the generation and issuance of speed and depth of cut commands are terminated, and the current machining state is maintained.

[0149] Specifically, step S6 receives the speed and depth of cut commands output by the decision center as inputs to the control link. The system performs digital protocol encapsulation and physical transmission actions at the communication interaction layer. The underlying servo drive mechanism converts the received digital quantities into actual mechanical rotor motion and feed motion parameters, and collects motion feedback status in the next physical clock cycle. Finally, it outputs updated machine tool physical signals and a recalculated system spectrum radius to form a data stream verification.

[0150] During the execution of the command delivery process, the speed and depth-of-cut commands are converted into communication protocol data frames and sent to the machine tool's underlying servo controller via the industrial fieldbus. The machine tool's underlying servo controller parses the communication protocol data frames and simultaneously performs parameter reduction correction operations on the spindle motor speed and feed axis depth of cut. The physical quantity correction equations executed internally by the servo driver are defined as follows:

[0151] ;

[0152] ;

[0153] in This represents the corrected target speed of the spindle motor; The physical quantity representing the actual rotational speed of the spindle motor during the current interpolation cycle; This represents the rotation speed command parsed from the underlying protocol. This represents the corrected target depth of cut for the feed axis; This represents the actual depth of cut of the feed axis during the current interpolation cycle; This represents the cut depth instruction derived from the underlying protocol parsing.

[0154] In the next interpolation cycle after the parameter reduction correction operation is completed, the drive sensor re-acquires the signal as the corrected machine tool physical signal. Based on the corrected machine tool physical signal, network identification and dynamic matrix calculation are re-triggered to update the system spectrum radius calculated in the current state. The mathematical inequality of the feedback verification judgment logic is as follows:

[0155] ;

[0156] in This represents the system spectrum radius recalculated under the closed-loop feedback path; The critical threshold value for dynamic instability is one.

[0157] In response to the determination that the recalculated system spectrum radius is not greater than the instability threshold, the generation and issuance process of speed and depth of cut commands is terminated, and the current machining state is maintained.

[0158] By sending the speed command and depth of cut command to the servo underlying layer through the communication protocol data frame and re-acquiring physical quantities in the next interpolation cycle to update the calculated system spectrum radius, a closed-loop feedback verification is formed. This improves the technical defect of the traditional open-loop parameter reduction compensation mode, which cannot confirm in real time whether the controlled system has truly escaped the nonlinear bifurcation danger zone after a single command is sent. This avoids the problem of secondary chatter caused by inadequate correction of control execution actions or excessive parameter reduction when CNC machine tools face complex multivariable working conditions.

[0159] Example 2:

[0160] In the aerospace manufacturing field, CNC machine tools are often used for high-speed milling of difficult-to-machine flexible parts such as integral titanium alloy impellers or thin-walled casings. In this time-varying cutting scenario, the weak relative vibration between the tool and the thin-walled workpiece leaves ripples on the machined surface. When the cutting teeth subsequently cut across this rippled surface again, it triggers an alternation of dynamic cutting thickness, which can easily induce strong regenerative chatter. This not only severely damages the surface integrity of the part but also causes the expensive tool to break instantly and the spindle bearing to be damaged. However, there are prominent technical problems in this scenario: traditional conservative reduced-parts machining greatly sacrifices production efficiency; while existing pure data-driven AI monitoring systems often lack the support of underlying nonlinear cutting dynamics mechanisms and can only provide passive alarms after chatter has occurred and caused physical damage. Because existing systems lack the ability to mathematically deduce the evolution of micro-cutting characteristics into macro-instability, their control actions have serious phase lag and cannot deduce the absolute physical stability boundary of the cutting system over time in real time at the microsecond level. Therefore, it is difficult to accurately and adaptively achieve feedforward coordinated avoidance of machine tool spindle speed and cutting depth before destructive chatter erupts. To address the aforementioned problems, this invention provides an artificial intelligence-based adaptive optimization system for machine tool machining parameters, the structure of which is as follows: Figure 3 As shown. The specific implementation process of this system is as follows:

[0161] A complete data closed loop from underlying hardware to algorithm control was constructed by deploying six modules. The signal acquisition module acquires acceleration and rotation speed signals to establish the front-end physical data source. The parameter identification module fuses the probability weights output by the identification network with the reference matrix to solve for the cutting force coefficient and damping coefficient, compensating for the deficiency of pure data black box models that are detached from the underlying mechanical mechanism. The dynamics calculation module receives the above mechanical parameters and constructs differential equations by combining them with the calculated time delay period. After discretization, it generates a state transition matrix that maps the cutting evolution law. The spectral radius analysis module further extracts the magnitude of the largest eigenvalue of the matrix as the criterion for the system spectral radius to quantify the stability boundary. When an instability warning is triggered, the optimization decision module uses geometric projection in three-dimensional space to solve for the shortest distance vector to the stable region, directly transforming the abstract eigenvalue prediction into physical-level rotation speed and depth of cut commands. The closed-loop execution module issues adjustment commands and re-acquires signals to verify the spectral radius, forcing the machine tool to leave the dangerous working condition. Each module operates in sequence and in coordination, avoiding the lag caused by traditional passive alarms and manual trial and error in parameter setting, and achieving deterministic parameter feedforward intervention before the energy burst of regenerative flutter.

[0162] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. An adaptive optimization method for machine tool machining parameters based on artificial intelligence, characterized in that, Includes the following steps: S1: Collect machine tool physical signals and the current actual cutting depth of the CNC machine tool. The machine tool physical signals include acceleration signals and rotation speed signals. S2: Input the acceleration signal into the identification network to extract hidden variables, input the hidden variables into the softmax function layer to output probability weights, and fuse the probability weights with the reference matrix to obtain the cutting force coefficient and damping coefficient. S3: Calculate the time delay period based on the rotation speed signal and the number of tool teeth; construct a differential equation based on the cutting force coefficient, the damping coefficient and the time delay period, and discretize the differential equation to construct a state transition matrix; S4: Extract the maximum eigenvalue magnitude of the state transition matrix, which is defined as the system spectrum radius; S5: If the system spectrum radius is greater than the instability threshold, in the three-dimensional space formed by the spindle speed, cutting depth and spectrum radius, solve the shortest distance vector from the current parameter point to the stable region, and extract the components of the shortest distance vector to generate speed command and cutting depth command; S6: Correct the machining parameters according to the rotation speed command and the depth of cut command, extract the corrected machine tool physical signal and recalculate the system spectrum radius until the recalculated system spectrum radius is not greater than the instability threshold, and complete the closed-loop control.

2. The adaptive optimization method for machine tool machining parameters based on artificial intelligence according to claim 1, characterized in that, In step S1, the acquisition of the machine tool's physical signals and the current actual cutting depth of the CNC machine tool includes: The original acceleration signal and the original rotation speed signal are acquired synchronously by a piezoelectric accelerometer deployed at the end of the machine tool spindle and an encoder built into the spindle driver. The acceleration signal is obtained by removing high-frequency noise components exceeding the Nyquist frequency from the original acceleration signal using an anti-aliasing low-pass filter. The acceleration signal and the original rotational speed signal are aligned using a hardware clock synchronization mechanism to eliminate channel group delay, and the effective observation data within the current interpolation period are extracted using a time window to obtain the rotational speed signal. The actual cutting depth of the CNC machine tool is obtained by calculating the difference between the real-time axis position coordinates of the underlying CNC system and the preset workpiece blank contour data.

3. The adaptive optimization method for machine tool machining parameters based on artificial intelligence according to claim 1, characterized in that, In step S2, the step of inputting the acceleration signal into the recognition network to extract latent variables and inputting the latent variables into the softmax function layer to output probability weights includes: The acceleration signal is input into the one-dimensional multi-scale convolutional layer of the recognition network to extract local spatial features and obtain a multi-scale feature map. The multi-scale feature map is input into the bidirectional long short-term memory network layer of the identification network to perform global temporal dependency mining and extract the latent variables representing the contact state of the knife. The latent variables are mapped to predicted log values ​​for each cutting state category, and the predicted log values ​​are transformed into normalized probability weights through the softmax function layer.

4. The adaptive optimization method for machine tool machining parameters based on artificial intelligence according to claim 1, characterized in that, In step S2, fusing the probability weights with the reference matrix to obtain the cutting force coefficient and damping coefficient includes: Obtain the pre-calibrated physical reference cutting force matrix and physical reference damping matrix, and combine the physical reference cutting force matrix and the physical reference damping matrix into the reference matrix; The probability weights are reconstructed into a state probability distribution vector that characterizes the microscopic physical state distribution of the tool contact interface. Calculate the inner product of the state probability distribution vector and the physical reference cutting force matrix, and the inner product of the state probability distribution vector and the physical reference damping matrix, respectively, and output the cutting force coefficient and the damping coefficient in the instantaneous physical state by linear weighting.

5. The adaptive optimization method for machine tool machining parameters based on artificial intelligence according to claim 1, characterized in that, In step S3, calculating the time delay period based on the rotational speed signal and the number of tool teeth; and constructing a differential equation based on the cutting force coefficient, the damping coefficient, and the time delay period includes: Divide the time constant by the product of the rotation speed signal and the number of cutter teeth to calculate the time delay period during which the previous cutter tooth leaves cutting ripples on the workpiece surface. Obtain the natural modal mass matrix, natural modal damping matrix, and natural modal stiffness matrix of the machine tool structure; The cutting force coefficient, the damping coefficient, the time delay period, the intrinsic modal mass matrix, the intrinsic modal damping matrix, and the intrinsic modal stiffness matrix are coupled together to construct a multi-degree-of-freedom time-delay dynamic model with the tool tip dynamic displacement vector as the dependent variable and the cutting force including the time delay term as the excitation force input, thus obtaining the differential equation.

6. The adaptive optimization method for machine tool machining parameters based on artificial intelligence according to claim 1, characterized in that, In step S3, the discretization of the differential equation to construct the state transition matrix includes: By introducing augmented state variables, the differential equations are transformed into first-order state-space equations through a reduction-order transformation. The time delay period is evenly divided into multiple equally spaced discrete time steps; Within each discrete time step interval, the system coefficient matrix with time-varying characteristics is converted into a constant matrix using a zero-order hold, and the transition algebraic relationship between adjacent discrete state vectors is constructed. The state transition matrix spanning the entire cutting cycle is constructed by recursively multiplying and integrating the algebraic relationships of the transitions within each discrete time step according to the time sequence.

7. The adaptive optimization method for machine tool machining parameters based on artificial intelligence according to claim 1, characterized in that, In step S4, the extraction of the maximum eigenvalue magnitude of the state transition matrix, defined as the system spectral radius, includes: The numerical linear algebra solver is invoked to perform orthogonal transformation and eigenvalue decomposition on the state transition matrix, and all complex eigenvalues ​​of the state transition matrix in the complex domain space are extracted. Calculate the square root of the sum of the squares of the real and imaginary parts of each complex eigenvalue to obtain the modulus of each complex eigenvalue; Iterate through and compare the magnitudes of all the complex eigenvalues, and select the magnitude with the largest value as the magnitude of the largest eigenvalue. The maximum eigenvalue modulus is set as the system spectrum radius that quantifies the evolution trend of the cutting system.

8. The adaptive optimization method for machine tool machining parameters based on artificial intelligence according to claim 1, characterized in that, In step S5, if the system spectral radius is greater than the instability threshold, solving for the shortest distance vector from the current parameter point to the stable region in the three-dimensional space formed by the spindle speed, depth of cut, and spectral radius, and extracting the components of the shortest distance vector to generate the speed command and depth of cut command includes: Extract the current spindle speed represented by the rotation speed signal and the actual cutting depth to generate the coordinates of the current parameter point in the three-dimensional space. Construct an optimal tracking objective function in the three-dimensional space, centered on the coordinates of the current parameter point and constrained by a spectral radius less than or equal to the instability threshold. The optimal tracking objective function is solved using the geometric projection method to obtain the coordinates of the absolutely stable solution that has the shortest Euclidean distance to the coordinates of the current parameter point. The shortest distance vector is then generated based on the coordinates of the current parameter point and the coordinates of the absolutely stable solution. Extract the orthogonal projection components of the shortest distance vector onto the spindle speed coordinate axis and the depth of cut coordinate axis, and generate the speed command and the depth of cut command for parameter reduction control based on the orthogonal projection components.

9. The adaptive optimization method for machine tool machining parameters based on artificial intelligence according to claim 1, characterized in that, In step S6, the step of correcting the machining parameters based on the rotation speed command and the depth of cut command, extracting the corrected machine tool physical signal, recalculating the system spectrum radius until the recalculated system spectrum radius is not greater than the instability threshold, and completing the closed-loop control includes: The rotation speed command and the depth of cut command are converted into communication protocol data frames and sent to the machine tool's underlying servo controller via an industrial fieldbus. The machine tool's underlying servo controller parses the communication protocol data frames and synchronously performs parameter reduction correction operations on the spindle motor speed and feed axis depth of cut. In the next interpolation cycle after the parameter reduction correction operation is completed, the drive sensor re-acquires the signal as the corrected machine tool physical signal, and the network identification and dynamic matrix calculation are re-triggered based on the corrected machine tool physical signal to update the calculation of the system spectrum radius in the current state; In response to the recalculated system spectrum radius being no greater than the instability threshold, the generation and issuance of the rotation speed command and the depth of cut command are terminated, and the current processing state is maintained.

10. An adaptive optimization system for machine tool machining parameters based on artificial intelligence, characterized in that, Includes the following modules: The signal acquisition module is used to acquire physical signals of the machine tool, including acceleration signals and rotational speed signals. The parameter identification module is used to input the acceleration signal into the identification network to extract hidden variables, input the hidden variables into the softmax function layer to output probability weights, and fuse the probability weights with the reference matrix to obtain the cutting force coefficient and the damping coefficient. The dynamics calculation module is used to calculate the time delay period based on the rotational speed signal and the number of tool teeth; construct a differential equation based on the cutting force coefficient, the damping coefficient and the time delay period; and discretize the differential equation to construct a state transition matrix. The spectral radius analysis module is used to extract the maximum eigenvalue magnitude of the state transition matrix, which is defined as the system spectral radius. The optimization decision module is used to solve the shortest distance vector from the current parameter point to the stable region in the three-dimensional space composed of the spindle speed, cutting depth and spectral radius if the system spectral radius is greater than the instability threshold, and extract the components of the shortest distance vector to generate speed command and cutting depth command. The closed-loop execution module is used to correct the machining parameters according to the speed command and the depth of cut command, extract the corrected machine tool physical signal and recalculate the system spectrum radius until the recalculated system spectrum radius is not greater than the instability threshold, thus completing the closed-loop control.