Machine tool servo system based on digital twinning and disturbance clustering regulation and control method thereof
Through the machine tool servo system based on the digital twin, combined with the fuzzy tuner and the state feedback controller, disturbance clustering control is performed, which solves the problem of insufficient compensation strategy of the servo system in the existing technology when dealing with uncertain disturbances, and improves the performance of the machine tool. Processing quality and tracking accuracy.
Patent Information
- Application Number
- CN202410711658.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-10-01
AI Technical Summary
When existing servo systems deal with uncertainty disturbances in machine tools, the compensation strategies are too general or too one-sided, making it difficult to effectively improve processing quality and tracking accuracy. In addition, the large working space of the machine tool causes changes in structural weak points to affect vibration characteristics, resulting in disturbance differences. change.
A machine tool servo system based on digital twins is used to establish a digital twin model by integrating sensor data and machine tool physical characteristics. It combines fuzzy tuners and state feedback controllers to perform disturbance clustering control and achieve customized disturbance compensation.
It improves the processing quality and tracking accuracy of machine tools, ensures that the servo system can adjust in time when sudden disturbances occur, and the output error is maintained within a given error band. The accuracy deviation of the processing area and working conditions changes is processed through the machine tool status monitoring domain ontology. Constrain tracking accuracy to within a given metric.
Smart Images

Figure CN118732609A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of machine tool servo drive control, and more specifically, to a machine tool servo system based on digital twin and a disturbance clustering control method thereof. Background Art
[0002] As an important key component of high-end machine tools, the performance of the servo system will directly affect the processing quality and efficiency of the machine tools. With the continuous development of the equipment manufacturing industry, higher and higher requirements are placed on the control performance of the servo system. The processing quality problem of the servo system under various uncertain disturbances has become one of the key factors restricting the machine tools from moving towards high speed and high precision.
[0003] During the machining process, the dynamic characteristics of the machine tool are affected by complex process variables. For example, the change in the position of the moving parts plus the follow-up cutting excitation variables acting on the machine tool parts, the low-frequency modes of the machine tool parts and the high-frequency modes of the spindle or tool are superimposed on each other, causing the modal parameters of the corresponding structures in the machine tool to change nonlinearly. Since the physical characteristics of the machine tool are not completely known, it is difficult to fully capture the dynamic state of the machine tool during the actual machining process by relying solely on the dynamic model.
[0004] The existing servo system tracking and control strategies mainly focus on the tracking accuracy of the system state deviating from the predetermined domain caused by various uncertain factors such as load changes, nonlinear friction, temperature changes, and component aging. Usually, various uncertain factors in the entire life cycle of the machine tool are concentrated into a total disturbance for compensation; or they focus on a certain disturbance for disturbance modeling to obtain accurate compensation for a specific disturbance. However, the above two strategies are either too general or too one-sided in the disturbance compensation process, lacking a moderate compensation strategy. In addition, due to the large working space of the machine tool, the change of the processing position and the operation of the machine tool during the processing will cause changes in the structural weak points, and the changes in the structural weak points affect the vibration characteristics and dominant vibration modes of the machine tool, which will cause changes in its structural physical characteristics, thereby causing differentiated disturbances.
[0005] Therefore, it is urgent to explore new machine tool servo systems and their disturbance clustering control methods to perform customized disturbance compensation to improve machine tool processing quality and tracking accuracy. Summary of the invention
[0006] In view of this, the present application provides a machine tool servo system based on digital twin and its disturbance clustering control method. The machine tool servo system based on digital twin utilizes the computing resources of the host computer and the computing speed of the embedded platform to lay the foundation for realizing disturbance clustering control, and finally performs customized disturbance compensation to improve the machine tool processing quality and tracking accuracy.
[0007] In the first aspect, the present application provides a machine tool servo system based on digital twins, including: a twin model layer, which includes a machine tool digital twin model established based on integrated sensor data and physical characteristics of the machine tool; a control layer, used to regulate the operation of the servo motor, the control layer includes a state feedback controller and a fuzzy tuner; a decision layer, the decision layer includes real-time supervision and debugging software, and the real-time supervision and debugging software includes a machine tool status monitoring domain ontology; a high-speed communication layer, used to realize the communication link between the twin model layer, the control layer and the decision layer.
[0008] In some possible implementations, a digital twin model of a machine tool is established based on integrated sensor data and physical characteristics of the machine tool, including: real-time data of current, voltage, speed, torque, and position and modal frequency of the actuator during the operation of the integrated motor; constructing a behavioral characteristic model of different cutting excitation variables and corresponding disturbances in different workspaces; and fusing the real-time data and the behavioral characteristic model based on the three-dimensional model of the machine tool.
[0009] In some possible implementations, the behavior characteristic model is obtained by dividing the workspace into sub-regions and establishing associations between different cutting excitation variables and corresponding disturbances in the sub-regions.
[0010] Optionally, the behavior feature model construction includes the following steps:
[0011] (1) Identify structural weak points based on the principle of modal mass distribution.
[0012] When there is a structural weak point in the machine tool, the modal mass distribution under each modal order in the dynamic system will change suddenly. This sudden change position is caused by the decrease of stiffness and increase of modal mass under the corresponding degree of freedom, and is considered to be a structural weak point.
[0013] (2) The modal mass distribution at different locations is used as data points, and the entire workspace is divided into sub-areas according to the changes in the structural weak points.
[0014] Based on the above scheme, the density and distance of each data point in the data set of modal mass distribution can be calculated and plotted on a plane to form a decision diagram for selecting cluster centers, where data points with larger density and distance are regarded as cluster centers.
[0015] (3) A disturbance observer is used to estimate the disturbance in the sub-region and to construct the association between each cutting excitation variable and the corresponding disturbance in different sub-regions.
[0016] In some possible implementations, the fuzzy tuner generates a compensation amount for the current disturbance according to the tracking error and the error change rate, and the compensation amount is used to cope with various types of disturbances.
[0017] Specifically, the fuzzy tuner uses the fuzzy inference engine and fuzzy rule base to adjust the adjustable gain matrix of the state feedback controller in real time according to the tracking error and error change rate of the machine tool servo system, and indirectly generates the compensation amount of the current disturbance to cope with various disturbances of the servo system during the machine tool processing operation and prevent the system tracking error from exceeding the preset constraint value.
[0018] Optionally, the design of the fuzzy tuner includes the following steps:
[0019] (1) The tracking error e(t) and the error change rate Δe(t) are taken as input variables, the corresponding fuzzy variables are set to E and ΔE, and the input quantization factor η is used e and η Δe , mapping it from the natural domain to the fuzzy domain, the mapping relationship from the input variable in the natural domain to the fuzzy variable in the fuzzy domain is:
[0020]
[0021] Among them, η e and η Δe Represents the input quantization factor, E max is the maximum value of the E fuzzy domain, ΔE max is the maximum value of the ΔE fuzzy domain, and sign() is the sign function.
[0022] (2) Analyze the control requirements of the machine tool servo system in different motion stages based on linguistic (Mamdani) fuzzy logic.
[0023] (3) Set the membership function to convert the fuzzy numerical variables into linguistic variables so that fuzzy reasoning can be performed using fuzzy rules.
[0024] Optionally, the fuzzy tuner can also solve the fuzzy output of each rule under the current input according to the Mamdani type fuzzy inference criterion: f=η(E)∧η(ΔE), where η() is the membership degree of the fuzzy variable and ∧ is the maximum operator.
[0025] Optionally, the fuzzy tuner also uses Mamdani-type fuzzy logic to obtain the fuzzy output y(e(t+p), Δe(t+p)) corresponding to the fuzzy input according to the fuzzy rule base, and uses the centroid defuzzification method to solve the fuzzy output: Among them, C j is the discrete value of the fuzzy output domain, f j is the membership degree of the fuzzy output domain.
[0026] Optionally, the fuzzy tuner also converts the fuzzy output y into a clear value of the natural domain Δk(t)=α(t)·y according to the output quantization factor α(t); the clear value is the required control gain adjustment, which is applied to the controller as the initial control gain k 0 The adjustment amount is used to indirectly compensate for the disturbance and realize the precision self-healing control of the operation layer: k(t)=k 0 +Δk(t).
[0027] In some possible implementations, the key parameters of the control layer include: the optimal initial control gain k under the current processing state 0 , input quantization factor η e and η Δe , output quantization factor α(t), etc.
[0028] Optionally, key parameters of the control layer are jointly queried according to Structured Query Language (SQL) and SPARQL Protocol and RDF Query Language (SPARQL).
[0029] In some possible implementations, the decision layer autonomously tunes the control layer based on the computing resources of the host computer platform according to job requirements and system status.
[0030] In some possible implementations, the machine tool status monitoring domain entity optimizes the initial control gain of the state feedback controller and the adjustable parameters of the fuzzy tuner online according to the processing area, cutting direction, cutting depth, spindle speed, accuracy index, load torque and servo system tracking error to cope with the switching of processing areas and slow changes in working conditions, and realize disturbance classification and regulation of the servo system throughout its life cycle.
[0031] Optionally, constructing a machine tool condition monitoring domain ontology (MTSMOnt) according to ontology theory includes the following steps:
[0032] (1) The machine tool condition monitoring domain ontology is defined as: MTSMOnt = {C, P, R, I}, where C represents the set of classes, i.e., the concept set; P represents the set of attributes; R is the set of triples, i.e., the set of relationship descriptions between classes (concepts); and I represents the set of instances of the representative class.
[0033] (2) Determine the scope of the machine tool status monitoring domain ontology.
[0034] (3) Taking the machine tool as the top-level ontology in the field of machine tool status monitoring, four upper-level ontologies are established: machine tool structure, workspace, processing instructions, and disturbance characteristics.
[0035] In a second aspect, the present application provides a disturbance clustering control method for a machine tool servo system, which adopts the digital twin-based machine tool servo system provided in the first aspect to perform disturbance clustering control.
[0036] In general, compared with the prior art, the above technical solutions conceived by the present application, the machine tool servo system based on digital twin and the disturbance clustering control method thereof provided by the present application mainly have the following beneficial effects:
[0037] 1. The machine tool servo system based on digital twin includes a digital twin model. The digital twin model comprehensively utilizes the computing resources of the host computer and the real-time data of the onboard sensors to construct a behavioral characteristic model of different cutting excitation variables and corresponding disturbances in different workspaces, providing a reliable and effective software and hardware foundation for cross-scale disturbance clustering control of tracking accuracy.
[0038] 2. This application can not only ensure that the servo system can adjust the control input in time when it is subjected to sudden disturbances, so that the output error of the servo system is maintained within a given error band, but also can process the accuracy deviation of the original system caused by changes in the processing area and working conditions through the machine tool status monitoring domain entity, and constrain the tracking accuracy to a given indicator.
[0039] 3. This application can effectively cluster processing areas, so that working areas with different physical characteristics can be divided from each other. By extracting and matching sub-area disturbance characteristics, it provides prior disturbance information for tracking and anti-disturbance control, realizes disturbance clustering control, and thus improves the operating efficiency of the servo system. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a schematic diagram of the control structure of the machine tool servo system provided in an embodiment of the present application.
[0041] Figure 2 It is a schematic diagram of disturbance clustering control of a machine tool servo system provided in an embodiment of the present application.
[0042] Figure 3 It is a flowchart of an exemplary feature model construction method provided in an embodiment of the present application.
[0043] Figure 4 It is a flowchart of an exemplary fuzzy tuner design method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0045] In order to facilitate understanding of the embodiments of the present application, the following explanation is made.
[0046] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or apparatus that comprises a series of steps or elements is not necessarily limited to those steps or elements explicitly listed but may include other steps or elements not explicitly listed or inherent to such process, method, product, or apparatus.
[0047] Below, the feed servo system of a machine tool is taken as an example to explain in detail the digital twin-based machine tool servo system and its disturbance clustering control method provided by the embodiment of the present application, but the present application is not limited to this.
[0048] It should be understood that the terms and steps in the various embodiments of the present application can be referenced to each other.
[0049] Figure 1 The control structure diagram of the machine tool servo system provided by the embodiment of the application is shown as follows: Figure 1 As shown in the figure, the servo system adopts a non-cascaded state feedback control strategy for position control, and the control input is the position reference command θ r (t), position feedback θ(t), speed feedback ω(t), feedback of d-axis current-q-axis current (i q (t),i d (t)), its control law can be expressed as u(t) = K(t)g[e(t)ω(t)i q (t)i d (t)ce(t)] T , where K(t) is a control gain matrix with appropriate dimensions and e(t) is the position error e(t) = θ(t) - θ r (t), ce(t) is the error integral.
[0050] For the servo system, the value of the control gain matrix is closely related to the system state and performance requirements. When the servo system is disturbed or the working conditions change, the unadjusted control gain may not meet the predetermined accuracy requirements, or even fail to ensure the stable convergence of the servo system. In order to ensure that the servo system can achieve accurate and stable tracking under uncertain disturbances, this implementation method performs interference clustering control based on the digital twin model, fully utilizes the computing resources of the host computer and the real-time data of the sensor, divides the working area with different physical characteristics, and extracts and matches the disturbance characteristics of each sub-area to provide prior knowledge of the disturbance, thereby guiding the control of the control gain matrix and making its response curve quickly return to the predetermined accuracy domain after being disturbed.
[0051] Figure 2 FIG. 4 shows a schematic diagram of disturbance clustering control of a machine tool servo system provided by an embodiment of the present application. Figure 2 As shown, the machine tool servo system provided by the present application includes a twin model layer, a high-speed communication layer, a control layer and a decision layer; wherein the twin model layer includes an input layer, a fuzzification layer, a fuzzy reasoning layer, a normalization layer and an output layer; the control layer includes a fuzzy tuner and a state feedback controller; the high-speed communication layer is used to realize the communication link between the twin model layer and the control layer and the decision layer; the decision layer includes real-time supervision and debugging software, which integrates the machine tool state monitoring domain ontology.
[0052] Optionally, the twin model layer establishes a digital twin model of the machine tool based on sensor data and physical characteristics of the machine tool, and the establishment steps include: integrating real-time data during the operation of the servo motor, which real-time data includes current, voltage, speed, torque, execution position, and modal frequency; constructing a behavioral characteristic model of different cutting excitation variables and corresponding disturbances in different workspaces; and fusing the real-time data and the behavioral characteristic model based on the three-dimensional model of the machine tool.
[0053] Based on the above, the twin model layer integrates the real-time monitored data such as current, voltage, speed, torque, actuator position and modal frequency of the servo motor during operation, and constructs behavioral characteristic models of different cutting excitation variables and corresponding disturbances in different workspaces. Finally, the real-time data and behavioral characteristic models are integrated based on the three-dimensional model of the machine tool to establish a digital twin model that fully reflects the physical characteristics of the machine tool.
[0054] For the construction of behavioral feature model, please refer to Figure 3 ,like Figure 3 As shown in Figure 1, constructing the behavioral characteristic model of different cutting excitation variables and corresponding disturbances in different workspaces includes the following steps:
[0055] S110, identifying structural weaknesses based on the modal mass distribution principle.
[0056] It should be understood that when there is a structural weak point in the machine tool, the modal mass distribution under each modal order in the dynamic system will change suddenly. This sudden change position is caused by the decrease in stiffness and increase in modal mass under the corresponding degree of freedom, and is considered a structural weak point.
[0057] Exemplarily, the modal mass distribution calculation process under each modal order is as follows:
[0058] The free vibration of the machine tool structure can be described by a second-order differential equation about time: Mx+Cx+Kx=0, which can be converted to:
[0059] Where M is the mass matrix of the structure, C and K are the damping matrix and stiffness matrix respectively. λ is the eigenvalue of the machine tool system, is an eigenvector, which contains the displacement information associated with the eigenvalue. Using these eigenvectors, we can understand the vibration of each node of the servo system in different modes.
[0060] By calculating the modal mass corresponding to the eigenvector, the mass distribution of the machine tool dynamics system in the i-th order mode can be obtained:
[0061]
[0062] Where n represents the degree of freedom in the structure, k is the kth degree of freedom, It can be compared to the expression of kinetic energy, which represents the distribution of kinetic energy on the kth degree of freedom in the i-th mode.
[0063] Then the modal mass distribution of each degree of freedom in the i-th mode can be described as:
[0064]
[0065] Then, the modal mass distribution matrix of each mode of the structure in each degree of freedom is:
[0066] M′=[m′ 1 m′ 2 L m′ n ].
[0067] The above formula defines the degrees of freedom with larger amplitude or mutation in the modal mass distribution as the weak points of the machine tool structure.
[0068] S120, taking the modal mass distributions at different positions as data points, and dividing the entire workspace into sub-areas according to the changes in the structural weak points.
[0069] For example, is the data set of modal mass distribution. For any data point in S, the density ρ iDefined as: If d < 0, then χ(d) = 1, otherwise χ(d) = 0. ij = dist(x i ,x j ) represents the data point x i and x j The distance between c is the cut-off distance. i Indicates that in x i The surrounding distance is less than d c The number of data points.
[0070] Assumptions satisfy: The distance in the clustering algorithm is:
[0071]
[0072] When x i When the local density is the smallest, δ i Represents x i and around x i The minimum distance between data points. Otherwise, δ i For x i The largest data point around x i The distance between.
[0073] Based on the above principle, the density and distance of each data point in S can be calculated and plotted on a plane to form a decision diagram for selecting cluster centers. Among them, data points with larger density and distance are regarded as cluster centers. When the cluster center cannot be obtained according to the above method, γ i =ρ i δ i As a comprehensive evaluation value. i The larger the value, the greater the possibility that the data point is the cluster center. Arrange in descending order and extract cluster centers according to requirements. These cluster centers represent different structural weaknesses. Classify according to cluster centers. Finally, divide the entire workspace into different areas, each with the same or similar structural weaknesses. Thus, the division of areas with similar dynamic characteristics of the machine tool workspace is achieved.
[0074] S130, using a disturbance observer to perform disturbance estimation on the sub-regions, and constructing associations between each cutting excitation variable and the corresponding disturbance in different sub-regions.
[0075] The fuzzy tuner in the control layer is responsible for real-time regulation of the adjustable gain matrix K(t) of the state feedback controller according to the tracking error and error change rate of the system, so as to cope with various disturbances of the servo system during the machine tool processing operation and prevent the system tracking error from exceeding the preset constraint value. The machine tool state monitoring domain ontology is responsible for online optimization of the initial control gain of the state feedback controller and the adjustable parameters of the fuzzy tuner according to characteristic variables such as cutting speed, feed rate, cutting depth, accuracy index, load torque, moment of inertia, and servo system tracking error, so as to cope with the switching of work tasks and slow changes in working conditions, and realize the self-healing adjustment of the tracking accuracy of the servo system throughout its life cycle.
[0076] The realization of fuzzy tuner has high requirements for real-time performance, and it needs to be able to use limited resources to achieve microsecond-level real-time control. On the contrary, the ontology of machine tool status monitoring has the characteristics of large amount of calculation, and it is necessary to improve the calculation efficiency as much as possible while ensuring the effective calculation accuracy.
[0077] Among them, the fuzzy tuner is responsible for handling the tracking accuracy self-healing problem caused by various interferences in the servo system during movement. This mechanism generates the quantitative gain adjustment value of the main controller based on the state information such as the system's tracking error and error change law, using the fuzzy inference engine and fuzzy rule base, thereby indirectly generating the compensation amount of the current disturbance and driving the system tracking error to converge stably to the given error domain.
[0078] Reference Figure 4 , the design steps of the fuzzy tuner include:
[0079] S210, taking the tracking error and the error change rate as input variables, and mapping the input variables from the natural domain to the fuzzy domain according to the input quantization factor to obtain fuzzy variables.
[0080] Exemplarily, the tracking error e(t) and the error change rate Δe(t) are used as input variables, and the corresponding fuzzy variables are set to E and ΔE; and the input quantization factor η is used e and η Δe , mapping it from the natural domain to the fuzzy domain, the mapping relationship from the input variable in the natural domain to the fuzzy variable in the fuzzy domain is:
[0081]
[0082] Among them, η e and η Δe Represents the input quantization factor, E max is the maximum value of the E fuzzy domain, ΔE max is the maximum value of the ΔE fuzzy domain, and sign() is the sign function.
[0083] S220, analyzing the control requirements of the machine tool servo system at different motion stages according to Mamdani fuzzy logic.
[0084] Specifically, according to Mamdani-type fuzzy logic, with the help of expert control experience and the servo system mechanism model, the influence mechanism of various types of uncertainty disturbances on the system is determined, and the control requirements of the servo system in different motion stages are analyzed. In this way, the change law of the main controller gain is clarified and the corresponding fuzzy rules are formulated, see Table 1.
[0085] Table 1 Fuzzy rules of fuzzy tuner
[0086]
[0087]
[0088] Among them, the fuzzy linguistic variables are set to N, Z, and P, which represent negative, zero, and positive respectively. Taking the first rule as an example, the basic structure of the fuzzy rule is: if the error E is N and the error change rate ΔE is N, then the gain change of the state feedback controller is N.
[0089] S230, setting a membership function to convert the fuzzy variables into linguistic variables for fuzzy reasoning.
[0090] Optionally, the membership function is specified as follows: a triangular membership function with the y-axis (the vertical axis passing through the zero point of the fuzzy domain) as the symmetry axis, and a Gaussian membership function with the vertical axes on both sides (the vertical axes passing through the extreme values of the fuzzy domain) as the symmetry axis.
[0091] Optionally, the fuzzy tuner uses the Mamdani type fuzzy inference criterion to solve the fuzzy output of each rule under the current input: f = η(E) ∧η(ΔE), where η() is the membership of the fuzzy variable and ∧ is the maximum operator.
[0092] Optionally, the fuzzy tuner also uses the Mamdani type fuzzy inference rule according to the above fuzzy rule base to obtain the fuzzy output y(e(t+p), Δe(t+p)) corresponding to the fuzzy input, and uses the centroid method defuzzification method to solve the fuzzy output: Among them, C j is the discrete value of the fuzzy output domain, f j is the membership degree of the fuzzy output domain.
[0093] Optionally, the fuzzy tuner also uses the output quantization factor α(t) to convert the fuzzy output y into a clear value Δk(t) of the natural domain, that is, Δk(t) = α(t)·y. The above clear value is the required control gain adjustment, which is applied to the controller as the initial control gain k 0The adjustment amount is used to indirectly compensate for the disturbance and realize the precision self-healing control of the operation layer: k(t)=k 0 +Δk(t).
[0094] The key adjustable control variables of the control layer, such as input quantization factor, output quantization factor, initial control gain, etc., will be further optimized through the machine tool status monitoring domain ontology of the task layer to cope with changes in work tasks or working conditions and avoid system accuracy deviation from predetermined constraints.
[0095] The decision layer includes data interaction interfaces with the communication layer and communication interfaces with the cloud, etc. It can make full use of the computing resources of the host computer platform and realize self-learning tuning of the control layer according to the job requirements and the status of the twin model layer. Among them, the real-time supervision and debugging software can make full use of the computing resources of the host computer platform, solve the optimal control gain of the control layer according to the job requirements and the status of the twin model layer, and transmit it to the control layer through the optical fiber bus interface; at the same time, the machine tool status monitoring domain ontology can also realize self-tuning according to the twin model layer information and the control layer feedback information using the supervised learning mechanism.
[0096] Furthermore, the machine tool status monitoring domain ontology is responsible for online optimization of the initial control gain of the state feedback controller and the adjustable parameters of the fuzzy tuner according to the processing area, cutting direction, cutting depth, spindle speed, accuracy index, load torque and servo system tracking error, so as to cope with the switching of processing areas and the slow changes in working conditions, and realize the disturbance classification and regulation of the servo system throughout its life cycle.
[0097] Optionally, constructing a machine tool condition monitoring domain ontology (MTSMOnt) using ontology theory includes the following steps:
[0098] (1) Define the machine tool status monitoring domain ontology as: MTSMont = {C, P, R, I},
[0099] Among them, C represents the set of classes, that is, the concept set, P represents the set of attributes, R is the set of triples, that is, the set of relationship descriptions between classes (concepts), and I represents the instance set of the class.
[0100] (2) Determine the scope of the machine tool status monitoring domain ontology.
[0101] (3) Taking “machine tool” as the top-level ontology in the field of machine tool status monitoring, four upper-level ontologies are established: machine tool structure, workspace, processing instructions, and disturbance characteristics.
[0102] Optionally, the optimal initial control gain k under the current processing state can be jointly queried by SQL and SPARQL 0 , input quantization factor η e and η Δe, output quantization factor α(t) and other key parameters of the control layer.
[0103] The high-speed communication layer includes modules such as optical fiber and optical fiber bus transmission protocol. It has the advantages of high bandwidth (2G~4Gbps), microsecond end-to-end delay, and strong anti-electromagnetic interference ability. It can achieve high-speed communication links at all levels of the above-mentioned twin model layer, control layer, and decision-making layer.
[0104] Optionally, before the machine tool servo system is operated, the twin model is trained based on sample data of the initial database to obtain initial parameter values; after the machine tool servo system is operated, self-learning can be performed based on a supervised learning mechanism.
[0105] Based on the above scheme, in response to the high-precision tracking requirements of the servo system under various types of uncertain interference, the machine tool servo system based on digital twin makes up for the defect that the traditional servo system control strategy lacks the association of disturbance characteristics of sub-areas of the workspace.
[0106] The present application also provides a disturbance clustering control method for a machine tool servo system, which adopts the above-mentioned digital twin-based CNC servo system to perform disturbance clustering control.
[0107] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0108] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A machine tool servo system based on digital twin, characterized in that: include: A twin model layer, wherein the twin model layer is a digital twin model of a machine tool established based on integrated sensor data and physical characteristics of the machine tool; A control layer, used for regulating the operation of the servo motor, the control layer comprising a state feedback controller and a fuzzy tuner; A decision layer, the decision layer includes real-time monitoring and debugging software, the real-time monitoring and debugging software includes a machine tool status monitoring domain ontology, and the decision layer autonomously tunes the control layer according to the computing resources of the host computer platform and the operation requirements and system status; A high-speed communication layer is used to realize the communication link among the twin model layer, the control layer and the decision layer.
2. The machine tool servo system according to claim 1, characterized in that: The steps of establishing a machine tool digital twin model based on integrated sensor data and machine tool physical characteristics include: Integrate real-time data during motor operation, including current, voltage, speed, torque, execution position, and modal frequency; Construct the behavioral characteristic model of different cutting excitation variables and corresponding disturbances in different workspaces; The real-time data and the behavior characteristic model are fused based on the three-dimensional model of the machine tool.
3. The machine tool servo system according to claim 2, characterized in that: The behavior characteristic model divides the workspace into sub-regions, and establishes the association between the cutting excitation variables and the corresponding disturbances in the sub-regions; wherein, The behavioral feature model divides the workspace into sub-areas including: Identify structural weaknesses based on the modal mass distribution principle; Using the modal mass distributions at different positions as data points, dividing the working space into the sub-areas according to the changes in the structural weak points; A disturbance observer is used to estimate the disturbance of the sub-region.
4. The machine tool servo system according to claim 1, characterized in that: The fuzzy tuner generates a compensation amount for the current disturbance according to the tracking error and the error change rate, and the compensation amount is used to deal with various disturbances; wherein, The specific steps of the fuzzy tuner generating the compensation amount of the current disturbance according to the tracking error and the error change rate include: Taking the tracking error and the error change rate as input variables, mapping the input variables from the natural domain to the fuzzy domain according to the input quantization factor to obtain fuzzy variables; Analyzing the control requirements of the machine tool servo system at different motion stages based on linguistic (Mamdani) fuzzy logic; A membership function is set to convert the fuzzy variables into linguistic variables for fuzzy reasoning; wherein, The mapping relationship from the input variable to the fuzzy variable is: Where, e(t) is the tracking error, Δe(t) is the error change rate, η e and η Δe is the input quantization factor, E max is the maximum value of the fuzzy domain E, ΔE max is the maximum value of the fuzzy domain ΔE, and sign() is the sign function.
5. The machine tool servo system according to claim 4, characterized in that: The method further includes: the fuzzy tuner solves the fuzzy output f=η(E)∧η(ΔE) of each rule under the current input according to the Mamdani type fuzzy logic, wherein η() is the membership degree of the fuzzy variable and ∧ is a maximum operator.
6. The machine tool servo system according to claim 4, characterized in that: The method further comprises: The fuzzy tuner uses the Mamdani type fuzzy logic to obtain a fuzzy output according to a fuzzy rule base; Solve the fuzzy output according to the centroid method and defuzzification method: Among them, C j is the discrete value of the fuzzy output domain, f j is the degree of membership of the fuzzy output domain.
7. The machine tool servo system according to claim 6, characterized in that: The method further includes: the fuzzy tuner converts the fuzzy output into a clear value of the natural domain according to the output quantization factor, and the clear value is the required control gain adjustment amount, which is used to indirectly compensate for the disturbance.
8. The machine tool servo system according to claim 1, characterized in that: The key parameters of the control layer include: optimal initial control gain under the current processing state, input quantization factor, and output quantization factor; the key parameters of the control layer are jointly queried according to Structured Query Language (SQL) and SPARQL Protocol andRDF Query Language (SPARQL).
9. The machine tool servo system according to claim 1, characterized in that: The machine tool state monitoring domain ontology optimizes the initial control gain of the state feedback controller and the adjustable parameters of the fuzzy tuner online according to the processing area, cutting direction, cutting depth, spindle speed, accuracy index, load torque and servo system tracking error; wherein, The steps of constructing the machine tool condition monitoring domain ontology include: The machine tool condition monitoring domain ontology is defined as MTSMont={C, P, R, I}, where C is a set of concept sets, P is a set of attributes, R is a set of triples, and I is a set of instances representing a class; Determining the scope of the machine tool condition monitoring domain ontology; Taking the machine tool as the top-level ontology in the field of machine tool status monitoring, four upper-level ontologies including machine tool structure, workspace, processing instructions and disturbance characteristics are established.
10. A disturbance clustering control method for a machine tool servo system, characterized in that: The method performs disturbance clustering control on a machine tool servo system based on a digital twin as described in any one of claims 1 to 9.
Citation Information
Cited By
Numerical control machine tool operation control system and double-station sawing and drilling integrated machine tool
CN119536129A
