Abstract
The variable frequency pump controlled motor speed control system was presented based on genetic algorithm of PID parameter optimization method. The simulation results proved that the genetic arithmetic method after optimization of PID controller has better control characteristic than the conventional PID controller, it showed stronger adaptation and robustness for the model mismatch and the load disturbance, it fit with slow time-varying and load disturbances of inverter control of pump controlled motor speed regulating system. Using genetic algorithm was also pointed out the limitations of PID parameters of optimal variable frequency pump control motor speed regulating system.
Keywords
Introduction
Motor variable frequency speed regulation technology is changing the frequency of the power implement speed regulation of executing agency, the technology of frequency control of motor speed is used in the hydraulic system, it can overcome some disadvantages of hydraulic system, such as simplifying hydraulic pressure loop, reducing the energy loss of hydraulic system, improving the efficiency of system, reducring noise, etc. The most important one is to reduce the energy loss of hydraulic system (including the overflow loss and throttling loss), improve the efficiency of the whole system.
The traditional PID controller is with the certain advantages of its simple structure, the robustness for the model error and easy to operate, despite at present there are so many advanced control method, but the PID controller is still the most widely used. In the PID control, the control effect depends on completely the setting of PID parameters and optimization. Regular setting way of PID parameters include cut-and-trial method or by some way setting, such as Ziegler Nichols setting method, the electric type self-tuning method and simplex method, etc. Using the conventional setting method are often empirical and not the optimal solution.
Genetic algorithm (GA) is a highly efficient global optimization algorithm, without any initial information, only according to the size of the fitness function value implement a genetic operation, it also has the characteristics of the multi-point parallel operation. Genetic Algorithm is used to optimize the PID parameters, it can obtain the global optimal or suboptimal solution. At present the GA are applied to the combinatorial optimization, the machine learning [1], the optimal control [2], and so on. In the field of hydraulic pressure drive control, the the application of GA is used in the hydraulic servo system [3], but for variable frequency hydraulic system, there is no literature to explore the application of GA. Many scholars at home and abroad have done a lot of research on the PID Contro of Pump-control-motor Speed Governing System [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33].
The principle diagram of the speed control system of variable frequency motor which is controlled by pump.
Figure 1 is the principle diagram of the speed control system of variable frequency motor which is controlled by pump. From the picture, the transfer function model can be list for Eq. (1) [34]:
In the equation,
If considering the possible of the mechanical connection between motor and pump gap, the nonlinear friction and compressibility of oil, the speed control system of variable frequency motor which is controlled by pump has always more or less certain delay, so the transfer function models can be revised to Eq. (2):
The role of the external load will make the movement speed of executive element much lower and the speed to the transfer function of the external load F can be represented as Eq. (3):
In the Eq. (3),
The GA was based on the theory of natural selection and genetic, the survival of the fittest laws in the biological evolution process are combined with the mechanism of internal chromosomes random information, the global parallel optimization search is done in the genetic space, and the convergence is obtained in the direction of the global optimal solution.
Coding and genetic operation
Due to the binary coding error exists, so do the real number encoding code, that is, each genes in the chromosome values is in real field. If real number coding is used, the mapping relationship is 1 between genetic space and the solution space, there is no mapping (that is, the encoding/decoding) error and the resulting reducing of GA precision. While coding in real number, the chromosomes are in the form of a vector. For the PID parameter optimization in genetic space, the j
Individual selection probability is determined by the ratio method, individual selection is closed by the roulette method.
Crossover operation takes single point arithmetic crossover operation. For example,
In the Eq. (5),
Mutation unconventional operation is took in this part. For the chromosome vector
Among them,
In this Eq. (8),
GA don’t need external information in the evolutionary search, it is only based on fitness function, the fitness value of each individual is used for the search. So it is very important for the selection of the fitness function, it can directly affect the convergence speed of the GA whether it can find the optimal solution. The determination of the objective function of the specific issues and the fitness function need to meet the requirements of single, continuous, nonnegative and maximizing.
ITAE is a comprehensive index, it reflects the weighted integral from the time
Because it is based on minimizing the goal, you need to convert it into the biggest form as a fitness function, it can define the fitness function it is Eq. (10):
The process of GA exploring PID parameters optimization algorithm is described below.
Randomly generate a certain initial scale group in a given domain. Calculate the fitness value of each individual in the population. Genetic operation: selection, crossover and mutation.
Choice: individual selection method is used by the roulette method choice, the choice probability is determined by proportion method. Cross: choose the single point arithmetic crossover operation. Variation: unconventional mutation. Ensure that whether the evolution algebra is got. If it is got, turn (1), other, the target was output, the process ends at the same time.
Above optimum algorithm evolution algebra serve directly as a condition of end, if the numerical value is too small, it may not be converge, it will increase the evolution numerical value. If only the population fitness value converge, the output target is the optimal solution of problem.
For a speed control system of variable frequency motor which is controlled by pump, the calculation is based on the theory of approximate, system model is obtained in Eq. (11):
GA was described above, it is used to do the PID parameter optimization for this model. it is used to determine the range of optimal parameters optimization, population size, the number of evolutionary generations and the upper limit of fitness function when we do the PID parameter optimization. The range of the optimal parameters
Population size is 30. Evolution algebra startes in 100, the simulation results is not convergent. The evolution algebra changes to 200, the simulation results is convergent, the target:
The simulation curve.
In order to contrast with the effect of conventional PID control, Fig. 2 also shows the simulation curve of the conventional PID control, which is shown in curve 3. With conventional method after repeating adjustment of PID parameters for:
In order to compare the adaptation of two groups PID parameters mode on the mismatch appearance, we increase the leakage, and adjust the parameters of the hydraulic system, the a model becomes Eq. (12):
The above two groups of PID parameters is used to simulate, the curve are respectively curves 2 and 4 of graph 2. Contrast curves 1 with 2, the rise time of curve 2 is increased about 0.5 s than Curve 1, overshoot volume is increased about 5. The rise time of curve 4 is increased 1 s than 3, overshoot volume is increased 15, this suggests that using GA optimization of PID parameters have showed stronger adaptability than the conventional method in the model mismatch.
The GA optimizing PID parameters is a kind of global search, so the range of PID parameters have given a great influence on the simulation results. Big scope is not easy to converge, and it may cause instability and cause the stagnation of the simulation. While simulation is taken, it is needed to combine with trial, in advance to determine the reasonable target scope. When only the evolution algebra is given as a condition of the end, the simulation time mainly is decided by evolutionary algebra, the population size and the given simulation time at the section, one of the biggest impaction was the evolution algebra. Evolution algebra is 200, population size is 30, the simulation time section is 40 s (see chart 2), the consumption time is 21 min. When ITAE index is used for a fitness function, every evolution generation is equal to the number experiments of the population size, such as population size is 30, the evolution algebra is 200, which is equivalent to 6000 times PID control experiment, so it is very difficult to do the on-line optimization for the actual object. The GA optimization effect of the parameters is used in the actual control object depends on the accuracy of the model. For the actual variable frequency hydraulic regulation speed system, due to some soft parameters, the system and the influence of uncertain factors, it is practically difficult to accurately establish the mathematical model of the object, So it is recommended that firstly do the off-line identification in advance to get more accurate mathematical model of the object, then to do the optimizing PID parameters of the GA.
The method of variable frequency motor is presented based on the genetic algorithm in this paper, the motor is controlled by pump speed control system of PID parameters optimization. The genetic operation of real-coded are introduced, the search process and realization of the optimization algorithm are researched. The simulation results prove that the GA optimization of variable frequency motor (which is controlled by pump speed control system PID parameters) is effective. Its effectiveness is that comparing with the conventional methods, it has better control characteristic parameters, it showed stronger adaptability and robustness in the conditions of the model mismatch and load disturbances. This method is very suitable for a slow time-varying system and load disturbance variable frequency motor which is controlled by pump speed control system. This article also pointed out the limitation of PID parameters using GA optimization in the system, it is recommended that we firstly do the off-line identification in advance to get more accurate mathematical model of the object, then to do the optimizing PID parameters of the GA. In addition, the GA optimization of PID parameter simulation related matters are discussed.
Footnotes
Acknowledgments
This work is partially supported by the National Natural Science Foundation of China under grant No. 61074147, the Natural Science Foundation of Guangdong Province under grant No. S2011010005059, the Foundation of Enterprise-University-Research Institute Cooperation from Guangdong Province and Ministry of Education of China under grant No. 2012B091000171 and No. 2011B090400460, the Science and Technology Program of Guangdong Province under grant No. 2012B050600028, No. 2014B010118004, No.2015A030401104 and No. 2016A050502060, the Science and Technology Program of Huadu District, Guangzhou under grant No. HD14ZD001, the Science and Technology Program of Guangzhou under grant No. 201604016055, the Nature Science Program of Jiaying University under grant No.2015KJZ05.
