Short Communication - (2018) Volume 7, Issue 1
The objective from this paper is to design speed controller for DC motors by choice of a PID factors using Diverse Methods Ziegler and Nichols (ZN), Genetic Algorithm (GA), Modified Adaptive Acceleration Particle Swarm Optimization (MAACPSO) and Adaptive Neuro-Fuzzy Inference System (ANFIS). All of tuning methods for parameters of PID controller will be compared based on improved performance and effectiveness over them.
Keywords: DC motor; Ziegler Nichols (ZN); Genetic Algorithm (GA); Particle Swarm Optimization (PSO); PID controller; ANFIS
Proportional-Integral Derivative (PID) controllers have been largely used for speed control of DC motor [1-6]. The paper attainment is to design a control system using numerous techniques of intelligence controller. Particle Swarm Optimization (PSO) is one of the most influential stochastic optimization techniques [1]. It has lately involved more care due to its fast conjunction and algorithmic accurateness compared to other optimization methods. Several improved Algorithms of PSO have been developed in latest years by many researchers to find the best estimated solution [5,8]. Furthermore, applying Adaptive Neuro Fuzzy Inference System (ANFIS) based on genetic algorithms and MAACPSO will be studied. An optimization can be reached; this can be seen by comparing the results of the GA optimized system and MAACPSO in contradiction of the Ziegler- Nichols tuned system.
Electric motors are used for a wide-ranging of industrial operation. As reference the construction for a shunt-type DC motor is exemplified in Figure 1 [1]. The equations describing the energetic behavior of the DC motor based on the diagram displayed on Figures 1 and 2.
Ziegler-Nichols method
The straight forward method is largely accepted method for tuning the PID controller [5,6] (Table 1).
Controller Type | Kp | Ki | Kd |
---|---|---|---|
PID | Ku/1.7 | Tu/2 | Tu/8 |
Table 1: Ziegler-Nichols tuning rule.
1. The integral and derivative parameters (gains) will be set to zero.
2. Slowly increase the proportional coefficient from zero to until the system just begins to oscillate continuously (sustained oscillation).
3. The proportional coefficient at this point is called the Ultimate gain (Ku).
4. However, the period of oscillation at this point is called Ultimate period (Tu).
The ultimate gain Ku=84 and the ultimate period Tu=0.15 sec where Kp=49.41, Ki=0.075 and Kd=0.01875. The output response is displayed in Figure 3. The block diagram of PID controller using ZN is shown in Figure 4.
Genetic algorithm [GA]
GA has been recognized as an effective technique for optimization problems [7-9]. GA starts with an initial population containing several chromosomes. This algorithm is reiterated for many generations and finally stops when reaching individuals that represent the optimum solution to the problem (Table 2). The Genetic Algorithm Process Architecture is illustrated in Figure 5 and output response is displayed on Figure 6.
Parameters | Gains |
---|---|
Kp | 19.8 |
Ki | 0.137 |
Kd | 0.557 |
Table 2: The GA based PID controller gain values.
Modified adaptive acceleration particle swarm (MAACPSO)
In this modification, the first choice for the value of C1 which designated in the last section will be kept. Therefore, C1 will be changed exponentially (with inertia weight) in the time, with respect to their minimal and maximal values. The other one C2 changes as a factor of the first coefficient [10,11].
The presentation of each particle is evaluated using fitness (cost) function as obtainable. The o/p response for MAACPSO in Figure 6 block diagram is displayed in Figure 7. The results of the program using MAACPSO with IAE is itemized in Table 3.
No. of Iteration | Kp | Ki | Kd | Settling time | IAE |
---|---|---|---|---|---|
200 | 1.9333 | 1.1951 | 0.4905 | 2.7028 | 0.0492 |
Table 3: The results of the program using MAACPSO with IAE are itemized.
Adaptive Neuro –Fuzzy inference system
It is a combination between an Artificial Neural Network (ANN) with a Fuzzy Inference System (FIS). It is functionally equivalent to FIS [12,13].
To find the optimal parameters of Fuzzy Logic, ANN is used for this optimization via extensive training. The final product is Fuzzy Logic which be exported to the simulation of the system using SIMULINK [14].
These tools apply fuzzy inference techniques to data modelling [14,15] The form of the membership functions be contingent on parameters. Membership function parameters were chosen automatically using these Fuzzy Logic Toolbox Applications Fuzzy Logic Tool box software calculates the membership function parameters that best allow the associated fuzzy inference system to track the given input/output data. The ANFIS toolbox after training data is illustrated in Figure 8. Then, fuzzy logic controller based on ANFIS like PID controller the block diagram for the system is given in Figure 9 and output response is displayed in Figures 10 and 11.
Mp is around zero, Ts is about 0.8 sec. The comparisons of results for several methods for tuning PID controller for DC motor are showed with Table 4.
Tuning Method | Maximum overshoot | Settling Time (sec) |
---|---|---|
ZN | 0.06 | 1.3 |
GA | - | 0.9 |
ANFIS based GA | - | 0.6 |
ANFIS based MAACPSO | - | 0.8 |
Table 4: Comparison between ZN, GA, and ANFIS responses.
ZN has badly over shoot and largest settling time. The settling time and over shoot in case of using GA is better than ZN and solve its problem The settling time in case of using MAACPSO is smaller than its value by using PSO, AWPSO and AACPSO. ANFIS has many advantages like it is simple and easy to use compared with the other methods used in this study. Furthermore, it takes less time in the program running. ANFIS based MAACPSO and ANFIS based GA have smallest Settling Time and Overshoot than GA, PSO, and ZN. This comparative study indicate that the best type of the controller to have the small value of settling time and overshoot was made by ANFIS controller tuning by GA.