Научная статья на тему 'Compare of transient quality in automatic control systems with classic pid algorithm and optimal regulator'

Compare of transient quality in automatic control systems with classic pid algorithm and optimal regulator Текст научной статьи по специальности «Электротехника, электронная техника, информационные технологии»

CC BY
169
67
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
TRANSFER FUNCTION / TRANSIENT PROCESS / CLASSIC PID CONTROLLER / OPTIMAL REGULATOR / DIRECTLY INDICATIVE OF THE QUALITY / SINGLE-CIRCUIT AUTOMATIC CONTROL SYSTEM

Аннотация научной статьи по электротехнике, электронной технике, информационным технологиям, автор научной работы — Kulakov G.T., Artsiomenka K.I.

Currently, about 90-95% of generic controllers use the PID algorithm to generate control actions, while 64% of the PID controllers are used in single-circuit automatic control systems. Most of industries (power industry among them) use hundreds of automatic control systems. The quality of their work is the basis of economic efficiency of technical processes, ensuring safety, reliability, durability and environmental friendliness of both technological equipment and automation equipment. There are different modifications of PID-controller structure implementation. In practice the ideal PID controller with a filter and the classic PID regulator (serial connection of the ideal PI controller and the real PD regulator as the direct action elements) are widely used. The problem of choosing a rational structure and a method of parametric optimization of PID controllers, which provide the best direct indicatives of the quality in the development of the main effects in single-circuit automatic control systems, becomes urgent. However, only for the classical PID controllers, which are widely used at present, there are more than three hundred methods for adjusting the three parameters of the optimal dynamic adjustment, as well as the ballast time constant. This results in arising a problem of substantiation of the best structure and method of parametric optimization of classical PID regulators. As a basic option, one of the simplest and most obvious one, viz. the method of automated adjustment of the controller in the Simulink MatLab environment had been chosen, which was compared with the method of full compensation in general for objects with a transfer function in the form of an inertial link with a conditional delay. Two variants of control action realization on the basis of the structural scheme of the optimal regulator developed by the Belarusian national technical University were also offered. In contrast with the classic PID controller, the optimal controller has one parameter of dynamic adjustment setting. The results of simulation of transients at basic perturbations confirmed that the best direct indicatives of the quality are provided with an optimal regulator, which makes it possible to recommend it for wide implementation instead of the classic PID controllers.

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

Сравнение качества переходных процессов систем автоматического управления с классическим ПИД-алгоритмом и оптимальным регулятором

В настоящее время около 90-95 % типовых регуляторов используют ПИД-алгоритм формирования управляющих воздействий, при этом среди ПИД-регуляторов 64 % используется в одноконтурных системах. Большинство отраслей промышленности, в том числе энергетика, содержат сотни систем автоматического управления, качество работы которых является основой экономической эффективности технических процессов, обеспечивая безопасность, надежность, долговечность и экологичность работы как технологического оборудования, так и самих технических средств автоматизации. Существуют разные модификации реализации структуры ПИД-регуляторов. На практике чаще всего применяют идеальные ПИД-регуляторы с фильтром, а также классические ПИД-регуляторы как последовательное соединение идеального и реального ПД-регуляторов в виде звеньев быстрого реагирования. Актуальной становится задача выбора рациональной структуры и метода параметрической оптимизации ПИД-регуляторов, которые обеспечивают лучшие прямые показатели качества при отработке основных воздействий в одноконтурных системах автоматического управления. Вместе с тем только для классических ПИД-регуляторов, широко используемых в настоящее время, существует более трехсот методов настройки трех параметров оптимальной динамической настройки, а также балластной постоянной времени. Из-за этого возникает проблема обоснования лучшей структуры и метода параметрической оптимизации классических ПИД-регуляторов. В качестве базового варианта выбран один из самых простых и наглядных метод автоматизированной настройки регулятора в среде Simulink MatLab, который сравнивался с методом полной компенсации в общем виде для объектов с передаточной функцией в виде инерционного звена с условным запаздыванием. Также предложены два варианта реализации управляющего воздействия на базе структурной схемы оптимального регулятора, разработанного Белорусским национальным техническим университетом. В отличие от классического ПИД-регулятора оптимальный регулятор имеет один параметр динамической настройки. Результаты моделирования переходных процессов при основных возмущениях подтверждают, что лучшие прямые показатели качества обеспечивает оптимальный регулятор. Это позволяет рекомендовать его для широкого внедрения вместо классических ПИД-регуляторов.

Текст научной работы на тему «Compare of transient quality in automatic control systems with classic pid algorithm and optimal regulator»

https://doi.org/10.21122/1029-7448-2019-62-2-192-200 UDC 681.5

Compare of Transient Quality in Automatic Control Systems with Classic PID Algorithm and Optimal Regulator

G. T. Kulakov1), K. I. Artsiomenka1)

'-Belarusian National Technical University (Minsk, Republic of Belarus)

© Белорусский национальный технический университет, 2019 Belarusian National Technical University, 2019

Abstract. Currently, about 90-95% of generic controllers use the PID algorithm to generate control actions, while 64% of the PID controllers are used in single-circuit automatic control systems. Most of industries (power industry among them) use hundreds of automatic control systems. The quality of their work is the basis of economic efficiency of technical processes, ensuring safety, reliability, durability and environmental friendliness of both technological equipment and automation equipment. There are different modifications of PID-controller structure implementation. In practice the ideal PID controller with a filter and the classic PID regulator (serial connection of the ideal PI controller and the real PD regulator as the direct action elements) are widely used. The problem of choosing a rational structure and a method of parametric optimization of PID controllers, which provide the best direct indicatives of the quality in the development of the main effects in single-circuit automatic control systems, becomes urgent. However, only for the classical PID controllers, which are widely used at present, there are more than three hundred methods for adjusting the three parameters of the optimal dynamic adjustment, as well as the ballast time constant. This results in arising a problem of substantiation of the best structure and method of parametric optimization of classical PID regulators. As a basic option, one of the simplest and most obvious one, viz. the method of automated adjustment of the controller in the Simulink MatLab environment had been chosen, which was compared with the method of full compensation in general for objects with a transfer function in the form of an inertial link with a conditional delay. Two variants of control action realization on the basis of the structural scheme of the optimal regulator developed by the Belarusian national technical University were also offered. In contrast with the classic PID controller, the optimal controller has one parameter of dynamic adjustment setting. The results of simulation of transients at basic perturbations confirmed that the best direct indicatives of the quality are provided with an optimal regulator, which makes it possible to recommend it for wide implementation instead of the classic PID controllers.

Keywords: transfer function, transient process, classic PID controller, optimal regulator, directly indicative of the quality, single-circuit automatic control system

For citation: Kulakov G. T., Artsiomenka K. I. (2019) Compare of Transient Quality in Automatic Control Systems with Classic PID Algorithm and Optimal Regulator. Energetika. Proc. CIS Higher Educ. Inst. and Power Eng. Assoc. 62 (2) 192-200. https://doi.org/10.21122/1029-7448-2019-62-2-192-200

Сравнение качества переходных процессов систем автоматического управления с классическим ПИД-алгоритмом и оптимальным регулятором

Г. Т. Кулаков4, К. И. Артёменко1)

^Белорусский национальный технический университет (г. Минск, Республика Беларусь)

Реферат. В настоящее время около 90-95 % типовых регуляторов используют ПИД-ал-горитм формирования управляющих воздействий, при этом среди ПИД-регуляторов 64 %

Адрес для переписки Address for correspondence

Кулаков Геннадий Тихонович Kulakov Gennady T. Белорусский национальный технический университет Belarusian National Technical University

просп. Независимости, 65/2, 65/2 Nezavisimosty Ave.,

220013, г. Минск, Республика Беларусь 220013, Minsk, Republic of Belarus

Тел.: +375 17 293-91-45 Tel.: +375 17 293-91-45

[email protected] [email protected]

используется в одноконтурных системах. Большинство отраслей промышленности, в том числе энергетика, содержат сотни систем автоматического управления, качество работы которых является основой экономической эффективности технических процессов, обеспечивая безопасность, надежность, долговечность и экологичность работы как технологического оборудования, так и самих технических средств автоматизации. Существуют разные модификации реализации структуры ПИД-регуляторов. На практике чаще всего применяют идеальные ПИД-регуляторы с фильтром, а также классические ПИД-регуляторы как последовательное соединение идеального и реального ПД-регуляторов в виде звеньев быстрого реагирования. Актуальной становится задача выбора рациональной структуры и метода параметрической оптимизации ПИД-регуляторов, которые обеспечивают лучшие прямые показатели качества при отработке основных воздействий в одноконтурных системах автоматического управления. Вместе с тем только для классических ПИД-регуляторов, широко используемых в настоящее время, существует более трехсот методов настройки трех параметров оптимальной динамической настройки, а также балластной постоянной времени. Из-за этого возникает проблема обоснования лучшей структуры и метода параметрической оптимизации классических ПИД-регуляторов. В качестве базового варианта выбран один из самых простых и наглядных - метод автоматизированной настройки регулятора в среде Simulink MatLab, который сравнивался с методом полной компенсации в общем виде для объектов с передаточной функцией в виде инерционного звена с условным запаздыванием. Также предложены два варианта реализации управляющего воздействия на базе структурной схемы оптимального регулятора, разработанного Белорусским национальным техническим университетом. В отличие от классического ПИД-регулятора оптимальный регулятор имеет один параметр динамической настройки. Результаты моделирования переходных процессов при основных возмущениях подтверждают, что лучшие прямые показатели качества обеспечивает оптимальный регулятор. Это позволяет рекомендовать его для широкого внедрения вместо классических ПИД-регуляторов.

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

Для цитирования: Кулаков, Г. Т. Сравнение качества переходных процессов систем автоматического управления с классическим ПИД-алгоритмом и оптимальным регулятором / Г. Т. Кулаков, К. И. Артёменко // Энергетика. Изв. высш. учеб. заведений и энерг. объединений СНГ. 2019. Т. 62, № 2. С. 192-200. https://doi.org/10.21122/1029-7448-2019-62-2-192-200

Introduction

Adaptive control systems design is one of most effective method to upgrade regulation quality of process variables. Adaptive control systems must consider plant's dynamic behaviours for wide range of load variation and dynamics of disturbances. They must use combined control principle in response to deviation and disturbance [1].

Long list of papers verifies this problem's relevance and importance. These scientific papers deal with PID controllers' adjustment and their realization [2-10]. This type of controller is the most difficult for adjustment among continuous controllers. PID controllers are used to regulate plants those are described differential equations of higher order. So transfer functions of plants can't be approximated dynamic elements of first order with time delay, because they can't give significant improvement of PID controller control quality [5]. Problem of adaptation automatic process regulator settings is reputed relevance

too, because dynamic behaviours of plant are varied in wide range of load variation [6].

Within the order of 90-95 % under service regulators are using PID algorithm [6]. Also 64 % PID controllers are used in single loop automatic control systems and 36 % are used in multi loop systems. Thus problem of design and parametric optimization method for PID controllers becomes relevance. Solution to this problem lets to get best regulation costs in single loop automatic control systems to the different disturbances.

Description of simulation model

Block diagram of transient simulation for single loop automatic control system (ACS) is shown in the fig. 1.

Fig. 1. Block diagram of transient simulation: xsp - set point of controlled variable; Wc(p) - controller's transfer function; Wpl(p) - plant's transfer function; Wex(p) - transfer function of external disturbance; f1 - internal disturbance; f2 - external disturbance; xc(t) - control action; y(t) - controlled variable

Plant's transfer function is a second-order relaxation circuit with delay time. Parameters of this transfer function are specified with the help of plant's transfer function experiment diagram for controlling action channel [9]

wpl (p)=—--=—-, (1)

pl (Tp+1)(op +1) (101p+1)(19 p +1)

where k - plant's transfer function coefficient; T, c - larger and lesser transfer function time constants, s; tc - delay time for controlling action channel, s. Plant's transfer function for external disturbance channel

k 10

WeXt(p)=~kep~ = —7, (2)

Textp +1 10p +1

where kext - transfer function coefficient for external disturbance channel; Тext -transfer function time constant for external disturbance channel, s. Widely used transfer function of classic PID controller is written as

W (p)= kc (T-p + l)(T-p +l), (3)

TP (T„P +1)

where kG - transfer function coefficient of controller; 7^, Т-, Тb - integration, derivative and ballast time constants, s.

There are a lot of different adjustment methods for PID controllers at this moment [2]. Automatized controller adjustment with the help of Simulink MatLab API is one of the most simplest methods. Process of adjustment and optimization is written [7]. Settings of optimal dynamic adjustment for PID controller after automatized controller adjustment are: kc = 2,789, Ti = 0,0246 s, Td = 38,67 s and Tb = 0,4 s (first variant). These settings are chosen of minimum integral of the squared error (ISE). Automatic control system has minimum overshoot and minimum time, when controlled variable get to the controller's dead band (±2 %), under the given settings. This method can't help to calculate controller settings, which let controlled variable be changed without overshoot to the controlled variable step input.

Full compensation method in general terms will be the second variant of PID controller dynamic adjustment settings [9]. Derivative time is equal to delay time for controlling action channel under this method. Ballast time constant is calculated as mean value Tb = Td/N, where N = 10 [2]. Time constants are equal for the second variant of PID controller dynamic adjustment settings:

T = T + c = 101 + 19 = 120 s; (4)

Td = xc = 11,2 s; (5)

Tb = TJN = 11,2/10 = 1,12 s. (6)

Transfer function coefficient is calculated as

1201 + 19 = 1,674, (7)

c 4^2kxc 4 • 12 • 1,6 • 11,2

where E - damping coefficient (equal 1), that help to rectify overshoot to the controlled variable step input.

PID controller structure can be made with the help of optimal regulator transfer function to the controlled variable step input [10]. Optimal regulator let to operate input step without overshoot (fig. 2).

Optimal regulator signal graph: Wcopt (p) - optimal regulator transfer function; filter transfer function; W°(p) - part of closed-loop automatic control system's specified transfer function without delay time; g(t) - control error; Tc - delay time for controlling action channel

Fig. 2.

Wf(p) -

Transfer function of closed-loop automatic control system (criterion of opti-mality)

(р) = wcl(р) = W°(р)е^р . (8)

W ( P)wpl ( р)

1+Wc ( p)Wpl ( р)

Optimal regulator transfer function under input step can be found with the help of equations (8) and (1)

w;pt ( р) =

Wcl ( р) W0 ( р)

Wpl (р) • [1 - Wcl (р) ] W0 (р) • [1 - Wcl (р) ] 1

1 - Wc0 ( р) • e-Tc

= Wf (р) 4 — t „. (9)

where Wf (p) = —C--filter transfer function; Wpl (p) - part of plant's trans-

W ( p) K ( p)

fer function without delay time.

Specified transfer function of closed-loop automatic control system, which is based on structure of plant's transfer function (1) (optimal input step criterion)

e-%c p

Wcl (p) = W0 (p)e^ p =---, (10)

(Tcip +1)

where Tcl - one and only one calculated dynamic adjustment setting of optimal regulator, which help to calculate regulation costs of automatic control system to the controlled variable step input.

Filter transfer function with the help of equations (1) and (10) is equal

W (p) wcM (Tp+1)(°p+1) (10^p+1)(19p+1) (11)

f K (p) k(Tclp+1)2 1,6(Tcip+1)2 ■

The numerical value of Tcl is calculated with the help of golden ratio number sequence (third variant) [10]

Ten = 0.618tc = 0.618 • 11.2 = 6.92 s. (12)

The numerical value of Tcl must be increased to make maximum control action equals to automatized controller adjustment method with the help of Si-mulink MatLab API (fourth variant)

Td2 = 0.725tc = 0.725 • 11.2 = 8.12 s. (13)

The tab. 1 gives dynamic adjustment settings for all four methods.

Table 1

Dynamic adjustment settings of four compared controllers

Number of variant Name of method Dynamic adjustment settings

kc Ti, s Td, s Tb, s TcU s

1 Automatized controller adjustment (Simulink MatLab API) 2.789 0.0246 38.67 0.40 -

2 Full compensation method in general terms 1.674 120.0000 11.20 1.12 -

3 Optimal regulator (Tcl1 = 6.92 s) - - - - 6.92

4 Optimal regulator (Tcl2 = 8.12 s) - - - - 8.12

Results of transient simulation

Fig. 3 shows control action variation in open-loop automatic control system for classic PID controller and optimal regulator (first and fourth adjustment variants).

Fig. 3. Control action variation in open-loop automatic control system

Curves of control action variation in open-loop automatic control system are in close agreement for optimal and PID controllers as we can see on fig. 3.

Fig. 4 and 5 show controlled variable variation (y(t)) and control action variation (xc(t)) to the controlled variable step input (x^).

200 Time, s

Time, s

Fig. 4. Controlled variable variation to the controlled variable step input

Fig. 5. Control action variation to the controlled variable step input

Fig. 6 and 7 show controlled variable variation (y(t)) to the internal disturbance fi) and external disturbance (/2).

— i

-2

-3 ■—

4

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

100 200 300 400 500 Time, s

Fig. 6. Controlled variable variation Fig. 7. Controlled variable variation

to the internal disturbance to the external disturbance

The tab. 2 gives regulation costs of the automatic control systems to the controlled variable step input (xip), internal disturbance (/1) and external disturbance (/2).

Table 2

Transient regulation costs of four compared controllers

Variant Kind of disturbance tc, S ^max, % vmax xy Aymax

1 xsp 89 5.93 18.26 -

f1 340 - - +0.289

f2 98 - - +7.950

2 xsp 88 0 16.74 -

f1 470 - - +0.401

f2 102 - - +8.260

3 xsp 53 0 25.05 -

f1 350 - - +0,260

f2 73 - - +7.770

4 xsp 60 0 18.19 -

f1 360 - - +0.281

f2 78 - - +7.890

Keys used: tc - time, when controlled variable get to the controller's dead band (±2 %); °max - maximum overshoot; x^1" - maximum control action variation; Aymax - maximum dynamic controlled variable variation to the internal and external disturbances.

When regulation costs of four compared controllers (PID controllers and optimal regulators) were analyzed, it was found that fourth variant has the best regulation costs to the controlled variable step input, but third variant marginally better than fourth variant to the internal and external disturbances.

200

400 Time, s

600

800

0

CONCLUSIONS

1. It has been suggested three variants of PID and optimal controller adjustment (number 2-4), which were compared with automatized adjusted controller (Simulink MatLab API) to the input step in automatic control system.

2. ACS automatized adjustment with the help of Simulink MatLab API didn't let to adjust controller in such a way that controlled variable varies mono-tonically without overshoot to input step.

3. If PID controller has non-free behavior (only controller coefficient and time constants are adjusted), then controller adjustment with the help of full compensation method in general terms (second variant) has some advantages compared to automatized adjustment (first variant). There are: no overshoot; time, when controlled variable get to the controller's dead band, is by a 1.1 % less and maximum control action variation is by a 8.3 % less to input step. But maximum dynamic controlled variable variation is by a 38.7 % larger and stabilization time is by a 38.2 % larger than first variant to the internal disturbance (/¡). And maximum dynamic controlled variable variation is by a 3.9 % larger and stabilization time is by a 4.1 % larger than first variant to the external disturbance (/2).

4. If PID controller has free behavior (controller structure can be changed), then it is appropriate to use optimal controller transfer function for controller adjustment. Simulation results of transients show significant improvement of control quality to the controlled variable step input. Stabilization time is by a 40.4 % less (third variant) and by a 32.6 % less (fourth variant) than automatized controller adjustment (first variant). But maximum control action variation is by a 37.2 % larger for third variant and by a 1.0 % less for fourth variant. As well these variants have no overshoot.

5. First, third and fourth variants have virtually the same regulation costs to the internal disturbance fi. Stabilization time is by a 2.9 % larger (third variant) and by a 5.9 % larger (fourth variant) than first variant. But maximum control action variation is by a 10.0 % less for third variant and by a 2.8 % less for fourth variant.

6. Use of optimal regulator let to improve regulation costs to the external disturbance f2. Stabilization time is by a 25.5 % less (third variant) and by a 20.4 % less (fourth variant) than first variant. But maximum control action variation is by a 2.3 % less for third variant and by a 0.8 % less for fourth variant.

7. Controller design with the help of optimal regulator transfer function let to improve greatly transient regulation costs to the input step and disturbances and let to simplify adjustment process too, because of optimal regulator has one and only one dynamic adjustment setting. Curves of control action variation in open-loop automatic control system are in close agreement for optimal and PID controllers.

REFERENCES

1. Panferov S. V., Panferov V. I. (2012) About one Automatic Controller Synthesis Problem Solution in Automatic Adaptive Control Heating Systems. Vestnik Yuzhno-Ural'skogo Gosudar-stvennogo Universiteta. Seriya "Komp'yuternye Tekhnologii, Upravlenie, Radioelektronika" = Bulletin of the South Ural State University. Series"Computer Technologies, Control, Radio Electronics", (23), 142-149 (in Russian).

2. Aidan O'Dwyer (2009) Handbook of PI and PID Controller Tuning Rules. 3rd ed. Dublin, Institute of Technology; Ireland, Imperial College Press. 529. https://doi.org/10.1142/978 1848162433.

3. Gorecki H. (1974) Analysis and Synthesis of Control Systems with Time Delays. Moscow, Mashinostroenie Publ. 328 (in Russian).

4. Stefani E. P. (1972) Calculation Basis of Thermal Power Process Control Setting. Moscow, Energiya Publ. 372 (in Russian).

5. Rotach V. Ya. (2008) Automatic Control Theory of Thermal Power Process. Moscow, MEI Publ. 396 (in Russian).

6. Bertocco M., Cappellazzo S., Flammini A., Parvis M. (2002) A Multi-Layer Architecture for Distributed Data Acquisition. IMTC/2002. Proceedings of the 19th IEEE Instrumentation and Measurement Technology Conference (IEEE Cat. No 00CH37276), 1261-1264. https://doi. org/10.1109/imtc.2002.1007138.

7. PID Controller. Mathworks Inc. (2018) Available at: http://www.mathworks.com/help/simu link/slref/pidcontroller.html. (Accessed: 22.10.2018).

8. Kulakov G. T. (1984) Engineering Proximate Methods of Design Calculation for Industrial Regulating Systems. Minsk, Vysheishaya Shkola Publ. 192 (in Russian).

9. Kulakov G. T. (2003) Analysis and Synthesis of Automatic Regulation System. Minsk, Tekhnoprint Publ. 134 (in Russian).

10. Kulakov G. T., Kulakov A. T., Kravchenko V. V., Kuchorenko A. N., Artsiomenka K. I., Kov-rigo Yu. M., Golinko I. M., Bagan T. G., Bunke A. S. (2017) Automatic Control Theory for Thermal Power Activities. Minsk, Vysheishaya Shkola Publ. 238 (in Russian).

Received: 20 November 2018 Accepted: 29 January 2019 Published online: 29 March 2019

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