A CNC vertical lathe servo system and its tracking accuracy self-healing control method and application
By constructing a cyber-physical system in the servo system and using fuzzy tuners and fuzzy neural network supervision decision-makers, precise self-healing regulation across time scales is achieved, which solves the problem of insufficient accuracy of the servo system when complex tasks and working conditions change. Improved efficiency and adaptability.
Patent Information
- Application Number
- CN202210996368.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-19
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-08-19
AI Technical Summary
Existing servo systems are difficult to maintain tracking accuracy when complex task requirements and working conditions change, and the control law needs to be manually adjusted, resulting in insufficient precision and low efficiency of the servo system in multi-scale control.
The optical fiber bus is used to build a cyber-physical system, and the computing resources of the host computer and embedded platform are combined to achieve precise self-healing regulation across time scales through fuzzy tuners and fuzzy neural network supervisory decision-makers. The control law and system status are adjusted in real time to ensure servo control. The system can quickly and automatically converge to a given error domain when facing various disturbances.
It realizes self-healing regulation of cross-time scale tracking accuracy of the servo system under multiple disturbances, reduces manual intervention, improves operating efficiency and accuracy, and provides full life cycle adaptive capabilities.
Smart Images

Figure CN115373267B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field related to servo drive control of numerically controlled machine tools, and more specifically, relates to a numerically controlled vertical lathe servo system and a tracking accuracy self-healing control method and application thereof. Background Art
[0002] As an important key component of high-end CNC machine tools, the performance of servo drive control system will directly affect the processing accuracy and efficiency of CNC machine tools. With the continuous development of equipment manufacturing industry, higher and higher requirements are put forward for the control performance of servo system. The tracking accuracy self-healing problem of servo system under various uncertain disturbances has become one of the key factors restricting CNC machine tools from moving towards high speed and high precision.
[0003] For CNC machine tool servo systems, various uncertain factors such as load changes, complex electromagnetic interference, nonlinear friction, temperature changes, aging of mechanical devices and electronic components will cause the system state to deviate from the predetermined domain, resulting in the tracking accuracy failing to meet the predetermined indicators. To this end, domestic and foreign researchers have proposed various control strategies to achieve self-healing of the tracking accuracy of the servo system. For example, Patent 202010659860.1 proposes a method for disturbance suppression and high-precision tracking control of a brushless DC motor servo system. This method uses a reduced-order extended state observer to identify and compensate for the non-matching total disturbance in real time, ensuring that the system can return to the stable domain in time after being subjected to complex disturbances. Compared with the observer-based tracking accuracy self-healing control strategy, the fuzzy PI controller can use fuzzy reasoning, a fuzzy rule base constructed by expert knowledge, and online adjustment of the PI control gain to achieve real-time compensation for various types of uncertain disturbances. This strategy has the advantages of not requiring an accurate model and good applicability, and has been applied in the control of CNC machine tool feed servo systems.
[0004] However, the existing servo system tracking accuracy self-healing control strategy mainly focuses on the system state control during the motion process under a specific task. When the task or working condition changes, the control law needs to be adjusted manually. Otherwise, the fixed control law will make it difficult for the servo system to always obtain the predetermined accuracy index in complex task requirements and working conditions. Therefore, it is necessary to explore a suitable accuracy self-healing control strategy to realize multi-scale control law and system state self-adjustment, so as to reduce manual intervention and improve work efficiency and tracking accuracy. Summary of the invention
[0005] In view of the above defects or improvement needs of the prior art, the present invention provides a CNC vertical lathe servo system and its tracking precision self-healing control method and application, which uses the optical fiber bus to build a low-latency information-physical system, which can comprehensively utilize the computing resources of the host computer and the computing speed of the embedded platform, and lay the foundation for realizing cross-time scale precision self-healing control. The fuzzy tuner of the operation layer and the fuzzy neural network supervisory decision maker of the task layer respectively realize millisecond-level and microsecond-level control law self-adjustment to cope with interference during the motion process and changes in work tasks or working conditions, ensuring that the servo system tracking error quickly and automatically converges to a given error domain.
[0006] To achieve the above-mentioned object, according to one aspect of the present invention, a CNC vertical lathe servo system is provided, the servo system comprising a perception and control layer, a high-speed communication layer and a computing layer, the perception and control layer is integrated with a non-cascade state feedback controller and a fuzzy tuner, the high-speed communication layer is used to realize the communication link between the perception and control layer and the computing layer; the computing layer comprises real-time supervision and debugging software, the real-time supervision and debugging software is integrated with a fuzzy neural network supervision decision maker;
[0007] The perception and control layer is used to regulate the operation of the servo motor, and monitor the current, voltage, speed, torque and positioning accuracy of the actuator during the operation of the motor in real time, so that the motor angle can approach the command trajectory with a given accuracy; the computing layer uses the computing resources of the upper computer platform to achieve self-learning tuning of the perception and control layer according to job requirements and system status.
[0008] Furthermore, the non-cascaded state feedback control utilizes the position reference command θ r (t), position feedback θ(t), speed feedback ω(t), dq axis current feedback (i q (t), i d (t)) to control the position, and its control law can be expressed as:
[0009] u(t)=K(t)·[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
[0010] Furthermore, the fuzzy tuner is used to adjust the adjustable gain matrix K(t) of the state feedback controller in real time 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 CNC machine tool processing operation and prevent the system tracking error from exceeding the predetermined constraint value.
[0011] Furthermore, the fuzzy neural network supervisory decision maker is responsible for online optimizing the initial control gain of the state feedback controller and the adjustable parameters of the fuzzy tuner according to the cutting speed, feed rate, cutting depth, accuracy index, load torque, moment of inertia and tracking error of the servo system, so as to cope with the switching of work tasks and the slow changes in working conditions, and realize the self-healing adjustment of the tracking accuracy of the servo system throughout its life cycle.
[0012] Furthermore, the fuzzy tuner generates a quantitative gain adjustment value of the main controller based on the system's tracking error, error variation law and other state information using a fuzzy inference engine and a fuzzy rule base, thereby indirectly generating a compensation amount for the current disturbance and driving the system tracking error to converge stably to a given error domain.
[0013] Furthermore, the design of the fuzzy tuner includes the following steps:
[0014] (1) The tracking error e(t) and the error change rate Δe(t) are selected 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:
[0015]
[0016] Where η 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, sign() is the sign function;
[0017] (2) Based on Mamdani-type fuzzy logic, with the help of expert control experience and servo system mechanism model, the influence mechanism of various types of uncertain disturbances on the system is determined, and the control requirements of the servo system at different motion stages are analyzed, so as to clarify the change law of the main controller gain and formulate corresponding fuzzy rules;
[0018] (3) Set the membership function to convert the fuzzy numerical variables into linguistic variables so that fuzzy reasoning can be performed using fuzzy rules.
[0019] Furthermore, the fuzzy tuner uses the Mamdani-type fuzzy inference criterion to solve the fuzzy output of each rule under the current input:
[0020] f = η(E)^η(ΔE), where η(·) is the membership degree of the fuzzy variable and ^ is the maximum operator.
[0021] Furthermore, 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:
[0022]
[0023] In the formula, C j is the discrete value of the fuzzy output domain;
[0024] 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:
[0025] Δk(t)=α(t)·y; the clear value is the desired control gain adjustment, which is applied to the controller as the adjustment amount of the initial control gain k0 to indirectly compensate for the disturbance and realize the precision self-healing control of the operation layer:
[0026] k(t)=k0+Δk(t).
[0027] Furthermore, the fuzzy neural network supervisory decision maker takes the precision requirement index, process parameters, and current state of the system as input, and utilizes a five-layer fuzzy neural network to derive and generate the optimal value of the corresponding adjustable control variable of the operation layer; the fuzzy neural network supervisory decision maker includes an input layer, a fuzzification layer, a fuzzy reasoning layer, a normalization layer, and an output layer; the input layer is responsible for input quantization processing, that is, the transformation of input variables from the natural domain to the fuzzy domain; the fuzzification layer is used to convert fuzzy numerical variables into language variables and obtain the corresponding membership degree; the fuzzy reasoning layer is responsible for constructing a fuzzy rule base and solving the fuzzy output of the input variable under each rule; the normalization layer is responsible for solving the fuzzy output variable, and each node represents the solution rule of a fuzzy rule; the output layer is responsible for defuzzification processing to obtain the clear value of the fuzzy output variable in the actual domain.
[0028] According to another aspect of the present invention, a tracking accuracy self-healing control method of a CNC vertical lathe servo system is provided. The control method uses the CNC vertical lathe servo system as described above to perform tracking accuracy self-healing control.
[0029] The present invention also provides an application of the above-mentioned CNC vertical lathe servo system in a CNC vertical lathe, that is, the CNC vertical lathe includes the CNC vertical lathe servo system.
[0030] In general, compared with the prior art, the CNC vertical lathe servo system and the tracking accuracy self-healing control method and application thereof provided by the present invention mainly have the following beneficial effects:
[0031] 1. The servo system includes an information-physical system, which can comprehensively utilize the computing resources of the host computer and the real-time performance of the embedded platform to provide a reliable and effective software and hardware foundation for cross-scale and multi-level self-healing control of tracking accuracy.
[0032] 2. The present invention can not only ensure that the system can adjust the control input in time when subjected to sudden disturbances, so that the system output error is maintained within a given error band, but also can process the accuracy deviation of the original system caused by job task switching and slow time-varying working conditions through the fuzzy neural network supervision decision maker, and constrain the tracking accuracy to within a given indicator.
[0033] 3. The present invention can effectively handle multivariate disturbances, realize self-healing control of tracking accuracy across time scales, provide the servo system with full life cycle adaptive capabilities, reduce the links of manual correction during shutdown, and thus improve the operating efficiency of the servo system. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a control structure schematic diagram of the CNC vertical lathe servo system provided by the present invention;
[0035] Figure 2 yes Figure 1 Schematic diagram of self-healing control of tracking accuracy across time scales for the CNC vertical lathe servo system;
[0036] Figure 3 yes Figure 1 Schematic diagram of the structure of the fuzzy neural network supervisory decision maker of the CNC vertical lathe servo system. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0038] See also Figure 1 This embodiment takes the feed servo system of a CNC machine tool as an example. The servo system adopts a non-cascaded state feedback control strategy for position control. The control input is the position reference command θ r (t), position feedback θ(t), speed feedback ω(t), dq axis current feedback (i q (t), i d (t)), its control law can be expressed as:
[0039] u(t)=K(t)·[e(t) ω(t) i q (t) id (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
[0040] For the feed servo system, the value of the control gain matrix is closely related to the system state and performance requirements. When the system is disturbed or the operating conditions change, the unadjusted control gain may not meet the predetermined accuracy requirements, or even fail to ensure the stable convergence of the system. In order to ensure that the servo system can achieve self-healing of tracking accuracy under various types of uncertain disturbances, this implementation method performs precision self-healing regulation based on information-physical fusion, fully utilizing the computing resources of the host computer and the real-time performance of the embedded platform, and optimizing the adjustable control gain across time scales to indirectly regulate the system so that its response curve quickly returns to the predetermined accuracy domain after being disturbed.
[0041] See also Figure 2 The CNC vertical lathe servo system provided by the present invention includes a perception and control layer, a high-speed communication layer and a computing layer, wherein the perception and control layer, the high-speed communication layer and the computing layer are the bottom layer, the middle layer and the upper layer respectively. The perception and control layer is integrated with a state feedback controller and a fuzzy tuner, and the high-speed communication layer is communicatively connected with the perception and control layer and the computing layer. The computing layer includes real-time supervision and debugging software integrated with an intelligent optimization algorithm, and the real-time supervision and debugging software is integrated with a fuzzy neural network supervision decision maker.
[0042] The perception and control layer includes servo drivers, photoelectric encoders, torque sensors, current / voltage AD sampling and other modules, which are used to regulate the operation of the servo motor and monitor the current, voltage, speed, torque and positioning accuracy of the actuator during the operation of the motor in real time, so that the motor angle can approach the command trajectory with a given accuracy.
[0043] 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, strong anti-electromagnetic interference ability, and can achieve high-speed communication links between the upper and lower layers.
[0044] The computing layer includes a data interaction interface with the communication layer, a communication interface with the cloud, etc., which can make full use of the computing resources of the host computer platform and realize self-learning tuning of the perception and control layer according to the operation requirements and system status. Among them, the real-time monitoring and debugging software can make full use of the computing resources of the host computer platform, solve the optimal control gain of the perception and control layer according to the operation requirements and system status, and transmit it to the lower layer through the optical fiber bus interface; at the same time, the fuzzy neural network supervisory decision maker can also realize self-tuning according to the feedback information of the bottom layer using the supervised learning mechanism.
[0045] The fuzzy tuner is responsible for real-time control 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 CNC machine tool processing operation and prevent the system tracking error from exceeding the preset constraint value. The fuzzy neural network supervisory decision maker 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.
[0046] The realization of fuzzy tuner has high requirements for real-time performance, and needs to be able to use limited resources to achieve microsecond-level real-time control. On the contrary, fuzzy neural network supervisory decision makers have the characteristics of large computational complexity, and need to improve computational efficiency as much as possible while ensuring effective computational accuracy.
[0047] 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.
[0048] The design of the fuzzy tuner consists of the following steps:
[0049] (1) The tracking error e(t) and the error change rate Δe(t) are selected 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:
[0050]
[0051] Where η e and η ΔeRepresents 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.
[0052] (2) Based on Mamdani-type fuzzy logic, with the help of expert control experience and the servo system mechanism model, the influence mechanism of various types of uncertain 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.
[0053] Table 1 Fuzzy rules of fuzzy tuner
[0054]
[0055] 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."
[0056] (3) Setting a membership function to convert fuzzy numerical variables into linguistic variables so as to perform fuzzy reasoning using fuzzy rules. The membership functions of this embodiment are 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.
[0057] The fuzzy tuner uses the Mamdani-type fuzzy inference criterion to solve the fuzzy output of each rule under the current input:
[0058] f = η(E)∧η(ΔE), where η(·) is the membership degree of the fuzzy variable and ∧ is the maximum operator.
[0059] 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:
[0060]
[0061] In the formula, C j is the discrete value of the fuzzy output domain.
[0062] 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.
[0063] The above clear value is the desired control gain adjustment, which is applied to the controller as the adjustment amount of the initial control gain k0 to indirectly compensate for the disturbance and realize the precision self-healing control of the operation layer:
[0064] k(t)=k0+Δk(t).
[0065] The key adjustable control variables at the operation layer, such as input quantization factor, output quantization factor, initial control gain, etc., will be further optimized through the fuzzy neural network supervision decision maker at the task layer to cope with changes in work tasks or working conditions and avoid system accuracy deviation from predetermined constraints.
[0066] Among them, the fuzzy neural network supervisory decision maker of the task layer takes the precision requirement index, process parameters, current state of the system and other type variables as input, and uses the five-layer fuzzy neural network to derive and generate the optimal value of the corresponding adjustable control variable of the operation layer. In view of the influence of the switching of system operation tasks and the slow time variation of working conditions on the tracking accuracy of the system, this embodiment proposes a fuzzy neural network supervisory decision maker, which can optimize the initial control gain k0, input quantization factor η online. e and η Δe , output quantization factor α(t) and other key parameters of the perception and control layer.
[0067] See also Figure 3 The fuzzy neural network supervisory decision maker includes an input layer, a fuzzification layer, a fuzzy reasoning layer, a normalization layer and an output layer.
[0068] The input layer is responsible for input quantization processing, that is, the transformation of input variables from natural domain to fuzzy domain; the input layer nodes correspond to the input variables one by one. If the i-th input variable is The output of the i-th node is expressed as Among them, k i is the weight coefficient of the i-th node, responsible for the transformation of the input variable from the natural domain to the fuzzy domain. Set the cutting speed, feed rate, cutting depth, precision index, load torque, load torque, servo system tracking error and other variables as the input of the fuzzy neural network decision maker, and output the expected optimized initial control gain k0 and input quantization factor η e and η Δe , output quantization factor α(t). The input variable vector is defined as:
[0069] X={x1 x2 x3 x4 x5 x6 x7}
[0070] Among them, x1 is the cutting speed, x2 is the feed rate, x3 is the cutting depth, x4 is the accuracy index, x5 is the load torque, x6 is the load torque, and x7 is the tracking error; the output variable vector is defined as:
[0071] Y={k0 η e η Δe α(t)}.
[0072] The fuzzification layer is used to convert fuzzy numerical variables into linguistic variables and obtain the corresponding membership degree. Each node in this layer represents a linguistic variable, and the total number of nodes is Where m refers to the number of input fuzzy variables, κ i The number of linguistic variables representing the i-th fuzzy variable. The input value of each node is the fuzzy variable of the upper layer, and the output is the membership function value of the change for the node.
[0073] This embodiment uses the Gaussian membership function to perform fuzzy processing and obtain the corresponding membership. The Gaussian membership function of the jth node is:
[0074]
[0075] In the formula, is the input variable, is the output variable of the fuzzy layer node, u ij and σ j are the mean and standard deviation of the Gaussian function.
[0076] The fuzzy inference layer is responsible for constructing a fuzzy rule base and solving the fuzzy output of the input variable under each rule; each node in this layer represents a fuzzy rule, and the total number of nodes is the number of fuzzy rules r; the present invention uses a multiplicative inference engine to obtain the fuzzy output, that is, the output of the jth node For all input signals of this node The product of is calculated as The setting of the input signal of any node follows the following principle: "The input of the same node shall not have different linguistic variables of the same fuzzy variable at the same time."
[0077] In this embodiment, each node has 7 inputs, and the selection rule is as follows: "the input of the same node has fuzzy linguistic variables of 7 input variables at the same time."
[0078] The normalization layer is responsible for solving the fuzzy output variables; each node represents the solution rule of a fuzzy rule. The number of nodes in the normalization layer is the same as the number of nodes in the fuzzy reasoning layer. Each node is fully connected to the nodes in the fuzzy reasoning layer and the corresponding output is obtained using the weight method. The output of the i-th node is the i-th input of the node The weight of the sum of all inputs is calculated as Where r is the number of fuzzy rules (i.e. the number of nodes in the fuzzy reasoning layer).
[0079] The output layer is responsible for defuzzification and obtains the clear value of the fuzzy output variable in the actual domain. In this embodiment, the output layer has 4 nodes, each node represents an output variable and is fully connected to the normalization layer nodes. This embodiment uses the weighted average method to perform defuzzification operations to obtain the clear value of the fuzzy variable in the natural domain. The output calculation formula of the jth node is: In the formula, is the input variable, λ ij is the connection weight between the ith input and the current jth node, and r is the number of fuzzy rules (i.e., the number of nodes in the fuzzy reasoning layer).
[0080] In addition, before the system is put into operation, the fuzzy neural network model is trained based on the sample data of the initial database to obtain the initial parameter values; after the system is put into operation, self-learning is performed based on the supervised learning mechanism.
[0081] In response to the high-precision tracking requirements of the servo system under various types of uncertain interference, the CNC vertical lathe servo system based on information-physical fusion makes up for the defect of the traditional servo system control strategy that lacks the precision self-healing ability under multiple disturbances.
[0082] The present invention also provides a tracking accuracy self-healing control method for a CNC vertical lathe servo system, wherein the control method uses the CNC vertical lathe servo system as described above to perform tracking accuracy self-healing control. In addition, the present invention also provides an application of the CNC vertical lathe servo system as described above in a CNC vertical lathe, that is, the CNC vertical lathe includes the CNC vertical lathe servo system.
[0083] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A CNC vertical lathe servo system, characterized in that: The servo system comprises a perception and control layer, a high-speed communication layer and a computing layer, wherein the perception and control layer is integrated with a non-cascade state feedback controller and a fuzzy tuner, and the high-speed communication layer is used to realize the communication link between the perception and control layer and the computing layer; the computing layer comprises real-time supervision and debugging software, and the real-time supervision and debugging software is integrated with a fuzzy neural network supervision decision maker; The perception and control layer is used to regulate the operation of the servo motor, monitor the current, voltage, speed, torque and positioning accuracy of the actuator in real time during the operation of the motor, so that the motor angle can approach the command trajectory with a given accuracy; the computing layer uses the computing resources of the host computer platform to achieve self-learning tuning of the perception and control layer according to the operation requirements and system status; The fuzzy tuner is used to adjust the adjustable gain matrix K(t) of the state feedback controller in real time 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 machining operation of the CNC machine tool and prevent the system tracking error from exceeding the predetermined constraint value; The fuzzy tuner uses the quantitative gain adjustment value of the non-cascade state feedback controller based on the tracking error and error variation law of the system, and indirectly generates the compensation amount of the current disturbance, thereby driving the system tracking error to converge stably to a given error domain; the non-cascade state feedback controller uses the position reference instruction θ r (t), position feedback θ(t), speed feedback ω(t), dq axis current feedback (i q (t), i d (t)) for position control, and its control law is: u(t)=K(t)·[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 The design of the fuzzy tuner includes the following steps: (1) The tracking error e(t) and the error change rate Δe(t) are selected 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: Where η 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, sign() is the sign function; (2) Based on Mamdani-type fuzzy logic, with the help of expert control experience and servo system mechanism model, the influence mechanism of various types of uncertain disturbances on the system is determined, and the control requirements of the servo system at different motion stages are analyzed, so as to clarify the change law of the main controller gain and formulate corresponding fuzzy rules; (3) Set the membership function to convert the fuzzy numerical variables into linguistic variables so that fuzzy reasoning can be performed using fuzzy rules.
2. The CNC vertical lathe servo system according to claim 1, characterized in that: The fuzzy neural network supervisory decision maker is responsible for online optimizing the initial control gain of the state feedback controller and the adjustable parameters of the fuzzy tuner according to the 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 the slow changes in working conditions, and realize the self-healing adjustment of the tracking accuracy of the servo system throughout its life cycle.
3. The CNC vertical lathe servo system according to claim 1, characterized in that: 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 degree of the fuzzy variable and ∧ is the maximum operator.
4. The CNC vertical lathe servo system according to claim 3, characterized in that: 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: In the formula, C j is the discrete value of the fuzzy output domain; 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 clear value is the desired control gain adjustment, which is applied to the controller as the adjustment amount of the initial control gain k0 to indirectly compensate for the disturbance and realize the precision self-healing control of the operation layer: k(t)=k0+Δk(t).
5. The CNC vertical lathe servo system according to claim 1, characterized in that: The fuzzy neural network supervisory decision maker takes the precision requirement index, process parameters, and the current state of the system as input, and uses a five-layer fuzzy neural network to derive the optimal value of the corresponding operating layer adjustable control variable; the fuzzy neural network supervisory decision maker includes an input layer, a fuzzification layer, a fuzzy reasoning layer, a normalization layer, and an output layer; the input layer is responsible for input quantization processing, that is, the transformation of input variables from the natural domain to the fuzzy domain; the fuzzification layer is used to convert fuzzy numerical variables into language variables and obtain the corresponding membership degree; the fuzzy reasoning layer is responsible for building a fuzzy rule base and solving the fuzzy output of the input variable under each rule; the normalization layer is responsible for solving the fuzzy output variable, and each node represents the solution rule of a fuzzy rule; the output layer is responsible for defuzzification processing to obtain the clear value of the fuzzy output variable in the actual domain.
6. A tracking accuracy self-healing control method for a CNC vertical lathe servo system, characterized in that: The control method adopts the CNC vertical lathe servo system described in any one of claims 1 to 5 to perform self-healing control of tracking accuracy.
7. Application of the CNC vertical lathe servo system according to any one of claims 1 to 5 in a CNC vertical lathe.
Citation Information
Patent Citations
Disturbance suppression and high-precision tracking control method for brushless direct current motor servo system
CN111585475A
Permanent magnet synchronous motor (PMSM) servo system control method based on fuzzy and active disturbance rejection control
CN103401501A
Prediction-function-based variable-domain fuzzy PI control method of alternating current servo motor
CN111007716A
Vehicle road wheel fuzzy logic control system and method of implementing a fuzzy logic strategy for same
GB0226629D0
