Научная статья на тему 'OPTIMIZATION OF DC MOTOR SPEED CONTROL BASED ON FUZZY LOGIC-PID CONTROLLER'

OPTIMIZATION OF DC MOTOR SPEED CONTROL BASED ON FUZZY LOGIC-PID CONTROLLER Текст научной статьи по специальности «Электротехника, электронная техника, информационные технологии»

CC BY
303
57
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
FUZZY LOGIC / ELECTRIC MOTORS / DC MACHINE / DIFFERENTIAL GAIN / POWER SYSTEM / PID CONTROLLER / OPTIMIZATION TECHNIQUE / AND SELF-TUNING

Аннотация научной статьи по электротехнике, электронной технике, информационным технологиям, автор научной работы — Sheet Amer Farhan

In this paper the PID controller and the Fuzzy Logic Controller (FLC) are used to control the speed of separately excited DC motors. The proportional, integral and derivate (KP, KI, KD) gains of the PID controller are adjusted according to Fuzzy Logic rules. The FLC cotroller is designed according to fuzzy rules so that the system is fundamentally robust. Twenty-five fuzzy rules for self-tuning of each parameter of the PID controller are considered. The FLC has two inputs; the first one is the motor speed error (the difference between the reference and actual speed) and the second one is a change in the speed error (speed error derivative). The output of the FLC, i.e. the parameters of the PID controller, are used to control the speed of the separately excited DC Motor. This study shows that the precisiom feature of the PID controllers and the flexibllity feature of the fuzzy controller are presented in the fuzzy self-tuning PID controller. The fuzzy self - tuning approach implemented on the conventional PID structure improved the dynamic and static response of the system. The salient features of both conventional and fuzzy self-tuning controller outputs are explored by simulation using MATLAB. The simulation results demonstrate that the proposed self-tuned PID controller i.plementd a good dynamic behavior of the DC motor i.e. perfect speed tracking with a settling time, minimum overshoot and minimum steady state errorws.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «OPTIMIZATION OF DC MOTOR SPEED CONTROL BASED ON FUZZY LOGIC-PID CONTROLLER»

ISSN 2782-2001 Системы анализа и обработки данных том 83, № 3, 2021, с. 143-153

http://journals.nstu.ru/vestnik Analysis and data processing systems Vol. 83, No. 3, 2021, pp. 143-153

ИНФОРМАТИКА, ВЫЧИСЛИТЕЛЬНАЯ ТЕХНИКА И УПРАВЛЕНИЕ

INFORMATICS, COMPPUTER ENGINEERING AND CONTROL

yflK 62-503.56

DOI: 10.17212/2782-2001-2021-3-143-153

Optimization of DC motor speed control based on fuzzy logic-PID controller

A.F. SHEET

Iraq, Mosul, 18 Al. Menasa Street, Northern Technichal University dr.amefarhan@ntu.edu.iq

In this paper the PID controller and the Fuzzy Logic Controller (FLC) are used to control the speed of separately excited DC motors. The proportional, integral and derivate (KP, KI, KD) gains of the PID controller are adjusted according to Fuzzy Logic rules. The FLC cotroller is designed according to fuzzy rules so that the system is fundamentally robust. Twenty-five fuzzy rules for self-tuning of each parameter of the PID controller are considered. The FLC has two inputs; the first one is the motor speed error (the difference between the reference and actual speed) and the second one is a change in the speed error (speed error derivative). The output of the FLC, i.e. the parameters of the PID controller, are used to control the speed of the separately excited DC Motor. This study shows that the precisiom feature of the PID controllers and the flexibllity feature of the fuzzy controller are presented in the fuzzy self-tuning PID controller. The fuzzy self - tuning approach implemented on the conventional PID structure improved the dynamic and static response of the system. The salient features of both conventional and fuzzy self-tuning controller outputs are explored by simulation using MATLAB. The simulation results demonstrate that the proposed self-tuned PID controller i.plementd a good dynamic behavior of the DC motor i.e. perfect speed tracking with a settling time, minimum overshoot and minimum steady state errorws.

Keywords: Fuzzy Logic, Electric motors, DC machine, Differential gain, Power System, PID controller, Optimization technique, and Self-tuning

Electric motors play an important role in all areas of life, providing us with the mechanical capacity we need in many industries. It is also an indispensable part of our everyday life as most household appliances rely on electric motors. DC motors have a number of advantages that are not available in other engine types: they generate a high initial torque that makes them suitable in many applications and provide a wide range of speed. Their control methods are easy and low cost if compared with AC motors. In addition to these advantages, they are free from

INTRODUCTION

Статья получена 18 января 2021 г.

some disadvantages, as they require a constant source of power, as well as their need for early adopters to determine the primary impulse current. Many applications need to set the motor speed at a certain speed level, as well as obtain good response characteristics to speed and on this basis the need to build a control system to do this work emerged [1-3]. Many of its control systems used the proportional control - the differential - the differential (PID), the Fuzzy logic controller, and the Neural Networks Controller. The PID Controller is one of the most widely used in industrial applications. Some sources indicate that the control ratio of PID is more than 95 % in industrial applications. It is characterized by great durability. The dominant control combines the advantages of the dominant (PD) and control (PI) techniques, improving the response of the case and reducing the error of the fixation case to zero [4-6]. (Kp, K^, Kd) and a lack of sufficient flexibility to

adapt when the system is exposed to some external influences and its performance is affected when it is used to control the speed of motors due to the nonlinear characteristics of the motor, including the characteristics of saturation and friction. Due to the difficulty of dealing with a system that possesses nonlinear characteristics because it is not possible to create and deal with a mathematical model. Mamdani (1974) applied the logic of control systems. The advantage of using logic is its ability to control nonlinear systems that cannot be described as simple mathematical equations or to be described as a difficult process [7]. A reasonable technology was found to replace the traditional control technique (PID), which often requires a mathematical, not linear and complex, model. Reasonable logic has successful applications, especially in control systems, compared to the traditional control, which has great flexibility in design. The dominant control gives the designer the ability to control nonlinear systems, and the common logic uses the language knowledge (IF,..., THEN), which is based on human experience. From this point of view, this control was used to synthesize (PID) to suit all operating system conditions [8-11].

The dominant (PID) is one of the most traditional dominants used in industrial control processes. The PID is also one of the basic control techniques as it provides an easy and efficient solution to many real-time control problems. The PID controller has three types of gain, which can be set to obtain an acceptable response in output. These types are Kp, Ki, and Kd (2) [12-15].

where: KP: Proportional gain. KI: Complementary gain. Kd : Differential gain. The differential integrative proportional control equation is:

The three gain values can be tuned by trial and error, or using some of the available control rules such as the Zecler-Nikles method. Individual effects of the three gain values on the closed loop system performance can be summarized in Table 1 [16].

1. PID-CONTROLLER

(1)

Error

Signal + Signa1

Kp

KI/S

+

+ System to be

+ Control it

System output

KdS

Fig. 1. The mass plan of the differential integral proportional controller

Table 1

The effect of the gain values (Kp, Kd, K) on the system response

Increase the value Element Boarding Time (Tr) Stability Time (Ts) Evidence status (ess) Overflow limit (overshoot) Stability

Proportional (Kp) Less Increases slightly Less Increase Its effect is negative

Integrative (K) Slightly less Increase Much less Increase Its effect is negative

Differential (Kd) Slightly less Decrease Its effect is small Decrease Improves stability

2. FUZZY CONTROLLER

In 1974, the world introduced the Fuzzy Logic Controller (Fuzzy Logic Controller), whose logic was based on logic, as these controllers demonstrated their superior performance over traditional control systems because they do not rely on the mathematical equations of the process, (Transfer Function) of the control system, known or unknown, but depends on the human experience of the rules in the form of (If,..., Then). The set of rules that describe the performance of the system is called the rule base of the controlled ruler [17, 18].

FUZZY CONTROLLER STRUCTURE

The controlled rule consists of four basic parts as shown in Figure (2) [19, 20]:

1. Fuzzifier. The process of marginal input values is converted to values based on the input functions of each entry.

2. Fuzzy Inference Engine. This section analyzes the polarized laws and finds the set of output output based on the values of the pointed inputs.

3. Knowledge Base. This section includes the rule of law and the database.

4. Defuzzifier. The unit of conversion of the output of the bounded inference device to a limit value by performing one of the methods of de-fouling.

Fig. 2. Fuzzy dominant parts and structure

3. SELF-TUNING OF THE FUZZY SELF TUNING PID CONTROLLER

This control creates a relationship between the dominant control inputs and the gain coefficients of the PID based on the logic theory of the reasonableness in order to provide the best performance of the system response [21]. In this research, the proposed controlled control consists of two inputs, the error signal (e), the speed of reference and the speed of the motor) and the signal of change in the error (de), and consists of three outputs (Kp1, K^, and K^). Though the error signal

and error change of the controlled control work on the tuning of the PID (which is the initial values), Kp, Ki, and Kd) are calculated by the Zikler-Niklas Table.

Figure (3) illustrates this relationship the N dominant triple (PID Controller) and the controlling Almillb (Fuzzy Controller) [22].

Fig. 3. Controlled and finite control of triple control coefficients

Now the equation of the triple controller (PID) after the hybridization process with the fuzzy logic controller (Fuzzy logic controller) takes the form:

UPID = Kp2 • e(t) + Ki2 • e(t) + Kd2 {d^, (2)

where (Kp 2, K2, Kd 2) are the new gain coefficients after the link between PID and fuzzy controller:

Kp 2 = Kp1 • Kp, Ki 2 = Ki1 • Ki, Kd 2 = Kd1 • Kd.

where Kp, Kj, Kd, Kp1, K^, Kd are outputs of the fuzzy control that synthesize parameters (PID).

4. POWER SYSTEM

The power system consists of the DCMotor, the Buck Converter and the control system. The DC motor is of a separate type. The engine consists of a fixed part and the other moving part. The moving part contains the product files where the product voltage is changed by the changer circuit to obtain the required speed [23]. The Buck Converter is the modulator with which the Vo output voltage can be obtained less than the input voltage Vs [24]. This type of transformer is simple to install and work and can change the output voltage from a few voltages close to zero to the voltages in the changer [17, 25]. The control system consists of the PID and the Fuzzy logic control, which generates pulses based on the speed of the tube. These pulses are driven by the buck converter circuit to obtain the voltages that are placed on the product circuit. Figure (4) shows the mass diagram of the circuit in the Matlab program.

Fig. 4. The mass diagram of the circuit in the Matlab program

5. SIMULATION RESULTS

In this research, a differential integrative proportional control is designed based on the Zicler-Nikles scale. The gain values, which are considered as the initial value, are calculated as the tuning process of the controlled controller to obtain the best response to the speed of the engine which is Kp = 10.363, Kj = 471.07,

Kd = 0.057. The results of the comparison between the traditional triple control where the values of the gain elements were found by the Zikler-Nichols table and the self-tuning determinant of the gain elements of the triangular rule.

comparation between pid and fuzzy self tuning pid

RID

FUZZY PID

-50 -1-1-1-1-1-1-1- ' ' —1

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

time

Fig. 5. Motor speed response of the traditional triangular control and the triangular control

Table 2

The motor speed response elements of the traditional triangular control and triangular control

Speed reference 250 rpm Over shoot, % Error steady state, % Setting time (sec) Rise time (sec)

PID Controller 21.56 0 0.28 0.018

Fuzzy PID Controller 1.2 0 0.078 0.023

800 700 600 comparation between pid and fuzzy self tuning pid

J

f

-o 400 " 300 200 100 0 -100 f

f

j

7

/ - PID - FUZZY PID

0.1 0.2 0.3 0.4 0.5 0.6 0 7 0 8 0.9 time

Fig. 6. Motor speed response of the traditional triangular control and triangular control

Table 3

Motor speed response elements of the traditional triangular control and triangular control

Speed reference 750 rpm Over shoot, % Error steady state, % Setting time (sec) Rise time (sec)

PID Controller 0.83 0 0.12 0.045

Fuzzy PID Controller 0 0 0.1 0.052

Fig. 7. Motor speed response to the traditional triangular control (PID) where the reference speed has been changed from 250 to 500

Fig. 8. Speed response of the motor for the PID Fuzzy where the reference speed has been

changed from 250 to 500

Fig. 9. Motor speed response of the trigonometric control shows the fuzzy control

of the load

Fig. 10. The amplitude of the motor speed response of the trigonometric control with the fuzzy controlled control of a time load of 0.5sec

CONCLUSIONS

This research is designed to studiy the behavior of the control system of the triple (PID) type of controlling to control the speed of the DC motor type of separate excitation.Theses dominant features have many advantages, namely, it is solid, easy to understand and simple but it also has some problems, e.g. gain coefficients for obtaining good properties because each drive point has different coefficients that perform well for that point only. In this research, the Zicler-Nichols method was used to find the coefficients of the gain. The coefficients were found at a work point of 1000 rpm. Above, it was noted that the more (250). We notice a response to the speed of the motor to be compared to the response of the motor speed (750), where we note a good response to the proximity of the point of finding parameters to solve this problem. A Fuzzy PID is designed, where the logic is applied to the

tuning of the gain coefficients so that it produces good performance of the motor speed in all cases. This was proved by the results where the overshoot ratio was reduced to 250, which is far from the point of finding gain transactions in the manner of Z Layer of 21.56 % to 1.2 % through the Almillb logic the same operating conditions as well as the time of stability had reduced timesettling of 0.28 sec to 0.078 sec. The triple controlled control with the traditional triangular control was also tested with a change of the reference speed from 250 to 500 and a sudden load on the motor where the results showed the superiority and durability of the triangular controlled modulator in the logic of the traditional triangular control.

REFERENCES

1. Alsayed Y.M., Maamoun A., Shaltout A. High performance control of PMSM drive system implementation based on DSP real-time controller. Proceedings of the 2019 International Conference on Innovative Trends in Computer Engineering (ITCE), Aswan, Egypt, Febraury 2019, pp. 225-230.

2. Steffi Mary S., Mohammed Shaffi J. A review paper on speed control of DC Motor & Virtual Instrumentation. International Journal of Innovative Research in Computer and Communication Engineering, 2018 vol. 6 (2), pp. 1654-1657. - DOI: 10.15680/IJIRCCE.2018.0602091.

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

3. Zhang J., Wang N., Wang S. A developed method of tuning PID controllers with fuzzy rules for integrating process. Proceedings of the 2004 American Control Conference, Boston, 2004, vol. 2, pp. 1109-1114.

4. Ang K.H., Chong G., Li Y. PID control system analysis, design and technology. IEEE Transactionon Control System Technology, 2005, vol. 13, no. 4, pp. 559-576.

5. Li H.X., Tso S.K. Quantitative design and analysis of fuzzy proportional-integral-derivative control - a step towards autotuning. International Journal of System Science, 2000, vol. 31, no. 5, pp. 545-553.

6. Sooraksa P., Pattaradej T., Chen G. Design and implementation of fuzzy P2ID controller for handlebar control of a bicycle robot. Integrated Computer-Aided Engineering,, 2002, vol. 9, no. 4, pp. 319-331.

7. Tang W., Chen C., Lu R. de. A modified fuzzy PI controller for a flexible-joint robot arm with uncertainties. Fuzzy Set and System, 2001, vol. 118, pp. 109-119.

8. Fan L., Meng Joo E. Design for auto-tuning PID controller based on genetic algorithms. 4th IEEE Conference on Industrial Electronics and Applications (ICIEA 2009), Xi'an, China, 2009, pp. 1924-1928. DOI: 10.1109/ICIEA.2009.5138538.

9. Sabri S.S. Optimal fuzzy controller design for (Cuk) converter circuit using genetic algorithm. M.Sc thesis. University of Mosul. Mosul, Iraq, 2008.

10. Kumar R., Girdhar V. High performance fuzzy adaptive control for D.C. motor. International Journal of Engineering Research and Technology (IJERT), 2012, vol. 1, iss. 8,

11. Namazov M., Basturk O. DC motor position control using fuzzy proportional-derivative controllers with different defuzzification methods. Turkish Journal of Fuzzy Systems, 2010, vol. 1, no. 1, pp. 36-54.

12. Bansal U.K., Narvey R. Speed control of DC motor using fuzzy PID controller. Advance in Electronic and Electric Engineering, 2010, vol. 3, no. 9, pp. 1209-1220.

13. Grimholt C., Skogestad S. Optimal PID Control of double integrating processes. IFAC PapersOnLine, 2016, vol. 49 (7), pp. 127-132.

14. Suman S.K., Giri V.K. Investigation and implementation of genetic algorithm for speed control of DC motor based on PID controller. Journal of Engineering and Applied Sciences, 2017, vol. 100 (6), pp. 1428-1433.

15. Gubara W., Elnain M., Babiker S.F. Comparative study on the speed of DC motor using PID and FLC. IEEE Conference of Basic Sciences and Engineering Studies (SGCAC). Khartoum, Sudan, 2016, pp. 24-29.

16. Suman S.K., Giri V.K. Speed control of DC motor using optimization techniques based PID controller. IEEE International Conference on Engineering and Technology (ICETECH), Coimbatore, India, 2016, pp. 581-587.

17. Pimentel J.C.G., Gad E. An algebraic approach for the stability analysis of BLDC motor controllers. arXiv:2007.01387. 2020, pp. 1-12.

18. Lotfy A., Kaveh M., Mosavi M.R., Rahmati A.R. An enhanced fuzzy controller based on improved genetic algorithm for speed control of DC motors. Analog Integrated Circuits and Signal Processing, 2020, vol. 105, pp. 141-155. DOI: 10.1007/s10470-020-01599-9.

19. Mohamed M.E.A., Yanling G., Osman B.A.r., Mohamed A.A. Design of speed control system of DC motor based on PID tuning with fuzzy define weighting point. 2019 International Conference on Computer, Control, Electrical, and Electronics Engineering (ICCCEEE), Khartoum, Sudan, 2019, pp. 1-6. DOI: 10.1109/ICCCEEE46830.2019.9071374.

20. Gupta S.K., P. Varshney. Fractional Fuzzy PID controller for speed control of DC Motor. 2013 Third International Conference on Advances in Computing and Communications, Kochi, Kerala, India, 2013, pp. 1-4. DOI: 10.1109/ICACC.2013.7.

21. Yanling G., Mohamed M.E.A. Study on the extent of the impact of data set type on the performance of ANFIS for controlling the speed of DC motor. Journal of Engineering and Technological Sciences, 2019, vol. 51, no. 1, pp. 83-102.

22. Mohamed M.E.A., Guo Y. Separately excited DC motor speed tracking control using adaptive neuro-fuzzy inference system based on genetic algorithm particle swarm optimization and fuzzy auto-tuning PID. IOP Conference Series: Earth and Environmental Science, 2019, vol. 300, no. 4, p. 042114.

23. Zhao H., Wang Y., Guo C., Luo P., Zhao D. Research on self-adaptive fuzzy speed control strategy of brushless DC motor for stronger robustness. 2019 Chinese Control And Decision Conference (CCDC), Nanchang, China, 2019, pp. 2483-2488. DOI: 10.1109/CCDC.2019.8832713.

24. Tarannum T. Intelligent speed control of DC motor using ANFIS D controller. 2019 1st International Conference on Advances in Science, Engineering and Robotics Technology (ICASERT), Dhaka, Bangladesh, 2019, pp. 1-5. DOI: 10.1109/ICASERT.2019.8934620.

25. Rauf P., Jamil M., Gilani S.O., Rind S.J. Comparison of nonlinear controllers for speed control of DC motor. 2018 IEEE 9th Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON), Vancouver, BC, 2018, pp. 389-394. DOI:10.1109/ IEMCON.2018.8614853.

For citation:

Sheet A.F. Optimization of DC motor speed control based on fuzzy logic-PID TOntoHer. Sistemy analiza i obrabotki dannykh = Analysis and Data Processing Systems, 2021, no. 3 (83), pp. 143-153. DOI: 10.17212/2782-2001-2021-3-143-153.

Амер Фархан Шит, доктор электронной техники, ассистанский профессор кафедры инженерного медицинского приборостроения Северного технического университета. Имеет 17 научных статей, патентную научную книгу. E-mail: dr.amerfarhan@ntu.edu.iq

Amer Farhan Sheet, Doctor of electronic engineering. Asistanc Professor Of Engineering Medical Instrumentation Department Of Northern Technical University. Не has 17 scientific articles, patent scientific book. E-mail: dr.amerfarhan@ntu.edu.iq

Б01: 10.17212/2782-2001-2021-3-143-153

Оптимизация управления скоростью двигателя постоянного тока на основе ПИД-регулятора с нечеткой логикой

А.Ф. ШИТ

Ирак, Мосул, ул. Ал. Менаса, 18, Северный технический университет dr.amerfarhan@ntu.edu. ¡ц

Аннотация

В этой статье ПИД-регулятор и контроллер нечеткой логики (ГЬС) используются для управления скоростью двигателей постоянного тока с независимым возбуждением. Пропорциональные, интегральные и производные (Кр, К,, К) коэффициенты усиления ПИД-регулятора регулируются в соответствии с правилами нечеткой логики. ЕЬС разработан в соответствии с нечеткими правилами, поэтому система является принципиально устойчивой. Рассмотрены более двух десятков нечетких правил самонастройки каждого параметра ПИД-регулятора. ЕЬС имеет два входа: первый - это ошибка скорости двигателя (разница между опорной и фактической скоростью), а второй - изменение погрешности скорости (производная погрешности скорости). Выход ЕЬС, т. е. параметры ПИД-регулятора, используется для управления скоростью отдельно возбужденного двигателя постоянного тока. Это исследование показывает, что точная функция ПИД-регуляторов и гибкость нечеткого регулятора представлены в нечетком самонастраивающемся ПИД-регуляторе. Подход нечеткой самонастройки, реализованный на традиционной структуре ПИД-регулятора, улучшил динамический и статический отклик системы. Существенные особенности как обычных, так и нечетких выходов самонастраивающегося контроллера исследуются путем моделирования с использованием МЛТЬЛБ. Результаты моделирования показывают, что предлагаемый самонастраивающийся ПИД-регулятор реализует хорошее динамическое поведение двигателя постоянного тока, то есть идеальное отслеживание скорости с временем установления, минимальным перерегулированием и минимальной ошибкой в установившемся состоянии.

Ключевые слова: нечеткая логика, электродвигатели, машина постоянного тока, дифференциальное усиление, система питания, ПИД-регулятор, метод оптимизации и самонастройка

Статья получена 18 January 2021 г.

ISSN2782-2001, http://journals.nstu.ru/vestnik Analysis and data processing systems Vol. 83, No 3, 2021, pp. 143-153

i Надоели баннеры? Вы всегда можете отключить рекламу.