PID CONTROLLER. Click to edit the outline text format  Second Outline Level Third Outline Level  Fourth Outline Level Fifth Outline Level Sixth Outline.

Slides:



Advertisements
Similar presentations
PID Controllers and PID tuning
Advertisements

Modern Control Systems (MCS)
Discrete Controller Design
Design with Root Locus Lecture 9.
Indiana University’s Remote Classroom Click to edit Master text styles Second level Third level Fourth level Fifth level Non-science majors learn about.
Click to edit the outline text format  Second Outline Level Third Outline Level  Fourth Outline Level Fifth Outline Level Sixth Outline Level Seventh.
Review Climate Change. Weather vs Climate Seasons.
Chapter 4: Basic Properties of Feedback
Chapter 10 – The Design of Feedback Control Systems
Chapter 10 – The Design of Feedback Control Systems PID Compensation Networks.
ECE 4951 Lecture 5: PID Control of Processes. PID Control A closed loop (feedback) control system, generally with Single Input-Single Output (SISO) A.
Examples of Control Systems Application. Modeling the Ball and Beam Experiment.
PID Control and Root Locus Method
ME 270 Final Project Presentation Operational Amplifiers.
Behaviour.
Ch. 6 Single Variable Control
Status Report # 4 Football Kicking Simulator Create a simulation-based real-time training tool that would give a kicker the ability to practice off the.
Proportional control Consider forward path gain A Feedback and Control If the size of the loop gain is large, that is if |A  >> 1, then or.
Modified by Albert W.J. Hsue,
Click to edit Master title style Click to edit Master text styles Second level Third level Fourth level Fifth level 1 UNITRONICS D erivative P I roportional.
Modern Control System EKT 308
MESB374 System Modeling and Analysis PID Controller Design
1 MATLAB AND CONTROLS PRESENTED BY:- AGILESWARI K. RAMASAMY DR. FARRUKH HAFIZ NAGI.
Status Report # 3 Football Kicking Simulator Create a simulation-based real-time training tool that would give a kicker the ability to practice off the.
Status Report # 8 Football Kicking Simulator Create a simulation-based real-time training tool that would give a kicker the ability to practice off the.
ENTC 395 Lecture 7a. Today 4 PID control –Overview –Definitions –Open loop response 4 Example –SIMULINK implementation.
Modern Control System EKT 308 Root Locus and PID controllers.
Chapter 4 A First Analysis of Feedback Feedback Control A Feedback Control seeks to bring the measured quantity to its desired value or set-point (also.
MESB374 System Modeling and Analysis Feedback Control Design Process
Review. Feedback Terminology In Block diagrams, we use not the time domain variables, but their Laplace Transforms. Always denote Transforms by (s)!
Problem:05-01 x points: -7, -4+3i HW- 05 In the control system as shown in the figure, a) Write the MATLAB program to plot root-locus diagram for the closed.
SKEE 3143 Control Systems Design Chapter 2 – PID Controllers Design
BIRLA VISHWAKARMA MAHAVIDHYALAYA ELECTRONICS & TELECOMUNICATION DEPARTMENT o – ANKUR BUSA o – KHUSHBOO DESAI UNDER THE GUIDENCE.
ABE425 Engineering Measurement Systems ABE425 Engineering Measurement Systems PID Control Dr. Tony E. Grift Dept. of Agricultural & Biological Engineering.
Exercise 1 Suppose we have a simple mass, spring, and damper problem. Find The modeling equation of this system (F input, x output). The transfer function.
Headline sample style Intro sample style Click to edit Master text styles –Second level Third level –Fourth level o Fifth level.
Page : PID Controller Chapter 3 Design of Discrete- Time control systems PID C ontroller.
Chapter 12 Design via State Space <<<4.1>>>
Salman Bin Abdulaziz University
Click to Add Title Click to Add Subtitle.
Chapter 7 The Root Locus Method The root-locus method is a powerful tool for designing and analyzing feedback control systems The Root Locus Concept The.
Control engineering and signal processing
Time Response Analysis
PID Controllers Jordan smallwood.
Click to Add Title Click to Add Subtitle.
PID Controller.
Control Systems Lect. 4 PID Basil Hamed.
Basic Design of PID Controller
Click to edit Master text styles
A.ERROR Kesalahan adalah perbedaan antara variabel yang diukur dan setpoint. Kesalahan dapat berupa positif atau negatif. Tujuan dari setiap skema kontrol.
Click to Add Title Click to Add Subtitle.
Click to Add Title Click to Add Subtitle.
Author names here Author association names here
Click to edit Master text styles
Student #7 starts with Locker 7 and changes every seventh door
UNIT-II TIME RESPONSE ANALYSIS
Compensators.
Click to edit Master text styles
Slide Title Edit Master text styles Second level Third level
ОПШТЕСТВО ТЕМА: МЕСТОТО ВО КОЕ ЖИВЕАМ Скопје
Author names here Author associations here
E(s): Laplace transform of the error e(t)
Author names here Author associations here
Click to edit Master text styles
Author names here Author associations here
INTRODUCTION TO CONTROL SYSTEMS
Click to edit Master text styles
The Design of Feedback Control Systems
x points: -7, -4+3i HW- 05 Problem:05-01
Exercise 1 For the unit step response shown in the following figure, find the transfer function of the system. Also find rise time and settling time. Solution.
Presentation transcript:

PID CONTROLLER

Click to edit the outline text format  Second Outline Level Third Outline Level  Fourth Outline Level Fifth Outline Level Sixth Outline Level Seventh Outline Level Eighth Outline Level Ninth Outline LevelClick to edit Master text styles – Second level Third level – Fourth level » Fifth level Introduction Pengendali otomatis membandingkan nilai sebenarnya dari keluaran sistem dengan masukannya, menentukan penyimpangan dan menghasilkan sinyal kendali yang akan mengurangi penyimpangan sehingga menjadi nol atau sekecil mungkin. Pengendali proportional, integral dan derivative (PID) sangat populer di industri karena sederhana dalam desainnya dan sudah teruji kehandalannya.

The three-term controller Transfer function dari pengendali PID adalah sebagai berikut:  Kp = Proportional gain  KI = Integral gain  Kd = Derivative gain Dari blok diagram sistem close loop diatas, sinyal error (e) akan dikirim ke PID controller, selanjutnya PID controller akan menghitung dan mengeluarkan sinyal control law (u) sebesar: Sinyal (u) akan dikirim ke plant sehingga output baru (Y) akan diperoleh.

The characteristics of P, I, and D controllers Proportional controller Kp berdampak: mengurangi rise time, mengurangi tapi tidak bisa menghilangkan steady state error. Integral controller Ki berdampak: menghilangkan steady state error namun membuat transient respon-nya jelek. Derivative controller Kd berdampak: meningkatkan stabilitas sistem, mengurangi overshoot dan memperbaiki transient response.

Click to edit the outline text format  Second Outline Level Third Outline Level  Fourth Outline Level Fifth Outline Level Sixth Outline Level Seventh Outline Level Eighth Outline Level Ninth Outline LevelClick to edit Master text styles – Second level Third level – Fourth level » Fifth level Example Problem Persamaan differensial sistem disamping adalah: Dengan transformasi Laplace didapat: Transfer function dari sistem ini adlah: Misalnya diambil data: – M = 1kg – b = 10 N.s/m – k = 20 N/m – F(s) = 1

Memasukkan data diatas kedalam transfer function diperoleh: Kita akan memdesain PID controller dengan design criteria sbb: – Fast rise time – Minimum overshoot – No steady-state error

Click to edit the outline text format  Second Outline Level Third Outline Level  Fourth Outline Level Fifth Outline Level Sixth Outline Level Seventh Outline Level Eighth Outline Level Ninth Outline LevelClick to edit Master text styles – Second level Third level – Fourth level » Fifth level Open-loop step response Matlab program: num=1; den=[ ]; plant=tf(num,den); stepstep(plant) – steady-state error of 0.95 – rise time is about one second – and the settling time is about 1.5 seconds. Let's design a controller that will reduce the rise time, reduce the settling time, and eliminates the steady-state error.

Click to edit the outline text format  Second Outline Level Third Outline Level  Fourth Outline Level Fifth Outline Level Sixth Outline Level Seventh Outline Level Eighth Outline Level Ninth Outline LevelClick to edit Master text styles – Second level Third level – Fourth level » Fifth level Proportional control The closed-loop transfer function of the above system with a proportional controller is: Misalnya Kp=300: Kp=300; contr=Kp; sys_cl=feedback(contr*plant,1); t=0:0.01:2; stepstep(sys_cl,t) The above plot shows that the proportional controller reduced both the rise time and the steady-state error, increased the overshoot, and decreased the settling time by small amount.

Click to edit the outline text format  Second Outline Level Third Outline Level  Fourth Outline Level Fifth Outline Level Sixth Outline Level Seventh Outline Level Eighth Outline Level Ninth Outline LevelClick to edit Master text styles – Second level Third level – Fourth level » Fifth level Proportional-Derivative control The closed-loop transfer function of the given system with a PD controller is: Let Kp equal 300 as before and let Kd equal 10. Kp=300; Kd=10; contr=tf([Kd Kp],1); sys_cl=feedback(contr*plant,1); t=0:0.01:2; stepstep(sys_cl,t) This plot shows that the derivative controller reduced both the overshoot and the settling time, and had a small effect on the rise time and the steady-state error.

Click to edit the outline text format  Second Outline Level Third Outline Level  Fourth Outline Level Fifth Outline Level Sixth Outline Level Seventh Outline Level Eighth Outline Level Ninth Outline LevelClick to edit Master text styles – Second level Third level – Fourth level » Fifth level Proportional-Integral control For the given system, the closed- loop transfer function with a PI control is: Let's reduce the Kp to 30, and let Ki equal 70. Kp=30; Ki=70; contr=tf([Kp Ki],[1 0]); sys_cl=feedback(contr*plant,1); t=0:0.01:2; stepstep(sys_cl,t) The above response shows that the integral controller eliminated the steady-state error.

Click to edit the outline text format  Second Outline Level Third Outline Level  Fourth Outline Level Fifth Outline Level Sixth Outline Level Seventh Outline Level Eighth Outline Level Ninth Outline LevelClick to edit Master text styles – Second level Third level – Fourth level » Fifth level Proportional-Integral-Derivative control The closed-loop transfer function of the given system with a PID controller is: After several trial and error runs, the gains Kp=350, Ki=300, and Kd=50 provided the desired response. Kp=350; Ki=300; Kd=50; contr=tf([Kd Kp Ki],[1 0]); sys_cl=feedback(contr*plant,1); t=0:0.01:2; stepstep(sys_cl,t) Now, we have obtained a closed- loop system with no overshoot, fast rise time, and no steady- state error.

General tips for designing a PID controller 1. Obtain an open-loop response and determine what needs to be improved 2. Add a proportional control to improve the rise time 3. Add a derivative control to improve the overshoot 4. Add an integral control to eliminate the steady-state error 5. Adjust each of Kp, Ki, and Kd until you obtain a desired overall response. You can always refer to the table shown in this "PID Tutorial" page to find out which controller controls what characteristics.

Click to edit the outline text format  Second Outline Level Third Outline Level  Fourth Outline Level Fifth Outline Level Sixth Outline Level Seventh Outline Level Eighth Outline Level Ninth Outline LevelClick to edit Master text styles – Second level Third level – Fourth level » Fifth level Example: PID Design method for the Pitch Controller EOM of an aircraft can be decoupled and linearized into the longitudinal and lateral equations. Pitch control is a longitudinal problem, and in this example, we will design an autopilot that controls the pitch of an aircraft. The longitudinal equations of motion of an aircraft can be written as:

Transfer function model Let's plug in some numerical values to simplify the modeling equations (1) shown above. These values are taken from the data from one of Boeing's commercial aircraft. The Laplace transform of the above equations are shown below. After few steps of algebra, you should obtain the following transfer function.

Design requirements  Overshoot: Less than 10%  Rise time: Less than 2 seconds  Settling time: Less than 10 seconds  Steady-state error: Less than 2%

Click to edit the outline text format  Second Outline Level Third Outline Level  Fourth Outline Level Fifth Outline Level Sixth Outline Level Seventh Outline Level Eighth Outline Level Ninth Outline LevelClick to edit Master text styles – Second level Third level – Fourth level » Fifth level MATLAB representation and open-loop response Let the input (delta e) be 0.2 rad (11 degrees). de=0.2; num=[ ]; den=[ ]; pitch=tf(num,den); stepstep(de*pitch)axis([ ]) From the plot, we see that the open- loop response does not satisfy the design criteria at all. In fact the open-loop response is unstable.

Click to edit the outline text format  Second Outline Level Third Outline Level  Fourth Outline Level Fifth Outline Level Sixth Outline Level Seventh Outline Level Eighth Outline Level Ninth Outline LevelClick to edit Master text styles – Second level Third level – Fourth level » Fifth level Proportional control The closed-loop transfer function of the system as: Kp=[1]; num=[ ]; den=[ ]; pitch=tf(num,den); contr=tf(Kp,1); sys_cl=feedback(contr*pitch,1); let the proportional gain (Kp) equal 2 de=0.2; Kp=2; sys_cl=feedback(Kp*pitch,1); t=0:0.01:30; stepstep(de*sys_cl,t) As you see, both the overshoot and the settling time need some improvement.

Click to edit the outline text format  Second Outline Level Third Outline Level  Fourth Outline Level Fifth Outline Level Sixth Outline Level Seventh Outline Level Eighth Outline Level Ninth Outline LevelClick to edit Master text styles – Second level Third level – Fourth level » Fifth level PD control The closed-loop transfer function of the system with a PD controller is: Let a proportional gain (Kp) of 9 and a derivative gain (Kd) of 4, de=0.2; Kp=9; Kd=4; contr=tf([Kd Kp],1); sys_cl=feedback(contr*pitch,1); t=0:0.01:10; stepstep(de*sys_cl,t) This step response shows the rise time of less than 2 seconds, the overshoot of less than 10%, the settling time of less than 10 seconds, and the steady-state error of less than 2%. All design requirements are satisfied.

Click to edit the outline text format  Second Outline Level Third Outline Level  Fourth Outline Level Fifth Outline Level Sixth Outline Level Seventh Outline Level Eighth Outline Level Ninth Outline LevelClick to edit Master text styles – Second level Third level – Fourth level » Fifth level PID control Let the proportional gain (Kp) of 2, the integral gain (Ki) of 4, and the derivative gain (Kd) of 3: de=0.2; Kp=2; Kd=3; Ki=4; num=[ ]; den=[ ]; pitch=tf(num,den); contr=tf([Kd Kp Ki],[1 0]); sys_cl=feedback(contr*pitch,1); t=0:0.01:10; stepstep(de*sys_cl,t)