Pneumatic Rotary Actuator Position Servo System Based on ADE-PD Control

Abstract: In order to accurately control the rotation position of a pneumatic rotary actuator, the flow state of the gas and the motion state of the pneumatic rotary actuator in the pneumatic rotary actuator position servo system are analyzed in this paper. The mathematical model of the system and the experiment platform are established after that. An Adaptive Differential Evolution (ADE) algorithm which adaptively ameliorates the scaling factor and crossover probability in the process of individual evolution is proposed and applied to the parameter optimization of PD controller. The experimental platform is used to compare the controller with Differential Evolution (DE) algorithm and NCD-PID controller. Finally, the characteristics of the system are tested by increasing the inertial load. The experimental results illustrate that system using ADE-PD control strategy has greater position precision and faster response than using DE-PD and NCD-PID strategies, and shows great robustness.


Introduction
Pneumatic systems have been rapidly developed in industrial production because of the advantages of low cost, quick response, and great energy-saving [1][2][3].The pneumatic rotary actuator can realize the change of rotation angle, so it is widely used in the rotation of the mechanical arm, the rotation of the platform, the opening and closing of the valve, and so on [4].At present, the "two points" control method is the most common method to control the rotation position of a pneumatic rotary actuator, but it is difficult to realize the pinpoint at any position [5].The pneumatic servo control system can control the motion trajectory of the cylinder and make the positioning accurate and efficient, which has become a hot research topic in pneumatic technology [6].
Short working strokes and great friction of the pneumatic rotary actuator make it difficult to apply the control strategy of ordinary pneumatic actuator to the pneumatic rotary actuator [7].Scholars in various countries have made thorough studies of the servo control system of ordinary pneumatic actuator, but the research on rotation position control of the pneumatic rotary actuator is rare.Therefore, it is necessary to study the model establishment [8][9][10], parameter identification, and control strategy of the pneumatic rotary actuator deeply [11].
Many scholars utilized the feedback of the actuator's position signal or the two chamber pressure to control the position accuracy.Rad et al. [12] studied the method that the position precision was well controlled by position and pressure feedbacks of the actuator.Ren et al. [13] only used the feedback of the position of the actuator to realize the tracking control of the position by an Adaptive Backstepping Sliding Mode Control (ABSMC) method, which reduced the cost of the pneumatic system.
Adding the feedback of the pressure can solve the phenomenon of position slip caused by the dead zone of the proportional valve.By further testing the performance of widely-used proportional directional control valves, we conclude that the valve MPYE-5-M5-010-B has very high sensitivity with virtually no dead zone.Therefore, in this text, only the position signal is fed back to the controller, and then the result is output to the proportional valve, the fast and accurate response of the position can be realized.
The establishment of the model can lay a good foundation for the research [14][15][16][17], and the application of control algorithm is also particularly important.Proportional-Integral-Differential (PID) control is a typical representative of the classical control theory, which has the characteristics of a simple algorithm, good robustness, high reliability, and relatively easy adjustment.However, due to the serious nonlinearity of the pneumatic servo system, the simple classical PID cannot effectively control it.The scholars, based on PID control, added some intelligent algorithms to improve the control accuracy.BAI [18] established a mathematical model for the servo system of a vane rotary actuator, and three parameters of PID control are optimized by fuzzy controller.Ahn et al. [19] applied a pneumatic servo system to the PAM manipulator with artificial muscles and combined the traditional PID controller with the Neural Network (NN) to design a nonlinear Neural Network PID controller which did not need training in advance and adaptively adjusted the parameters.But, Fuzzy control has low control accuracy, and the structure of the neural network is too complex.These limit the application in practice.
At present, the development trend of pneumatic servo control systems is high efficiency and energy saving [20][21][22][23].Simplifying the structure of the system and controller and maintaining good control accuracy and stability [24] have broad prospects in industrial applications.Kaitwanidvilai et al. [25] applied Genetic Algorithm (GA) to the design of robust controller.By searching and evolving the parameters, the optimal solution was obtained, which made the system control effect better and more robust while simplifying the structure of controller.
To sum up, it is an effective method to optimize the three parameters of PID by using the intelligent algorithm.The Nonlinear Control Design (NCD) toolbox in MATLAB/Simulink has been able to optimize the three control parameters of the classic PID, which can be described as NCD-PID.However, there will still be greater errors and fluctuations.Therefore, this paper proposes an Adaptive Differential Evolution (ADE) algorithm to optimize the two parameters proportional and differential (PD), which can be expressed as ADE-PD.ADE-PD can adjust parameters adaptively only with the approximate range of the parameters.While using Differential Evolution (DE) algorithm to optimize proportional and differential, DE-PD, needs the appropriate parameters to ensure a relatively good result.The results of experiment show that system using ADE-PD control strategy has greater position precision and faster response than using DE-PD and NCD-PID strategies, and shows great robustness.

Experimental Set-Up
The rack and pinion pneumatic rotary actuator is the actuator of pneumatic servo control system.The composition and control principle of the system are described in Figure 1.
In Figure 1, the pneumatic connections are shown in solid lines and the electrical connections are expressed in dashed lines.The air compressor generates compressed air, and the gas flows through air filter, air regulator and air lubricator to become pure gas with stable pressure, which provides power for the pneumatic system.Rack and pinion pneumatic rotary actuator is placed horizontally, and the load is installed on the rotary table of it.Proportional directional control valve dominates flow direction and flow of the gas at the inlet and outlet to control the rotation angle of the rotary table.The rotary encoder transmits the rotation angle of actuator to the data acquisition card in Industrial Personal Computer (IPC) by transistor-to-transistor logic (TTL) levels.The TTL levels are calculated by the counter in data acquisition card.Therefore, the rotation angle of the actuator can be obtained.The host computer established by Labview calls the control strategy compiled by MATLAB/Simulink to deal with the difference between actual rotation angle and set rotation angle, and converts the result into 0-10 V voltage signals.Then the signals are transmitted to the proportional directional control valve to control actuator to reduce the deviation of rotation angle.The position of pneumatic rotary actuator is controlled accurately in the above process of real time control.
to the proportional directional control valve to control actuator to reduce the deviation of rotation angle.The position of pneumatic rotary actuator is controlled accurately in the above process of real time control.The experimental components are selected reasonably according to the principle of the system, and the experimental platform shown in Figure 2 is set up.Models and parameters of the main components are shown in Table 1.The experimental components are selected reasonably according to the principle of the system, and the experimental platform shown in Figure 2 is set up.Models and parameters of the main components are shown in Table 1.
to the proportional directional control valve to control actuator to reduce the deviation of rotation angle.The position of pneumatic rotary actuator is controlled accurately in the above process of real time control.The experimental components are selected reasonably according to the principle of the system, and the experimental platform shown in Figure 2 is set up.Models and parameters of the main components are shown in Table 1.

Modeling the System
Figure 3 is the schematic diagram of pneumatic rotary actuator controlled by proportional directional control valve.Chamber a of the rack and pinion pneumatic rotary actuator has two chambers in series, and so does chamber b.The proportional directional control valve is a 5/3-way valve with five symmetrical valve ports.The direction of the proportional valve spool moving toward the right is positive direction, in Figure 3.
It is assumed that the working medium is an ideal gas that satisfies the ideal gas state equation.The gas in the actuator is uniform and the parameters of each point in the chamber are equal.There is no leakage between the actuator and the environment or between the two chambers.Charge and discharge processes from the outside to the chambers are fast, and the flow of gas in the system has no friction loss and has no heat exchange with environment.Therefore, the flow process can be considered as a reversible adiabatic process, that is, the isentropic process [26].

Modeling the System
Figure 3 is the schematic diagram of pneumatic rotary actuator controlled by proportional directional control valve.Chamber a of the rack and pinion pneumatic rotary actuator has two chambers in series, and so does chamber b.The proportional directional control valve is a 5/3-way valve with five symmetrical valve ports.The direction of the proportional valve spool moving toward the right is positive direction, in Figure 3.
It is assumed that the working medium is an ideal gas that satisfies the ideal gas state equation.The gas in the actuator is uniform and the parameters of each point in the chamber are equal.There is no leakage between the actuator and the environment or between the two chambers.Charge and discharge processes from the outside to the chambers are fast, and the flow of gas in the system has no friction loss and has no heat exchange with environment.Therefore, the flow process can be considered as a reversible adiabatic process, that is, the isentropic process [26].

Mass Flow Throttling Equation
According to the basic theories of gas dynamics and thermodynamics, the mass flow passing through the port of proportional directional control valve is a function of independent variables which are the displacement x of proportional valve spool and the gas pressures a p , b p of two chambers of the actuator [27].The function can be written as:

Mass Flow Throttling Equation
According to the basic theories of gas dynamics and thermodynamics, the mass flow passing through the port of proportional directional control valve is a function of independent variables which are the displacement x of proportional valve spool and the gas pressures p a , p b of two chambers of the actuator [27].The function can be written as: where • M a denotes mass flow flowing into chamber a, • M b is mass flow flowing out from chamber b, f a , f a , f b , and f b are symbols of different equations.When the proportional valve spool moves in the positive direction, x ≥ 0, and chamber a is in charge state.The air supply is upflow, and chamber a is downflow.While chamber b is in discharge state, in which chamber b is upflow, and the environment is downflow.The mass flow flowing through chamber a and chamber b can be expressed by Equations ( 2) and (3) [28,29].
where C represents flow coefficient of orifice in proportional valve; W is geometric cross-sectional area gradient of orifice in proportional valve; and p a and p b are pressures of chamber a and b respectively; p s is supply pressure; p e is atmospheric pressure; R is gas constant; T s is ambient temperature; T b is gas temperature in chamber b; k is adiabatic index of ideal gas; and c 0 is critical pressure ratio.
According to Shearer's conclusion that the dynamic response of the system is independent of the initial position [30], the position i of the piston in proportional valve can be set as the initial position.At this point, the Equations ( 2) and (3) are linearized as Equation ( 4) by Taylor Formula.
where K ma and K mb are flow gains flowing through a port and b port of proportional valve, while K ca and K cb are flow-pressure coefficients correspondingly.where p ai and p bi stand for pressures of chamber a and b in working position i; T bi stands for temperature of chamber b in working position i; x i is displacement of proportional valve spool in working position i.
When the system is in the initial state, valve spool is in the middle position.The displacement of valve spool at this time is the same as the gap between spool and inwall of the valve, that is x i = x 0 .And equations T ai = T bi = T s and p ai = p bi are established.If the supply pressure p s and its temperature T s are given, T ai , T bi , p ai and p bi can be measured, and x 0 can also be tested experimentally.Therefore, K ma , K mb , K ca and K cb can be calculated by Equations ( 5)-( 8), respectively.
When the proportional valve spool moves in the negative direction, x < 0, and chamber a is in discharge state.Chamber a is upflow, and the environment is downflow.While chamber b is in charge state, in which air supply is upflow, and chamber b is downflow.The mass flow flowing through chamber a and chamber b can be replaced by Equations ( 9) and (10).
where T a is the gas temperature in chamber a.
Equation ( 4) is also applicable, but the values of K ma , K mb , K ca and K cb are changed.Equation ( 4) can be rewritten as the form of load flow, which is expressed by Equation (11).

Mass Flow Continuity Equation
According to the law of mass flow, the mass flow of the gas in chamber a and b is equal to the mass change of inflow and outflow of gas per unit time, respectively, which can be written as where M a and M b are masses of gas in chamber a and b; ρ a and ρ b are densities of gas in chamber a and b; and V a and V b are volumes of gas in chamber a and b.
If gas state equation ρ = p RT is substituted into Equation ( 12), we can obtain Equation (13).
According to the previous hypotheses, the temperature T and initial temperature T 0 in the whole process of the system satisfy the isentropic condition [31]: where p 0 is the initial pressure.We can get the derivative of Equation (14).
Substituting Equation ( 15) into (13) yields When the piston of pneumatic rotary actuator works near position i, it can be considered to make small changes near the position [27].By linearizing Equation ( 16), we obtain the increment of mass flow: where T ai stands for temperature of chamber a in working position i, V ai and V bi are volumes of gas of chamber a and b in working position i.After setting the initial position as an intermediate position, we take the total working volume of two chambers as 2V 0 , then the initial values are as follows: where p i stands for pressure of chambers in initial position i.
The displacement of the actuator piston is represented by y, and the effective area of the piston is represented by A. The rotation angle of the actuator is represented by θ, and the pitch diameter of the pinion is d f .Then there is the following relationship: We combine Equation (17) with Equation ( 18), and obtain

Mechanical Equation of the Pneumatic Rotary Actuator
From Newton's second law, we can get the moment balance equation of rack and pinion pneumatic rotary actuator [32]: where: m is mass of one piston of the actuator; J is moment of inertia of pinion; B is viscosity damping coefficient; M L is load moment; and M f is friction moment.

Block Diagram and Transfer Function of the Pneumatic Rotary Actuator
We set two parameters p L and K m , and p L = p a − p b , K m = K ma + K mb .By Laplace transform, Equations ( 11), (19), and (20) can be rewritten as: Appl.Sci.2018, 8, 406 The block diagram of the pneumatic rotary actuator system, shown in Figure 4, can be obtained by Equations ( 21)- (23).
The block diagram of the pneumatic rotary actuator system, shown in Figure 4, can be obtained by Equations ( 21)- (23).The transfer function of the pneumatic rotary actuator system can be derived directly by the block diagram: (1) After setting load moment M L , friction moment M f , and p b to zero, we obtain the transfer function from the displacement x of proportional valve spool to the output angle θ of pneumatic rotary actuator, which can be simplified as: where: gain natural frequency and damping ratio (2) After setting displacement x of proportional valve spool and p b to zero, we obtain the transfer function from M L + M f to the output angle θ of pneumatic rotary actuator, which can be predigested as: (3) After setting displacement x of proportional valve spool, load moment M L and friction moment M f to zero, we obtain the transfer function from the friction p b to the output angle θ of pneumatic rotary actuator, which can be simplified as (4) Total output of the pneumatic rotary actuator system is

Transfer Function of Proportional Directional Control Valve and Servo Amplifier
The natural frequency of the proportional directional control valve is 5~7 times larger than that of pneumatic rotary actuator.Hence, the proportional directional control valve responds quickly.Generally, its impact on the system can be ignored, and its transfer function can be regarded as a proportional link [33], which can be expressed by Equation (31).
where U(s) is the Laplace transform of the output voltage of servo amplifier; K v is gain of proportional directional control valve.The transfer function of the servo amplifier can be described as follows: where θ r (s) is the Laplace transform of the system input angle; K a is gain of servo amplifier.

Transfer Function of the System
From Equations ( 30)-( 32), the block diagram of the servo system shown in Figure 5 can be obtained.

Transfer Function of Proportional Directional Control Valve and Servo Amplifier
The natural frequency of the proportional directional control valve is 5~7 times larger than that of pneumatic rotary actuator.Hence, the proportional directional control valve responds quickly.Generally, its impact on the system can be ignored, and its transfer function can be regarded as a proportional link [33], which can be expressed by Equation (31). where

 
U s is the Laplace transform of the output voltage of servo amplifier; v K is gain of proportional directional control valve.The transfer function of the servo amplifier can be described as follows: where is the Laplace transform of the system input angle; a K is gain of servo amplifier.

Transfer Function of the System
From Equations ( 30)-( 32), the block diagram of the servo system shown in Figure 5 can be obtained.Then the open-loop transfer function of the system can be obtained by the block diagram of the pneumatic rotary actuator servo system.Then the open-loop transfer function of the system can be obtained by the block diagram of the pneumatic rotary actuator servo system.
The initial parameter values of the model can be obtained, and shown in Table 2.

Adaptive Differential Evolution (ADE) Algorithm
Differential Evolution (DE) algorithm is a global optimization method based on swarm intelligence, which intelligently optimizes the evolution of the population through mutation, crossover and selection among individuals [34].The idea of Differential Evolution (DE) algorithm is [35]: the initial individuals are randomly generated in the population, and the vector difference between any two individuals in the population is calculated; the vector difference is weighted according to a certain rule and summed up with the third individual to generate a new individual; if the fitness of the new individual is better than the target individual, the new individual will be used instead of the target individual to enter the next generation; otherwise, the old individual will continue the calculation of the next generation, so that the result will approximate to the optimal solution through the above iterative operation.
Adaptive Differential Evolution (ADE) algorithm ameliorates the scaling factor and crossover probability so that they can be adaptively changed during the iterative process, which improves the convergence precision and speeds up the convergence [36].Since Adaptive Differential Evolution (ADE) algorithm has fewer parameters, strong global convergence and rapid convergence [37], it is suitable for the parameters tuning of pneumatic rotary actuator servo system.
Adaptive Differential Evolution (ADE) algorithm contains the following four steps.

Generating the Initial Population
The population contains N p D-dimensional vectors, whose parameters are real numbers.The i-th vector of the g-th generation can be marked as x i,g .i = 1, 2, 3 . . .N p , g = 1, 2, 3 . . .G, where G is the maximum generation.x i,g = x j,i,g , j = 1, 2, 3 . . .D, where x j,i,g is j-th parameter of i-th vector.
The parent vector parameters x j,i,0 are randomly generated and can be described by Equation (34).
x j,i,0 = rand j (0, 1) where rand j (0, 1) is the random number generated in the interval [0, 1]; b U j and b L j are two D-dimensional initial vectors.The superscripts U and L denote the upper bound and lower bound, respectively.

Mutation Operation
After initialization, a population consisting of N p test vectors is produced by mutating the parent population.The mutation operation is to add a scalable difference between two randomly selected vectors to a third vector.Equation (35) shows how to combine three different and randomly selected vectors to produce a mutant vector v i,g .
where random indexes r 0 , r 1 , r 2 ∈ 1, 2, 3...N p .We adjust the value of the scaling factor F with a diminishing concave function.In the early stage of the algorithm, the value of F is larger, and there is a larger population space, so the local extremum is not easy to appear and the convergence precision is improved.In the latter part of the algorithm, the value of F is smaller, which helps to converge rapidly in the best range and increase the convergence rate [38].The scaling factor F can be given as: where F max is the maximum value of F; F min is the minimum value of F.

Crossover Operation
Cross operation makes use of the parameters copied from two different vectors to form the test vector u i,g .Cross operation compares the results of crossover probability CR to a uniform random number generator rand j (0, 1).If the random number is less than or equal to CR, the test parameter will inherit the mutant vector v i,g , otherwise the parameter will be copied from the vector x i,g .Cross operation can be described by: u i,g = u j,i,g = v j,i,g , rand j (0, 1) ≤ CR x j,i,g , rand j (0, 1) > CR (38) where v j,i,g is j-th parameter of i-th mutant vector, u j,i,g is j-th parameter of i-th test vector.
We use an increasing convex function to adjust the crossover probability, CR.In the initial stage of the algorithm, CR has a smaller value, and there is a larger population space, which improves the global convergence capability.In the latter part of the algorithm, CR takes a larger value and improves the convergence speed.The crossover probability, CR, can be given as: where CR max is the maximum value of CR; CR min is the minimum value of CR.

Selection Operation
If the target function value of the test vector is less than or equal to the target function value of the target vector, the test vector will enter the next generation, otherwise the target vector will enter the next generation.The target function can be represented by the symbol f c .So the number of vectors remains unchanged, and the fitness will be better or remain the same.The selection operation process can be expressed as follows: Operations of mutation, crossover, and selection were circulated in turn until the maximum number of evolutionary iterations, G, was reached.

ADE-PD Controller Design
The PD controller can make the system respond quickly and have little lag.So, it is used to optimize the control of the pneumatic rotary actuator servo system, and the parameters k p and k d of PD controller are tuned by Adaptive Differential Evolution (ADE) algorithm [39].The first order low pass filter is also used in the system in order to reduce other interferences of the measurement channel and ensure the stability of the deviation e(n).The schematic diagram of the control system with the ADE-PD controller is shown in Figure 6.The controller can be expressed in a time-discrete way [40].The relationship between the input and output signals of the first order low pass filter is: where   e n and   ' e n are input and output of the filter at the n-th sampling, n = 1, 2, 3…; filter coefficient , where P T is sampling period, and  is time constant.
The discrete PD algorithm can be expressed as:

T z n k e n e n e n k e n k e n e n T
where   . In order to obtain the satisfactory dynamic characteristics of the transient process, the discrete integral of time-weighted absolute value of the error (ITAE) is used as the minimum target function of the parameter selection.The square of the input is added to the target function, so as to prevent excessive control.The optimal index in the process of optimizing parameters p k and d k is given as: where Z is total points of sampling; 1 w and 2 w are weights.
In order to avoid overshoot, the penalty function is used, that is, once the overshoot is produced, the overshoot is added as one part of the optimal index.At this time, the optimal index is: The flowchart of optimizing parameters with Adaptive Differential Evolution (ADE) algorithm is described in Figure 7.The relationship between the input and output signals of the first order low pass filter is: where e(n) and e (n) are input and output of the filter at the n-th sampling, n = 1, 2, 3 . . .; filter coefficient α = 1 − e −T P /τ , where T P is sampling period, and τ is time constant.The discrete PD algorithm can be expressed as: where z(n) is output of the controller, T d is differential time constant, k p is proportional coefficient, and In order to obtain the satisfactory dynamic characteristics of the transient process, the discrete integral of time-weighted absolute value of the error (ITAE) is used as the minimum target function of the parameter selection.The square of the input is added to the target function, so as to prevent excessive control.The optimal index in the process of optimizing parameters k p and k d is given as: where Z is total points of sampling; w 1 and w 2 are weights.
In order to avoid overshoot, the penalty function is used, that is, once the overshoot is produced, the overshoot is added as one part of the optimal index.At this time, the optimal index is: where w 3 is weight, w 3 w 1 .
The flowchart of optimizing parameters with Adaptive Differential Evolution (ADE) algorithm is described in Figure 7.

Experiment and Analysis
The supply pressure of the experiment is 0.6 MPa, and the gas temperature is 20 °C.We select some parameters which are suitable for this system.The number of individuals is 30, the proportional coefficient p k is in the interval [−5, 20], the range of the differential coefficient d k is , where adding ranges of negative numbers can lead to better iterative processes, and cannot affect final results that are positive.The weights 1 w = 0.999, 2 w = 0.001, and 3 w = 10, and the evolutionary iterations G = 50.Sampling period P T is 1 ms.

Parameters Selection and Comparison with DE Algorithms
The DE-PD controller is used to control the system in the experiment firstly.When crossover probability CR is set to 0.6, we can obtain different trajectory curves of pneumatic rotary actuator by changing the value of scaling factor F to analyze the influence of parameter F on the system.Figure 8 shows different results of rotation positions of the actuator and cost functions Ii when F = 0.04, 0.05-1.4,1.6, and 1.8.It can be observed from Figure 8a that the overshoot and fluctuation of position curve are the least and almost unchanged when F is 0.05~1.4.Overly high or low F can affect the stability of the trajectory.Figure 8b reveals different convergent processes when F changes, and it verifies that the higher F is, the slower the convergence rate is.
In the same way, different trajectory curves are shown in Figure 9a when CR = 0.1, 0.3, 0.5~1.5, and 1.7 after F is set to 1.0.In the interval of CR [0.5,1.5], the overshoot and fluctuation of position curve are the least, and there are large fluctuations of rotation with other values of CR .From Figure 9b, we can also conclude that larger CR can make the convergence faster.

Experiment and Analysis
The supply pressure of the experiment is 0.6 MPa, and the gas temperature is 20 • C. We select some parameters which are suitable for this system.The number of individuals is 30, the proportional coefficient k p is in the interval [−5, 20], the range of the differential coefficient k d is [−1, 1], where adding ranges of negative numbers can lead to better iterative processes, and cannot affect final results that are positive.The weights w 1 = 0.999, w 2 = 0.001, and w 3 = 10, and the evolutionary iterations G = 50.Sampling period T P is 1 ms.

Parameters Selection and Comparison with DE Algorithms
The DE-PD controller is used to control the system in the experiment firstly.When crossover probability CR is set to 0.6, we can obtain different trajectory curves of pneumatic rotary actuator by changing the value of scaling factor F to analyze the influence of parameter F on the system.Figure 8 shows different results of rotation positions of the actuator and cost functions I i when F = 0.04, 0.05-1.4,1.6, and 1.8.It can be observed from Figure 8a that the overshoot and fluctuation of position curve are the least and almost unchanged when F is 0.05~1.4.Overly high or low F can affect the stability of the trajectory.Figure 8b reveals different convergent processes when F changes, and it verifies that the higher F is, the slower the convergence rate is.
In the same way, different trajectory curves are shown in Figure 9a when CR = 0.1, 0.3, 0.5~1.5, and 1.7 after F is set to 1.0.In the interval of CR [0.5,1.5], the overshoot and fluctuation of position curve are the least, and there are large fluctuations of rotation with other values of CR.From Figure 9b, we can also conclude that larger CR can make the convergence faster.Then another experiment is done with ADE-PD control by changing F max , F min , CR max , and CR min .Figure 10 shows different rotation positions with ADE-PD control and the trajectory of the actuator performs best when F max = 1.5, F min = 1.0,CR max = 0.9, and CR min = 0.6.We compare the curves controlled by ADE and DE in Figure 11, and come to a conclusion that position curve controlled by ADE-PD has smaller overshoot and fluctuation.

Comparison with NCD-PID Control
In the experiment, the PID controller optimized by NCD is also used to control rotation position and is compared with the ADE-PD controller.Firstly, the target angle is set as 10°.As shown in Figure 12, the response curve controlled by ADE-PD controller reaches peak in 0.101 s, and reaches the steady state in 0.355 s, and the steady state error is controlled within 0.1°.However, the peak time of the response curve controlled by NCD-PID controller is 0.95 s, and at the same time, the steady state error is 0.15°, and there are slight fluctuations throughout the process.So system based on ADE-PD control has greater position precision and faster response.If the input signals are changed to sinusoidal waves with different frequencies, we can obtain the trackings of the position.Figures 13-15 show comparisons of tracking curves when the frequency of sinusoidal signal is 5 rad/s, 10 rad/s, and 3 rad/s, respectively.As shown in Figure 13c, steady state error controlled by ADE-PD is 0.06°, while the error controlled by NCD-PID is 0.25°.In Figure 14c, the steady state error controlled by ADE-PD is 0.22°, and the error controlled by NCD-PID is 0.41°.Finally, the steady state error controlled by ADE-PD is 0.04°, while the error controlled by NCD-PID is 0.17° in Figure 15c.
By contrasting the errors in Figures 13c, 14c and 15c, we come to a conclusion that the control precision of the system becomes worse with the increase of the frequency of sinusoidal wave.And in Figures 12a, 13b, 14b and 15b, there are persistent fluctuations in steady state because of stickiness in the actuator when changing the direction of motion.The system based on ADE-PD control can reduce the occurrence of stickiness and has less errors and fluctuations as shown in Figures 12b 13c, 14c and 15c.

Comparison with NCD-PID Control
In the experiment, the PID controller optimized by NCD is also used to control rotation position and is compared with the ADE-PD controller.Firstly, the target angle is set as 10 • .As shown in Figure 12, the response curve controlled by ADE-PD controller reaches peak in 0.101 s, and reaches the steady state in 0.355 s, and the steady state error is controlled within 0.1 • .However, the peak time of the response curve controlled by NCD-PID controller is 0.95 s, and at the same time, the steady state error is 0.15 • , and there are slight fluctuations throughout the process.So system based on ADE-PD control has greater position precision and faster response.

Comparison with NCD-PID Control
In the experiment, the PID controller optimized by NCD is also used to control rotation position and is compared with the ADE-PD controller.Firstly, the target angle is set as 10°.As shown in Figure 12, the response curve controlled by ADE-PD controller reaches peak in 0.101 s, and reaches the steady state in 0.355 s, and the steady state error is controlled within 0.1°.However, the peak time of the response curve controlled by NCD-PID controller is 0.95 s, and at the same time, the steady state error is 0.15°, and there are slight fluctuations throughout the process.So system based on ADE-PD control has greater position precision and faster response.If the input signals are changed to sinusoidal waves with different frequencies, we can obtain the trackings of the position.Figures 13-15 show comparisons of tracking curves when the frequency of sinusoidal signal is 5 rad/s, 10 rad/s, and 3 rad/s, respectively.As shown in Figure 13c, steady state error controlled by ADE-PD is 0.06°, while the error controlled by NCD-PID is 0.25°.In Figure 14c, the steady state error controlled by ADE-PD is 0.22°, and the error controlled by NCD-PID is 0.41°.Finally, the steady state error controlled by ADE-PD is 0.04°, while the error controlled by NCD-PID is 0.17° in Figure 15c.
By contrasting the errors in Figures 13c, 14c and 15c, we come to a conclusion that the control precision of the system becomes worse with the increase of the frequency of sinusoidal wave.And in Figures 12a, 13b, 14b and 15b, there are persistent fluctuations in steady state because of stickiness in the actuator when changing the direction of motion.The system based on ADE-PD control can reduce the occurrence of stickiness and has less errors and fluctuations as shown in Figures 12b 13c, 14c and 15c.If the input signals are changed to sinusoidal waves with different frequencies, we can obtain the trackings of the position.Figures 13-15 show comparisons of tracking curves when the frequency of sinusoidal signal is 5 rad/s, 10 rad/s, and 3 rad/s, respectively.As shown in Figure 13c, steady state error controlled by ADE-PD is 0.06 • , while the error controlled by NCD-PID is 0.25 • .In Figure 14c, the steady state error controlled by ADE-PD is 0.22 • , and the error controlled by NCD-PID is 0.41 • .Finally, the steady state error controlled by ADE-PD is 0.04 • , while the error controlled by NCD-PID is 0.17 • in Figure 15c.
By contrasting the errors in Figure 13c, Figure 14c andFigure 15c, we come to a conclusion that the control precision of the system becomes worse with the increase of the frequency of sinusoidal wave.And in Figures 12a, 13b, 14b and 15b, there are persistent fluctuations in steady state because of stickiness in the actuator when changing the direction of motion.The system based on ADE-PD control can reduce the occurrence of stickiness and has less errors and fluctuations as shown in Figure 12b, Figure 13c, Figure 14c

Discussion on Increasing Inertia Load
The moment of inertia of the pneumatic rotary actuator itself is 1.678 × 10 −4 kg•m 2 , which can be increased by loading block on rotating platform.Tracking curves are shown in Figure 16 when moment of inertia is 3.2 × 10 −4 kg•m 2 , and the curves are shown in Figure 17 when moment of inertia is 4.5 × 10 −4 kg•m 2 .Figure 16a,b describe rotation positions tracking fixed value, while Figure 17a,b provide rotation positions tracking sinusoidal signal whose frequency is 5 rad/s.
From the results in Figures 12b, 16b, and 17b, we summarize that increasing the inertia load can increase the rotation fluctuation and error.And it can be observed from Equations ( 25) and ( 26) that increasing the moment of inertia will reduce natural frequency and damping ratio.Thereby it makes the error increase and even deviate from center, which is obtained from Figures 13c, 16d, and 17d.Even so, the system has relatively stable trajectories and tiny errors which are within 0.27°, and shows good robustness.

Discussion on Increasing Inertia Load
The moment of inertia of the pneumatic rotary actuator itself is 1.678 × 10 −4 kg•m 2 , which can be increased by loading block on rotating platform.Tracking curves are shown in Figure 16 when moment of inertia is 3.2 × 10 −4 kg•m 2 , and the curves are shown in Figure 17 when moment of inertia is 4.5 × 10 −4 kg•m 2 .Figure 16a,b describe rotation positions tracking fixed value, while Figure 17a,b provide rotation positions tracking sinusoidal signal whose frequency is 5 rad/s.
From the results in Figure 12b, Figure 16b, and Figure 17b, we summarize that increasing the inertia load can increase the rotation fluctuation and error.And it can be observed from Equations ( 25) and ( 26) that increasing the moment of inertia will reduce natural frequency and damping ratio.Thereby it makes the error increase and even deviate from center, which is obtained from Figure 13c, Figure 16d, and Figure 17d.Even so, the system has relatively stable trajectories and tiny errors which are within 0.27 • , and shows good robustness.

Discussion on Increasing Inertia Load
The moment of inertia of the pneumatic rotary actuator itself is 1.678 × 10 −4 kg•m 2 , which can be increased by loading block on rotating platform.Tracking curves are shown in Figure 16 when moment of inertia is 3.2 × 10 −4 kg•m 2 , and the curves are shown in Figure 17 when moment of inertia is 4.5 × 10 −4 kg•m 2 .Figure 16a,b describe rotation positions tracking fixed value, while Figure 17a,b provide rotation positions tracking sinusoidal signal whose frequency is 5 rad/s.
From the results in Figures 12b, 16b, and 17b, we summarize that increasing the inertia load can increase the rotation fluctuation and error.And it can be observed from Equations ( 25) and ( 26) that increasing the moment of inertia will reduce natural frequency and damping ratio.Thereby it makes the error increase and even deviate from center, which is obtained from Figures 13c, 16d, and 17d.Even so, the system has relatively stable trajectories and tiny errors which are within 0.27°, and shows good robustness.

Conclusions
In this paper, the pneumatic rotary actuator position servo system is studied and analyzed, and an experimental platform is set up.The motion laws of the rack and pinion pneumatic rotary actuator and the proportional directional control valve are analyzed.Starting from the flow of gas flowing through the proportional directional control valve and the motion state of the pneumatic rotary actuator, the basic equations of the actuator controlled by the valve are obtained and linearized near the middle position, and the mathematical model of the pneumatic rotary actuator is

Conclusions
In this paper, the pneumatic rotary actuator position servo system is studied and analyzed, and an experimental platform is set up.The motion laws of the rack and pinion pneumatic rotary actuator and the proportional directional control valve are analyzed.Starting from the flow of gas flowing through the proportional directional control valve and the motion state of the pneumatic rotary actuator, the basic equations of the actuator controlled by the valve are obtained and linearized near the middle position, and the mathematical model of the pneumatic rotary actuator is

Conclusions
In this paper, the pneumatic rotary actuator position servo system is studied and analyzed, and an experimental platform is set up.The motion laws of the rack and pinion pneumatic rotary actuator and the proportional directional control valve are analyzed.Starting from the flow of gas flowing through the proportional directional control valve and the motion state of the pneumatic rotary actuator, the basic equations of the actuator controlled by the valve are obtained and linearized near the middle position, and the mathematical model of the pneumatic rotary actuator is deduced.
Then the mathematical model of the whole system is obtained.The establishment of this model lays a foundation for the research of theory and experiment.
An Adaptive Differential Evolution (ADE) algorithm is proposed in this paper.In the process of individual variation, the values of scaling factor and crossover probability are adjusted by a decreasing concave function and an increasing convex function, respectively, which improves the accuracy and the speed of algorithm optimization.The ADE-PD controller is designed to control the pneumatic rotary actuator position servo system, and the experimental platform is used to select parameters, compare the controller with DE algorithm, and compare with PID controller by changing input signals.
Finally, the characteristics of the system are discussed by increasing the inertia load.The conclusions obtained from experiments can be summarized as follows: (a) Different values of F and CR can change the stability of the control.Rotation position controlled by ADE-PD has smaller overshoot and fluctuation than others controlled by DE-PD when F max = 1.5, F min = 1.0,CR max = 0.9, CR min = 0.6.(b) The control precision of the system becomes worse with the increase of the frequency of sinusoidal wave.And there are persistent fluctuations in steady state because of stickiness in the actuator when changing the direction of motion.The system based on ADE-PD control can reduce the occurrence of stickiness, and has greater position precision and faster response than NCD-PID control.(c) Increasing the moment of inertia will reduce natural frequency and damping ratio, and make the error increase and even deviate from center.Even so, the system has relatively stable trajectories and tiny errors, which shows great robustness.(d) Although a resonance is expected by the compressibility and the friction could cause a small displacement instability, a reasonable control can be obtained.

Figure 2 .
Figure 2. Experimental platform of pneumatic rotary actuator position servo system.

Figure 2 .
Figure 2. Experimental platform of pneumatic rotary actuator position servo system.

Figure 2 .
Figure 2. Experimental platform of pneumatic rotary actuator position servo system.

Figure 3 .
Figure 3. Schematic diagram of the valve-controlled actuator.

Mf
where a denotes mass flow flowing into chamber a, b M is mass flow flowing out from chamber bare symbols of different equations.

Figure 3 .
Figure 3. Schematic diagram of the valve-controlled actuator.

Figure 4 .
Figure 4. Block diagram of the pneumatic rotary actuator system.Figure 4. Block diagram of the pneumatic rotary actuator system.

Figure 4 .
Figure 4. Block diagram of the pneumatic rotary actuator system.Figure 4. Block diagram of the pneumatic rotary actuator system.

Figure 5 .
Figure 5. Block diagram of the pneumatic rotary actuator servo system.

Figure 5 .
Figure 5. Block diagram of the pneumatic rotary actuator servo system.

Figure 6 .
Figure 6.Schematic diagram of control system with ADE-PD controller.

Figure 6 .
Figure 6.Schematic diagram of control system with ADE-PD controller.

24 Figure 7 .
Figure 7. Flow chart of parameter tuning of ADE-PD controller.

Figure 7 .
Figure 7. Flow chart of parameter tuning of ADE-PD controller.

Figure 8 .Figure 9 .
Figure 8.Comparison of experimental results with changed F, (a) Rotation positions; (b) Cost functions Ii.

Figure 8 .Figure 9 .
Figure 8.Comparison of experimental results with changed F, (a) Rotation positions; (b) Cost functions Ii.

Figure 11 .
Figure 11.Comparison of curves controlled by ADE-PD and DE-PD.

Figure 12 .
Figure 12.Comparison of curves controlled by ADE-PD and NCD-PID: (a) Rotation positions and (b) Errors.

Figure 11 .
Figure 11.Comparison of curves controlled by ADE-PD and DE-PD.

24 Figure 11 .
Figure 11.Comparison of curves controlled by ADE-PD and DE-PD.

Figure 12 .
Figure 12.Comparison of curves controlled by ADE-PD and NCD-PID: (a) Rotation positions and (b) Errors.

Figure 12 .
Figure 12.Comparison of curves controlled by ADE-PD and NCD-PID: (a) Rotation positions and (b) Errors.

Figure 13 .Figure 14 .
Figure 13.Comparison of tracking curves when the frequency of sinusoidal signal is 5 rad/s: (a) Tracking curve controlled by ADE-PD; (b) Tracking curve controlled by NCD-PID; and (c) Errors.

Figure 13 .
Figure 13.Comparison of tracking curves when the frequency of sinusoidal signal is 5 rad/s: (a) Tracking curve controlled by ADE-PD; (b) Tracking curve controlled by NCD-PID; and (c) Errors.

Figure 13 .Figure 14 .Figure 14 .
Figure 13.Comparison of tracking curves when the frequency of sinusoidal signal is 5 rad/s: (a) Tracking curve controlled by ADE-PD; (b) Tracking curve controlled by NCD-PID; and (c) Errors.

Figure 15 .
Figure 15.Comparison of tracking curves when the frequency of sinusoidal signal is 10 rad/s: (a) Tracking curve controlled by ADE-PD; (b) Tracking curve controlled by NCD-PID; and (c) Errors.

Figure 15 .
Figure 15.Comparison of tracking curves when the frequency of sinusoidal signal is 10 rad/s: (a) Tracking curve controlled by ADE-PD; (b) Tracking curve controlled by NCD-PID; and (c) Errors.

Figure 15 .
Figure 15.Comparison of tracking curves when the frequency of sinusoidal signal is 10 rad/s: (a) Tracking curve controlled by ADE-PD; (b) Tracking curve controlled by NCD-PID; and (c) Errors.

Figure 17 .
Figure 17.Tracking curves when moment of inertia is 4.5 × 10 −4 kg•m 2 : (a) Rotation position tracking fixed value; (b) Error tracking fixed value; (c) Rotation position tracking sinusoidal signal; and (d) Error tracking sinusoidal signal.
amplifier [V/rad] K ca,cb flow-pressure coefficients K m sum of flow-pressure coefficient and flow gain K ma,mb flow gains flowing through a port and b port of proportional valve K T gain of pneumatic rotary actuator [rad/m] K v gain of proportional directional control valve [m/V] m mass of one piston in the actuator [kg] M a,b mass of gas in chamber a or b [kg] M f friction moment [N•m] M L load moment [N•m] • M a,b mass flow flowing into chamber a or flowing out from chamber b [kg/s] n sampling times N p the number of D-dimensional vectors p a,b pressure of chamber a or b [Pa] p ai,bi pressure of chamber a or b in working position i [Pa] p e atmospheric pressure [Pa] p L difference between p a and p b [Pa] p ssupply pressure [Pa] rand j (0,1)  random number generated in the interval [0,1]R gas constant = 287 [J/(kg•K)] t time [s] T 0 initial temperature [K] T a,b gas temperature in chamber a or b [K] T ai,bi temperature of chamber a or b in working position i [K] T d differential time constant T P sampling period [ms] T s ambient temperature = 293 [K] u i,g ; u j,i,g test vector; j-th parameter of i-th test vector U(s) Laplace transform of the output voltage of servo amplifier v i,g ; v j,i,g mutant vector; j-th parameter of i-th mutant vector V 0 value of the volume of gas [m 3 ] V a,b volume of gas in chamber a or b [m 3 ] V ai,bi volume of gas of chamber a or b in working position i [m 3 ] w 1,2,3 weights W geometric cross-sectional area gradient of orifice in proportional valve [m] x displacement of proportional valve spool [m] x 0 the gap between valve spool and inwall of the valve [m] x i displacement of proportional valve spool in working position i [m] x i,g ; x j,i,g the i-th vector of the g-th generation;j-th parameter of i-th vector y displacement of the actuator piston [m] the actuator [rad] θ x,M,p (s) Laplace transform of rotation angle of the actuator when input is x, M L + M f and p b θ r (s) Laplace transform of the system input angle ρ a,b density of gas in chamber a or b [kg/m 3 ] τ time constant ω 0 natural frequency [Hz]

Table 1 .
Models and parameters of main components.

Table 1 .
Models and parameters of main components.

Table 1 .
Models and parameters of main components.

Table 2 .
Values of model parameters.