Variable gain cross coupling control method for laser cutting machine tool
Through the combination of the variable gain cross-coupling control method and the ZPETC feedforward controller, the multi-population genetic algorithm is used to optimize the PID parameters, which solves the error problem caused by the difference in parameters of each axis of the laser cutting machine tool, and achieves high-precision contour control and following accuracy.
Patent Information
- Application Number
- CN202410627742.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-08-27
AI Technical Summary
It is difficult to effectively solve the contour errors and following errors caused by differences in parameters of each axis during the processing of laser cutting machine tools, and the existing control methods cannot meet high-precision requirements.
The variable gain cross-coupling control method is used, combined with the ZPETC feedforward controller and the composite controller with a capacitive height controller, and the PID controller parameters are optimized through a multi-population genetic algorithm to achieve error compensation and high-precision following control for each axis.
It significantly reduces the contour error, improves the following control accuracy of the Z-axis laser head, enables high-precision processing on non-linear paths, and avoids the algorithm falling into local optimality.
Smart Images

Figure CN118550248A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of control methods, and in particular to a variable gain cross-coupling control method for a laser cutting machine tool. Background Art
[0002] Laser cutting machines are widely used in the forming process of thin-walled parts, and have broad market prospects. At present, the control systems of domestic laser cutting machines still lag behind imported products in terms of laser head height rapid follow-up control and other aspects. Laser cutting machine tools are multi-axis CNC machine tools. Due to the influence of mechanical transmission, electrical control, dynamic response characteristics of servo systems, parameter matching of each axis, etc., contour errors and follow-up errors are often generated during processing, and contour accuracy is one of the most important indicators for determining the surface quality of parts. Among the current industrial controllers, more than half of the controllers use PID or deformed PID control. The effect of PID control depends on three parameters K P , K I , K D How to optimize these three parameters is extremely critical to the control effect.
[0003] At present, there are two main methods for motion control of laser cutting machines:
[0004] 1. The cross-coupling contour control method for two-axis coordinate linkage improves contour accuracy, but does not take into account the movement of the Z axis of the laser cutting machine, and the high-precision control effect is not ideal. At present, the algorithms of the cross-coupling controller (CCC) designed to improve contour errors are mostly limited to linear paths.
[0005] Second, the zero-phase following error control (ZPETC) method is used to reduce the single-axis tracking error and improve the contour error of the servo system. This method can only reduce the tracking error of a single axis, but cannot solve the contour error problem caused by the differences in gain parameters and dynamic parameters between the coordinate axes.
[0006] The variable gain cross-coupling controller is applied to the XY platform servo control system with single-axis independent feedback, and the tracking control of the nonlinear path can obtain better contour accuracy. The variable gain cross-coupling control performs instant compensation control on the errors of each axis. Its advantage is that there is no coupling problem in the system after using this controller, but it is not easy to determine the parameters of its cross-coupling regulator when the system is affected by various disturbances and in different contour tracking control movements, and the obtained contour accuracy does not meet the requirements of high-precision machining accuracy. Therefore, a method that can quickly find the best solution is needed to solve this problem. Summary of the invention
[0007] The purpose of the present invention is to provide a variable gain cross-coupling control method for a laser cutting machine tool to compensate for the parameter differences between the axes, thereby reducing the contour error generated during processing, and innovatively adopt a control method that combines a ZPETC feedforward controller and a composite controller with a capacitive height controller to improve the following control accuracy of the laser head of the Z axis.
[0008] In order to solve the above technical problems, a technical solution adopted by the present invention is:
[0009] A variable gain cross-coupling control method for a laser cutting machine tool comprises the following steps:
[0010] Step 1: The interpolation trajectory curve generated by the main controller of the laser cutting machine system obtains the reference position instructions of the motion controllers of the three drive axes respectively, and the motion controllers of the three drive axes respectively control the feed servo systems of the corresponding drive axes to work;
[0011] Step 2: Design a variable gain cross-coupling controller based on a multi-population genetic algorithm, search for the optimal parameter value of the PID controller in the variable gain cross-coupling controller, and complete the parameter tuning of the PID controller;
[0012] Step 3, the reference position instructions of the motion controllers of the drive axes corresponding to the X-axis and the Y-axis are respectively input into the variable gain cross-coupling controllers, and the variable gain cross-coupling controllers distribute the processed contour error compensation values to the control systems of the X-axis and the Y-axis, and together with the control outputs of the motion controllers on the corresponding axes, are processed by the transfer function of the mechanical transmission system of the corresponding axes, and synchronously control the feed servo systems of the X-axis and the Y-axis to work;
[0013] Step 4, the X-axis and Y-axis feed servo systems feed back the actual positions of the corresponding drive axes to the input ends of the corresponding motion controllers and variable gain cross-coupling controllers to form a closed loop, thereby improving the robustness of the coupling system and reducing synchronization errors;
[0014] Step 5: Design a zero-phase error tracking controller and a composite controller to achieve high-precision tracking control of the Z-axis. Specifically, the reference position command of the motion controller of the drive axis corresponding to the Z-axis is input into the zero-phase error tracking controller. The zero-phase error tracking controller offsets the unstable zero point of the system and compensates for the phase shift caused by the zero point to obtain the zero-phase trajectory error e. z , trajectory error e z The input is combined with the Z-axis position information collected by the compound controller. The control output of the compound controller is processed by the transfer function of the mechanical transmission system of the corresponding axis to control the Z-axis feed servo system to work;
[0015] Step 6: The Z-axis feed servo system feeds back the actual position of the Z-axis drive shaft to the input end of the compound controller to form a closed loop, thereby improving the robustness of the single-axis system and reducing synchronization errors.
[0016] Further, in step 2, the control process of the variable gain cross-coupling controller includes the following steps:
[0017] Step 2.1, obtain the reference position and actual position of the motion controller corresponding to the initial X-axis and Y-axis, so as to obtain the trajectory error of the corresponding axis;
[0018] Step 2.2, create a contour error model and obtain the contour error ε. The contour error model is as follows:
[0019]
[0020] In the formula, x i ,y i are the reference position instructions of the motion controller corresponding to the X-axis and Y-axis respectively, a ,y a are the actual positions of the X-axis and Y-axis respectively, e x 、e y are the trajectory errors of the X-axis and Y-axis, respectively, x , C y is the contour error distribution coefficient of the cross-coupled controller;
[0021] Step 2.3: Use a multi-population genetic algorithm to search for the optimal parameter values of the PID controller in the variable gain cross-coupling controller. Specifically, the three parameters K of the PID controller are p , K i and K d Set as the optimization object of the algorithm, and seek the optimal parameters through continuous iteration of the algorithm.
[0022] Furthermore, in step 2.3, the specific process of the multi-population genetic algorithm searching for the optimal parameter value of the PID controller in the variable gain cross-coupling controller is as follows:
[0023] Step 2.3.1. Create the parameters for initializing the population: the number of individuals M, the population size N, and the generation gap G gap , set the conditions for the termination of population iteration: the population iteration reaches the set maximum genetic generation number G M Or the minimum number of generations of the optimal individual to be maintained reaches the set value G M ;
[0024] Step 2.3.2: Use the fitness function of the individual as the objective function for parameter optimization, and evaluate the excellence of the individuals in the population by calculating the results of the fitness function;
[0025] Step 2.3.3, set the selection, crossover and mutation strategies of the multi-population genetic algorithm and the probability values of the corresponding strategies;
[0026] Step 2.3.4: After completing a fixed number of evolutionary generations, find the best individuals in each population through artificial selection and save them in the elite population. Through immigration, the worst individuals in the target population are replaced by the best individuals in the source population to form a new target population for the next evolutionary iteration.
[0027] Step 2.3.5: Determine whether the population evolution process meets the conditions for population iteration termination. If so, terminate the iterative optimization program. Otherwise, jump to step 2.3.3 and proceed in sequence to generate a new population, calculate the fitness of the individuals, update the optimal individual, and record the number of generations maintained by the optimal individual and the total genetic generation of the population.
[0028] Furthermore, in step 2.3.2, the error performance index ITAE is used as the individual fitness function:
[0029]
[0030] Where t is the number of generations of population iteration, and e(t) is the error of the population in the tth generation.
[0031] Furthermore, the transfer function of the mechanical transmission system of the corresponding axis is:
[0032]
[0033] In the formula, K pi is the proportional control parameter corresponding to the i-axis, τ i is the time constant corresponding to the i-axis, describing the response speed of the system, where i is X, Y, or Z.
[0034] Furthermore, the discrete closed-loop transfer function composed of the control object and the feedback controller is assumed to be:
[0035]
[0036] In step S5, the control equation of the designed zero phase error tracking controller is expressed as:
[0037]
[0038] In the formula, z -d is the d-step delay caused by the closed-loop system, B a (z -1 ) is a stable zero-point polynomial, B u (z -1 ) is an unstable zero-point polynomial, B u (1) is the polynomial Bu (z -1 ) at z = 1, A(z -1 ) is the characteristic polynomial of the system, which contains the poles of the system.
[0039] Furthermore, the composite controller is composed of the Z-axis controller and the capacitive height controller of the laser cutting machine system main controller, and the composite controller has two working modes:
[0040] Mode 1: When the laser cutting machine is working, the main controller controls the feed motion of the X-axis and Y-axis, and the capacitive height controller independently follows and controls the lifting motion of the Z-axis;
[0041] Mode 2: During laser cutting operations, the Z-axis controller and the capacitive height controller work together to control the lifting and lowering motion of the Z-axis. The capacitive height controller is responsible for collecting the position data signal of the Z-axis and transmitting the motion position control command to the Z-axis controller. The Z-axis controller controls the lifting and lowering motion of the Z-axis.
[0042] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0043] 1. The cross-coupling control method of a laser cutting machine with a height adjuster proposed in the present invention not only compensates for the adverse effects caused by the parameter differences between the axes and significantly reduces the contour error generated during processing, but also innovatively adopts a control method combining a ZPETC feedforward controller and a composite controller with a capacitive height adjuster to improve the follow-up control accuracy of the laser head on the Z axis;
[0044] 2. The invention proposes a multi-axis variable gain cross-coupling following control method for a machine tool with a height adjustment instrument. Based on the feedback information of each axis coordinate and the interpolation information, the variable gain cross-coupling controller (CCC) structure is used to adjust the controller gain value in real time according to the angle between the trajectory curve and the X-axis. The method can compensate for the coupling error of the nonlinear trajectory curve X and Y axes, realize the linkage contour error estimation of the two coordinates of the X and Y axes, distribute the contour error compensation to the two servo axes, solve the adverse effects of factors such as dynamic mismatch between the two axes on the contour accuracy, eliminate the parameter differences caused by the linkage of each axis, and thus achieve the purpose of reducing and eliminating the contour error.
[0045] 3. The invention proposes a multi-axis variable gain cross-coupled following control method for a machine tool with a height adjustment instrument, a variable gain cross-coupled controller (CCC), which uses a genetic algorithm to optimize the parameters of controllers at all levels in the system, thereby improving the accuracy of the optimal value and shortening the optimization time compared with the traditional controller; at the same time, because the genetic algorithm can change the controller form, for nonlinear curves, the optimal controller type and parameters can be quickly obtained without calculation, so that the platform servo system driven by the controller can meet the requirements of high-precision contour processing under the influence of problems such as relatively complex contour error model, nonlinear system dynamics and system uncertainty factors;
[0046] 4. The genetic algorithm uses a multi-population genetic algorithm (MPGA). Different from the single population evolution method of the standard genetic algorithm, it implements the simultaneous evolution of multiple populations and adds immigration operators and artificial selection operators to achieve individual communication and competition between populations, which is conducive to the coordinated evolution of multiple populations, thereby effectively avoiding the algorithm from falling into the local optimal situation. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a principle block diagram of the variable gain cross-coupling control system of the present invention;
[0048] Figure 2 It is the principle diagram of the multi-population genetic algorithm of the present invention;
[0049] Figure 3 It is a system discretization structure block diagram of the present invention;
[0050] Figure 4 It is a schematic diagram of the specific structure of the composite controller of the present invention;
[0051] Figure 5 It is a comparison chart of the actual X-axis and Y-axis trajectory results of the variable gain cross-coupling controller based on MPGA optimization and the ordinary PID controller;
[0052] Figure 6 This is a comparison chart of the X-axis tracking error results between the variable gain cross-coupling controller based on MPGA optimization and the ordinary PID controller;
[0053] Figure 7 This is a comparison chart of the Y-axis tracking error results between the variable gain cross-coupling controller based on MPGA optimization and the ordinary PID controller;
[0054] Figure 8 The comparison chart of the actual Z-axis trajectory results based on ZPETC and compound controller and ordinary PID controller;
[0055] Fig. 9 This is a comparison chart of the Z-axis tracking error results based on ZPETC and the composite controller and the ordinary PID controller. DETAILED DESCRIPTION
[0056] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0057] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0058] like Figure 1 As shown, a variable gain cross-coupling control method for a laser cutting machine tool comprises the following steps:
[0059] Step 1: The interpolation trajectory curve generated by the laser cutting machine system main controller obtains the reference position instructions of the motion controllers of the three drive axes respectively, and the motion controllers of the three drive axes respectively control the feed servo systems of the corresponding drive axes to work. This process is implemented by the existing main controller and will not be described in detail here. The control method of the present invention is to improve and optimize the control system structure and algorithm program based on the existing main controller. The following is a detailed description of the innovation of the present invention.
[0060] Step 2: Design a variable gain cross-coupling controller based on a multi-population genetic algorithm, search for the optimal parameter value of the PID controller in the variable gain cross-coupling controller, and complete the parameter tuning of the PID controller.
[0061] The control process of the variable gain cross-coupled controller includes the following steps:
[0062] Step 2.1, obtain the reference position and actual position of the motion controller corresponding to the initial X-axis and Y-axis, so as to obtain the trajectory error of the corresponding axis;
[0063] Step 2.2, create a contour error model and obtain the contour error ε. The contour error model is as follows:
[0064]
[0065] In the formula, x i ,y i are the reference position instructions of the motion controller corresponding to the X-axis and Y-axis respectively, a ,y a are the actual positions of the X-axis and Y-axis respectively, e x 、e yare the trajectory errors of the X-axis and Y-axis, respectively, x , C y is the contour error distribution coefficient of the cross-coupled controller.
[0066] When the cutting path is nonlinear, C x With C y It will change with the change of the angle θ between the tangent of the trajectory curve and the X-axis, and instantly compensate for the coupling error of the X-axis and the Y-axis, that is, variable gain cross-coupling control is realized. In actual production work, the trial and error method is usually used to determine the parameters of the variable gain cross-coupling controller, which not only requires the experience of professionals and a lot of time, but also the search results are not necessarily the optimal values of the system. Therefore, a fast and accurate optimization method is needed. The present invention uses a multi-population genetic algorithm (MPGA) to search for the optimal parameter value of the PID controller in the variable gain cross-coupling controller. The algorithm can change the controller form, and the PID controller can be divided into P, PI, PD, and PID forms, from which the best controller is selected, and it is no longer restricted to the PID form. The multi-population genetic algorithm is different from the single population evolution method of the standard genetic algorithm. It implements the simultaneous evolution of multiple populations, adds immigration operators and artificial selection operators to realize individual communication and competition between populations, which is conducive to the co-evolution of multiple populations, thereby effectively avoiding the situation where the algorithm falls into a local optimum.
[0067] Step 2.3: Use a multi-population genetic algorithm to search for the optimal parameter values of the PID controller in the variable gain cross-coupling controller. Specifically, the three parameters K of the PID controller are p , K i and K d Set as the optimization object of the algorithm, and seek the optimal parameters through continuous iteration of the algorithm.
[0068] like Figure 2 As shown, SGA represents the standard genetic algorithm operations such as selection, crossover, mutation, and reinsertion. The specific process of multi-population genetic algorithm searching for the optimal parameter value of the PID controller in the variable gain cross-coupling controller is as follows:
[0069] Step 2.3.1. Create the parameters for initializing the population: the number of individuals M, the population size N, and the generation gap G gap , set the conditions for the termination of population iteration: the population iteration reaches the set maximum genetic generation number G M Or the minimum number of generations of the optimal individual to be maintained reaches the set value G M ;
[0070] Step 2.3.2: Use the individual fitness function as the objective function for parameter optimization, and evaluate the excellence of individuals in the population by calculating the results of the fitness function. Use the error performance index ITAE as the individual fitness function:
[0071]
[0072] In the formula, t is the number of generations of population iteration, and e(t) is the error of the population at the tth generation.
[0073] Error of generation t
[0074] ITAE is the absolute value of the error multiplied by the integral of the time term over time. It can reflect both the size of the error (control accuracy) and the speed at which the error converges, taking into account both control accuracy and convergence speed.
[0075] Step 2.3.3, set the selection, crossover and mutation strategies of the multi-population genetic algorithm and the probability values of the corresponding strategies: the selection strategy adopts the roulette strategy commonly used in genetic algorithms; the crossover operation adopts the single-point crossover strategy, and the crossover probability Pc is 0.7 (generally between 0.7 and 1.0); the mutation operation adopts the site mutation strategy, and the mutation probability Pm is 0.03 (generally between 0.005 and 0.09). If the Pc and Pm values are too small, the best results will not be obtained, and if they are too large, they will not converge.
[0076] Step 2.3.4: After completing a fixed number of evolutionary generations, find the best individuals in each population through artificial selection and save them in the elite population. Through immigration, the worst individuals in the target population are replaced by the best individuals in the source population to form a new target population for the next evolutionary iteration.
[0077] Step 2.3.5: Determine whether the population evolution process meets the conditions for population iteration termination. If so, terminate the iterative optimization program. Otherwise, jump to step 2.3.3 and proceed in sequence to generate a new population, calculate the fitness of the individuals, update the optimal individual, and record the number of generations maintained by the optimal individual and the total genetic generation of the population.
[0078] The variable gain cross-coupled controller (CCC) uses genetic algorithms to optimize the parameters of each level of controller in the system. Compared with traditional controllers, it improves the accuracy of the optimal value and shortens the optimization time. At the same time, because the genetic algorithm can change the controller form, for nonlinear curves, the optimal controller type and parameters can be quickly obtained without calculation, so that the one-platform servo system driven by the controller can meet the requirements of high-precision contour processing under the influence of relatively complex contour error models, nonlinear system dynamics and system uncertainty factors.
[0079] Step 3, the reference position instructions of the motion controllers of the drive axes corresponding to the X-axis and the Y-axis are respectively input into the variable gain cross-coupling controllers, and the variable gain cross-coupling controllers distribute the processed contour error compensation values to the control systems of the X-axis and the Y-axis, and together with the control outputs of the motion controllers on the corresponding axes, are processed by the transfer function of the mechanical transmission system of the corresponding axes, and synchronously control the feed servo systems of the X-axis and the Y-axis to work;
[0080] The transfer function of the mechanical transmission system of the corresponding axis is:
[0081]
[0082] In the formula, K pi is the proportional control parameter corresponding to the i-axis, τ i is the time constant corresponding to the i-axis, describing the response speed of the system, where i is X, Y, or Z.
[0083] Step 4: The X-axis and Y-axis feed servo systems feed back the actual positions of the corresponding drive axes to the input ends of the corresponding motion controllers and variable gain cross-coupling controllers to form a closed-loop circuit, thereby improving the robustness of the coupling system and reducing synchronization errors.
[0084] On the basis of comprehensive feedback information and interpolation information of each axis coordinate, the controller gain value is adjusted instantly according to the angle between the trajectory curve and the X-axis through the variable gain cross-coupling controller (CCC) structure, which can compensate and control the coupling error of the X and Y axes of the nonlinear trajectory curve, realize the contour error estimation of the two-coordinate linkage of the X and Y axes, and distribute the contour error compensation to the two servo axes, which solves the adverse effects of factors such as dynamic mismatch between the two axes on the contour accuracy and eliminates the parameter differences caused by the linkage of each axis, thereby achieving the purpose of reducing and eliminating the contour error.
[0085] Step 5. Design a zero phase error tracking controller (ZPETC) and a composite controller to achieve high-precision tracking control of the Z axis. Since there is a lag between the input command and the output response during the tracking control of the Z axis of the laser cutting machine, there is a large phase error between the two signals. The basic idea of the zero phase error tracking controller (ZPETC) is based on zero-pole cancellation. For systems with unstable zero points, it can not only cancel out the unstable zero points, but also compensate for the phase shifts generated by these zero points, thereby obtaining zero phase error to improve the tracking accuracy of single-axis motion control.
[0086] like Figure 3 As shown, the discrete closed-loop transfer function composed of the control object and the feedback controller is:
[0087]
[0088] The control equation of the designed zero phase error tracking controller is expressed as:
[0089]
[0090] In the formula, z -d is the d-step delay caused by the closed-loop system, B a (z -1 ) is a stable zero-point polynomial, B u (z -1 ) is an unstable zero-point polynomial, B u (1) is the polynomial B u (z -1 ) at z = 1, A(z -1 ) is the characteristic polynomial of the system, which contains the poles of the system.
[0091] Figure 1 The specific structure of the composite controller is as follows: Figure 4 As shown, the composite controller is composed of the Z-axis controller of the main controller of the laser cutting machine system and the capacitive height controller. The capacitive height controller is set at the target test point of the Z-axis and can control the lifting and lowering of the Z-axis according to the height of the target test point in real time based on the capacitance signal collected by it while following the movement of the Z-axis. Therefore, the composite controller has two working modes:
[0092] Mode 1: When the laser cutting machine is working, the main controller controls the feed motion of the X-axis and Y-axis, and the capacitive height controller independently and accurately follows and controls the lifting motion of the Z-axis;
[0093] Mode 2: During laser cutting operations, the Z-axis controller and the capacitive height controller work together to control the lifting and lowering motion of the Z-axis. The capacitive height controller is responsible for collecting the position data signal of the Z-axis and transmitting the motion position control command to the Z-axis controller. The Z-axis controller controls the lifting and lowering motion of the Z-axis.
[0094] The specific control process is as follows: the reference position command of the motion controller of the drive axis corresponding to the Z axis is input into the zero phase error tracking controller, which offsets the unstable zero point of the system and compensates for the phase displacement caused by the zero point to obtain the zero phase trajectory error e z , trajectory error e z The input is combined with the Z-axis position information collected by the compound controller. The control output of the compound controller is processed by the transfer function of the mechanical transmission system of the corresponding axis to control the Z-axis feed servo system to work;
[0095] Step 6: The Z-axis feed servo system feeds back the actual position of the Z-axis drive shaft to the input end of the compound controller to form a closed loop, thereby improving the robustness of the single-axis system and reducing synchronization errors.
[0096] The present invention realizes high-precision following control of the Z-axis by designing a zero phase error tracking controller (ZPETC) and a composite controller. As a feedforward controller, the ZPETC improves the rapidity of dynamic response, eliminates the time delay effect, and improves the tracking accuracy of motion control. The composite controller has both a main controller that independently controls the lifting and lowering of the Z-axis and a capacitive height controller, which has two working modes, both of which can significantly improve the following control accuracy of the Z-axis laser head. Specific embodiment:
[0098] like Figure 5 As shown in the figure, assuming that the desired trajectory is a circle with a diameter of r = 0.08 m, that is, the position input instructions of the X and Y axes are X i =0.08sin2πt,Y i =0.08cos2πt, create the parameters for initializing the population: the number of individuals in the population is 60, the population size is 3, and the generation gap is 0.9, and set the conditions for terminating the population iteration: the population iteration reaches the set maximum genetic generation of 200 generations, and the minimum number of generations for the optimal individual to be retained reaches the set value of 150 generations.
[0099] The numerical simulation is carried out under the above parameters and the results are as follows: Figure 6 and Figure 7 As shown in the figure, compared with the variable gain cross-coupling control of ordinary PID, the actual trajectory of the X-axis and Y-axis under the variable gain cross-coupling control based on MPGA converges faster, with smaller trajectory tracking error, higher tracking accuracy, and certain robustness. It can also be seen from the speed of trajectory error convergence that the use of multi-population genetic algorithm (MPGA) to optimize the PID controller parameters in the system improves the accuracy of the optimal value and shortens the optimization time compared to the traditional controller.
[0100] Assume that the expected trajectory of the Z axis is like Figure 8 and Fig. 9 As shown, compared with the variable gain cross-coupling control of the ordinary PID, the actual track of the Z axis under the zero phase error tracking controller (ZPETC) and the composite controller of the present invention converges faster, has a smaller trajectory tracking error, higher tracking accuracy, and has a certain robustness. It can be seen from the figure that the curve of the latter has a better fit with the expected ideal curve, so the following control accuracy is significantly improved.
[0101] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A variable gain cross-coupling control method for a laser cutting machine tool, characterized in that: The following steps are involved: Step 1: The interpolation trajectory curve generated by the main controller of the laser cutting machine system obtains the reference position instructions of the motion controllers of the three drive axes respectively, and the motion controllers of the three drive axes respectively control the feed servo systems of the corresponding drive axes to work; Step 2: Design a variable gain cross-coupling controller based on a multi-population genetic algorithm, search for the optimal parameter value of the PID controller in the variable gain cross-coupling controller, and complete the parameter tuning of the PID controller; Step 3, the reference position instructions of the motion controllers of the drive axes corresponding to the X-axis and the Y-axis are respectively input into the variable gain cross-coupling controllers, and the variable gain cross-coupling controllers distribute the processed contour error compensation values to the control systems of the X-axis and the Y-axis, and together with the control outputs of the motion controllers on the corresponding axes, are processed by the transfer function of the mechanical transmission system of the corresponding axes, and synchronously control the feed servo systems of the X-axis and the Y-axis to work; Step 4, the X-axis and Y-axis feed servo systems feed back the actual positions of the corresponding drive axes to the input ends of the corresponding motion controllers and variable gain cross-coupling controllers to form a closed loop, thereby improving the robustness of the coupling system and reducing synchronization errors; Step 5: Design a zero-phase error tracking controller and a composite controller to achieve high-precision tracking control of the Z-axis. Specifically, the reference position command of the motion controller of the drive axis corresponding to the Z-axis is input into the zero-phase error tracking controller. The zero-phase error tracking controller offsets the unstable zero point of the system and compensates for the phase shift caused by the zero point to obtain the zero-phase trajectory error e. z , trajectory error e z The input is combined with the Z-axis position information collected by the compound controller. The control output of the compound controller is processed by the transfer function of the mechanical transmission system of the corresponding axis to control the Z-axis feed servo system to work; Step 6: The Z-axis feed servo system feeds back the actual position of the Z-axis drive shaft to the input end of the compound controller to form a closed loop, thereby improving the robustness of the single-axis system and reducing synchronization errors.
2. The variable gain cross-coupling control method for a laser cutting machine tool according to claim 1, characterized in that: In step 2, the control process of the variable gain cross-coupling controller includes the following steps: Step 2.1, obtain the reference position and actual position of the motion controller corresponding to the initial X-axis and Y-axis, so as to obtain the trajectory error of the corresponding axis; Step 2.2, create a contour error model and obtain the contour error ε. The contour error model is as follows: In the formula, x i ,y i are the reference position instructions of the motion controller corresponding to the X-axis and Y-axis respectively, a ,y a are the actual positions of the X-axis and Y-axis respectively, e x 、e y are the trajectory errors of the X-axis and Y-axis, respectively, x , C y is the contour error distribution coefficient of the cross-coupled controller; Step 2.3: Use a multi-population genetic algorithm to search for the optimal parameter values of the PID controller in the variable gain cross-coupling controller. Specifically, the three parameters K of the PID controller are p , K i and K d Set as the optimization object of the algorithm, and seek the optimal parameters through continuous iteration of the algorithm.
3. The variable gain cross-coupling control method for a laser cutting machine tool according to claim 2, characterized in that: In step 2.3, the specific process of multi-population genetic algorithm searching for the optimal parameter value of the PID controller in the variable gain cross-coupling controller is as follows: Step 2.3.
1. Create the parameters for initializing the population: the number of individuals M, the population size N, and the generation gap G gap , set the conditions for the termination of population iteration: the population iteration reaches the set maximum genetic generation number G M Or the minimum number of generations of the optimal individual to be maintained reaches the set value G M ; Step 2.3.2: Use the fitness function of the individual as the objective function for parameter optimization, and evaluate the excellence of the individuals in the population by calculating the results of the fitness function; Step 2.3.3, set the selection, crossover and mutation strategies of the multi-population genetic algorithm and the probability values of the corresponding strategies; Step 2.3.4: After completing a fixed number of evolutionary generations, find the best individuals in each population through artificial selection and save them in the elite population. Through immigration, the worst individuals in the target population are replaced by the best individuals in the source population to form a new target population for the next evolutionary iteration. Step 2.3.5: Determine whether the population evolution process meets the conditions for population iteration termination. If so, terminate the iterative optimization program. Otherwise, jump to step 2.3.3 and proceed in sequence to generate a new population, calculate the fitness of the individuals, update the optimal individual, and record the number of generations maintained by the optimal individual and the total genetic generation of the population.
4. The variable gain cross-coupling control method for a laser cutting machine tool according to claim 3, characterized in that: In step 2.3.2, the error performance index ITAE is used as the individual fitness function: Where t is the number of generations of population iteration, and e(t) is the error of the population in the tth generation.
5. A variable gain cross-coupling control method for a laser cutting machine tool according to any one of claims 1 to 4, characterized in that: The transfer function of the mechanical transmission system of the corresponding axis is: In the formula, K pi is the proportional control parameter corresponding to the i-axis, τ i is the time constant corresponding to the i-axis, describing the response speed of the system, where i is X, Y, or Z.
6. The variable gain cross-coupling control method for a laser cutting machine tool according to claim 1, characterized in that: Assume that the discrete closed-loop transfer function composed of the control object and the feedback controller is: In step S5, the control equation of the designed zero phase error tracking controller is expressed as: In the formula, z -d is the d-step delay caused by the closed-loop system, B a (z -1 ) is a stable zero-point polynomial, B u (z -1 ) is an unstable zero-point polynomial, B u (1) is the polynomial B u (z -1 ) at z = 1, A(z -1 ) is the characteristic polynomial of the system, which contains the poles of the system.
7. A variable gain cross-coupling control method for a laser cutting machine tool according to claim 1 or 6, characterized in that: The composite controller is composed of the Z-axis controller of the main controller of the laser cutting machine system and the capacitive height controller, and the composite controller has two working modes: Mode 1: When the laser cutting machine is working, the main controller controls the feed motion of the X-axis and Y-axis, and the capacitive height controller independently follows and controls the lifting motion of the Z-axis; Mode 2: During laser cutting operations, the Z-axis controller and the capacitive height controller work together to control the lifting and lowering motion of the Z-axis. The capacitive height controller is responsible for collecting the position data signal of the Z-axis and transmitting the motion position control command to the Z-axis controller. The Z-axis controller controls the lifting and lowering motion of the Z-axis.
Citation Information
Cited By
Bus type control system of numerical control laser cutting machine
CN121900297A
Bus type control system of numerical control laser cutting machine
CN121900297B
