Experiment-5: Roll No. - 1709721094
Experiment-5: Roll No. - 1709721094
- 1709721094
Experiment-5
Aim: Simulate the response of PID controller with some arbitrary system function
Software used:Matlab (2010A)>>Simulink
Theory: PIDwill show the characteristics of the each of proportional (P), theintegral (I), and the
derivative (D) controls, and introduce how to use them to obtain a desiredresponse. To
understand PID controller, we will consider the following unity feedback system:
where:
Plant is a system to be controlled
Controller provides the excitation for the plant; Designed to control the overallsystem
behaviour.
The three-term controller
The transfer function of the PID controller looks like the following:
KP + +KDs
•Kp = Proportional gain
•KI = Integral gain
•KD = Derivative gain
The PID controller works in a closed-loop system using theschematic shown in figure 5.1. The
variable (e) represents the tracking error, the differencebetween the desired input value (R) and
the actual output (Y). This error signal (e) will besent to the PID controller, and the controller
computes both the derivative and the integralof this error signal. The signal (u) just past the
controller is now equal to the proportionalgain (Kp) times the magnitude of the error plus the
integral gain (Ki) times the integral ofthe error plus the derivative gain (Kd) times the derivative
of the error.
de
u KP + KI edt + KD
dt
the transient response. Effects of each ofcontrollers Kp, Kd, and Ki on a closed-loop system are
summarized in the table shownbelow.
Simulink modal :
1
PID(s)
s2 +5s+6
Step PID Controller T ransfer Fcn
1
PID(s)
s2 +5s+6
Step1 PID Controller1 T ransfer Fcn1
Scope
1
PID(s)
s2 +5s+6
Step2
PID Controller2 T ransfer Fcn2
P= 1 P=5 P=18.79
I=5 I= 5I= 31.52
D=0. D=5 D=2.44
N= 100 N= 100 N= 40.4
Output: