The present invention belongs to the technical field of pneumatics, and in particular relates to an ultra-high precision pneumatic force servo system and an intelligent control parameter optimization method therefor.
With the development of technology, force servo systems have been widely used in the industrial field. Currently, high-precision force servo systems generally use an electric cylinder as an actuator. In a pneumatic force servo system, the control accuracy of pneumatic output force is not high due to complex friction generated by a common cylinder during movement. In order to solve this problem, the prior art such as documents “Study on Non-Friction Cylinder and High Precision Pneumatic Load System” and “Research on Key Technologies of Pneumatic Suspension System for Zero-Gravity Environment Simulation”, and patent CN 113700696 B disclose novel air-floating frictionless cylinders having different structures. Such cylinders have the characteristic of extremely low friction, and can theoretically achieve high-precision pneumatic output force control. However, these cylinders are all single-acting cylinders, and can only achieve force output in a single direction. The present invention intends to use the double-acting air-floating frictionless cylinder disclosed in the Chinese patent with application No. 201711223571.1 as an actuator of a pneumatic force servo system. Because of the independent air supply working manner of the cylinder, a frictionless state is not affected in a reversing process of the cylinder, allowing for alternating output of a high precision pushing force and a high precision pulling force. Given the use of an air-floating frictionless cylinder, the output force of the cylinder can be equivalent to the pressure in a cylinder chamber to be controlled.
Fuzzy PI control has the advantages such as simple algorithm, high efficiency of control and good robustness, and thus the present invention intends to use a fuzzy PI control algorithm to achieve high-precision control of pressure. However, in practical use, a trial-and-error method is often used to select parameters of a fuzzy PI controller, which results in great randomness in selection, and thus it is difficult to select more precise parameters, such that the control accuracy is not high. At present, simple manual random parameter tuning cannot meet the requirements for high precision control or even ultra-high precision control, and the rapid development of swarm intelligence algorithms provides an intelligent method for complex parameter tuning, that is, a set of optimal parameters are found by means of multiple iterations, thereby obtaining a satisfactory control effect as much as possible. Ant colony algorithm, genetic algorithm, and particle swarm algorithm are relatively common swarm intelligence algorithms. Among them, the particle swarm algorithm has the advantages such as simple implementation and few tuning parameters, and is thus widely applied in the field of optimization, and can solve the parameter selection problem of a fuzzy PI controller. However, the traditional particle swarm algorithm has the problems of being unable to effectively balance global search and local search, and being unable to effectively jump out when particles fall into local optima, which seriously affects the optimization efficiency and accuracy.
Therefore, how to provide an ultra-high precision pneumatic force servo system and an intelligent control parameter optimization method therefor is a problem to be solved urgently by a person skilled in the art.
The object of the present invention is to break the conventional view that a pneumatic actuating system cannot achieve ultra-high precision pneumatic output force control. To this end, the present invention provides an ultra-high precision pneumatic force servo system and an intelligent control parameter optimization method therefor.
In order to achieve the object above, the present invention adopts the following technical solutions:
Further, the maximum valve port opening of the two-position three-way solenoid valve I and the two-position three-way solenoid valve II is larger than or equal to the maximum valve port opening of the three-position five-way solenoid valve.
Further, the inner diameters of all air pipes between the three-position five-way solenoid valve and the chamber of the air-floating frictionless cylinder are greater than the nominal diameters of the two-position three-way solenoid valve I, the two-position three-way solenoid valve II, and the three-position five-way solenoid valve.
An intelligent control parameter optimization method for the ultra-high precision pneumatic force servo system, wherein the small air tank I and the rodless chamber of the air-floating frictionless cylinder form the controlled chamber I, the small air tank II and the rod chamber of the air-floating frictionless cylinder form the controlled chamber II, the high-precision pressure sensor I and the high-precision pressure sensor II feedback pressure information of the chamber I and pressure information of the chamber II, respectively, to the industrial personal computer by means of the data acquisition card, the industrial personal computer executes respective fuzzy PI control algorithms and then outputs voltage signals to the three-position five-way solenoid valve by means of the data acquisition card, and wherein control parameters of the fuzzy PI control algorithms are optimized by a novel improved particle swarm algorithm, and the steps are as follows:
Further, in step S3, the objective function is selected as follows: in a system step response rising stage, the stage being set to be the first T1 seconds, an ITAE evaluation index function is used; when the system enters a steady state stage, the stage being set to be T1 to T2 seconds, an ITSE evaluation index function is used; the specific expression is:
Further, the method further comprises: integrating a penalty function into the objective function, specifically as follows: when a certain particle does not complete a system step response rising stage in T1 seconds, stopping the present control and sentencing the particle to “death”, i.e. giving an extremely poor fitness value to the particle; when the input voltage of the three-position five-way solenoid valve reaches 0V or 10V three times, determining that the system oscillates at this time, and stopping the present control and sentencing the particle to “death”.
Further, the iterative optimization process in step S4 is as follows:
The velocity update formula and the novel position update formula in step S45 are as follows:
Further, parameters w, c1, c2, and σu in the novel position update formula are self-adaptive by means of a fuzzy control system, specifically as follows: the number of iterations t and the maximum difference weight λimax(t) are taken to be input variables, multiplied by corresponding quantization factors Qt and Qλ and then inputted into a fuzzy system, and are fuzzified and then multiplied by proportion factors Pw, Pc1, Pc2, and Pσu, and then increments Δw, Δc1, Δc2, and Δσu are outputted, and the parameters w, c1, c2, and σu can be obtained by means of the following formula:
The domains of variables t, λimax(t), Δw, Δc1, Δc2, and Δσu are all set to be [0, 6], and quantization factors Qt and Qλ and proportion factors Pw, Pc1, Pc2, and Pσu are set to be 6/tmax, 6*rand, where rand is a random number within the range of [0,1], (1/6)*rand, 1/3, 1/3, and 1/(6*rand) respectively, and initial values w0, c10, and c20 are set to be 0.3, 0.5, and 0.5 respectively; if t/tmax<rand, the value of σu0 is cos(πt/tmax), where tmax is the maximum number of iteration; and if t/tmax≥rand, the value of σu0 is 1E-15.
Further, by performing ultra-high precision pressure control of the chamber I using the fuzzy PI control parameters of the chamber I system obtained by optimization based on the novel improved particle swarm algorithm, ultra-high precision pushing force output of the air-floating frictionless cylinder can be achieved; and by performing ultra-high precision pressure control of the chamber II using the fuzzy PI control parameters of the chamber II system obtained by optimization based on the novel improved particle swarm algorithm, ultra-high precision pulling force output of the air-floating frictionless cylinder can be achieved.
Further, by performing ultra-high precision pressure control of the chamber I and ultra-high precision pressure control of the chamber II alternately using the fuzzy PI control parameters of the chamber I system and the fuzzy PI control parameters of the chamber II system obtained by optimization based on the novel improved particle swarm algorithm, alternating output of an ultra-high precision pushing force and an ultra-high precision pulling force of the air-floating frictionless cylinder can be achieved.
The ultra-high precision pneumatic force servo system and the intelligent control parameter optimization method therefor proposed in the present invention have the following beneficial effects compared with the prior art:
1. The pneumatic actuator used in the present invention is a novel air-floating frictionless cylinder with independent air supply, and the cylinder avoids the effect of friction on the force servo control accuracy compared with an ordinary cylinder; in addition, because of the independent air supply working manner of the cylinder, a frictionless state is not affected in a reversing process of the cylinder, and compared with the existing single-acting air-floating frictionless cylinders, the cylinder can achieve alternating output of a pushing force and a pulling force.
2. The present invention proposes a novel improved particle swarm algorithm, which remedies the defects of traditional particle swarm algorithm being unable to effectively balance exploration capability and exploitation capability and being unable to effectively jump out local optima; in addition, the present invention achieves fuzzy PI pressure controller parameter optimization of a pneumatic force servo system using this algorithm, and this can avoid the problem of not high control accuracy due to the randomness and subjectivity of parameter tuning by means of a trial-and-error method, thereby finally achieving the ultra-high precision force control of an air-floating frictionless cylinder.
3. In the present invention, in fuzzy PI pressure control parameter optimization based on the novel improved particle swarm algorithm, corresponding penalty mechanisms are established for a particle with poor control accuracy and for a particle generating oscillation, respectively. In this way, experiment optimization time can be effectively reduced, and the operation can be stopped in time when the system oscillates, thereby prolonging the service life of an experimental device.
The technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are only some rather than all of the embodiments of the present invention. All the other embodiments obtained by a person skilled in the art on the basis of the embodiments of the present invention and without inventive effort shall belong to the scope of protection of the present invention.
With reference to
The compressed air generated by the air source 17 is delivered to the large air tank 19 by means of the action of the pressure relief valve III 18, so as to provide compressed air for each pneumatic branch; the pressure relief valve I 11, the small air tank III 12, the air dryer 13, and the precision filter 14 constitute a branch I for supplying air to an air bearing of the air-floating frictionless cylinder 10, and the pressure relief valve II 15 and the small air tank IV 16 constitute a branch II for supplying air to an air-floating piston of the air-floating frictionless cylinder 10, thereby causing the air-floating frictionless cylinder 10 to work normally.
The upstream end of the three-position five-way solenoid valve 3 is connected to the large air tank 19 as a branch III; two ports of the three-position five-way solenoid valve 3 are connected to the small air tank I 5 and the small air tank II 8, respectively, by means of the two-position three-way solenoid valve I 4 and the two-position three-way solenoid valve II 7; the maximum valve port opening of the two-position three-way solenoid valve I 4 and the two-position three-way solenoid valve II 7 should be larger than or equal to the maximum valve port opening of the three-position five-way solenoid valve 3, for the purpose of not affecting an intake air flow. The small air tank I 5 and a rodless chamber of the air-floating frictionless cylinder 10 form a controlled chamber I, and the small air tank II 8 and a rod chamber of the air-floating frictionless cylinder 10 form a controlled chamber II; the inner diameters of all air pipes between the three-position five-way solenoid valve 3 and the chamber of the air-floating frictionless cylinder 10 should be greater than the nominal diameters of the two-position three-way solenoid valve I 4, the two-position three-way solenoid valve II 7, and the three-position five-way solenoid valve 3, and the aspect ratio of all the air pipes should be as small as possible to reduce the frictional pressure loss. The high-precision pressure sensor I 6 and the high-precision pressure sensor II 9 feedback pressure information of the chamber I and pressure information of the chamber II, respectively, to the industrial personal computer 1 by means of the data acquisition card 2, and the industrial personal computer 1 executes respective fuzzy PI control algorithms and then outputs voltage signals to the three-position five-way solenoid valve 3 by means of the data acquisition card 2.
The fuzzy PI pressure control parameters are optimized by a novel improved particle swarm algorithm, and the steps are as follows:
In addition, a penalty function is integrated into the objective function; when a certain particle does not complete a system step response rising stage in T1 seconds, the present control is stopped and the particle is sentenced to “death”, i.e. an extremely poor fitness value is given to the particle; when the input voltage of the three-position five-way solenoid valve reaches 0V or 10V three times, it is determined that the system oscillates at this time, the present control is stopped and the particle is sentenced to “death”.
S4: with reference to
The formula of random numbers u and v conforming to Gaussian distribution introduced in the improved particle swarm update formula is:
In order to realize self-adaptive tuning of parameters w, c1, c2, and σu, the fuzzy theory is integrated into the novel improved particle swarm optimization algorithm, specifically comprising:
Specifically, quantization factors Qt and Qλ and proportion factors Pw, Pc1, Pc2, and Pσu are set to be 6/tmax, 6*rand (where rand is a random number within the range of [0,1]), (1/6)*rand, 1/3, 1/3, and 1/(6*rand) respectively, and initial values w0, c10, and c20 are set to be 0.3, 0.5, and 0.5 respectively; if t/tmax<rand, the value of σu0 is cos(πt/tmax) (where tmax is the maximum number of iterations); and if t/tmax≥rand, the value of σu0 is 1E-15; introducing random numbers into the control parameters of the fuzzy controller is to improve the diversity of particle movement during optimization. In the first half stage of optimization, initial value σu0 is set to be a function decreasing with the number of iterations, for the purpose of causing the algorithm to have a stronger exploration capability, and to have a higher tolerance for a particle far from the global optimum; in the second half stage of optimization, initial value σu0 is set to be a very small value, for the purpose of causing the algorithm to have a stronger exploitation capability.
For the proposed novel improved particle swarm algorithm, the algorithms in documents “Comparing inertia weights and constriction factors in particle swarm optimization” (PSO-LDIW), “Self-organizing hierarchical particle swarm optimizer with time-varying acceleration coefficients” (HPSO-TVAC), “Tracking and optimizing dynamic systems with particle swarms” (PSO-RIW), “A particle swarm optimization algorithm with random learning mechanism and Levy flight for optimization of atomic clusters” (RPSOLF), and “HEPSO: high exploration particle swarm optimization” (HEPSO) are selected for comparison and verification regarding the following two functions.
Multi-dimensional unimodal function:
the variable range is [−100, 100], the maximum number of iterations of each algorithm is set to be 2500, the population size of each algorithm is set to be 50, and the population dimension is set to be 30. Each optimization algorithm is independently operated 30 times, and the average value, the standard deviation, the optimal solution, and the worst solution of the results of the 30 times of optimization are recorded.
With reference to table 7 and
Multi-dimensional multimodal function:
the variable range is [−500, 500], the maximum number of iterations of each algorithm is set to be 2500, the population size of each algorithm is set to be 50, and the population dimension is set to be 30. Each optimization algorithm is independently operated 30 times, and the average value, the standard deviation, the optimal solution, and the worst solution of the results of the 30 times of optimization are recorded.
With reference to table 8 and
S5: The chamber I and the chamber II are taken as controlled objects, and optimization is performed to obtain respective optimized fuzzy PI control parameters.
When the pneumatic force servo system is required to output an ultra-high precision pushing force, the industrial personal computer 1 controls, by means of the data acquisition card 2, the two-position three-way solenoid valve I 4 to switch to an open state, such that the three-position five-way solenoid valve 3 forms a passage with the chamber I, and at the same time, the two-position three-way solenoid valve II 7 is kept in a closed state, such that the chamber II is in communication with the atmosphere; then, a voltage control quantity is obtained by calculation using the built fuzzy PI controller of the chamber I system and chamber I control parameters obtained by optimization based on the novel improved particle swarm algorithm, and is outputted to the three-position five-way solenoid valve 3 by means of the data acquisition card 2 to execute ultra-high precision pressure control of the chamber I, such that ultra-high precision pneumatic pushing force output can be achieved.
When the pneumatic force servo system is required to output an ultra-high precision pulling force, the industrial personal computer 1 controls, by means of the data acquisition card 2, the two-position three-way solenoid valve II 7 to switch to an open state, such that the three-position five-way solenoid valve 3 forms a passage with the chamber II, and at the same time, the two-position three-way solenoid valve I 4 is in a closed state, such that the chamber I is in communication with the atmosphere; then, a voltage control quantity is obtained by calculation using the built fuzzy PI controller of the chamber II system and chamber II control parameters obtained by optimization based on the novel improved particle swarm algorithm, and is outputted to the three-position five-way solenoid valve 3 by means of the data acquisition card 2 to execute ultra-high precision pressure control of the chamber II, such that ultra-high precision pneumatic pulling force output can be achieved.
For this embodiment, parameter optimization will be verified using an experimental method.
In the experiment of this embodiment, the step response rising stage is 10 seconds, i.e. T1 is 10 seconds; the step response steady stage is 20 seconds, i.e. T2 is 30 seconds; a Keller PAA-33X pressure sensor is used as the pressure sensor, and a Festo MPYE-5-1/8LF-010 proportional directional valve is used as the three-position five-way solenoid valve.
The number of particles and the number of iterations of the novel improved particle swarm optimization algorithm are set to be 20, and the value of quantization factor Qe mainly depends on a control system and is set to be 80000. The optimization results are shown in table 9 and
In the experiment, air having a pressure of 0.4 MPa and air having a pressure of 0.2 MPa are supplied to the air bearing and the air-floating piston of the air-floating frictionless cylinder by the air supply branch I and the air supply branch II, respectively. In addition, the pressure in the rodless chamber of the air-floating frictionless cylinder is multiplied by an effective working area of the rodless chamber to obtain the output pushing force of the cylinder (the effective area is 807.2665 mm2 without considering a machining error). Continuous step pushing force control is performed on the pneumatic force servo system, and parameters obtained by optimization and rounding are used as the controller parameters, as shown in table 3.
With reference to
The present embodiment differs from embodiment I in that the ultra-high precision pressure control of the chamber I and the ultra-high precision pressure control of the chamber II are alternately performed using the fuzzy PI control parameters of the chamber I system and the fuzzy PI control parameters of the chamber II system obtained by optimization based on the novel improved particle swarm algorithm, such that the alternating output of the ultra-high precision pushing force and the ultra-high precision pulling force of the air-floating frictionless cylinder can be achieved. The details are as follows: the industrial personal computer 1 first controls, by means of the data acquisition card 2, the two-position three-way solenoid valve I 4 to switch to an open state, such that the three-position five-way solenoid valve 3 forms a passage with the chamber I, and at the same time the industrial personal computer 1 controls the two-position three-way solenoid valve II 7 to switch to a closed state so as to quickly evacuate air from the chamber II; and the fuzzy PI controller of the chamber I system optimized on the basis of the novel improved particle swarm algorithm is used to control the three-position five-way solenoid valve 3 to supply air to the chamber I for a period of time; then, the industrial personal computer 1 controls, by means of the data acquisition card 2, the two-position three-way solenoid valve II 7 to switch to an open state, such that the three-position five-way solenoid valve 3 forms a passage with the chamber II, and the industrial personal computer 1 controls the two-position three-way solenoid valve I 4 to switch to a closed state so as to quickly evacuate air from the chamber I; and the fuzzy PI controller of the chamber II system optimized on the basis of the novel improved particle swarm algorithm is used to control the three-position five-way solenoid valve 3 to supply air to the chamber II for the same period of time. In this way, alternating output of a pushing force and a pulling force is performed for one period, and a continuous alternating force can be outputted by repeating the action of this period.
Number | Date | Country | Kind |
---|---|---|---|
202310998837.9 | Aug 2023 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2023/140663 | 12/21/2023 | WO |