LAB2Updated
LAB2Updated
SUBJECT:
CONTROL SYSTEM
Group Members:
Muhammad Ammar Adil (FA20-EPE-056)
IHSAN KHAN (FA30-EPE-112)
Submitted to:
Mam Zainab
A P C
TOTAL MARKS
OBTAINED MARKS
CONTROL SYSTEM LABORATORY REPORT 2
Introduction
MATLAB is an interactive program for numerical computation and data visualization; it is used
extensively by control engineers for analysis and design. There are many different toolboxes
available which extend the basic functions of Matlab into different application areas; in these
tutorials, we will make extensive use of the Control Systems Toolbox. Matlab is supported on
Unix, Macintosh, and Windows environments. MATLAB, its Toolboxes and SIMULINK have
become, over several years, the industry standard software package for control system design.
The purpose of this LAB is to introduce the students to some of the more useful aspects of
MATLAB, and to illustrate how the software may be used to solve problem in control system
design.
Example 1:
Consider a first-order transfer function G (s )=1/s+1. The impulse response function can be
created by using following commands in script file. % impulse response
MATLAB:
clf
num = [1];
den = [1 1];
impulse (num,den);
grid;
printsys(num,den,'s');
output:
CONTROL SYSTEM LABORATORY REPORT 2
Problems:
Transfer functions:
Observe the step response of the below five transfer function and draw conclusions.
Solution:
1.
CONTROL SYSTEM LABORATORY REPORT 2
2.
CONTROL SYSTEM LABORATORY REPORT 2
3.
CONTROL SYSTEM LABORATORY REPORT 2
4.
CONTROL SYSTEM LABORATORY REPORT 2
5.
CONTROL SYSTEM LABORATORY REPORT 2
SIMULINK Implementation:
CONTROL SYSTEM LABORATORY REPORT 2