Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 11

G.

EEE325 – Control Systems

Lab # 04
To Design of Proportional-Integral-Derivative (PID) Controller using
MATLAB.

Assessment

Performance Total

Results

Post Lab

Viva
LAB OBJECTIVES:

 To Design PID Controller for different systems


InLabTask1:
Implement the designed controller in MATLAB and analyze the response of your
system before and after designing the controller.
MATLAB Code:

Simulink Diagram:

MATLAB Result:

Simulink Result:
InLabTask2:
Design a PID Controller to achieve the above criteria. Note down the values of
proportional, integral and derivative control gains calculated. Implement the designed
controller in MATLAB and analyze the response of your system before and after designing the
controller.

MATLAB Code:
Simulink Diagram:

MATLAB Result:

Simulink Result:
PostLabTask1:

MATLAB Code:

Simulink Diagram:
MATLAB Result:

Simulink Result:

PostLabTask2:
MATLAB Code:

Simulink Diagram:

MATLAB Result:

Simulink Result:
PostLabTask3:

MATLAB Code:
MATLAB Result:

Simulink Diagram:

Simulink Result:
Conclusion:

In this lab we learn, to design the PID controller. A proportional–integral–derivative


controller (PID controller) is the most commonly used feedback controller in industrial control systems. A
PID controller calculates an error value as the difference between measured output and a desired set point.
The controller attempts to minimize the error by adjusting the process control inputs. The popularity of
PID controller can be attributed partly to their robust performance in a wide range of operating conditions
and partly to their functional simplicity, which allows engineers to operate them in a simple and
straightforward manner.

Manual Readings:

You might also like