Machine tool temperature sensitive point selection method based on rough set and multi-objective optimization
Through the method based on rough set and multi-objective optimization, the instability and multicollinearity problems in machine temperature sensitive point selection are solved, and the accurate selection of temperature measurement points and the accuracy of thermal error prediction model are achieved.
Patent Information
- Application Number
- CN202411091513.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-15
AI Technical Summary
The prior art has problems of unstable results, multicollinearity and influence weight contradictions when selecting machine temperature sensitive points, making it difficult to accurately monitor the machine tool temperature field, affecting the accuracy of thermal error prediction and compensation model.
Using a method based on rough set and multi-objective optimization, by establishing a decision table, calculating information dependence and importance, combining information entropy to refine the rough set theory domain, constructing a multi-objective attribute reduction model, and applying a multi-objective optimization algorithm to solve the optimal solution The temperature measurement point combination is used to select the temperature sensitive point with the lowest degree of collinearity.
Accurate and stable temperature sensor deployment location selection is achieved, the accuracy of thermal error prediction and compensation model is improved, and the problems of multicollinearity and influence weight contradiction between temperature measurement points are solved.
Smart Images

Figure CN118965784A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of machine tool temperature monitoring, and in particular relates to a method for selecting temperature sensitive points of a machine tool based on rough sets and multi-objective optimization. Background Art
[0002] Establishing a temperature data-driven machine tool thermal error prediction model is one of the economical and effective means to achieve thermal error compensation, and accurate monitoring of the machine tool temperature field is the core of improving the accuracy and effectiveness of the thermal error prediction model. Due to the complex distribution of the machine tool temperature field, which has the characteristics of nonlinearity, time-varying and strong coupling, a large number of temperature sensors are often installed on the machine tool to accurately monitor its dynamic characteristics, which not only increases the economic cost and data processing difficulty, but also the multicollinearity between the measuring points leads to reduced model performance. Therefore, it is very important to eliminate redundant temperature measuring points and select effective measuring points that have a more significant impact on thermal errors, namely temperature sensitive points (TSPs).
[0003] The strong coupling between the temperature measurement points of machine tools can easily lead to multicollinearity in the independent variables of the thermal error prediction model. Multicollinearity refers to the existence of a linear relationship between multiple independent variables, which can easily reduce the accuracy and stability of the regression model. Therefore, selecting temperature sensitive points (TSPs) with low collinearity and greater impact on thermal error can effectively improve the accuracy and robustness of the prediction model. Common TSPs selection methods include statistical grouping, feature selection, and adaptive input.
[0004] Statistical grouping mainly uses clustering algorithms to reduce multicollinearity between variables. First, the temperature measurement points are divided into different categories according to the strength of coupling between them, and then the influence coefficient of each temperature measurement point on the thermal error is calculated. Then, the temperature measurement point with significant influence on the thermal error is selected from each category as the optimal input of the model. For example, clustering algorithms such as SOM neural network, fuzzy C-means (FCM), and k-means harmonics KHM are used to classify temperature variables, and then temperature sensitive points are selected based on correlation analysis. Dai et al. proposed a clustering algorithm based on PSO optimization to avoid the non-convergence phenomenon caused by artificially specified cluster centers, and then used GRA to select three optimal measurement points, which effectively reduced the multicollinearity between data.
[0005] Feature selection aims to screen out temperature measurement points with significant features by removing irrelevant and redundant temperature measurement points. Li et al. used IBGOA to generate a subset of temperature features, applied stepwise regression analysis to delete insignificant temperature points in the subset, and then designed an evaluation function to screen the optimal temperature sensitive points. Based on the packaging method, Tan et al. characterized the position vector of the binary artificial bat (BBA) with the selected state of the temperature feature to optimize the thermal error prediction model and select the optimal temperature sensitive point.
[0006] Adaptive input does not select temperature sensitive points individually, but in the thermal error prediction stage, different temperature sensitive points are adaptively selected according to the changing trends of processing parameters, model performance, etc. Miao et al. established a principal component regression prediction model to address the problem that temperature sensitive points change with seasons and processing environment. They used the traverse optimization method to list different combinations of temperature variables, and the combination with the highest linearization accuracy of the PCR model was the temperature sensitive point. Wei et al. proposed adaptively selecting temperature sensitive points in the training stage of the Gaussian process regression prediction model.
[0007] The above method has been proven to be effective in some scenarios, but it also has many limitations, as follows.
[0008] (1) The point selection results are unstable and prone to wrong selection or omission. The use of statistical grouping methods means that the number of temperature sensitive points actually depends on the number of clusters. However, the principles of various clustering algorithms vary greatly. The determination of the optimal number of clusters depends more on engineering experience or algorithm assistance, which can easily lead to changes in the number and location of sensitive points. Secondly, the grouping process mostly focuses on the temperature variable itself, ignoring the guiding role of thermal deformation error in the selection of sensitive points. It is easy to cause the temperature measurement points with strong correlation with thermal error to be grouped together, and the temperature measurement points with weak correlation to be grouped together. When the mapping relationship between temperature measurement points and thermal errors is established using correlation analysis, gray correlation degree and other methods, the temperature sensitive points with higher weights affecting thermal errors are lost, and low-weight temperature variables are selected as sensitive points.
[0009] (2) The problem of equal weight of influence of adjacent temperature measuring points on thermal error is ignored. In order to comprehensively monitor the temperature field of machine tools, multiple temperature measuring points are often installed on the same heat source of the machine tool. Due to the strong coupling between the temperature measuring points, the influence of adjacent temperature measuring points on thermal error is the same or does not change much. When using methods such as feature selection and adaptive input, it is easy to select multiple adjacent measuring points near the same heat source as temperature sensitive points, which leads to multicollinearity.
[0010] (3) It is difficult to balance the contradiction between the multicollinearity between temperature measurement points and the weight of the influence of temperature measurement points on thermal error. If the multicollinearity between measurement points is reduced, it is easy to introduce measurement points with lower influence on thermal error into the model, which is not conducive to model stability; if the temperature measurement points with greater influence on thermal error are retained, the multicollinearity between variables will lead to a decrease in the accuracy and robustness of the prediction model.
[0011] In summary, how to accurately and stably select a reasonable temperature sensor deployment location to accurately monitor the machine tool temperature field and improve the accuracy of thermal error prediction and compensation models has become a problem that needs to be solved urgently. Summary of the invention
[0012] In view of the above-mentioned deficiencies of the prior art, the present invention provides a method for selecting temperature sensitive points of machine tools based on rough sets and multi-objective optimization, which can accurately and stably select reasonable temperature sensor deployment locations, thereby accurately monitoring the temperature field of machine tools and improving the accuracy of thermal error prediction and compensation models.
[0013] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0014] The method for selecting temperature sensitive points of machine tools based on rough sets and multi-objective optimization includes the following steps:
[0015] S1. Obtaining temperature data of each candidate temperature measuring point under different working conditions and corresponding thermal error data of the machine tool; and preprocessing the temperature data and thermal error data;
[0016] S2. Taking each temperature measurement point as the conditional attribute and the thermal error quality of the machine tool as the decision attribute, a rough set decision table is established;
[0017] S3, according to the rough set theory, combined with the decision table established in S2, calculate the dependence of the decision attribute on each condition attribute;
[0018] S4, introduce information entropy according to the preset method, and calculate the information dependence of the decision attribute on each condition attribute in combination with the dependence of S3; then calculate the information importance of each condition attribute to the decision attribute according to the information dependence;
[0019] S5. Based on the information dependence and information importance obtained in S4, a multi-objective attribute reduction model is established with the combination of temperature measurement points as a variable, the minimum number of temperature measurement points in the combination and the maximum information importance of the combination as the goal;
[0020] S6. Based on the multi-objective attribute reduction model constructed in S5, the multi-objective optimization algorithm is applied to solve the optimal temperature measurement point combination and obtain the Pareto optimal solution set; and the multicollinearity between the temperature measurement points in the first 5 solutions of the Pareto frontier is calculated, and the temperature sensitive point with the lowest collinearity is selected as the temperature measurement point selection scheme;
[0021] S7. Arrange temperature sensors according to the temperature measurement point selection plan in S6.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] 1. In this method, after obtaining the temperature data of each candidate temperature measuring point and the corresponding thermal error data of the machine tool, a decision table will be established based on the idea of rough sets. By comprehensively considering the temperature data under different working conditions and the corresponding machine tool thermal error data, and performing attribute simplification based on rough set theory, the temperature measuring point with the greatest impact on the thermal error of the machine tool can be identified.
[0024] 2. In the process of attribute reduction based on rough set theory, this method introduces information entropy to refine the rough set domain. Since a large number of temperature sensors are arranged on the machine tool, the strong coupling between adjacent temperature measurement points near the same heat source will lead to the same importance of the impact on thermal error, resulting in the inability to reasonably select temperature sensitive points. Therefore, this method introduces information entropy to refine the rough set domain, which can amplify the difference in the importance of each temperature measurement point on the thermal error. Compared with the original dependency, the range of information dependency is smaller, which further refines the equivalence class. In the rough set, the finer the granularity of the equivalence class, the stronger its division ability and the more accurate the attribute importance. Such a setting can ensure the accuracy of the subsequent simplification of temperature measurement points.
[0025] 3. In this method, based on the constructed multi-objective attribute reduction model, a multi-objective optimization algorithm is applied to solve the optimal temperature measurement point combination to obtain the Pareto optimal solution set; and the multicollinearity between the temperature measurement points in the first 5 solutions of the Pareto frontier is calculated, and the temperature sensitive point with the lowest degree of collinearity is selected as the temperature measurement point selection scheme. In this way, only 5 multicollinearities need to be calculated to obtain the best solution. Compared with the existing technology, the contradiction between the multicollinearity between temperature measurement points and the weight of the influence of temperature measurement points on thermal errors can be solved, and the appropriate number of sensitive points can be selected at the same time.
[0026] 4. This method combines rough set theory, information entropy analysis, multi-objective optimization and other advanced algorithms, providing new ideas for the intelligent design of machine tool temperature monitoring system. With the continuous advancement of technology, this intelligent method based on data analysis will be applied and promoted in more fields.
[0027] In summary, this method can accurately and stably select a reasonable temperature sensor deployment location, thereby accurately monitoring the machine tool temperature field and improving the accuracy of the thermal error prediction and compensation model.
[0028] Preferably, in the rough set, the decision table is formally described as DIS = {U, A, V, f};
[0029] in, is the domain, representing all p samples of the union of gear temperature data and thermal error quality index; A={C T ,D M} is a set of conditional attributes and decision attributes; C T ={T1,T2,…,T q} is a conditional attribute, representing q temperature measurement points; D M ={Mv i} is the decision attribute, representing the quality indicator of thermal error; is the value range attribute, which is the value range set of temperature variables and thermal error quality indicators; f:U×A→V is the information function, which represents the attribute assignment process of each sample in DIS.
[0030] In this way, the problem of selecting the temperature measuring points can be intuitively sorted out and expressed based on the obtained temperature data of each candidate temperature measuring point and the corresponding thermal error data of the machine tool, which is convenient for subsequent simplification operations.
[0031] Preferably, in S4, the decision attribute D M For conditional attribute C T The dependence of γ CT (D M ) is calculated as follows:
[0032] For conditional attribute C T Every non-empty conditional attribute subset C in t ;definition is the i-th sample of the domain U; I(C t ) is in C t The equivalence relation on and About C t The equivalence relation I(C t ) is:
[0033]
[0034] Based on the equivalence relation I(C t ), find the equivalent of U All samples of As The equivalence class of is:
[0035]
[0036] For a non-empty subset U of U s , all the elements with the set U s Equivalence classes with intersection The union of s The positive domain of
[0037]
[0038] Among them, U / I(C t ) means C t The set of all equivalence classes above;
[0039] Calculate the decision attribute D M ={Mv i} for conditional attribute C T Dependence Used to represent a single temperature attribute T i The degree of influence on thermal error:
[0040]
[0041] Among them, |·| represents the cardinality of all elements in the set; Indicates D M The positive domain of
[0042] In this way, the computational decision attribute D can be accurately calculated. M ={Mv i} for conditional attribute C T Dependence Ensure the effectiveness of subsequent analysis and processing, and thus ensure the effectiveness of subsequent simplification.
[0043] Preferably, in S4, U / I(C T )={L1,L2,…,L x} is based on the equivalence relation I(C T ) is the set of equivalence classes partitioned by ;
[0044] Conditional Attribute C T The information entropy E(C T ) is calculated as:
[0045]
[0046] In the formula, |L i | / |U| means L i Probability in the universe U;
[0047] Decision attribute D M ={Mv i} for conditional attribute C T The information dependence is The calculation formula is:
[0048]
[0049] in, Denotes the decision attribute D M ={Mv i} for conditional attribute C T Information dependence;
[0050] Conditional Attribute C T For decision attribute D M ={Mv i}'s information importance SGFe(T i ) is calculated as:
[0051]
[0052] In the formula, Denotes the decision attribute D M ={Mv i} for conditional attribute C T -{T i} information dependence.
[0053] Such a setting, by introducing information entropy to refine the rough set domain, has a smaller range of information dependency values than the original dependency, further refines the equivalence classes, amplifies the importance differences, and can improve the effectiveness of subsequent simplification.
[0054] Preferably, in S5, the objective function of the established multi-objective attribute reduction model is:
[0055]
[0056] Among them, C AR Represents a combination of conditional attributes. C T is a conditional attribute; SGFe(C AR ) represents the conditional attribute combination C AR For decision attribute D M The information importance of k represents the number of selected monitoring points;
[0057] The constraints of the multi-objective attribute reduction model include:
[0058]
[0059] In the formula, Denotes the decision attribute D M For conditional attribute combination C AR Information dependence; Denotes the decision attribute D M For conditional attribute C T The information dependency of ; Gen represents the number of iterations; Gen max Indicates the maximum number of iterations.
[0060] In engineering practice, it is expected to establish the optimal error prediction model with the least number of temperature sensitive points, but the original temperature information cannot be lost. However, the heat source of the machine tool is complex. If the number of sensitive points is small, it is impossible to fully monitor its temperature field. If the number of sensitive points is too large, it will increase the economic cost and calculation cost. Secondly, while maximizing the importance of the attribute, the characteristics and information of the original attribute set should be retained to the maximum extent. If the dependency after simplification is too different from the original dependency, it means that the information of the original data set is lost, so the dependency error before and after simplification needs to be controlled within a certain range. Such a setting can ensure the effectiveness of the obtained temperature measurement point combination.
[0061] Preferably, in S6, an improved multi-objective optimization algorithm is used to solve the multi-objective attribute reduction model; the improvement includes:
[0062] Firstly, a population initialization method based on mutual information and interval probability is designed to replace the traditional random initialization to enhance the correlation of solution sets;
[0063] Secondly, multiple crossover operators are integrated, and the adaptive crossover probability is used to control the global search ability of the population; multiple mutation operators are integrated, and the adaptive mutation probability is used to control the local search ability of the population; at the same time, the evolutionary parameter selection strategy is applied to realize the selection of evolutionary parameters during the algorithm operation.
[0064] Multi-objective evolutionary algorithms mainly include decomposition-based MOEA / D, dominance-based NSGA-Ⅱ, and indicator-based MOEA. When dealing with complex optimization problems, a single evolutionary algorithm often has various limitations, such as sensitivity to the selection of parameters and operators, prone to local optimality or unsatisfactory solution set diversity, slow convergence, and other problems. Therefore, this method comprehensively considers the characteristics of each evolutionary algorithm and proposes a hybrid adaptive multi-objective evolutionary algorithm. Such a setting can effectively control the global and local search capabilities of the population while ensuring the reasonable selection of evolutionary parameters.
[0065] Preferably, the process of population initialization based on mutual information and interval probability includes:
[0066] First, calculate the mutual information value of the conditional attribute and the decision attribute and sort them in descending order; divide the mutual information value into several unequal intervals MI inv ={[inv1],[inv2],…,[inv d ]}, for each interval, define the interval probability pro_inv a It is the ratio of the mutual information sum of all elements in the interval to the mutual information sum of all conditional attributes:
[0067] pro_inv a =∑MI_inv a / ∑MI(T i; Mv); where MI(T i ; Mv) = E(T i )-H(T i |Mv);
[0068] In the formula, MI(T i ; Mv) is the conditional attribute C T ={T1,T2,…,T q} and decision attribute D M ={Mv i}; E(T i ) represents the conditional attribute T i The information entropy, H(T i |Mv) represents T i Conditional entropy based on Mv; [inv1], [inv2], …, [inv d ] indicates different intervals, [inv a ] is any interval, MI_inv a Represents the sum of the mutual information values in each interval;
[0069] Then, a number z is randomly generated as the gth individual S of the initial population g The number of conditional attributes in the interval is sl(inv a ) = z × pro_inv a ; Among them, 4≤z≤32;
[0070] Then, randomly select sl(inv a ) elements are initialized to random numbers greater than or equal to 0.5; unselected elements are randomly initialized to random numbers less than 0.5;
[0071] Finally, the population is randomly initialized as required.
[0072] Conventional random initialization considers the diversity of solution sets, but ignores the similarity and correlation of solution sets. This setting considers the correlation between features and between features and decision attributes, which can ensure the effectiveness of solving the multi-objective attribute reduction model.
[0073] Preferably, the integrated crossover operator comprises a two-point crossover operator cr tpc and random multi-point linear recombination crossover operator cr mplr ;
[0074] The two-point crossover process includes: and Two crossover points are randomly set in the process, and then part of the chromosomes of the two individuals between the crossover points are exchanged;
[0075] The process of random multi-point recombination crossover includes: and Multiple crossover points are randomly selected and the specified chromosomes are exchanged according to the following formula:
[0076]
[0077] Where sz = 1, 2, ..., Gen max , Gen max is the number of iterations; g = 1, 2, ..., pop, pop is the population size; represents the rth chromosome of the gth individual in the population at the sz+1th iteration; represents the rth chromosome of the gth individual in the population at the szth iteration (current iteration); represents the rth chromosome of the hth individual in the population at the szth iteration (current iteration); represents the rth chromosome XX of the hth individual in the population at the sz+1th iteration; rand(0,1) represents a random number between 0 and 1;
[0078] The calculation formula of adaptive crossover probability Acp is:
[0079]
[0080] With this setting, the diversity among individuals is strong in the early stage of evolution, and the larger crossover probability can quickly find the better individuals, while the smaller crossover probability in the later stage of evolution can prevent the optimal solution from being destroyed. In this way, the effect of controlling the global search ability can be guaranteed.
[0081] Preferably, the integrated mutation operator includes a differential commonality mutation operator mu DE and the inversion mutation operator mu GA ;
[0082] Difference common mutation operator mu DE The calculation formula is:
[0083]
[0084] In the formula, F max and F min They represent the upper and lower limits of the scaling factor F respectively; when the algorithm is running, different individuals are randomly selected from the current population Generate new individuals for the next generation if If an element in exceeds the boundary, the value of the element is replaced with the boundary value;
[0085] The inversion mutation process involves first selecting a random gene sequence and then reversing the order of genes in that sequence;
[0086] The calculation formula of adaptive mutation probability Amp is:
[0087]
[0088] With this setting, a smaller mutation probability helps the algorithm speed up the search in the early stage. As the population evolves, a larger mutation probability helps accelerate the convergence to the optimal solution while maintaining the diversity of solutions. This can ensure the effectiveness of controlling the local search ability of the population.
[0089] Preferably, the content of the evolutionary parameter selection strategy includes:
[0090] When Gen / Gen max When ≤0.5, select the two-point crossover operator cr tpc and the differential commonality mutation operator mu DE , at this time, the evolution process is mutation first and then crossover; where Gen represents the number of iterations; Gen max Indicates the maximum number of iterations.
[0091] When Gen / Gen max >0.5, select random multi-point linear recombination cr mplr and the inversion mutation operator mu GA , at this time the evolutionary process is crossover first and then mutation.
[0092] With this setting, in the early stage of evolution, larger crossover and mutation operators are selected to enhance the global search capability and speed up the convergence of the algorithm. In the later stage of evolution, smaller crossover and mutation operators are selected to ensure accurate convergence of the algorithm. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] In order to make the purpose, technical solution and advantages of the invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings, in which:
[0094] Figure 1 A flowchart of the method is shown in FIG.
[0095] Figure 2 Schematic diagram of real number coding and binary coding in Example 1;
[0096] Figure 3 This is a schematic diagram of a two-point crossing process in Embodiment 1;
[0097] Figure 4 This is a schematic diagram of the random multi-point linear recombination process in Example 1;
[0098] Figure 5 This is a schematic diagram of the inversion mutation process in Example 1;
[0099] Figure 6 This is a schematic diagram of adaptive evolution parameters in Example 1;
[0100] Figure 7 This is a schematic diagram of radial error in Example 2;
[0101] Figure 8 This is a schematic diagram of measuring column distance error in Example 2;
[0102] Fig. 9 Schematic diagram of the experimental equipment and experimental process in Example 2;
[0103] Fig.10 This is a physical diagram of the arrangement of some sensors in Example 2;
[0104] Fig.11 This is a schematic diagram of the arrangement of some sensors in Example 2;
[0105] Fig.12 This is a schematic diagram of 64 temperature sensor data in Example 2;
[0106] Fig.13 This is a schematic diagram of the M value in Example 2;
[0107] Fig.14 It is the correlation heat map in Example 2;
[0108] Fig.15 This is a schematic diagram of the temperature change trend of the selected sensitive point in Example 2;
[0109] Fig.16 Schematic diagram of the Pareto frontier of each generation of NSGA-Ⅱ and MODE in Example 2;
[0110] Fig.17 Schematic diagram of the optimal number of clusters for Kmeans (a) and GMM (b) in Example 2. DETAILED DESCRIPTION
[0111] The following is a further detailed description through specific implementation methods:
[0112] Embodiment 1
[0113] like Figure 1 As shown, this embodiment discloses a method for selecting temperature sensitive points of a machine tool based on rough sets and multi-objective optimization, comprising the following steps:
[0114] S1. Acquire temperature data of each candidate temperature measuring point under different working conditions, and corresponding thermal error data of the machine tool; and pre-process the temperature data and thermal error data.
[0115] In specific implementation, the preprocessing includes: first preprocessing the collected data, using Kalman filtering to deal with the noise interference of the temperature data, and at the same time, applying RC filtering to reduce the random error in measuring the data thermal error quality index; since the collected data is continuous, and when the rough set is used to calculate the attribute importance, the data is preferably discrete, so a data classification strategy based on arithmetic mean is proposed to discretize the temperature measurement point data and the thermal error quality index.
[0116] S2. Taking each temperature measurement point as the conditional attribute and the thermal error quality of the machine tool as the decision attribute, a rough set decision table is established.
[0117] In rough set, the formal description of decision table is DIS = {U, A, V, f};
[0118] in, is the domain, representing all p samples of the union of gear temperature data and thermal error quality index; A={C T ,D M} is a set of conditional attributes and decision attributes; C T ={T1,T2,…,T q} is a conditional attribute, representing q temperature measurement points; D M ={Mv i} is the decision attribute, representing the quality indicator of thermal error; is the value range attribute, which is the value range set of temperature variables and thermal error quality indicators; f:U×A→V is the information function, which represents the attribute assignment process of each sample in DIS.
[0119] S3. According to the rough set theory and the decision table established in S2, the dependence of the decision attribute on each condition attribute is calculated.
[0120] In specific implementation, the decision attribute D M For conditional attribute C T The dependence of γ CT (D M ) is calculated as follows:
[0121] For conditional attribute C T Every non-empty conditional attribute subset C in t ;definition is the i-th sample of the domain U; I(C t ) is in C t The equivalence relation on and About C t The equivalence relation I(C t ) is:
[0122]
[0123] Based on the equivalence relation I(C t ), find the equivalent of U All samples of As The equivalence class of is:
[0124]
[0125] For a non-empty subset U of U s , all the elements with the set U s Equivalence classes with intersection The union of s The positive domain of
[0126]
[0127] Among them, U / I(C t ) means C t The set of all equivalence classes above; Indicates D M The positive domain of
[0128] Calculate the decision attribute D M ={Mv i} for conditional attribute C T Dependence Used to represent a single temperature attribute T i The degree of influence on thermal error:
[0129]
[0130] Here, |·| represents the cardinality of all elements in the set.
[0131] In this way, the computational decision attribute D can be accurately calculated. M ={Mv i} for conditional attribute C T Dependence Ensure the effectiveness of subsequent analysis and processing, and thus ensure the effectiveness of subsequent simplification.
[0132] S4. Introduce information entropy according to the preset method, and calculate the information dependence of the decision attribute on each condition attribute in combination with the dependence of S3; then calculate the information importance of each condition attribute to the decision attribute based on the information dependence.
[0133] In specific implementation, define U / I(C T )={L1,L2,…,L x} is based on the equivalence relation I(CT ) is the set of equivalence classes partitioned by ;
[0134] Conditional Attribute C T The information entropy E(C T ) is calculated as:
[0135]
[0136] In the formula, |L i | / |U| means L i Probability in the universe U;
[0137] Decision attribute D M ={Mv i} for conditional attribute C T The information dependence is The calculation formula is:
[0138]
[0139] in, Denotes the decision attribute D M ={Mv i} for conditional attribute C T Information dependence;
[0140] Conditional Attribute C T For decision attribute D M ={Mv i}'s information importance SGFe(T i ) is calculated as:
[0141]
[0142] In the formula, Denotes the decision attribute D M ={Mv i} for conditional attribute C T -{T i} information dependence.
[0143] Such a setting, by introducing information entropy to refine the rough set domain, has a smaller range of information dependency values than the original dependency, further refines the equivalence classes, amplifies the importance differences, and can improve the effectiveness of subsequent simplification.
[0144] S5. Based on the information dependence and information importance obtained in S4, a multi-objective attribute reduction model is established with the combination of temperature measurement points as variables, the minimum number of temperature measurement points in the combination and the maximum information importance of the combination as the goals.
[0145] In the calculation of single conditional attribute reduction, although information dependence can amplify the limitations of the importance of the same attribute, when there are too many conditional attributes and the equivalent classification is not obvious, information dependence obviously cannot solve the current dilemma, and the single sequence rough set cannot analyze and deal with the problem from multiple granularity and multiple levels. Secondly, when the importance of a certain heat source of the machine tool is greater than that of other heat sources, the importance ranking of a single attribute cannot determine the appropriate number of temperature sensitive points. Based on this, this method proposes to transform the single sequence reduction of temperature variables into an optimization problem with different combinations of temperature measurement points as variables. Let S sz ={t1,t2,…t p} represents the selection of temperature measurement points, where t i is a 0-1 variable. i =1, indicating that the i-th temperature variable is selected, t i =0 means that the temperature variable is not selected. Since p is large enough, it is obviously a typical NP-hard problem to obtain a combination of temperature sensitive points with higher importance. Therefore, this study adopts the multi-objective optimization idea, takes the rough set attribute importance of the temperature measurement point combination and the number of temperature sensitive points in the combination as the target, and establishes a multi-objective optimization model.
[0146] Objective Function
[0147] Let C AR is the selected condition attribute combination, The goal is to reduce the efficiency and accuracy of rough set attribute simplification, that is, the attribute combination C after simplification AR The following two conditions should be met: (1) Maximizing the combined information importance SGFe(C AR ); (2) Minimize the number of attributes k in the combination.
[0148] Therefore, the objective function of the established multi-objective attribute reduction optimization model is:
[0149]
[0150] The constraints of the multi-objective attribute reduction model include:
[0151]
[0152] In the formula, Denotes the decision attribute D M For conditional attribute combination C AR Information dependence; Denotes the decision attribute D M For conditional attribute C T The information dependency of ; Gen represents the number of iterations; Gen max Indicates the maximum number of iterations.
[0153] In engineering practice, it is expected to establish the optimal error prediction model with the least number of temperature sensitive points, but the original temperature information cannot be lost. However, the heat source of the machine tool is complex. If the number of sensitive points is small, it is impossible to fully monitor its temperature field. If the number of sensitive points is too large, it will increase the economic cost and calculation cost. Secondly, while maximizing the importance of the attribute, the characteristics and information of the original attribute set should be retained to the maximum extent. If the dependency after simplification is too different from the original dependency, it means that the information of the original data set is lost, so the dependency error before and after simplification needs to be controlled within a certain range. Such a setting can ensure the effectiveness of the obtained temperature measurement point combination.
[0154] Pareto Dominate of Conditional Attribute Combinations
[0155] In order to realize multi-objective optimization with condition attribute combinations as variables, the Pareto method is introduced, and the Pareto related definitions of condition attribute combinations are given.
[0156] Definition 1: Pareto dominance relationship of conditional attribute combinations. In the multi-objective minimization problem, for the fitness function fit = [f1, f2, ..., f z ], there exists any conditional attribute combination C ARa , C ARb , if the following two conditions are met, then C ARa Dominance C ARb , denoted as C ARa <C ARb .
[0157] (1) For Have fit c (C ARa )≤fit c (C ARb );
[0158] (2) At least Make it fit d (C ARa )≤fit d (C ARb ).
[0159] Definition 2: Pareto-optimal set of conditional attribute combinations. In the decision space, if there is no other conditional attribute combination that can dominate the conditional attribute combination C ARa , then the conditional attribute combination C ARa is the Pareto optimal solution, also known as a non-dominated solution. The set of all Pareto optimal solutions is called the Pareto solution set.
[0160] Definition 3, conditional attribute combination Pareto-Front. The set of target value vectors corresponding to each solution in the conditional attribute combination Pareto optimal solution set is called Pareto Front.
[0161] S6. Based on the multi-objective attribute reduction model constructed in S5, the multi-objective optimization algorithm is applied to solve the optimal temperature measurement point combination and obtain the Pareto optimal solution set; and the multicollinearity between the temperature measurement points in the first 5 solutions of the Pareto front is calculated, and the temperature sensitive point with the lowest collinearity is selected as the temperature measurement point selection scheme.
[0162] Wherein, an improved multi-objective optimization algorithm is used to solve the multi-objective attribute reduction model; the improvement includes:
[0163] Firstly, a population initialization method based on mutual information and interval probability is designed to replace the traditional random initialization to enhance the correlation of solution sets;
[0164] Secondly, multiple crossover operators are integrated, and the adaptive crossover probability is used to control the global search ability of the population; multiple mutation operators are integrated, and the adaptive mutation probability is used to control the local search ability of the population; at the same time, the evolutionary parameter selection strategy is applied to realize the selection of evolutionary parameters during the algorithm operation.
[0165] Multi-objective evolutionary algorithms mainly include decomposition-based MOEA / D, dominance-based NSGA-Ⅱ, and indicator-based MOEA. When dealing with complex optimization problems, a single evolutionary algorithm often has various limitations, such as sensitivity to the selection of parameters and operators, prone to local optimality or unsatisfactory solution set diversity, slow convergence, and other problems. Therefore, this method comprehensively considers the characteristics of each evolutionary algorithm and proposes a hybrid adaptive multi-objective evolutionary algorithm. Such a setting can effectively control the global and local search capabilities of the population while ensuring the reasonable selection of evolutionary parameters.
[0166] When implementing it, the encoding and storage solutions
[0167] (1) Coding
[0168] Real number coding and binary coding are used. For individuals with p conditional attributes (sz=1,2,…,Gen max , Gen max is the number of iterations; g = 1, 2, ..., pop, where pop is the population number), Represents an individual Conditional attribute t r selection situation.
[0169]
[0170] As above and Figure 2 As shown, when t r ∈[0,0.5), Indicates that the temperature measurement point is not selected; t r ∈[0.5,1], Indicates that the measuring point is selected as a temperature sensitive point.
[0171] (2) Disaggregate external storage strategy
[0172] Considering the operation burden of the algorithm, an external storage strategy for solution sets is designed according to the encoding rules to store non-dominated solutions from the beginning of the iteration to the completion of the current iteration. This scheme includes the Pareto solution set of each iteration and the binary encoding result (i.e., feature selection scheme).
[0173] The process of population initialization based on mutual information and interval probability includes:
[0174] First, calculate the mutual information value of the conditional attribute and the decision attribute and sort them in descending order; divide the mutual information value into several unequal intervals MI inv ={[inv1],[inv2],…,[inv d ]}, for each interval, define the interval probability pro_inv a It is the ratio of the mutual information sum of all elements in the interval to the mutual information sum of all conditional attributes:
[0175] pro_inv a =ΣMI_inv a / ΣMI(T i ; Mv); where MI(T i ; Mv) = E(T i )-H(T i |Mv);
[0176] In the formula, MI(T i ; Mv) is the conditional attribute C T ={T1,T2,…,T q} and decision attribute D M ={Mv i}; E(T i ) represents the conditional attribute T i The information entropy, H(T i |Mv) represents T i Conditional entropy based on Mv; [inv1], [inv2], …, [inv d ] indicates different intervals, [inv a ] is any interval, MI_inv a Represents the sum of the mutual information values in each interval;
[0177] Then, a number z is randomly generated as the gth individual S of the initial population g The number of conditional attributes in the interval is sl(inv a ) = z × pro_inv a ; Among them, 4≤z≤32;
[0178] Then, randomly select sl(inv a ) elements are initialized to random numbers greater than or equal to 0.5; unselected elements are randomly initialized to random numbers less than 0.5;
[0179] Finally, the population is randomly initialized as required.
[0180] Conventional random initialization considers the diversity of solution sets, but ignores the similarity and correlation of solution sets. This setting considers the correlation between features and between features and decision attributes, which can ensure the effectiveness of solving the multi-objective attribute reduction model.
[0181] The integrated crossover operator includes two-point crossover operator (Two-points crossover) cr tpc and random multi-points linear recombination crossover operator mplr .
[0182] like Figure 3 As shown, the two-point crossover process includes: and Two crossover points are randomly set in the process, and then part of the chromosomes of the two individuals between the crossover points are exchanged;
[0183] like Figure 4 As shown in the figure, the process of random multi-point recombination crossover includes: and Multiple crossover points are randomly selected and the specified chromosomes are exchanged according to the following formula:
[0184]
[0185] Where sz = 1, 2, ..., Gen max , Gen max is the number of iterations; g = 1, 2, ..., pop, pop is the population size; represents the rth chromosome of the gth individual in the population at the sz+1th iteration; represents the rth chromosome of the gth individual in the population at the szth iteration (current iteration); represents the rth chromosome of the hth individual in the population at the szth iteration (current iteration); represents the rth chromosome of the hth individual in the population at the sz+1th iteration; rand(0,1) represents a random number between 0 and 1;
[0186] The calculation formula of adaptive crossover probability Acp is:
[0187]
[0188] With this setting, the diversity among individuals is strong in the early stage of evolution, and the larger crossover probability can quickly find the better individuals, while the smaller crossover probability in the later stage of evolution can prevent the optimal solution from being destroyed. In this way, the effect of controlling the global search ability can be guaranteed.
[0189] The integrated mutation operators include the differential commonality mutation operator mu DE and the inversion mutation operator mu GA ;
[0190] Difference common mutation operator mu DE The calculation formula is:
[0191]
[0192] In the formula, F max and F min They represent the upper and lower limits of the scaling factor F respectively; when the algorithm is running, different individuals are randomly selected from the current population Generate new individuals for the next generation if If an element in exceeds the boundary, the value of the element is replaced with the boundary value;
[0193] like Figure 5 As shown, the inversion mutation process includes: first selecting a random gene sequence, and then reversing the order of genes in the sequence;
[0194] The calculation formula of adaptive mutation probability Amp is:
[0195]
[0196] A smaller mutation probability helps the algorithm to speed up the search in the early stage. As the population evolves, a larger mutation probability helps to accelerate the convergence to the optimal solution while maintaining the diversity of solutions. This can ensure the effectiveness of controlling the local search ability of the population. The adaptive mutation probability gradually increases between (0.05, 0.1) as the number of iterations increases, such as Figure 6 shown.
[0197] The content of the evolutionary parameter selection strategy includes:
[0198] In the early stage of evolution, larger crossover and mutation operators are selected to enhance the global search capability and speed up the convergence of the algorithm. max When ≤0.5, select cr tpc and mu DE , at this time the evolutionary process is mutation first and then crossover.
[0199] In the later stages of evolution, smaller crossover and mutation operators are selected to ensure accurate convergence of the algorithm. max >0.5, select cr mplr and mu GA , at this time the evolutionary process is crossover first and then mutation.
[0200] S7. Arrange temperature sensors according to the temperature measurement point selection plan in S6.
[0201] Compared with the prior art, the present invention has the following beneficial effects:
[0202] In this method, after obtaining the temperature data of each candidate temperature measuring point and the corresponding thermal error data of the machine tool, a decision table is established based on the idea of rough sets. By comprehensively considering the temperature data under different working conditions and the corresponding thermal error data of the machine tool, and performing attribute simplification based on the rough set theory, the temperature measuring point with the greatest impact on the thermal error of the machine tool can be identified. In addition, in the process of attribute simplification based on the rough set theory, this method introduces the information entropy refinement rough set domain. Since a large number of temperature sensors are arranged on the machine tool, the strong coupling between adjacent temperature measuring points near the same heat source will lead to the same importance of the impact on the thermal error, resulting in the inability to reasonably select temperature sensitive points. Therefore, this method introduces the information entropy refinement rough set domain, which can amplify the difference in the importance of each temperature measuring point on the thermal error. Compared with the original dependency, the information dependency value range is smaller, and the equivalence class is further refined. In the rough set, the finer the granularity of the equivalence class, the stronger its division ability and the more accurate the attribute importance. Such a setting can ensure the accuracy of the subsequent simplification of the temperature measuring points. In addition, in this method, based on the constructed multi-objective attribute reduction model, a multi-objective optimization algorithm is applied to solve the optimal temperature measurement point combination to obtain the Pareto optimal solution set; and the multicollinearity between the temperature measurement points in the first 5 solutions of the Pareto frontier is calculated, and the temperature sensitive point with the lowest collinearity is selected as the temperature measurement point selection scheme. In this way, only 5 multicollinearities need to be calculated to obtain the best solution. Compared with the prior art, the contradiction between the multicollinearity between temperature measurement points and the weight of the influence of temperature measurement points on thermal errors can be solved, and the appropriate number of sensitive points can be selected at the same time. This method can accurately and stably select a reasonable temperature sensor deployment location, thereby accurately monitoring the machine tool temperature field and improving the accuracy of thermal error prediction and compensation models.
[0203] This method combines rough set theory, information entropy analysis, multi-objective optimization and other advanced algorithms, providing a new idea for the intelligent design of machine tool temperature monitoring system. With the continuous advancement of technology, this intelligent method based on data analysis will be applied and promoted in more fields.
[0204] Embodiment 2
[0205] In order to better illustrate the effect of this method, the following experiments and verifications are used to illustrate it.
[0206] Experimentation and verification
[0207] The YDZ3126CNC high-speed dry-cut gear hobbing machine independently developed and produced by a machine tool factory was used as the experimental verification object.
[0208] Thermal Error Analysis of High-Speed Dry-Cutting Gear Hobbing Machine
[0209] During the high-speed dry-cut gear hobbing process, the movement in the Y direction is the tool shifting. There is no movement in this direction in the experimental study, so the influence of the tool shifting on the gear processing error can be ignored; the movement of the Z axis is to cut out the full tooth width. In actual processing, the feed and retract distances are set, and the influence on the gear accuracy in this direction can also be ignored; and in the X axis direction, due to the thermal deformation of the machine tool, the relative position of the tool and the workpiece spindle deviates, resulting in a radial error Δρ mt ,like Figure 7 As shown, the gear being processed forms an additional displacement, and the gear tooth thickness changes. The column distance, that is, the M value, is often used to indicate the gear tooth thickness accuracy and motion accuracy, and is an important indicator for measuring gear processing accuracy. Therefore, in this study, the change in the M value is used to measure the thermal error of the high-speed dry cutting hobbing machine. The measurement method is Figure 8 shown.
[0210] Thermal Error Experiment Design
[0211] Data acquisition system and experimental process Fig. 9 As shown. During the experiment, the spindle speed n is set s =1200rpm, axial feed f s =1.6mm / r (recommended process parameters under actual processing environment), start the water cooler, and the machine tool continues processing until it reaches thermal equilibrium. After the gears are cooled to room temperature, the M value is measured using the Digital Micrometer of Mitutoyo, Japan. The experiment was continuously processed for 5 hours, and a total of 388 gears were processed.
[0212] Temperature sensor placement
[0213] Most of the existing articles choose machine tools or test benches in service for research. Due to the complex structure of machine tools and the difficulty of disassembly, temperature measurement is always concentrated on the outer surface, and the internal temperature changes are often ignored. In order to deeply study the temperature change law of the gear hobbing machine, this experiment uses a K-type thermocouple sensor with a wire length of 10 meters. It is installed inside the machine tool during the assembly process of the machine tool, and an anti-electromagnetic interference magnetic ring assembly is installed. The K-type thermocouple sensor is placed in the embedded hole of the measuring point and filled with thermocouple glue, fixed with epoxy resin and curing agent. The sensor temperature measurement range is -200℃~260℃, and the acquisition frequency T=1Hz. A total of 100 temperature sensors were installed in this experiment. Problem sensors caused by human damage caused by machine tool assembly and short circuits caused by direct contact between the measuring end and the machine tool were excluded. 64 temperature sensors were selected in the formal experimental process. The layout of all sensors is shown in Table 1. Fig.10 , Fig.11 , shows the physical pictures and schematic diagrams of some sensor installations.
[0214] The following points should be noted during the installation and use of temperature sensors:
[0215] (1) The layout of the temperature sensor must not affect the normal processing of the machine tool;
[0216] (2) The temperature sensor is installed in a sleeve to prevent iron filings and dust;
[0217] (3) The temperature sensor is equipped with a manganese-zinc ferrite magnetic ring to prevent electromagnetic interference.
[0218] Table 1 Temperature sensor layout
[0219]
[0220] Data collection and preprocessing
[0221] (1) Data filtering and error elimination
[0222] Due to the complex environment of CNC machine tool processing workshops in the actual production process, the signal during the temperature data acquisition process will be interfered by the noise brought by the surrounding environment and the machine tool, resulting in reduced signal quality and reliability. The Kalman filter method is used to reduce the noise interference in the temperature acquisition process. The M value is measured manually, and each gear is measured three times and the average value is taken to eliminate random errors. However, the systematic error of the measurement process still exists, and the RC filter is used to eliminate the systematic error caused by manual measurement. The processed temperature data and M value are as follows Fig.12 and Fig.13 shown.
[0223] Graded strategy
[0224] Since rough set theory is more suitable for discrete data, in order to accurately reflect the correlation between features, a data classification strategy based on arithmetic mean is designed as follows:
[0225]
[0226] Among them, T ij (gd), M j (gd) respectively represent the level of the i-th temperature sensor and the j-th M value, ceil|·| represents upward rounding, and num1 and num2 represent the number of levels. Among them, num1=30, num2=14, at this time, the single sequence rough set information dependence is the largest,
[0227] Optimal selection of temperature sensitive points based on MOAHEA
[0228] Parameter settings and evaluation indicators
[0229] (1) Parameter settings
[0230] In order to verify the superiority of the MOAHEA algorithm, the performance of the proposed optimization method is verified. The initial parameter settings are shown in Table 2.
[0231] Table 2 MOAHEA parameter settings
[0232] parameter value pop 100 Genmax 50 Acp Formula (1) Amp Formula (2) Fmax 0.6 Fmin 0.1
[0233] (2) Multicollinearity
[0234] In the thermal error prediction model, multicollinearity between input variables is a major problem that affects the accuracy of the algorithm. The variance inflation factor (VIF) is usually used to measure the severity of collinearity. The larger its value, the worse the stability and effectiveness of the prediction model. The calculation method of VIF is shown in formula x
[0235]
[0236] in It refers to the coefficient of determination obtained when the ith independent variable is used as the dependent variable and the other independent variables are used as independent variables for linear regression. This means that if the linear correlation between the independent variables is higher, it is easier to make The value of approaches 1, making the value of VIF larger. Fig.14 The figure is a heat map of the correlation between temperature variables, where the lowest correlation coefficient is 0.783 and the highest is 0.99, indicating that there is actually a strong or even extremely strong correlation between the temperature variables. This means that different combinations of temperature measurement points may lead to a significant increase in the VIF value of the same measurement point. Therefore, this paper uses VIF as an evaluation indicator to measure the advantages and disadvantages of sensitive points under different choices.
[0237] Temperature sensitive point selection
[0238] According to the parameters set in Table 2, MOAHEA is run to solve the optimal combination of temperature sensitive points and find the Pareto optimal frontier of each generation. When individuals belong to the same Pareto solution set level, individuals with larger crowding distances are better. Therefore, in this experiment, the first 5 in the last generation of Pareto frontiers are selected as the optimal solutions. The corresponding results are shown in Table 3. It can be seen that in the Pareto optimal solution set, the solutions do not dominate each other.
[0239] Table 3 The top 5 optimal solutions of the last generation of Pareto frontier
[0240]
[0241] The multicollinearity of each solution in Table 3 is calculated, as shown in Table 4.
[0242] Table 4 VIF values of solutions in Table 3
[0243]
[0244] When the Pareto solution is (0.1623, 6), the degree of collinearity among the temperature sensitive points is the lowest. At this time, the selected temperature sensitive points are: ST103, ST131, ST301, ST407, ST501, and ST509. Fig.11 As shown, ST103 and ST131 are arranged on the surface of the bed where iron chips accumulate, and ST407 is arranged on the surface of the workbench. The cutting heat generated during the gear hobbing process is transferred to the hob, workpiece and chips through heat conduction. Since the gear hobbing machine in this study is a dry cutting process, the temperature of the iron chips generated by the process is as high as 200°C. The iron chips accumulate on the surface of the bed for a long time, which will cause uneven heating of the bed; ST301 is arranged on the screw seat. When the machine tool moves, the heat generated by the friction between the screw and the nut and the bearing will be transferred to the machine tool through transmission parts, pressure oil, air and other media to form a heat source, resulting in increased axial thermal deformation; ST501 is arranged on the surface of the small support seat of the tool holder, and ST509 is arranged on the motor cover of the large support seat. This is the installation position of the hob motor. The heat generated by the motor movement will also cause uneven distribution of the temperature field of the machine tool. Analysis shows that the selected results are in line with actual production experience. The temperature change trends of the 6 temperature sensitive points are shown as follows Fig.15 shown.
[0245] result
[0246] Reduction performance analysis
[0247] In order to verify the superiority of the proposed algorithm, it is compared with NSGA-Ⅱ and MODE algorithms. The crossover operator and mutation operator of NSGA-Ⅱ algorithm are selected as two-point crossover operator cr respectively. tpcand the genetic mutation operator mu based on t-distribution GA , the mutation operator and crossover operator of the MODE algorithm select the differential common mutation operator mu respectively DE and random multi-point linear recombination cr mplr Its parameter settings are shown in Table 5.
[0248] Table 5 Parameter settings of NSGA-Ⅱand MODE
[0249]
[0250] Fig.16 (a) and (b) show the Pareto optimal frontier of each generation of NSGA-Ⅱ and MODE algorithms respectively. It can be seen that the running time of NSGA-Ⅱ is less than that of MOAHEA, but the solution set is concentrated and the number of feasible solutions is small. This is because the crossover and mutation parameter settings of NSGA-Ⅱ are single, which leads to its premature convergence or unstable convergence effect. Although it reduces the computing time and resource consumption, it is impossible to further search the solution space, which makes the diversity of solutions worse. MODE performs the worst, with the smallest HV and the longest running time. This is because the MODE algorithm is very sensitive to the choice of initial parameters. For complexity problems, the computational complexity of the MODE algorithm will increase significantly, not only the calculation time will be longer, but it may also exhibit unstable behavior, causing the algorithm to have large fluctuations during the iteration process, and even causing the algorithm to fail to converge to the correct solution. Combined with Fig.13 It can be seen that MOAHEA is easier to search for feasible solutions with more diverse and uniform distribution. This is because the MOAHEA algorithm combines the advantages of genetic and differential evolution algorithms and adopts the selection of cr with larger changes in the early stage of evolution. tpc and mu DE Mining new search spaces, improving the algorithm's global search capabilities, and selecting cr with smaller changes in the later stages of iteration mplr and mu GA New search spaces are mined to improve the diversity of search spaces. To measure the performance of the algorithm, the hypervolume metric (HV) is introduced. HV measures the convergence and diversity of the algorithm based on the volume size of the Pareto frontier. The larger its value, the better the overall performance of the algorithm. Table 6 shows the top 5 optimal solutions, HV values, and running time of each algorithm. As shown in Table 6, the HV value of MOAHEA is 99.5463, which is better than NSGA-Ⅱ and MODE, indicating that it has the best diversity and convergence.
[0251] Table 6 Top 5 optimal solutions and evaluation indicators of each optimization algorithm
[0252]
[0253] Multicollinearity analysis
[0254] In order to verify the rationality and superiority of the temperature sensitive points selected by this method, the selected temperature sensitive points are compared with the points selected by the commonly used "clustering + correlation / association" method. Therefore, "Kmeans clustering + correlation analysis (KMC) and GMM clustering + grey relational analysis (GMMG)" are introduced to select temperature sensitive points respectively. Firstly, the three clustering indicators of Calinski Harabasz Index (CHI), Davies Bouldin Index (DBI) and Silhouette Coefficient (Sil) are used to evaluate the clustering ability of the clustering results and select the number of clusters. Among them, the smaller the DBI value and the larger the CHI and Sil values, the better the clustering effect. Fig.17 As shown in (a) and (b), the optimal number of clusters for the Kmeans algorithm is 6, while that for GMM is 5. It can also be seen that the number of selected temperature sensitive points will change with different clustering methods. Then, the correlation coefficient and grey correlation degree between the temperature variable and the thermal error are calculated respectively, and the temperature sensitive points finally selected are shown in Table 7. Calculate the multicollinearity between sensitive points. It can be seen that the multicollinearity between the sensitive points selected by the algorithm proposed in this method is the lowest, and the location distribution is the most reasonable.
[0255] Table 7 VIFTSPs and VIF of different alternatives
[0256]
[0257] in conclusion
[0258] This method proposes a method for selecting temperature sensitive points of machine tools based on rough sets and multi-objective adaptive hybrid evolution. Rough set theory takes into account the guiding role of thermal error in the selection of temperature sensitive points, which enhances the reliability of modeling; the establishment of a multi-objective attribute reduction model with temperature measurement point combinations as variables achieves a balance between the number of simplified temperature measurement points and their importance; VIF is used to select the temperature sensitive points with the lowest degree of collinearity from the Pareto frontier, which solves the contradiction between multicollinearity between measurement points and the significance of their impact on thermal error. The feasibility of the method proposed in this method is verified by taking a high-speed dry-cut gear hobbing machine as the research object. The main conclusions are as follows:
[0259] (1) The proposed method successfully reduces the number of temperature sensors installed on a high-speed dry-cut gear hobbing machine from 64 to 6. The selected temperature sensitive points are located at the iron filings accumulation area on the surface of the gear hobbing machine bed, the screw seat, the worktable surface, the small support seat of the tool holder, and the large support seat of the tool holder. Their location distribution is consistent with engineering practice.
[0260] (2) For the selection of temperature sensitive points of machine tools, compared with NSGA-Ⅱ and MODE algorithms, MOAHEA has better convergence and richer diversity.
[0261] (3) Compared with the commonly used “clustering + correlation / association” method, the collinearity between sensitive points selected by MOAHEA is lower, and the influence of each sensitive point on thermal error is more significant.
[0262] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit the technical solution. Those skilled in the art should understand that those modifications or equivalent substitutions of the technical solution of the present invention that do not depart from the purpose and scope of the technical solution should be included in the scope of the claims of the present invention.
Claims
1. A method for selecting temperature sensitive points of machine tools based on rough sets and multi-objective optimization. It is characterized in that The following steps are involved: S1. Obtaining temperature data of each candidate temperature measuring point under different working conditions and corresponding thermal error data of the machine tool; And pre-process the temperature data and thermal error data; S2. Taking each temperature measurement point as the conditional attribute and the thermal error quality of the machine tool as the decision attribute, a rough set decision table is established; S3, according to the rough set theory, combined with the decision table established in S2, calculate the dependence of the decision attribute on each condition attribute; S4, introduce information entropy according to the preset method, and calculate the information dependence of the decision attribute on each condition attribute in combination with the dependence of S3; then calculate the information importance of each condition attribute to the decision attribute according to the information dependence; S5. Based on the information dependence and information importance obtained in S4, a multi-objective attribute reduction model is established with the combination of temperature measurement points as a variable, the minimum number of temperature measurement points in the combination and the maximum information importance of the combination as the goal; S6. Based on the multi-objective attribute reduction model constructed in S5, the multi-objective optimization algorithm is applied to solve the optimal temperature measurement point combination and obtain the Pareto optimal solution set; and the multicollinearity between the temperature measurement points in the first 5 solutions of the Pareto frontier is calculated, and the temperature sensitive point with the lowest collinearity is selected as the temperature measurement point selection scheme; S7. Arrange temperature sensors according to the temperature measurement point selection scheme in S6.
2. The method for selecting temperature sensitive points of machine tools based on rough sets and multi-objective optimization as claimed in claim 1, Features: In rough set, the formal description of decision table is DIS = {U, A, V, f}; in, is the domain, representing all p samples of the union of gear temperature data and thermal error quality index; A={C T ,D M } is a set of conditional attributes and decision attributes; C T ={T 1 ,T 2 ,…,T q } is a conditional attribute, representing q temperature measurement points; D M ={Mv i } is the decision attribute, representing the quality indicator of thermal error; is the value range attribute, which is the value range set of temperature variables and thermal error quality indicators; f:U×A→V is the information function, which represents the attribute assignment process of each sample in DIS.
3. The method for selecting temperature sensitive points of machine tools based on rough sets and multi-objective optimization as claimed in claim 2, Features: In S3, the decision attribute D M For conditional attribute C T Dependence The calculation process is: For conditional attribute C T Every non-empty conditional attribute subset C in t ;definition is the i-th sample of the domain U; I(C t ) is in C t The equivalence relation on and About C t The equivalence relation I(C t ) is: Based on the equivalence relation I(C t ), find the equivalent of U All samples of As The equivalence class of is: For a non-empty subset U of U s , all the elements with the set U s Equivalence classes with intersection The union of s The positive domain of Among them, U / I(C t ) means C t The set of all equivalence classes above; Calculate the decision attribute D M ={Mv i } for conditional attribute C T Dependence Used to represent a single temperature attribute T i The degree of influence on thermal error: Among them, |·| represents the cardinality of all elements in the set; Indicates D M The positive domain of 4. The method for selecting temperature sensitive points of machine tools based on rough sets and multi-objective optimization as claimed in claim 3, Features: In S4, define U / I(C T )={L 1 ,L 2 ,…,L x } is based on the equivalence relation I(C T ) is the set of equivalence classes partitioned by ; Conditional Attribute C T The information entropy E(C T ) is calculated as: In the formula, |L i | / |U| means L i Probability in the universe U; Decision attribute D M ={Mv i } for conditional attribute C T The information dependence is The calculation formula is: in, Denotes the decision attribute D M ={Mv i } for conditional attribute C T Information dependence; Conditional Attribute C T For decision attribute D M ={Mv i }'s information importance SGFe(T i ) is calculated as: In the formula, Denotes the decision attribute D M ={Mv i } for conditional attribute C T -{T i } information dependence.
5. The method for selecting temperature sensitive points of machine tools based on rough sets and multi-objective optimization as claimed in claim 1, Features: In S5, the objective function of the established multi-objective attribute reduction model is: Among them, C AR Represents a combination of conditional attributes. C T is a conditional attribute; SGFe(C AR ) represents the conditional attribute combination C AR For decision attribute D M The information importance of k represents the number of selected monitoring points; The constraints of the multi-objective attribute reduction model include: In the formula, Denotes the decision attribute D M For conditional attribute combination C AR Information dependence; Denotes the decision attribute D M For conditional attribute C T The information dependency of ; Gen represents the number of iterations; Gen max Indicates the maximum number of iterations.
6. The method for selecting temperature sensitive points of machine tools based on rough sets and multi-objective optimization as claimed in claim 1, Features: In S6, an improved multi-objective optimization algorithm is used to solve the multi-objective attribute reduction model; the improvement includes: Firstly, a population initialization method based on mutual information and interval probability is designed to replace the traditional random initialization to enhance the correlation of solution sets; Secondly, multiple crossover operators are integrated, and the adaptive crossover probability is used to control the global search ability of the population; multiple mutation operators are integrated, and the adaptive mutation probability is used to control the local search ability of the population; at the same time, the evolutionary parameter selection strategy is applied to realize the selection of evolutionary parameters during the algorithm operation.
7. The method for selecting temperature sensitive points of machine tools based on rough sets and multi-objective optimization as claimed in claim 6, Features: The process of population initialization based on mutual information and interval probability includes: First, calculate the mutual information value of the conditional attribute and the decision attribute and sort them in descending order; divide the mutual information value into several unequal intervals MI inv ={[inv 1 ],[inv 2 ],…,[inv d ]}, for each interval, define the interval probability pro_inv a It is the ratio of the mutual information sum of all elements in the interval to the mutual information sum of all conditional attributes: pro_inv a = ∑MI_inv a / ∑MI(T i ; Mv); where, MI(T i ; Mv) = E(T i ) - H(T i |Mv); In the formula, MI(T i ; Mv) is the conditional attribute C T ={T 1 ,T 2 ,…,T q } and decision attribute D M ={Mv i }; E(T i ) represents the conditional attribute T i The information entropy, H(T i |Mv) represents T i Conditional entropy based on Mv; [inv 1 ],[inv 2 ],…,[inv d ] indicates different intervals, [inv a ] is any interval, MI_inv a Represents the sum of the mutual information values in each interval; Then, a number z is randomly generated as the gth individual S of the initial population g The number of conditional attributes in the interval is sl(inv a ) = z × pro_inv a ; Among them, 4≤z≤32; Then, randomly select sl(inv a ) elements are initialized to random numbers greater than or equal to 0.5; unselected elements are randomly initialized to random numbers less than 0.5; Finally, the population is randomly initialized as required.
8. The method for selecting temperature sensitive points of machine tools based on rough sets and multi-objective optimization as claimed in claim 7, Features: The integrated crossover operator includes the two-point crossover operator cr tpc and random multi-point linear recombination crossover operator cr mplr ; The two-point crossover process includes: and Two crossover points are randomly set in the process, and then part of the chromosomes of the two individuals between the crossover points are exchanged; The process of random multi-point recombination crossover includes: and Multiple crossover points are randomly selected and the specified chromosomes are exchanged according to the following formula: Where sz = 1, 2, ..., Gen max , Gen max is the number of iterations; g = 1, 2, ..., pop, pop is the population size; represents the rth chromosome of the gth individual in the population at the sz+1th iteration; represents the rth chromosome of the gth individual in the population at the szth iteration (current iteration); represents the rth chromosome of the hth individual in the population at the szth iteration (current iteration); represents the rth chromosome of the hth individual in the population at the sz+1th iteration; rand(0,1) represents a random number between 0 and 1; The calculation formula of adaptive crossover probability Acp is:
9. The method for selecting temperature sensitive points of a machine tool based on rough sets and multi-objective optimization as claimed in claim 8, Features: The integrated mutation operators include the differential commonality mutation operator mu DE and the inversion mutation operator mu GA ; Difference common mutation operator mu DE The calculation formula is: In the formula, F max and F min They represent the upper and lower limits of the scaling factor F respectively; when the algorithm is running, different individuals are randomly selected from the current population Generate new individuals for the next generation if If an element in exceeds the boundary, the value of the element is replaced with the boundary value; The inversion mutation process involves first selecting a random gene sequence and then reversing the order of genes in that sequence; The calculation formula of adaptive mutation probability Amp is:
10. The method for selecting temperature sensitive points of a machine tool based on rough sets and multi-objective optimization as claimed in claim 9, Features: The content of the evolutionary parameter selection strategy includes: When Gen / Gen max When ≤0.5, select the two-point crossover operator cr tpc and the differential commonality mutation operator mu DE , at this time, the evolution process is mutation first and then crossover; where Gen represents the number of iterations; Gen max Indicates the maximum number of iterations. When Gen / Gen max >0.5, select random multi-point linear recombination cr mplr and the inversion mutation operator mu GA , at this time the evolutionary process is crossover first and then mutation.
