Vous êtes sur la page 1sur 5

PID Controller

Introduction
Consider the following unity feedback system:
R + e u C

Controller
-

Plant

Plant: A system to be controlled Plant Controller: Controller Provides the excitation for the plant, designed to control the overall system behavior . First, let's take a look at how the PID controller works in a closed-loop system using the schematic shown above. The variable (e) represents the tracking error, the difference between the desired input value (R) and the actual output (C). This error signal (e) will be sent to the PID controller, and the controller computes both the derivative and the integral of this error signal. The signal (u) just past the controller is now equal to the proportional gain (Kp) times the magnitude of the error plus the integral gain (Ki) times the integral of the error plus the derivative gain (Kd) times the derivative of the error.
u = KP e + KI e dt + KD de dt

Where Kp = Proportional gain, Ki = Integral gain, Kd = Derivative gain This signal (u) will be sent to the plant, and the new output (C) will be obtained. This new output (C) will be sent back to the sensor again to find the new error signal (e). The controller takes this new error signal and computes its derivative and its integral again. This process goes on and on.

Characteristics of each term


Consider a plant with the transfer function :1 Plant = S2 + 10S + 20

Effect of Kp
R e Kp e(s) u
2

1 S + 10S + 20

This compensator is used in situations in which satisfactory transient and steady-state responses can be obtained simply by setting gain in the system.

B307 Modern Control Systems : Hassan Parchizadeh, Dr. Barry Haynes

Page 1

Kp = 300

Kp = 100

Effect of Ki
R e Kp e(s) + KI e(s) / S u
2

1 S + 10S + 20

This compensator is used to improve the steady-state responses.

Ki = 70

Ki = 30

B307 Modern Control Systems : Hassan Parchizadeh, Dr. Barry Haynes

Page 2

Effect of Kd
R e Kp e(s) + SKD e(s) u
2

1 S + 10S + 20

This compensator is used to improve the transient responses.

Kd = 10

Kd = 20

Summary of characteristics of P, I, and D controllers


A proportional controller (Kp) will have the effect of reducing the rise time and will reduce but never eliminate the steady-state error. An integral control (Ki) will have the effect of eliminating the steady-state error, but it may make the transient response worse. A derivative control (Kd) will have the effect of increasing the stability of the system, reducing the overshoot, and improving the transient response. Effects of each of controllers Kp, Kd, and Ki on a closed-loop system are summarized in the table shown below. C.L. Response Kp Ki Kd Rise Time Decrease Decrease Small Change Overshoot Increase Increase Decrease Settling Time Small Change Increase Decrease S-S Error Decrease Eliminate Small Change

Note that these correlations may not be exactly accurate, because Kp, Ki, and Kd are dependent on each other. In fact, changing one of these variab can change the effect of the other two. For this reason, the table should only be used as a reference when you are determining the values for Ki, Kp and Kd.

B307 Modern Control Systems : Hassan Parchizadeh, Dr. Barry Haynes

Page 3

Example of PID Controller


R e u Kp e (s)+Ki e(s)/S + S Kd e(s) G(s) C

Let

6575.25 G(s) = S + 10.81S + 848.43S + 6443.25


3 2

Open loop step response is

Using MATLAB tools, RLTOOL, we design a PID controller with the follow specifications :i) Settling time 0.5 Seconds ii) Overshoot of < 10%

B307 Modern Control Systems : Hassan Parchizadeh, Dr. Barry Haynes

Page 4

B307 Modern Control Systems : Hassan Parchizadeh, Dr. Barry Haynes

Page 5

Vous aimerez peut-être aussi