Kendinden ayarlamaları pid kontrolörünün mikrokontrolör tabanlı gerçeklenmesi
Implementation of an auto-tuning pid controller based on a microcontroller
- Tez No: 39290
- Danışmanlar: PROF. DR. ATİLLA BİR
- Tez Türü: Yüksek Lisans
- Konular: Bilgisayar Mühendisliği Bilimleri-Bilgisayar ve Kontrol, Computer Engineering and Computer Science and Control
- Anahtar Kelimeler: Mikrodenetleyiciler, PID denetleme, Tasarım, Microcontroller, PID control, Design
- Yıl: 1994
- Dil: Türkçe
- Üniversite: İstanbul Teknik Üniversitesi
- Enstitü: Fen Bilimleri Enstitüsü
- Ana Bilim Dalı: Belirtilmemiş.
- Bilim Dalı: Belirtilmemiş.
- Sayfa Sayısı: Belirtilmemiş.
Özet
Bu yüksek lisans tezinde, mikrokontrolör tabanlı bir PID kontrolörü tasarlanmış ve Âstrom ve Hâgglund tarafın dan geliştirilen Röle yöntemi ile bu kontrolöre, kendinden ayarlama özelliği kazandırılmıştır. Gerçeklenen kendinden ayarlamalı kontrolör, çeşitli sistemlere uygulanarak so nuçlar yorumlanmıştır. Çalışmada hem dijital PID kontrolörünü hem de kendin den ayarlama işlemini gerçekleyen Intel 80C31 mikrokontro- lörlü bir kart tasarlanmıştır. Bu özellik şimdiye kadar gerçeklenen kendinden ayarlamalı kontrolörlere mikrokon trolör tabanlı bir yaklaşım getirmekte olup, sıcaklık kon- trolundan asenkron motor hız kontroluna kadar geniş bir alanda kullanılmaya elverişlidir. Bu varsayımı kanıtlamak için kontrolör, asenkron motorun hız kontrolü gibi kontrol edilmesi zor olan bir sisteme uygulanmıştır. Kendinden ayarlama yönteminin lineer sistemlerin kontrolü için öne rildiği gözönünde bulundurulursa, asenkron motor kontro- lunda referans hıza ulaşılırken görülen %h mertebesindeki bir aşım dışında elde edilen sonuçlar yeterlidir. Yapılan ölçümler çalışmanın son bölümünde ayrıntılı olarak veril miştir. iv
Özet (Çeviri)
In this thesis, it is aimed to implement an auto- tuning PID controller based on a microcontroller. For this purpose, at the first step a digital PID controller has been designed and then this has been enhanced by means of Relay Method which is one of the best, but simple auto- tuning method, proposed by Astrom and Hâgglund. In this project, Intel 80C31 microcontroller board, providing both digital PID controller and auto-tuning properties, has been designed. This was a new approach to auto-tuning PID controllers using such advanced Integrated Circuits. On the other hand, it is possible to see some microprocessors application on implementing auto-tuning PID controllers, during development period. However, microcontroller based applications differ from microprocessor based ones. Microprocessor application can be efficient when they carry out various program of users, multiple data processing, calculating sensitive numerical values. On the contrary, microcontroller based system is quite useful in case of particular states which do not require reprogramming and runs unchanged programs. The advantage of such a system is containing the main compo nents of a digital computer in single chip. A microcon troller individually has a Central Processing Unit-CPU, a memory unit and intensive peripherals such as Analog to Digital Converter-ADC and Digital to Analog Converter-DAC. Therefore, it can be suitable for digital control by adding some extra components. The structure of PID controller which is implemented in this study, has been illustrated in Figure 1.e(kT).H1^ +« <& +)+*\ Z \ ' Vu'(kT) T>0- <D * » z -1 u<xn SATURATION ÜT Figure 1 - Structure of implemented PID controller. An important property of implemented PID controller is saturation on control signal. Control signal has been changed between 0-10 VDC. Error signal which is differen ce between reference signal and feedback, is interpreted by PID controller algorithm. If control signal is required more than 10 VDC, it is set to maximum voltage 10 VDC. Whereas the control signal is required negative values, it is set to 0 VDC. There are several methods that can be enhanced digital PID controller to auto-tuning controller. The most efficient of the simple methods is a frequency domain met hod called Relay Method. Relay Method, proposed by Astrom and Hagglund, has been the modification of Ziegler-Nichols Frequency Method. The structure of auto-tuning PID controller based on Relay Method is shown in Figure 2. -9 Figure 2 - Auto-tuning PID controller based on Relay Method. the VIWith a relay, the method gives a control signal to the process whose period is close to the crossover frequency of open-loop system. Describing function of relay with hysteresis, 1 = - l-Ja2-h2 -j-^A N(a) Ad v J Ad (1) where d is the relay amplitude, h is the hysteresis width. This function can be regarded as a straight line parallel to the real axis (see Figure 3a and 3b). Thus, by means of the intersection of the Nyquist curve with this straight line, the critical point is determined. In this point, steady-state oscillation is occurred. This gives 3» -the ultimate period and JÇ“ -ultimate gain. a) U J -h/2 4/2 h/2 e Im{G} -1/N(a) Re{G} Process Figure 3. a - Input-output characteristic of the relay with hysteresis, 3.b - Changing describing function of the relay with hysteresis in G complex plane and steady-state oscillation point. range, relay amplitude must be selected in a suitable a-error magnitude and © -oscillation frequency are determined from steady-state oscillation. K -ultimate gain and j» -ultimate period can be written as, JC» Ad it a (2) rc = 2n (3) viiFinally, controller parameters are determined by Kp = 0,6Kc, K±-2/Te, tfd = 0,12 Tc (A) In this work, methods suitable for linear systems are applied to a complex control application such as speed control of an Induction Machine having nonlinear charac teristics. Then results, obtained from this system, are interpreted. In Figure 4, block diagram of this applica tion is shown. ADC PID auto TONDK» CONTROLLER RELAY iw > DAC Implemented Boatd MAINS VOLTAGE m n Induction Machine Driver 3®=0=?) Rectifier EDDY Current Break Figure 4 - Speed control of an Induction Machine. In this application the induction machine and its driver are considered as a plant to be controlled. Control signals feeding the plant is produced by a PID algorithm which process reference and feedback signals. After the control signal is converted into a continuous signal between 0-10V, it is applied to the driver of induction machine. The driver produce pulse width modulated voltage as an equivalence of the input signal. In the next some amount of speed data are collected to obtain graphical speed characteristics. Thus, perfor mance of the controller can be figured out. The characteristics in Figure 5 has been obtained for K = 2 » Kj = 2 and Kd ”0. In this case the overshoot is found to be slightly high. This, actually, disturb the motor speed particularly in case of instant load. But motor speed turn back to its reference value when the load is released. VI 11ntt> 1750 1300 1850 10O0 750 son USD o J_ a s\ loo 1.6 260 3.2 ~3O0 1.8 400 6.4 5O0 8.0 Figure 5 - Graphical speed characteristic of induction machine for controller parameters K- m 2 $ Kj = 2 Ka = 0 When auto-tuning process is applied to the system, the reference value is set to desired speed value. A relay with hysteresis characteristics oscillates the system. This is illustrated in Figure 6. n( t ) 1750 1SOO 1250 ? IOOO ? 7S0 SOO 250 ' \ / \ / \ / \ o 100 1.6 200 3.2 300 a.o a do e.A 500 8.0 Figure 6 - Oscillation of the system for the speed reference of 750 rpm. At the end of this routine, j^-ultimate gain and y - ultimate period can be determined from oscillation period. Then controller parameters are obtained as follows, JTp = 2,063, j^- 2,101, JCd- 0,114 ixFor sampling period of T=16ms, these parameters are loaded to controller. The characteristics in Figure 7 has been obtained for Kp = 2,063. K± = 2, 101 and Kd - 0, 114. In this case the overshoot is smoother than it is found in previous example and induction machine reaches the given reference speed. 1730 1300 1230 ? 100O 730 300. 230 ? too l.G 300 4. a "385- 20(1 3.2 400 6.4 Figure 7 - After auto-tuning graphical speed character istic of induction machine for controller parameters jf. 2,063. J^- 2,101. Kd =0,114 ? From collected measurement, it has been shown that microcontroller based auto-tuning PID controller performs efficiently. In case study of speed control induction machine, the transient behavior of speed is found very sufficient ignoring small oscillations and low level of overshoot. In this work, it also shown that how these oscillations can be removed totally, particularly of speed control of an induction machine. smal 1 in case When the implemented controllers is applied to the non-linear systems, the results are given above. If the plant has a non-linear characteristic such as induction machine, it is advisable to use one of the optimization algorithms. If DC motor is used instead of induction machine, it can be easily said that the auto-tuning PID controller provides better results.
Benzer Tezler
- Online processing identification of a heating system
Başlık çevirisi yok
KAZIM DURMUŞ
Yüksek Lisans
İngilizce
1998
Kimya Mühendisliğiİstanbul Teknik ÜniversitesiKimya Mühendisliği Ana Bilim Dalı
PROF. DR. DURSUN ALİ ŞAŞMAZ
- Kendinden ayarlamalı PID kontrolun saccharomyces cerevisiae üretilen bir biyoreaktöre uygulanması ve optimum kontrol parametrelerinin bulunması
Application of self-tuning PID control to a bioreactor in which saccharomyces cerevisiae is produced and determination of optimal control parameters
ARZU KAHVECİOĞLU
Yüksek Lisans
Türkçe
1999
Kimya MühendisliğiAnkara ÜniversitesiKimya Mühendisliği Ana Bilim Dalı
PROF. DR. MUSTAFA ALPBAZ
- PID Kontrol organı katsayılarının otomatik olarak ayarı
Automatic tuning of PID controlles
TEKİN AYDIN
- Kendinden ayarlamalı denetleyici tasarımı
Başlık çevirisi yok
SEÇKİN ARI
Yüksek Lisans
Türkçe
1996
Elektrik ve Elektronik MühendisliğiUludağ ÜniversitesiElektrik-Elektronik Mühendisliği Ana Bilim Dalı
YRD. DOÇ. DR. MURAT TÜRE
- Genetik algoritmalar yardımıyla optimizasyon;
Optimisation with genetic algorithms
FECİRE NİHAN AKAN
Yüksek Lisans
Türkçe
1997
Elektrik ve Elektronik MühendisliğiUludağ ÜniversitesiElektronik Mühendisliği Ana Bilim Dalı
YRD. DOÇ. DR. MURAT TÜRE